1 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
3 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
4 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
5 * sysdeps/hppa/dl-irel.h: Remove #warning.
6 * sysdeps/hppa/entry.h: Provide prototype for
7 __canonicalize_funcptr_for_compare and cast argument.
8 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
9 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
10 * sysdeps/hppa/sotruss-lib.c: New file.
11 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
12 (atomic_compare_and_exchange_val_acq): Use __typeof__.
13 (atomic_compare_and_exchange_bool_acq): Likewise.
14 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
15 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
17 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
18 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
19 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
21 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
23 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
24 called function in non-PIC case.
26 2015-01-31 David S. Miller <davem@davemloft.net>
28 * sysdeps/sparc/sparc32/bits/atomic.h
29 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
31 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
32 volatile register usage warnings from the compiler.
34 * sysdeps/sparc/nptl/sem_init.c: Delete.
35 * sysdeps/sparc/nptl/sem_post.c: Delete.
36 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
37 * sysdeps/sparc/nptl/sem_wait.c: Delete.
38 * sysdeps/sparc/sparc32/sem_init.c: New file.
39 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
40 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
41 padding explicitly initialized.
42 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
43 padding for in-semaphore spinlock.
44 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
45 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
46 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
47 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
48 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
49 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
50 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
51 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
53 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
54 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
56 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
59 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
61 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
63 (index_AVX_Fast_Unaligned_Load): Likewise.
64 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
65 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
66 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
67 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
68 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
69 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
70 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
71 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
72 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
74 2015-01-29 Andreas Schwab <schwab@suse.de>
76 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
78 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
81 * nscd/nscd_stat.c (send_stats): Initialize DATA.
83 2015-01-28 Martin Sebor <msebor@redhat.com>
85 * math/README.libm-test: Clarify. Add "How to read the test output."
87 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
89 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
92 2015-01-28 Joseph Myers <joseph@codesourcery.com>
94 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
95 (__HAVE_64B_ATOMICS): Define to 0.
97 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
100 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
101 value to set as new flag.
104 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
105 and use _ARCH_PPCSQ instead.
106 (__ieee754_sqrt): Likewise.
107 (__ieee754_sqrtf): Likewise.
108 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
109 _ARCH_PPCSQ is defined.
110 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
112 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
113 _ARCH_PPCSQ is defined.
114 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
116 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
118 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
120 * iconv/loop.c: Suppress array out of bound warning caused by GCC
123 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
125 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
126 Mark _retval as used.
127 (lll_futex_wake_unlock): Likewise.
128 (lll_futex_timed_wait_requeue_pi): Likewise.
130 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
131 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
134 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
137 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
138 (__bswap_64): Mark as __always_inline.
140 2015-01-25 Bram <bug_rh@spam.wizbit.be>
143 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
144 when none of the search directories exist.
146 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
149 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
150 power8 in .machine directive.
153 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
154 set dependency from opd value.
156 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
158 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
159 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
162 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
165 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
167 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
169 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
170 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
171 Replace 1UL with (uint64_t) 1.
172 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
175 2015-01-23 Roland McGrath <roland@hack.frob.com>
177 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
178 (if_freenameindex): Likewise.
180 * resource/getrlimit64.c: Add missing libc_hidden_def.
182 2015-01-22 Joseph Myers <joseph@codesourcery.com>
184 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
187 (_FP_TO_INT_ROUND): Likewise.
188 (_FP_FROM_INT): Likewise.
190 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
193 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
194 Make code racy and cancel safe.
196 2015-01-21 Carlos O'Donell <carlos@redhat.com>
198 * sysdeps/arm/unwind-resume.h: Fix copyright year.
199 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
202 * pwd/tst-getpw.c: Rewrite.
205 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
206 (modules-names): Add moddummy1 and moddummy2.
207 ($(objpfx)tst-rec-dlopen): Define.
208 * dlfcn/moddummy1.c: New file.
209 * dlfcn/moddummy2.c: New file.
210 * dlfcn/tst-rec-dlopen.c: New file.
211 * elf/dl-cache.c (_dl_load_cache_lookup):
212 Return char*. Copy result with alloca/strcpy/strdup.
213 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
214 returns char*. Free cached. If not saving realname
216 * elf/dl-open.c (dl_open_worker): Do not assert that
217 _r_debug->r_state is RT_CONSISTENT.
218 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
221 2015-01-21 Torvald Riegel <triegel@redhat.com>
222 Carlos O'Donell <carlos@redhat.com>
225 * nptl/sem_waitcommon.c: New file.
226 * nptl/sem_wait.c: Include sem_waitcommon.c.
227 (__sem_wait_cleanup, do_futex_wait): Remove.
228 (__new_sem_wait): Adapt.
229 (__new_sem_trywait): New function.
230 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
231 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
232 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
233 (sem_timedwait): Adapt.
234 * nptl/sem_post.c (__new_sem_post): Adapt.
235 (futex_wake): New function.
236 (__old_sem_post): Add release MO fence.
237 * nptl/sem_open.c (sem_open): Adapt.
238 * nptl/sem_init.c (__new_sem_init): Adapt.
239 (futex_private_if_supported): New function.
240 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
241 (__old_sem_getvalue): Add using previous code.
242 * sysdeps/nptl/internaltypes.h: Adapt.
243 * nptl/tst-sem13.c (do_test): Adapt.
244 * nptl/tst-sem11.c (main): Adapt.
245 * nptl/sem_trywait.c: Remove.
246 * nptl/DESIGN-sem.txt: Remove.
247 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
248 (gen-as-const-headers): Remove structsem.sym.
249 * nptl/structsem.sym: Remove.
250 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
251 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
252 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
253 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
254 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
255 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
256 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
257 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
258 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
259 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
260 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
261 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
262 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
263 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
264 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
265 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
266 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
267 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
268 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
269 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
270 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
271 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
273 2015-01-20 Carlos O'Donell <carlos@redhat.com>
275 * INSTALL: Regenerated.
277 * po/libc.pot: Regenerated.
279 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
280 Sandra Loosemore <sandra@codesourcery.com>
281 Andrew Jenner <andrew@codesourcery.com>
282 Joseph Myers <joseph@codesourcery.com>
283 Nathan Sidwell <nathan@codesourcery.com>
285 * NEWS: Mention new Nios II port.
286 * sysdeps/nios2/Implies: New file.
287 * sysdeps/nios2/Makefile: New file.
288 * sysdeps/nios2/Subdirs: New file.
289 * sysdeps/nios2/Versions: New file.
290 * sysdeps/nios2/__longjmp.S: New file.
291 * sysdeps/nios2/abort-instr.h: New file.
292 * sysdeps/nios2/backtrace.c: New file.
293 * sysdeps/nios2/bits/endian.h: New file.
294 * sysdeps/nios2/bits/fenv.h: New file.
295 * sysdeps/nios2/bits/link.h: New file.
296 * sysdeps/nios2/bits/setjmp.h: New file.
297 * sysdeps/nios2/bsd-_setjmp.S: New file.
298 * sysdeps/nios2/bsd-setjmp.S: New file.
299 * sysdeps/nios2/configure: New generated file.
300 * sysdeps/nios2/configure.ac: New file.
301 * sysdeps/nios2/crti.S: New file.
302 * sysdeps/nios2/crtn.S: New file.
303 * sysdeps/nios2/dl-init.c: New file.
304 * sysdeps/nios2/dl-machine.h: New file.
305 * sysdeps/nios2/dl-sysdep.h: New file.
306 * sysdeps/nios2/dl-tls.h: New file.
307 * sysdeps/nios2/dl-trampoline.S: New file.
308 * sysdeps/nios2/gccframe.h: New file.
309 * sysdeps/nios2/gmp-mparam.h: New file.
310 * sysdeps/nios2/jmpbuf-offsets.h: New file.
311 * sysdeps/nios2/jmpbuf-unwind.h: New file.
312 * sysdeps/nios2/ldsodefs.h: New file.
313 * sysdeps/nios2/libc-tls.c: New file.
314 * sysdeps/nios2/libm-test-ulps: New file.
315 * sysdeps/nios2/machine-gmon.h: New file.
316 * sysdeps/nios2/math-tests.h: New file.
317 * sysdeps/nios2/math_private.h: New file.
318 * sysdeps/nios2/memusage.h: New file.
319 * sysdeps/nios2/nptl/Makefile: New file.
320 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
321 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
322 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
323 * sysdeps/nios2/nptl/pthreaddef.h: New file.
324 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
325 * sysdeps/nios2/nptl/tls.h: New file.
326 * sysdeps/nios2/preconfigure: New file.
327 * sysdeps/nios2/s_fma.c: New file.
328 * sysdeps/nios2/s_fmaf.c: New file.
329 * sysdeps/nios2/setjmp.S: New file.
330 * sysdeps/nios2/sfp-machine.h: New file.
331 * sysdeps/nios2/sotruss-lib.c: New file.
332 * sysdeps/nios2/stackguard-macros.h: New file.
333 * sysdeps/nios2/stackinfo.h: New file.
334 * sysdeps/nios2/start.S: New file.
335 * sysdeps/nios2/sysdep.h: New file.
336 * sysdeps/nios2/tls-macros.h: New file.
337 * sysdeps/nios2/tst-audit.h: New file.
338 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
339 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
340 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
341 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
342 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
343 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
344 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
345 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
346 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
347 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
348 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
349 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
350 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
351 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
352 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
353 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
354 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
355 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
356 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
357 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
358 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
359 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
360 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
361 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
362 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
363 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
364 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
365 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
366 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
367 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
368 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
369 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
370 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
371 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
372 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
373 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
374 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
375 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
376 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
377 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
378 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
379 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
380 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
381 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
383 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
386 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
387 (getutent): Use weak_alias in non SHARED case
388 and default_symbol_version in SHARED case.
389 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
390 (getutent_r, pututline): Likewise.
391 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
393 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
394 (getutid_r): Likewise.
395 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
396 (getutline): Likewise.
397 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
398 (getutline_r): Likewise.
399 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
402 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
405 * sysdeps/s390/s390-32/memcmp.S
406 (memcmp_g5): Rename to __memcmp_g5.
407 * sysdeps/s390/s390-32/memcpy.S
408 (memcpy_g5): Rename to __memcpy_g5.
409 Jump to __memcpy_mvcle instead of memcpy_mvcle.
410 (memcpy_mvcle) Rename to __memcpy_mvcle.
411 * sysdeps/s390/s390-32/memset.S
412 (memset_g5): Rename to __memset_g5.
413 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
414 (IFUNC_RESOLVE): Prefix ifunc-resolve function
415 and use prefixed functions.
416 * sysdeps/s390/s390-32/multiarch/memcmp.S
417 (memcmp_z196): Rename to __memcmp_z196.
418 (memcmp_z10): Rename to __memcmp_z10.
419 (memcmp): Set alias to __memcmp_g5.
420 (bcmp): Set alias to __memcmp_g5.
421 * sysdeps/s390/s390-32/multiarch/memcpy.S
422 (memcpy_z196): Rename to __memcpy_z196.
423 Jump to __memcpy_mvcle instead of memcpy_mvcle.
424 (memcpy_z10): Rename to __memcpy_z10.
425 Jump to __memcpy_mvcle instead of memcpy_mvcle.
426 (memcpy): Set alias to __memcpy_g5.
427 * sysdeps/s390/s390-32/multiarch/memset.S
428 (memset_z196): Rename to __memset_z196.
429 Jump to __memset_mvcle instead of memset_mvcle.
430 (memset_z10): Rename to __memset_z10.
431 Jump to __memset_mvcle instead of memset_mvcle.
432 (memset_mvcle) Rename to __memset_mvcle.
433 (memset): Set alias to __memset_g5.
434 * sysdeps/s390/s390-64/memcmp.S
435 (memcmp_z900): Rename to __memcmp_z900.
436 * sysdeps/s390/s390-64/memcpy.S
437 (memcpy_z900): Rename to __memcpy_z900.
438 Jump to __memcpy_mvcle instead of memcpy_mvcle.
439 (memcpy_mvcle) Rename to __memcpy_mvcle.
440 * sysdeps/s390/s390-64/memset.S
441 (memset_z900): Rename to __memset_z900.
442 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
443 (IFUNC_RESOLVE): Prefix ifunc-resolve function
444 and use prefixed functions.
445 * sysdeps/s390/s390-64/multiarch/memcmp.S
446 (memcmp_z196): Rename to __memcmp_z196.
447 (memcmp_z10): Rename to __memcmp_z10.
448 (memcmp): Set alias to __memcmp_z900.
449 (bcmp): Set alias to __memcmp_z900.
450 * sysdeps/s390/s390-64/multiarch/memcpy.S
451 (memcpy_z196): Rename to __memcpy_z196.
452 Jump to __memcpy_mvcle instead of memcpy_mvcle.
453 (memcpy_z10): Rename to __memcpy_z10.
454 Jump to __memcpy_mvcle instead of memcpy_mvcle.
455 (memcpy): Set alias to __memcpy_z900.
456 * sysdeps/s390/s390-64/multiarch/memset.S
457 (memset_z196): Rename to __memset_z196.
458 Jump to __memset_mvcle instead of memset_mvcle.
459 (memset_z10): Rename to __memset_z10.
460 Jump to __memset_mvcle instead of memset_mvcle.
461 (memset_mvcle) Rename to __memset_mvcle.
462 (memset): Set alias to __memset_z900.
464 2015-01-14 Joseph Myers <joseph@codesourcery.com>
467 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
468 __fesetenv instead of fesetenv.
470 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
472 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
475 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
477 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
480 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
481 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
482 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
483 strncmp-power8 object.
484 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
485 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
486 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
489 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
490 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
492 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
495 2015-01-13 David S. Miller <davem@davemloft.net>
497 * include/signal.h (__sigreturn): Guard with __USE_MISC.
499 2015-01-13 Roland McGrath <roland@hack.frob.com>
501 * login/logout.c (logout): Use memset rather than bzero.
502 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
503 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
504 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
505 (_gethtbyaddr): Likewise.
506 * locale/programs/simple-hash.c (bcopy): Macro removed.
508 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
510 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
511 Add strcmp-power8 object.
512 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
513 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
514 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
515 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
516 __strcmp_power8 implementation.
517 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
520 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
521 Add strncpy-power8 and stpncpy-power8 objects.
522 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
523 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
525 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
526 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
527 __stpncpy_power8 implementation.
528 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
529 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
530 __strncpy_power8 implementation.
531 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
532 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
535 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
536 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
537 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
539 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
540 strncat-power8 object.
541 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
542 __strcat_power8 implementation.
543 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
544 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
545 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
546 optimized strcat for power8.
548 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
549 strcpy-power8 and stpcpy-power8 objects.
550 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
551 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
553 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
554 multiarch stpcpy implementation for POWER8.
555 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
556 multiarch strcpy implementation for POWER8.
557 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
558 __strcpy_power8 function.
559 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
561 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
565 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
568 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
569 weights and rules. Use do_xfrm_cached if data fits in cache,
570 do_xfrm otherwise. Moved former main loop to...
571 * (do_xfrm_cached): New function.
572 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
573 find_idx, find_position and stack_push.
574 * (find_idx): New function.
575 * (find_position): Likewise.
576 * localedata/sort-test.sh: Added test run for do_xfrm.
577 * localedata/xfrm-test.c (main): Added command line option
578 -nocache to run the test with strings that are too large for
581 2015-01-13 Torvald Riegel <triegel@redhat.com>
583 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
584 variable to lll_futex_wake call, not the value itself.
586 2015-01-12 Joseph Myers <joseph@codesourcery.com>
589 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
590 twom64. Adjust value to 0x1p-64L.
591 (__scalblnl): Only return standard underflowing result for K <=
592 -64 not K <= -63; adjust exponent for underflowing result by 64
594 * math/libm-test.inc (scalbn_test_data): Add more tests.
595 (scalbln_test_data): Likewise.
598 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
600 (__scalblnl): Get new exponent of adjusted subnormal value from ES
602 * math/libm-test.inc (scalbn_test_data): Add more tests.
603 (scalbln_test_data): Likewise.
605 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
606 Stefani Seibold <stefani@seibold.net>
608 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
609 (sysdep_routines): Add dl-vdso here, ...
610 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
611 (sysdep_routines): ... not here.
612 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
613 fallback when vDSO is not presented.
614 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
615 Define with libc_hidden_proto/libc_hidden_data_def definitions.
616 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
617 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
618 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
619 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
620 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
621 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
622 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
623 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
624 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
625 fallback configurable symbol when vDSO is not available.
626 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
627 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
628 be able to redefine fallback symbol when vDSO is not available.
629 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
630 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
632 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
634 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
635 (TLS_INIT_TP): Add tm_capable initialization.
636 (TLS_DEFINE_INIT_TP): Likewise.
637 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
639 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
640 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
642 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
643 transactoion is lock elision is built and TCB tm_capable is set.
644 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
646 (INTERNAL_SYSCALL_NCS): Likewise.
647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
648 (INTERNAL_SYSCALL_NCS): Likewise.
649 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
651 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
653 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
654 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
655 and remove it for 32 bits case.
656 [pthread_rwlock_t] (__rwelision): New field for lock elision.
657 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
659 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
660 Disable lock elision with rdlocks if elision is not available.
662 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
663 (sysdep_routines): Add lock elision objects.
664 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
665 [pthread_mutex_t] (__spins): Rework to add lock elision field.
666 [pthread_mutex_t] (__elision): Add field.
667 [__PTHREAD_SPINS]: Adjust to init lock elision field.
668 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
669 elision definitions for powerpc.
670 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
671 implementation of lock elision for powerpc.
672 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
673 implementation of timed lock elision for powerpc.
674 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
675 implementation of trylock with lock elision for powerpc.
676 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
677 implementaion of unlock for lock elision for powerpc.
678 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
679 automatic enable lock elision for mutexes.
680 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
681 transaction execution definitions for powerpc.
682 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
684 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
685 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
686 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
687 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
690 2015-01-09 Roland McGrath <roland@hack.frob.com>
692 * sysdeps/posix/shm-directory.c: Use <> rather than ""
693 for #include of <shm-directory.h>.
695 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
697 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
698 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
700 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
703 * NEWS: Mention bug fix.
704 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
705 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
706 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
708 2015-01-09 Torvald Riegel <triegel@redhat.com>
710 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
712 2015-01-09 Torvald Riegel <triegel@redhat.com>
714 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
716 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
718 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
719 pointer and cast to uintptr_t.
721 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
723 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
725 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
727 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
729 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
732 2015-01-08 Roland McGrath <roland@hack.frob.com>
734 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
735 <nptl/pthreadP.h> instead.
736 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
738 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
740 [__SIGRTMIN] (init): Function removed.
741 [__SIGRTMIN] (initialized): Variable removed.
742 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
743 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
744 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
745 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
746 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
747 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
748 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
749 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
750 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
751 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
752 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
753 * sysdeps/nptl/allocrtsig.c: New file.
754 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
755 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
756 * sysdeps/generic/testrtsig.h: File removed.
758 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
759 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
761 * nptl/nptl-init.c (pthread_functions): Conditionalize
762 .ptr__nptl_setxid initialization on [SIGSETXID].
764 * sysdeps/nptl/sys/procfs.h: New file.
765 * nptl_db/Makefile (headers): Add it.
766 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
768 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
769 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
770 * nptl/pthread_attr_setaffinity.c: Include it.
771 * nptl/pthread_setattr_default_np.c: Likewise.
772 * nptl/check-cpuset.h: New file.
774 2015-01-08 Richard Henderson <rth@redhat.com>
776 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
777 (CFLAGS-tst-execstack-prog.c): Likewise.
778 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
780 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
781 Sandra Loosemore <sandra@codesourcery.com>
782 Andrew Jenner <andrew@codesourcery.com>
783 Joseph Myers <joseph@codesourcery.com>
784 Nathan Sidwell <nathan@codesourcery.com>
786 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
787 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
788 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
789 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
790 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
791 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
792 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
793 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
794 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
795 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
796 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
797 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
798 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
799 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
800 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
801 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
802 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
804 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
806 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
807 timespec struct member in syscall macro.
808 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
809 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
810 first timeval struct member in syscall macro.
811 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
813 2015-01-07 Joseph Myers <joseph@codesourcery.com>
816 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
817 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
818 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
819 __feupdateenv and define as weak alias of __feupdateenv. Use
821 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
823 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
824 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
825 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
826 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
828 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
829 __feupdateenv and define as weak alias of __feupdateenv. Use
831 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
833 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
834 __feupdateenv and define as weak alias of __feupdateenv. Use
836 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
838 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
839 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
840 (__feupdateenv): Likewise.
841 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
842 __feupdateenv and define as weak alias of __feupdateenv. Use
844 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
845 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
847 * sysdeps/tile/math_private.h (__feupdateenv): New inline
849 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
851 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
852 __feupdateenv instead of feupdateenv.
853 (default_libc_feupdateenv_test): Likewise.
854 (libc_feresetround_ctx): Likewise.
856 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
858 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
861 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
863 * posix/regcomp.c (parse_bracket_exp): Initialize type to
864 COLL_SYM in a couple of places to avoid uninitialized variable
865 wanings on tilegx gcc 4.8.2.
867 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
869 * sysdeps/aarch64/strcpy.S: New file.
870 * sysdeps/aarch64/stpcpy.S: New file.
873 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
875 * sysdeps/aarch64/strrchr.S: New file.
878 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
881 * stdlib/setenv.c: Fix memory leak when setting large,
884 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
887 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
888 and tabs from buffer before parsing fstab entry.
889 * misc/tst-mntent.c (main): Add test for mount entry with
890 trailing spaces and tabs.
892 2015-01-06 Joseph Myers <joseph@codesourcery.com>
895 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
896 * math/fesetround.c (fesetround): Rename to __fesetround and
897 define as weak alias of __fesetround. Use libm_hidden_weak.
898 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
899 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
900 * sysdeps/arm/fesetround.c (fesetround): Likewise.
901 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
902 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
903 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
904 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
905 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
906 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
908 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
909 __fesetround_inline instead of __fesetround.
910 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
911 __fesetround and define as weak alias of __fesetround. Use
912 libm_hidden_weak. Call __fesetround_inline instead of
914 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
915 __fesetround and define as weak alias of __fesetround. Use
917 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
919 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
920 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
921 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
922 * sysdeps/tile/math_private.h (__fesetround): New inline function.
923 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
924 __fesetround and define as weak alias of __fesetround. Use
926 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
927 __fesetround instead of fesetround.
928 (default_libc_feholdexcept_setround): Likewise.
929 (libc_feholdsetround_ctx): Likewise.
930 (libc_feholdsetround_noex_ctx): Likewise.
933 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
934 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
935 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
936 and define as weak alias of __fesetenv. Use libm_hidden_weak.
937 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
938 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
939 define as weak alias of __fesetenv. Use libm_hidden_weak.
940 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
941 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
942 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
943 define as weak alias of __fesetenv. Use libm_hidden_weak.
944 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
945 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
946 define as weak alias of __fesetenv. Use libm_hidden_weak.
947 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
949 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
950 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
952 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
953 define as weak alias of __fesetenv. Use libm_hidden_weak.
954 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
955 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
956 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
957 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
958 and define as weak alias of __fesetenv. Use libm_hidden_weak.
959 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
960 __fesetenv instead of fesetenv.
961 (libc_feresetround_noex_ctx): Likewise.
962 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
963 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
964 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
965 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
966 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
967 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
968 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
969 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
970 (__feupdateenv): Likewise.
971 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
972 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
973 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
974 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
976 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
979 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
980 addresses have been freed.
982 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
984 * resolv/res_init.c (__res_vinit): Improve comments about nserv
987 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
989 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
990 Clean up check_pf allocation pattern. addresses
992 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
994 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
995 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
996 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
997 * nptl/pthread_exit.c (__pthread_exit): Likewise.
998 * nptl/pthread_join.c (pthread_join): Likewise.
999 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
1000 * sysdeps/posix/waitid.c (__waitid): Likewise.
1001 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1002 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1003 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1004 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1005 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1007 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1008 (__libc_pread64): Likewise.
1009 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1010 (__libc_pwrite): Likewise.
1011 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1012 (__libc_pwrite64): Likewsie.
1013 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1014 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1015 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1016 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1017 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1018 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1019 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1023 (__libc_pread64): Likewise.
1024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
1026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1027 (__libc_pwrite64): Likewise.
1028 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1029 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1030 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
1031 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1032 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1033 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1034 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
1035 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1036 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1037 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1038 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
1039 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1040 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1041 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
1042 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1043 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1046 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
1048 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
1049 (CFLAGS-test-double.c): Likewise.
1050 (CFLAGS-test-ldouble.c): Likewise.
1051 (CPPFLAGS-test-ifloat.c): Likewise.
1052 (CPPFLAGS-test-idouble.c): Likewise.
1053 (CPPFLAGS-test-ildoubl.c): Likewise.
1054 (CFLAGS-test-test-fenv.c): Remove variable.
1055 (CFLAGS-test-misc.c): Likewise.
1057 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
1060 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
1061 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
1062 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
1063 CLOCKS_PER_SEC == 1000000.
1064 * time/clocktest.c (main): Replace %ld with %jd and cast to
1067 2015-01-05 Roland McGrath <roland@hack.frob.com>
1069 * sysdeps/generic/unwind-resume.h: New file.
1070 * sysdeps/gnu/unwind-resume.c: Include it.
1071 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
1072 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
1074 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
1075 global rather than static.
1076 (_Unwind_Resume): Update user.
1077 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
1078 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
1079 rather than static. Add __attribute__ ((cold)).
1080 (_Unwind_Resume, __gcc_personality_v0): Update callers.
1081 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
1082 * sysdeps/arm/arm-unwind-resume.S: New file.
1083 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
1084 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
1085 * sysdeps/arm/Makefile [$(subdir) = csu]
1086 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
1087 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1088 Add rt-arm-unwind-resume.
1090 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1091 Add pt-arm-unwind-resume.
1092 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
1093 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
1095 2015-01-05 Joseph Myers <joseph@codesourcery.com>
1098 * include/fenv.h (__feholdexcept): Declare. Use
1100 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
1101 define as weak alias of __feholdexcept. Use libm_hidden_weak.
1102 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1103 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
1104 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
1105 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
1106 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
1107 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1108 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
1109 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
1110 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1111 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
1112 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
1113 (feholdexcept): Likewise.
1114 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1115 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1116 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1117 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1118 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
1119 __feholdexcept instead of feholdexcept.
1120 (default_libc_feholdexcept_setround): Likewise.
1122 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
1124 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
1125 to avoid using stl/str to align destination.
1127 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
1129 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
1131 2015-01-05 Joseph Myers <joseph@codesourcery.com>
1134 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
1135 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
1136 Define as weak alias not strong alias.
1138 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
1140 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
1141 bltzal with addiupc.
1142 (RTLD_START): Ditto.
1144 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
1146 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
1147 for __vdso_* functions in declarations.
1148 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
1150 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
1151 INTERNAL_VSYSCALL): Use struct return types to check for error.
1153 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
1154 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
1155 function with cast from llround().
1156 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
1157 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
1160 2015-01-05 Joseph Myers <joseph@codesourcery.com>
1163 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
1164 Define as weak alias not strong alias.
1167 * ctype/ctype-c99.c: New file. isblank implementation moved from
1169 * ctype/ctype-extn.c: ... here.
1170 (__isblank_l): Move to ...
1171 * ctype/ctype-c99_l.c: ... here. New file.
1172 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
1173 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
1175 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1176 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1177 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1178 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1179 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1182 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
1183 (posix_fadvise64): Define as weak alias not strong alias.
1184 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1185 (posix_fallocate64): Likewise.
1186 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
1188 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1189 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1190 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1191 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1192 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1194 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
1197 * NEWS: Mention bug fix.
1198 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
1199 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
1200 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
1201 (HOST_STACK_END_ADDR): Likewise.
1203 2015-01-02 Joseph Myers <joseph@codesourcery.com>
1206 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
1207 * math/fegetround.c (fegetround): Rename to __fegetround and
1208 define as weak alias of __fegetround. Use libm_hidden_weak.
1209 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
1210 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
1211 * sysdeps/arm/fegetround.c (fegetround): Likewise.
1212 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
1213 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1214 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
1215 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
1216 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
1217 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1218 Undefine after rather than before function definition; use
1219 parentheses around function name in definition.
1220 (__fegetround): Also undefine macro after function definition.
1221 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
1222 __fegetround and define as weak alias of __fegetround. Use
1223 libm_hidden_weak. Do not undefine as macro.
1224 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1226 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
1227 __fegetround and define as weak alias of __fegetround. Use
1229 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1230 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1231 * sysdeps/tile/math_private.h (__fegetround): New inline function.
1232 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
1233 __fegetround and define as weak alias of __fegetround. Use
1235 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
1236 __fegetround instead of fegetround.
1239 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
1240 Condition macro definition on [__USE_MISC].
1243 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
1244 (struct sigaction): Change type of sa_flags field to int.
1247 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
1248 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
1251 * nptl/version.c (banner): Use single year in copyright notice.
1253 * NEWS: Update copyright dates.
1254 * catgets/gencat.c (print_version): Likewise.
1255 * csu/version.c (banner): Likewise.
1256 * debug/catchsegv.sh: Likewise.
1257 * debug/pcprofiledump.c (print_version): Likewise.
1258 * debug/xtrace.sh (do_version): Likewise.
1259 * elf/ldconfig.c (print_version): Likewise.
1260 * elf/ldd.bash.in: Likewise.
1261 * elf/pldd.c (print_version): Likewise.
1262 * elf/sotruss.sh: Likewise.
1263 * elf/sprof.c (print_version): Likewise.
1264 * iconv/iconv_prog.c (print_version): Likewise.
1265 * iconv/iconvconfig.c (print_version): Likewise.
1266 * locale/programs/locale.c (print_version): Likewise.
1267 * locale/programs/localedef.c (print_version): Likewise.
1268 * login/programs/pt_chown.c (print_version): Likewise.
1269 * malloc/memusage.sh (do_version): Likewise.
1270 * malloc/memusagestat.c (print_version): Likewise.
1271 * malloc/mtrace.pl: Likewise.
1272 * manual/libc.texinfo: Likewise.
1273 * nptl/version.c (banner): Likewise.
1274 * nscd/nscd.c (print_version): Likewise.
1275 * nss/getent.c (print_version): Likewise.
1276 * nss/makedb.c (print_version): Likewise.
1277 * posix/getconf.c (main): Likewise.
1278 * scripts/test-installation.pl: Likewise.
1279 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1281 2015-01-02 Will Newton <will.newton@linaro.org>
1283 * sysdeps/arm/armv7/configure: Removed.
1284 * sysdeps/arm/armv7/configure.ac: Likewise.
1286 2015-01-02 Joseph Myers <joseph@codesourcery.com>
1288 * All files with FSF copyright notices: Update copyright dates
1289 using scripts/update-copyrights.
1290 * intl/plural.c: Regenerated.
1291 * locale/programs/charmap-kw.h: Likewise.
1292 * locale/programs/locfile-kw.h: Likewise.
1294 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1296 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
1298 2014-12-31 Joseph Myers <joseph@codesourcery.com>
1301 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
1302 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
1303 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1304 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1305 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1306 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
1307 define as weak alias of __fegetenv. Use libm_hidden_weak.
1308 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
1309 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1310 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1311 define as weak alias of __fegetenv. Use libm_hidden_weak.
1312 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1313 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1314 define as weak alias of __fegetenv. Use libm_hidden_weak.
1315 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
1317 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
1318 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
1320 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1321 define as weak alias of __fegetenv. Use libm_hidden_weak.
1322 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1323 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1324 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
1325 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1326 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1327 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
1328 __fegetenv instead of fegetenv.
1329 (libc_feholdsetround_noex_ctx): Likewise.
1331 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
1333 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
1334 (Elf_MIPS_ABIFlags_v0): New structure.
1335 (EF_MIPS_FP64): Define.
1336 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
1337 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
1338 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
1339 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
1340 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
1341 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
1342 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
1343 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
1344 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
1345 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
1346 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
1347 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
1348 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
1349 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
1350 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
1351 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
1352 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
1353 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
1354 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
1355 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
1356 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
1357 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
1359 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
1361 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
1362 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
1363 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
1364 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
1365 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
1366 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
1367 * sysdeps/mips/tst-abi-interlink.c: Likewise.
1368 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
1369 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
1370 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
1371 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
1372 record the current FP ABI extension.
1373 (mips-mode-switch): Define to show if kernel headers support mode
1375 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1376 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
1377 supported SYSV ABI version to 3.
1378 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
1381 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1382 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1384 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
1386 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
1388 2014-12-31 Joseph Myers <joseph@codesourcery.com>
1390 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
1391 __fegetround and redefine to call __fegetround. Remove condition
1392 on [!__NO_MATH_INLINES].
1393 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
1395 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
1396 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1398 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
1399 instead of <fenv_libc.h>.
1400 (__llrintl): Call fegetround instead of __fegetround.
1401 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
1402 instead of <fenv_libc.h>.
1403 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1404 (__lrintl): Call fegetround instead of __fegetround.
1405 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
1406 instead of <fenv_libc.h>.
1407 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1408 (__rintl): Call fegetround instead of __fegetround.
1410 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1412 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
1415 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
1418 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
1419 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
1420 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
1422 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
1424 * sysdeps/i386/tls-macros.h: Include <features.h>.
1425 (TLS_LE): Use non-PIC version for GCC >= 5.0.
1429 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
1430 define for GCC >= 5.0.
1432 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
1434 * math/test-fenv.c (test_single_exception, set_single_exc,
1435 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
1436 feexcp_mask_test, feenable_test, fe_single_test): Add
1437 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
1438 case where they are not used.
1439 * math/libm-test.inc: Likewise.
1440 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
1441 unused in the absence of FP rounding/exception support.
1442 * stdio-common/tst-printf-round.c: Likewise.
1443 * stdlib/tst-strtod-round.c: Likewise.
1444 * stdlib/tst-strtod-underflow.c: Likewise.
1446 2014-12-30 Joseph Myers <joseph@codesourcery.com>
1449 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
1450 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
1451 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1452 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1454 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
1455 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1456 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
1458 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1459 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1461 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
1463 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
1464 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1465 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1467 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1469 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1470 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
1471 (__feraiseexcept): Likewise.
1472 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1473 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1475 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1476 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1478 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
1479 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
1480 Use libm_hidden_def.
1481 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
1483 (feraiseexcept): Define as weak not strong alias. Use
1485 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
1486 New inline function. Factored out of ...
1487 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
1488 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
1489 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
1491 * math/w_acos.c (__acos): Likewise.
1492 * math/w_asin.c (__asin): Likewise.
1493 * math/w_ilogb.c (__ilogb): Likewise.
1494 * math/w_j0.c (y0): Likewise.
1495 * math/w_j1.c (y1): Likewise.
1496 * math/w_jn.c (yn): Likewise.
1497 * math/w_log.c (__log): Likewise.
1498 * math/w_log10.c (__log10): Likewise.
1499 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
1500 * sysdeps/aarch64/fpu/math_private.h
1501 (libc_feupdateenv_test_aarch64): Likewise.
1502 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1503 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
1504 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
1505 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1506 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1507 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1508 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
1509 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1510 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1511 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1513 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
1516 * io/test-utime.c (main): Replace %ld with %jd and cast to
1518 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
1519 * nptl/tst-mutex5.c: Include <stdint.h>.
1520 (do_test): Replace %ld with %jd and cast to intmax_t.
1521 * posix/tst-regex.c (run_test): Likewise.
1522 (run_test_backwards): Likewise.
1523 * rt/tst-clock.c: Include <stdint.h>.
1524 (clock_test): Replace %ld with %jd and cast to intmax_t.
1525 * rt/tst-cpuclock1.c: Include <stdint.h>.
1526 (do_test): Replace %lu with %ju and cast to uintmax_t.
1527 * rt/tst-cpuclock2.c: Include <stdint.h>.
1528 (do_test): Replace %lu with %ju and cast to uintmax_t.
1529 * rt/tst-mqueue1.c: Include <stdint.h>.
1530 (check_attrs): Replace %ld with %jd and cast to intmax_t.
1531 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
1533 * rt/tst-mqueue4.c (do_test): Likewise.
1534 * rt/tst-timer4.c: Include <stdint.h>.
1535 (check_ts): Replace %ld with %jd and cast to intmax_t.
1536 (do_test): Likewise.
1537 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
1538 and cast to intmax_t.
1539 * sysdeps/pthread/tst-timer.c (main): Likewise.
1540 * time/clocktest.c (main): Likewise.
1541 * time/tst-posixtz.c (do_test): Likewise.
1542 * timezone/tst-timezone.c (main): Likewise.
1544 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
1545 H.J. Lu <hongjiu.lu@intel.com>
1547 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
1548 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
1549 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
1550 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
1551 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
1552 version if bit_Fast_Unaligned_Load is set.
1553 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1554 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1555 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1556 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1557 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1558 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1559 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1560 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
1561 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
1562 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
1564 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
1565 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
1566 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
1567 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
1569 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
1571 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
1572 instead of #if to avoid a Wundef warning.
1573 * stdlib/tst-limits.c (do_test): Likewise.
1575 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
1576 parallel other exception macros.
1577 (fegetenv): Convert from macro to extern inline so that it applies
1578 retroactively to inline functions already seen by the compiler.
1579 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
1581 * posix/Makefile (before-compile): Use $(objpfx) for
1582 posix-conf-vars-def.h.
1584 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1586 * posix/getconf.c (main): Use size_t for type of I.
1587 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
1590 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
1591 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
1592 * posix/posix-envs.def: Likewise.
1593 * sysdeps/posix/sysconf.c: Likewise.
1594 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
1595 (specs): Remove array.
1596 * scripts/gen-posix-conf-vars.awk: Support generation of specs
1599 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
1600 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
1601 (__sysconf): Use CONF_IS_* macros.
1603 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
1604 ($(objpfx)posix-conf-vars-def.h): New target.
1605 * posix/posix-conf-vars.list: New file.
1606 * posix/posix-conf-vars.h: New file.
1607 * posix/confstr.c: Include posix-conf-vars.h.
1608 (confstr): Use CONF_IS_* macros.
1609 * posix/posix-envs.def: Include posix-conf-vars.h. Use
1611 * scripts/gen-posix-conf-vars.awk: New file.
1613 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
1615 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
1616 fegetround): Add no-op macros to avoid linknamespace issues.
1618 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
1619 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
1621 * sysdeps/unix/sysv/linux/tile/sysdep.h
1622 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
1623 assembly-specific section to avoid a redefinition warning.
1625 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
1626 long before casting to pointer to avoid a cast warning.
1628 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
1630 * sysdeps/tile/tilegx/Implies: New file.
1632 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
1634 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
1636 2014-12-23 Florian Weimer <fweimer@redhat.com>
1638 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
1640 2014-12-22 Joseph Myers <joseph@codesourcery.com>
1642 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
1644 * sysdeps/unix/sysv/linux/utimes.c: Do not include
1645 <kernel-features.h>.
1646 (__utimes) [__NR_utimes]: Make code unconditional.
1647 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
1648 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1649 (__ASSUME_UTIMES): Do not undefine.
1650 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1651 (__ASSUME_UTIMES): Likewise.
1652 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1653 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
1654 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
1655 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
1657 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
1659 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
1661 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
1664 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
1665 alias to weak alias for j0l, y0l.
1666 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
1667 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
1670 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
1673 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
1675 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
1676 to zero if not already defined.
1678 2014-12-22 Joseph Myers <joseph@codesourcery.com>
1681 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
1682 (__kernel_standard_f): Remove. Moved to k_standardf.c.
1683 (__kernel_standard_l): Remove. Moved to k_standardl.c with
1684 (char *) casts added.
1685 * sysdeps/ieee754/k_standardf.c: New file.
1686 * sysdeps/ieee754/k_standardl.c: Likewise.
1687 * math/Makefile (libm-support): Remove k_standard.
1688 (libm-calls): Add k_standard.
1690 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1692 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1693 Optimize to avoid an unnecessary FPCR read.
1695 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1697 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1698 Optimize to reduce FPCR/FPSR accesses.
1700 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1702 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
1703 Call libc_fetestexcept_aarch64.
1705 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1707 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
1708 Call libc_fesetround_aarch64.
1710 2014-12-22 Joseph Myers <joseph@codesourcery.com>
1713 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
1714 (__bind): Do not define as weak alias.
1715 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
1717 (__getsockname): Do not define as weak alias.
1719 2014-12-22 Will Newton <will.newton@linaro.org>
1721 * manual/install.texi: Document that we require bison 2.7
1723 * INSTALL: Regenerate.
1724 * configure.ac: Use AC_CHECK_PROG_VER instead of
1725 AC_PATH_PROG when checking for bison and check for
1726 version 2.7 or above.
1727 * configure: Regenerate.
1729 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
1732 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
1733 * sysdeps/tile/ffsll.c (ffsll): To here.
1735 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
1737 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
1739 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
1741 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
1743 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1744 hidden ___tls_get_addr.
1745 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1746 hidden __tls_get_addr.
1747 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
1748 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
1751 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
1753 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
1756 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
1758 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
1759 from "call _dl_init@PLT".
1760 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
1762 2014-12-21 Anders Kaseorg <andersk@mit.edu>
1764 * manual/search.texi: (Array Sort Function): Clarify stable sorting
1767 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
1769 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
1771 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1774 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
1777 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
1779 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
1781 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
1782 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
1783 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
1784 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
1785 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
1787 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
1789 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
1790 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
1791 (PTR_SUBU): Use subu for mips32r6/mips64r6.
1792 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
1793 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
1795 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
1797 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
1799 * string/strncat.c (STRNCAT): Simplify implementation.
1801 2014-12-19 David S. Miller <davem@davemloft.net>
1803 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
1804 access the quad as both a long double and as a series of 4 words.
1806 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
1807 link_map->l_info array access.
1809 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1811 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
1813 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
1814 * math/atest-exp2.c (TIMEOUT): Likewise.
1815 * math/atest-sincos.c (TIMEOUT): Likewise.
1817 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1819 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
1820 -Wno-error with -fno-builtin-lround.
1822 2014-12-19 Torvald Riegel <triegel@redhat.com>
1824 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
1825 Contains futex constants and functions moved over from ...
1826 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
1827 <lowlevellock-futex.h>.
1828 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1829 (lll_timedwait_tid): Add comments and parentheses around macro
1832 2014-12-19 Torvald Riegel <triegel@redhat.com>
1834 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
1835 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
1836 (__lll_private_flag): Remove.
1837 (lll_futex_wait): Likewise.
1838 (lll_futex_timed_wait): Likewise.
1839 (lll_futex_wake): Likewise.
1840 (lll_futex_requeue): Likewise.
1841 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1842 (__lll_timedwait_tid): Spell out argument names.
1843 (lll_timedwait_tid): Add comments and parentheses around macro
1845 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
1846 LLL_SHARED and LLL_PRIVATE usable from assembly code.
1848 2014-12-19 Torvald Riegel <triegel@redhat.com>
1850 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
1851 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1852 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1853 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
1854 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
1855 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
1856 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
1857 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
1858 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
1859 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
1860 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
1861 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
1862 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
1863 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
1864 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
1865 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
1866 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
1867 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
1868 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
1870 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1872 * sysdeps/x86_64/x32/Makefile: New file.
1874 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1876 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
1877 1L with (mp_limb_t) 1.
1879 2014-12-17 Roland McGrath <roland@hack.frob.com>
1881 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
1882 * nptl/libc_pthread_init.c: ... here.
1883 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
1884 * nptl/register-atfork.c: ... here.
1886 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
1887 Use pthread_sigmask rather than INTERNAL_SYSCALL.
1888 Use assert_perror to check its return value.
1889 (__gai_create_helper_thread): Likewise.
1891 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
1893 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
1895 2014-12-17 Joseph Myers <joseph@codesourcery.com>
1898 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
1900 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
1902 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
1904 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
1906 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
1907 (profil_counter): Likewise.
1908 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
1909 (profil_counter): Likewise.
1910 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
1912 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
1914 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
1915 (profil_counter): Likewise.
1916 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
1918 [!__profil_counter] (profil_counter): Define as weak alias of
1920 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
1921 (profil_counter): Rename to __profil_counter.
1922 [!__profil_counter] (profil_counter): Define as weak alias of
1924 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
1925 (profil_counter): Rename to __profil_counter.
1926 [!__profil_counter] (profil_counter): Define as weak alias of
1928 * sysdeps/posix/profil.c: Update comment referring to
1930 (__profil): Use __profil_counter instead of profil_counter.
1931 * sysdeps/posix/sprofil.c (profil_counter): Rename to
1932 __profil_counter. Use __profil_counter_ushort and
1933 __profil_counter_uint in definitions.
1934 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
1935 instead of profil_counter_uint and profil_counter_ushort.
1938 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
1939 define as weak alias of __inet_makeaddr.
1940 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
1941 as weak alias of __inet_addr.
1942 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
1943 as weak alias of __inet_pton. Use libc_hidden_weak.
1944 * include/arpa/inet.h (__inet_pton): Declare. Use
1946 (inet_makeaddr): Don't use libc_hidden_proto.
1947 (__inet_makeaddr): Declare. Use libc_hidden_proto.
1948 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
1949 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
1950 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
1952 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1953 (test-xfail-POSIX/time.h/linknamespace): Likewise.
1955 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
1957 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
1959 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1961 * stdio-common/bug-vfprintf-nargs.c (do_test):
1962 Cast value to intptr_t to avoid format warning
1963 for usage with PRIdPTR printing macro.
1965 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1967 * libio/tst-widetext.c (do_test):
1968 Use format type %td instead of %Zd for ptrdiff_t
1969 in order to avoid format warning.
1971 2014-12-17 Andreas Schwab <schwab@suse.de>
1973 * nscd/mem.c (gc): Add size_t cast to match printf format.
1975 2014-12-16 Roland McGrath <roland@hack.frob.com>
1977 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
1978 (init): Apply PTR_MANGLE to pointers before storing them.
1979 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
1982 2014-12-16 Joseph Myers <joseph@codesourcery.com>
1985 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
1986 define as weak alias of __memrchr.
1987 (__memrchr): Do not define as strong alias of memrchr.
1988 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
1990 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1991 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1992 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1995 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
1996 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
1997 (if_indextoname): Rename to __if_indextoname and define as weak
1998 alias of __if_indextoname. Use libc_hidden_weak.
1999 (if_freenameindex): Rename to __if_freenameindex and define as
2000 weak alias of __if_freenameindex.
2001 (if_nameindex): Rename to __if_nameindex and define as weak alias
2003 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
2004 __if_nametoindex and define as weak alias of __if_nametoindex.
2005 Use libc_hidden_weak.
2006 (if_freenameindex): Rename to __if_freenameindex and define as
2007 weak alias of __if_freenameindex.
2008 (if_nameindex): Rename to __if_nameindex and define as weak alias
2010 (if_indextoname): Rename to __if_indextoname and define as weak
2011 alias of __if_indextoname. Use libc_hidden_weak.
2012 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
2013 __if_nametoindex and define as weak alias of __if_nametoindex.
2014 Use libc_hidden_weak.
2015 (if_freenameindex): Rename to __if_freenameindex and define as
2016 weak alias of __if_freenameindex. Use libc_hidden_weak.
2017 (if_nameindex_netlink): Use __if_freenameindex instead of
2019 (if_nameindex): Rename to __if_nameindex and define as weak alias
2020 of __if_nameindex. Use libc_hidden_weak.
2021 (if_indextoname): Rename to __if_indextoname and define as weak
2022 alias of __if_indextoname. Use libc_hidden_weak.
2023 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
2025 [!_ISOMAC] (__if_freenameindex): Likewise.
2026 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
2028 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
2030 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2031 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2032 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2033 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2034 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2035 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2036 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2038 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
2040 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2041 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2043 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2045 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
2046 subscript above bounds'
2048 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
2051 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
2053 * libio/tst-fopenloc.c: Use test-skeleton.c.
2055 * stdlib/tst-bsearch.c: Use test-skeleton.c.
2056 (entry): Rename to ITEM.
2057 (do_test, comp): Adjust.
2059 * stdio-common/tst-fseek.c: Use test-skeleton.c.
2061 2014-12-16 Torvald Riegel <triegel@redhat.com>
2063 * string/tester.c: Include <libc-internal.h>.
2064 (test_memset): Ignore -Wmemset-transposed-args.
2066 2014-12-16 Torvald Riegel <triegel@redhat.com>
2068 * misc/tst-mntent2.c (do_test): Fix warning.
2070 2014-12-16 Torvald Riegel <triegel@redhat.com>
2072 * elf/tst-unique4lib.cc(a): Mark as used.
2074 2014-12-16 Florian Weimer <fweimer@redhat.com>
2077 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
2080 2014-12-16 Allan McRae <allan@archlinux.org>
2082 * stdio-common/Makefile (tests): Re-add bug26.
2084 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
2087 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
2090 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
2092 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
2093 (__lll_lock_wait): Likewise.
2094 (__lll_timedlock_wait): Likewise.
2095 (__lll_timedwait_tid): Likewise.
2096 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
2097 (__lll_robust_timedlock_wait): Likewise.
2098 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
2099 (lll_cond_trylock): Likewise.
2100 (__lll_lock): Likewise.
2101 (__lll_robust_lock): Likewise.
2102 (__lll_cond_lock): Likewise.
2103 (lll_robust_cond_lock): Likewise.
2104 (__lll_timedlock): Likewise.
2105 (__lll_robust_timedlock): Likewise.
2106 (__lll_unlock): Likewise.
2107 (__lll_robust_unlock): Likewise.
2108 (lll_wait_tid): Likewise.
2109 (lll_timedwait_tid): Likewise.
2111 2014-12-15 Torvald Riegel <triegel@redhat.com>
2113 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
2115 2014-12-15 Torvald Riegel <triegel@redhat.com>
2117 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
2119 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2121 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
2122 * stdio-common/tst-sprintf.c: Likewise.
2124 2014-12-15 Torvald Riegel <triegel@redhat.com>
2126 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
2128 2014-12-15 Jeff Law <law@redhat.com>
2131 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
2132 on the heap. (CVE-2012-3406)
2133 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
2134 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
2135 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
2137 2014-12-15 Will Newton <will.newton@linaro.org>
2139 * manual/install.texi: Bump required version of texinfo
2141 * INSTALL: Regenerated.
2142 * configure.ac: Check for makeinfo version 4.7 and above.
2143 * configure: Regenerated.
2145 2014-12-12 Roland McGrath <roland@hack.frob.com>
2147 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
2148 PREFIX, string constant to insert between directory and name.
2149 * sysdeps/posix/shm_open.c: Update caller.
2150 * sysdeps/posix/shm_unlink.c: Likewise.
2151 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
2152 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
2153 (SEM_SHM_PREFIX): New macro.
2154 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
2155 [$(have-thread-library) = no].
2156 * nptl/Makefile (libpthread-routines): Add shm-directory.
2157 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
2158 * sysdeps/nptl/shm-directory.h: New file.
2159 * sysdeps/posix/shm-directory.c
2160 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
2161 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
2162 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
2164 (__where_is_shmfs): Function removed.
2165 (mountpoint, defaultmount, defaultdir, __namedsem_once):
2167 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
2169 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
2171 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
2172 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
2173 unconditional for use inside libpthread.
2174 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
2176 2014-12-12 Roland McGrath <roland@hack.frob.com>
2178 * nptl/pthread_getaffinity.c: New file.
2179 * nptl/pthread_setaffinity.c: New file.
2180 * nptl/pthread_getname.c: New file.
2181 * nptl/pthread_setname.c: New file.
2183 * nptl/pthread_create.c (START_THREAD_DEFN)
2184 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
2186 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2187 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2189 * resolv/res_send.c (send_vc): Disable warning resplen may
2190 be used uninitialized.
2192 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2195 (ATTR_NULL): New define checks ATTR against NULL.
2196 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
2197 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
2199 2014-12-11 James Lemke <jwlemke@codesourcery.com>
2203 (mem2mem_check): Revert my previous change.
2204 (malloc_check_get_size): Revert my previous change.
2205 (mem2chunk_check): Revert my previous change.
2207 2014-12-11 Roland McGrath <roland@hack.frob.com>
2209 * sysdeps/posix/shm-directory.c: New file.
2210 * sysdeps/posix/shm-directory.h: New file.
2211 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
2212 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
2213 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
2214 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
2215 Transmute EPERM to EACCES.
2216 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
2218 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
2219 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
2221 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2223 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
2224 pointer and cast to uintptr_t.
2225 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
2226 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
2227 Add cast to avoid warning.
2228 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
2230 2014-12-11 Joseph Myers <joseph@codesourcery.com>
2232 * nptl/semaphore.h: Move to ...
2233 * sysdeps/pthread/semaphore.h: ... here.
2234 * Makefile (installed-headers): Change nptl/semaphore.h to
2235 sysdeps/pthread/semaphore.h.
2237 2014-12-11 Roland McGrath <roland@hack.frob.com>
2239 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
2240 generated error format strings.
2242 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
2243 -Wformat-extra-args warnings for scanf formats.
2244 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
2245 test of zero-length format (duh).
2246 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
2247 corner-case scanf format test.
2248 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
2249 generated fprintf format string.
2250 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
2251 corner-case sprintf format tests.
2252 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
2253 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
2254 -Wformat-extra-args warnings throughout.
2255 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
2256 (CFLAGS-scanf4.c): Likewise.
2257 (CFLAGS-scanf7.c): Likewise.
2258 (CFLAGS-tst-sprintf.c): Likewise.
2259 (CFLAGS-tst-printf.c): Likewise.
2260 (CFLAGS-tst-printfsz.c): Likewise.
2262 2014-12-11 Joseph Myers <joseph@codesourcery.com>
2264 * include/cpio.h: New file.
2265 * include/fmtmsg.h: Likewise.
2267 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
2268 corresponding format argument to size_t.
2269 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
2271 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
2272 corresponding format argument to size_t.
2273 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
2275 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
2276 corresponding format argument to size_t.
2277 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
2278 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
2279 (CFLAGS-tst-mbswcs2.c): Likewise.
2280 (CFLAGS-tst-mbswcs3.c): Likewise.
2281 (CFLAGS-tst-mbswcs4.c): Likewise.
2282 (CFLAGS-tst-mbswcs5.c): Likewise.
2283 (CFLAGS-tst-trans.c): Likewise
2285 2014-12-11 Roland McGrath <roland@hack.frob.com>
2287 * posix/regexbug1.c (main): Use "%s" format with regerror results,
2288 rather than assuming they won't contain any '%'s.
2290 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
2292 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
2293 inhibit_loop_to_libcall to avoid recursive calls.
2294 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
2295 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
2297 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2299 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
2302 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
2304 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
2305 integer value instead of boolean.
2307 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
2309 * malloc/malloc.c: Fix powerof2 check.
2311 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2313 * locale/programs/locfile.h (maybe_swap_uint32):
2314 Remove inline and add unused attribute.
2316 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2318 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2319 Truncating assembler expression to a .long expression.
2321 2014-12-11 Andreas Schwab <schwab@suse.de>
2323 * elf/rtld.c (struct map_args): Constify str member.
2324 (do_preload): Constify fname argument.
2326 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2328 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
2329 constants definition.
2331 2014-12-11 Andreas Schwab <schwab@suse.de>
2334 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
2335 FORCE_ELISION instead of DO_ELISION.
2336 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
2338 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
2341 * iconvdata/gconv-modules: Remove duplicate entry.
2343 2014-12-11 Will Newton <will.newton@linaro.org>
2345 Merge gettext 0.19.3 into intl/.
2347 This involves a number of cosmetic changes to comments
2348 and ANSI function definitions and prototypes throughout
2349 all the files. The gettext copyright header is used but
2350 with the date ranges taken from the glibc copy.
2352 * NEWS: Add gettext merge to 2.21.
2353 * intl/bindtextdom.c: Switch to gettext copyright.
2354 Use ANSI definitions and prototypes.
2355 Use gl_* locking primitives rather than __libc_* ones.
2356 Use __builtin_expect rather than __glibc_likely/unlikely.
2357 * intl/dcgettext.c: Switch to gettext copyright.
2358 Use ANSI definitions and prototypes.
2359 * intl/dcigettext.c: Switch to gettext copyright.
2360 Use ANSI definitions and prototypes.
2361 (INTDIV0_RAISES_SIGFPE): New define.
2362 Use gl_* locking primitives rather than __libc_* ones.
2363 Include eval-plural.h instead of plural-eval.c.
2364 Use __builtin_expect rather than __glibc_likely/unlikely.
2365 * intl/dcngettext.c: Switch to gettext copyright.
2366 Use ANSI definitions and prototypes.
2367 * intl/dgettext.c: Likewise.
2368 * intl/dngettext.c: Likewise.
2369 * intl/plural-eval.c: Renamed to...
2370 * intl/eval-plural.h: ...this.
2371 * intl/explodename.c: Switch to gettext copyright.
2372 Use ANSI definitions and prototypes.
2373 (_nl_explode_name): Use strchr instead of __rawmemchr.
2374 * intl/finddomain.c: Switch to gettext copyright.
2375 Use ANSI definitions and prototypes.
2376 Use gl_* locking primitives rather than __libc_* ones.
2377 (_nl_find_domain): Use malloc rather than alloca for
2378 allocation of temporary locale name.
2379 * intl/gettext.c: Switch to gettext copyright.
2380 Use ANSI definitions and prototypes.
2381 * intl/gettextP.h: Switch to gettext copyright.
2382 Use ANSI definitions and prototypes.
2383 Use gl_* locking primitives rather than __libc_* ones.
2384 * intl/gmo.h: Switch to gettext copyright.
2385 (struct sysdep_string): Move struct segment_pair outside of
2387 * intl/hash-string.c: Use ANSI definitions and prototypes.
2388 * intl/hash-string.h: Switch to gettext copyright.
2389 Use ANSI definitions and prototypes.
2390 * intl/l10nflist.c: Switch to gettext copyright.
2391 Use ANSI definitions and prototypes.
2392 (_nl_normalize_codeset): Avoid integer overflow.
2393 * intl/loadinfo.h: Switch to gettext copyright.
2394 Use ANSI definitions and prototypes.
2395 (LIBINTL_DLL_EXPORTED): New define.
2396 (PATH_SEPARATOR): New define.
2397 * intl/loadmsgcat.c: Switch to gettext copyright.
2398 * intl/localealias.c: Switch to gettext copyright.
2399 Use ANSI definitions and prototypes.
2400 (_nl_expand_alias): Use PATH_SEPARATOR.
2401 * intl/ngettext.c: Switch to gettext copyright.
2402 Use ANSI definitions and prototypes.
2403 * intl/plural-exp.c: Likewise.
2404 * intl/plural-exp.h: Switch to gettext copyright.
2405 Use ANSI definitions and prototypes.
2406 (struct expression): Move definition of enum operator outside
2407 of struct definition.
2408 * intl/plural.c: Regenerate.
2409 * intl/plural.y: Switch to gettext copyright.
2410 Use ANSI definitions and prototypes.
2412 * intl/textdomain.c: Switch to gettext copyright.
2413 Use ANSI definitions and prototypes.
2414 Use gl_* locking primitives rather than __libc_* ones.
2416 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
2418 * debug/warning-nop.c: Add used atrribute.
2420 2014-12-10 Joseph Myers <joseph@codesourcery.com>
2422 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
2424 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
2425 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
2426 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
2428 2014-12-10 Joseph Myers <joseph@codesourcery.com>
2429 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2432 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
2433 Undefine after defining function. Define as weak alias of
2434 __wcschr. Use libc_hidden_weak.
2435 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
2436 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
2437 (libc_hidden_def): Also define __GI___wcschr alias.
2438 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
2439 __wcschr and define as weak alias of __wcschr.
2440 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
2442 [!WCSCHR] (DEFAULT_WCSCHR): Define.
2443 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
2444 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
2445 libc_hidden_weak. Do not use libc_hidden_def.
2446 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
2447 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
2448 __GI___wcschr alias.
2449 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
2450 [IS_IN (libc)] (wcschr): Define as macro expanding to
2452 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
2453 [IS_IN (libc)] (__wcschr_power6): Likewise.
2454 [IS_IN (libc)] (__wcschr_power7): Likewise.
2455 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
2457 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
2459 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
2460 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
2461 __wcschr and define as weak alias of __wcschr. Use
2462 libc_hidden_builtin_def.
2463 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
2464 as weak alias of __wcschr. Use libc_hidden_weak.
2465 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
2467 * time/era.c (_nl_init_era_entries): Likewise.
2468 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
2470 (test-xfail-XPG3/time.h/linknamespace): Likewise.
2471 (test-xfail-XPG4/time.h/linknamespace): Likewise.
2473 2014-12-10 Joseph Myers <joseph@codesourcery.com>
2475 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
2476 format for long int variable.
2478 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
2481 * manual/search.texi: (Array Sort Function): Remove claim how to make
2484 2014-12-10 Andreas Schwab <schwab@suse.de>
2487 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
2488 user-controlled locks.
2490 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
2492 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
2495 2014-12-10 Joseph Myers <joseph@codesourcery.com>
2497 * configure.ac (--disable-werror): New configure option.
2498 (enable_werror): New AC_SUBST.
2499 * configure: Regenerated.
2500 * config.make.in (enable-werror): New variable.
2501 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
2503 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
2504 * manual/install.texi (Configuring and compiling): Document
2506 * INSTALL: Regenerated.
2507 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
2508 (CFLAGS-tst-chk2.c): Likewise.
2509 (CFLAGS-tst-chk3.c): Likewise.
2510 (CFLAGS-tst-chk4.cc): Likewise.
2511 (CFLAGS-tst-chk5.cc): Likewise.
2512 (CFLAGS-tst-chk6.cc): Likewise.
2513 (CFLAGS-tst-lfschk1.c): Likewise.
2514 (CFLAGS-tst-lfschk2.c): Likewise.
2515 (CFLAGS-tst-lfschk3.c): Likewise.
2516 (CFLAGS-tst-lfschk4.cc): Likewise.
2517 (CFLAGS-tst-lfschk5.cc): Likewise.
2518 (CFLAGS-tst-lfschk6.cc): Likewise.
2520 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
2521 (main): Disable -Wdeprecated-declarations around calls to
2522 register_printf_function.
2524 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
2525 (do_test): Disable -Wdiv-by-zero around some calls to
2526 fwrite_unlocked and fread_unlocked.
2528 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
2529 (DIAG_POP_NEEDS_COMMENT): Likewise.
2530 (_DIAG_STR1): Likewise.
2531 (_DIAG_STR): Likewise.
2532 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
2533 * stdio-common/bug21.c: Include <libc-internal.h>.
2534 (do_test): Disable -Wformat around call to sscanf.
2535 * stdio-common/scanf14.c: Include <libc-internal.h>.
2536 (main): Disable -Wformat around some calls to scanf functions.
2538 2014-12-09 Torvald Riegel <triegel@redhat.com>
2540 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
2542 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2544 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
2545 stack variable alignment.
2547 2014-12-06 Joseph Myers <joseph@codesourcery.com>
2550 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
2551 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
2552 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
2553 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
2554 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
2555 __getrlimit instead of getrlimit.
2556 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
2557 __gettimeofday instead of gettimeofday.
2558 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2560 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2562 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2563 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
2565 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2566 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2568 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2570 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
2571 for wide-character tests.
2573 2014-12-04 Roland McGrath <roland@hack.frob.com>
2575 * io/openat64.c: #include <libc-internal.h>
2576 (__openat64): Prototypify. Use ignore_value on MODE.
2577 * io/openat.c: Likewise.
2578 * misc/reboot.c: #include <libc-internal.h>
2579 (reboot): Prototypify. Use ignore_value on HOWTO.
2580 * misc/ptrace.c: #include <libc-internal.h>
2581 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
2583 2014-12-04 Joseph Myers <joseph@codesourcery.com>
2585 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
2586 XPG4, UNIX98 and XOPEN2K.
2587 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
2589 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2591 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2593 * libio/fileops.c: Use ISO C style for function definitions.
2594 * libio/iofopen.c: Likewise.
2595 * libio/wfileops.c: Likewise.
2598 * libio/fileops.c (_IO_new_file_underflow): Unset cached
2600 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
2601 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
2602 (fgets_func): Function pointer to fgets and fgetws.
2603 (do_ftell_test): Add test to verify ftell value after read
2605 (do_test): Set fgets_func.
2607 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
2608 O_TRUNC flag for w and w+ modes.
2609 (do_rewind_test): Likewise.
2610 (do_ftell_test): Likewise.
2611 (do_write_test): Likewise.
2614 * libio/fileops.c (do_ftell): Seek only when there are
2616 * libio/wfileops.c (do_ftell_wide): Likewise.
2617 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
2619 (do_one_test): Call it.
2621 2014-12-03 Joseph Myers <joseph@codesourcery.com>
2623 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
2624 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
2625 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
2627 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2628 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2629 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2631 2014-12-02 Joseph Myers <joseph@codesourcery.com>
2633 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
2635 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2638 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
2639 as weak alias of __getifaddrs. Use libc_hidden_weak.
2640 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2641 __freeifaddrs. Use libc_hidden_weak.
2642 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
2643 define as weak alias of __getifaddrs. Use libc_hidden_weak.
2644 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2645 __freeifaddrs. Use libc_hidden_weak.
2646 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
2647 __getifaddrs and define as weak alias of __getifaddrs. Use
2649 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2650 __freeifaddrs. Use libc_hidden_weak.
2651 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
2653 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2654 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2656 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
2659 * sysdeps/mips/start.S (__start): Use indirect jump to call
2662 2014-12-02 Joseph Myers <joseph@codesourcery.com>
2664 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
2666 * nptl/tst-mutex1.c: Include <stdbool.h>.
2667 [!ATTR] (ATTR_NULL): New macro.
2668 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
2669 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
2670 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
2672 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
2676 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
2677 Change conditional to [__USE_MISC].
2680 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
2682 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
2684 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
2686 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
2688 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2689 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2690 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2691 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2692 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2693 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2694 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2695 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2696 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2698 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
2700 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2702 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2703 Remove strpbrk objects.
2704 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2705 (__libc_ifunc_impl_list): Remove strpbrk implementation.
2706 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
2707 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
2708 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
2709 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
2711 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2712 Remove strcspn objects.
2713 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2714 (__libc_ifunc_impl_list): Remove strcspn implementation.
2715 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
2716 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
2717 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
2718 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2720 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2721 Remove strspn objetcs.
2722 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2723 (__libc_ifunc_impl_list): Remove strspn implementation.
2724 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
2725 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2726 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
2727 * sysdeps/powerpc/powerpc64/strspn.S: New file.
2729 2014-12-01 James Lemke <jwlemke@codesourcery.com>
2733 (mem2mem_check): Add a terminator to the chain of checking blocks.
2734 (malloc_check_get_size): Use it here.
2735 (mem2chunk_check): Ditto.
2737 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2739 * sysdeps/powerpc/powerpc64/strtok.S: New file.
2740 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
2742 2014-11-29 Carlos O'Donell <carlos@redhat.com>
2744 * bits/ioctl-types.h: Indent preprocessor directives correctly.
2746 * nptl/nptl-init.c: Include libc-internal.h.
2747 (__pthread_initialize_minimal_internal): Use ROUND_UP.
2749 * elf/ldconfig.c (search_dir): Expand comment.
2751 2014-11-29 Joseph Myers <joseph@codesourcery.com>
2753 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
2755 (linknamespace-symlist-stdlibs-tests): Likewise.
2756 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
2757 instead of $(objpfx)symlist-stdlibs.
2758 (linknamespace-libs-isoc): New variable.
2759 (linknamespace-libs): Use $(linknamespace-libs-isoc).
2760 (linknamespace-libs-ISO): New variable.
2761 (linknamespace-libs-ISO99): Likewise.
2762 (linknamespace-libs-ISO11): Likewise.
2763 (linknamespace-libs-XPG3): Likewise.
2764 (linknamespace-libs-XPG4): Likewise.
2765 (linknamespace-libs-POSIX): Likewise.
2766 (linknamespace-libs-UNIX98): Likewise.
2767 (linknamespace-libs-XOPEN2K): Likewise.
2768 (linknamespace-libs-POSIX2008): Likewise.
2769 (linknamespace-libs-XOPEN2K8): Likewise.
2770 ($(objpfx)symlist-stdlibs): Replace by
2771 $(linknamespace-symlist-stdlibs-tests). Use
2772 $(linknamespace-libs-$*) as set of libraries.
2773 ($(linknamespace-header-tests)): Update dependencies. Use
2774 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
2775 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
2776 * conform/linknamespace.pl: Remove comment about considering
2777 definitions of symbols from irrelevant libraries.
2779 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
2782 * elf/dl-tls.c: Include <atomic.h>.
2783 (oom): Remove #ifdef SHARED/#endif.
2784 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
2785 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
2786 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
2788 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
2789 * nptl/Makefile (tests): Add tst-stack4.
2790 (modules-names): Add tst-stack4mod.
2791 ($(objpfx)tst-stack4): New.
2792 (tst-stack4mod.sos): Likewise.
2793 ($(objpfx)tst-stack4.out): Likewise.
2794 ($(tst-stack4mod.sos)): Likewise.
2796 * nptl/tst-stack4.c: New file.
2797 * nptl/tst-stack4mod.c: Likewise.
2799 2014-11-27 J. Brown <jb999@gmx.de>
2801 * sysdeps/x86/bits/string.h: Add recent CPUs.
2803 2014-11-27 Joseph Myers <joseph@codesourcery.com>
2805 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
2808 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
2811 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
2814 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
2816 * nscd/connections.c: Include libc-internal.h because of macro
2819 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2821 * string/bits/string3.h (__warn_memset_zero_len): Don't
2822 declare for gcc newer than 5.0.
2823 (memset): Don't test for zero-length __LEN for gcc newer than
2826 2014-11-27 Joseph Myers <joseph@codesourcery.com>
2828 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
2829 size_t for %zu format.
2831 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
2832 difference, not %ju.
2834 2014-11-26 Joseph Myers <joseph@codesourcery.com>
2836 * include/libc-internal.h (ignore_value): New macro.
2837 * nscd/connections.c (restart): Wrap calls to setuid and setgid
2840 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
2843 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
2844 pthread_cleanup_push to void *.
2846 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
2851 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
2852 instead of 1L << 52.
2854 * libio/bug-rewind.c (do_test): Check fwscanf return values.
2855 * libio/bug-rewind2.c (do_test): Likewise.
2857 * debug/test-stpcpy_chk-ifunc.c: Remove file.
2858 * debug/test-strcpy_chk-ifunc.c: Likewise.
2859 * wcsmbs/test-wcschr-ifunc.c: Likewise.
2860 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2861 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2862 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2863 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2864 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2865 * Rules [$(multi-arch) = no] (tests): Do not filter out
2867 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
2868 * debug/Makefile (tests-ifunc): Remove variable.
2869 (tests): Do not add $(tests-ifunc).
2870 * wcsmbs/Makefile (tests-ifunc): Remove variable.
2871 (tests): Do not add $(tests-ifunc).
2872 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
2873 [TEST_IFUNC]: Remove conditionals.
2874 * string/test-string.h (TEST_IFUNC): Remove macro.
2875 [TEST_IFUNC]: Remove conditionals.
2877 * string/test-strchr.c [!WIDE] (L): New macro.
2878 [WIDE] (L): Likewise.
2879 (check1): Use CHAR instead of char. Use L on string and character
2882 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
2884 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
2886 * sysdeps/powerpc/bits/atomic.h
2887 (__arch_atomic_exchange_and_add_32_acq): Add definition.
2888 (__arch_atomic_exchange_and_add_32_rel): Likewise.
2889 (atomic_exchange_and_add_acq): Likewise.
2890 (atomic_exchange_and_add_rel): Likewise.
2891 * sysdeps/powerpc/powerpc32/bits/atomic.h
2892 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2893 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2894 * sysdeps/powerpc/powerpc64/bits/atomic.h
2895 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2896 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2898 2014-11-26 Torvald Riegel <triegel@redhat.com>
2900 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
2901 Change synchronization of __sched_fifo_min_prio and
2902 __sched_fifo_max_prio.
2903 * nptl/pthread_mutexattr_getprioceiling.c
2904 (pthread_mutexattr_getprioceiling): Likewise.
2905 * nptl/pthread_mutexattr_setprioceiling.c
2906 (pthread_mutexattr_setprioceiling): Likewise.
2907 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
2908 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
2911 2014-11-26 Joseph Myers <joseph@codesourcery.com>
2913 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
2916 2014-11-25 Joseph Myers <joseph@codesourcery.com>
2918 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
2919 third argument const.
2921 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
2923 fnmatch: work around GCC compiler warning bug with uninit var
2924 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
2925 This works around a bug with x86-64 GCC 4.9.2 and earlier
2926 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
2927 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
2928 used uninitialized in this function [-Wmaybe-uninitialized]".
2930 2014-11-25 Joseph Myers <joseph@codesourcery.com>
2932 * posix/bug-regex31.c (main): Return RES not 0.
2934 2014-11-25 Anton Blanchard <anton@samba.org>
2936 * sysdeps/powerpc/bits/atomic.h
2937 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
2939 2014-11-24 Sterling Augustine <saugustine@google.com>
2941 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
2943 2014-11-24 Ryan Cumming <etaoins@gmail.com>
2946 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
2948 2014-11-24 Joseph Myers <joseph@codesourcery.com>
2951 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
2952 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
2954 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2955 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2957 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
2959 * string/strncpy.c (strncpy): Improve performance by using memset.
2961 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
2963 * string/strcpy.c (strcpy):
2964 Improve performance by using strlen and memcpy.
2966 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
2968 * string/strcoll_l.c (get_next_seq): __always_inline.
2969 * string/strcoll_l.c (do_compare): __always_inline.
2971 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2973 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
2975 * include/mqueue.h: Likewise.
2976 * include/stdlib.h: Likewise.
2978 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
2979 (get_null_defines): Adjust.
2980 * sunrpc/Makefile: Adjust comment.
2981 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
2982 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
2983 (CFLAGS-interp.c): Likewise.
2984 (CFLAGS-ldconfig.c): Likewise.
2985 (CPPFLAGS-.os): Likewise.
2986 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2987 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2988 * extra-modules.mk (extra-modules.mk): Likewise.
2989 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
2990 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
2991 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
2992 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
2993 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
2994 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
2995 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
2996 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
2997 * iconvdata/Makefile (CPPFLAGS): Likewise.
2998 (cpp-srcs-left): Add libof for all iconvdata routines.
2999 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
3000 * include/assert.h: Likewise.
3001 * include/ctype.h: Likewise.
3002 * include/errno.h: Likewise.
3003 * include/libc-symbols.h: Likewise.
3004 * include/math.h: Likewise.
3005 * include/netdb.h: Likewise.
3006 * include/resolv.h: Likewise.
3007 * include/stdio.h: Likewise.
3008 * include/stdlib.h: Likewise.
3009 * include/string.h: Likewise.
3010 * include/sys/stat.h: Likewise.
3011 * include/wctype.h: Likewise.
3012 * intl/l10nflist.c: Likewise.
3013 * libidn/idn-stub.c: Likewise.
3014 * libio/libioP.h: Likewise.
3015 * nptl/libc_multiple_threads.c: Likewise.
3016 * nptl/pthreadP.h: Likewise.
3017 * posix/regex_internal.h: Likewise.
3018 * resolv/res_hconf.c: Likewise.
3019 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
3020 * sysdeps/arm/memmove.S: Likewise.
3021 * sysdeps/arm/sysdep.h: Likewise.
3022 * sysdeps/generic/_itoa.h: Likewise.
3023 * sysdeps/generic/symbol-hacks.h: Likewise.
3024 * sysdeps/gnu/errlist.awk: Likewise.
3025 * sysdeps/gnu/errlist.c: Likewise.
3026 * sysdeps/i386/i586/memcpy.S: Likewise.
3027 * sysdeps/i386/i586/memset.S: Likewise.
3028 * sysdeps/i386/i686/memcpy.S: Likewise.
3029 * sysdeps/i386/i686/memmove.S: Likewise.
3030 * sysdeps/i386/i686/mempcpy.S: Likewise.
3031 * sysdeps/i386/i686/memset.S: Likewise.
3032 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3033 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3034 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
3035 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
3036 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3037 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3038 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
3039 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3040 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3041 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3042 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3043 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3044 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3045 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3046 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3047 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3048 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
3049 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
3050 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
3051 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3052 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3053 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3054 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3055 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3056 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3057 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3058 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
3059 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3060 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
3061 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
3062 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3063 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3064 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3065 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3066 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3067 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
3068 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3069 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3070 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3071 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3072 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3073 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3074 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3075 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
3076 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3077 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3078 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
3079 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
3080 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3081 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3082 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3083 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
3084 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
3085 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3086 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3087 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
3088 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3089 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
3090 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
3091 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3092 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3093 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3094 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
3095 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3096 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3097 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
3098 * sysdeps/posix/closedir.c: Likewise.
3099 * sysdeps/posix/opendir.c: Likewise.
3100 * sysdeps/posix/readdir.c: Likewise.
3101 * sysdeps/posix/rewinddir.c: Likewise.
3102 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
3103 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
3104 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3105 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3106 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3107 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
3108 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
3109 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
3110 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3111 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
3112 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3113 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3114 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3115 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
3116 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
3117 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
3118 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3119 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3120 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
3121 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
3122 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3123 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
3124 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
3125 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3126 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
3127 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
3128 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
3129 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3130 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3131 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
3132 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3133 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
3134 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3135 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
3136 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3137 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
3138 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3139 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3140 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
3141 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
3142 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
3143 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
3144 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3145 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3146 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
3147 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
3148 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
3149 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3150 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
3151 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3152 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
3153 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3154 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3155 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3156 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3157 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
3158 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
3159 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3160 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3161 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
3162 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3163 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3164 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3165 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3166 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
3167 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3168 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
3169 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
3170 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
3171 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
3172 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3173 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3174 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
3175 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3176 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3177 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
3178 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
3179 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3180 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3181 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
3182 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3183 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3184 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3185 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
3186 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3187 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
3188 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
3189 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3190 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3191 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3192 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
3193 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
3194 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
3195 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3196 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3197 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
3198 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3199 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3200 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
3201 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
3202 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3203 * sysdeps/unix/alpha/sysdep.S: Likewise.
3204 * sysdeps/unix/alpha/sysdep.h: Likewise.
3205 * sysdeps/unix/make-syscalls.sh: Likewise.
3206 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3207 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3208 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3209 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3210 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3211 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3212 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
3213 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3214 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3215 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
3216 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3217 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3218 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3219 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3220 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3221 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3222 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3223 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3224 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3225 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3226 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3227 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3228 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3229 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3230 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3231 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3232 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3235 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
3236 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3237 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3238 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3239 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3240 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3241 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3242 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3243 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3244 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3245 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3246 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3247 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3248 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3249 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3250 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3251 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3252 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3253 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3254 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3255 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3256 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3257 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3258 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3259 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3260 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3261 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3262 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3263 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3264 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
3265 * sysdeps/x86_64/memcpy.S: Likewise.
3266 * sysdeps/x86_64/memmove.c: Likewise.
3267 * sysdeps/x86_64/memset.S: Likewise.
3268 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
3269 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3270 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3271 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
3272 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3273 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3274 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3275 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3276 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3277 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3278 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3279 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3280 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
3281 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3282 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3283 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
3284 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3285 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3286 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3287 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3288 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
3289 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3290 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3291 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3292 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3293 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3294 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3295 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
3296 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3297 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3298 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
3299 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3300 * sysdeps/x86_64/strcmp.S: Likewise.
3302 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
3304 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
3305 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
3306 * elf/rtld-Rules: Likewise.
3307 * elf/setup-vdso.h: Likewise.
3308 * include/assert.h: Likewise.
3309 * include/bits/stdlib-float.h: Likewise.
3310 * include/errno.h: Likewise.
3311 * include/sys/stat.h: Likewise.
3312 * include/unistd.h: Likewise.
3313 * sysdeps/aarch64/setjmp.S: Likewise.
3314 * sysdeps/alpha/setjmp.S: Likewise.
3315 * sysdeps/arm/__longjmp.S: Likewise.
3316 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
3317 * sysdeps/arm/setjmp.S: Likewise.
3318 * sysdeps/arm/sysdep.h: Likewise.
3319 * sysdeps/generic/_itoa.h: Likewise.
3320 * sysdeps/generic/dl-sysdep.h: Likewise.
3321 * sysdeps/generic/ldsodefs.h: Likewise.
3322 * sysdeps/i386/dl-tls.h: Likewise.
3323 * sysdeps/i386/setjmp.S: Likewise.
3324 * sysdeps/m68k/setjmp.c: Likewise.
3325 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
3326 * sysdeps/mach/hurd/opendir.c: Likewise.
3327 * sysdeps/posix/getcwd.c: Likewise.
3328 * sysdeps/posix/opendir.c: Likewise.
3329 * sysdeps/posix/profil.c: Likewise.
3330 * sysdeps/powerpc/dl-procinfo.h: Likewise.
3331 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3332 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3333 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3334 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3335 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
3336 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3337 * sysdeps/s390/dl-tls.h: Likewise.
3338 * sysdeps/s390/s390-32/setjmp.S: Likewise.
3339 * sysdeps/s390/s390-64/setjmp.S: Likewise.
3340 * sysdeps/sh/sh3/setjmp.S: Likewise.
3341 * sysdeps/sh/sh4/setjmp.S: Likewise.
3342 * sysdeps/unix/alpha/sysdep.h: Likewise.
3343 * sysdeps/unix/arm/sysdep.S: Likewise.
3344 * sysdeps/unix/i386/sysdep.S: Likewise.
3345 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3346 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3347 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3348 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3349 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3350 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3351 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3352 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3353 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3354 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3355 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3356 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3357 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3360 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3361 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3362 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3363 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3364 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3365 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3366 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3367 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3368 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3369 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3370 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3371 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3372 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3373 * sysdeps/x86_64/setjmp.S: Likewise.
3375 * include/math.h: Use IS_IN instead of IS_IN_libm.
3376 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
3377 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3378 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3379 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3380 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3381 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3382 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3383 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3384 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3385 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3386 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
3387 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
3388 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
3389 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
3390 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
3391 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
3392 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
3393 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
3394 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
3395 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
3396 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
3397 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
3398 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
3399 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
3400 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
3401 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3402 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
3403 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3404 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3405 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
3406 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
3407 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3408 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
3415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
3417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
3419 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3420 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3421 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3422 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3423 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3424 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
3430 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3431 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
3432 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3433 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3434 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3435 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3436 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3437 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3438 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3439 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3440 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3441 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3442 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3443 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
3444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3445 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
3447 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
3448 * nptl/pthreadP.h: Likewise.
3449 * nptl_db/structs.def: Likewise.
3450 * sysdeps/arm/sysdep.h: Likewise.
3451 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3452 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3453 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
3454 * sysdeps/unix/alpha/sysdep.h: Likewise.
3455 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3456 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3457 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3458 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3459 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3460 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3461 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3462 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3463 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3464 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3465 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3466 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3467 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3468 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3471 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3472 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3473 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3474 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3475 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3476 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3477 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3478 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3479 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
3480 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3482 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
3483 * nptl/pthreadP.h: Likewise.
3484 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3485 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3486 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3487 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3488 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3489 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3490 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3491 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3492 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3493 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3494 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3495 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3500 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3501 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3502 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3503 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3504 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3505 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3506 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3507 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3509 * dlfcn/dladdr.c: Use IS_IN.
3510 * dlfcn/dladdr1.c: Likewise.
3511 * dlfcn/dlclose.c: Likewise.
3512 * dlfcn/dlerror.c: Likewise.
3513 * dlfcn/dlinfo.c: Likewise.
3514 * dlfcn/dlmopen.c: Likewise.
3515 * dlfcn/dlopen.c: Likewise.
3516 * dlfcn/dlsym.c: Likewise.
3517 * dlfcn/dlvsym.c: Likewise.
3519 * include/ifaddrs.h: Use IS_IN.
3520 * inet/check_pf.c: Likewise.
3521 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3522 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
3524 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
3526 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
3527 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
3529 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
3530 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
3533 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
3535 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
3536 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3537 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3538 * include/libc-symbols.h (IS_IN_LIB): New macro.
3539 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
3540 * include/netdb.h: Likewise.
3541 * include/stap-probe.h: Remove all uses of IN_LIB.
3543 * Makeconfig (module-cppflags-real): Define MODULE_NAME
3544 instead of IN_MODULE.
3545 * include/libc-symbols.h (IN_MODULE): Define using
3547 (PASTE_NAME, PASTE_NAME1): New macros.
3548 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
3550 (STAP_PROBE_ASM): Likewise.
3552 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
3554 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
3555 __mach_init in dlopened libc.
3557 2014-11-22 Mike Frysinger <vapier@gentoo.org>
3559 * sysdeps/arm/preconfigure.ac: Delete EABI check.
3560 * sysdeps/arm/preconfigure: Regenerate.
3562 2014-11-21 Roland McGrath <roland@hack.frob.com>
3564 * nptl/pthread_create.c (__pthread_create_2_1): Set
3565 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
3566 when copying values from IATTR into PD.
3568 2014-11-21 Will Newton <will.newton@linaro.org>
3569 Andrew Pinski <andrew.pinski@caviumnetworks.com>
3571 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
3572 Refactor inline-asm. Also add comment.
3574 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
3575 ElfW macro instead of hardcoded Elf64 types.
3576 (la_aarch64_gnu_pltenter): Likewise.
3577 * sysdeps/aarch64/dl-machine.h
3578 (elf_machine_runtime_setup): Use ElfW(Addr).
3580 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
3581 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
3582 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
3583 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
3584 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
3585 (R_AARCH64_TLS_DTPMOD64): Rename to ..
3586 (R_AARCH64_TLS_DTPMOD): This.
3587 (R_AARCH64_TLS_DTPREL64): Rename to ...
3588 (R_AARCH64_TLS_DTPREL): This.
3589 (R_AARCH64_TLS_TPREL64): Rename to ...
3590 (R_AARCH64_TLS_TPREL): This.
3591 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
3592 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
3593 R_AARCH64_TLS_TPREL64.
3594 (elf_machine_rela): Likewise.
3596 2014-11-21 Torvald Riegel <triegel@redhat.com>
3598 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
3599 by setting it to 0. 64b atomics are not supported currently.
3601 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3604 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
3605 search domain names.
3607 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3611 * resolv/res_query.c (__libc_res_nquerydomain): Retain
3613 * posix/tst-getaddrinfo5.c: New.
3614 * posix/Makefile (tests): Add it.
3616 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3620 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
3621 after parsing line but before break_if_match.
3622 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
3623 if there is a protocol mismatch.
3625 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
3627 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
3628 because the potential race is on the user-supplied stream.
3630 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3632 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
3633 string literal if not passed a buffer.
3634 * manual/job.texi (ctermid): Update reasoning, note deviation
3635 from posix, suggest mtasurace when not passed a buffer, for
3636 future non-preliminary safety notes.
3638 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3640 * manual/users.texi (cuserid): Fix MT-Safety note for the case
3641 of not passing it a buffer.
3642 Reported by Peng Haitao.
3644 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3646 * manual/Makefile ($(objpfx)stamp-summary): Require
3647 check-safety.sh to pass.
3648 * manual/check-safety.sh: Wish for verification that every
3649 @deftypefn and @deftypefun is followed by a @safety remark.
3651 2014-11-20 Roland McGrath <roland@hack.frob.com>
3653 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
3655 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
3656 PTHREAD_CANCEL_ASYNCHRONOUS.
3657 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
3660 * nptl/default-sched.h: New file.
3661 * sysdeps/unix/sysv/linux/default-sched.h: New file.
3662 * nptl/pthread_create.c: Include it.
3663 (__pthread_create_2_1): Use collect_default_sched instead of making
3664 Linux syscalls here directly.
3666 2014-11-20 Torvald Riegel <triegel@redhat.com>
3668 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
3669 __pthread_once): Use C11 atomics.
3671 2014-11-20 Torvald Riegel <triegel@redhat.com>
3673 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
3675 2014-11-20 Torvald Riegel <triegel@redhat.com>
3677 * include/atomic.h (__atomic_link_error, __atomic_check_size,
3678 atomic_thread_fence_acquire, atomic_thread_fence_release,
3679 atomic_thread_fence_seq_cst, atomic_load_relaxed,
3680 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
3681 atomic_compare_exchange_weak_relaxed,
3682 atomic_compare_exchange_weak_acquire,
3683 atomic_compare_exchange_weak_release,
3684 atomic_exchange_acquire, atomic_exchange_release,
3685 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
3686 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
3687 atomic_fetch_and_acquire,
3688 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
3690 2014-11-20 Torvald Riegel <triegel@redhat.com>
3692 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
3693 USE_ATOMIC_COMPILER_BUILTINS): Define.
3694 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
3695 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3696 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
3697 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3698 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
3699 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3700 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
3701 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3702 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
3703 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3704 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
3705 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3706 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
3707 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3708 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
3709 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3710 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3711 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3712 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3713 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3714 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
3715 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3716 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3717 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3718 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
3719 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3720 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3721 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3722 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
3723 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3724 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
3725 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3726 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
3727 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3728 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
3729 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3730 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
3731 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3732 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
3733 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3735 2014-11-19 Roland McGrath <roland@hack.frob.com>
3737 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
3738 the sched_priority value here. It was already checked when the user
3739 called pthread_attr_setschedparam.
3741 * nptl/tst-bad-schedattr.c: New file.
3742 * nptl/Makefile (tests): Add it.
3744 2014-11-19 Carlos O'Donell <carlos@redhat.com>
3745 Florian Weimer <fweimer@redhat.com>
3746 Joseph Myers <joseph@codesourcery.com>
3747 Adam Conrad <adconrad@0c3.net>
3748 Andreas Schwab <schwab@suse.de>
3749 Brooks <bmoses@google.com>
3752 * wordexp-test.c (__dso_handle): Add prototype.
3753 (__register_atfork): Likewise.
3754 (__app_register_atfork): New function.
3755 (registered_forks): New global.
3756 (register_fork): New function.
3757 (test_case): Add 3 new tests for WRDE_CMDSUB.
3758 (main): Call __app_register_atfork.
3759 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
3760 fork count is non-zero fail the test.
3761 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
3763 (parse_dollars): Remove check for WRDE_NOCMD.
3764 (parse_dquote): Likewise.
3766 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3768 * Makeconfig (built-modules): List non-library modules to be
3770 (module-cppflags): Include libc-modules.h for
3771 everything except shlib-versions.v.i.
3773 (before-compile): Add libc-modules.h.
3774 ($(common-objpfx)libc-modules.h,
3775 $(common-objpfx)libc-modules.stmp): New targets.
3776 (common-generated): Add libc-modules.h and libc-modules.stmp.
3777 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
3778 * include/libc-symbols.h: Don't include libc-modules.h.
3779 * include/libc-modules.h: Remove file.
3780 * scripts/gen-libc-modules.awk: New script to generate
3782 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
3783 Depend on libc-modules.stmp.
3785 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
3787 * Makeconfig (in-module): Get value of libof set for the
3789 (CPPFLAGS): Use $(in-module).
3790 * Makerules: Don't suffix routine names for nonlib.
3791 * include/libc-modules.h: New file.
3792 * include/libc-symbols.h: Include libc-modules.h
3793 (IS_IN): New macro to replace IS_IN_* macros.
3794 * elf/Makefile: Set libof-* for each routine.
3795 * elf/rtld-Rules: Likewise.
3796 * extra-modules.mk: Likewise.
3797 * iconv/Makefile: Likewise.
3798 * iconvdata/Makefile: Likewise.
3799 * locale/Makefile: Likewise.
3800 * malloc/Makefile: Likewise.
3801 * nss/Makefile: Likewise.
3802 * sysdeps/gnu/Makefile: Likewise.
3803 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
3804 * sysdeps/unix/sysv/linux/Makefile: Likewise.
3805 * sysdeps/s390/s390-64/Makefile: Likewise.
3806 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
3807 CPPFLAGS for nscd instead of nonlib.
3809 2014-11-18 Roland McGrath <roland@hack.frob.com>
3811 * nptl/createthread.c: New file.
3813 * nptl/createthread.c: Moved ...
3814 * sysdeps/unix/sysv/linux/createthread.c: ... here.
3816 * nptl/createthread.c: Add proper top-line comment.
3817 (do_clone): Folded into ...
3818 (create_thread): ... here. Take new arguments STOPPED_START and
3819 THREAD_RAN. Always set PD->stopped_start to something here. Don't
3820 increment __nptl_threads, do event-reporting logic, do
3821 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
3822 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
3823 resource cleanup if sched_setaffinity or sched_setscheduler fails,
3824 just send SIGCANCEL.
3825 * nptl/pthread_create.c: Forward-declare create_thread before
3826 including createthread.c.
3827 (start_thread): Use new macro START_THREAD_DEFN to replace defining
3828 declaration, and new macro START_THREAD_SELF to replace argument.
3829 Remove return statement.
3830 (report_thread_creation): New function.
3831 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
3832 synchronization logic, and __nptl_nthreads increment here, around
3833 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
3834 PD->parent_cancelhandling here, before create_thread. When
3835 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
3836 __deallocate_stack, and ENOMEM translation here.
3838 2014-11-18 Joseph Myers <joseph@codesourcery.com>
3841 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
3842 (mptwo): Rename to __mptwo.
3843 (__inv): Use __mptwo instead of mptwo.
3844 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
3845 (mptwo): Rename to __mptwo.
3846 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
3847 of mpone and __mptwo instead of mptwo.
3848 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
3850 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3851 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
3852 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
3853 of mpone and __mptwo instead of mptwo.
3854 (__mpranred): Use __mpone instead of mpone.
3855 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
3857 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3858 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3859 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3860 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3861 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3862 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3863 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3864 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3865 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3866 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3867 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3868 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3869 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3870 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3871 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3872 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3873 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3874 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3875 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3877 2014-11-18 Tom de Vries <tom@codesoucery.com>
3879 * manual/signal.texi (Primitives Interrupted by Signals): In section,
3880 replace BSD Handler xref with BSD Signal Handling.
3882 2014-11-17 Richard Henderson <rth@redhat.com>
3884 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
3885 (_FP_PACK_RAW_2): Remove.
3886 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
3887 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
3888 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
3889 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
3890 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
3891 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
3892 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
3893 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
3894 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
3895 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
3896 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
3897 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
3898 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
3899 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
3900 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
3901 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
3903 2014-11-14 Roland McGrath <roland@hack.frob.com>
3905 * signal/signal.h [__USE_MISC]
3906 (struct sigvec): Remove type.
3907 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
3908 (sigvec): Remove declaration.
3909 * sysdeps/posix/sigvec.c: Moved ...
3910 * signal/sigvec.c: ... here, replacing old file.
3911 (struct sigvec): New type, copied from old signal.h definition.
3912 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
3913 (__sigvec): Convert definition to prototype.
3914 (sigvec): Replace weak_alias with compat_symbol.
3915 * signal/Versions (libc: GLIBC_2.21): New version set.
3916 * include/signal.h: Remove __sigvec declaration.
3917 * sysdeps/unix/bsd/sigvec.c: Remove file.
3918 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
3919 * manual/signal.texi (BSD Handler): Remove subsection.
3920 Move siginterrupt up to ...
3921 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
3922 (Blocking in BSD): Fold subsection into its parent.
3923 * NEWS: Mention sigvec removal.
3925 2014-11-14 Joseph Myers <joseph@codesourcery.com>
3927 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
3928 (DLA_FMS): Make definition conditional only on [__FMA4__].
3929 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
3932 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
3933 Make definition conditional only on [PROF].
3934 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
3936 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
3937 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
3939 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
3941 * include/signal.h (__sigpause): Move declaration above call to
3943 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
3945 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3946 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3948 2014-11-14 David S. Miller <davem@davemloft.net>
3950 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
3951 Define before including <string/memcpy.c> and <string/mempcpy.c>.
3953 2014-11-14 Joseph Myers <joseph@codesourcery.com>
3955 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
3956 * configure: Regenerated.
3957 * manual/install.texi (Tools for Compilation): Document a
3958 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
3959 compiler verified to work.
3960 * INSTALL: Regenerated.
3962 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
3963 redeclare with asm name.
3964 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
3965 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
3966 including <string.h>.
3967 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3968 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
3969 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3970 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
3971 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3972 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3973 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3975 2014-11-13 Joseph Myers <joseph@codesourcery.com>
3977 * stdlib/strtol.c (__strtol): Use prototype definition.
3980 * stdlib/strtol.c (SYM__): New macro.
3982 (__strtol): Likewise.
3983 (strtol): Rename to __strtol and define as weak alias of
3984 __strtol. Use libc_hidden_weak.
3986 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3988 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
3989 Use numbered labels in inline assembly.
3991 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3993 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
3994 Add setjmp LIBC_PROBE.
3995 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
3997 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
3998 Add longjmp, longjmp_target LIBC_PROBE.
3999 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
4002 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4004 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4005 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
4006 to get rid of unused variable warning.
4008 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4010 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
4011 Check for unwind_backtrace == NULL only in SHARED case.
4012 (__backchain_backtrace): Compile only in SHARED case.
4013 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
4015 (__backchain_backtrace): Declare as static.
4017 2014-11-12 Roland McGrath <roland@hack.frob.com>
4019 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
4020 (__libc_multiple_threads_ptr): Variable moved ...
4021 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
4023 2014-11-12 Joseph Myers <joseph@codesourcery.com>
4025 * conform/GlibcConform.pm: New file.
4026 * conform/conformtest.pl: Use GlibcConform module.
4027 * conform/linknamespace.pl: New file.
4028 * conform/list-header-symbols.pl: Likewise.
4029 * conform/Makefile (linknamespace-symlists-base): New variable.
4030 (linknamespace-symlists-tests): Likewise.
4031 (linknamespace-header-base): Likewise.
4032 (linknamespace-header-tests): Likewise.
4033 (tests-special): Add new tests.
4034 ($(linknamespace-symlists-tests)): New rule.
4035 (linknamespace-libs): New variable.
4036 ($(objpfx)symlist-stdlibs): New rule.
4037 ($(linknamespace-header-tests)): Likewise.
4038 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
4039 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
4040 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
4041 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
4042 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
4043 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
4044 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
4045 (test-xfail-ISO/math.h/linknamespace): Likewise.
4046 (test-xfail-ISO/signal.h/linknamespace): Likewise.
4047 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
4048 (test-xfail-ISO/time.h/linknamespace): Likewise.
4049 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4050 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
4051 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4052 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4053 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4054 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4055 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4056 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4057 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4058 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4059 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4060 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4061 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4062 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
4063 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
4064 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4065 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
4066 (test-xfail-XPG3/search.h/linknamespace): Likewise.
4067 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
4068 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4069 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
4070 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4071 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4072 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
4073 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4074 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4075 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
4076 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
4077 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4078 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
4079 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4080 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4081 (test-xfail-XPG4/search.h/linknamespace): Likewise.
4082 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4083 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
4084 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
4085 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
4086 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
4087 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4088 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
4089 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4090 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
4091 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4092 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4093 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4094 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
4095 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
4096 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4097 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4098 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
4099 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4100 (test-xfail-POSIX/time.h/linknamespace): Likewise.
4101 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
4102 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4103 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4104 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4105 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4106 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4107 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4108 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4109 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4110 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4111 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
4112 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4113 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4114 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4115 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
4116 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4117 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4118 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
4119 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4120 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4121 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4122 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4123 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4124 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4125 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
4126 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
4127 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4128 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
4129 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4130 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
4131 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4132 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4133 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4134 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
4135 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4136 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4137 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4138 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
4139 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
4140 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
4141 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4142 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4143 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4144 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4145 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
4146 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
4147 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4148 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4149 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4150 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4151 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4152 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4153 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4154 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4155 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4156 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4157 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
4158 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4159 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4160 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
4161 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4162 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4163 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4164 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4165 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4166 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4167 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4168 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4169 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4170 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4171 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4172 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4173 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4174 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4175 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
4176 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4177 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4178 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4179 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4180 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4181 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
4182 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4183 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4184 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4185 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4186 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4187 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4188 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4189 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4190 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4191 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4192 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4193 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4194 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4195 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
4196 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4197 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4198 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4201 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
4205 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
4206 (memmem): Rename to __memmem and define as weak alias of
4207 __memmem. Use libc_hidden_weak.
4208 (__memmem): Use libc_hidden_def.
4209 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
4210 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
4214 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
4215 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
4216 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
4217 and define as weak alias of __fgets_unlocked. Use
4219 (__fgets_unlocked): Use libc_hidden_def.
4220 * include/stdio.h (__fgets_unlocked): Declare. Use
4222 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
4223 __fgets_unlocked instead of fgets_unlocked.
4224 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
4225 (GET_NPROCS_CONF_PARSER): Likewise.
4226 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
4227 (GET_NPROCS_CONF_PARSER): Likewise.
4230 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
4231 weak alias of __wmemset. Use libc_hidden_weak.
4232 (__wmemset): Use libc_hidden_def.
4233 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
4234 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
4238 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
4239 with asm name __mempcpy.
4240 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
4243 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
4244 and define as weak alias of __rawmemchr.
4245 (__rawmemchr): Do not define as strong alias of rawmemchr.
4248 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
4250 (qsort): Call __qsort_r instead of qsort_r.
4251 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
4252 (__qsort_r): Declare. Call libc_hidden_proto.
4253 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
4255 * nscd/gai.c (__qsort_r): Define to qsort_r.
4256 * posix/tst-rfc3484.c (__qsort_r): Likewise.
4257 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
4258 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
4261 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
4262 define as weak alias of __malloc_info.
4265 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
4266 as weak alias of __rewinddir. Don't use libc_hidden_def.
4267 (__rewinddir): Use libc_hidden_def.
4268 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
4269 as weak alias of __rewinddir. Don't use libc_hidden_def.
4270 (__rewinddir): Use libc_hidden_def.
4271 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
4272 weak alias of __rewinddir. Don't use libc_hidden_def.
4273 (__rewinddir): Use libc_hidden_def.
4274 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
4275 (__rewinddir): Use libc_hidden_proto.
4276 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
4278 (__getcwd): Use __rewinddir instead of rewinddir.
4281 * libio/fileno.c (fileno): Rename to __fileno and define as weak
4282 alias of __fileno. Use libc_hidden_weak.
4283 (__fileno): Use libc_hidden_def.
4284 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
4285 * libio/ftello.c (ftello): Rename to __ftello and define as weak
4287 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
4289 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
4290 (__fread_unlocked): Define as strong alias of _IO_fread. Use
4292 (fread_unlocked): Don't use libc_hidden_ver.
4293 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
4294 and define as weak alias of __fread_unlocked. Don't use
4296 (__fread_unlocked): Use libc_hidden_def.
4297 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
4298 (ftello): Don't use libc_hidden_proto.
4299 (__ftello): Declare. Use libc_hidden_proto.
4300 (fread_unlocked): Don't use libc_hidden_proto.
4301 (__fread_unlocked): Declare. Use libc_hidden_proto.
4302 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
4303 and __ftello instead of fileno, fread_unlocked and ftello.
4305 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4307 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
4309 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4311 (_dl_start_user): Likewise.
4312 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
4314 2014-11-12 Carlos O'Donell <carlos@redhat.com>
4315 Siddhesh Poyarekar <siddhesh@redhat.com>
4317 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
4318 Move argv and envp down instead of moving argc up.
4319 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
4321 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
4324 * test-skeleton.c (main): Return successful if one of
4325 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
4326 * string/tst-strcoll-overflow.c: Define expected status.
4328 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
4331 * locale/iso-639.def: Define Bhili and Tulu language codes.
4333 2014-11-11 Alan Hayward <alan.hayward@arm.com>
4335 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
4337 2014-11-10 Renlin Li <Renlin.Li@arm.com>
4340 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
4342 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
4344 * configure.ac: Updated check of minimal required version to
4346 * manual/install.texi (Tools for Compilation): Updated version
4348 * configure: Regenerated.
4349 * INSTALL: Likewise.
4351 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
4353 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
4356 2014-11-07 Joseph Myers <joseph@codesourcery.com>
4358 * include/sys/wait.h (__libc_waitpid): Remove declaration.
4359 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
4360 (__waitpid): Don't define as alias. Use libc_hidden_def not
4362 (waitpid): Define as alias of __waitpid.
4363 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
4365 (__waitpid): Don't define as alias. Use libc_hidden_def not
4367 (waitpid): Define as alias of __waitpid.
4368 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
4369 __libc_waitpid alias.
4370 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
4371 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
4373 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
4374 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
4375 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
4377 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
4379 (__waitpid): Don't define as alias. Use libc_hidden_def not
4381 (waitpid): Define as alias of __waitpid.
4383 2014-11-06 Carlos O'Donell <carlos@redhat.com>
4385 * manual/llio.texi: Add comment that write safety has been
4388 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
4389 (localplt-build-dso): Add elf/ld.so.
4390 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
4391 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
4393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
4394 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
4395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
4397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4399 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
4400 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
4401 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
4402 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
4403 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
4404 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
4405 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
4406 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
4407 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
4408 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
4409 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4411 2014-11-05 Joseph Myers <joseph@codesourcery.com>
4414 * include/libc-symbols.h (INTUSE): Remove macro.
4416 (INTVARDEF): Likewise.
4417 (_INTVARDEF): Likewise.
4418 (INTDEF2): Likewise.
4419 (INTVARDEF2): Likewise.
4420 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
4421 rtld_hidden_def instead of INTVARDEF.
4422 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
4423 (_dl_starting_up_internal): Remove declaration.
4424 (_dl_starting_up): Use rtld_hidden_proto.
4425 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
4427 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
4428 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
4430 * elf/dl-writev.h (_dl_writev): Likewise.
4431 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
4432 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
4433 _dl_starting_up_internal.
4435 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4437 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4440 2014-11-05 Will Newton <will.newton@linaro.org>
4442 * benchtests/Makefile: (bench-malloc): Add malloc thread
4443 scalability benchmark.
4444 * benchtests/bench-malloc-threads.c: New file.
4446 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
4448 * sysdeps/aarch64/strchrnul.S: New file.
4450 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4452 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
4454 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4456 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4458 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4460 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4462 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4465 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
4467 * catgets/test-gencat.c: Use test-skeleton.c.
4468 * catgets/tst-catgets.c: Likewise.
4469 * csu/tst-empty.c: Likewise.
4470 * elf/tst-audit2.c: Likewise.
4471 * elf/tst-global1.c: Likewise.
4472 * elf/tst-pathopt.c: Likewise.
4473 * elf/tst-piemod1.c: Likewise.
4474 * elf/tst-tls10.c: Likewise.
4475 * elf/tst-tls11.c: Likewise.
4476 * elf/tst-tls12.c: Likewise.
4477 * gnulib/tst-gcc.c: Likewise.
4478 * iconvdata/tst-e2big.c: Likewise.
4479 * iconvdata/tst-loading.c: Likewise.
4480 * iconv/tst-iconv1.c: Likewise.
4481 * iconv/tst-iconv2.c: Likewise.
4482 * inet/test-inet6_opt.c: Likewise.
4483 * inet/tst-gethnm.c: Likewise.
4484 * inet/tst-network.c: Likewise.
4485 * inet/tst-ntoa.c: Likewise.
4486 * intl/tst-codeset.c: Likewise.
4487 * intl/tst-gettext2.c: Likewise.
4488 * intl/tst-gettext3.c: Likewise.
4489 * intl/tst-ngettext.c: Likewise.
4490 * intl/tst-translit.c: Likewise.
4491 * io/test-stat.c: Likewise.
4492 * libio/test-fmemopen.c: Likewise.
4493 * libio/tst-freopen.c: Likewise.
4494 * libio/tst-sscanf.c: Likewise.
4495 * libio/tst-ungetwc1.c: Likewise.
4496 * libio/tst-ungetwc2.c: Likewise.
4497 * libio/tst-widetext.c: Likewise.
4498 * localedata/tst-ctype.c: Likewise.
4499 * localedata/tst-digits.c: Likewise.
4500 * localedata/tst-leaks.c: Likewise.
4501 * localedata/tst-mbswcs1.c: Likewise.
4502 * localedata/tst-mbswcs2.c: Likewise.
4503 * localedata/tst-mbswcs3.c: Likewise.
4504 * localedata/tst-mbswcs4.c: Likewise.
4505 * localedata/tst-mbswcs5.c: Likewise.
4506 * localedata/tst-setlocale.c: Likewise.
4507 * localedata/tst-trans.c: Likewise.
4508 * localedata/tst-wctype.c: Likewise.
4509 * localedata/tst-xlocale1.c: Likewise.
4510 * login/tst-grantpt.c: Likewise.
4511 * malloc/tst-calloc.c: Likewise.
4512 * malloc/tst-malloc.c: Likewise.
4513 * malloc/tst-mallocstate.c: Likewise.
4514 * malloc/tst-mcheck.c: Likewise.
4515 * malloc/tst-mtrace.c: Likewise.
4516 * malloc/tst-obstack.c: Likewise.
4517 * math/atest-exp2.c: Likewise.
4518 * math/atest-exp.c: Likewise.
4519 * math/atest-sincos.c: Likewise.
4520 * math/test-matherr.c: Likewise.
4521 * math/test-misc.c: Likewise.
4522 * math/test-powl.c: Likewise.
4523 * math/tst-definitions.c: Likewise.
4524 * misc/tst-dirname.c: Likewise.
4525 * misc/tst-efgcvt.c: Likewise.
4526 * misc/tst-fdset.c: Likewise.
4527 * misc/tst-hsearch.c: Likewise.
4528 * misc/tst-mntent2.c: Likewise.
4529 * nptl/tst-sem7.c: Likewise.
4530 * nptl/tst-sem8.c: Likewise.
4531 * nptl/tst-sem9.c: Likewise.
4532 * nss/test-netdb.c: Likewise.
4533 * posix/tst-fnmatch.c: Likewise.
4534 * posix/tst-getlogin.c: Likewise.
4535 * posix/tst-gnuglob.c: Likewise.
4536 * posix/tst-mmap.c: Likewise.
4537 * pwd/tst-getpw.c: Likewise.
4538 * resolv/tst-inet_ntop.c: Likewise.
4539 * rt/tst-timer.c: Likewise.
4540 * stdio-common/test-fseek.c: Likewise.
4541 * stdio-common/test-popen.c: Likewise.
4542 * stdio-common/test-vfprintf.c: Likewise.
4543 * stdio-common/tst-cookie.c: Likewise.
4544 * stdio-common/tst-fileno.c: Likewise.
4545 * stdio-common/tst-gets.c: Likewise.
4546 * stdio-common/tst-obprintf.c: Likewise.
4547 * stdio-common/tst-perror.c: Likewise.
4548 * stdio-common/tst-sprintf2.c: Likewise.
4549 * stdio-common/tst-sprintf3.c: Likewise.
4550 * stdio-common/tst-sprintf.c: Likewise.
4551 * stdio-common/tst-swprintf.c: Likewise.
4552 * stdio-common/tst-tmpnam.c: Likewise.
4553 * stdio-common/tst-unbputc.c: Likewise.
4554 * stdio-common/tst-wc-printf.c: Likewise.
4555 * stdlib/tst-environ.c: Likewise.
4556 * stdlib/tst-fmtmsg.c: Likewise.
4557 * stdlib/tst-limits.c: Likewise.
4558 * stdlib/tst-rand48-2.c: Likewise.
4559 * stdlib/tst-rand48.c: Likewise.
4560 * stdlib/tst-random2.c: Likewise.
4561 * stdlib/tst-random.c: Likewise.
4562 * stdlib/tst-strtol.c: Likewise.
4563 * stdlib/tst-strtoll.c: Likewise.
4564 * stdlib/tst-tls-atexit.c: Likewise.
4565 * stdlib/tst-xpg-basename.c: Likewise.
4566 * string/test-ffs.c: Likewise.
4567 * string/tst-bswap.c: Likewise.
4568 * string/tst-inlcall.c: Likewise.
4569 * string/tst-strtok.c: Likewise.
4570 * string/tst-strxfrm.c: Likewise.
4571 * sysdeps/x86_64/tst-audit10.c: Likewise.
4572 * sysdeps/x86_64/tst-audit3.c: Likewise.
4573 * sysdeps/x86_64/tst-audit4.c: Likewise.
4574 * sysdeps/x86_64/tst-audit5.c: Likewise.
4575 * time/tst-ftime_l.c: Likewise.
4576 * time/tst-getdate.c: Likewise.
4577 * time/tst-mktime3.c: Likewise.
4578 * time/tst-mktime.c: Likewise.
4579 * time/tst-posixtz.c: Likewise.
4580 * time/tst-strptime2.c: Likewise.
4581 * time/tst-strptime3.c: Likewise.
4582 * wcsmbs/tst-btowc.c: Likewise.
4583 * wcsmbs/tst-mbrtowc.c: Likewise.
4584 * wcsmbs/tst-mbsrtowcs.c: Likewise.
4585 * wcsmbs/tst-wchar-h.c: Likewise.
4586 * wcsmbs/tst-wcpncpy.c: Likewise.
4587 * wcsmbs/tst-wcrtomb.c: Likewise.
4588 * wcsmbs/tst-wcsnlen.c: Likewise.
4589 * wcsmbs/tst-wcstof.c: Likewise.
4591 2014-11-04 Joseph Myers <joseph@codesourcery.com>
4594 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
4596 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
4598 (_dl_mcount): Use rtld_hidden_proto.
4599 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
4601 * elf/rtld.c (_rtld_global_ro): Likewise.
4604 * elf/dl-init.c (_dl_init): Don't use INTDEF.
4605 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
4606 of _dl_init_internal.
4607 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
4608 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
4609 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
4610 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
4611 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
4612 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
4613 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
4614 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
4615 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
4616 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
4617 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
4618 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
4619 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4620 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4621 * sysdeps/tile/dl-start.S (_start): Likewise.
4622 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
4623 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
4626 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
4627 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
4628 (rtld_progname): Make macro definition unconditional.
4629 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
4631 (dlmopen_doit): Do not use INTUSE with _dl_argv.
4632 (dl_main): Likewise.
4633 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4634 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
4635 instead of _dl_argv_internal.
4636 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4637 __GI__dl_argv instead of INTUSE(_dl_argv).
4638 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
4639 __GI__dl_argv instead of _dl_argv_internal.
4641 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
4642 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
4644 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
4645 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
4647 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
4648 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
4650 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
4651 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
4653 2014-11-04 Andreas Schwab <schwab@suse.de>
4655 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
4657 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4659 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
4660 mtvsrd instruction in binary form.
4662 2014-11-03 Andreas Schwab <schwab@suse.de>
4665 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
4666 for less than MB_LEN_MAX use a local buffer of that size.
4667 * libio/tst-fputws.c: New file.
4668 * libio/Makefile (tests): Add tst-fputws.
4670 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
4672 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
4673 the size of the fpu_fr.fpu_dregs[] array.
4675 2014-11-01 Joseph Myers <joseph@codesourcery.com>
4677 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
4678 (__nanosleep): Do not define as alias.
4679 (nanosleep): Define as alias of __nanosleep.
4680 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
4681 __libc_nanosleep name.
4683 2014-10-31 Joseph Myers <joseph@codesourcery.com>
4685 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
4686 install.texi in comment.
4688 2014-10-31 Torvald Riegel <triegel@redhat.com>
4690 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
4691 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
4692 ... add here and use lwsync or sync ...
4693 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
4694 ... and add here using lwsync.
4696 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
4698 * elf/dl-machine-reject-phdr.h: New file.
4699 * elf/dl-load.c: #include that.
4700 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
4701 if that returned true.
4703 2014-10-31 Roland McGrath <roland@hack.frob.com>
4706 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
4707 gen-as-const-headers chunk. Add a big scare comment after the last
4708 safe place to touch before-compile.
4710 2014-10-31 Joseph Myers <joseph@codesourcery.com>
4712 * manual/install.texi (Tools for Compilation): Update autoconf
4713 version requirements.
4714 * INSTALL: Regenerated.
4716 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
4717 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
4718 (__libc_pselect): Likewise.
4721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
4722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4726 2014-10-31 Torvald Riegel <triegel@redhat.com>
4728 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
4729 correct barrier instruction.
4730 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
4732 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
4735 2014-10-30 Roland McGrath <roland@hack.frob.com>
4737 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
4738 after defining inlines. Instead, just use parens to defeat macro
4739 expansion of __isctype in its declaration.
4741 2014-10-30 Joseph Myers <joseph@codesourcery.com>
4743 * include/sys/uio.h (__libc_readv): Remove declaration.
4744 (__libc_writev): Likewise.
4745 * misc/readv.c (__libc_readv): Rename to __readv.
4746 (__readv): Do not define as alias.
4747 (readv): Define as alias of __readv.
4748 * misc/writev.c (__libc_writev): Rename to __writev.
4749 (__writev): Do not define as alias.
4750 (writev): Define as alias of __writev.
4751 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
4752 (__readv): Do not define as alias.
4753 (readv): Define unconditionally as alias of __readv.
4754 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
4755 (__writev): Do not define as alias.
4756 (writev): Define unconditionally as alias of __writev.
4757 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
4759 (writev): Do not define __libc_writev name.
4761 2014-10-30 Roland McGrath <roland@hack.frob.com>
4763 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
4764 (convert_charseq): New function, broken out of ...
4765 (use_from_charmap): ... here. Call it.
4766 (use_to_charmap): Use convert_charseq and free instead of duplicating
4767 its code with a variable-length stack struct.
4769 2014-10-30 Joseph Myers <joseph@codesourcery.com>
4771 * include/fcntl.h (__libc_creat): Remove declaration.
4772 * io/creat.c (__libc_creat): Rename to creat.
4773 (creat): Do not define as alias.
4774 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
4775 of creat instead of __libc_creat.
4776 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
4778 (creat): Do not define as alias.
4779 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
4781 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
4783 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
4786 2014-10-29 Carlos O'Donell <carlos@redhat.com>
4788 * manual/llio.texi: Add comments discussing why write() may be
4789 considered MT-unsafe on Linux.
4791 2014-10-28 Carlos O'Donell <carlos@redhat.com>
4793 * dl-load.c (local_strdup): Remove.
4794 (expand_dynamic_string_token): Use __strdup.
4795 (decompose_rpath): Likewise.
4796 (_dl_map_object): Likewise.
4798 2014-10-28 Joseph Myers <joseph@codesourcery.com>
4801 * sysdeps/generic/unwind-dw2-fde.c
4802 (__register_frame_info_bases_internal): Do not declare.
4803 (__register_frame_info_table_bases_internal): Likewise.
4804 (__deregister_frame_info_bases_internal): Likewise.
4805 (__register_frame_info_bases): Declare and use hidden_proto before
4806 definition. Use hidden_def instead of INTDEF.
4807 (__register_frame_info_table_bases): Likewise.
4808 (__deregister_frame_info_bases): Likewise.
4809 (__register_frame_info): Do not use INTUSE.
4810 (__register_frame): Likewise.
4811 (__register_frame_info_table): Likewise.
4812 (__register_frame_table): Likewise.
4813 (__deregister_frame_info): Likewise.
4814 (__deregister_frame): Likewise.
4816 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
4818 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4819 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
4821 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
4823 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
4826 2014-10-27 Joseph Myers <joseph@codesourcery.com>
4829 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
4830 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
4831 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
4832 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
4833 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
4834 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
4835 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
4836 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
4837 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
4838 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
4839 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
4840 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
4841 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
4843 (setfsuid): Likewise.
4844 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
4845 (setfsuid): Likewise.
4846 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
4847 (setfsuid): Likewise.
4848 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
4850 (setfsuid): Likewise.
4851 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
4852 (setfsuid): Likewise.
4853 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
4855 (setfsuid): Likewise.
4857 2014-10-27 Andreas Schwab <schwab@suse.de>
4860 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
4861 check for Slow_SSE4_2 feature bit.
4862 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
4863 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4864 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
4865 Likewise. Fix check for Fast_Unaligned_Load feature bit.
4867 2014-10-24 Roland McGrath <roland@hack.frob.com>
4869 * configure.ac: Validate compiler version with a empirical test of
4870 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
4872 * configure: Regenerated.
4874 * inet/htons.c (htons): Prototypify.
4875 * inet/htonl.c (htonl): Likewise.
4877 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4879 * string/strncat.c (strncat): Improve performance by using strlen.
4881 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4883 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
4885 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4887 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
4888 Call libc_fetestexcept_aarch64.
4890 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4892 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
4893 Call libc_feholdexcept_aarch64.
4895 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4897 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
4898 Call get_rounding_mode.
4900 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4902 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4905 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4907 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
4910 2014-10-24 Joseph Myers <joseph@codesourcery.com>
4913 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
4914 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
4915 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
4916 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
4917 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
4918 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
4919 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
4920 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
4921 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
4922 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
4923 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4924 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4925 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4926 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
4927 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
4928 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
4929 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
4930 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
4931 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
4932 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
4933 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
4934 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
4935 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
4936 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
4937 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
4938 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
4939 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
4940 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
4941 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
4942 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
4943 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
4944 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
4945 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
4946 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
4947 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
4948 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
4949 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
4950 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
4951 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
4952 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
4953 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
4955 (geteuid): Likewise.
4958 (getresgid): Likewise.
4959 (getresuid): Likewise.
4960 (getgroups): Likewise.
4961 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
4962 (geteuid): Likewise.
4965 (getresgid): Likewise.
4966 (getresuid): Likewise.
4967 (getgroups): Likewise.
4968 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
4969 (geteuid): Likewise.
4972 (getresgid): Likewise.
4973 (getresuid): Likewise.
4974 (getgroups): Likewise.
4975 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
4977 (geteuid): Likewise.
4980 (getresgid): Likewise.
4981 (getresuid): Likewise.
4982 (getgroups): Likewise.
4983 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
4984 (geteuid): Likewise.
4987 (getresgid): Likewise.
4988 (getresuid): Likewise.
4989 (getgroups): Likewise.
4990 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
4992 (geteuid): Likewise.
4995 (getgroups): Likewise.
4998 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
4999 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
5000 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5001 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5002 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
5003 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
5004 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
5005 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
5006 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
5007 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
5008 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
5009 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
5010 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
5012 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
5015 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
5019 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
5022 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
5027 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5029 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
5032 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5034 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5037 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5039 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5040 Remove unused include.
5042 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5044 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
5045 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
5046 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
5047 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
5049 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
5050 Helge Deller <deller@gmx.de>
5053 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
5054 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
5055 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
5057 2014-10-23 Joseph Myers <joseph@codesourcery.com>
5060 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
5061 Remove macro definition.
5062 (__ashrdi3_v_glibc20): Likewise.
5063 (__lshrdi3_v_glibc20): Likewise.
5064 (__cmpdi2_v_glibc20): Likewise.
5065 (__ucmpdi2_v_glibc20): Likewise.
5066 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
5067 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5068 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5069 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5070 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5071 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
5073 2014-10-22 Roland McGrath <roland@hack.frob.com>
5075 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
5076 old GNU extension [0] syntax.
5077 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
5078 alloca rather than an array member with variable length.
5079 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
5080 * nscd/nscd.c (invalidate_db): New function, broken out of ...
5081 (parse_opt): ... here. Likewise use alloca there.
5082 Validate the -i argument before checking for rootness.
5083 (send_shutdown): New function, broken out of ...
5084 (parse_opt): ... here.
5086 2014-10-22 Roland McGrath <roland@hack.frob.com>
5088 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
5089 macro to get at the _rt_local_ro field.
5090 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
5091 ([PIC] case) or _dl_hwcap ([!PIC] case).
5092 * sysdeps/arm/setjmp.S: Likewise.
5094 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
5095 * sysdeps/arm/configure.ac: New check to define it.
5096 * sysdeps/arm/configure: Regenerated.
5097 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
5098 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
5099 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
5100 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
5101 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
5102 Use move/movt pair instead of a load.
5103 (LDST_GLOBAL): Macro removed.
5104 (LDR_GLOBAL): New macro replaces it.
5105 (LDR_HIDDEN): New macro.
5106 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
5107 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
5109 * setjmp/tst-setjmp-static.c: New file.
5110 * setjmp/Makefile (tests): Add it.
5111 (tests-static): New variable.
5113 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
5116 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
5118 2014-10-21 Joseph Myers <joseph@codesourcery.com>
5121 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
5123 2014-10-21 Roland McGrath <roland@hack.frob.com>
5125 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
5127 2014-10-20 Roland McGrath <roland@hack.frob.com>
5129 * io/fts.c (dirent_not_directory): New function.
5130 (fts_build): Call it.
5132 2014-10-20 Roland McGrath <roland@hack.frob.com>
5134 * nptl/version.c (__nptl_main): Use normal __write rather than
5136 (banner): Update copyright years.
5138 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
5140 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5141 * nptl/pthread_cond_timedwait.c: Likewise.
5142 * nptl/pthread_mutex_timedlock.c: Likewise.
5143 * nptl/sem_timedwait.c: Likewise.
5145 * sysdeps/nptl/bits/libc-lock.h
5146 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5147 (__libc_lock_init_recursive): Return void, not 0.
5148 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
5149 (__libc_rwlock_init): Likewise.
5150 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
5152 2014-10-20 Torvald Riegel <triegel@redhat.com>
5155 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
5156 (__pthread_once_slow): ... here.
5157 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
5158 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
5160 2014-10-20 Torvald Riegel <triegel@redhat.com>
5163 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
5164 __PTHREAD_ONCE_FORK_GEN_INCR): New.
5165 * sysdeps/nptl/fork.c (__libc_fork): Use them.
5166 * nptl/pthread_once.c (__pthread_once): Likewise.
5169 2014-10-20 Joseph Myers <joseph@codesourcery.com>
5172 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
5174 (writev): Use __libc_writev as strong name.
5175 * sysdeps/unix/sysv/linux/readv.c: Remove file.
5176 * sysdeps/unix/sysv/linux/writev.c: Likewise.
5178 2014-10-17 Roland McGrath <roland@hack.frob.com>
5180 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
5182 * sysdeps/i386/nptl/tls.h
5183 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
5184 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
5186 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
5187 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
5188 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
5189 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
5190 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
5191 Call CHECK_THREAD_SYSINFO instead of doing an assert.
5193 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5194 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
5196 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
5198 (__pthread_mutex_init): ... here. Call it.
5199 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
5200 Conditionalize PI cases on [__NR_futex].
5201 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5202 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5203 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5205 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
5206 conditional on [SIGSETXID].
5207 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
5208 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
5209 is defined. Likewise for SIGSETXID.
5210 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
5211 Conditionalize definitions on [SIGSETXID].
5212 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
5213 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
5214 unblocking on [SIGCANCEL].
5216 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
5217 [__NR_set_robust_list].
5219 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5221 * string/strcoll_l.c (get_next_seq): Fix up formatting.
5222 (do_compare): Likewise.
5224 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
5227 * string/strcoll_l.c: Don't include stdio.h.
5228 (coll_seq): Remove members idxarr and rulearr.
5229 (get_next_seq_cached): Remove function.
5230 (get_next_seq): Likewise.
5231 (get_next_seq_nocache): Rename to get_next_seq.
5232 (do_compare): Remove function.
5233 (do_compare_nocache): Rename to do_compare.
5234 (STRCOLL): Remove weight and rules cache.
5236 2014-10-16 Roland McGrath <roland@hack.frob.com>
5238 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
5239 * sysdeps/arm/sfp-machine.h: ... to here.
5240 * sysdeps/arm/Implies: Remove arm/soft-fp.
5242 2014-10-14 Joseph Myers <joseph@codesourcery.com>
5244 * conform/data/sys/utsname.h-data (*_t): Allow.
5245 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
5246 [POSIX] (WEXITED): Do not expect constant.
5247 [POSIX] (WSTOPPED): Likewise.
5248 [POSIX] (WNOHANG): Likewise.
5249 [POSIX] (WNOWAIT): Likewise.
5250 [POSIX] (siginfo_t): Do not expect type or elements.
5251 [POSIX] (pid_t): Do not expect type.
5252 [POSIX] (signal.h): Do not allow header.
5253 [POSIX] (sys/resource.h): Likewise.
5254 [POSIX] (si_*): Do not allow pattern.
5255 [POSIX] (W*): Likewise.
5256 [POSIX] (P_*): Likewise.
5257 [POSIX] (BUS_*): Likewise.
5258 [POSIX] (CLD_*): Likewise.
5259 [POSIX] (FPE_*): Likewise.
5260 [POSIX] (ILL_*): Likewise.
5261 [POSIX] (POLL_*): Likewise.
5262 [POSIX] (SEGV_*): Likewise.
5263 [POSIX] (SI_*): Likewise.
5264 [POSIX] (TRAP_*): Likewise.
5265 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
5268 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
5271 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
5272 infinite loop when __recvmsg returns 0.
5274 2014-10-10 Joseph Myers <joseph@codesourcery.com>
5276 * CANCEL-FCT-WAIVE: Remove file.
5277 * CANCEL-FILE-WAIVE: Likewise.
5280 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
5281 instead of INTVARDEF.
5282 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5283 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
5284 rtld_hidden_data_def instead of INTVARDEF.
5285 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5286 * elf/dl-deps.c (expand_dst): Likewise.
5287 * elf/dl-load.c (_dl_dst_count): Likewise.
5288 (_dl_dst_substitute): Likewise.
5289 (decompose_rpath): Likewise.
5290 (_dl_init_paths): Likewise.
5291 (open_path): Likewise.
5292 (_dl_map_object): Likewise.
5293 * elf/rtld.c (dl_main): Likewise.
5294 (process_dl_audit): Likewise.
5295 (process_envvars): Likewise.
5296 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
5298 (__libc_enable_secure): Use rtld_hidden_proto.
5300 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5303 (add_path): New function broken out of _dl_rtld_di_serinfo.
5304 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
5306 2014-10-09 Joseph Myers <joseph@codesourcery.com>
5308 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
5309 parentheses around macro arguments.
5310 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
5311 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
5312 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
5313 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
5314 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
5315 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5316 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5317 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
5318 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
5319 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
5320 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
5321 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
5322 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
5323 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
5324 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
5325 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
5326 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
5327 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
5328 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
5329 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
5330 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
5331 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
5332 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
5333 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5334 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5335 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
5336 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
5337 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
5338 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
5339 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
5340 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
5341 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
5342 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
5343 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
5344 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
5345 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
5347 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
5348 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5349 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5350 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
5351 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
5352 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
5353 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
5354 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
5355 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
5356 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
5357 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
5358 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
5359 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
5360 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
5361 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
5362 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5363 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5364 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
5365 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
5366 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
5367 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
5368 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
5369 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
5370 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
5371 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
5372 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
5373 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
5374 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
5375 (_FP_FRAC_SRS_1): Likewise.
5376 (_FP_FRAC_CLZ_1): Likewise.
5377 (_FP_MUL_MEAT_1_imm): Likewise.
5378 (_FP_MUL_MEAT_1_wide): Likewise.
5379 (_FP_MUL_MEAT_1_hard): Likewise.
5380 (_FP_SQRT_MEAT_1): Likewise.
5381 (_FP_FRAC_ASSEMBLE_1): Likewise.
5382 (_FP_FRAC_DISASSEMBLE_1): Likewise.
5383 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
5384 (__FP_CLZ_2): Likewise.
5385 (_FP_MUL_MEAT_2_wide): Likewise.
5386 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5387 (_FP_MUL_MEAT_2_gmp): Likewise.
5388 (_FP_MUL_MEAT_2_120_240_double): Likewise.
5389 (_FP_SQRT_MEAT_2): Likewise.
5390 (_FP_FRAC_ASSEMBLE_2): Likewise.
5391 (_FP_FRAC_DISASSEMBLE_2): Likewise.
5392 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
5393 (_FP_FRAC_CLZ_4): Likewise.
5394 (_FP_MUL_MEAT_4_wide): Likewise.
5395 (_FP_MUL_MEAT_4_gmp): Likewise.
5396 (_FP_SQRT_MEAT_4): Likewise.
5397 (_FP_FRAC_ASSEMBLE_4): Likewise.
5398 (_FP_FRAC_DISASSEMBLE_4): Likewise.
5399 * soft-fp/op-common.h (_FP_CMP): Likewise.
5400 (_FP_CMP_EQ): Likewise.
5401 (_FP_CMP_UNORD): Likewise.
5402 (_FP_TO_INT): Likewise.
5403 (_FP_FROM_INT): Likewise.
5404 [!__FP_CLZ] (__FP_CLZ): Likewise.
5405 (_FP_DIV_HELP_imm): Likewise.
5406 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
5408 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
5409 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
5410 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
5411 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
5412 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
5413 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5414 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5415 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
5416 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
5417 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
5418 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
5419 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
5420 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
5421 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
5422 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
5423 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
5424 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
5425 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
5426 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
5427 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
5428 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
5429 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
5430 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
5431 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5432 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5433 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
5434 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
5435 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
5436 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
5437 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
5438 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
5439 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
5440 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
5441 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
5442 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
5443 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
5444 (FP_UNPACK_RAW_SP): Likewise.
5445 (FP_PACK_RAW_S): Likewise.
5446 (FP_PACK_RAW_SP): Likewise.
5447 (FP_UNPACK_S): Likewise.
5448 (FP_UNPACK_SP): Likewise.
5449 (FP_UNPACK_SEMIRAW_S): Likewise.
5450 (FP_UNPACK_SEMIRAW_SP): Likewise.
5451 (FP_PACK_S): Likewise.
5452 (FP_PACK_SP): Likewise.
5453 (FP_PACK_SEMIRAW_S): Likewise.
5454 (FP_PACK_SEMIRAW_SP): Likewise.
5455 (_FP_SQRT_MEAT_S): Likewise.
5456 (FP_CMP_S): Likewise.
5457 (FP_CMP_EQ_S): Likewise.
5458 (FP_CMP_UNORD_S): Likewise.
5459 (FP_TO_INT_S): Likewise.
5460 (FP_FROM_INT_S): Likewise.
5462 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
5464 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
5465 (FP_EX_INVALID_IMZ): Likewise.
5466 (FP_EX_INVALID_IMZ_FMA): Likewise.
5467 (FP_EX_INVALID_ISI): Likewise.
5468 (FP_EX_INVALID_ZDZ): Likewise.
5469 (FP_EX_INVALID_IDI): Likewise.
5470 (FP_EX_INVALID_SQRT): Likewise.
5471 (FP_EX_INVALID_CVI): Likewise.
5472 (FP_EX_INVALID_VC): Likewise.
5473 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
5474 "invalid" exceptions.
5475 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
5476 (_FP_ADD_INTERNAL): Likewise.
5477 (_FP_MUL): Likewise.
5478 (_FP_FMA): Likewise.
5479 (_FP_DIV): Likewise.
5480 (_FP_CMP_CHECK_NAN): Likewise.
5481 (_FP_SQRT): Likewise.
5482 (_FP_TO_INT): Likewise.
5483 (FP_EXTEND): Likewise.
5485 2014-10-09 Allan McRae <allan@archlinux.org>
5487 * po/fr.po: Update French translation from translation project.
5489 2014-10-09 Joseph Myers <joseph@codesourcery.com>
5492 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
5494 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
5495 (__cxa_atexit): Use libc_hidden_proto.
5496 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
5499 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
5501 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
5502 [!_ISOMAC] (__iswspace_l_internal): Likewise.
5503 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
5504 [!_ISOMAC] (__iswctype_internal): Likewise.
5505 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
5506 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
5508 (fcntl): Remove __fcntl_internal alias.
5509 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
5510 __connect_internal alias.
5511 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
5514 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
5515 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
5517 (_FP_CHECK_FLUSH_ZERO): New macro.
5518 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
5519 (_FP_CMP): Likewise.
5520 (_FP_CMP_EQ): Likewise.
5521 (_FP_TO_INT): Do not set inexact for subnormal arguments if
5523 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
5524 (FP_TRUNC): Likewise.
5526 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
5527 treated as invalid conversion, not as normal exponent.
5529 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
5530 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
5531 (_FP_CMP_EQ): Likewise.
5532 (_FP_CMP_UNORD): Likewise.
5533 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
5534 (FP_CMP_EQ_D): Likewise.
5535 (FP_CMP_UNORD_D): Likewise.
5536 * soft-fp/extended.h (FP_CMP_E): Likewise.
5537 (FP_CMP_EQ_E): Likewise.
5538 (FP_CMP_UNORD_E): Likewise.
5539 * soft-fp/quad.h (FP_CMP_Q): Likewise.
5540 (FP_CMP_EQ_Q): Likewise.
5541 (FP_CMP_UNORD_Q): Likewise.
5542 * soft-fp/single.h (FP_CMP_S): Likewise.
5543 (FP_CMP_EQ_S): Likewise.
5544 (FP_CMP_UNORD_S): Likewise.
5545 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
5546 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
5547 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
5548 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
5549 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
5550 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
5551 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
5552 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
5553 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
5554 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
5555 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
5556 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
5557 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
5559 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
5561 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
5562 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
5564 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
5566 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
5567 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
5568 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
5569 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
5571 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
5573 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
5574 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
5576 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
5578 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
5579 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
5580 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
5581 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
5584 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
5585 a subnormal result, set the underflow exception if trapping on
5586 underflow is enabled.
5587 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
5588 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
5589 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
5591 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
5592 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5593 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5594 * soft-fp/extendxftf2.c (__extendxftf2): Use
5595 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
5597 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
5598 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
5599 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5600 FP_HANDLE_EXCEPTIONS.
5601 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
5602 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5603 FP_HANDLE_EXCEPTIONS.
5604 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
5605 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5606 FP_HANDLE_EXCEPTIONS.
5607 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
5608 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5609 FP_HANDLE_EXCEPTIONS.
5611 2014-10-08 Joseph Myers <joseph@codesourcery.com>
5614 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
5615 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
5617 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
5618 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
5620 (__adjtimex): Define using libc_hidden_ver.
5621 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
5623 (ntp_gettime): Call __adjtimex directly.
5624 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
5626 (ntp_gettimex): Call __adjtimex directly.
5627 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
5628 __adjtimex_internal alias.
5630 2014-10-08 Roland McGrath <roland@hack.frob.com>
5633 * nscd/nscd.c (more_help): Rewrite list of tables collection
5634 using xstrdup and asprintf.
5636 * nscd/nscd_conf.c: Remove local xstrdup declaration.
5638 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5639 Roland McGrath <roland@hack.frob.com>
5641 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
5642 (do_lookup_unique): ... local function 'enter' here; update callers.
5644 2014-10-06 Joseph Myers <joseph@codesourcery.com>
5646 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
5647 compat_symbol calls on [SHARED].
5648 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
5649 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
5651 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5652 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
5653 (oldsetrlimit): Remove.
5654 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5656 (lchown): New syscall entry.
5657 (oldsetrlimit): Remove.
5658 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5659 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
5660 (oldsetrlimit): Remove.
5661 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5664 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
5665 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
5666 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
5667 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
5668 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5669 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
5671 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
5673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
5676 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5678 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
5679 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
5680 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
5681 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
5682 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
5684 (__old_sem_post): Likewise.
5686 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
5688 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
5689 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
5690 HAVE_CLOCK_GETTIME_VSYSCALL macros.
5691 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
5692 Use INLINE_VSYSCALL macro.
5693 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
5694 __vdso_clock_gettime.
5695 * sysdeps/unix/sysv/linux/tile/init-first.c
5696 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
5697 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
5698 __vdso_clock_gettime.
5700 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
5701 to set up frame more cleanly.
5703 * sysdeps/tile/memcmp.c: New file.
5705 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
5707 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
5708 * sysdeps/tile/tilegx/strcasestr.c: New file.
5709 * sysdeps/tile/tilegx/strnlen.c: New file.
5710 * sysdeps/tile/tilegx/strstr.c: New file.
5712 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
5714 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
5716 * nptl/tst-setuid3.c: Write errors to stdout.
5718 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5721 (preload): New functions broken out of _dl_map_object_deps.
5722 (_dl_map_object_deps): Remove a nested function. Update call sites.
5724 2014-10-01 Joseph Myers <joseph@codesourcery.com>
5727 * sysdeps/unix/sysv/linux/execve.c: Remove file.
5728 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
5730 2014-10-01 Steve Ellcey <sellcey@mips.com>
5732 * sysdeps/mips/strcmp.S: New.
5734 2014-09-30 Joseph Myers <joseph@codesourcery.com>
5737 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
5739 (mkdirat): Likewise.
5740 (readlinkat): Likewise.
5741 (renameat): Likewise.
5742 (symlinkat): Likewise.
5743 (unlinkat): Likewise.
5744 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
5745 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
5746 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
5747 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
5748 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
5749 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
5750 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
5752 2014-09-30 Will Newton <will.newton@linaro.org>
5754 * math/math.h: Define long double math functions if
5755 _LIBC_TEST is defined.
5756 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
5758 * localedata/Makefile: Move assignment to tests-special
5759 into an ifdef testing run-built-tests.
5760 * timezone/Makefile: Likewise.
5762 2014-09-29 Joseph Myers <joseph@codesourcery.com>
5764 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
5765 with $(BASH) not $(SHELL).
5767 2014-09-29 Carlos O'Donell <carlos@redhat.com>
5768 Matthew LeGendre <legendre1@llnl.gov>
5771 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
5774 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5776 * stdio-common/printf_fp.c
5777 (hack_digit): New function, broken out of ...
5778 (__printf_fp): ... local function here. Update call sites.
5779 hack_digit now takes an additional parameter that is a pointer
5780 to a struct of the referenced locals. Those locals moved inside
5781 the struct and references updated.
5783 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
5785 * aclocal.m4: Require autoconf 2.69.
5786 * configure: Regenerated.
5787 * sysdeps/aarch64/configure: Likewise.
5788 * sysdeps/alpha/configure: Likewise.
5789 * sysdeps/arm/armv7/configure: Likewise.
5790 * sysdeps/arm/configure: Likewise.
5791 * sysdeps/ia64/configure: Likewise.
5792 * sysdeps/mach/configure: Likewise.
5793 * sysdeps/mips/configure: Likewise.
5794 * sysdeps/s390/configure: Likewise.
5795 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
5796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
5798 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
5800 * sysdeps/ia64/configure.ac: Likewise.
5802 2014-09-26 Joseph Myers <joseph@codesourcery.com>
5804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
5805 specify symbol version for ld.so. Do not include entry for
5807 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5808 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5809 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5812 * Makeconfig [$(build-shared) = yes]
5813 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
5815 [$(build-shared) = yes && $(soversions.mk-done) = t]
5816 ($(common-objpfx)gnu/lib-names.h): Remove rule.
5817 [$(build-shared) = yes && $(soversions.mk-done) = t]
5818 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
5820 [$(build-shared) = yes && $(soversions.mk-done) = t]
5821 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
5823 [$(build-shared) = yes && $(soversions.mk-done) = t]
5824 (common-generated): Don't append gnu/lib-names.h and
5825 gnu/lib-names.stmp here.
5826 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
5827 (lib-names-h-abi): New variable.
5828 [$(build-shared) = yes && $(soversions.mk-done) = t]
5829 (lib-names-stmp-abi): Likewise.
5830 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5831 abi-variants] (before-compile): Append
5832 $(common-objpfx)$(lib-names-h-abi).
5833 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5834 abi-variants] (common-generated): Append gnu/lib-names.h.
5835 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5836 abi-variants] (install-others-nosubdir): Depend on
5837 $(inst_includedir)/$(lib-names-h-abi).
5838 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5839 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
5840 [$(build-shared) = yes && $(soversions.mk-done) = t]
5841 ($(common-objpfx)$(lib-names-h-abi)): New rule.
5842 [$(build-shared) = yes && $(soversions.mk-done) = t]
5843 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
5844 [$(build-shared) = yes && $(soversions.mk-done) = t]
5845 (common-generated): Append $(lib-names-h-abi) and
5846 $(lib-names-stmp-abi).
5847 * scripts/lib-names.awk: Do not handle multi being set.
5848 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
5850 (abi-lp64_be-ld-soname): Likewise.
5851 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
5853 (abi-hard-ld-soname): Likewise.
5854 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
5855 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
5857 (abi-o32_hard-ld-soname): Likewise.
5858 (abi-o32_soft_2008-ld-soname): Likewise.
5859 (abi-o32_hard_2008-ld-soname): Likewise.
5860 (abi-n32_soft-ld-soname): Likewise.
5861 (abi-n32_hard-ld-soname): Likewise.
5862 (abi-n32_soft_2008-ld-soname): Likewise.
5863 (abi-n32_hard_2008-ld-soname): Likewise.
5864 (abi-n64_soft-ld-soname): Likewise.
5865 (abi-n64_hard-ld-soname): Likewise.
5866 (abi-n64_soft_2008-ld-soname): Likewise.
5867 (abi-n64_hard_2008-ld-soname): Likewise.
5868 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
5870 (abi-64-v2-ld-soname): Likewise.
5871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
5873 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
5875 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
5877 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
5879 (abi-64-ld-soname): Likewise.
5880 (abi-x32-ld-soname): Likewise.
5881 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
5883 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5885 2014-09-23 Joseph Myers <joseph@codesourcery.com>
5888 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
5889 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5890 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
5891 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
5892 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
5893 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
5894 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
5895 syscall entry for GLIBC_2.2 symbol version.
5896 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
5898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5899 (setrlimit): Likewise.
5900 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
5903 2014-09-23 Will Newton <will.newton@linaro.org>
5905 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
5906 _LINUX_ARM_SYSDEP_H include guard too.
5907 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
5910 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5912 * sysdeps/unix/sysv/linux/eventfd.c:
5913 Make first argument unsigned.
5914 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
5915 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
5917 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
5919 * socket/recvmmsg.c (recvmmsg): Drop const argument.
5920 * socket/sys/socket.h: Likewise
5921 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
5923 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5925 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
5927 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
5929 * time/tst-ftime.c: New test.
5930 * time/Makefile (tests): Add tst-ftime.
5932 2014-09-17 Joseph Myers <joseph@codesourcery.com>
5934 * soft-fp/extended.h: Fix comment formatting.
5935 * soft-fp/op-1.h: Likewise.
5936 * soft-fp/op-2.h: Likewise.
5937 * soft-fp/op-4.h: Likewise.
5938 * soft-fp/op-8.h: Likewise.
5939 * soft-fp/op-common.h: Likewise.
5940 * soft-fp/soft-fp.h: Likewise.
5942 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
5944 2014-09-16 Joseph Myers <joseph@codesourcery.com>
5947 * Makeconfig (soversions-default-setname): Remove variable.
5948 ($(common-objpfx)soversions.i): Don't pass default_setname to
5950 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
5951 oldest_abi to abi-versions.awk.
5952 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
5953 * config.make.in (oldest-abi): Remove variable.
5954 * configure.ac (--enable-oldest-abi): Remove configure option.
5955 * configure: Regenerated.
5956 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
5958 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
5959 * scripts/soversions.awk: Do not handle default_setname variable.
5960 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
5962 * sysdeps/mach/hurd/configure: Regenerated.
5963 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
5965 * sysdeps/unix/sysv/linux/configure: Regenerated.
5967 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5969 * elf/Makefile (CFLAGS-interp.c): Remove.
5970 ($(elf-objpfx)runtime-linker.h): Generate header with linker
5972 * elf/interp.c: Include generated runtime-linker.h
5974 * Makerules (lib%.so): Don't include $(+interp) in
5976 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
5977 * dlfcn/eval.c: Remove file.
5979 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
5983 * misc/sys/cdefs.h: Define __extern_always_inline for clang
5987 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
5989 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5990 Jakub Jelinek <jakub@redhat.com>
5993 * libio/stdio.h: Check definition of __fortify_function
5994 instead of __extern_always_inline to include bits/stdio2.h.
5995 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
5996 check if __extern_always_inline is defined.
5997 [__USE_MISC || __USE_XOPEN]: Likewise.
5998 [__USE_ISOC99] Likewise.
5999 * misc/sys/cdefs.h (__fortify_function): Define only if
6000 __extern_always_inline is defined.
6001 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
6002 __extern_always_inline and __extern_inline only for g++-4.3
6003 and newer or a compatible gcc.
6005 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
6008 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6009 last change to handle zero prefix length.
6011 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6013 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
6016 * posix/getconf.c (vars): Add _POSIX_IPV6 and
6019 2014-09-13 Allan McRae <allan@archlinux.org>
6021 * po/ru.po: Update Russian translation from translation project.
6023 2014-09-12 Roland McGrath <roland@hack.frob.com>
6025 * locale/programs/locale.c (show_locale_vars): Inline local function
6026 into its sole call site. Clean up some style nits.
6027 (print_item): New function, broken out of ...
6028 (show_info): ... local function here. Clean up style nits.
6030 * locale/programs/ld-ctype.c (set_one_default): New function, broken
6032 (set_class_defaults): ... local function set_default here.
6033 Define set_default as a macro locally to pass constant parameters.
6034 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
6035 rather than a shared local.
6037 * stdlib/rpmatch.c (try): New function, broken out of ...
6038 (rpmatch): ... local function here. Also, prototypify definition.
6040 2014-09-12 Joseph Myers <joseph@codesourcery.com>
6042 * scripts/soversions.awk: Do not handle configuration names.
6043 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
6044 vendor and os variables to soversions.awk.
6045 * configure.ac: Do not modify gnu-* host_os.
6046 * configure: Regenerated
6047 * shlib-versions: Remove first column with configuration names.
6048 * nptl/shlib-versions: Likewise.
6049 * nptl_db/shlib-versions: Likewise.
6050 * sysdeps/hppa/shlib-versions: Likewise.
6051 * sysdeps/m68k/shlib-versions: Likewise.
6052 * sysdeps/mach/hurd/shlib-versions: Likewise.
6053 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
6054 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
6055 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
6056 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
6057 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
6058 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
6059 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
6060 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
6061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6063 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6064 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6065 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6066 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6067 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6068 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
6069 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6070 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6073 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
6074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6076 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
6077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6078 Condition symbol version definitions on [HAVE_ELFV2_ABI].
6080 * shlib-versions: Remove OS-specific entries. Moved to files in
6082 * sysdeps/mach/hurd/shlib-versions: New file.
6083 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6085 * nptl/shlib-versions: Remove architecture-specific entries.
6086 Moved to files in sysdeps.
6087 * shlib-versions: Likewise.
6088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
6090 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6091 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6092 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6093 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6095 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
6096 (UDP_NO_CHECK6_RX): Likewise.
6098 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6100 * sysdeps/posix/sysconf.c (__sysconf): Spell
6101 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
6103 2014-08-12 Florian Weimer <fweimer@redhat.com>
6105 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
6107 * iconv/Versions (__gconv_transliterate): Export for use from
6109 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
6110 (struct __gconv_trans_data, __gconv_trans_fct,
6111 __gconv_trans_context_fct, __gconv_trans_query_fct,
6112 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
6114 (struct __gconv_step_data): Remove __trans member.
6115 (__gconv_transliterate): Declaration moved from gconv_int.h. No
6116 longer hidden. Remove unused trans_data argument.
6117 * iconv/gconv_int.h (struct trans_struct): Remove definition.
6118 (__gconv_translit_find): Remove declaration.
6119 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
6121 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
6122 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
6123 trans_data argument. Add hidden definition.
6124 (__gconv_translit_find): Remove.
6125 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
6126 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
6127 * iconv/skeleton.c: Remove transliteration initialization.
6128 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
6129 __gconv_step_data initialization.
6130 * libio/iofwide.c (__libio_translit_): Remove.
6131 (_IO_fwide): Adjust struct __gconv_step_data initialization.
6132 * wcsmbs/btowc.c (__btowc): Likewise.
6133 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6134 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6135 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6136 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6137 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
6138 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6139 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6140 * wcsmbs/wctob.c (wctob): Likewise.
6142 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6145 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
6146 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
6148 * sysdeps/x86/Makefile: Adjust.
6150 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6151 Roland McGrath <roland@hack.frob.com>
6153 * locale/weight.h: Add include guard.
6154 (findidx): Make static rather than auto; take new parameters
6155 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
6156 * locale/weightwc.h: Likewise.
6157 * posix/fnmatch_loop.c
6158 (FCT): Change type of EXTRA from int32_t to wint_t.
6159 Don't include either header inside the function.
6160 Call FINDIDX rather than findidx, and pass new arguments.
6161 #undef FINDIDX at the end of the file.
6162 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
6163 FINDIDX before including fnmatch_loop.c for the non-wide version.
6164 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
6165 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
6166 for the wide version.
6167 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
6168 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
6169 Pass new arguments to findidx.
6170 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
6171 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
6172 Don't #include it inside the function. Pass new arguments to findidx.
6173 * posix/regex_internal.h
6174 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
6175 (re_string_elem_size_at): Don't #include it inside the function.
6176 Pass new arguments to findidx.
6177 * string/strcoll_l.c: #include WEIGHT_H at top level.
6178 (get_next_seq): Don't #include it inside the function.
6179 Pass new arguments to findidx.
6180 (get_next_seq_nocache): Likewise.
6181 * string/strxfrm_l.c: #include WEIGHT_H at top level.
6182 (STRXFRM): Don't #include it inside the function.
6183 Pass new arguments to findidx.
6185 2014-09-11 Florian Weimer <fweimer@redhat.com>
6188 * malloc/malloc.c (unlink): Turn asserts into a call to
6191 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
6194 * libio/wfileops (do_ftell_wide): Free OUT.
6196 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
6198 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
6200 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6203 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
6204 group if the current group is empty.
6206 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6208 * benchtests/bench-memset.c (test_main): Add more test from size
6209 from 32 to 512 bytes.
6210 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6211 Add POWER8 memset object.
6212 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6213 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
6214 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
6216 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
6218 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
6219 multiarch POWER8 memset optimization.
6220 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
6221 POWER8 memset optimization.
6223 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6224 Remove bzero multiarch objects.
6225 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
6226 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
6227 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
6228 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
6230 [__bzero]: Redefine to specific name.
6231 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6232 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6233 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
6235 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6236 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6238 2014-09-10 Florian Weimer <fweimer@redhat.com>
6240 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
6241 warnings into errors.
6243 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
6244 __cxa_thread_atexit_impl prototype.
6246 2014-09-09 Steve Ellcey <sellcey@mips.com>
6248 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
6249 Fix capitalization of error message.
6251 2014-09-09 Steve Ellcey <sellcey@mips.com>
6253 * sysdeps/mips/preconfigure: Modify ABI tests.
6255 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
6257 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
6259 2014-09-07 Roland McGrath <roland@hack.frob.com>
6260 Carlos O'Donell <carlos@systemhalted.org>
6262 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
6263 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
6264 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
6265 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
6266 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
6267 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
6268 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
6269 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
6270 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
6271 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
6272 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
6273 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
6274 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
6275 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
6276 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
6277 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
6278 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
6279 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
6280 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
6281 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
6282 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
6283 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
6284 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
6285 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
6286 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
6287 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
6288 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
6289 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
6290 Deconditionalize the code that was previously under [RESET_PID].
6291 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
6292 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
6293 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
6294 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
6297 2014-09-08 Allan McRae <allan@archlinux.org>
6299 * version.h (RELEASE): Set to "development".
6300 (VERSION): Set to "2.20.90"
6302 2014-09-07 Allan McRae <allan@archlinux.org
6304 * version.h (RELEASE): Set to "stable".
6305 (VERSION): Set to "2.20"
6306 * include/features.h (__GLIBC_MINOR__): Set to 20.
6308 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
6311 * po/ko.po: Update Korean translation from translation project.
6313 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
6316 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
6317 macro for handling signed relocations.
6319 2014-09-03 Florian Weimer <fweimer@redhat.com>
6322 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
6323 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
6325 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
6326 * iconvdata/ibm935.c (BODY): Likewise.
6327 * iconvdata/ibm937.c (BODY): Likewise.
6328 * iconvdata/ibm939.c (BODY): Likewise.
6329 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
6331 * iconvdata/Makefile (iconv-test.out): Pass module list to test
6333 * iconvdata/run-iconv-test.sh: New test loop for checking for
6336 2014-09-02 Khem Raj <raj.khem@gmail.com>
6338 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
6341 2014-09-01 Allan McRae <allan@archlinux.org>
6343 * po/eo.po: Update Esperanto translation from translation project.
6345 * po/ca.po: Update Catalan translation from translation project.
6347 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6349 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
6352 2014-08-27 Mark Wielaard <mjw@redhat.com>
6355 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
6356 to call set_thread_area instead of hand written asm.
6357 (__NR_set_thread_area): Removed define.
6358 (TLS_FLAG_WRITABLE): Likewise.
6359 (__ASSUME_SET_THREAD_AREA): Remove check.
6360 (TLS_EBX_ARG): Remove define.
6361 (TLS_LOAD_EBX): Likewise.
6363 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6365 Simplify atomicity of socket creation in bind.
6367 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
6368 looking up the name after linking the file.
6370 2014-08-27 Allan McRae <allan@archlinux.org>
6372 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6374 2014-08-26 Florian Weimer <fweimer@redhat.com>
6377 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
6378 trans_compare, open_translit, __gconv_translit_find):
6379 Remove module loading code.
6381 2014-08-26 Allan McRae <allan@archlinux.org>
6383 * po/vi.po: Update Vietnamese translation from translation project.
6385 * po/uk.po: Update Ukrainian translation from translation project.
6387 * po/fr.po: Update French translation from translation project.
6389 * po/ru.po: Update Russian translation from translation project.
6391 * po/pl.po: Update Polish translation from translation project.
6393 * po/cs.po: Update Czech translation from translation project.
6395 * po/de.po: Update German translation from translation project.
6397 * po/bg.po: Update Bulgarian translation from translation project.
6399 * po/sv.po: Update Sweedish translation from translation project.
6401 * po/nl.po: Update Dutch translation from translation project.
6403 * po/es.po: Update Spanish translation from translation project.
6405 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6407 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
6409 * catgets/Makefile (CPPFLAGS-gencat): Remove.
6410 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
6411 (CPPFLAGS-iconvconfig): Likewise.
6412 * timezone/Makefile (CPPFLAGS-zic): Likewise.
6414 * include/libc-symbols.h: Remove unnecessary check for
6416 * nptl/pthreadP.h: Likewise.
6417 * sysdeps/aarch64/setjmp.S: Likewise.
6418 * sysdeps/alpha/setjmp.S: Likewise.
6419 * sysdeps/arm/sysdep.h: Likewise.
6420 * sysdeps/i386/setjmp.S: Likewise.
6421 * sysdeps/m68k/setjmp.c: Likewise.
6422 * sysdeps/posix/getcwd.c: Likewise.
6423 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6424 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6425 * sysdeps/s390/s390-32/setjmp.S: Likewise.
6426 * sysdeps/s390/s390-64/setjmp.S: Likewise.
6427 * sysdeps/sh/sh3/setjmp.S: Likewise.
6428 * sysdeps/sh/sh4/setjmp.S: Likewise.
6429 * sysdeps/unix/alpha/sysdep.h: Likewise.
6430 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6431 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6432 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6433 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6436 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6437 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6438 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6439 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6440 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6441 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6442 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6443 * sysdeps/x86_64/setjmp.S: Likewise.
6445 2014-08-13 Joseph Myers <joseph@codesourcery.com>
6448 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
6450 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
6451 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
6453 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6455 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
6458 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
6459 and __x86_64__ when disabling x87 inline functions.
6461 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
6464 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
6465 asm statement with __cpuid_count.
6467 2014-08-12 Mike Frysinger <vapier@gentoo.org>
6469 * configure.ac: Change __ehdr_start code to dereference the struct.
6470 Run readelf on the output to look for relocations.
6471 * configure: Regenerated.
6473 2014-08-12 Joseph Myers <joseph@codesourcery.com>
6476 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
6478 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
6480 2014-08-12 Roland McGrath <roland@hack.frob.com>
6482 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
6484 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
6487 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
6488 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
6490 2014-08-12 Sean Anderson <seanga2@gmail.com>
6492 * malloc/malloc.c: Fix typo in comment.
6494 2014-08-09 Allan McRae <allan@archlinux.org>
6496 * Regenerate libc.po.
6498 2014-08-08 Mike Frysinger <vapier@gentoo.org>
6500 * intl/tst-gettext2.sh: Check every lang file for creation.
6502 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
6504 * sysdeps/aarch64/fpu/math_private.h
6505 (libc_feholdsetround_noex_aarch64_ctx): New function.
6507 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
6509 * sysdeps/arm/armv6/strcpy.S (strcpy):
6510 Fix performance issue in misaligned cases.
6512 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6514 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
6515 Move definition from termios.h.
6516 (struct termio): Likewise.
6517 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6518 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6519 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6520 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6522 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
6523 Move definition to ioctl-types.h
6524 (struct termio): Likewise.
6525 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6526 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6527 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6528 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6531 2014-08-05 Richard Henderson <rth@redhat.com>
6533 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
6535 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
6537 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6538 Use __feraiseexcept.
6539 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
6540 Protect libm symbols with IS_IN_libm.
6542 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
6544 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
6546 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
6548 2014-08-04 Will Newton <will.newton@linaro.org>
6550 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
6553 2014-08-04 Mike Frysinger <vapier@gentoo.org>
6555 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
6556 variants for each function.
6558 2014-08-04 Roland McGrath <roland@hack.frob.com>
6560 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
6562 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
6563 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
6565 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
6566 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
6567 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
6568 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
6569 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
6570 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
6571 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
6572 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
6573 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
6574 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
6575 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
6576 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
6577 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
6578 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
6579 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
6580 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
6581 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
6582 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
6583 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
6584 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
6585 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
6586 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
6587 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
6588 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
6589 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
6590 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
6591 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
6592 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
6593 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
6594 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
6595 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
6596 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
6597 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
6598 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
6599 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
6600 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
6601 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
6602 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
6603 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
6604 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
6605 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
6606 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
6607 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
6608 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
6609 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
6610 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
6611 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
6612 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
6613 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
6614 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
6615 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
6616 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
6617 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
6619 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
6620 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
6622 2014-08-04 Roland McGrath <roland@hack.frob.com>
6624 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
6625 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
6626 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
6627 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
6628 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
6629 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
6631 2014-08-04 Roland McGrath <roland@hack.frob.com>
6633 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
6634 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
6635 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6636 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
6638 2014-08-04 Roland McGrath <roland@hack.frob.com>
6640 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
6641 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
6642 (__libc_vfork): Define function under this name.
6643 (__vfork): Define as an alias.
6644 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
6645 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
6647 2014-08-04 Roland McGrath <roland@hack.frob.com>
6649 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
6650 that was previously under [RESET_PID].
6651 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
6653 2014-08-04 Andreas Schwab <schwab@suse.de>
6655 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
6657 2014-08-03 Mike Frysinger <vapier@gentoo.org>
6659 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
6662 2014-08-01 Roland McGrath <roland@hack.frob.com>
6664 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
6666 2014-08-01 Richard Henderon <rth@redhat.com>
6668 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
6669 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
6670 typo in exact zero test.
6671 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6672 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6673 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6675 2014-08-01 Roland McGrath <roland@hack.frob.com>
6677 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
6678 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
6679 * sysdeps/arm/sysdep.h: ... here.
6680 [!__ASSEMBLER__]: Include <stdint.h>.
6682 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6684 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
6685 (HAVE_WCTYPE_H): Likewise.
6686 (HAVE_ISWCTYPE): Likewise.
6687 (ENABLE_NLS): Likewise.
6688 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
6689 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
6691 * posix/regex_internal.c: Check if DEBUG is defined and is
6694 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
6695 (HAVE_MBSRTOWCS): Likewise.
6696 * posix/fnmatch.c: Include string.h unconditionally.
6698 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
6700 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
6703 2014-07-31 Roland McGrath <roland@hack.frob.com>
6705 * sysdeps/generic/safe-fatal.h: New file.
6706 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
6707 * nptl/forward.c: Include it.
6708 (__pthread_unwind): Use __safe_fatal as default action, rather
6709 than a bogus use of INTERNAL_SYSCALL that could never work.
6711 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
6712 * configure.ac (libc_cv_builtin_trap): New test.
6713 * configure: Regenerated.
6714 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
6715 (ABORT_INSTRUCTION): Define using __builtin_trap.
6717 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
6718 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
6719 * sysdeps/nptl/nptl-signals.h: New file.
6720 * nptl/pthreadP.h: Include <nptl-signals.h>.
6722 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6724 * sysdeps/s390/s390-64/utf16-utf32-z9.c
6725 (ONE_DIRECTION): Define.
6726 * sysdeps/s390/s390-64/utf8-utf16-z9.c
6727 (ONE_DIRECTION): Define.
6728 * sysdeps/s390/s390-64/utf8-utf32-z9.c
6729 (ONE_DIRECTION): Define.
6731 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6733 * sysdeps/s390/Makefile: Delete file.
6734 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
6735 * sysdeps/s390/__longjmp.c: Delete file.
6736 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
6737 Remove fields __flags and __reserved.
6738 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
6740 * sysdeps/s390/rtld-__longjmp.c: Delete file.
6741 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
6742 * sysdeps/s390/rtld-setjmp.S: Likewise.
6743 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
6744 * sysdeps/s390/s390-32/__longjmp.c: ... here.
6745 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
6746 * sysdeps/s390/s390-32/setjmp.S: ... here.
6748 (__sigsetjmp): Remove setting __flags field.
6749 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
6750 * sysdeps/s390/s390-64/__longjmp.c: ... here.
6751 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
6752 * sysdeps/s390/s390-64/setjmp.S: ... here.
6754 (__sigsetjmp): Remove setting __flags field.
6755 * sysdeps/s390/setjmp.S: Delete file.
6756 * sysdeps/s390/sigjmp.c: Likewise.
6757 * sysdeps/s390/v1-longjmp.c: Likewise.
6758 * sysdeps/s390/v1-setjmp.h: Likewise.
6759 * sysdeps/s390/v1-sigjmp.c: Likewise.
6760 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
6761 Remove v1-longjmp_chk.
6762 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
6763 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
6764 Include debug/longjmp_chk.c and add versioning.
6765 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
6766 Include nptl/pt-longjmp.c and add versioning.
6767 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
6768 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
6769 Include __longjmp.c.
6770 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6772 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
6773 (__getcontext): Remove setting __flags field.
6775 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6776 Don't restore upper high grps.
6777 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
6779 (__swapcontext): Remove setting uc_flags field.
6780 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
6782 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6783 Include __longjmp.c.
6784 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6786 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
6787 (__getcontext): Remove setting __flags field.
6789 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
6790 (__swapcontext): Remove setting uc_flags field.
6791 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
6792 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
6793 Remove fields uc_high_gprs and __reserved.
6794 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
6795 New file with reverted content.
6796 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
6797 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
6799 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
6802 2014-07-31 Andreas Schwab <schwab@suse.de>
6804 * config.h.in (HAVE_IFUNC): Define to 0.
6805 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
6808 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
6810 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6811 memmove-avx-unaligned, memcpy-avx-unaligned and
6812 mempcpy-avx-unaligned.
6813 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6814 Add tests for AVX memcpy functions.
6815 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
6816 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
6818 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
6819 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
6821 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
6822 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
6824 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
6825 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
6826 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
6828 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6831 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
6834 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
6837 * manual/llio.texi: Add section about open file description locks.
6838 * manual/examples/ofdlocks.c: Example of open file description
6840 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
6841 F_OFD_SETLK, and F_OFD_SETLKW.
6843 2014-07-23 Allan McRae <allan@archlinux.org>
6845 * po/es.po: Update Spanish translation from translation project.
6847 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
6849 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
6851 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
6854 * sysdeps/arm/dl-machine.h (elf_machine_rela)
6855 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
6856 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
6858 2014-07-17 Joseph Myers <joseph@codesourcery.com>
6861 * math/fesetenv.c (__fesetenv)
6862 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
6863 * math/feupdateenv.c (__feupdateenv)
6864 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
6866 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
6867 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6868 (__ASSUME_SOCKETCALL): Do not define.
6870 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
6871 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
6872 (__ASSUME_SOCKETCALL): Do not define.
6873 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
6874 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6875 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6876 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6877 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6878 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
6879 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6880 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6882 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
6883 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
6884 (__ASSUME_SOCKETCALL): Do not define.
6885 (__ASSUME_IPC64): Define unconditionally.
6886 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6887 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6888 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6889 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6890 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
6891 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6892 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
6895 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
6896 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
6897 (__ASSUME_SOCKETCALL): Do not define.
6898 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
6899 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6900 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6901 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6902 (__ASSUME_REQUEUE_PI): Define unconditionally.
6903 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
6904 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6905 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6906 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
6907 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6908 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6910 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
6911 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
6912 (__ASSUME_SOCKETCALL): Do not define.
6913 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
6914 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6915 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6916 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
6917 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6918 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6920 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
6921 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
6922 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6923 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
6924 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6925 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
6926 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6927 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
6928 (__ASSUME_GETCPU_SYSCALL): Likewise.
6930 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
6931 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
6932 cases for individual architectures.
6933 * sysdeps/gnu/configure: Regenerated.
6934 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
6935 LIBC_SLIBDIR_RTLDDIR.
6936 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
6937 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
6938 LIBC_SLIBDIR_RTLDDIR.
6939 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
6940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
6941 LIBC_SLIBDIR_RTLDDIR.
6942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6944 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
6945 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
6947 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
6948 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
6950 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
6951 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
6952 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
6953 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
6955 * sysdeps/aarch64/shlib-versions: Move to ...
6956 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
6957 * sysdeps/alpha/shlib-versions: Move to ...
6958 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
6959 * sysdeps/arm/shlib-versions: Move to ...
6960 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
6961 * sysdeps/hppa/shlib-versions: Move all contents except for
6962 libgcc_s entry to ...
6963 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
6965 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
6966 * sysdeps/ia64/shlib-versions: Move to ...
6967 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
6969 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
6970 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
6971 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
6972 * sysdeps/microblaze/shlib-versions: Move to ...
6973 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
6974 * sysdeps/mips/shlib-versions: Move to ...
6975 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
6977 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
6978 * sysdeps/tile/shlib-versions: Move to ...
6979 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
6980 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
6982 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
6983 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
6985 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
6987 2014-07-17 Will Newton <will.newton@linaro.org>
6989 * sysdeps/arm/bits/atomic.h
6990 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
6991 (__arch_compare_and_exchange_bool_16_int): Likewise.
6992 (__arch_compare_and_exchange_bool_64_int): Likewise.
6994 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
6995 into an #else block.
6997 2014-07-16 Roland McGrath <roland@hack.frob.com>
6999 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
7000 just Linux configurations. Test empirically that the compiler sets
7001 __ARM_EABI__, rather than using the tuple to decide.
7002 * sysdeps/arm/preconfigure: Regenerated.
7003 * sysdeps/unix/sysv/linux/arm/configure: File removed.
7004 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
7005 contents appended ...
7006 * sysdeps/arm/configure.ac: ... here.
7007 * sysdeps/arm/configure: Regenerated.
7009 2014-07-15 Roland McGrath <roland@hack.frob.com>
7011 * nptl/pthread_kill.c: New file.
7012 * nptl/pthread_sigmask.c: New file.
7013 * nptl/pthread_sigqueue.c: New file.
7015 * sysdeps/nptl/lowlevellock.h: New file.
7016 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
7017 * sysdeps/nptl/lowlevellock-futex.h: New file.
7019 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
7020 Remove dead declarations.
7022 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
7024 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
7025 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
7027 * sysdeps/x86_64/configure.ac: Likewise.
7028 * sysdeps/i386/configure: Regenerated.
7029 * sysdeps/x86_64/configure: Likewise.
7030 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7031 memset-avx2 only if config-cflags-avx2 is yes.
7032 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7033 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
7035 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
7036 only if HAVE_AVX2_SUPPORT is defined.
7037 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7039 2014-07-14 Alan Modra <amodra@gmail.com>
7042 * elf/elf.h (DT_PPC64_NUM): Correct value.
7043 * NEWS: Add to fixed bug list.
7045 2014-07-13 Jim Meyering <meyering@fb.com>
7048 regex: don't deref NULL upon heap allocation failure
7049 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
7050 failure in one more place.
7051 To trigger the segfault, configure grep -with-included-regex,
7052 build it, and run these commands:
7053 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
7055 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
7057 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7059 2014-07-11 Richard Henderson <rth@redhat.com>
7061 * sysdeps/aarch64/libm-test-ulps: Update.
7063 2014-07-10 Florian Weimer <fweimer@redhat.com>
7066 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
7067 * nptl/allocatestack.c (__nptl_setxid_error): New function.
7068 (__nptl_setxid): Initialize error member. Call
7069 __nptl_setxid_error.
7070 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
7071 * nptl/descr.h (struct xid_command): Add error member.
7072 * nptl/tst-setuid3.c: New file.
7073 * nptl/Makefile (tests): Add it.
7075 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7077 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
7079 (__lll_trylock): Use __lll_base_trylock.
7080 (__lll_cond_trylock): Likewise.
7082 2014-07-10 Roland McGrath <roland@hack.frob.com>
7084 * nptl/pthread_create.c (start_thread): Use atomic_or and
7085 lll_futex_wake directly rather than lll_robust_dead.
7086 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7087 (lll_robust_dead): Macro removed.
7088 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
7089 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7090 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7091 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7092 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7093 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7094 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7095 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7096 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7097 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7098 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7099 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7100 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7101 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7102 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7104 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7105 Use atomic_compare_and_exchange_val_acq directly rather than
7107 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7108 (__lll_robust_trylock, lll_robust_trylock): Removed.
7109 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7110 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7111 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7112 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7113 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7114 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7115 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7116 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7117 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7118 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7119 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7120 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7121 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7122 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7124 2014-07-02 Florian Weimer <fweimer@redhat.com>
7126 * manual/locale.texi (Locale Names): New section documenting
7127 locale name syntax. Adjust menu and node chaining accordingly.
7128 (Choosing Locale): Reference Locale Names, Locale Categories.
7129 Mention setting LC_ALL=C. Reflect that name syntax is now
7131 (Locale Categories): New section title. Reference Locale Names.
7132 LC_ALL is an environment variable, but not a category.
7133 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
7134 description, now in Locale Name. Reference that section. Locale
7135 name syntax is now documented.
7137 2014-07-02 Florian Weimer <fweimer@redhat.com>
7140 * locale/findlocale.c (name_present, valid_locale_name): New
7142 (_nl_find_locale): Use the loc_name variable to store name
7143 candidates. Call name_present and valid_locale_name to check and
7144 validate locale names. Return an error if the locale is invalid.
7146 2014-07-02 Florian Weimer <fweimer@redhat.com>
7148 * locale/setlocale.c (setlocale): Use strdup for allocating
7149 composite name copy.
7151 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7153 Sync up with gnulib.
7154 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
7155 [!_LIBC && ENABLE_NLS]: Include gettext.h.
7156 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
7157 and _GL_ARG_NONNULL.
7158 [USE_UNLOCKED_IO]: Include unlocked-io.h.
7159 [!_LIBC]: Include code for Windows and Cygwin.
7160 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
7161 Include prototype for int strerror_r.
7162 [!_LIBC] (is_open): New function.
7163 (flush_stdout): New function.
7164 (print_errno_message): Use it.
7166 (error_at_line): Likewise.
7167 (error_tail) Add function attribute macros. Use
7170 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
7172 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
7174 * io/ftw.c: Include sys/param.h unconditionally.
7176 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
7179 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
7181 (freecache): New function to free CACHE on exit.
7183 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
7186 2014-07-09 David S. Miller <davem@davemloft.net>
7188 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7190 * sysdeps/sparc/nptl/internaltypes.h: Delete.
7191 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
7192 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
7193 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
7194 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
7195 * sysdeps/sparc/nptl/sem_init.c: Likewise.
7196 * sysdeps/sparc/nptl/sem_post.c: Likewise.
7197 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
7198 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
7199 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
7200 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
7201 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
7202 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
7204 2014-07-09 Andreas Schwab <schwab@suse.de>
7206 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
7208 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
7209 (do_test): Likewise.
7211 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7213 2014-07-09 Will Newton <will.newton@linaro.org>
7215 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
7216 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
7217 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7218 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7219 * sysdeps/hppa/start.S (_start): Likewise.
7221 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7223 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
7225 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
7228 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7230 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
7231 after checking that it is non-NULL.
7233 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
7235 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7237 * sysdeps/powerpc/memmove.c: Remove file.
7238 * sysdeps/powerpc/powerpc32/power4/memcopy.h
7239 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
7240 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7241 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
7242 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
7243 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
7244 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
7245 string memmove instead of removed powerpc one.
7247 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7248 [weak_alias]: Fix compiler warning due trailing data.
7249 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
7250 [weak_alias]: Likewise.
7251 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
7252 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
7254 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7255 (__libc_ifunc_impl_list): Add memmove functions.
7257 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7259 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
7261 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
7263 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
7265 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
7267 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
7269 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
7271 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
7273 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
7275 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
7277 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
7279 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
7281 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
7283 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
7285 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
7287 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
7289 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
7291 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
7294 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7296 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
7297 to avoid alignment traps in non-cacheable memory.
7298 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7300 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
7302 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
7303 file: multiarch power7 memmove.
7304 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
7305 multiarch default memmove.
7306 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
7307 multiarch memove for powerpc32/power4.
7309 * string/bcopy.c: Use full path to include memmove.c.
7310 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
7312 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
7313 bcopy for powerpc64.
7314 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
7315 bcopy for powerpc64.
7316 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
7317 and memmove implementations.
7318 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
7319 optimized multiarch memmove for POWER7/powerpc64.
7320 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
7321 default multiarch memmove for powerpc64.
7322 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
7323 multiarch for powerpc64.
7324 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
7325 for POWER7/powerpc64.
7326 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
7327 memmove for POWER7/powerpc64.
7329 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
7332 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
7333 __ELF_NATIVE_CLASS equal to 64.
7335 2014-07-07 Roland McGrath <roland@hack.frob.com>
7337 * sysdeps/nptl/lowlevellock.h: File removed.
7339 * NEWS: NPTL is no longer an add-on!
7340 * nptl/internaltypes.h: Moved ...
7341 * sysdeps/nptl/internaltypes.h: ... here.
7342 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
7343 * sysdeps/nptl/fork.c: Likewise.
7344 * sysdeps/nptl/gai_misc.h: Likewise.
7345 * sysdeps/nptl/librt-cancellation.c: Likewise.
7346 * sysdeps/nptl/jmp-unwind.c: Likewise.
7347 * sysdeps/nptl/setxid.h: Likewise.
7348 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
7349 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
7350 * sysdeps/unix/sysv/linux/arm/Implies: New file.
7351 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
7352 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
7353 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
7354 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
7355 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
7356 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
7357 * sysdeps/unix/sysv/linux/mips/Implies: New file.
7358 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
7359 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
7360 * sysdeps/unix/sysv/linux/sh/Implies: New file.
7361 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
7362 * sysdeps/unix/sysv/linux/tile/Implies: New file.
7363 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
7364 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
7365 * nptl/Makeconfig: Moved ...
7366 * sysdeps/nptl/Makeconfig: ... here.
7367 * nptl/configure: File removed.
7368 * nptl/ANNOUNCE: File removed.
7369 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
7370 * sysdeps/unix/sysv/linux/configure: Regenerated.
7372 * nptl/Makefile (routines): Add libc_pthread_init,
7373 libc_multiple_threads, register-atfork and unregister-atfork.
7374 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
7375 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
7376 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
7377 pthread-pi-defines.sym, structsem.sym.
7378 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
7379 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
7380 [$(subdir) = nptl] (tests): Add tst-setgetname.
7381 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
7382 * sysdeps/unix/sysv/linux/sigaction.c: Just include
7383 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
7384 [!LIBC_SIGACTION]: Remove aliases.
7385 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7386 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7387 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7388 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
7389 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7390 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
7391 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7392 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7393 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7394 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
7395 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
7396 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
7397 __libc_allocate_rtsig_private.
7398 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
7399 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
7400 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
7401 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
7402 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
7403 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
7404 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
7405 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
7406 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
7407 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
7408 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
7409 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
7410 * nptl/internaltypes.h: ... here.
7411 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
7412 * sysdeps/nptl/jmp-unwind.c: ... here.
7413 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
7414 * nptl/libc-lowlevellock.c: ... here.
7415 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
7416 * nptl/libc_multiple_threads.c: ... here.
7417 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
7418 * nptl/libc_pthread_init.c: ... here.
7419 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
7420 * nptl/lowlevelbarrier.sym: ... here.
7421 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
7422 * nptl/lowlevelcond.sym: ... here.
7423 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
7424 * nptl/lowlevellock.c: ... here.
7425 * nptl/lowlevellock.h: Moved ...
7426 * sysdeps/nptl/lowlevellock.h: ... here.
7427 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
7428 * nptl/lowlevelrobustlock.c: ... here.
7429 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
7430 * nptl/lowlevelrobustlock.sym: ... here.
7431 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
7432 * nptl/lowlevelrwlock.sym: ... here.
7433 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
7434 * nptl/pt-fork.c: ... here.
7435 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
7436 * nptl/pthread-pi-defines.sym: ... here.
7437 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
7438 * nptl/pthread_attr_getaffinity.c: ... here.
7439 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
7440 * nptl/pthread_attr_setaffinity.c: ... here.
7441 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
7442 * nptl/pthread_mutex_cond_lock.c: ... here.
7443 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7445 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
7446 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
7447 * nptl/pthread_once.c: ... here, replacing old file.
7448 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
7449 * nptl/pthread_yield.c: ... here.
7450 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
7451 * nptl/register-atfork.c: ... here.
7452 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
7453 * nptl/sem_post.c: ... here.
7454 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
7455 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
7456 * nptl/sem_timedwait.c: ... here.
7457 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
7458 * nptl/sem_trywait.c: ... here.
7459 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
7460 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
7461 * nptl/sem_wait.c: ... here.
7462 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
7463 * nptl/structsem.sym: ... here.
7464 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
7465 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
7466 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
7467 * nptl/unregister-atfork.c: ... here.
7468 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
7469 * nptl/unwindbuf.sym: ... here.
7470 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
7471 * sysdeps/nptl/fork.c: ... here.
7472 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
7473 * sysdeps/nptl/fork.h: ... here.
7474 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
7475 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
7476 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
7477 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
7478 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
7479 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
7480 * sysdeps/unix/sysv/linux/getpid.c: ... here.
7481 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
7482 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
7483 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
7484 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
7485 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
7486 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
7487 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
7488 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
7489 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
7490 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
7491 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
7492 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
7493 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
7494 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
7495 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
7496 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
7497 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
7498 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
7499 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
7500 * sysdeps/unix/sysv/linux/raise.c: ... here.
7501 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
7502 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
7503 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
7504 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
7505 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
7506 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
7507 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
7508 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
7509 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
7510 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
7511 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
7512 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
7513 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
7514 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
7515 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
7517 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7519 * sysdeps/generic/memcopy.h: Add comment for
7520 MEMCPY_OK_FOR_FWD_MEMMOVE.
7522 2014-07-04 Will Newton <will.newton@linaro.org>
7524 * string/memchr.c: Merge from gnulib.
7525 [_LIBC]: Remove conditionals.
7526 (__ptr_t): Remove define.
7527 (LONG_MAX_32_BITS): Likewise.
7528 (LONG_MAX): Likewise.
7529 (MEMCHR): Use ANSI prototype and optimize algorithm.
7531 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
7533 2014-07-03 Roland McGrath <roland@hack.frob.com>
7535 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
7536 (lll_futex_timed_wait_bitset): Fix syscall argument count.
7538 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
7539 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
7540 in a bare environment with no <stdlib.h> installed.
7541 * sysdeps/nptl/configure: Regenerated.
7543 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
7545 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
7546 AC_EGREP_CPP for kernel header checks, so they only succeed if
7547 including <linux/version.h> actually works right.
7548 * sysdeps/unix/sysv/linux/configure: Regenerated.
7550 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
7551 value so it's not diagnosed as unused.
7553 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
7554 thing) with "ifeq ($(subdir),rt)".
7556 2014-07-03 Richard Henderson <rth@redhat.com>
7558 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
7559 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
7560 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
7562 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
7563 (math_force_eval): New.
7565 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
7566 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
7568 * sysdeps/alpha/fpu/s_round.c: Remove file.
7569 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
7571 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
7572 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
7573 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
7574 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
7575 (_dl_start, print_statistics): Likewise.
7576 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
7577 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
7579 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7580 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7581 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7582 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7583 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7584 (HP_SMALL_TIMING_AVAIL): Define.
7585 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7586 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7587 (HP_SMALL_TIMING_AVAIL): Define.
7588 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7589 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7591 * sysdeps/aarch64/hp-timing.h: New file.
7593 * sysdeps/generic/hp-timing.h: Remove dead comment.
7594 * sysdeps/generic/hp-timing-common.h: New file.
7595 * sysdeps/alpha/hp-timing.h: Include it.
7596 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
7597 * sysdeps/i386/i686/hp-timing.h: Likewise.
7598 * sysdeps/ia64/hp-timing.h: Likewise.
7599 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7600 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7601 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7602 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7603 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
7604 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
7607 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
7608 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
7609 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
7610 * elf/rtld.c (_dl_start_final): Likewise.
7611 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
7612 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7613 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7614 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7615 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7616 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7617 (HP_TIMING_DIFF_INIT): Remove.
7618 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7619 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7620 (HP_TIMING_DIFF_INIT): Remove.
7621 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7622 * sysdeps/i386/i686/hp-timing.c: Remove file.
7623 * sysdeps/x86_64/hp-timing.c: Remove file.
7624 * sysdeps/ia64/hp-timing.c: Remove file.
7625 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
7626 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
7627 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
7628 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
7630 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
7631 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
7632 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
7633 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7634 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7635 (HP_TIMING_ACCUM): Remove.
7636 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7637 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
7638 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7640 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
7641 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
7642 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
7643 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
7644 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
7645 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7646 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
7647 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7649 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
7651 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
7653 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
7655 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7657 Sync up with gettext.
7658 * intl/loadmsgcat.c: Define O_BINARY if not defined.
7659 [_MSC_VER]: Include malloc.h
7660 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
7661 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
7662 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
7663 TEMP_FAILURE_RETRY. Cast return of alloca.
7664 [!_LIBC] Call gl_rwlock_init.
7665 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
7667 2014-07-02 Roland McGrath <roland@hack.frob.com>
7669 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
7670 before checking its value.
7672 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7674 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
7676 * debug/memcpy_chk.c: Don't include pagecopy.h.
7677 * debug/mempcpy_chk.c: Likewise.
7678 * string/memcpy.c: Likewise.
7679 * string/memmove.c: Likewise.
7680 * sysdeps/powerpc/memmove.c: Likewise.
7681 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
7682 definition of PAGE_COPY_FWD_MAYBE here...
7683 * sysdeps/generic/pagecopy.h: ... from here.
7684 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
7686 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7687 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7689 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
7690 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
7692 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7693 (__libc_ifunc_impl_list): Likewise.
7694 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
7695 multiarch strcat for PPC64.
7696 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
7697 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
7699 2014-07-02 Roland McGrath <roland@hack.frob.com>
7701 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
7703 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7705 * intl/loadmsgcat.c: Remove declaration of
7706 get_sysdep_segment_value.
7707 (get_sysdep_segment_value): Use ISO C style.
7708 (_nl_load_domain): Use ISO C style. Get rid of redundant
7709 semicolon. Fix typo and formatting in comment.
7710 (_nl_unload_domain): Use ISO C style.
7712 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
7714 2014-07-02 Will Newton <will.newton@linaro.org>
7716 * malloc/obstack.c: Merge from gnulib master.
7717 [HAVE_CONFIG_H]: Remove conditional code.
7718 [!_LIBC]: Include config.h.
7719 [!ELIDE_CODE]: Don't include inttypes.h, include
7720 stdint.h unconditionally.
7721 (print_and_abort): Mark as _Noreturn.
7722 (_obstack_allocated_p): Mark as __attribute_pure__.
7723 (obstack_free): Rename to __obstack_free.
7724 [!__attribute__]: Remove conditional code.
7725 * malloc/obstack.h: Merge from gnulib master.
7726 [__cplusplus]: Move conditional down.
7727 [!__attribute_pure__]: Define __attribute_pure__ here
7728 if it is not already defined.
7729 (_obstack_memory_used): Mark as __attribute_pure__.
7730 [!__obstack_free]: Define as obstack_free.
7731 [__GNUC__]: Remove check for ancient NeXT gcc.
7733 2014-07-02 Will Newton <will.newton@linaro.org>
7734 Paul Eggert <eggert@cs.ucla.edu>
7736 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
7738 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7740 * resolv/gethnamaddr.c: Add comment warning that the file is
7743 2014-07-01 Carlos O'Donell <carlos@redhat.com>
7745 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
7748 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
7749 entry for aio_cancel and aio_cancel64.
7750 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
7751 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
7752 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
7753 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
7754 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
7755 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
7756 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
7757 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
7758 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
7759 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
7760 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
7761 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
7762 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
7764 2014-07-01 Roland McGrath <roland@hack.frob.com>
7766 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
7767 * nptl/pthread_mutex_lock.c: Likewise.
7768 * nptl/pthread_mutex_timedlock.c: Likewise.
7769 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
7771 2014-07-01 Richard henderson <rth@redhat.com>
7773 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
7774 (__isnan, __isnanl): Remove.
7775 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
7777 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7779 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7781 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7783 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7785 * resolv/nss_dns/dns-host.c (getanswer_r)
7786 [MULTI_PTRS_ARE_ALIASES]: Remove code.
7788 2014-07-01 Joseph Myers <joseph@codesourcery.com>
7790 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7791 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
7793 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
7794 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
7796 2014-07-01 Roland McGrath <roland@hack.frob.com>
7798 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
7799 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
7801 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
7802 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
7804 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
7805 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
7807 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
7808 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
7810 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
7811 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
7812 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
7813 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
7815 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
7816 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
7817 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
7818 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
7819 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
7821 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
7823 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
7824 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
7825 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
7826 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
7827 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
7828 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
7829 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
7830 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
7831 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
7832 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
7833 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
7834 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
7835 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
7836 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
7837 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
7838 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
7839 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
7840 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
7841 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
7842 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
7844 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
7845 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
7846 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
7847 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
7848 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
7849 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
7850 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
7851 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
7853 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
7855 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
7856 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
7857 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
7860 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7862 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7864 2014-06-30 Joseph Myers <joseph@codesourcery.com>
7866 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7867 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7869 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7871 * sysdeps/arm/libm-test-ulps: Regenerated.
7873 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7874 Roland McGrath <roland@hack.frob.com>
7876 * test-skeleton.c (signal_handler): Kill the whole process group
7877 before killing the child individually.
7878 (main): Report any failure on `setpgid'.
7880 2014-06-30 Roland McGrath <roland@hack.frob.com>
7882 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
7883 from _TLS_H to _ARM_NPTL_TLS_H.
7884 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
7885 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
7887 2014-06-30 Joseph Myers <joseph@codesourcery.com>
7890 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
7891 (__expm1l): Return argument unchanged when small but not
7894 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
7896 (_FP_UNPACK_RAW_1_P): Likewise.
7897 (_FP_PACK_RAW_1): Likewise.
7898 (_FP_PACK_RAW_1_P): Likewise.
7899 (_FP_MUL_MEAT_1_wide): Likewise.
7900 (_FP_MUL_MEAT_DW_1_hard): Likewise.
7901 (_FP_MUL_MEAT_1_hard): Likewise.
7902 (_FP_DIV_MEAT_1_imm): Likewise.
7903 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
7904 (_FP_DIV_MEAT_1_udiv): Likewise.
7905 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
7906 (_FP_UNPACK_RAW_2): Likewise.
7907 (_FP_UNPACK_RAW_2_P): Likewise.
7908 (_FP_PACK_RAW_2): Likewise.
7909 (_FP_PACK_RAW_2_P): Likewise.
7910 (_FP_MUL_MEAT_DW_2_wide): Likewise.
7911 (_FP_MUL_MEAT_2_wide): Likewise.
7912 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
7913 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7914 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
7915 (_FP_MUL_MEAT_2_gmp): Likewise.
7916 (_FP_DIV_MEAT_2_udiv): Likewise.
7917 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
7918 (_FP_FRAC_SRL_4): Likewise.
7919 (_FP_FRAC_SRST_4): Likewise.
7920 (_FP_FRAC_SRS_4): Likewise.
7921 (_FP_UNPACK_RAW_4): Likewise.
7922 (_FP_UNPACK_RAW_4_P): Likewise.
7923 (_FP_PACK_RAW_4): Likewise.
7924 (_FP_PACK_RAW_4_P): Likewise.
7925 (_FP_MUL_MEAT_DW_4_wide): Likewise.
7926 (_FP_MUL_MEAT_4_wide): Likewise.
7927 (_FP_MUL_MEAT_4_gmp): Likewise.
7928 (umul_ppppmnnn): Likewise.
7929 (_FP_DIV_MEAT_4_udiv): Likewise.
7930 (__FP_FRAC_ADD_4): Likewise.
7931 (__FP_FRAC_SUB_3): Likewise.
7932 (__FP_FRAC_SUB_4): Likewise.
7933 (__FP_FRAC_DEC_3): Likewise.
7934 (__FP_FRAC_DEC_4): Likewise.
7935 (__FP_FRAC_ADDI_4): Likewise.
7936 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
7937 (_FP_FRAC_SRL_8): Likewise.
7938 (_FP_FRAC_SRS_8): Likewise.
7940 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
7942 (FP_UNPACK_RAW_EP): Likewise.
7943 (FP_PACK_RAW_E): Likewise.
7944 (FP_PACK_RAW_EP): Likewise.
7945 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
7946 (_FP_ISSIGNAN): Likewise.
7947 (_FP_ADD_INTERNAL): Likewise.
7948 (_FP_FMA): Likewise.
7949 (_FP_CMP): Likewise.
7950 (_FP_SQRT): Likewise.
7951 (_FP_TO_INT): Likewise.
7952 (_FP_FROM_INT): Likewise.
7953 (FP_EXTEND): Likewise.
7954 (_FP_DIV_MEAT_N_loop): Likewise.
7956 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7958 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
7961 2014-06-29 Joseph Myers <joseph@codesourcery.com>
7964 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
7965 result with correct sign in case of exponents that produce
7966 overflow except for X very close to 1.
7968 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
7970 mktime: merge #if/#ifdef usage from glibc
7971 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
7972 as that works with both Glibc's and Gnulib's style.
7973 See thread starting at Siddhesh Poyarekar's bug report at:
7974 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
7976 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7978 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
7979 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
7980 * sysdeps/tile/tilegx/memmove.c: Remove file.
7982 2014-06-27 Joseph Myers <joseph@codesourcery.com>
7984 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
7985 abi-name definition.
7986 * scripts/soversions.awk: Do not handle or generate ABI lines.
7987 * shlib-versions: Remove ABI entries.
7988 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
7989 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
7991 2014-06-27 Roland McGrath <roland@hack.frob.com>
7993 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
7994 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
7995 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
7996 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
7997 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
7998 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
7999 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
8001 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
8003 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
8004 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
8005 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
8006 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
8007 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
8008 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
8009 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
8010 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
8011 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
8012 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
8013 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
8014 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
8015 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
8017 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
8018 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
8019 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
8020 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
8021 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
8022 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
8024 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
8025 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
8027 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
8028 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
8029 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
8030 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
8032 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
8033 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
8034 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
8035 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
8036 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
8037 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
8038 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
8039 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
8041 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
8042 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
8043 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
8044 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
8046 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
8047 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
8049 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
8050 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
8051 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
8052 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
8054 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
8056 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
8057 Identical file removed.
8058 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
8060 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
8061 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
8062 Identical file removed.
8063 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
8064 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
8065 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
8067 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
8068 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
8069 Identical file removed.
8070 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
8071 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
8072 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
8073 Identical file removed.
8074 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
8075 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
8076 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
8077 Identical file removed.
8078 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
8079 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
8080 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
8081 Identical file removed.
8082 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
8084 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
8085 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
8086 Identical file removed.
8087 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
8089 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
8090 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
8091 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
8092 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
8093 Identical file removed.
8094 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
8096 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
8098 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
8099 Identical file removed.
8100 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
8102 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
8103 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
8104 Identical file removed.
8105 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
8107 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
8108 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
8109 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
8110 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
8111 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
8112 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
8114 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
8115 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
8116 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
8118 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
8119 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
8120 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
8121 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
8122 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
8124 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
8127 * nscd/nscd.c (monitor_child): Return exit status of child
8128 instead of return value from wait syscall.
8130 2014-06-27 Joseph Myers <joseph@codesourcery.com>
8132 * configure.ac (libc_commonpagesize): Remove variable.
8133 (libc_relro_required): Likewise.
8134 (libc_cv_z_relro): Remove configure test.
8135 * configure: Regenerated.
8136 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
8138 (libc_relro_required): Likewise.
8139 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
8140 (libc_relro_required): Likewise.
8141 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
8142 (libc_relro_required): Likewise.
8143 * sysdeps/arm/preconfigure: Regenerated.
8144 * sysdeps/ia64/preconfigure: Remove file.
8145 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
8147 (libc_relro_required): Likewise.
8151 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
8152 (__ieee754_yn): Set FE_TONEAREST mode internally and then
8153 recompute overflowing results in original rounding mode.
8154 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
8155 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
8156 recompute overflowing results in original rounding mode.
8157 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
8158 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8159 recompute overflowing results in original rounding mode.
8160 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
8161 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8162 recompute overflowing results in original rounding mode.
8163 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
8164 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8165 recompute overflowing results in original rounding mode.
8166 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
8167 (libc_feholdsetround_ctx): New macro.
8168 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
8169 * sysdeps/i386/fpu/libm-test-ulps: Update.
8170 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
8172 2014-06-26 Joseph Myers <joseph@codesourcery.com>
8174 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
8175 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
8176 corresponding .cpsetup call.
8178 2014-06-26 Roland McGrath <roland@hack.frob.com>
8180 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
8181 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
8182 * sysdeps/arm/Makefile [$(subdir) = csu]
8183 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
8184 (static-only-routines): Add aeabi_read_tp here.
8185 (shared-only-routines): Add libc-aeabi_read_tp here.
8186 (CFLAGS-libc-start.c): Add -fexceptions here.
8187 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
8188 (sysdep_routines, static-only-routines, shared-only-routines):
8189 Don't add to these here.
8190 (CFLAGS-libc-start.c): Likewise.
8192 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
8193 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8194 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
8195 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8196 * sysdeps/arm/Makefile [$(subdir) = rt]
8197 (librt-sysdep_routines, librt-shared-only-routines):
8198 Append rt-aeabi_unwind_cpp_pr1 here.
8199 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
8200 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
8201 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
8202 (libpthread-sysdep_routines, libpthread-shared-only-routines):
8203 Append nptl-aeabi_unwind_cpp_pr1 here.
8204 (tests): Filter out tst-cleanupx4 here.
8205 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
8206 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
8207 Don't do those here.
8209 2014-06-26 Joseph Myers <joseph@codesourcery.com>
8211 * scripts/list-sources.sh: Do not handle ports specially.
8213 2014-06-26 Roland McGrath <roland@hack.frob.com>
8215 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
8216 * sysdeps/arm/feupdateenv.c: Likewise.
8218 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
8220 2014-06-26 Joseph Myers <joseph@codesourcery.com>
8222 * manual/texinfo.tex: Update to version 2014-05-05.10 with
8223 trailing whitespace removed.
8224 * scripts/config.guess: Update to version 2014-03-23.
8225 * scripts/config.sub: Update to version 2014-05-01
8226 * scripts/install-sh: Update to version 2013-12-25.23.
8227 * scripts/move-if-change: Update from gnulib.
8229 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8231 * debug/memmove_chk.c: Remove pagecopy.h include.
8233 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
8235 * time/mktime.c (leapyear): Remove inline keyword. The code is now
8236 identical to gnulib mktime.
8238 2014-06-26 Joseph Myers <joseph@codesourcery.com>
8240 * configure.ac: Do not test for machine being rs6000. Do not test
8242 * configure: Regenerated.
8244 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
8246 * configure: Regenerated.
8247 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
8248 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
8249 Remove configure test.
8250 * sysdeps/arm/configure: Regenerated.
8251 * sysdeps/nptl/configure.ac: Do not check
8252 libc_cv_asm_cfi_directives.
8253 * sysdeps/nptl/configure: Regenerated.
8254 * sysdeps/x86_64/nptl/configure.ac: Remove file.
8255 * sysdeps/x86_64/nptl/configure: Remove generated file.
8256 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
8258 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
8260 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8262 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
8263 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
8264 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
8267 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
8268 instead of whether it is defined.
8269 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
8270 * sysdeps/hppa/dl-machine.h: Likewise.
8271 * sysdeps/ia64/dl-machine.h: Likewise.
8272 * sysdeps/m68k/dl-machine.h: Likewise.
8273 * sysdeps/microblaze/dl-machine.h: Likewise.
8274 * sysdeps/mips/dl-machine.: Likewise.
8275 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8276 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8277 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8278 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8279 * sysdeps/sh/dl-machine.h: Likewise.
8280 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8281 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8282 * sysdeps/tile/dl-machine.h: Likewise.
8283 * sysdeps/x86_64/dl-machine.h: Likewise.
8285 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
8287 (verify_persistent_db): Likewise.
8289 2014-06-26 Roland McGrath <roland@hack.frob.com>
8291 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
8292 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
8293 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
8294 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
8295 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8297 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8299 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
8300 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
8301 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
8302 Identical file removed.
8303 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
8304 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
8305 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
8306 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
8307 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
8308 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
8309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
8310 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
8311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
8312 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
8313 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8315 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
8316 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
8317 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
8318 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
8319 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
8320 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8322 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
8323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
8324 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
8325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
8326 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
8327 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8328 Identical file removed.
8329 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
8330 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
8331 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
8332 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
8333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8335 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
8337 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
8338 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
8339 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
8340 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
8341 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
8342 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
8343 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
8344 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
8345 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
8346 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
8347 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8349 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
8350 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
8352 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
8353 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
8354 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
8355 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8357 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
8358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
8359 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
8361 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
8363 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
8364 * sysdeps/unix/sysv/linux/s390/Versions
8365 (libpthread: GLIBC_2.19): New version set.
8366 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
8367 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
8368 (librt: GLIBC_2.3.3): New version set.
8369 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
8370 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
8371 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
8372 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
8373 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
8374 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
8375 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
8376 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
8377 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
8378 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
8379 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
8380 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
8381 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
8382 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
8383 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
8384 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
8385 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
8386 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
8387 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
8388 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
8389 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
8390 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
8391 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
8392 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
8393 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
8394 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
8395 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
8396 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
8397 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
8398 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
8399 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
8400 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
8401 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
8402 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
8403 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
8404 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
8405 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
8406 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
8407 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
8408 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
8409 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
8410 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
8411 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
8412 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
8413 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
8415 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
8416 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
8417 (__libc_vfork): Define the function under this name.
8418 [!NOT_IN_libc] (__vfork): Make this an alias.
8419 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8420 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
8421 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
8422 (__libc_vfork): Define the function under this name.
8423 [!NOT_IN_libc] (__vfork): Make this an alias.
8424 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8425 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
8426 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
8427 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
8428 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
8429 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8431 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
8432 code that was previously under [RESET_PID].
8433 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8434 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
8435 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
8437 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
8438 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
8439 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
8440 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
8441 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
8442 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
8443 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
8444 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
8445 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
8446 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
8447 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
8449 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
8450 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
8451 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
8452 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
8453 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
8454 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
8455 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
8456 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
8457 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
8458 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
8459 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
8460 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
8461 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
8462 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
8463 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
8464 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
8465 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
8466 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
8467 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
8468 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
8469 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
8470 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
8471 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
8472 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
8473 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
8474 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
8475 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
8476 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
8477 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
8479 2014-06-25 Roland McGrath <roland@hack.frob.com>
8481 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
8482 that was previously under [RESET_PID].
8483 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
8485 2014-06-25 Joseph Myers <joseph@codesourcery.com>
8487 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
8488 not undefine and redefine.
8489 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
8490 [O_CLOEXEC]: Make code unconditional.
8491 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
8492 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
8493 <kernel-features.h>.
8494 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
8495 conditional variable definition.
8496 (shm_open) [O_CLOEXEC]: Make code unconditional.
8497 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
8500 * configure.ac (USE_REGPARMS): Don't define here.
8501 * configure: Regenerated.
8502 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
8503 * sysdeps/i386/configure: Regenerated.
8505 * nptl/createthread.c: Don't include kernel-features.h.
8506 * nptl/pthread_cancel.c: Likewise.
8507 * nptl/pthread_condattr_setclock.c: Likewise.
8508 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
8509 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
8510 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
8511 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
8512 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
8513 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
8514 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8515 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
8516 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8517 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
8518 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
8519 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
8520 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
8521 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
8522 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
8523 * nscd/gai.c: Likewise.
8524 * nss/nss_db/db-open.c: Likewise.
8525 * sysdeps/generic/ldsodefs.h: Likewise.
8526 * sysdeps/sh/nptl/tls.h: Likewise.
8527 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8528 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
8529 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
8530 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
8531 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
8532 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8533 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
8534 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8535 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8536 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
8537 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
8538 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8539 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
8540 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
8541 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
8542 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
8543 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
8544 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
8545 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
8546 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
8547 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
8548 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
8549 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
8550 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
8551 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
8552 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
8553 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
8554 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
8555 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8556 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
8557 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
8558 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
8559 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
8560 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8561 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8562 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8563 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8564 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
8565 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
8566 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
8567 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
8568 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
8569 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
8570 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8571 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
8572 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
8573 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
8574 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
8575 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
8576 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
8577 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
8578 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8579 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8580 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8581 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
8582 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8583 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
8584 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
8585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
8587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
8588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
8589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
8590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
8591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
8592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
8593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
8596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
8597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
8598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
8599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
8605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
8606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
8607 * sysdeps/unix/sysv/linux/pread.c: Likewise.
8608 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
8609 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
8610 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
8611 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
8612 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
8613 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
8614 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
8615 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
8616 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8617 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
8618 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8619 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
8620 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
8621 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8622 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
8623 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8624 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
8625 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
8626 * sysdeps/unix/sysv/linux/system.c: Likewise.
8627 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
8628 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
8629 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8630 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8631 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
8632 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8633 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8635 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
8636 * configure: Regenerated.
8637 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
8639 * configure.ac (base_machine): Do not set specially for particular
8641 * configure: Regenerated.
8642 * sysdeps/powerpc/preconfigure: Move machine and base_machine
8643 settings from configure.ac.
8644 * sysdeps/i386/preconfigure: New file.
8645 * sysdeps/s390/preconfigure: Likewise.
8646 * sysdeps/sh/preconfigure: Likewise.
8647 * sysdeps/sparc/preconfigure: Likewise.
8649 2014-06-25 Roland McGrath <roland@hack.frob.com>
8651 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
8652 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
8653 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
8654 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
8655 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
8656 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
8657 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
8658 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
8659 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
8660 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
8661 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
8662 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
8663 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
8664 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
8665 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
8666 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
8667 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
8668 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
8669 * sysdeps/sparc/sparc64/Makefile: ... appended here.
8671 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
8672 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
8673 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
8674 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
8675 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
8676 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
8677 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
8678 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
8679 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
8680 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
8681 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
8682 * sysdeps/sparc/sparc32/sem_post.c: ... here.
8683 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
8684 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
8685 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
8686 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
8687 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
8688 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
8689 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
8690 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
8691 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
8692 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
8693 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
8694 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
8695 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
8696 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
8697 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
8698 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
8699 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
8700 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
8701 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
8702 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
8703 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
8704 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
8705 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
8706 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
8707 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
8708 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
8710 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
8711 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
8712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
8713 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
8714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8716 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
8718 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
8719 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
8720 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
8721 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
8722 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
8724 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
8725 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
8726 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
8727 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
8728 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
8729 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
8730 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
8731 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8733 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
8734 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8736 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
8737 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
8738 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
8739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8741 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
8742 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
8743 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
8744 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
8745 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
8746 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
8747 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
8748 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
8749 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
8750 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8752 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
8754 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
8755 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
8756 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
8757 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
8758 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
8760 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
8761 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
8762 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
8763 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
8764 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
8765 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
8766 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
8767 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8769 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
8770 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8772 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
8773 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
8774 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
8775 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8777 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
8778 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
8779 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
8780 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
8781 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
8783 2014-06-25 Joseph Myers <joseph@codesourcery.com>
8785 * timezone/checktab.awk: Update from tzcode 2014e.
8786 * timezone/private.h: Likewise.
8787 * timezone/tzfile.h: Likewise.
8788 * timezone/zdump.c: Likewise.
8789 * timezone/zic.c: Likewise.
8791 * sysdeps/unix/sysv/linux/kernel-features.h
8792 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
8793 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
8794 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
8795 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8796 Remove conditional code.
8798 2014-06-25 Will Newton <will.newton@linaro.org>
8800 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
8801 (_dl_arm_cap_flags): Add HWCAP2 values.
8802 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
8803 (_DL_HWCAP_COUNT): Increase to 37.
8804 (_DL_HWCAP_LAST): New define.
8805 (_DL_HWCAP2_LAST): New define.
8806 (_dl_procinfo): Add support for printing
8808 (_dl_string_hwcap): Use _dl_hwcap_string.
8810 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8812 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8814 2014-06-25 Joseph Myers <joseph@codesourcery.com>
8816 * README: Do not mention ports directory.
8818 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
8820 * sysdeps/unix/sysv/linux/futimes.c: Do not include
8821 <kernel-features.h>.
8822 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
8823 conditional variable definition.
8824 (__futimes): Update comment.
8825 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
8826 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
8829 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
8830 arguments close to 0.
8831 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
8833 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
8835 * math/auto-libm-test-in: Add more tests of exp10.
8836 * math/auto-libm-test-out: Regenerated.
8837 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8839 * sysdeps/unix/sysv/linux/kernel-features.h
8840 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
8841 * sysdeps/unix/sysv/linux/readv.c: Do not include
8842 <kernel-features.h>.
8843 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8844 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8845 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8847 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8849 * sysdeps/unix/sysv/linux/writev.c: Do not include
8850 <kernel-features.h>.
8851 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8852 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8853 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8855 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8858 2014-06-25 Will Newton <will.newton@linaro.org>
8860 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
8861 comment changes throughout the file. Remove checks
8862 for HAVE_*_H definitions that are not required.
8863 (__gen_tempname): Call abort if an unknown kind value is
8866 2014-06-25 Andreas Schwab <schwab@suse.de>
8869 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
8870 scalbln, scalblnf, scalblnl in libc.
8872 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8875 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
8876 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8877 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8879 2014-06-24 Roland McGrath <roland@hack.frob.com>
8881 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
8882 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
8883 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
8884 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
8886 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
8887 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
8889 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
8890 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
8891 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
8892 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
8893 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
8894 * sysdeps/x86/bits/pthreadtypes.h: ... here.
8895 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
8896 * sysdeps/x86/bits/semaphore.h: ... here.
8897 * sysdeps/x86/nptl/elide.h: Moved ...
8898 * sysdeps/x86/elide.h: ... here.
8899 * sysdeps/x86_64/nptl/Implies: File removed.
8900 * sysdeps/i386/nptl/Implies: File removed.
8902 2014-06-24 Joseph Myers <joseph@codesourcery.com>
8905 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
8906 return the argument for normal arguments with exponent below -64.
8907 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8909 * math/auto-libm-test-in: Add another test of expm1.
8910 * math/auto-libm-test-out: Regenerated.
8913 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
8914 calling __erfcl for arguments at least 16.
8915 * math/auto-libm-test-in: Add more tests of erf.
8916 * math/auto-libm-test-out: Regenerated.
8918 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
8919 individual architectures.
8920 * sysdeps/unix/sysv/linux/configure: Regenerated.
8921 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
8922 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
8923 * sysdeps/unix/sysv/linux/powerpc/configure.ac
8924 (ldd_rewrite_script): Define variable.
8925 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
8928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
8930 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
8931 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
8932 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
8933 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
8934 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
8935 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
8936 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
8937 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
8939 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8942 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
8943 Rename member __data.d to __data.__elision_data.
8945 2014-06-24 Wilco <wdijkstr@arm.com>
8947 * NEWS: Add 16918 to fixed bug list.
8949 2014-06-24 Wilco <wdijkstr@arm.com>
8951 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
8953 2014-06-24 Wilco <wdijkstr@arm.com>
8955 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
8956 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
8957 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
8958 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
8959 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
8960 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
8961 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
8964 2014-06-24 Wilco <wdijkstr@arm.com>
8966 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
8968 2014-06-24 Wilco <wdijkstr@arm.com>
8970 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
8971 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
8972 * sysdeps/arm/fesetround.c (fesetround): Remove space.
8973 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
8975 2014-06-24 Wilco <wdijkstr@arm.com>
8978 * sysdeps/arm/feupdateenv.c (feupdateenv):
8979 Rewrite to reduce FPSCR accesses and fix return value.
8981 2014-06-24 Wilco <wdijkstr@arm.com>
8983 * sysdeps/arm/fclrexcpt.c (feclearexcept):
8984 Optimize to avoid unnecessary FPSCR writes.
8985 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
8986 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
8987 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
8988 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
8990 2014-06-24 Wilco <wdijkstr@arm.com>
8992 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
8993 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
8994 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
8995 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
8996 Call libc_fetestexcept_vfp.
8997 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
8998 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
8999 __SOFTFP__ ifdef so that they can be built for softfp.
9001 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9003 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
9004 argument type signed char.
9006 * Makerules (check-abi): Dump diff of symlist if the test
9009 2014-06-23 Roland McGrath <roland@hack.frob.com>
9011 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
9014 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9015 Remove unused variable ST.
9017 2014-06-23 Joseph Myers <joseph@codesourcery.com>
9021 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
9022 small arguments before calling __expm1.
9023 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
9024 small arguments before calling __expm1f.
9025 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
9026 small arguments before calling __expm1l.
9027 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9029 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
9030 * math/auto-libm-test-in: Add more cosh tests. Do not allow
9031 spurious underflow for some cosh tests.
9032 * math/auto-libm-test-out: Regenerated.
9033 * sysdeps/i386/fpu/libm-test-ulps: Update.
9036 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
9037 (__ieee754_y1): Set errno if return value overflows.
9038 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
9039 (__ieee754_y1f): Set errno if return value overflows.
9040 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
9041 (__ieee754_y1l): Set errno if return value overflows.
9042 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
9043 (__ieee754_y1l): Set errno if return value overflows.
9044 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
9045 * math/auto-libm-test-out: Regenerated.
9047 * math/gen-auto-libm-tests.c: Document use of
9048 ignore-zero-inf-sign.
9049 (input_flag_type): Add value flag_ignore_zero_inf_sign.
9050 (input_flags): Add ignore-zero-inf-sign.
9051 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
9052 * math/gen-libm-test.pl (generate_testfile): Handle
9053 ignore-zero-inf-sign.
9054 * math/auto-libm-test-in: Mark some cpow tests with
9055 ignore-zero-inf-sign and some with xfail-rounding.
9056 * math/auto-libm-test-out: Regenerated.
9057 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
9058 * sysdeps/i386/fpu/libm-test-ulps: Update.
9059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9062 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
9063 overflowing or underflowing operations take place with sign of
9065 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9066 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9067 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
9068 (__ieee754_pow): Recompute overflowing and underflowing results in
9069 original rounding mode.
9070 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
9071 (__powl_helper): Allow negative argument X and scale negated value
9072 as needed. Avoid passing value outside [-1, 1] to f2xm1.
9073 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
9074 overflowing or underflowing operations take place with sign of
9076 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
9078 * math/auto-libm-test-in: Add more tests of pow.
9079 * math/auto-libm-test-out: Regenerated.
9080 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
9081 (pow_tonearest_test_data): Remove.
9082 (pow_test_tonearest): Likewise.
9083 (pow_towardzero_test_data): Likewise.
9084 (pow_test_towardzero): Likewise.
9085 (pow_downward_test_data): Likewise.
9086 (pow_test_downward): Likewise.
9087 (pow_upward_test_data): Likewise.
9088 (pow_test_upward): Likewise.
9089 (main): Don't call removed functions.
9090 * sysdeps/i386/fpu/libm-test-ulps: Update.
9091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9093 2014-06-23 Roland McGrath <roland@hack.frob.com>
9095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
9097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
9098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
9101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
9104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
9107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
9113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
9115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
9117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
9119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
9121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
9125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
9129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
9131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
9133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
9134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
9136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
9138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
9140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
9141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
9143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
9144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
9146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
9147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
9149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
9150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
9152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
9153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
9155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
9156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
9158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
9159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
9160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
9162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
9164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
9165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
9171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
9180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
9183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
9184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
9185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
9189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
9193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
9196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
9199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
9202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
9205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
9209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
9212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
9215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
9218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
9221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
9222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
9223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
9226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
9229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
9241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
9244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
9247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
9250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
9254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
9258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
9262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
9265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
9269 2014-06-23 Will Newton <will.newton@linaro.org>
9270 Wilco <wdijkstr@arm.com>
9272 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
9273 implementation. Include get-rounding-mode.h.
9274 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
9275 [!libc_feholdsetround_noex_ctx]: Define
9276 libc_feholdsetround_noex_ctx.
9277 [!libc_feholdsetround_noexf_ctx]: Define
9278 libc_feholdsetround_noexf_ctx.
9279 [!libc_feholdsetround_noexl_ctx]: Define
9280 libc_feholdsetround_noexl_ctx.
9281 (libc_feholdsetround_ctx): New function.
9282 (libc_feresetround_ctx): New function.
9283 (libc_feholdsetround_noex_ctx): New function.
9284 (libc_feresetround_noex_ctx): New function.
9286 2014-06-23 Roland McGrath <roland@hack.frob.com>
9288 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
9289 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
9290 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
9291 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
9292 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
9293 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
9295 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
9296 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
9297 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
9298 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
9299 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
9300 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
9301 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
9302 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
9303 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
9304 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
9305 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
9307 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9309 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
9310 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
9311 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
9312 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
9313 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
9315 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
9316 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
9317 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
9318 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
9319 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
9320 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
9321 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
9322 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
9324 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
9325 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
9327 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
9328 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
9329 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
9330 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
9332 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
9333 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
9334 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
9335 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
9336 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
9337 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
9338 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
9339 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
9340 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
9341 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
9343 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
9345 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
9346 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
9347 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
9348 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
9349 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
9350 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
9351 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
9352 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
9353 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
9354 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
9355 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
9356 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
9357 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
9359 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
9360 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
9361 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
9362 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
9363 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
9364 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
9366 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
9367 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
9368 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
9369 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
9370 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
9372 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
9373 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
9374 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
9375 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
9376 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
9377 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
9378 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
9379 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
9380 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
9381 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
9382 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
9383 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
9384 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
9385 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
9386 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
9387 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
9388 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
9389 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
9390 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
9391 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
9392 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
9393 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
9394 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
9395 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
9396 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
9397 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
9398 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
9399 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
9401 2014-06-23 Joseph Myers <joseph@codesourcery.com>
9403 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
9404 (FALLOC_FL_COLLAPSE_RANGE): New macro.
9405 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
9406 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
9407 (IPV6_PMTUDISC_INTERFACE): Likewise.
9408 (IPV6_PMTUDISC_OMIT): Likewise.
9410 2014-06-23 Andreas Schwab <schwab@suse.de>
9412 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
9413 Remove unused errout label.
9415 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9417 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
9418 macro: hardware supports Vector Crypto instructions.
9420 2014-06-23 Will Newton <will.newton@linaro.org>
9422 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
9423 rather than __builtin_expect.
9425 * elf/dl-lookup.c (undefined_msg): Remove variable.
9426 (_dl_lookup_symbol_x): Replace undefined_msg with string
9429 * elf/dl-lookup.c (do_lookup_unique): New function.
9430 (do_lookup_x): Move STB_GNU_UNIQUE handling code
9431 to a separate function.
9433 2014-06-23 Andreas Schwab <schwab@suse.de>
9436 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
9437 before reading the next line.
9439 2014-06-23 Will Newton <will.newton@linaro.org>
9441 * test-skeleton.c (signal_handler): Use printf and %m
9442 rather than perror. Use printf rather than fprintf to
9443 stderr. Use puts rather than fputs to stderr.
9446 2014-06-22 Ludovic Courtès <ludo@gnu.org>
9448 * nscd/nscd.c (thread_info_t): Remove typedef.
9449 (thread_info): Remove variable.
9451 2014-06-21 Allan McRae <allan@archlinux.org>
9453 * NEWS: Mention CVE-2014-4043.
9455 2014-06-20 Roland McGrath <roland@hack.frob.com>
9457 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
9458 * nptl/smp.h: ... here.
9460 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
9462 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
9463 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
9464 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
9465 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
9467 * nptl/allocatestack.c: Include <stack-aliasing.h>.
9468 * nptl/stack-aliasing.h: New file.
9469 * sysdeps/i386/i686/stack-aliasing.h: New file.
9470 * sysdeps/i386/i686/nptl/Makefile: File removed.
9471 * sysdeps/x86_64/stack-aliasing.h: New file.
9472 * sysdeps/x86_64/nptl/Makefile
9473 (CFLAGS-pthread_create.c): Variable removed.
9475 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
9476 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
9478 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
9479 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
9482 2014-06-21 Joseph Myers <joseph@codesourcery.com>
9484 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9485 (__ASSUME_SIGFRAME_V2): Remove macro.
9486 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
9487 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
9488 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
9489 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
9490 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
9491 Declare as function. Remove conditional macro definitions.
9492 (__default_rt_sa_restorer): Likewise.
9493 (__default_sa_restorer_v1): Remove declaration.
9494 (__default_sa_restorer_v2): Likewise.
9495 (__default_rt_sa_restorer_v1): Likewise.
9496 (__default_rt_sa_restorer_v2): Likewise.
9497 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
9498 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
9499 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
9501 2014-06-20 Roland McGrath <roland@hack.frob.com>
9503 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
9504 (libpthread-routines): Add sysdep.
9505 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
9506 * sysdeps/unix/sysv/linux/sparc/Versions
9507 (libpthread: GLIBC_2.3.3): New version set.
9508 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
9509 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
9510 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
9511 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
9512 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
9513 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
9515 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
9516 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
9517 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
9518 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
9519 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
9520 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
9521 * sysdeps/sparc/nptl/sem_init.c: ... here.
9522 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
9523 * sysdeps/sparc/nptl/sem_post.c: ... here.
9524 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
9525 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
9526 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
9527 * sysdeps/sparc/nptl/sem_wait.c: ... here.
9528 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
9529 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
9530 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
9531 (libpthread-routines): Add cpu_relax.
9532 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
9534 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
9535 (librt: GLIBC_2.3.3): New version set.
9536 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
9537 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
9538 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
9539 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
9540 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
9541 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
9542 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
9543 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
9545 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
9546 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
9547 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
9548 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
9549 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
9550 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
9551 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
9552 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
9553 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
9554 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
9556 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
9558 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
9560 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
9562 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
9564 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
9566 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
9568 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
9570 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
9572 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
9574 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
9576 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
9578 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
9579 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
9580 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
9581 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
9582 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
9583 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
9584 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
9585 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
9586 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
9587 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
9588 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9590 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
9591 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
9592 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
9593 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
9594 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
9596 2014-06-20 Joseph Myers <joseph@codesourcery.com>
9598 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
9599 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
9600 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9601 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
9602 * nscd/nscd.c: Likewise.
9603 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
9604 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
9605 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
9606 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
9608 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
9609 <kernel-features.h>.
9610 (init_mq_netlink): Remove conditional have_sock_cloexec
9611 definitions. Remove code conditional on have_sock_cloexec < 0.
9612 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
9613 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
9614 * sysdeps/unix/sysv/linux/opensock.c: Do not include
9615 <kernel-features.h>.
9616 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
9617 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
9619 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
9621 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9622 Add tests for memset_chk and memset.
9624 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
9627 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
9630 * elf/tst-dl-iter-static.c: New file.
9631 * elf/Makefile (tests-static): Add tst-dl-iter-static.
9633 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
9636 2014-06-20 Joseph Myers <joseph@codesourcery.com>
9638 * sysdeps/unix/sysv/linux/kernel-features.h
9639 (__ASSUME_F_GETOWN_EX): Remove macro.
9640 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
9641 <kernel-features.h>.
9642 (miss_F_GETOWN_EX): Remove variable or macro.
9643 (do_fcntl): Do not check miss_F_GETOWN_EX.
9644 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
9646 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
9648 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
9649 [!__ASSUME_AT_RANDOM]: Remove conditional code.
9650 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
9652 * sysdeps/unix/sysv/linux/kernel-features.h
9653 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
9654 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
9655 [ADJ_OFFSET_SS_READ]: Make code unconditional.
9656 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
9658 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
9661 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
9662 Fix calculation of the symbol's value.
9663 * sysdeps/arm/tst-armtlsdescloc.c: New file.
9664 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
9665 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
9666 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
9667 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
9668 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
9669 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
9670 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
9671 (modules-names): Add `tst-armtlsdescmod',
9672 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
9673 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
9674 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9675 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
9676 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
9677 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9678 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
9679 ($(objpfx)tst-armtlsdescloc): New dependency.
9680 ($(objpfx)tst-armtlsdescextnow): Likewise.
9681 ($(objpfx)tst-armtlsdescextlazy): Likewise.
9682 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
9684 * sysdeps/arm/configure: Regenerate.
9686 2014-06-20 Joseph Myers <joseph@codesourcery.com>
9688 * include/fcntl.h (__atfct_seterrno): Remove prototype.
9689 (__atfct_seterrno_2): Likewise.
9690 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
9691 <kernel-features.h>.
9692 (__ASSUME_ATFCTS): Do not undefine and redefine.
9693 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
9694 (__have_atfcts): Remove conditional definition.
9695 (__fxstatat([__NR_fstatat64]: Make code unconditional.
9696 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
9697 unreachable if [__ASSUME_ATFCTS].
9698 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
9699 not undefine and redefine.
9700 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
9701 <kernel-features.h>.
9702 (faccessat) [__NR_faccessat]: Make code unconditional.
9703 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
9704 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
9705 <kernel-features.h>.
9706 (fchmodat) [__NR_fchmodat]: Make code unconditional.
9707 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9708 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
9709 <kernel-features.h>.
9710 (fchownat) [__NR_fchownat]: Make code unconditional.
9711 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
9712 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
9713 <kernel-features.h>.
9714 (futimesat) [__NR_futimesat]: Make code unconditional.
9715 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
9716 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9717 <kernel-features.h>.
9718 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9719 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9720 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9721 <kernel-features.h>.
9722 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
9723 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9724 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
9725 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9726 <kernel-features.h>.
9727 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
9728 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9729 * sysdeps/unix/sysv/linux/linkat.c: Do not include
9730 <kernel-features.h>.
9731 (linkat) [__NR_linkat]: Make code unconditional.
9732 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9733 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
9734 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
9735 <kernel-features.h>.
9736 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
9737 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9738 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
9739 <kernel-features.h>.
9740 (mkdirat) [__NR_mkdirat]: Make code unconditional.
9741 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
9742 * sysdeps/unix/sysv/linux/openat.c: Do not include
9743 <kernel-features.h>.
9744 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
9745 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
9746 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
9747 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
9748 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
9749 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
9750 <kernel-features.h>.
9751 (readlinkat) [__NR_readlinkat]: Make code unconditional.
9752 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
9753 result of INLINE_SYSCALL directly, not via int variable.
9754 * sysdeps/unix/sysv/linux/renameat.c: Do not include
9755 <kernel-features.h>.
9756 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
9757 (renameat) [__NR_renameat]: Make code unconditional.
9758 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
9759 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
9760 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
9761 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
9762 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
9763 (__ASSUME_ATFCTS): Do not undefine and redefine.
9764 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
9765 <kernel-features.h>.
9766 (symlinkat) [__NR_symlinkat]: Make code unconditional.
9767 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9768 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
9769 <kernel-features.h>.
9770 (unlinkat) [__NR_unlinkat]: Make code unconditional.
9771 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9772 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
9773 (__ASSUME_ATFCTS): Do not undefine and redefine.
9774 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9775 <kernel-features.h>.
9776 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9777 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9778 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9779 <kernel-features.h>.
9780 (__xmknodat) [__NR_mknodat]: Make code unconditional.
9781 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9783 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
9785 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
9787 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
9790 * posix/regcomp.c (parse_reg_exp): Deallocate partially
9791 constructed tree before returning error.
9792 * posix/bug-regexp36.c: Expand test case.
9794 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
9797 * math/libm-test.inc (scalbln_test_date):
9798 Add errno expectations.
9799 * math/w_scalblnf.c: New File.
9800 Add wrapper which checks for setting errno to ERANGE.
9801 Add weak_alias for corresponding scalbln function.
9802 * math/w_scalbln.c: Likewise.
9803 * math/w_scalblnl.c: Likewise.
9804 * math/Makefile (libm-calls): Add w_scalbln.
9805 * sysdeps/ieee754/flt-32/s_scalblnf.c:
9806 Remove weak_alias for corresponding scalbln function.
9807 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9808 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9809 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9810 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9811 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
9812 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9813 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
9814 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9815 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
9816 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
9817 Remove long_double_symbol for scalblnl function in libm, libc.
9818 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
9819 Add wrapper which checks for setting errno to ERANGE.
9820 Add long_double_symbol for scalblnl function in libm, libc.
9821 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
9822 Remove long_double_symbol for scalblnl in libm.
9823 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
9824 Add wrapper which checks for setting errno to ERANGE.
9825 Add long_double_symbol for scalblnl function in libm.
9826 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
9827 Do not use wrapper because of own implementation.
9829 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
9831 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
9832 3 bytes for __pad1 for x32.
9833 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
9835 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
9836 H.J. Lu <hongjiu.lu@intel.com>
9838 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
9839 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
9840 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9841 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9842 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9844 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
9847 * posix/regcomp.c (parse_expression): Deallocate partially
9848 constructed tree before returning error.
9849 * posix/Makefile.c (tests): Add bug-regex36.
9850 (generated): Add bug-regex36.mtrace.
9851 (tests-special): Add $(objpfx)bug-regex36-mem.out
9852 (bug-regex36-ENV): New variable.
9853 ($(objpfx)bug-regex36-mem.out): New rule.
9854 * posix/bug-regex36.c: New file.
9856 2014-06-19 Will Newton <will.newton@linaro.org>
9858 * malloc/malloc.c (systrim): If extra is zero then return
9861 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9863 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
9865 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
9867 * sysdeps/aarch64/strchr.S: New file.
9869 2014-06-18 Joseph Myers <joseph@codesourcery.com>
9872 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
9873 from arguments -2 or below.
9874 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9875 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9877 2014-06-18 Andreas Schwab <schwab@suse.de>
9880 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
9881 of a bracket expr not to run off the end of the string.
9882 * posix/Makefile (tests): Add tst-fnmatch3.
9883 * posix/tst-fnmatch3.c: New file.
9885 2014-06-18 Joseph Myers <joseph@codesourcery.com>
9887 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
9888 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9889 [$(cross-compiling) = no]: Likewise.
9890 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9891 [$(cross-compiling) = no]: Likewise.
9893 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9896 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
9897 double, adjusted for any remainder from the high double.
9898 * math/libm-test.inc (nearbyint): Add tests.
9901 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9903 * nptl/sysdeps/powerpc/Makefile: Moved ...
9904 * sysdeps/powerpc/nptl/Makefile: ... here.
9905 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
9906 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
9907 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
9908 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
9909 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
9910 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
9911 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
9912 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
9913 * nptl/sysdeps/powerpc/tls.h: Moved ...
9914 * sysdeps/powerpc/nptl/tls.h: ... here.
9916 2014-06-16 Joseph Myers <joseph@codesourcery.com>
9919 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
9920 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
9921 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
9922 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
9923 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
9924 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
9925 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
9926 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
9927 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
9929 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
9931 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9933 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
9935 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
9938 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
9941 2014-06-16 Florian Weimer <fweimer@redhat.com>
9944 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
9945 non-executed part of the test.
9947 2014-06-16 Andreas Schwab <schwab@suse.de>
9949 * string/bits/string2.h (strdup, strndup): Update feature guard.
9951 2014-06-14 David S. Miller <davem@davemloft.net>
9953 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9955 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
9957 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
9958 that was previously under [RESET_PID].
9959 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
9961 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
9962 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
9963 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
9964 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9965 (__libc_vfork): New strong alias.
9966 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
9968 2014-06-14 Andi Kleen <ak@linux.intel.com>
9970 * sysdeps/generic/elide.h: New file.
9972 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9974 * Makefile (installed-headers): Adjust path of pthread.h header.
9976 2014-06-13 Roland McGrath <roland@hack.frob.com>
9978 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
9979 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
9980 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
9981 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
9983 * nptl/sysdeps/s390/Makefile: Moved ...
9984 * sysdeps/s390/nptl/Makefile: ... here.
9985 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
9986 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
9987 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
9988 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
9989 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
9990 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
9991 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
9992 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
9993 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
9994 * sysdeps/s390/nptl/pthreaddef.h: ... here.
9995 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
9996 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
9997 * nptl/sysdeps/s390/tls.h: Moved ...
9998 * sysdeps/s390/nptl/tls.h: ... here.
10000 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
10001 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
10003 2014-06-13 David S. Miller <davem@davemloft.net>
10005 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
10006 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
10007 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
10008 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
10009 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
10010 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
10011 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
10012 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
10013 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
10014 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
10015 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
10016 Remove RESET_PID cpp guards.
10017 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
10018 Remove RESET_PID cpp guards.
10019 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
10021 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
10023 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
10026 2014-06-13 Andi Kleen <ak@linux.intel.com>
10028 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
10029 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
10030 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
10031 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
10032 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
10033 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
10034 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
10035 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
10036 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
10037 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
10038 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
10039 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
10040 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
10041 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
10042 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
10043 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
10044 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
10045 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
10046 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
10047 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
10049 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
10050 (pthread_rwlock_rdlock): Add elision.
10051 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
10052 (pthread_rwlock_wrlock): Add elision.
10053 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
10054 (pthread_rwlock_trywrlock): Add elision.
10055 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
10056 (pthread_rwlock_tryrdlock): Add elision.
10057 * nptl/pthread_rwlock_unlock.c: Include elide.h.
10058 (pthread_rwlock_tryrdlock): Add elision unlock.
10059 * nptl/sysdeps/pthread/pthread.h:
10060 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
10061 (PTHREAD_RWLOCK_INITIALIZER,
10062 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
10063 Handle new elision field.
10064 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
10065 * sysdeps/arm/nptl/bits/pthreadtypes.h
10066 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10067 * sysdeps/sh/nptl/bits/pthreadtypes.h
10068 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10069 * sysdeps/tile/nptl/bits/pthreadtypes.h
10070 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10071 * sysdeps/a/nptl/bits/pthreadtypes.h
10072 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10073 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10074 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10075 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10076 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10077 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
10078 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10079 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10080 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10081 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10082 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10083 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10084 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10085 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10086 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10087 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
10088 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10089 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
10090 (elision_init): Set try_xbegin to zero when no RTM.
10091 * sysdeps/x86/nptl/bits/pthreadtypes.h
10092 (pthread_rwlock_t): Change __pad1 to __rwelision.
10093 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10095 2014-06-13 Andi Kleen <ak@linux.intel.com>
10097 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
10098 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
10099 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
10100 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
10102 2014-06-13 Meador Inge <meadori@codesourcery.com>
10105 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
10106 that the cached result has been set before returning it.
10108 2014-06-12 Roland McGrath <roland@hack.frob.com>
10110 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
10111 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
10112 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
10113 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
10114 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
10115 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
10117 * nptl/sysdeps/sparc/Makefile: Moved ...
10118 * sysdeps/sparc/nptl/Makefile: ... here.
10119 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
10120 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
10121 * nptl/sysdeps/sparc/tls.h: Moved ...
10122 * sysdeps/sparc/nptl/tls.h: ... here.
10123 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
10124 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
10125 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
10126 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
10127 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
10128 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
10129 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
10130 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
10131 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
10132 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
10133 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
10134 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
10135 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
10136 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
10137 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
10138 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
10139 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
10140 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
10142 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
10143 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
10145 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
10146 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
10148 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
10149 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
10152 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10154 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
10155 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
10157 * sysdeps/pthread/posix-timer.h: Include <list.h>.
10158 (struct list_links): Type removed.
10159 (struct thread_node, struct timer_node): Replace struct list_links
10160 with struct list_head.
10161 (list_unlink_ip): Likewise.
10162 * sysdeps/pthread/timer_routines.c
10163 (timer_free_list, thread_free_list, thread_active_list): Likewise.
10164 (list_append, list_insbefore): Likewise.
10165 (list_init): Function removed.
10166 (thread_init, init_module): Use INIT_LIST_HEAD instead.
10167 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
10168 * sysdeps/pthread/Makefile: ... here, new file.
10170 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
10171 * sysdeps/nptl/Implies: ... here.
10172 * sysdeps/unix/sysv/linux/Implies: Add nptl.
10173 * nptl/sysdeps/pthread/list.h: Moved ...
10174 * include/list.h: ... here.
10175 * nptl/sysdeps/pthread/createthread.c: Moved ...
10176 * nptl/createthread.c: ... here.
10177 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
10178 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
10179 * nptl/pt-longjmp.c: ... here.
10180 * nptl/sysdeps/pthread/Makefile: Moved ...
10181 * sysdeps/nptl/Makefile: ... here.
10182 * nptl/sysdeps/pthread/Subdirs: Moved ...
10183 * sysdeps/nptl/Subdirs: ... here.
10184 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
10185 * sysdeps/nptl/aio_misc.h: ... here.
10186 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
10187 * sysdeps/nptl/bits/libc-lock.h: ... here.
10188 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
10189 * sysdeps/nptl/bits/libc-lockP.h: ... here.
10190 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
10191 * sysdeps/nptl/bits/stdio-lock.h: ... here.
10192 * nptl/sysdeps/pthread/configure: Moved ...
10193 * sysdeps/nptl/configure: ... here.
10194 * nptl/sysdeps/pthread/configure.ac: Moved ...
10195 * sysdeps/nptl/configure.ac: ... here.
10196 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
10197 * sysdeps/nptl/gai_misc.h: ... here.
10198 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
10199 * sysdeps/nptl/librt-cancellation.c: ... here.
10200 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
10201 * sysdeps/nptl/malloc-machine.h: ... here.
10202 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
10203 * sysdeps/nptl/pthread-functions.h: ... here.
10204 * nptl/sysdeps/pthread/pthread.h: Moved ...
10205 * sysdeps/nptl/pthread.h: ... here.
10206 * nptl/sysdeps/pthread/setxid.h: Moved ...
10207 * sysdeps/nptl/setxid.h: ... here.
10208 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
10209 * sysdeps/nptl/sigfillset.c: ... here.
10210 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
10211 * sysdeps/nptl/tcb-offsets.h: ... here.
10212 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
10213 * sysdeps/nptl/tst-mqueue8x.c: ... here.
10214 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
10215 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
10216 * nptl/sysdeps/pthread/allocalim.h: Moved ...
10217 * sysdeps/pthread/allocalim.h: ... here.
10218 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
10219 * sysdeps/pthread/bits/sigthread.h: ... here.
10220 * nptl/sysdeps/pthread/flockfile.c: Moved ...
10221 * sysdeps/pthread/flockfile.c: ... here.
10222 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
10223 * sysdeps/pthread/ftrylockfile.c: ... here.
10224 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
10225 * sysdeps/pthread/funlockfile.c: ... here.
10226 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
10227 * sysdeps/pthread/posix-timer.h: ... here.
10228 * nptl/sysdeps/pthread/timer_create.c: Moved ...
10229 * sysdeps/pthread/timer_create.c: ... here.
10230 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
10231 * sysdeps/pthread/timer_delete.c: ... here.
10232 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
10233 * sysdeps/pthread/timer_getoverr.c: ... here.
10234 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
10235 * sysdeps/pthread/timer_gettime.c: ... here.
10236 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
10237 * sysdeps/pthread/timer_routines.c: ... here.
10238 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
10239 * sysdeps/pthread/timer_settime.c: ... here.
10240 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
10241 * sysdeps/pthread/tst-timer.c: ... here.
10242 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
10243 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
10245 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
10246 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
10248 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
10249 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
10250 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
10251 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
10252 Update #include target.
10253 * nptl/sysdeps/i386/i686/Makefile: Moved ...
10254 * sysdeps/i386/i686/nptl/Makefile: ... here.
10255 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
10256 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
10257 Update #include target.
10258 * nptl/sysdeps/i386/i686/tls.h: Moved ...
10259 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
10260 * nptl/sysdeps/i386/Makefile: Moved ...
10261 * sysdeps/i386/nptl/Makefile: ... here.
10262 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
10263 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
10264 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
10265 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
10266 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
10267 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
10268 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
10269 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
10270 * sysdeps/i386/nptl/pthreaddef.h: ... here.
10271 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
10272 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
10273 * nptl/sysdeps/i386/tls.h: Moved ...
10274 * sysdeps/i386/nptl/tls.h: ... here.
10276 * sysdeps/sh/Makefile [$(subdir) = csu]
10277 (gen-as-const-headers): Add tcb-offsets.sym.
10278 * nptl/sysdeps/sh/Makefile: File removed.
10279 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
10280 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
10281 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
10282 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
10283 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
10284 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
10285 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
10286 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
10287 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
10288 * sysdeps/sh/nptl/pthreaddef.h: ... here.
10289 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
10290 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
10291 * nptl/sysdeps/sh/tls.h: Moved ...
10292 * sysdeps/sh/nptl/tls.h: ... here.
10293 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
10294 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
10295 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
10296 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
10297 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
10298 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
10299 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
10300 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
10301 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
10302 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
10303 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
10304 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
10305 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
10306 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
10307 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
10308 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
10309 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
10310 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
10311 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
10312 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
10313 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
10314 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
10315 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
10316 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
10317 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
10319 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
10320 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
10322 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
10323 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
10324 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
10325 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
10326 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
10327 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
10328 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
10329 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
10330 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
10331 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
10332 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
10333 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
10334 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
10335 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
10336 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
10337 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
10338 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
10339 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
10340 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
10342 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
10344 * posix/spawn_faction_addopen.c: Include string.h.
10346 2014-06-11 Roland McGrath <roland@hack.frob.com>
10348 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
10349 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
10350 * nptl/sysdeps/x86_64/Makefile: Moved ...
10351 * sysdeps/x86_64/nptl/Makefile: ... here.
10352 * nptl/sysdeps/x86_64/configure: Moved ...
10353 * sysdeps/x86_64/nptl/configure: ... here.
10354 * nptl/sysdeps/x86_64/configure.ac: Moved ...
10355 * sysdeps/x86_64/nptl/configure.ac: ... here.
10356 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
10357 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
10358 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
10359 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
10360 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
10361 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
10362 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
10363 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
10364 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
10365 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
10366 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
10367 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
10368 * nptl/sysdeps/x86_64/tls.h: Moved ...
10369 * sysdeps/x86_64/nptl/tls.h: ... here.
10370 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
10371 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
10372 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
10373 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
10375 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
10377 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10379 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10381 2014-06-11 Joseph Myers <joseph@codesourcery.com>
10383 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
10385 [POSIX] (off_t): Likewise.
10386 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
10387 [POSIX] (S_ISBLK): Require macro.
10388 [POSIX] (S_ISCHR): Likewise.
10389 [POSIX] (S_ISDIR): Likewise.
10390 [POSIX] (S_ISFIFO): Likewise.
10391 [POSIX] (S_ISREG): Likewise.
10392 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
10394 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
10396 [POSIX] (time_t): Likewise.
10397 [POSIX] (timer_t): Likewise.
10399 2014-06-11 Florian Weimer <fweimer@redhat.com>
10402 * posix/spawn_int.h (struct __spawn_action): Make the path string
10403 non-const to support deallocation.
10404 * posix/spawn_faction_addopen.c
10405 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
10406 * posix/spawn_faction_destroy.c
10407 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
10408 path in all spawn_do_open actions.
10409 * posix/tst-spawn.c (do_test): Exercise the copy operation in
10410 posix_spawn_file_actions_addopen.
10412 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
10414 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
10415 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
10416 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
10417 conditional code always true.
10418 (__libc_vfork): New alias.
10420 2014-06-11 Roland McGrath <roland@hack.frob.com>
10422 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10423 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
10425 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
10427 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10428 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
10430 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10431 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
10433 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10434 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
10436 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10438 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
10439 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
10440 multiarch strcmp for PPC64.
10441 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
10442 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
10443 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
10444 multiarch optimizations.
10445 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10446 (__libc_ifunc_impl_list): Likewise.
10448 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10450 * benchtests/scripts/validate_benchout.py: New script.
10451 * benchtests/Makefile (bench-func): Call it.
10452 * benchtests/scripts/benchout.schema.json: New file.
10454 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
10456 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
10457 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
10458 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
10459 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
10460 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
10461 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
10462 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
10463 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
10464 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
10465 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
10466 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
10467 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
10468 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
10469 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
10470 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
10471 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
10472 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
10474 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
10476 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
10478 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
10479 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
10481 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
10483 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
10485 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
10487 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
10489 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
10490 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
10492 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
10494 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
10496 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
10498 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
10500 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
10501 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
10503 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
10505 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
10507 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
10509 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
10511 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
10513 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
10515 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
10516 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
10518 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
10520 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
10522 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
10524 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
10526 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
10528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
10530 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
10531 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
10533 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
10535 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
10537 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
10539 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
10541 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
10542 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
10544 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
10546 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
10548 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
10549 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
10551 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
10552 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
10554 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
10556 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
10558 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
10560 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
10562 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
10564 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
10566 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
10567 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
10569 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
10571 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
10573 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
10575 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
10576 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
10577 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
10578 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
10579 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
10581 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
10583 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
10584 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
10585 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
10586 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
10587 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
10588 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
10589 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
10590 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
10591 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
10592 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
10593 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
10594 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
10595 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
10597 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
10598 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
10600 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
10601 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
10602 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
10603 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
10605 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
10606 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
10607 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
10608 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
10609 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
10610 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
10611 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
10613 2014-06-10 Wilco <wdijkstr@arm.com>
10615 * math/test-fenv-return.c: New file.
10616 * math/Makefile: Add new test test-fenv-return.
10618 2014-06-10 Joseph Myers <joseph@codesourcery.com>
10621 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
10622 when x - 1 is zero.
10623 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
10624 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
10625 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
10626 0.0L for an argument of 1.0L.
10627 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
10629 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
10630 value when x - 1 is zero.
10631 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
10632 * sysdeps/i386/fpu/libm-test-ulps: Update.
10633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10635 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
10638 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
10640 2014-06-09 Roland McGrath <roland@hack.frob.com>
10642 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
10643 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
10645 2014-06-09 Roland McGrath <roland@hack.frob.com>
10647 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10648 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
10650 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10651 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
10653 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10654 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
10656 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10657 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
10659 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
10660 if not already defined.
10661 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
10662 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
10663 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
10664 (TLS_INIT_TP): Use it.
10665 (TLS_DEFINE_INIT_TP): New macro.
10666 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
10668 2014-06-09 Joseph Myers <joseph@codesourcery.com>
10670 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
10672 [POSIX] (IXANY): Likewise.
10673 [POSIX] (OLCUC): Likewise.
10674 [POSIX || POSIX2008] (CBAUD): Do not allow.
10675 [POSIX || POSIX2008] (DEFECHO): Likewise.
10676 [POSIX || POSIX2008] (ECHOCTL): Likewise.
10677 [POSIX || POSIX2008] (ECHOKE): Likewise.
10678 [POSIX || POSIX2008] (ECHOPRT): Likewise.
10679 [POSIX || POSIX2008] (EXTA): Likewise.
10680 [POSIX || POSIX2008] (EXTB): Likewise.
10681 [POSIX || POSIX2008] (FLUSHO): Likewise.
10682 [POSIX || POSIX2008] (LOBLK): Likewise.
10683 [POSIX || POSIX2008] (PENDIN): Likewise.
10684 [POSIX || POSIX2008] (SWTCH): Likewise.
10685 [POSIX || POSIX2008] (VDISCARD): Likewise.
10686 [POSIX || POSIX2008] (VDSUSP): Likewise.
10687 [POSIX || POSIX2008] (VLNEXT): Likewise.
10688 [POSIX || POSIX2008] (VREPRINT): Likewise.
10689 [POSIX || POSIX2008] (VSTATUS): Likewise.
10690 [POSIX || POSIX2008] (VWERASE): Likewise.
10691 (B*): Change to B[0123456789]*.
10692 * conform/data/time.h-data [POSIX || UNIX98]
10693 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
10694 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10695 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
10696 [POSIX] (tm_*): Do not allow.
10698 2014-06-07 Joseph Myers <joseph@codesourcery.com>
10700 * Makefile (install): Don't set LANGUAGE.
10701 * Makefile.in (install): Likewise.
10702 * assert/Makefile (test-assert-ENV): Remove variable.
10703 (test-assert-perr-ENV): Likewise.
10704 * elf/Makefile (neededtest4-ENV): Likewise.
10705 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10706 [$(cross-compiling) = no]: Don't set LANGUAGE.
10707 * io/ftwtest-sh (LANG): Remove variable.
10708 * libio/Makefile (tst-widetext-ENV): Likewise.
10709 * manual/install.texi (Running make install): Don't refer to
10710 environment settings for make install.
10711 * INSTALL: Regenerated.
10712 * nptl/tst-tls6.sh: Don't set LANG.
10713 * posix/globtest.sh (LANG): Remove variable.
10714 * string/Makefile (tester-ENV): Likewise.
10715 (inl-tester-ENV): Likewise.
10716 (noinl-tester-ENV): Likewise.
10717 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10718 [$(cross-compiling) = no]: Don't set LANGUAGE.
10719 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
10720 without explicit environment settings.
10722 2014-06-06 Roland McGrath <roland@hack.frob.com>
10724 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
10725 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
10726 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
10727 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
10729 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
10731 * crypt/crypt-private.h [DOS]: Add some includes taken from the
10732 other files in the crypt directory.
10733 * crypt/crypt.c: Remove duplicate includes.
10734 * crypt/crypt-entry.c: Likewise.
10735 * crypt/crypt_util.c: Likewise.
10737 2014-06-06 Joseph Myers <joseph@codesourcery.com>
10739 * Makeconfig (run-program-env): New variable.
10740 (run-program-prefix-before-env): Likewise.
10741 (run-program-prefix-after-env): Likewise.
10742 (run-program-prefix): Define in terms of new variables.
10743 (built-program-cmd-before-env): New variable.
10744 (built-program-cmd-after-env): Likewise.
10745 (built-program-cmd): Define in terms of new variables.
10746 (test-program-prefix-before-env): New variable.
10747 (test-program-prefix-after-env): Likewise.
10748 (test-program-prefix): Define in terms of new variables.
10749 (test-program-cmd-before-env): New variable.
10750 (test-program-cmd-after-env): Likewise.
10751 (test-program-cmd): Define in terms of new variables.
10752 * Rules (make-test-out): Use $(run-program-env).
10753 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
10754 (help): Do not mention environment variables. Mention
10755 --timeoutfactor option.
10756 (timeoutfactor): New variable.
10757 (blacklist_exports): Remove function.
10758 (exports): Remove variable.
10759 (command): Do not include ${exports}.
10760 * manual/install.texi (Configuring and compiling): Do not mention
10761 test wrappers preserving environment variables. Mention that last
10762 assignment to a variable must take precedence.
10763 * INSTALL: Regenerated.
10764 * benchtests/Makefile (run-bench): Use $(run-program-env).
10765 * catgets/Makefile ($(objpfx)test1.cat): Use
10766 $(built-program-cmd-before-env), $(run-program-env) and
10767 $(built-program-cmd-after-env).
10768 ($(objpfx)test2.cat): Do not specify environment variables
10770 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
10771 $(run-program-env) and $(built-program-cmd-after-env).
10772 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
10773 $(run-program-env) and $(test-program-cmd-after-env).
10774 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
10776 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
10777 run_program_env and test_program_cmd_after_env arguments.
10778 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
10779 * elf/tst-pathopt.sh: Use run_program_env argument.
10780 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
10781 $(test-wrapper-env) and $(run-program-env).
10782 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
10783 run_program_env arguments.
10784 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
10785 * intl/Makefile ($(objpfx)tst-gettext.out): Use
10786 $(test-program-prefix-before-env), $(run-program-env) and
10787 $(test-program-prefix-after-env).
10788 ($(objpfx)tst-gettext2.out): Likewise.
10789 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
10790 run_program_env and test_program_prefix_after_env arguments.
10791 * intl/tst-gettext2.sh: Likewise.
10792 * intl/tst-gettext4.sh: Do not set environment variables
10794 * intl/tst-gettext6.sh: Likewise.
10795 * intl/tst-translit.sh: Likewise.
10796 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
10797 $(test-program-prefix-before-env), $(run-program-env) and
10798 $(test-program-prefix-after-env).
10799 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
10800 run_program_env and test_program_prefix_after_env arguments.
10801 * math/Makefile (run-regen-ulps): Use $(run-program-env).
10802 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
10803 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
10804 explicitly with each use of ${test_wrapper_env}.
10805 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
10806 $(test-program-prefix-before-env), $(run-program-env) and
10807 $(test-program-prefix-after-env).
10808 * posix/tst-getconf.sh: Do not set environment variables
10810 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
10811 run_program_env and test_program_prefix_after_env arguments.
10812 * stdio-common/tst-printf.sh: Do not set environment variables
10814 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
10815 $(test-program-prefix-before-env), $(run-program-env) and
10816 $(test-program-prefix-after-env).
10817 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
10818 run_program_env and test_program_prefix_after_env arguments.
10819 Split $test calls into $test_pre and $test.
10820 * timezone/Makefile (build-testdata): Use
10821 $(built-program-cmd-before-env), $(run-program-env) and
10822 $(built-program-cmd-after-env).
10824 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10826 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
10827 strlen for non SHARED builds.
10829 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10831 * nptl/allocatestack.c (check_list): Inlined function...
10832 (__reclaim_stacks): ... here.
10834 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
10837 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10840 2014-06-05 Joseph Myers <joseph@codesourcery.com>
10842 * Rules (make-test-out): Include
10843 LOCPATH=$(common-objpfx)localedata in default environment.
10844 * debug/Makefile (tst-chk1-ENV): Remove variable.
10845 (tst-chk2-ENV): Likewise.
10846 (tst-chk3-ENV): Likewise.
10847 (tst-chk4-ENV): Likewise.
10848 (tst-chk5-ENV): Likewise.
10849 (tst-chk6-ENV): Likewise.
10850 (tst-lfschk1-ENV): Likewise.
10851 (tst-lfschk2-ENV): Likewise.
10852 (tst-lfschk3-ENV): Likewise.
10853 (tst-lfschk4-ENV): Likewise.
10854 (tst-lfschk5-ENV): Likewise.
10855 (tst-lfschk6-ENV): Likewise.
10856 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
10857 (tst-iconv7-ENV): Likewise.
10858 * intl/Makefile (LOCPATH-ENV): Likewise.
10859 (tst-codeset-ENV): Likewise.
10860 (tst-gettext3-ENV): Likewise.
10861 (tst-gettext5-ENV): Likewise.
10862 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
10863 (tst-fopenloc-ENV): Likewise.
10864 (tst-fgetws-ENV): Remove variable.
10865 (tst-ungetwc1-ENV): Likewise.
10866 (tst-ungetwc2-ENV): Likewise.
10867 (bug-ungetwc2-ENV): Likewise.
10868 (tst-swscanf-ENV): Likewise.
10869 (bug-ftell-ENV): Likewise.
10870 (tst-fgetwc-ENV): Likewise.
10871 (tst-fseek-ENV): Likewise.
10872 (tst-ftell-partial-wide-ENV): Likewise.
10873 (tst-ftell-active-handler-ENV): Likewise.
10874 (tst-ftell-append-ENV): Likewise.
10875 * posix/Makefile (tst-fnmatch-ENV): Likewise.
10876 (tst-regexloc-ENV): Likewise.
10877 (bug-regex1-ENV): Likewise.
10878 (tst-regex-ENV): Likewise.
10879 (tst-regex2-ENV): Likewise.
10880 (bug-regex5-ENV): Likewise.
10881 (bug-regex6-ENV): Likewise.
10882 (bug-regex17-ENV): Likewise.
10883 (bug-regex18-ENV): Likewise.
10884 (bug-regex19-ENV): Likewise.
10885 (bug-regex20-ENV): Likewise.
10886 (bug-regex22-ENV): Likewise.
10887 (bug-regex23-ENV): Likewise.
10888 (bug-regex25-ENV): Likewise.
10889 (bug-regex26-ENV): Likewise.
10890 (bug-regex30-ENV): Likewise.
10891 (bug-regex32-ENV): Likewise.
10892 (bug-regex33-ENV): Likewise.
10893 (bug-regex34-ENV): Likewise.
10894 (bug-regex35-ENV): Likewise.
10895 (tst-rxspencer-ENV): Likewise.
10896 (tst-rxspencer-no-utf8-ENV): Likewise.
10897 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
10898 (tst-sscanf-ENV): Likewise.
10899 (tst-swprintf-ENV): Likewise.
10900 (tst-swscanf-ENV): Likewise.
10901 (test-vfprintf-ENV): Likewise.
10902 (scanf13-ENV): Likewise.
10903 (bug14-ENV): Likewise.
10904 (tst-grouping-ENV): Likewise.
10905 * stdlib/Makefile (tst-strtod-ENV): Likewise.
10906 (tst-strtod3-ENV): Likewise.
10907 (tst-strtod4-ENV): Likewise.
10908 (tst-strtod5-ENV): Likewise.
10909 (testmb2-ENV): Likewise./
10910 * string/Makefile (tst-strxfrm-ENV): Likewise.
10911 (tst-strxfrm2-ENV): Likewise.
10912 (bug-strcoll1-ENV): Likewise.
10913 (test-strcasecmp-ENV): Likewise.
10914 (test-strncasecmp-ENV): Likewise.
10915 * time/Makefile (tst-strptime-ENV): Likewise.
10916 (tst-ftime_l-ENV): Likewise.
10917 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
10918 (tst-mbrtowc-ENV): Likewise.
10919 (tst-wcrtomb-ENV): Likewise.
10920 (tst-mbrtowc2-ENV): Likewise.
10921 (tst-c16c32-1-ENV): Likewise.
10922 (tst-mbsnrtowcs-ENV): Likewise.
10924 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
10926 * manual/resource.texi (How to get information about the memory
10927 subsystem?): Fix typo.
10928 Reported by Peon de la Parra Ivan <peon@keba.com>
10930 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
10933 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
10934 (pthread_spin_lock): Branch out of spin loop to proper location.
10935 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
10936 (pthread_spin_lock): Likewise.
10938 * nptl/tst-spin4.c: New test.
10939 * nptl/Makefile (tests): Add tst-spin4.
10941 2014-06-03 Andreas Schwab <schwab@suse.de>
10944 * resolv/res_send.c (send_dg): Reload file descriptor after
10947 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
10949 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10951 2014-06-03 Richard Henderson <rth@redhat.com>
10953 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
10954 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
10955 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
10956 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
10957 in the SAVE_PID block.
10958 (__libc_vfork): New alias.
10959 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
10961 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
10962 child in registers, not on the stack. Remove RESET_PID conditionals.
10963 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
10965 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
10967 * sysdeps/aarch64/libm-test-ulps: Regenerate.
10969 2014-06-03 Wilco <wdijkstr@arm.com>
10971 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
10972 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
10973 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10974 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
10975 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
10978 2014-06-03 Wilco <wdijkstr@arm.com>
10980 * sysdeps/aarch64/fpu/math_private.h
10981 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
10982 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
10983 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
10984 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10987 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10989 * crypt/crypt-private.h: Include ufc-crypt.h.
10990 (__b64_from_24bit): Declare extern.
10991 * crypt/crypt_util.c(__b64_from_24bit): New function.
10992 (b64t): New static const variable.
10993 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
10994 (b64t): Remove variable.
10995 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
10996 * crypt/sha256-crypt.c: Include crypt-private.h.
10997 (b64t): Remove variable.
10998 (__sha256_crypt_r): Remove b64_from_24bit and replace
10999 with __b64_from_24bit.
11000 * crypt/sha512-crypt.c: Likewise.
11002 2014-06-02 Roland McGrath <roland@hack.frob.com>
11004 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
11005 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
11006 Label the code __libc_vfork rather than __vfork.
11007 [!NOT_IN_libc] (vfork): Define as weak alias.
11008 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
11009 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
11010 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
11012 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11014 * malloc/malloc.c (malloc_info): Fix format specifier for
11017 2014-06-02 Wilco <wdijkstr@arm.com>
11019 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
11022 2014-06-02 Wilco <wdijkstr@arm.com>
11025 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
11026 Rewrite to reduce FPCR/FPSR accesses.
11028 2014-06-01 David S. Miller <davem@davemloft.net>
11030 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11032 2014-05-31 David S. Miller <davem@davemloft.net>
11034 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
11035 to occur in round to nearest mode when |x| >= 2.0
11037 2014-05-30 Richard Henderson <rth@twiddle.net>
11039 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
11040 (PSEUDO_RET_NOERRNO): Remove.
11041 (ret): Don't redefine.
11042 (ret_NOERRNO): Define in terms of ret.
11043 (ret_ERRVAL): Likewise.
11045 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
11046 use of PSEUDO_RET; perform the error check directly.
11048 2014-05-30 Marko Myllynen <myllynen@redhat.com>
11050 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
11053 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11055 * malloc/malloc (malloc_info): Fix formatting.
11057 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11058 Roland McGrath <roland@hack.frob.com>
11060 * malloc/malloc (malloc_info): Also print mmapped statistics.
11062 2014-05-30 Roland McGrath <roland@hack.frob.com>
11064 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
11065 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
11067 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
11069 * malloc/malloc.c (malloc_info): Inline mi_arena.
11071 2014-05-29 Richard Henderson <rth@twiddle.net>
11073 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
11074 Remove comma before expanding ASM_ARGS_##nr.
11075 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
11076 Make _x0 a strict output; make _x8 a strict input; adjust expansion
11078 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
11079 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
11080 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
11081 (ASM_ARGS_1): Add leading comma.
11083 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
11084 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
11085 to __errno_location.
11086 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
11087 Remove the expected plt for __errno_location.
11089 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11090 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
11093 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11094 Always allocate 64 bytes of stack frame. Use ldp/stp to create
11095 it and break it down.
11096 (DOCARGS_0, DOCARGS_1): Do nothing.
11097 (DOCARGS_2): Update to store into the new stack frame.
11098 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
11099 (UNDOCARGS_1): Update to restore from the new stack frame.
11100 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
11101 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
11103 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11104 (SINGLE_THREAD_P): New parameter for result regno.
11105 (PSEUDO): Update to match; use cbz instead of beq.
11107 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11108 Use ENTRY to define the _nocancel entry point. Share the syscall
11109 and syscall error check paths with the cancel path.
11112 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
11113 whitespace; tabs before and after asm mnemonics.
11115 2014-05-29 Eric Wong <normalperson@yhbt.net>
11118 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11119 Call fstat64 or stat64 internally, depending on arguments passed.
11120 Replace stat buffer argument with file descriptor argument.
11121 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
11122 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11123 Pass fd to __internal_statvfs instead of calling fstat64.
11124 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
11125 Pass fd to __internal_statvfs64 instead of calling fstat64.
11126 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
11127 Pass -1 to __internal_statvfs instead of calling stat64.
11128 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
11129 Pass -1 to __internal_statvfs64 instead of calling stat64.
11131 2014-05-28 Roland McGrath <roland@hack.frob.com>
11133 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
11134 that was previously under [RESET_PID].
11135 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
11137 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
11138 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
11140 2014-05-27 Roland McGrath <roland@hack.frob.com>
11142 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
11144 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
11145 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
11147 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
11149 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
11151 2014-05-27 Andreas Schwab <schwab@suse.de>
11153 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
11155 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
11156 * elf/rtld.c (init_tls, dl_main): Likewise.
11157 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
11158 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
11159 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
11160 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
11161 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
11162 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
11163 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
11164 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
11165 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
11166 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
11167 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
11168 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
11169 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
11170 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
11171 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
11172 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
11173 * sysdeps/generic/tls.h: Update description.
11175 2014-05-27 Will Newton <will.newton@linaro.org>
11178 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
11179 and restore r2 rather than just restoring.
11181 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11184 * libio/tst-ftell-append.c: New test case.
11185 * libio/Makefile (tests): Add test case.
11186 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
11188 * libio/wfileops.c (do_ftell_wide): Likewise.
11190 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11192 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11194 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
11196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
11197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11198 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
11199 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
11200 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
11201 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
11202 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
11203 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
11204 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
11207 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
11210 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
11211 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
11212 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
11213 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
11214 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
11216 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
11217 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
11219 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
11221 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
11223 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
11224 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
11225 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
11227 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
11228 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
11229 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
11230 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
11232 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
11234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
11235 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
11237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
11238 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
11240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
11241 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
11245 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
11248 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
11252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
11253 conditional [RESET_PID].
11254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11255 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
11257 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
11260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
11262 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11263 (__libc_vfork): New strong alias.
11264 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
11266 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
11269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
11271 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
11272 (__libc_vfork): New strong alias.
11273 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
11275 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
11278 2014-05-26 Carlos O'Donell <carlos@redhat.com>
11280 * malloc/malloc.c (mi_arena): New function.
11281 (malloc_info): Remove nested function mi_arena. Call non-nosted
11284 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11286 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
11288 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
11289 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
11290 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
11291 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
11292 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
11293 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
11294 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
11296 2014-05-26 Andreas Schwab <schwab@suse.de>
11299 * locale/programs/repertoire.c (repertoire_read): Add slash
11300 between I18NPATH element and file name.
11301 * locale/programs/locfile.c (locfile_read): Likewise.
11303 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11305 * nptl/pthread_mutexattr_settype.c
11306 (__pthread_mutexattr_settype):
11307 Disable lock elision for PTHREAD_MUTEX_NORMAL.
11309 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11311 * nptl/tst-mutex5 (do_test):
11312 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
11314 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11316 * benchtests/README: Document 'init' directive.
11317 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
11319 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
11320 (parse_file): Recognize 'init' directive.
11322 2014-05-26 Kyle McMartin <kyle@redhat.com>
11325 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
11326 alignment of struct pthread.
11328 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11331 * nscd/netgroupcache.c (addgetnetgrentX): Look for
11332 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11333 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
11334 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11336 2014-05-25 Richard Henderson <rth@twiddle.net>
11338 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11339 (SINGLE_THREAD_P_PIC): Remove.
11340 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
11341 (SINGLE_THREAD_P_PIC): Remove.
11343 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
11344 branch to syscall error ...
11345 (PSEUDO): ... here.
11346 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
11347 from __local_syscall_error to .Lsyscall_error.
11348 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
11349 (SYSCALL_ERROR): Update label name.
11351 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11352 Do not use DOARGS/UNDOARGS.
11353 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
11354 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
11355 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
11356 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
11357 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
11359 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
11362 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
11363 define if !NOT_IN_libc.
11364 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
11365 define with non-default symbol versions.
11367 2014-05-23 Richard Henderson <rth@twiddle.net>
11369 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
11370 (vfork, __vfork): Define via compat_symbol.
11372 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
11373 [!HAVE_IFUNC] (vfork_compat): Remove.
11374 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
11376 2014-05-23 Joseph Myers <joseph@codesourcery.com>
11379 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
11380 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
11383 2014-05-23 Richard Henderson <rth@twiddle.net>
11385 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
11386 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
11387 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
11388 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
11390 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
11391 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
11392 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
11393 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
11394 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
11395 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
11396 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
11397 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
11398 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
11399 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
11400 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
11401 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
11402 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
11403 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
11404 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
11405 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
11406 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
11407 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
11408 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
11409 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
11410 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
11411 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
11412 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
11413 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
11414 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
11415 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
11416 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
11417 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
11418 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
11419 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
11420 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
11421 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
11422 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
11423 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
11424 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
11425 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
11426 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
11427 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
11428 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
11429 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
11430 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
11431 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
11432 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
11433 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
11434 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
11435 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
11436 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
11437 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
11438 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
11439 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
11440 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
11441 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
11442 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
11443 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
11444 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
11445 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
11447 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
11448 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
11449 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
11450 before exiting on error.
11451 (__libc_vfork): New strong alias.
11452 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
11453 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
11455 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
11456 that was previously under [RESET_PID].
11457 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
11459 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
11461 2014-05-23 Joseph Myers <joseph@codesourcery.com>
11464 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
11465 value when x - 1 is zero.
11466 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
11467 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11468 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
11469 0.0L for an argument of 1.0L.
11470 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
11472 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
11473 value when x - 1 is zero.
11474 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
11475 * sysdeps/i386/fpu/libm-test-ulps: Update.
11476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11478 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
11480 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
11481 alphasort and versionsort.
11483 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11485 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
11487 [copysignf]: Likewise.
11489 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11491 * crypt/md5-crypt.c: Fix formatting.
11493 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11495 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
11496 (b64_from_24bit): New function.
11498 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11500 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
11501 libc_hidden_builtin_def to ifunc.
11502 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11503 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
11505 2014-05-21 Roland McGrath <roland@hack.frob.com>
11507 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
11508 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
11510 2014-05-21 Joseph Myers <joseph@codesourcery.com>
11512 * nscd/Depend (linuxthreads): Remove.
11514 * resolv/Depend (linuxthreads): Remove.
11515 * rt/Depend (linuxthreads): Remove.
11517 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
11518 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
11519 $(common-objpfx)elf/.
11520 (link-libc-before-gnulib): Likewise.
11521 (elfobjdir): Remove variable.
11522 * Makefile (install): Use $(elf-objpfx) instead of
11523 $(common-objpfx)elf/.
11524 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
11526 (link-libc-deps): Likewise.
11527 ($(common-objpfx)libc.so): Likewise.
11528 ($(common-objpfx)linkobj/libc.so): Likewise.
11529 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
11530 instead of $(common-objpfx)elf/.
11531 (symbolic-link-list): Likewise.
11532 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11533 [$(cross-compiling) = no]: Likewise.
11534 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
11536 (static-gnulib-arch): Likewise.
11537 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11538 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
11539 $(common-objpfx)elf/.
11541 2014-05-21 Richard Henderson <rth@redhat.com>
11543 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11544 (SINGLE_THREAD_P): Use the correct width load. Fold
11545 into the ldr offset.
11547 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
11548 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
11550 2014-05-20 Joseph Myers <joseph@codesourcery.com>
11552 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
11553 (libgcc_s_resume): Use __attribute_used__.
11554 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
11557 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11559 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
11560 optimization when used with float constants.
11562 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11564 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
11567 * locale/nl_langinfo_l.c: Make direct reference to every
11568 _nl_current_CATEGORY symbol.
11569 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
11570 (tests-static): Add tst-langinfo-static.
11571 (tests-special): Add tst-langinfo-static.out.
11572 ($(objpfx)tst-langinfo.out): Redirect output.
11573 ($(objpfx)tst-langinfo-static.out): New.
11574 * localedata/tst-langinfo.sh: Send output to stdout.
11575 * localedata/tst-langinfo-static.c: New file.
11578 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
11579 when the shift amount is modulo the limb size.
11581 2014-05-20 Richard Henderson <rth@redhat.com>
11584 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
11585 Change type of sa_flags from unsigned int to int.
11588 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
11590 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
11592 2014-05-20 Will Newton <will.newton@linaro.org>
11594 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11595 Test the return value of the system call in the nocancel case.
11597 2014-05-20 Will Newton <will.newton@linaro.org>
11598 Yvan Roux <yvan.roux@linaro.org>
11600 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
11601 #include of asm/ptrace.h.
11602 (PTRACE_GET_THREAD_AREA): Remove #undef.
11603 (PTRACE_GETHBPREGS): Likewise.
11604 (PTRACE_SETHBPREGS): Likewise.
11605 (struct user_regs_struct): New structure.
11606 (struct user_fpsimd_struct): New structure.
11607 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
11608 #include of asm/ptrace.h and second #include of sys/user.h.
11609 (PTRACE_GET_THREAD_AREA): Remove #undef.
11610 (PTRACE_GETHBPREGS): Likewise.
11611 (PTRACE_SETHBPREGS): Likewise.
11612 (ELF_NGREG): Use new struct user_regs_struct.
11613 (elf_fpregset_t): Use new struct user_fpsimd_struct.
11615 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11617 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
11618 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
11620 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
11623 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
11624 membar to avoid block loads/stores to overlap previous stores.
11626 2014-05-17 Richard Henderson <rth@redhat.com>
11628 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
11629 Create the __##syscall_name##_nocancel entry point.
11630 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
11631 Remove; let the sysdep-cancel.h code create it.
11633 2014-05-17 David S. Miller <davem@davemloft.net>
11635 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
11636 Protect with __USE_GNU.
11637 (TIOCSET_TEMPT): Likewise.
11638 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11639 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
11640 these are already provided in bits/ioctl-types.h
11642 2014-05-16 Roland McGrath <roland@hack.frob.com>
11644 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
11645 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
11647 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
11648 Use wait4 regardless of [__NR_waitpid].
11650 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
11653 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11654 (_FP_NANSIGN_Q): Set the quiet bit.
11656 2014-05-16 Joseph Myers <joseph@codesourcery.com>
11658 * benchtests/Makefile
11659 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
11660 not $(common-objpfx)math/libm.so.
11661 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
11662 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
11663 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
11664 $(common-objpfx)dlfcn/libdl.so.
11665 ($(objpfx)tst-audit8): Depend on $(libm), not
11666 $(common-objpfx)math/libm.so.
11667 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
11668 not $(common-objpfx)dlfcn/libdl.so.
11670 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11671 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
11672 [$(build-shared) = yes].
11673 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
11674 $(common-objpfx)nptl/libpthread.so.
11675 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
11676 $(common-objpfx)math/libm.so$(libm.so-version) or
11677 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
11678 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
11679 $(common-objpfx)dlfcn/libdl.so.
11680 * setjmp/Makefile (link-libm): Remove variable.
11681 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
11682 * stdio-common/Makefile (link-libm): Remove variable.
11683 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
11684 * stdlib/Makefile (link-libm): Remove variable.
11685 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
11686 ($(objpfx)tst-strtod-round): Likewise.
11687 ($(objpfx)tst-tininess): Likewise.
11688 ($(objpfx)tst-strtod-underflow): Likewise.
11689 ($(objpfx)tst-strtod6): Likewise.
11690 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
11691 $(libdl), not $(common-objpfx)nptl/libpthread.so and
11692 $(common-objpfx)dlfcn/libdl.so.
11694 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11696 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
11697 BSD terminal modes definitions.
11699 2014-05-16 Roland McGrath <roland@hack.frob.com>
11701 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
11702 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
11704 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
11705 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
11706 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
11707 Don't do #include_next.
11708 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
11709 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
11710 Don't do #include_next.
11711 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
11712 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
11713 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
11714 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
11716 2014-05-16 Allan McRae <allan@archlinux.org>
11718 * po/sv.po: Update Swedish translation from translation project.
11720 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
11723 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
11726 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
11727 errno if the TIOCGPTN ioctl fails with an error different than
11729 * login/tst-ptsname.c: New file.
11730 * login/Makefile (tests): Add tst-ptsname.
11733 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
11736 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11739 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
11740 herrno to return EAI_AGAIN.
11742 2014-05-14 Roland McGrath <roland@hack.frob.com>
11744 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
11745 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
11746 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
11747 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
11748 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
11749 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
11750 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
11751 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
11752 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
11753 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
11754 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
11755 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
11756 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
11757 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
11758 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
11759 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
11760 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
11761 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
11762 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
11763 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
11764 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
11765 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
11766 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
11767 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
11768 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
11769 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
11770 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
11771 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
11772 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
11773 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
11774 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
11775 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
11776 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
11777 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
11778 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11780 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
11781 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
11782 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
11783 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
11784 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
11785 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
11786 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
11787 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
11788 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
11789 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
11790 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
11791 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
11792 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
11793 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
11794 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
11795 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
11796 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
11797 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
11798 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
11799 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
11800 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
11801 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
11802 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
11803 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
11804 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
11805 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
11806 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
11807 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11809 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
11810 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
11811 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
11812 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
11813 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
11814 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
11815 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
11816 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
11817 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
11818 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
11819 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
11820 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
11821 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
11822 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
11823 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
11824 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
11825 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
11826 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
11827 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
11828 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11830 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
11831 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
11832 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
11834 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
11835 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
11836 (libpthread-sysdep_routines): Add elision-related stuff here instead.
11837 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
11838 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
11839 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
11840 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
11841 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
11842 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
11843 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
11844 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
11845 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
11846 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
11847 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
11848 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
11849 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
11850 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
11851 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
11852 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
11853 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
11854 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
11855 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
11856 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
11857 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
11858 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
11859 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
11860 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
11861 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
11862 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
11863 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
11864 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
11866 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
11867 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
11869 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
11870 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
11871 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
11872 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
11873 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
11874 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
11876 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
11877 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11879 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
11880 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11882 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
11883 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
11885 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
11886 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
11887 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
11888 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11890 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
11891 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
11892 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
11893 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
11894 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
11895 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
11896 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
11897 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11899 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
11900 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11902 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11904 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
11905 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
11906 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
11907 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
11908 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11910 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11912 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
11914 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
11915 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
11916 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
11917 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
11918 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
11919 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
11921 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
11922 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11924 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
11925 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11927 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
11928 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
11930 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
11931 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
11932 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
11933 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
11935 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
11936 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
11937 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
11938 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
11939 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
11940 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
11941 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
11942 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11944 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
11945 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11947 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11949 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
11950 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
11951 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
11952 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
11953 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11955 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11957 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
11959 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
11960 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
11961 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
11962 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
11963 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
11964 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
11965 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
11966 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
11967 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
11968 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
11970 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
11971 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11973 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
11974 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11976 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
11977 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
11979 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
11980 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
11981 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
11982 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
11983 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
11984 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11986 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
11987 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
11988 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
11989 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
11990 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
11991 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
11992 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
11993 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11995 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
11996 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11998 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12000 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
12001 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
12002 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
12003 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
12004 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12006 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12008 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
12010 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
12011 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
12012 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
12013 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
12014 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
12015 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
12016 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
12017 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
12018 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
12019 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
12020 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
12022 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
12023 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
12025 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
12026 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
12028 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
12029 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
12030 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
12031 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
12032 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
12033 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
12034 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
12035 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
12036 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
12037 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
12038 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
12039 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
12040 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
12041 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
12042 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
12043 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
12044 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
12045 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
12047 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
12048 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
12049 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
12050 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
12052 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
12053 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
12054 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
12055 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
12056 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
12057 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
12058 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
12059 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
12061 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
12062 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
12064 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
12065 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
12066 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
12067 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
12068 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
12069 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
12070 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
12071 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
12072 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
12073 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
12074 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
12075 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
12076 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
12077 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
12078 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
12079 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
12080 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
12082 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
12083 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
12084 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
12085 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
12086 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
12088 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
12089 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
12090 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
12091 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
12092 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
12093 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
12094 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
12095 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
12096 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
12097 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
12099 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
12100 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
12102 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
12103 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
12104 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
12105 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
12106 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
12107 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
12108 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
12109 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
12110 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
12111 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
12112 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
12113 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
12114 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
12115 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
12116 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
12118 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
12120 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12122 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12124 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12126 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
12128 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
12130 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12132 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
12134 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
12136 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
12137 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
12138 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
12139 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
12140 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
12141 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
12142 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
12143 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
12144 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
12145 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
12146 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
12147 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
12148 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
12149 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
12150 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
12152 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
12153 that was previously under [RESET_PID].
12154 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12155 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
12156 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
12158 * sysdeps/i386/nptl/Implies: New file.
12159 * sysdeps/x86_64/nptl/Implies: New file.
12160 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
12161 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
12162 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
12163 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
12165 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
12166 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12167 (__libc_vfork): New strong alias.
12168 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
12169 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
12171 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
12172 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12173 (__libc_vfork): New strong alias.
12174 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
12175 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
12177 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
12178 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12179 (__libc_vfork): New strong alias.
12180 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
12181 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
12182 * nptl/pt-vfork.c: New file.
12183 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
12184 (libpthread: GLIBC_2.20): New version set (empty).
12186 2014-05-14 Will Newton <will.newton@linaro.org>
12188 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
12191 2014-05-14 Joseph Myers <joseph@codesourcery.com>
12194 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
12195 arguments with exponent 65 or above.
12196 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
12197 arguments 0x1p113L or above.
12198 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
12199 to arguments 0x1p107L or above.
12200 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
12201 positive arguments with exponent 65 or above.
12202 * math/auto-libm-test-in: Add more tests of log1p.
12203 * math/auto-libm-test-out: Regenerated.
12206 * math/s_cacos.c (__cacos): Ensure zero real part of result from
12207 non-finite arguments is +0.
12208 * math/s_cacosf.c (__cacosf): Likewise.
12209 * math/s_cacosl.c (__cacosl): Likewise.
12210 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
12211 * sysdeps/i386/fpu/libm-test-ulps: Update.
12212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12215 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
12217 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12218 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
12219 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
12220 for explicit high bit of mantissa when testing for argument equal
12222 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
12223 * sysdeps/i386/fpu/libm-test-ulps: Update.
12224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12227 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
12228 (__erf): Scale by 16 instead of 8 in potentially underflowing
12229 case. Ensure exception if result actually underflows.
12230 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
12231 (__erff): Scale by 16 instead of 8 in potentially underflowing
12232 case. Ensure exception if result actually underflows.
12233 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
12234 (efx8): Remove variable.
12235 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12236 case. Ensure exception if result actually underflows.
12237 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
12238 (efx8): Remove variable.
12239 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12240 case. Ensure exception if result actually underflows.
12241 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
12242 (efx8): Remove variable.
12243 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12244 case. Ensure exception if result actually underflows.
12245 * math/auto-libm-test-in: Add more tests of erf.
12246 * math/auto-libm-test-out: Regenerated.
12248 2014-05-14 Andreas Schwab <schwab@suse.de>
12250 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
12251 Remove code conditionalized on USE___THREAD.
12253 * config.h.in (HAVE_PT_CHOWN): Define as 0.
12254 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
12257 2014-05-14 Joseph Myers <joseph@codesourcery.com>
12259 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
12260 Define unconditionally.
12261 (__ASSUME_O_CLOEXEC): Likewise.
12262 (__ASSUME_SOCK_CLOEXEC): Likewise.
12263 (__ASSUME_IN_NONBLOCK): Likewise.
12264 (__ASSUME_PIPE2): Likewise.
12265 (__ASSUME_EVENTFD2): Likewise.
12266 (__ASSUME_SIGNALFD4): Likewise.
12267 (__ASSUME_DUP3): Likewise.
12268 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12269 (__ASSUME_DUP3): Do not define.
12270 (__ASSUME_EVENTFD2): Likewise.
12271 (__ASSUME_IN_NONBLOCK): Likewise.
12272 (__ASSUME_O_CLOEXEC): Likewise.
12273 (__ASSUME_PIPE2): Likewise.
12274 (__ASSUME_SIGNALFD4): Likewise.
12275 (__ASSUME_SOCK_CLOEXEC): Likewise.
12276 (__ASSUME_UTIMES): Undefine.
12277 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12278 (__ASSUME_UTIMES): Do not define.
12279 (__ASSUME_O_CLOEXEC): Likewise.
12280 (__ASSUME_SOCK_CLOEXEC): Likewise.
12281 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
12282 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
12284 (__ASSUME_PIPE2): Likewise.
12285 (__ASSUME_EVENTFD2): Likewise.
12286 (__ASSUME_SIGNALFD4): Likewise.
12287 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
12288 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
12290 (__ASSUME_EVENTFD2): Likewise.
12291 (__ASSUME_SIGNALFD4): Likewise.
12292 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12293 (__ASSUME_32BITUIDS): Likewise.
12294 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12295 (__ASSUME_IPC64): Likewise.
12296 (__ASSUME_ST_INO_64_BIT): Likewise.
12297 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
12298 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
12299 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12300 (__ASSUME_UTIMES): Do not define.
12301 (__ASSUME_PSELECT): Likewise.
12302 (__ASSUME_PPOLL): Likewise.
12303 (__ASSUME_O_CLOEXEC): Likewise.
12304 (__ASSUME_SOCK_CLOEXEC): Likewise.
12305 (__ASSUME_IN_NONBLOCK): Likewise.
12306 (__ASSUME_PIPE2): Likewise.
12307 (__ASSUME_EVENTFD2): Likewise.
12308 (__ASSUME_SIGNALFD4): Likewise.
12309 (__ASSUME_DUP3): Likewise.
12310 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12311 (__ASSUME_UTIMES): Likewise.
12312 (__ASSUME_O_CLOEXEC): Likewise.
12313 (__ASSUME_SOCK_CLOEXEC): Likewise.
12314 (__ASSUME_IN_NONBLOCK): Likewise.
12315 (__ASSUME_PIPE2): Likewise.
12316 (__ASSUME_EVENTFD2): Likewise.
12317 (__ASSUME_SIGNALFD4): Likewise.
12318 (__ASSUME_DUP3): Likewise.
12319 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12320 (__ASSUME_UTIMES): Likewise.
12321 (__ASSUME_O_CLOEXEC): Likewise.
12322 (__ASSUME_SOCK_CLOEXEC): Likewise.
12323 (__ASSUME_IN_NONBLOCK): Likewise.
12324 (__ASSUME_PIPE2): Likewise.
12325 (__ASSUME_EVENTFD2): Likewise.
12326 (__ASSUME_SIGNALFD4): Likewise.
12327 (__ASSUME_DUP3): Likewise.
12328 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
12330 (__ASSUME_UTIMES): Likewise.
12331 (__ASSUME_EVENTFD2): Likewise.
12332 (__ASSUME_SIGNALFD4): Likewise.
12333 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12334 (__ASSUME_O_CLOEXEC): Likewise.
12335 (__ASSUME_SOCK_CLOEXEC): Likewise.
12336 (__ASSUME_IN_NONBLOCK): Likewise.
12337 (__ASSUME_PIPE2): Likewise.
12338 (__ASSUME_EVENTFD2): Likewise.
12339 (__ASSUME_SIGNALFD4): Likewise.
12340 (__ASSUME_DUP3): Likewise.
12341 (__ASSUME_UTIMES): Undefine.
12343 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
12344 feclearexcept. Remove symbol versioning code.
12345 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
12346 symbol versioning code.
12347 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
12348 symbol versioning code.
12349 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
12350 feupdateenv. Remove symbol versioning code.
12351 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
12352 fegetexceptflag. Remove symbol versioning code.
12353 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
12354 fesetexceptflag. Remove symbol versioning code.
12355 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
12356 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
12357 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
12358 (__posix_fadvise64_l32): Remove prototype.
12359 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
12362 2014-05-13 Roland McGrath <roland@hack.frob.com>
12364 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
12365 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
12366 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
12367 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
12369 2014-05-13 Sami Kerola <kerolasa@iki.fi>
12371 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
12372 current working directory
12374 2014-05-13 Roland McGrath <roland@hack.frob.com>
12376 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
12377 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
12378 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
12379 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
12380 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
12381 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
12382 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
12383 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
12384 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
12385 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
12386 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
12387 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
12388 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
12389 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
12390 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
12391 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
12392 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
12393 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
12394 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
12395 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
12396 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
12397 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
12398 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
12399 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
12400 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
12401 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
12402 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
12403 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
12404 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
12405 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
12406 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
12407 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
12408 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
12409 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
12410 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
12411 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
12412 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
12413 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
12414 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
12415 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
12416 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
12417 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
12419 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
12420 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
12422 * sysdeps/unix/sysv/linux/arm/Makefile
12423 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
12424 Add rt-aeabi_unwind_cpp_pr1.
12425 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
12426 Add nptl-aeabi_unwind_cpp_pr1.
12427 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
12428 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
12429 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
12430 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12431 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
12432 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12434 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
12435 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
12436 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
12437 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
12439 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
12440 Deconditionalize the code that was previously under [RESET_PID].
12441 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
12443 * sysdeps/generic/exit-thread.h: New file.
12444 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
12445 * include/unistd.h (__exit_thread): Remove declaration.
12446 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
12447 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
12448 * csu/libc-start.c: Include <exit-thread.h>.
12449 (LIBC_START_MAIN): Pass no argument to __exit_thread.
12450 * nptl/pthread_create.c: Include <exit-thread.h>.
12451 (start_thread): Call __exit_thread in place of __exit_thread_inline.
12452 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
12453 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
12454 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
12455 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
12456 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
12457 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
12458 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
12459 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
12460 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
12461 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
12462 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
12463 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
12464 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
12465 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
12466 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
12467 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
12469 2014-05-13 Andreas Schwab <schwab@suse.de>
12471 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
12473 2014-05-12 Joseph Myers <joseph@codesourcery.com>
12475 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12476 (__ASSUME_UTIMES): Do not condition on kernel version.
12477 (__ASSUME_PSELECT): Define unconditionally.
12478 (__ASSUME_PPOLL): Likewise.
12479 (__ASSUME_ATFCTS): Likewise.
12480 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
12481 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
12482 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
12483 (__ASSUME_UTIMENSAT): Define unconditionally.
12484 (__ASSUME_PRIVATE_FUTEX): Likewise.
12485 (__ASSUME_FALLOCATE): Likewise.
12486 (__ASSUME_O_CLOEXEC): Likewise.
12487 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
12488 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
12489 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
12490 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
12491 (__ASSUME_IN_NONBLOCK): Likewise.
12492 (__ASSUME_PIPE2): Likewise.
12493 (__ASSUME_EVENTFD2): Likewise.
12494 (__ASSUME_SIGNALFD4): Likewise.
12495 (__ASSUME_DUP3): Likewise.
12496 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12497 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
12498 (__ASSUME_AT_RANDOM): Likewise.
12499 (__ASSUME_PREADV): Likewise.
12500 (__ASSUME_PWRITEV): Likewise.
12501 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
12502 (__ASSUME_F_GETOWN_EX): Define unconditionally.
12503 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
12504 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12505 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
12506 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12507 (__ASSUME_O_CLOEXEC): Define unconditionally.
12508 (__ASSUME_PSELECT): Do not undefine conditionally.
12509 (__ASSUME_PPOLL): Likewise.
12510 (__ASSUME_ATFCTS): Likewise.
12511 (__ASSUME_SET_ROBUST_LIST): Likewise.
12512 (__ASSUME_UTIMENSAT): Likewise.
12513 (__ASSUME_FDATASYNC): Define unconditionally.
12514 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12515 (__ASSUME_SIGFRAME_V2): Likewise.
12516 )__ASSUME_EVENTFD2): Likewise.
12517 (__ASSUME_SIGNALFD4): Likewise.
12518 (__ASSUME_PSELECT): Do not undefine conditionally.
12519 (__ASSUME_PPOLL): Likewise.
12520 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12521 (__ASSUME_PSELECT): Define unconditionally.
12522 (__ASSUME_PPOLL): Likewise.
12523 (__ASSUME_O_CLOEXEC): Likewise.
12524 (__ASSUME_SOCK_CLOEXEC): Likewise.
12525 (__ASSUME_IN_NONBLOCK): Likewise.
12526 (__ASSUME_PIPE2): Likewise.
12527 (__ASSUME_EVENTFD2): Likewise.
12528 (__ASSUME_SIGNALFD4): Likewise.
12529 (__ASSUME_DUP3): Likewise.
12530 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12531 (__ASSUME_O_CLOEXEC): Likewise.
12532 (__ASSUME_SOCK_CLOEXEC): Likewise.
12533 (__ASSUME_IN_NONBLOCK): Likewise.
12534 (__ASSUME_PIPE2): Likewise.
12535 (__ASSUME_EVENTFD2): Likewise.
12536 (__ASSUME_SIGNALFD4): Likewise.
12537 (__ASSUME_DUP3): Likewise.
12538 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12539 (__ASSUME_EVENTFD2): Likewise.
12540 (__ASSUME_SIGNALFD4): Likewise.
12541 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12543 2014-05-12 Andreas Schwab <schwab@suse.de>
12546 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
12547 (_nss_nis_gethostbyname4_r): Return error if item length is larger
12548 than maximum RPC packet size.
12549 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
12550 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
12551 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
12552 (_nss_nis_getservbyport_r): Likewise.
12554 2014-05-12 Will Newton <will.newton@linaro.org>
12556 * malloc/Makefile (tests): Add tst-mallopt.
12557 * malloc/tst-mallopt.c: New file.
12559 2014-05-09 Roland McGrath <roland@hack.frob.com>
12561 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
12562 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
12564 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12566 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
12567 (tst-tlsmod6.so): Likewise.
12569 2014-05-09 Roland McGrath <roland@hack.frob.com>
12571 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
12573 2014-05-09 Joseph Myers <joseph@codesourcery.com>
12576 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
12577 and <dl-procinfo.h>.
12578 (__fegetenv): Save SSE state in envp->__eip if supported.
12579 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
12580 envp->__eip if supported.
12581 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
12582 and <dl-procinfo.h>.
12583 (__fesetenv): Always set __eip, __cs_selector, __opcode,
12584 __data_offset and __data_selector in environment to 0. Set SSE
12585 state if supported.
12586 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12588 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
12590 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
12592 2014-05-09 Will Newton <will.newton@linaro.org>
12594 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
12595 and libc_relro_required for ARM.
12596 * sysdeps/arm/preconfigure: Regenerate.
12598 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
12599 Stefan Liebler <stli@linux.vnet.ibm.com>
12601 * config.make.in (enable-lock-elision): New Makefile variable.
12602 * configure.ac: Likewise.
12603 * configure: Regenerate.
12604 * sysdeps/s390/configure.ac:
12605 Add check for gcc transactions support.
12606 * sysdeps/s390/configure: Regenerate.
12607 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
12608 Build elision files if enabled.
12609 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
12610 Add lock elision support for s390.
12611 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
12612 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
12613 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
12614 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12615 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12616 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
12617 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12619 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
12621 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
12623 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
12625 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
12626 (__lll_timedlock_elision, __lll_lock_elision)
12627 (__lll_unlock_elision, __lll_trylock_elision)
12628 (lll_timedlock_elision, lll_lock_elision)
12629 (lll_unlock_elision, lll_trylock_elision): Add.
12630 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12631 (pthread_mutex_t): Add lock elision support for s390.
12633 2014-05-14 Wilco <wdijkstr@arm.com>
12635 * sysdeps/arm/fclrexcpt.c: Cleanup.
12636 * sysdeps/arm/fedisblxcpt.c: Cleanup.
12637 * sysdeps/arm/feenablxcpt.c: Cleanup.
12638 * sysdeps/arm/fegetenv.c: Cleanup.
12639 * sysdeps/arm/fegetexcept.c: Cleanup.
12640 * sysdeps/arm/fegetround.c: Cleanup.
12641 * sysdeps/arm/feholdexcpt.c: Cleanup.
12642 * sysdeps/arm/fesetenv.c: Cleanup.
12643 * sysdeps/arm/fesetround.c: Cleanup.
12644 * sysdeps/arm/feupdateenv.c: Cleanup.
12645 * sysdeps/arm/fgetexcptflg.c: Cleanup.
12646 * sysdeps/arm/fraiseexcpt.c: Cleanup.
12647 * sysdeps/arm/fsetexcptflg.c: Cleanup.
12648 * sysdeps/arm/ftestexcept.c: Cleanup.
12649 * sysdeps/arm/get-rounding-mode.h: Cleanup.
12650 * sysdeps/arm/setfpucw.c: Cleanup.
12652 2014-05-09 Will Newton <will.newton@linaro.org>
12654 * sysdeps/arm/armv7/strcmp.S: New file.
12655 * NEWS: Mention addition of ARMv7 optimized strcmp.
12657 2014-05-08 Roland McGrath <roland@hack.frob.com>
12659 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
12660 look for %.ac rather than %.in.
12662 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
12663 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
12664 * sysdeps/mach/hurd/configure: Regenerated.
12665 * sysdeps/unix/sysv/linux/configure: Regenerated.
12667 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
12669 2014-05-07 Steve Ellcey <sellcey@mips.com>
12672 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
12676 2014-05-07 Andreas Schwab <schwab@suse.de>
12678 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
12679 when skipping over non-matching result from nscd.
12681 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
12684 * nptl/sockperf.c (client): Check socket return value.
12687 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
12688 nscd security class.
12690 2014-05-06 Roland McGrath <roland@hack.frob.com>
12692 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
12693 * sysdeps/arm/unwind.h: ... here.
12695 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
12698 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
12701 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12703 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
12704 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
12705 multiarch strncpy for PPC64.
12706 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
12707 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
12708 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
12709 multiarch optimizations.
12710 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12711 (__libc_ifunc_impl_list): Likewise.
12712 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
12713 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
12714 multiarch stpncpy for PPC64.
12715 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
12716 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
12718 2014-05-06 Andreas Schwab <schwab@suse.de>
12721 * gmon/mcount.c (_MCOUNT_DECL): Use
12722 atomic_compare_and_exchange_bool_acq instead of
12723 catomic_compare_and_exchange_bool_acq.
12725 2014-05-05 Roland McGrath <roland@hack.frob.com>
12727 * elf/Makefile (others, install-bin): Remove pldd.
12728 (pldd-modules): Variable removed.
12729 ($(objpfx)pldd): Target removed.
12730 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
12731 (others, install-bin): Append pldd here.
12732 ($(objpfx)pldd): New target.
12734 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
12735 to 0, so the first #if test emitted later doesn't see it undefined.
12736 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
12737 * sysdeps/gnu/errlist.c: Regenerated.
12739 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12741 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12742 [libc_hidden_builtin_def]: Define to empty value.
12743 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
12744 [libc_hidden_builtin_def]: Likewise.
12745 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
12746 [libc_hidden_builtin_def]: Likewise.
12747 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
12748 [libc_hidden_builtin_def]: Likewise.
12749 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
12750 __redirect_memcpy and define ifunc as default hidden symbol.
12751 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
12752 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
12754 2014-05-04 Adam Conrad <adconrad@0c3.net>
12756 * locale/iso-4217.def: Reintroduce XDR currency.
12758 2014-05-04 Allan McRae <allan@archlinux.org>
12760 * po/eo.po: Update Esperanto translation from translation project.
12762 2014-05-02 Carlos O'Donell <carlos@redhat.com>
12764 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
12765 and FEATURE_INDEX_MAX to 1.
12766 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
12768 2014-05-01 Steve Ellcey <sellcey@mips.com>
12770 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
12771 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
12772 * iconvdata/big5.c (ONE_DIRECTION): Define.
12773 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
12774 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
12775 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
12776 * iconvdata/cp932.c (ONE_DIRECTION): Define.
12777 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
12778 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
12779 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
12780 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
12781 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
12782 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
12783 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
12784 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
12785 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
12786 * iconvdata/gbk.c (ONE_DIRECTION): Define.
12787 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
12788 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
12789 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
12790 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
12791 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
12792 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
12793 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
12794 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
12795 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
12796 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
12797 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
12798 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
12799 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
12800 * iconvdata/iso646.c (ONE_DIRECTION): Define.
12801 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
12802 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
12803 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
12804 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
12805 * iconvdata/johab.c (ONE_DIRECTION): Define.
12806 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
12807 * iconvdata/sjis.c (ONE_DIRECTION): Define.
12808 * iconvdata/t.61.c (ONE_DIRECTION): Define.
12809 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
12810 * iconvdata/tscii.c (ONE_DIRECTION): Define.
12811 * iconvdata/uhc.c (ONE_DIRECTION): Define.
12812 * iconvdata/unicode.c (ONE_DIRECTION): Define.
12813 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
12814 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
12815 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
12817 2014-05-01 Roland McGrath <roland@hack.frob.com>
12819 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
12820 (_IO_JUMPS_OFFSET): Define to 0.
12822 * nptl/sysdeps/pthread/bits/libc-lock.h
12823 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12824 (__libc_lock_define_initialized_recursive): Always define using
12825 initializer. Modern compilers treat uninitialized (implicit zero) and
12826 explicit zero initializers the same (i.e. put the datum in bss).
12828 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12830 * nscd/nscd-client.h: Include <string.h>.
12832 2014-05-01 David S. Miller <davem@davemloft.net>
12835 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
12836 multiple zero bytes exist at the end of a string.
12837 Reported by Aurelien Jarno <aurelien@aurel32.net>
12839 * string/test-strcmp.c (check): Add explicit test for situations where
12840 there are multiple zero bytes after the first.
12842 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12845 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
12846 when compiling wprintf.
12847 * stdio-common/tstdiomisc.c (t3): New function.
12850 2014-05-01 Steve Ellcey <sellcey@mips.com>
12852 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
12853 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
12854 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
12855 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
12857 2014-05-01 Steve Ellcey <sellcey@mips.com>
12859 * stdlib/longlong.h: Updated from GCC.
12861 2014-05-01 Will Newton <will.newton@linaro.org>
12862 Bernard Ogden <bernie.ogden@linaro.org>
12864 * NEWS: Update fixed bug list.
12867 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
12869 2014-04-30 David S. Miller <davem@davemloft.net>
12871 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
12872 (libc_feholdexcept_setround_sparc_ctx): New function.
12873 (libc_fesetenv_sparc_ctx): Likewise.
12874 (libc_feupdateenv_sparc_ctx): Likewise.
12875 (libc_feholdsetround_sparc_ctx): Likewise.
12876 (libc_feholdexcept_setround_ctx): Define.
12877 (libc_feholdexcept_setroundf_ctx): Likewise.
12878 (libc_feholdexcept_setroundl_ctx): Likewise.
12879 (libc_fesetenv_ctx): Likewise.
12880 (libc_fesetenvf_ctx): Likewise.
12881 (libc_fesetenvl_ctx): Likewise.
12882 (libc_feupdateenv_ctx): Likewise.
12883 (libc_feupdateenvf_ctx): Likewise.
12884 (libc_feupdateenvl_ctx): Likewise.
12885 (libc_feresetround_ctx): Likewise.
12886 (libc_feresetroundf_ctx): Likewise.
12887 (libc_feresetroundl_ctx): Likewise.
12888 (libc_feholdsetround_ctx): Likewise.
12889 (libc_feholdsetroundf_ctx): Likewise.
12890 (libc_feholdsetroundl_ctx): Likewise.
12892 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12893 with __USE_GNU instead of XOPEN cpp guards.
12895 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
12898 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12899 with XOPEN cpp guards.
12901 2014-04-30 Julian Brown <julian@codesourcery.com>
12904 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
12907 2014-04-30 Joseph Myers <joseph@codesourcery.com>
12910 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12912 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
12913 * sysdeps/unix/sysv/linux/configure: Regenerated.
12914 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
12915 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
12916 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
12917 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
12918 * README: Update reference to required Linux kernel version.
12919 * manual/install.texi (Linux): Update reference to required Linux
12920 kernel headers version.
12921 * INSTALL: Regenerated.
12923 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
12925 [POSIX] (limits.h): Likewise.
12926 [POSIX] (math.h): Likewise.
12927 [POSIX] (sys/wait.h): Likewise.
12928 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
12930 [POSIX] (stddef.h): Do not allow header inclusion.
12932 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12934 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
12936 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
12938 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12939 Return immediately after lll_futex_wake.
12941 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12944 * nscd/nscd-client.h (datahead_init_common): Initialize entire
12946 (datahead_init_pos): Call datahead_init_common early.
12947 (datahead_init_neg): Likewise.
12949 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
12950 datahead_init_neg): New functions.
12951 * nscd/aicache.c (addhstaiX): Use them.
12952 * nscd/grpcache.c (cache_addgr): Likewise.
12953 * nscd/hstcache.c (cache_addhst): Likewise.
12954 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12955 * nscd/netgroupcache.c (do_notfound): Likewise.
12956 (addgetnetgrentX): Likewise.
12957 (addinnetgrX): Likewise.
12958 * nscd/pwdcache.c (cache_addpw): Likewise.
12959 * nscd/servicescache.c (cache_addserv): Likewise.
12961 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12962 Atsushi Onoe <atsushi@onoe.org>
12967 * resolv/res_query.c (__libc_res_nsearch): Return if at least
12968 one response is valid.
12969 * resolv/res_send.c (send_dg): Check for validity of other
12970 response if the current response is a referral.
12972 2014-04-29 Steve Ellcey <sellcey@mips.com>
12974 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
12976 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
12979 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
12980 Always divide by positive zero when computing -Inf result.
12981 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12982 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12984 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12986 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
12987 FPSCR if value do not change.
12988 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12989 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
12990 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
12991 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12992 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
12993 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
12996 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
12998 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
12999 * sysdeps/unix/sysv/linux/hppa: Move directory from
13000 ports/systeps/unix/sysv/linux/hppa.
13001 * README: Update listing for hppa-*-linux-gnu.
13003 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
13006 * manual/stdio.texi (Hook functions): Fix types of stream hook
13009 * socket/sys/socket.h: Fix typo in comment.
13011 2014-04-28 Wilco <wdijkstr@arm.com>
13013 * sysdeps/arm/fenv_private.h: New file.
13014 * sysdeps/arm/math_private.h: New file.
13015 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
13017 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
13019 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
13021 (La_x86_64_retval): Likewise.
13023 2014-04-24 Ian Bolton <ian.bolton@arm.com>
13025 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
13026 fpsr if value didn't change.
13027 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
13028 to fpcr if value didn't change.
13029 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
13030 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
13031 fpsr or fpcr if value didn't change.
13032 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13033 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
13034 fpcr if value didn't change.
13035 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
13036 to fpsr if value didn't change.
13038 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13040 * nptl/tst-sem3.c: Use test-skeleton.c
13041 (main): Rename to do_test. Use return instead of
13043 * nptl/tst-sem4.c: Use test-skeleton.c
13044 (main): Rename to do_test.
13046 2014-04-22 David S. Miller <davem@davemloft.net>
13048 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
13049 (struct sigaction): New struct member __glibc_reserved0, change
13050 type of sa_flags to int.
13052 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
13054 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
13055 (COUNT_LEADING_ZEROS_0): Define for AArch64.
13057 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13059 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
13060 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
13062 2014-04-22 Will Newton <will.newton@linaro.org>
13063 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
13065 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
13066 (__longjmp): Add longjmp and longjmp_target SystemTap
13068 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
13069 (__sigsetjmp): Add setjmp SystemTap probe.
13071 2014-04-17 Carlos O'Donell <carlos@redhat.com>
13073 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
13074 match manual order.
13076 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13078 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
13080 * sysdeps/powerpc/fpu/fenv_private.h
13081 (libc_feholdexcept_setroundl_ctx): Define to
13082 libc_feholdexcept_setround_ppc_ctx.
13083 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
13084 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
13085 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
13086 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
13088 2014-04-17 Ian Bolton <ian.bolton@arm.com>
13090 * sysdeps/aarch64/math-tests.h: New file.
13092 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
13094 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
13096 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13097 Check and set bit_AVX2_Usable.
13098 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
13100 (bit_AVX2): Likewise.
13101 (index_AVX2_Usable): Likewise.
13102 (CPUID_AVX2): Likewise.
13103 (HAS_AVX2): Likewise.
13105 2014-04-17 Will Newton <will.newton@linaro.org>
13107 * manual/setjmp.texi (System V contexts): Add note that
13108 calling setcontext on a context created by a call to a
13109 signal handler is undefined. Update text to note that
13110 setcontext from a signal handler is possible but not
13114 * stdlib/tst-setcontext.c: Include signal.h.
13115 (main): Check that the signal stack before and
13116 after swapcontext is the same.
13118 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
13119 Re-implement to restore registers in user code and avoid
13120 rt_sigreturn system call.
13122 2014-04-17 Wilco <wdijkstr@arm.com>
13124 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
13125 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
13126 * math/test-fenv.c: Skip exception trap tests on targets which only
13127 support non-stop mode.
13129 2014-04-17 Ian Bolton <ian.bolton@arm.com>
13130 Wilco Dijkstra <wilco.dijkstra@arm.com>
13132 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
13133 (libc_feholdsetround_aarch64_ctx)
13134 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
13135 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
13136 (libc_feresetround_ctx, libc_feresetroundf_ctx)
13137 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
13138 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
13139 (libc_feresetround_noexl_ctx): Define.
13141 2014-04-16 Richard Henderson <rth@redhat.com>
13143 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
13145 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
13148 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
13149 const from the non-libc, non-ldso copy.
13151 * sysdeps/alpha/libm-test-ulps: Regenerate.
13153 2014-04-16 Ian Bolton <ian.bolton@arm.com>
13154 Wilco Dijkstra <wilco.dijkstra@arm.com>
13156 * sysdeps/aarch64/fpu/math_private.h: New file.
13158 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
13160 * sysdeps/aarch64/libm-test-ulps: Regenerate.
13162 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
13165 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
13166 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
13167 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
13168 Intel MPX bound registers before _dl_profile_fixup.
13169 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
13170 registers after _dl_profile_fixup. Save and restore bound
13171 registers bnd0/bnd1 when calling _dl_call_pltexit.
13172 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
13173 (LR_BND_OFFSET): Likewise.
13174 (LRV_BND0_OFFSET): Likewise.
13175 (LRV_BND1_OFFSET): Likewise.
13177 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13179 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
13181 * sysdeps/mach/hurd/i386/tls.h: ... here.
13182 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
13183 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
13186 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13188 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
13190 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13192 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13194 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13197 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
13198 * sysdeps/s390/configure: Regenerate.
13201 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
13202 Set round-to-nearest internally to reduce error accumulation.
13204 2014-04-16 Alan Modra <amodra@gmail.com>
13208 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
13209 * math/libm-test.inc (frexp_test_data): Add tests.
13210 * NEWS: Update fixed bug list.
13212 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13214 * benchtests/Makefile: Depend on libraries in build directory.
13215 (bench-math): Separate out math tests.
13216 (bench-pthread): Separate out pthread tests.
13217 (bench): Include math and pthread tests.
13219 2014-04-14 Carlos O'Donell <carlos@redhat.com>
13222 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
13223 _dl_debug_initialize.
13225 * configure.ac: Remove SELinux header check.
13226 * configure: Regenerate.
13227 * nscd/selinux.c (perms): Array of const char* to permission names.
13228 (nscd_request_avc_has_perm): Call security_deny_unknown to find
13229 default policy. Call string_to_security_class and string_to_av_perm to
13230 translate strings. Enforce default policy and call avs_has_perm with
13231 results of translated strings.
13233 2014-04-13 David S. Miller <davem@davemloft.net>
13235 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13237 2014-04-12 Allan McRae <allan@archlinux.org>
13240 * manual/string.texi (Collation Functions): Fix qsort argument
13242 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13244 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
13246 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
13247 Make the test a no-op if there are no exceptions defined.
13249 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
13251 * elf/Makefile (tests): make tst-dlopen-aout conditional on
13252 enable-hardcoded-path-in-tests
13254 2014-04-11 Will Newton <will.newton@linaro.org>
13256 * benchtests/Makefile (extra-objs): Add json-lib.o.
13257 (bench-func): Tidy up JSON output.
13258 * benchtests/bench-skeleton.c: Include json-lib.h.
13259 (main): Use JSON library functions to do output of
13261 * benchtests/bench-timing-type.c (main): Output the
13262 timing type simply, leaving formatting to the user.
13263 * benchtests/json-lib.c: New file.
13264 * benchtests/json-lib.h: Likewise.
13266 2014-04-11 Torvald Riegel <triegel@redhat.com>
13269 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
13270 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
13271 memory barriers. Add comments.
13272 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
13273 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
13274 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
13275 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
13276 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
13277 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
13279 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13281 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
13282 * sysdeps/s390/s390-64/configure.ac: ... this ...
13283 * sysdeps/s390/configure.ac: ... to here.
13284 * sysdeps/s390/s390-32/configure: Delete file.
13285 * sysdeps/s390/s390-64/configure: Delete file.
13286 * sysdeps/s390/configure: Regenerate.
13288 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
13290 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
13292 2014-04-11 Will Newton <will.newton@linaro.org>
13294 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
13295 to zero if it is not defined elsewhere. (mtrim): Test
13296 the value of MALLOC_DEBUG with #if rather than #ifdef.
13298 2014-04-10 Torvald Riegel <triegel@redhat.com>
13300 * benchtests/pthread_once-inputs: New file.
13301 * benchtests/pthread_once-source.c: New file.
13302 * benchtests/README: Update documentation.
13304 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
13305 H.J. Lu <hongjiu.lu@intel.com>
13308 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
13309 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
13310 * sysdeps/x86_64/configure: Regenerated.
13311 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
13313 (REGISTER_SAVE_RAX): Likewise.
13314 (REGISTER_SAVE_RCX): Likewise.
13315 (REGISTER_SAVE_RDX): Likewise.
13316 (REGISTER_SAVE_RSI): Likewise.
13317 (REGISTER_SAVE_RDI): Likewise.
13318 (REGISTER_SAVE_R8): Likewise.
13319 (REGISTER_SAVE_R9): Likewise.
13320 (REGISTER_SAVE_BND0): Likewise.
13321 (REGISTER_SAVE_BND1): Likewise.
13322 (REGISTER_SAVE_BND2): Likewise.
13323 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
13324 bound registers when calling _dl_fixup.
13326 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13328 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
13329 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
13331 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
13332 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
13333 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
13334 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
13335 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
13336 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
13337 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
13339 2014-04-09 Peter Brett <peter@peter-b.co.uk>
13342 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
13343 pathconf(_PC_NAME_MAX).
13345 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13347 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
13348 Remove macro usage.
13349 (__PTHREAD_SPINS): Move definition to ...
13350 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13351 (__PTHREAD_SPINS): ... here.
13352 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13353 (__PTHREAD_SPIN): Likewise.
13354 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
13355 (__PTHREAD_SPIN): Likewise.
13356 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
13357 (__PTHREAD_SPIN): Likewise.
13358 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
13359 (__PTHREAD_SPIN): Likewise.
13360 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13361 (__PTHREAD_SPIN): Likewise.
13362 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13363 (__PTHREAD_SPIN): Likewise.
13364 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
13365 (__PTHREAD_SPIN): Likewise.
13366 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13367 (__PTHREAD_SPIN): Likewise.
13368 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13369 (__PTHREAD_SPIN): Likewise.
13370 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13371 (__PTHREAD_SPIN): Likewise.
13372 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13373 (__PTHREAD_SPIN): Likewise.
13374 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
13375 (__PTHREAD_SPIN): Likewise.
13377 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
13378 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
13379 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
13380 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
13382 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13383 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13384 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13385 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
13386 correct imply path.
13387 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
13388 strlen symbol for non multi-arch builds.
13389 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
13390 missing hidden_def and weak_alias.
13392 2014-04-08 Carlos O'Donell <carlos@redhat.com>
13394 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
13396 2014-04-07 Will Newton <will.newton@linaro.org>
13398 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
13399 and contents. [!_LIBC] Remove #ifndef and contents.
13400 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
13401 * string/memccpy.c (__memccpy): Use ANSI prototype.
13402 * string/memfrob.c (memfrob): Likewise.
13403 * string/strcoll.c (STRCOLL): Likewise.
13404 * string/strlen.c (strlen): Likewise.
13405 * string/strtok.c (STRTOK): Likewise.
13406 * string/strcat.c: Remove unused #include of memcopy.h.
13407 (strcat): Use ANSI prototype.
13408 * string/strchr.c: Remove unused #include of memcopy.h.
13409 (strchr): Use ANSI prototype.
13410 * string/strcmp.c: Remove unused #include of memcopy.h.
13411 (strcmp): Use ANSI prototype.
13412 * string/strcpy.c: Remove unused #include of memcopy.h.
13413 (strcpy): Use ANSI prototype.
13415 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13417 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
13418 * config.make.in (config-extra-cppflags): Set it from
13419 libc_extra_cppflags.
13420 * configure.ac (libc_extra_cflags): Make it accumulate over
13421 configure fragments.
13422 (libc_extra_cppflags): New flag.
13423 * configure. Regenerate.
13424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13425 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
13426 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
13427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13430 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
13431 result for FE_DOWNWARD rounding mode.
13432 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13434 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13436 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
13438 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
13439 in function argument name.
13441 2014-04-03 David Svoboda <svoboda@cert.org>
13444 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
13447 2014-04-03 Roland McGrath <roland@hack.frob.com>
13449 * elf/dl-unmap-segments.h: New file.
13450 * sysdeps/generic/ldsodefs.h
13451 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
13452 * elf/dl-close.c: Include <dl-unmap-segments.h>.
13453 * elf/dl-fptr.c: Likewise.
13454 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
13455 * sysdeps/aarch64/tlsdesc.c: Likewise.
13456 * sysdeps/arm/tlsdesc.c: Likewise.
13457 * sysdeps/i386/tlsdesc.c: Likewise.
13458 * sysdeps/tile/dl-runtime.c: Likewise.
13459 * sysdeps/x86_64/tlsdesc.c: Likewise.
13460 * elf/dl-load.h: New file.
13461 * elf/dl-load.c: Include it.
13462 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
13463 Macros moved to dl-load.h.
13464 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
13465 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
13466 Use _dl_unmap_segments in place of __munmap.
13467 Break out segment-mapping loop into ...
13468 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
13470 2014-04-03 Will Newton <will.newton@linaro.org>
13472 * elf/dl-lookup.c (do_lookup_x): Remove comment
13473 referring to nested function and move variable
13474 declarations down to before first use.
13476 2014-04-02 Joseph Myers <joseph@codesourcery.com>
13480 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
13482 * math/s_catanf.c (__catanf): Likewise.
13483 * math/s_catanh.c (__catanh): Likewise.
13484 * math/s_catanhf.c (__catanhf): Likewise.
13485 * math/s_catanhl.c (__catanhl): Likewise.
13486 * math/s_catanl.c (__catanl): Likewise.
13487 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
13488 by positive zero when computing -Inf result.
13489 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
13490 (catanh_test): Likewise.
13491 * sysdeps/i386/fpu/libm-test-ulps: Update.
13492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13495 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
13496 instead of using underflowing value in computing result.
13497 * math/s_clog10.c (__clog10): Likewise.
13498 * math/s_clog10f.c (__clog10f): Likewise.
13499 * math/s_clog10l.c (__clog10l): Likewise.
13500 * math/s_clogf.c (__clogf): Likewise.
13501 * math/s_clogl.c (__clogl): Likewise.
13502 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
13503 (clog10_test): Likewise.
13504 * sysdeps/i386/fpu/libm-test-ulps: Update.
13505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13507 2014-04-02 Alan Modra <amodra@gmail.com>
13510 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
13511 output when value is near a power of two. Use int64_t for lx and
13512 remove casts. Use decimal rather than hex exponent constants.
13513 Don't use long double multiplication when double will suffice.
13514 * math/libm-test.inc (nextafter_test_data): Add tests.
13515 * NEWS: Add 16739 and 16786 to bug list.
13517 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
13519 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
13521 2014-04-01 Will Newton <will.newton@linaro.org>
13523 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
13524 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
13526 2014-04-01 Florian Weimer <fweimer@redhat.com>
13529 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
13530 * nptl/tst-setuid2.c: New file.
13531 * nptl/Makefile (xtests): Add tst-setuid2.
13533 2014-04-01 Alan Modra <amodra@gmail.com>
13536 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
13538 2014-03-31 Joseph Myers <joseph@codesourcery.com>
13542 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
13543 set errno as appropriate.
13544 * math/w_scalbf.c (__scalbf): Likewise.
13545 * math/w_scalbl.c (__scalbl): Likewise.
13546 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
13547 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
13548 * math/libm-test.inc (scalb_test_data): Add errno expectations.
13549 Add more NaN tests.
13552 * math/w_atan2.c: Include <errno.h>.
13553 (__atan2): Set errno for result underflowing to zero.
13554 * math/w_atan2f.c: Include <errno.h>.
13555 (__atan2f): Set errno for result underflowing to zero.
13556 * math/w_atan2l.c: Include <errno.h>.
13557 (__atan2l): Set errno for result underflowing to zero.
13558 * math/auto-libm-test-in: Don't allow missing errno for some atan2
13560 * math/auto-libm-test-out: Regenerated.
13562 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13564 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13565 Encode instruction correctly in little endian.
13566 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13568 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13570 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13572 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13575 2014-03-31 Joseph Myers <joseph@codesourcery.com>
13578 * sysdeps/unix/sysv/linux/kernel-features.h
13579 [__sparc__ && !__arch64__ && !__sparc_v9__]
13580 (__ASSUME_SET_ROBUST_LIST): Do not define.
13581 [__sparc__ && !__arch64__ && !__sparc_v9__]
13582 (__ASSUME_FUTEX_LOCK_PI): Likewise.
13583 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
13585 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13586 (__ASSUME_FUTEX_LOCK_PI): Undefine.
13587 (__ASSUME_REQUEUE_PI): Likewise.
13588 (__ASSUME_SET_ROBUST_LIST): Likewise.
13589 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13590 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
13592 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13593 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
13595 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
13597 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
13599 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13600 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
13602 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
13603 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
13607 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13608 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
13609 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
13611 2014-03-31 Will Newton <will.newton@linaro.org>
13613 * benchtests/Makefile (bench): Add ffs and ffsll to list
13615 * benchtests/ffs-inputs: New file.
13616 * benchtests/ffsll-inputs: Likewise.
13618 2014-03-29 Joseph Myers <joseph@codesourcery.com>
13621 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
13622 too large before casting to int.
13623 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
13624 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
13625 * math/libm-test.inc (scalb_test_data): Add more tests.
13627 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13629 * benchtests/Makefile (DETAILED_OPT): New make option.
13630 (bench-func): Run benchmark program with -d if DETAILED_OPT is
13632 * benchtests/bench-skeleton.c: Include stdbool.h.
13633 (main): Store and print timings per input.
13634 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
13635 member to each argument value.
13636 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
13637 (_print_arg_data): Initialize per-input timing to 0.
13639 * benchtests/Makefile (timing-type): New binary.
13640 (bench-clean): Also remove bench-timing-type.
13641 (bench): New target for timing-type.
13642 (bench-func): Print output in JSON format.
13643 * benchtests/bench-skeleton.c (main): Print output in JSON
13645 * benchtests/bench-timing-type.c: New file.
13646 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
13647 (TIMING_PRINT_STATS): Remove.
13648 * benchtests/scripts/bench.py (_print_arg_data): Store variant
13651 * benchtests/bench-modf.c: Remove.
13652 * benchtests/modf-inputs: New inputs file.
13654 2014-03-28 Joseph Myers <joseph@codesourcery.com>
13657 * math/s_clog10.c (M_PI_LOG10E): New macro.
13658 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
13659 imaginary parts are 0.
13660 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
13661 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
13662 imaginary parts are 0.
13663 * math/s_clog10l.c (M_PI_LOG10El): New macro.
13664 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
13665 imaginary parts are 0.
13666 * math/libm-test.inc (clog10_test_data): Update expected results
13667 for when real and imaginary parts are 0.
13669 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
13671 * elf/dl-load.c: Finish conversion of __builtin_expect into
13672 __glibc_{un}likely.
13674 2014-03-27 Joseph Myers <joseph@codesourcery.com>
13677 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
13678 1+x for argument with exponent below -67.
13679 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
13681 * math/auto-libm-test-in: Add more tests of exp.
13682 * math/auto-libm-test-out: Regenerated.
13684 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13687 * inet/getnetgrent_r.c (get_nonempty_val): New function.
13688 (nscd_getnetgrent): Use it.
13691 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
13694 2014-03-27 Andi Kleen <ak@linux.intel.com>
13696 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
13697 (lll_robust_lock, lll_cond_lock, lll_timedlock)
13698 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13699 (lll_robust_unlock): Remove out of line section. Use cfi
13701 (LLL_STUB_UNWIND_INFO*): Remove.
13702 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
13703 (lll_robust_lock, lll_cond_lock, lll_timedlock)
13704 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13705 (lll_robust_unlock): Remove out of line section. Use cfi
13707 (LLL_STUB_UNWIND_INFO*): Remove.
13709 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13712 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
13715 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
13717 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
13719 2014-03-26 Joseph Myers <joseph@codesourcery.com>
13722 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
13724 * math/test-fenv-preserve.c: New file.
13725 * math/Makefile (tests): Add test-fenv-preserve.
13727 2014-03-26 Will Newton <will.newton@linaro.org>
13729 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
13731 2014-03-25 Roland McGrath <roland@hack.frob.com>
13733 * scripts/versionlist.awk: Partition the version sets and emit all
13734 GLIBC_* (sorted) before all others (sorted).
13736 2014-03-25 Joseph Myers <joseph@codesourcery.com>
13738 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
13739 GLIBC_2.2.5 version.
13741 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13743 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
13746 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
13749 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13751 2014-03-25 Andreas Schwab <schwab@suse.de>
13753 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
13754 label to be used after in6ailist is initialized.
13756 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13758 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13759 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13761 2014-03-25 Joseph Myers <joseph@codesourcery.com>
13765 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
13767 (fp_formats): Update initializers.
13768 (init_fp_formats): Initialize new field.
13769 (output_for_one_input_case): Allow underflow for results up to
13771 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
13772 * math/auto-libm-test-in: Don't mark some underflows from asin and
13774 * math/auto-libm-test-out: Regenerated.
13775 * sysdeps/i386/fpu/libm-test-ulps: Update.
13776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13778 2014-03-25 Andreas Schwab <schwab@suse.de>
13780 * libio/Makefile (tst-ftell-partial-wide-ENV)
13781 (tst-ftell-active-handler-ENV): Define.
13783 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
13785 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
13787 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13789 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
13791 2014-03-24 Joseph Myers <joseph@codesourcery.com>
13793 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
13794 * sysdeps/x86_64/fpu/multiarch/e_exp.c
13795 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13797 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13800 * elf/dl-load.c (open_verify): Add mode parameter.
13801 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
13802 (open_path): Change from boolean 'secure' to complete flag 'mode'
13803 (_dl_map_object): Adjust.
13804 * elf/Makefile (tests): Add tst-dlopen-aout.
13805 * elf/tst-dlopen-aout.c: New test.
13807 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13810 * sysdeps/unix/sysv/linux/s390/bits/stat.h
13811 (struct stat): Rename member pad0 to __glibc_reserved0.
13814 * sysdeps/s390/s390-32/bits/wordsize.h
13815 (__WORDSIZE32_SIZE_ULONG): New define.
13816 * sysdeps/s390/s390-64/bits/wordsize.h
13817 (__WORDSIZE32_SIZE_ULONG): Likewise.
13818 * sysdeps/generic/stdint.h (SIZE_MAX):
13819 Define as UL if __WORDSIZE32_SIZE_ULONG.
13822 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
13823 (__glibc_reserved0): New variable.
13824 (sa_flags): Change type to int.
13826 * posix/Makefile (before-compile): Use += before-compile instead
13829 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13830 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13832 2014-03-20 Andreas Schwab <schwab@suse.de>
13835 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
13836 non-matching result from nscd.
13838 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13840 * scripts/bench.py: Moved to ...
13841 * benchtests/scripts/bench.py: ... here.
13842 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
13844 2014-03-24 Andreas Schwab <schwab@suse.de>
13847 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
13848 alloca_account and account alloca use for struct in6ailist.
13850 2014-03-24 Joseph Myers <joseph@codesourcery.com>
13853 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
13854 rounding mode to recompute results that overflow to infinity or
13856 * math/auto-libm-test-in: Don't mark tests as expected to fail for
13858 * math/auto-libm-test-out: Regenerated.
13859 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
13860 (ccosh_test): Likewise.
13861 (csin_test_data): Use plus_oflow.
13862 (csin_test): Use ALL_RM_TEST.
13863 (csinh_test_data): Use plus_oflow.
13864 (csinh_test): Use ALL_RM_TEST.
13865 * sysdeps/i386/fpu/libm-test-ulps: Update.
13866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13868 2014-03-21 Joseph Myers <joseph@codesourcery.com>
13870 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
13871 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
13872 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
13875 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
13876 when x - 1 is zero.
13877 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
13878 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
13879 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13880 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
13882 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
13883 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
13885 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
13886 * sysdeps/i386/fpu/libm-test-ulps: Update.
13887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13889 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13891 * scripts/bench.pl: Remove file.
13892 * scripts/bench.py: New benchmark script.
13893 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
13894 * benchtests/README: Mention python dependency.
13895 * scripts/pylintrc: New file.
13896 * scripts/pylint: New file.
13898 * bits/mathdef.h: Use #ifdef instead of #if.
13899 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
13900 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13901 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
13902 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13903 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
13904 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13906 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13907 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13909 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
13910 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
13911 and strpbrk-ppc64 objects.
13912 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13913 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
13914 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
13915 multiarch strpbrk for POWER7.
13916 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
13917 multiarch strpbrk for PPC64.
13918 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
13920 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
13921 strpbrk for POWER7.
13923 2014-03-20 Joseph Myers <joseph@codesourcery.com>
13925 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
13926 (atan_test): Likewise.
13927 (atanh_test_data): Use NO_TEST_INLINE for two tests.
13928 (atanh_test): Use ALL_RM_TEST.
13929 (atan2_test_data): Likewise.
13930 (cabs_test): Likewise.
13931 (cacosh_test): Likewise.
13932 (carg_test): Likewise.
13933 (casin_test): Likewise.
13934 (casinh_test): Likewise.
13935 (cbrt_test): Likewise.
13936 (csqrt_test): Likewise.
13937 (erf_test): Likewise.
13938 (erfc_test): Likewise.
13939 (pow10_test): Likewise.
13940 (exp2_test): Likewise.
13941 (hypot_test): Likewise.
13942 (j0_test): Likewise.
13943 (j1_test): Likewise.
13944 (lgamma_test): Likewise.
13945 (gamma_test): Likewise.
13946 (sincos_test): Likewise.
13947 (tanh_test): Likewise.
13948 (y0_test): Likewise.
13949 (y1_test): Likewise.
13950 * sysdeps/i386/fpu/libm-test-ulps: Update.
13951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13953 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13955 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
13956 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
13957 and strcspn-ppc64 objects.
13958 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13959 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
13960 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
13961 multiarch strcspn for POWER7.
13962 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
13963 multiarch strcspn for PPC64.
13964 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
13966 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
13967 strcspn for POWER7.
13969 2014-03-20 Joseph Myers <joseph@codesourcery.com>
13971 * math/gen-libm-test.pl (generate_testfile): Expect only function
13972 name as argument to AUTO_TESTS_* and pass results for all rounding
13973 modes to parse_args.
13974 (parse_auto_input): Separate inputs of automatic tests from
13975 outputs before storing in %auto_tests.
13976 * math/libm-test.inc (acos_test_data): Update call to
13978 (acos_test): Use ALL_RM_TEST.
13979 (acos_tonearest_test_data): Remove.
13980 (acos_test_tonearest): Likewise.
13981 (acos_towardzero_test_data): Likewise.
13982 (acos_test_towardzero): Likewise.
13983 (acos_downward_test_data): Likewise.
13984 (acos_test_downward): Likewise.
13985 (acos_upward_test_data): Likewise.
13986 (acos_test_upward): Likewise.
13987 (acosh_test_data): Update call to AUTO_TESTS_f_f.
13988 (asin_test_data): Likewise.
13989 (asin_test): Use ALL_RM_TEST.
13990 (asin_tonearest_test_data): Remove.
13991 (asin_test_tonearest): Likewise.
13992 (asin_towardzero_test_data): Likewise.
13993 (asin_test_towardzero): Likewise.
13994 (asin_downward_test_data): Likewise.
13995 (asin_test_downward): Likewise.
13996 (asin_upward_test_data): Likewise.
13997 (asin_test_upward): Likewise.
13998 (asinh_test_data): Update call to AUTO_TESTS_f_f.
13999 (atan_test_data): Likewise.
14000 (atanh_test_data): Likewise.
14001 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
14002 (cabs_test_data): Update call to AUTO_TESTS_c_f.
14003 (carg_test_data): Likewise.
14004 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
14005 (ccos_test_data): Update call to AUTO_TESTS_c_c.
14006 (ccosh_test_data): Likewise.
14007 (cexp_test_data): Likewise.
14008 (clog_test_data): Likewise.
14009 (clog10_test_data): Likewise.
14010 (cos_test_data): Update call to AUTO_TESTS_f_f.
14011 (cos_test): Use ALL_RM_TEST.
14012 (cos_tonearest_test_data): Remove.
14013 (cos_test_tonearest): Likewise.
14014 (cos_towardzero_test_data): Likewise.
14015 (cos_test_towardzero): Likewise.
14016 (cos_downward_test_data): Likewise.
14017 (cos_test_downward): Likewise.
14018 (cos_upward_test_data): Likewise.
14019 (cos_test_upward): Likewise.
14020 (cosh_test_data): Update call to AUTO_TESTS_f_f.
14021 (cosh_test): Use ALL_RM_TEST.
14022 (cosh_tonearest_test_data): Remove.
14023 (cosh_test_tonearest): Likewise.
14024 (cosh_towardzero_test_data): Likewise.
14025 (cosh_test_towardzero): Likewise.
14026 (cosh_downward_test_data): Likewise.
14027 (cosh_test_downward): Likewise.
14028 (cosh_upward_test_data): Likewise.
14029 (cosh_test_upward): Likewise.
14030 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
14031 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
14032 (ctan_test_data): Likewise.
14033 (ctan_test): Use ALL_RM_TEST.
14034 (ctan_tonearest_test_data): Remove.
14035 (ctan_test_tonearest): Likewise.
14036 (ctan_towardzero_test_data): Likewise.
14037 (ctan_test_towardzero): Likewise.
14038 (ctan_downward_test_data): Likewise.
14039 (ctan_test_downward): Likewise.
14040 (ctan_upward_test_data): Likewise.
14041 (ctan_test_upward): Likewise.
14042 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
14043 (ctanh_test): Use ALL_RM_TEST.
14044 (ctanh_tonearest_test_data): Remove.
14045 (ctanh_test_tonearest): Likewise.
14046 (ctanh_towardzero_test_data): Likewise.
14047 (ctanh_test_towardzero): Likewise.
14048 (ctanh_downward_test_data): Likewise.
14049 (ctanh_test_downward): Likewise.
14050 (ctanh_upward_test_data): Likewise.
14051 (ctanh_test_upward): Likewise.
14052 (erf_test_data): Update call to AUTO_TESTS_f_f.
14053 (erfc_test_data): Likewise.
14054 (exp_test_data): Likewise.
14055 (exp_test): Use ALL_RM_TEST.
14056 (exp_tonearest_test_data): Remove.
14057 (exp_test_tonearest): Likewise.
14058 (exp_towardzero_test_data): Likewise.
14059 (exp_test_towardzero): Likewise.
14060 (exp_downward_test_data): Likewise.
14061 (exp_test_downward): Likewise.
14062 (exp_upward_test_data): Likewise.
14063 (exp_test_upward): Likewise.
14064 (exp10_test_data): Update call to AUTO_TESTS_f_f.
14065 (exp10_test): Use ALL_RM_TEST.
14066 (exp10_tonearest_test_data): Remove.
14067 (exp10_test_tonearest): Likewise.
14068 (exp10_towardzero_test_data): Likewise.
14069 (exp10_test_towardzero): Likewise.
14070 (exp10_downward_test_data): Likewise.
14071 (exp10_test_downward): Likewise.
14072 (exp10_upward_test_data): Likewise.
14073 (exp10_test_upward): Likewise.
14074 (exp2_test_data): Update call to AUTO_TESTS_f_f.
14075 (expm1_test_data): Likewise.
14076 (expm1_test): Use ALL_RM_TEST.
14077 (expm1_tonearest_test_data): Remove.
14078 (expm1_test_tonearest): Likewise.
14079 (expm1_towardzero_test_data): Likewise.
14080 (expm1_test_towardzero): Likewise.
14081 (expm1_downward_test_data): Likewise.
14082 (expm1_test_downward): Likewise.
14083 (expm1_upward_test_data): Likewise.
14084 (expm1_test_upward): Likewise.
14085 (fma_test_data): Update call to AUTO_TESTS_fff_f.
14086 (fma_test): Use ALL_RM_TEST.
14087 (fma_towardzero_test_data): Remove.
14088 (fma_test_towardzero): Likewise.
14089 (fma_downward_test_data): Likewise.
14090 (fma_test_downward): Likewise.
14091 (fma_upward_test_data): Likewise.
14092 (fma_test_upward): Likewise.
14093 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
14094 (j0_test_data): Update call to AUTO_TESTS_f_f.
14095 (j1_test_data): Likewise.
14096 (jn_test_data): Update call to AUTO_TESTS_if_f.
14097 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
14098 (log_test_data): Update call to AUTO_TESTS_f_f.
14099 (log10_test_data): Likewise.
14100 (log1p_test_data): Likewise.
14101 (log2_test_data): Likewise.
14102 (pow_test_data): Update call to AUTO_TESTS_ff_f.
14103 (pow_tonearest_test_data): Likewise.
14104 (sin_test_data): Update call to AUTO_TESTS_f_f.
14105 (sin_test): Use ALL_RM_TEST.
14106 (sin_tonearest_test_data): Remove.
14107 (sin_test_tonearest): Likewise.
14108 (sin_towardzero_test_data): Likewise.
14109 (sin_test_towardzero): Likewise.
14110 (sin_downward_test_data): Likewise.
14111 (sin_test_downward): Likewise.
14112 (sin_upward_test_data): Likewise.
14113 (sin_test_upward): Likewise.
14114 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
14115 (sinh_test_data): Update call to AUTO_TESTS_f_f.
14116 (sinh_test): Use ALL_RM_TEST.
14117 (sinh_tonearest_test_data): Remove.
14118 (sinh_test_tonearest): Likewise.
14119 (sinh_towardzero_test_data): Likewise.
14120 (sinh_test_towardzero): Likewise.
14121 (sinh_downward_test_data): Likewise.
14122 (sinh_test_downward): Likewise.
14123 (sinh_upward_test_data): Likewise.
14124 (sinh_test_upward): Likewise.
14125 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
14126 (sqrt_test): Use ALL_RM_TEST.
14127 (sqrt_tonearest_test_data): Remove.
14128 (sqrt_test_tonearest): Likewise.
14129 (sqrt_towardzero_test_data): Likewise.
14130 (sqrt_test_towardzero): Likewise.
14131 (sqrt_downward_test_data): Likewise.
14132 (sqrt_test_downward): Likewise.
14133 (sqrt_upward_test_data): Likewise.
14134 (sqrt_test_upward): Likewise.
14135 (tan_test_data): Update call to AUTO_TESTS_f_f.
14136 (tan_test): Use ALL_RM_TEST.
14137 (tan_tonearest_test_data): Remove.
14138 (tan_test_tonearest): Likewise.
14139 (tan_towardzero_test_data): Likewise.
14140 (tan_test_towardzero): Likewise.
14141 (tan_downward_test_data): Likewise.
14142 (tan_test_downward): Likewise.
14143 (tan_upward_test_data): Likewise.
14144 (tan_test_upward): Likewise.
14145 (tanh_test_data): Update call to AUTO_TESTS_f_f.
14146 (tgamma_test_data): Likewise.
14147 (y0_test_data): Likewise.
14148 (y1_test_data): Likewise.
14149 (yn_test_data): Update call to AUTO_TESTS_if_f.
14150 (main): Do not call removed functions.
14152 2014-03-19 Joseph Myers <joseph@codesourcery.com>
14154 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
14155 (ldexp_test_data): Remove.
14156 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
14158 (scalb_test): Use ALL_RM_TEST.
14160 2014-03-19 Andreas Schwab <schwab@suse.de>
14162 * nscd/nscd.service: Also invalidate netgroup cache on reload.
14164 2014-03-19 Joseph Myers <joseph@codesourcery.com>
14167 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14168 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
14169 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
14170 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14171 (__ASSUME_PREADV): Undefine.
14172 (__ASSUME_PWRITEV): Likewise.
14174 2014-03-18 Roland McGrath <roland@hack.frob.com>
14176 * bits/mman-linux.h: Add comment about non-Linux use.
14177 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
14178 bits/mman-linux.h resting place.
14180 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
14181 * bits/mman-linux.h: ... here.
14183 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14185 * conform/conformtest.pl: Add standard definition when calling C
14186 preprocessor on data files.
14187 (checknamespace): Remove unused variable.
14189 2014-03-18 Joseph Myers <joseph@codesourcery.com>
14191 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
14192 minus_oflow, plus_uflow and minus_uflow in expected results.
14193 * math/libm-test.inc (scalbn_test_data): Add more tests of
14194 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
14196 (scalbn_test): Use ALL_RM_TEST.
14197 (scalbln_test_data): Add more tests of negative arguments. Use
14198 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
14199 (scalbln_test): Use ALL_RM_TEST.
14201 2014-03-18 Roland McGrath <roland@hack.frob.com>
14203 * scripts/abilist.awk: Ignore symbols marked with .hidden.
14205 2014-03-18 Will Newton <will.newton@linaro.org>
14207 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
14208 inaccurate comment.
14210 2014-03-18 Joseph Myers <joseph@codesourcery.com>
14212 * Makerules [!subdir] (check-abi): Exit with error status if a
14215 2014-03-17 Joseph Myers <joseph@codesourcery.com>
14217 * math/libm-test.inc (nearbyint_test_data): Include all tests used
14218 for rint. Include results for all rounding modes.
14219 (nearbyint_test): Use ALL_RM_TEST.
14220 (rint_test_data): Include all tests used for nearbyint.
14222 2014-03-17 Will Newton <will.newton@linaro.org>
14224 * nptl/sysdeps/pthread/pthread.h: Revert previous
14227 * sysdeps/generic/ldsodefs.h: Revert previous
14230 * libio/genops.c: Revert previous change.
14231 * libio/libioP.h: Likewise.
14232 * stdio-common/vfprintf.c: Likewise.
14234 * sysdeps/generic/math_private.h: Revert previous
14237 * sysdeps/generic/math_private.h: Check whether
14238 HAVE_RM_CTX is defined with #ifdef rather
14241 * argp/argp-fmtstream.h: Check whether
14242 __STRICT_ANSI__ is defined with #ifdef rather
14244 * argp/argp.h: Likewise.
14246 * libio/genops.c: Check whether
14247 _IO_JUMPS_OFFSET is defined with #ifdef rather
14249 * libio/libioP.h: Likewise.
14250 * stdio-common/vfprintf.c: Likewise.
14252 * sysdeps/generic/ldsodefs.h: Check whether
14253 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
14256 * nptl/sysdeps/pthread/pthread.h: Check
14257 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
14260 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14262 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
14264 * libio/tst-ftell-active-handler.c (do_append_test): Add a
14268 * libio/fileops.c (_IO_file_open): Seek to end of file but
14269 don't cache the offset.
14270 (get_file_offset): Remove function.
14271 (do_ftell): Use cached offset when available.
14272 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
14273 don't cache the offset.
14274 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
14276 (do_one_test): Call it.
14277 (do_ftell_test): Fix up expected old offset for a+ mode.
14278 * libio/wfileops.c (do_ftell_wide): Used cached offset when
14281 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
14282 up test status with function return status.
14283 (do_write_test): Likewise.
14284 (do_append_test): Likewise.
14286 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
14287 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
14290 2014-03-17 Joseph Myers <joseph@codesourcery.com>
14292 * math/gen-libm-test.pl (parse_args): Handle results specified for
14293 each rounding mode separately.
14294 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
14295 tests and results from lrint_tonearest_test_data,
14296 lrint_towardzero_test_data, lrint_downward_test_data and
14297 lrint_upward_test_data.
14298 (lrint_test): Use ALL_RM_TEST.
14299 (lrint_tonearest_test_data): Remove.
14300 (lrint_test_tonearest): Likewise.
14301 (lrint_towardzero_test_data): Likewise.
14302 (lrint_test_towardzero): Likewise.
14303 (lrint_downward_test_data): Likewise.
14304 (lrint_test_downward): Likewise.
14305 (lrint_upward_test_data): Likewise.
14306 (lrint_test_upward): Likewise.
14307 (llrint_test_data): Merge in per-rounding-mode tests and results
14308 from llrint_tonearest_test_data, llrint_towardzero_test_data,
14309 llrint_downward_test_data and llrint_upward_test_data.
14310 (llrint_test): Use ALL_RM_TEST.
14311 (llrint_tonearest_test_data): Remove.
14312 (llrint_test_tonearest): Likewise.
14313 (llrint_towardzero_test_data): Likewise.
14314 (llrint_test_towardzero): Likewise.
14315 (llrint_downward_test_data): Likewise.
14316 (llrint_test_downward): Likewise.
14317 (llrint_upward_test_data): Likewise.
14318 (llrint_test_upward): Likewise.
14319 (rint_test_data): Merge in per-rounding-mode tests and results
14320 from rint_tonearest_test_data, rint_towardzero_test_data,
14321 rint_downward_test_data and rint_upward_test_data. Add
14322 per-rounding-mode results for tests not in those arrays.
14323 (rint_test): Use ALL_RM_TEST.
14324 (rint_tonearest_test_data): Remove.
14325 (rint_test_tonearest): Likewise.
14326 (rint_towardzero_test_data): Likewise.
14327 (rint_test_towardzero): Likewise.
14328 (rint_downward_test_data): Likewise.
14329 (rint_test_downward): Likewise.
14330 (rint_upward_test_data): Likewise.
14331 (rint_test_upward): Likewise.
14332 (main): Don't call removed functions.
14334 2014-03-14 Roland McGrath <roland@hack.frob.com>
14336 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
14337 "Compiled on ..." crapola. It is anti-useful.
14339 2014-03-14 Joseph Myers <joseph@codesourcery.com>
14341 * scripts/evaluate-test.sh: Handle fourth argument to determine
14342 whether test run should stop on failure.
14343 * Makeconfig (stop-on-test-failure): New variable.
14344 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
14345 $(stop-on-test-failure).
14346 * Makefile (tests): Give a summary of results from testing and
14347 exit with failure status if they include an ERROR or FAIL.
14348 (xtests): Likewise.
14349 * manual/install.texi (Configuring and compiling): Mention
14350 stop-on-test-failure=y.
14351 * INSTALL: Regenerated.
14353 2014-03-14 Roland McGrath <roland@hack.frob.com>
14355 * scripts/versionlist.awk: New file.
14356 * Makerules [$(build-shared) = yes]
14357 (postclean-generated): Add Versions.def, not Versions.def.v and
14359 ($(common-objpfx)Versions.def.v.i): Target removed.
14360 ($(common-objpfx)Versions.def): New target.
14361 ($(common-objpfx)Versions.all): Depend on that rather that
14362 $(common-objpfx)Versions.def.v.
14363 * Versions.def: File removed.
14365 * Makeconfig (+gccwarn): Add -Wundef.
14366 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
14367 a dl-sysdep.h breaking its contract.
14368 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
14369 * include/stackinfo.h: New file.
14370 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
14371 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
14372 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
14373 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
14374 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
14375 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
14376 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14377 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14378 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14379 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14380 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14381 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
14382 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14383 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14384 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14386 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14389 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
14391 * math/libm-test.inc (round_test_data): Add more tests.
14394 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
14396 * math/libm-test.inc (nearbyint_test_data): Add more tests.
14399 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
14401 * math/libm-test.inc (ceil_test_data): Add more tests.
14403 * math/libm-test.inc (trunc_test_data): Add more tests related to
14406 2014-03-14 Roland McGrath <roland@hack.frob.com>
14408 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
14409 with #if rather than #ifdef.
14410 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
14412 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
14414 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
14415 first. Disable AVX-512 GCC support if assembler doesn't support
14417 * sysdeps/x86_64/configure: Regenerated.
14419 2014-03-13 Carlos O'Donell <carlos@redhat.com>
14421 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
14422 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
14423 (__old_pthread_attr_setstack): Likewise.
14424 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
14425 [!_STACK_GROWS_DOWN]: Likewise.
14427 2014-03-13 Mike Frysinger <vapier@gentoo.org>
14429 * config.make.in (have-bash2): Delete.
14430 * configure.ac (libc_cv_have_bash2): Delete.
14431 * configure: Regenerate.
14432 * elf/Makefile (common-ldd-rewrite): Rename to ...
14433 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
14434 (sh-ldd-rewrite): Delete.
14435 (bash-ldd-rewrite): Delete.
14436 (have-bash2): Delete checks.
14437 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
14440 * config.make.in (have-ksh): Delete.
14442 * configure.ac (libc_cv_have_ksh): Delete.
14443 * configure: Regenerate.
14445 * elf/Makefile: Delete $(have-ksh) check.
14446 ($(objpfx)sotruss): Change KSH to BASH.
14447 * elf/sotruss.ksh: Rename to ...
14448 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
14449 function style to match POSIX. Drop ksh vim mode setting.
14451 * manual/time.texi (Specifying the Time Zone with TZ): Change
14452 Tuesday to Thursday.
14454 * debug/tst-longjmp_chk2.c: Update header comment.
14455 (stackoverflow_handler): Add comment. Call assert on pass value.
14457 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
14460 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
14461 (HAVE_AVX512_ASM_SUPPORT): Likewise.
14462 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
14463 (La_x86_64_vector): Add zmm.
14464 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
14465 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
14466 ($(objpfx)tst-audit10): New target.
14467 ($(objpfx)tst-audit10.out): Likewise.
14468 (tst-audit10-ENV): New.
14469 (AVX512-CFLAGS): Likewise.
14470 (CFLAGS-tst-audit10.c): Likewise.
14471 (CFLAGS-tst-auditmod10a.c): Likewise.
14472 (CFLAGS-tst-auditmod10b.c): Likewise.
14473 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
14474 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
14475 * sysdeps/x86_64/configure: Regenerated.
14476 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
14477 AVX-512 zmm register support.
14478 (_dl_x86_64_save_sse): Likewise.
14479 (_dl_x86_64_restore_sse): Likewise.
14480 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
14481 size vector registers.
14482 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
14483 (ZMM_SIZE): Likewise.
14484 * sysdeps/x86_64/tst-audit10.c: New file.
14485 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
14486 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
14488 2014-03-13 Roland McGrath <roland@hack.frob.com>
14490 * configure.ac (HAVE_EHDR_START): New check.
14491 * configure: Regenerated.
14492 * config.h.in (HAVE_EHDR_START): New #undef.
14493 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
14494 assuming the lowest-addressed segment maps the start of the file.
14496 2014-03-13 Joseph Myers <joseph@codesourcery.com>
14498 * INSTALL: Regenerated.
14500 2014-03-13 Will Newton <will.newton@linaro.org>
14502 * manual/setjmp.texi (System V contexts): Improve
14503 clarity and grammar of documentation.
14505 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
14508 * elf/Makefile (tests): Add tst-pie2.
14509 (tests-pie): Add tst-pie2.
14510 * elf/tst-pie2.c: New file.
14511 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
14513 * elf/rtld.c (map_doit): Load executable as lt_executable.
14514 (dl_main): Likewise.
14516 2014-03-12 Joseph Myers <joseph@codesourcery.com>
14519 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14520 (__ASSUME_PSELECT): Undefine.
14522 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14525 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
14526 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
14528 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
14529 selector for static builds.
14531 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14534 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
14537 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14539 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
14540 IFUNC selector for static builds.
14542 2014-03-11 Joseph Myers <joseph@codesourcery.com>
14544 * sysdeps/mips/math_private.h [__mips_hard_float]
14545 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
14546 libc_feresetround_mips_ctx.
14547 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
14548 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
14549 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
14552 * math/s_nextafter.c (__nextafter): Do not return value from
14553 overflowing computation.
14554 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
14555 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
14556 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
14558 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
14560 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
14561 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
14563 2014-03-11 Roland McGrath <roland@hack.frob.com>
14565 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
14566 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
14567 Move sfi_sp use from the load-multiple (that no longer sets sp) to
14568 the new mov targetting sp.
14570 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14573 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
14574 Define it for static builds as well.
14575 (NO_BZERO_IMPL): Likewise.
14577 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14579 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
14580 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
14581 multiarch strspn for PPC64.
14582 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
14583 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
14584 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14585 (__libc_ifunc_impl_list): Likewise.
14586 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
14587 multiarch optimizations
14588 * string/strspn.c (strspn): Using macro to redefine symbol name.
14590 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14591 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14593 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
14594 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
14595 multiarch strncat for PPC64.
14596 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
14597 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
14598 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14599 (__libc_ifunc_impl_list): Likewise.
14600 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
14601 multiarch optimizations
14603 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14606 * nscd/nscd.service: Make service type forking.
14608 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14610 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
14611 sign in non default rounding modes.
14612 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
14614 2014-03-08 Joseph Myers <joseph@codesourcery.com>
14616 * math/libm-test.inc (ALL_RM_TEST): New macro.
14617 (ceil_test): Use ALL_RM_TEST.
14618 (cimag_test): Likewise.
14619 (conj_test): Likewise.
14620 (copysign_test): Likewise.
14621 (cproj_test): Likewise.
14622 (creal_test): Likewise.
14623 (fabs_test): Likewise.
14624 (floor_test): Likewise.
14625 (fmax_test): Likewise.
14626 (fmin_test): Likewise.
14627 (fmod_test): Likewise.
14628 (fpclassify_test): Likewise.
14629 (frexp_test): Likewise.
14630 (ilogb_test): Likewise.
14631 (isfinite_test): Likewise.
14632 (finite_test): Likewise.
14633 (isgreater_test): Likewise.
14634 (isgreaterequal_test): Likewise.
14635 (isinf_test): Likewise.
14636 (isless_test): Likewise.
14637 (islessequal_test): Likewise.
14638 (islessgreater_test): Likewise.
14639 (isnan_test): Likewise.
14640 (isnormal_test): Likewise.
14641 (issignaling_test): Likewise.
14642 (isunordered_test): Likewise.
14643 (logb_test): Likewise.
14644 (logb_downward_test_data): Remove.
14645 (logb_test_downward): Likewise.
14646 (lround_test): Use ALL_RM_TEST.
14647 (llround_test): Likewise.
14648 (modf_test): Likewise.
14649 (nexttoward_test): Likewise.
14650 (remainder_test): Likewise.
14651 (drem_test): Likewise.
14652 (remainder_tonearest_test_data): Likewise.
14653 (remainder_test_tonearest): Likewise.
14654 (drem_test_tonearest): Likewise.
14655 (remainder_towardzero_test_data): Likewise.
14656 (remainder_test_towardzero): Likewise.
14657 (drem_test_towardzero): Likewise.
14658 (remainder_downward_test_data): Likewise.
14659 (remainder_test_downward): Likewise.
14660 (drem_test_downward): Likewise.
14661 (remainder_upward_test_data): Likewise.
14662 (remainder_test_upward): Likewise.
14663 (drem_test_upward): Likewise.
14664 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
14665 (round_test): Use ALL_RM_TEST.
14666 (signbit_test): Likewise.
14667 (trunc_test): Likewise.
14668 (significand_test): Likewise.
14669 (main): Don't call removed functions.
14671 2014-03-07 Joseph Myers <joseph@codesourcery.com>
14674 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
14675 || __USE_XOPEN2K8].
14676 (ILL_ILLOPN): Likewise.
14677 (ILL_ILLADR): Likewise.
14678 (ILL_ILLTRP): Likewise.
14679 (ILL_PRVOPC): Likewise.
14680 (ILL_PRVREG): Likewise.
14681 (ILL_COPROC): Likewise.
14682 (ILL_BADSTK): Likewise.
14683 (FPE_INTDIV): Likewise.
14684 (FPE_INTOVF): Likewise.
14685 (FPE_FLTDIV): Likewise.
14686 (FPE_FLTOVF): Likewise.
14687 (FPE_FLTUND): Likewise.
14688 (FPE_FLTRES): Likewise.
14689 (FPE_FLTINV): Likewise.
14690 (FPE_FLTSUB): Likewise.
14691 (SEGV_MAPERR): Likewise.
14692 (SEGV_ACCERR): Likewise.
14693 (BUS_ADRALN): Likewise.
14694 (BUS_ADRERR): Likewise.
14695 (BUS_OBJERR): Likewise.
14696 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14697 (TRAP_TRACE): Likewise.
14698 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14700 (CLD_KILLED): Likewise.
14701 (CLD_DUMPED): Likewise.
14702 (CLD_TRAPPED): Likewise.
14703 (CLD_STOPPED): Likewise.
14704 (CLD_CONTINUED): Likewise.
14705 (POLL_IN): Likewise.
14706 (POLL_OUT): Likewise.
14707 (POLL_MSG): Likewise.
14708 (POLL_ERR): Likewise.
14709 (POLL_PRI): Likewise.
14710 (POLL_HUP): Likewise.
14711 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
14713 (ILL_ILLOPN): Likewise.
14714 (ILL_ILLADR): Likewise.
14715 (ILL_ILLTRP): Likewise.
14716 (ILL_PRVOPC): Likewise.
14717 (ILL_PRVREG): Likewise.
14718 (ILL_COPROC): Likewise.
14719 (ILL_BADSTK): Likewise.
14720 (FPE_INTDIV): Likewise.
14721 (FPE_INTOVF): Likewise.
14722 (FPE_FLTDIV): Likewise.
14723 (FPE_FLTOVF): Likewise.
14724 (FPE_FLTUND): Likewise.
14725 (FPE_FLTRES): Likewise.
14726 (FPE_FLTINV): Likewise.
14727 (FPE_FLTSUB): Likewise.
14728 (SEGV_MAPERR): Likewise.
14729 (SEGV_ACCERR): Likewise.
14730 (BUS_ADRALN): Likewise.
14731 (BUS_ADRERR): Likewise.
14732 (BUS_OBJERR): Likewise.
14733 (BUS_MCEERR_AR): Likewise.
14734 (BUS_MCEERR_AO): Likewise.
14735 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14736 (TRAP_TRACE): Likewise.
14737 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14739 (CLD_KILLED): Likewise.
14740 (CLD_DUMPED): Likewise.
14741 (CLD_TRAPPED): Likewise.
14742 (CLD_STOPPED): Likewise.
14743 (CLD_CONTINUED): Likewise.
14744 (POLL_IN): Likewise.
14745 (POLL_OUT): Likewise.
14746 (POLL_MSG): Likewise.
14747 (POLL_ERR): Likewise.
14748 (POLL_PRI): Likewise.
14749 (POLL_HUP): Likewise.
14750 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
14751 (ILL_ILLOPN): Likewise.
14752 (ILL_ILLADR): Likewise.
14753 (ILL_ILLTRP): Likewise.
14754 (ILL_PRVOPC): Likewise.
14755 (ILL_PRVREG): Likewise.
14756 (ILL_COPROC): Likewise.
14757 (ILL_BADSTK): Likewise.
14758 (FPE_INTDIV): Likewise.
14759 (FPE_INTOVF): Likewise.
14760 (FPE_FLTDIV): Likewise.
14761 (FPE_FLTOVF): Likewise.
14762 (FPE_FLTUND): Likewise.
14763 (FPE_FLTRES): Likewise.
14764 (FPE_FLTINV): Likewise.
14765 (FPE_FLTSUB): Likewise.
14766 (SEGV_MAPERR): Likewise.
14767 (SEGV_ACCERR): Likewise.
14768 (BUS_ADRALN): Likewise.
14769 (BUS_ADRERR): Likewise.
14770 (BUS_OBJERR): Likewise.
14771 (BUS_MCEERR_AR): Likewise.
14772 (BUS_MCEERR_AO): Likewise.
14773 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14774 (TRAP_TRACE): Likewise.
14775 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14777 (CLD_KILLED): Likewise.
14778 (CLD_DUMPED): Likewise.
14779 (CLD_TRAPPED): Likewise.
14780 (CLD_STOPPED): Likewise.
14781 (CLD_CONTINUED): Likewise.
14782 (POLL_IN): Likewise.
14783 (POLL_OUT): Likewise.
14784 (POLL_MSG): Likewise.
14785 (POLL_ERR): Likewise.
14786 (POLL_PRI): Likewise.
14787 (POLL_HUP): Likewise.
14788 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
14790 (ILL_ILLOPN): Likewise.
14791 (ILL_ILLADR): Likewise.
14792 (ILL_ILLTRP): Likewise.
14793 (ILL_PRVOPC): Likewise.
14794 (ILL_PRVREG): Likewise.
14795 (ILL_COPROC): Likewise.
14796 (ILL_BADSTK): Likewise.
14797 (ILL_BADIADDR): Likewise.
14798 (ILL_BREAK): Likewise.
14799 (FPE_INTDIV): Likewise.
14800 (FPE_INTOVF): Likewise.
14801 (FPE_FLTDIV): Likewise.
14802 (FPE_FLTOVF): Likewise.
14803 (FPE_FLTUND): Likewise.
14804 (FPE_FLTRES): Likewise.
14805 (FPE_FLTINV): Likewise.
14806 (FPE_FLTSUB): Likewise.
14807 (FPE_DECOVF): Likewise.
14808 (FPE_DECDIV): Likewise.
14809 (FPE_DECERR): Likewise.
14810 (FPE_INVASC): Likewise.
14811 (FPE_INVDEC): Likewise.
14812 (SEGV_MAPERR): Likewise.
14813 (SEGV_ACCERR): Likewise.
14814 (SEGV_PSTKOVF): Likewise.
14815 (BUS_ADRALN): Likewise.
14816 (BUS_ADRERR): Likewise.
14817 (BUS_OBJERR): Likewise.
14818 (BUS_MCEERR_AR): Likewise.
14819 (BUS_MCEERR_AO): Likewise.
14820 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14821 (TRAP_TRACE): Likewise.
14822 (TRAP_BRANCH): Likewise.
14823 (TRAP_HWBKPT): 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/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
14838 (ILL_ILLOPN): Likewise.
14839 (ILL_ILLADR): Likewise.
14840 (ILL_ILLTRP): Likewise.
14841 (ILL_PRVOPC): Likewise.
14842 (ILL_PRVREG): Likewise.
14843 (ILL_COPROC): Likewise.
14844 (ILL_BADSTK): Likewise.
14845 (FPE_INTDIV): Likewise.
14846 (FPE_INTOVF): Likewise.
14847 (FPE_FLTDIV): Likewise.
14848 (FPE_FLTOVF): Likewise.
14849 (FPE_FLTUND): Likewise.
14850 (FPE_FLTRES): Likewise.
14851 (FPE_FLTINV): Likewise.
14852 (FPE_FLTSUB): Likewise.
14853 (SEGV_MAPERR): Likewise.
14854 (SEGV_ACCERR): Likewise.
14855 (BUS_ADRALN): Likewise.
14856 (BUS_ADRERR): Likewise.
14857 (BUS_OBJERR): Likewise.
14858 (BUS_MCEERR_AR): Likewise.
14859 (BUS_MCEERR_AO): Likewise.
14860 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14861 (TRAP_TRACE): Likewise.
14862 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14864 (CLD_KILLED): Likewise.
14865 (CLD_DUMPED): Likewise.
14866 (CLD_TRAPPED): Likewise.
14867 (CLD_STOPPED): Likewise.
14868 (CLD_CONTINUED): Likewise.
14869 (POLL_IN): Likewise.
14870 (POLL_OUT): Likewise.
14871 (POLL_MSG): Likewise.
14872 (POLL_ERR): Likewise.
14873 (POLL_PRI): Likewise.
14874 (POLL_HUP): Likewise.
14875 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
14876 (ILL_ILLOPN): Likewise.
14877 (ILL_ILLADR): Likewise.
14878 (ILL_ILLTRP): Likewise.
14879 (ILL_PRVOPC): Likewise.
14880 (ILL_PRVREG): Likewise.
14881 (ILL_COPROC): Likewise.
14882 (ILL_BADSTK): Likewise.
14883 (FPE_INTDIV): Likewise.
14884 (FPE_INTOVF): Likewise.
14885 (FPE_FLTDIV): Likewise.
14886 (FPE_FLTOVF): Likewise.
14887 (FPE_FLTUND): Likewise.
14888 (FPE_FLTRES): Likewise.
14889 (FPE_FLTINV): Likewise.
14890 (FPE_FLTSUB): Likewise.
14891 (SEGV_MAPERR): Likewise.
14892 (SEGV_ACCERR): Likewise.
14893 (BUS_ADRALN): Likewise.
14894 (BUS_ADRERR): Likewise.
14895 (BUS_OBJERR): Likewise.
14896 (BUS_MCEERR_AR): Likewise.
14897 (BUS_MCEERR_AO): Likewise.
14898 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14899 (TRAP_TRACE): Likewise.
14900 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14902 (CLD_KILLED): Likewise.
14903 (CLD_DUMPED): Likewise.
14904 (CLD_TRAPPED): Likewise.
14905 (CLD_STOPPED): Likewise.
14906 (CLD_CONTINUED): Likewise.
14907 (POLL_IN): Likewise.
14908 (POLL_OUT): Likewise.
14909 (POLL_MSG): Likewise.
14910 (POLL_ERR): Likewise.
14911 (POLL_PRI): Likewise.
14912 (POLL_HUP): Likewise.
14913 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
14914 (ILL_ILLOPN): Likewise.
14915 (ILL_ILLADR): Likewise.
14916 (ILL_ILLTRP): Likewise.
14917 (ILL_PRVOPC): Likewise.
14918 (ILL_PRVREG): Likewise.
14919 (ILL_COPROC): Likewise.
14920 (ILL_BADSTK): Likewise.
14921 (FPE_INTDIV): Likewise.
14922 (FPE_INTOVF): Likewise.
14923 (FPE_FLTDIV): Likewise.
14924 (FPE_FLTOVF): Likewise.
14925 (FPE_FLTUND): Likewise.
14926 (FPE_FLTRES): Likewise.
14927 (FPE_FLTINV): Likewise.
14928 (FPE_FLTSUB): Likewise.
14929 (SEGV_MAPERR): Likewise.
14930 (SEGV_ACCERR): Likewise.
14931 (BUS_ADRALN): Likewise.
14932 (BUS_ADRERR): Likewise.
14933 (BUS_OBJERR): Likewise.
14934 (BUS_MCEERR_AR): Likewise.
14935 (BUS_MCEERR_AO): Likewise.
14936 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14937 (TRAP_TRACE): Likewise.
14938 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14940 (CLD_KILLED): Likewise.
14941 (CLD_DUMPED): Likewise.
14942 (CLD_TRAPPED): Likewise.
14943 (CLD_STOPPED): Likewise.
14944 (CLD_CONTINUED): Likewise.
14945 (POLL_IN): Likewise.
14946 (POLL_OUT): Likewise.
14947 (POLL_MSG): Likewise.
14948 (POLL_ERR): Likewise.
14949 (POLL_PRI): Likewise.
14950 (POLL_HUP): Likewise.
14951 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
14952 (ILL_ILLOPN): Likewise.
14953 (ILL_ILLADR): Likewise.
14954 (ILL_ILLTRP): Likewise.
14955 (ILL_PRVOPC): Likewise.
14956 (ILL_PRVREG): Likewise.
14957 (ILL_COPROC): Likewise.
14958 (ILL_BADSTK): Likewise.
14959 (ILL_DBLFLT): Likewise.
14960 (ILL_HARDWALL): Likewise.
14961 (FPE_INTDIV): Likewise.
14962 (FPE_INTOVF): Likewise.
14963 (FPE_FLTDIV): Likewise.
14964 (FPE_FLTOVF): Likewise.
14965 (FPE_FLTUND): Likewise.
14966 (FPE_FLTRES): Likewise.
14967 (FPE_FLTINV): Likewise.
14968 (FPE_FLTSUB): Likewise.
14969 (SEGV_MAPERR): Likewise.
14970 (SEGV_ACCERR): Likewise.
14971 (BUS_ADRALN): Likewise.
14972 (BUS_ADRERR): Likewise.
14973 (BUS_OBJERR): Likewise.
14974 (BUS_MCEERR_AR): Likewise.
14975 (BUS_MCEERR_AO): Likewise.
14976 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14977 (TRAP_TRACE): Likewise.
14978 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14980 (CLD_KILLED): Likewise.
14981 (CLD_DUMPED): Likewise.
14982 (CLD_TRAPPED): Likewise.
14983 (CLD_STOPPED): Likewise.
14984 (CLD_CONTINUED): Likewise.
14985 (POLL_IN): Likewise.
14986 (POLL_OUT): Likewise.
14987 (POLL_MSG): Likewise.
14988 (POLL_ERR): Likewise.
14989 (POLL_PRI): Likewise.
14990 (POLL_HUP): Likewise.
14991 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
14992 (ILL_ILLOPN): Likewise.
14993 (ILL_ILLADR): Likewise.
14994 (ILL_ILLTRP): Likewise.
14995 (ILL_PRVOPC): Likewise.
14996 (ILL_PRVREG): Likewise.
14997 (ILL_COPROC): Likewise.
14998 (ILL_BADSTK): Likewise.
14999 (FPE_INTDIV): Likewise.
15000 (FPE_INTOVF): Likewise.
15001 (FPE_FLTDIV): Likewise.
15002 (FPE_FLTOVF): Likewise.
15003 (FPE_FLTUND): Likewise.
15004 (FPE_FLTRES): Likewise.
15005 (FPE_FLTINV): Likewise.
15006 (FPE_FLTSUB): Likewise.
15007 (SEGV_MAPERR): Likewise.
15008 (SEGV_ACCERR): Likewise.
15009 (BUS_ADRALN): Likewise.
15010 (BUS_ADRERR): Likewise.
15011 (BUS_OBJERR): Likewise.
15012 (BUS_MCEERR_AR): Likewise.
15013 (BUS_MCEERR_AO): Likewise.
15014 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15015 (TRAP_TRACE): Likewise.
15016 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15018 (CLD_KILLED): Likewise.
15019 (CLD_DUMPED): Likewise.
15020 (CLD_TRAPPED): Likewise.
15021 (CLD_STOPPED): Likewise.
15022 (CLD_CONTINUED): Likewise.
15023 (POLL_IN): Likewise.
15024 (POLL_OUT): Likewise.
15025 (POLL_MSG): Likewise.
15026 (POLL_ERR): Likewise.
15027 (POLL_PRI): Likewise.
15028 (POLL_HUP): Likewise.
15029 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
15030 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15033 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
15034 before #include of <time.h>.
15035 [!__USE_XOPEN2K] (__need_timespec): Likewise.
15036 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
15037 (test-xfail-UNIX98/sched.h/conform): Likewise.
15039 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
15041 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
15042 error absence of trapping exception support.
15043 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15045 2014-03-07 Joseph Myers <joseph@codesourcery.com>
15047 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
15048 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
15049 * timezone/Makefile (testdata): Move definition above include of
15051 (test-zones): New variable.
15052 (tests-special): Add zone files.
15053 (build-testdata): Use $(evaluate-test).
15055 * elf/Makefile (tests-special): Rename tests to end with .out.
15056 ($(objpfx)noload-mem): Likewise.
15057 ($(objpfx)tst-leaks1-mem): Likewise.
15058 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
15059 * iconv/Makefile (xtests-special): Change test-iconvconfig to
15060 $(objpfx)test-iconvconfig.out.
15061 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
15062 set -e inside subshell and redirect output to file.
15063 * iconvdata/Makefile (generated): Rename tests to end with .out.
15065 (tests-special): Rename tests to end with .out.
15066 ($(objpfx)mtrace-tst-loading): Likewise.
15067 * intl/Makefile (generated): Likewise.
15068 (tests-special): Likewise.
15069 ($(objpfx)mtrace-tst-gettext): Likewise.
15070 * misc/Makefile (generated): Likewise.
15071 (tests-special): Likewise.
15072 ($(objpfx)tst-error1-mem): Likewise.
15073 * nptl/Makefile (tests-special): Likewise.
15074 ($(objpfx)tst-stack3-mem): Likewise.
15075 (generated): Likewise.
15076 * posix/Makefile (generated): Likewise.
15077 (tests-special): Likewise.
15078 (xtests-special): Likewise.
15079 ($(objpfx)tst-fnmatch-mem): Likewise.
15080 ($(objpfx)bug-regex2-mem): Likewise.
15081 ($(objpfx)bug-regex14-mem): Likewise.
15082 ($(objpfx)bug-regex21-mem): Likewise.
15083 ($(objpfx)bug-regex31-mem): Likewise.
15084 ($(objpfx)tst-vfork3-mem): Likewise.
15085 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15086 ($(objpfx)tst-pcre-mem): Likewise.
15087 ($(objpfx)tst-boost-mem): Likewise.
15088 ($(objpfx)bug-ga2-mem): Likewise.
15089 ($(objpfx)bug-glob2-mem): Likewise.
15090 * resolv/Makefile (generate): Likewise.
15091 (tests-special): Likewise.
15092 (xtests-special): Likewise.
15093 (generated): Likewise.
15094 ($(objpfx)mtrace-tst-leaks): Likewise.
15095 ($(objpfx)mtrace-tst-leaks2): Likewise.
15097 * scripts/merge-test-results.sh: New file.
15098 * Makefile (tests-special-notdir): New variable.
15099 (tests): Run merge-test-results.sh.
15100 (xtests): Likewise.
15101 * Rules (tests-special-notdir): New variable.
15102 (xtests-special-notdir): Likewise.
15103 (tests): Run merge-test-results.sh
15104 (xtests): Likewise.
15106 * Makeconfig (test-xfail-name): New variable.
15107 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
15108 compute variable name for expected failures.
15109 * conform/Makefile (conformtest-headers-data): New variable.
15110 (conformtest-standards): Likewise.
15111 (conformtest-headers-ISO): Likewise.
15112 (conformtest-headers-ISO99): Likewise.
15113 (conformtest-headers-ISO11): Likewise.
15114 (conformtest-headers-POSIX): Likewise.
15115 (conformtest-headers-XPG3): Likewise.
15116 (conformtest-headers-XPG4): Likewise.
15117 (conformtest-headers-UNIX98): Likewise.
15118 (conformtest-headers-XOPEN2K): Likewise.
15119 (conformtest-headers-POSIX2008): Likewise.
15120 (conformtest-headers-XOPEN2K8): Likewise.
15121 (conformtest-header-list-base): Likewise.
15122 (conformtest-header-list-tests): Likewise.
15123 (conformtest-header-base): Likewise.
15124 (conformtest-header-tests): Likewise.
15125 (tests-special): Add $(conformtest-header-list-tests). If
15126 [$(fast-check) && !$(cross-compiling)], add
15127 $(conformtest-header-tests) instead of
15128 $(objpfx)run-conformtest.out.
15129 (generated): Add $(conformtest-header-list-base). If
15130 [$(fast-check) && !$(cross-compiling)], add
15131 $(conformtest-header-base). Remove previous setting.
15132 ($(conformtest-header-list-tests)): New target.
15133 (test-xfail-run-conformtest): Remove variable.
15134 ($(objpfx)run-conformtest.out): Remove target.
15135 (test-xfail-ISO11/complex.h/conform): New variable.
15136 (test-xfail-ISO11/stdalign.h/conform): Likewise.
15137 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
15138 (test-xfail-XPG3/varargs.h/conform): Likewise.
15139 (test-xfail-XPG4/varargs.h/conform): Likewise.
15140 (test-xfail-UNIX98/varargs.h/conform): Likewise.
15141 (test-xfail-XPG4/ndbm.h/conform): Likewise.
15142 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
15143 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
15144 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
15145 (test-xfail-XPG3/fcntl.h/conform): Likewise.
15146 (test-xfail-XPG3/ftw.h/conform): Likewise.
15147 (test-xfail-XPG3/grp.h/conform): Likewise.
15148 (test-xfail-XPG3/langinfo.h/conform): Likewise.
15149 (test-xfail-XPG3/limits.h/conform): Likewise.
15150 (test-xfail-XPG3/pwd.h/conform): Likewise.
15151 (test-xfail-XPG3/search.h/conform): Likewise.
15152 (test-xfail-XPG3/signal.h/conform): Likewise.
15153 (test-xfail-XPG3/stdio.h/conform): Likewise.
15154 (test-xfail-XPG3/stdlib.h/conform): Likewise.
15155 (test-xfail-XPG3/string.h/conform): Likewise.
15156 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
15157 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
15158 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15159 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15160 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
15161 (test-xfail-XPG3/sys/types.h/conform): Likewise.
15162 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
15163 (test-xfail-XPG3/termios.h/conform): Likewise.
15164 (test-xfail-XPG3/time.h/conform): Likewise.
15165 (test-xfail-XPG3/unistd.h/conform): Likewise.
15166 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
15167 (test-xfail-XPG4/fcntl.h/conform): Likewise.
15168 (test-xfail-XPG4/langinfo.h/conform): Likewise.
15169 (test-xfail-XPG4/netdb.h/conform): Likewise.
15170 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
15171 (test-xfail-XPG4/signal.h/conform): Likewise.
15172 (test-xfail-XPG4/stdio.h/conform): Likewise.
15173 (test-xfail-XPG4/stdlib.h/conform): Likewise.
15174 (test-xfail-XPG4/stropts.h/conform): Likewise.
15175 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15176 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15177 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15178 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15179 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15180 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
15181 (test-xfail-XPG4/sys/time.h/conform): Likewise.
15182 (test-xfail-XPG4/sys/types.h/conform): Likewise.
15183 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
15184 (test-xfail-XPG4/termios.h/conform): Likewise.
15185 (test-xfail-XPG4/ucontext.h/conform): Likewise.
15186 (test-xfail-XPG4/unistd.h/conform): Likewise.
15187 (test-xfail-XPG4/utmpx.h/conform): Likewise.
15188 (test-xfail-POSIX/sched.h/conform): Likewise.
15189 (test-xfail-POSIX/signal.h/conform): Likewise.
15190 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15191 (test-xfail-POSIX/tar.h/conform): Likewise.
15192 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
15193 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
15194 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15195 (test-xfail-UNIX98/netdb.h/conform): Likewise.
15196 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
15197 (test-xfail-UNIX98/sched.h/conform): Likewise.
15198 (test-xfail-UNIX98/signal.h/conform): Likewise.
15199 (test-xfail-UNIX98/stdio.h/conform): Likewise.
15200 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15201 (test-xfail-UNIX98/stropts.h/conform): Likewise.
15202 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15203 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15204 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15205 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15206 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15207 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15208 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
15209 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
15210 (test-xfail-UNIX98/unistd.h/conform): Likewise.
15211 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15212 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
15213 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
15214 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15215 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
15216 (test-xfail-XOPEN2K/math.h/conform): Likewise.
15217 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15218 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15219 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15220 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
15221 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
15222 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
15223 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
15224 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15225 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15226 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15227 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15228 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15229 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15230 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
15231 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
15232 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15233 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
15234 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15235 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
15236 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15237 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
15238 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
15239 (test-xfail-POSIX2008/signal.h/conform): Likewise.
15240 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15241 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
15242 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
15243 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15244 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15245 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
15246 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15247 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15248 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15249 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
15250 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
15251 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15252 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15253 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15254 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
15255 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15256 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15257 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15258 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15259 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
15260 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15261 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15262 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
15263 (conformtest-cc-flags): Likewise.
15264 ($(conformtest-header-tests): New target.
15265 * conform/check-header-lists.sh: New file.
15266 * conform/run-conformtest.sh: Remove.
15268 * conform/conformtest.pl: Allow ' and \ in values given for
15270 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
15272 [POSIX] (sys/types.h): Likewise.
15273 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
15275 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
15277 * conform/data/signal.h-data (SIGIO): Remove expectation.
15278 [XPG3] (SIGBUS): Do not expect.
15279 [POSIX || XPG3] (SIGPOLL): Likewise.
15280 [POSIX || XPG3] (SIGPROF): Likewise.
15281 [POSIX || XPG3] (SIGSYS): Likewise.
15282 [XPG3] (SIGTRAP): Likewise.
15283 [POSIX || XPG3] (SIGURG): Likewise.
15284 [POSIX || XPG3] (SIGVTALRM): Likewise.
15285 [POSIX || XPG3] (SIGXCPU): Likewise.
15286 [POSIX || XPG3] (SIGXFSZ): Likewise.
15287 [POSIX] (SA_SIGINFO): Expect.
15288 [XPG3] (siginfo_t): Do not expect type or contents.
15289 [POSIX] (si_pid): Do not expect element.
15290 [POSIX] (si_uid): Likewise.
15291 [POSIX] (si_addr): Likewise.
15292 [POSIX] (si_status): Likewise.
15293 [POSIX] (si_band): Likewise.
15294 [XPG4] (si_value): Likewise.
15295 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
15296 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
15297 [POSIX || XPG3] (ILL_ILLADR): Likewise.
15298 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
15299 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
15300 [POSIX || XPG3] (ILL_PRVREG): Likewise.
15301 [POSIX || XPG3] (ILL_COPROC): Likewise.
15302 [POSIX || XPG3] (ILL_BADSTK): Likewise.
15303 [POSIX || XPG3] (FPE_INTDIV): Likewise.
15304 [POSIX || XPG3] (FPE_INTOVF): Likewise.
15305 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
15306 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
15307 [POSIX || XPG3] (FPE_FLTUND): Likewise.
15308 [POSIX || XPG3] (FPE_FLTRES): Likewise.
15309 [POSIX || XPG3] (FPE_FLTINV): Likewise.
15310 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
15311 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
15312 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
15313 [POSIX || XPG3] (BUS_ADRALN): Likewise.
15314 [POSIX || XPG3] (BUS_ADRERR): Likewise.
15315 [POSIX || XPG3] (BUS_OBJERR): Likewise.
15316 [POSIX || XPG3] (CLD_EXITED): Likewise.
15317 [POSIX || XPG3] (CLD_KILLED): Likewise.
15318 [POSIX || XPG3] (CLD_DUMPED): Likewise.
15319 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
15320 [POSIX || XPG3] (CLD_STOPPED): Likewise.
15321 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
15322 [POSIX || XPG3] (POLL_IN): Likewise.
15323 [POSIX || XPG3] (POLL_OUT): Likewise.
15324 [POSIX || XPG3] (POLL_MSG): Likewise.
15325 [POSIX || XPG3] (POLL_ERR): Likewise.
15326 [POSIX || XPG3] (POLL_PRI): Likewise.
15327 [POSIX || XPG3] (POLL_HUP): Likewise.
15328 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
15329 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
15330 (SIG*): Do not allow.
15331 [XPG3] (si_*): Likewise.
15332 [XPG3] (SI_*): Likewise.
15333 [XPG3 || XPG4] (sigev_*): Likewise.
15334 [XPG3 || XPG4] (SIGEV_*): Likewise.
15335 [XPG3 || XPG4] (sival_*): Likewise.
15336 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
15337 [POSIX || XPG3] (BUS_*): Likewise.
15338 [POSIX || XPG3] (CLD_*): Likewise.
15339 [POSIX || XPG3] (FPE_*): Likewise.
15340 [POSIX || XPG3] (ILL_*): Likewise.
15341 [POSIX || XPG3] (POLL_*): Likewise.
15342 [POSIX || XPG3] (SEGV_*): Likewise.
15343 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
15344 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
15345 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
15346 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
15347 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
15348 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
15349 Specify type and value.
15350 (TVERSLEN): Likewise.
15351 (REGTYPE): Likewise.
15352 (AREGTYPE): Likewise.
15353 (LNKTYPE): Likewise.
15354 (SYMTYPE): Likewise.
15355 (CHRTYPE): Likewise.
15356 (BLKTYPE): Likewise.
15357 (DIRTYPE): Likewise.
15358 (FIFOTYPE): Likewise.
15359 (CONTTYPE): Likewise.
15363 (TUREAD): Likewise.
15364 (TUWRITE): Likewise.
15365 (TUEXEC): Likewise.
15366 (TGREAD): Likewise.
15367 (TGWRITE): Likewise.
15368 (TGEXEC): Likewise.
15369 (TOREAD): Likewise.
15370 (TOWRITE): Likewise.
15371 (TOEXEC): Likewise.
15372 [POSIX] (TSVTX): Expect constant.
15374 2014-03-06 Joseph Myers <joseph@codesourcery.com>
15376 * Makefile (tests): Change dependencies to ....
15377 (tests-special): ... additions to this variable.
15378 (tests): Depend on $(tests-special).
15379 * Makerules (check-abi-list): New variable.
15380 (check-abi): Depend on $(check-abi-list).
15381 [$(subdir) = elf] (tests-special): Add
15382 $(objpfx)check-abi-libc.out.
15383 [$(build-shared) = yes && subdir] (tests-special): Add
15385 [$(build-shared) = yes && subdir] (tests): Do not depend on
15387 * Rules (tests): Depend on $(tests-special).
15388 (xtests): Depend on $(xtests-special).
15389 * catgets/Makefile (tests): Change dependencies to ....
15390 (tests-special): ... additions to this variable.
15391 * conform/Makefile (tests): Change dependencies to ....
15392 (tests-special): ... additions to this variable.
15393 * elf/Makefile (tests): Change dependencies to ....
15394 (tests-special): ... additions to this variable.
15395 * grp/Makefile (tests): Change dependencies to ....
15396 (tests-special): ... additions to this variable.
15397 * iconv/Makefile (xtests): Change dependencies to ....
15398 (xtests-special): ... additions to this variable.
15399 * iconvdata/Makefile (tests): Change dependencies to ....
15400 (tests-special): ... additions to this variable.
15401 * intl/Makefile (tests): Change dependencies to ....
15402 (tests-special): ... additions to this variable. Also add
15403 $(objpfx)tst-gettext.out.
15404 * io/Makefile (tests): Change dependencies to ....
15405 (tests-special): ... additions to this variable.
15406 * libio/Makefile (tests): Change dependencies to ....
15407 (tests-special): ... additions to this variable.
15408 * malloc/Makefile (tests): Change dependencies to ....
15409 (tests-special): ... additions to this variable.
15410 * misc/Makefile (tests): Change dependencies to ....
15411 (tests-special): ... additions to this variable.
15412 * nptl/Makefile (tests): Change dependencies to ....
15413 (tests-special): ... additions to this variable.
15414 * nptl_db/Makefile (tests): Change dependencies to ....
15415 (tests-special): ... additions to this variable.
15416 * posix/Makefile (tests): Change dependencies to ....
15417 (tests-special): ... additions to this variable.
15418 (xtests): Change dependencies to ....
15419 (xtests-special): ... additions to this variable.
15420 * resolv/Makefile (tests): Change dependencies to ....
15421 (tests-special): ... additions to this variable.
15422 (xtests): Change dependencies to ....
15423 (xtests-special): ... additions to this variable.
15424 * stdio-common/Makefile (tests): Change dependencies to ....
15425 (tests-special): ... additions to this variable.
15426 (do-tst-unbputc): Remove target.
15427 (do-tst-printf): Likewise.
15428 * stdlib/Makefile (tests): Change dependencies to ....
15429 (tests-special): ... additions to this variable.
15430 * string/Makefile (tests): Change dependencies to ....
15431 (tests-special): ... additions to this variable.
15432 * sysdeps/x86/Makefile (tests): Change dependencies to ....
15433 (tests-special): ... additions to this variable.
15435 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
15437 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
15439 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
15440 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
15442 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
15443 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
15444 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
15445 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
15446 * conform/data/libgen.h-data [XPG3]: Likewise.
15447 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
15448 * conform/data/ndbm.h-data [XPG3]: Likewise.
15449 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15450 * conform/data/netdb.h-data [XPG3]: Likewise.
15451 * conform/data/netinet/in.h-data [XPG3]: Likewise.
15452 * conform/data/poll.h-data [XPG3]: Likewise.
15453 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15454 * conform/data/strings.h-data [XPG3]: Likewise.
15455 * conform/data/stropts.h-data [XPG3]: Likewise.
15456 * conform/data/sys/mman.h-data [XPG3]: Likewise.
15457 * conform/data/sys/resource.h-data [XPG3]: Likewise.
15458 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
15460 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
15461 * conform/data/sys/time.h-data [XPG3]: Likewise.
15462 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
15463 * conform/data/sys/uio.h-data [XPG3]: Likewise.
15464 * conform/data/sys/un.h-data [XPG3]: Likewise.
15465 * conform/data/syslog.h-data [XPG3]: Likewise.
15466 * conform/data/ucontext.h-data [XPG3]: Likewise.
15467 * conform/data/utmpx.h-data [XPG3]: Likewise.
15468 * conform/data/varargs.h-data [UNIX98]: Enable file.
15470 * manual/Makefile (INSTALL_INFO): Remove variable setting.
15472 * math/libm-test.inc (struct test_f_f_data): Move expected results
15473 into structure for each rounding mode.
15474 (struct test_ff_f_data): Likewise.
15475 (struct test_ff_f_data_nexttoward): Likewise.
15476 (struct test_fi_f_data): Likewise.
15477 (struct test_fl_f_data): Likewise.
15478 (struct test_if_f_data): Likewise.
15479 (struct test_fff_f_data): Likewise.
15480 (struct test_c_f_data): Likewise.
15481 (struct test_f_f1_data): Likewise.
15482 (struct test_fF_f1_data): Likewise.
15483 (struct test_ffI_f1_data): Likewise.
15484 (struct test_c_c_data): Likewise.
15485 (struct test_cc_c_data): Likewise.
15486 (struct test_f_i_data): Likewise.
15487 (struct test_ff_i_data): Likewise.
15488 (struct test_f_l_data): Likewise.
15489 (struct test_f_L_data): Likewise.
15490 (struct test_fFF_11_data): Likewise.
15492 (RM_FE_DOWNWARD): Likewise.
15493 (RM_FE_TONEAREST): Likewise.
15494 (RM_FE_TOWARDZERO): Likewise.
15495 (RM_FE_UPWARD): Likewise.
15496 (RUN_TEST_LOOP_f_f): Update references to expected results.
15497 (RUN_TEST_LOOP_2_f): Likewise.
15498 (RUN_TEST_LOOP_fff_f): Likewise.
15499 (RUN_TEST_LOOP_c_f): Likewise.
15500 (RUN_TEST_LOOP_f_f1): Likewise.
15501 (RUN_TEST_LOOP_fF_f1): Likewise.
15502 (RUN_TEST_LOOP_fI_f1): Likewise.
15503 (RUN_TEST_LOOP_ffI_f1): Likewise.
15504 (RUN_TEST_LOOP_c_c): Likewise.
15505 (RUN_TEST_LOOP_cc_c): Likewise.
15506 (RUN_TEST_LOOP_f_i): Likewise.
15507 (RUN_TEST_LOOP_f_i_tg): Likewise.
15508 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15509 (RUN_TEST_LOOP_f_b): Likewise.
15510 (RUN_TEST_LOOP_f_b_tg): Likewise.
15511 (RUN_TEST_LOOP_f_l): Likewise.
15512 (RUN_TEST_LOOP_f_L): Likewise.
15513 (RUN_TEST_LOOP_fFF_11): Likewise.
15514 * math/gen-libm-test.pl (parse_args): Output four copies of
15515 expected results for each test.
15517 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15518 (__ASSUME_UTIMES): Remove.
15519 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15520 (__ASSUME_UTIMES): Likewise.
15522 * math/gen-auto-libm-tests.c: Update comment on output format.
15523 (output_for_one_input_case): Generate before-rounding and
15524 after-rounding information as conditions on output flags not
15525 floating-point format.
15526 * math/auto-libm-test-out: Regenerated.
15527 * math/gen-libm-test.pl (cond_value): New function.
15528 (or_cond_value): Use cond_value.
15529 (generate_testfile): Handle conditional exceptions.
15531 2014-03-05 Joseph Myers <joseph@codesourcery.com>
15533 * math/libm-test.inc (max_valid_error): New variable.
15534 (init_max_error): Take new argument specifying whether function
15535 results are exactly determined. Set max_valid_error and bound
15536 other variables for errors based on this argument.
15537 (set_max_error): Do not record results above max_valid_error.
15538 (check_float_internal): Only accept errors of up to 0.5ulps if
15539 also at most max_valid_error.
15540 (START): Take new argument EXACT and pass it to init_max_error.
15541 (acos_test): Update call to START.
15542 (acos_test_tonearest): Likewise.
15543 (acos_test_towardzero): Likewise.
15544 (acos_test_downward): Likewise.
15545 (acos_test_upward): Likewise.
15546 (acosh_test): Likewise.
15547 (asin_test): Likewise.
15548 (asin_test_tonearest): Likewise.
15549 (asin_test_towardzero): Likewise.
15550 (asin_test_downward): Likewise.
15551 (asin_test_upward): Likewise.
15552 (asinh_test): Likewise.
15553 (atan_test): Likewise.
15554 (atanh_test): Likewise.
15555 (atan2_test): Likewise.
15556 (cabs_test): Likewise.
15557 (cacos_test): Likewise.
15558 (cacosh_test): Likewise.
15559 (carg_test): Likewise.
15560 (casin_test): Likewise.
15561 (casinh_test): Likewise.
15562 (catan_test): Likewise.
15563 (catanh_test): Likewise.
15564 (cbrt_test): Likewise.
15565 (ccos_test): Likewise.
15566 (ccosh_test): Likewise.
15567 (ceil_test): Likewise.
15568 (cexp_test): Likewise.
15569 (cimag_test): Likewise.
15570 (clog_test): Likewise.
15571 (clog10_test): Likewise.
15572 (conj_test): Likewise.
15573 (copysign_test): Likewise.
15574 (cos_test): Likewise.
15575 (cos_test_tonearest): Likewise.
15576 (cos_test_towardzero): Likewise.
15577 (cos_test_downward): Likewise.
15578 (cos_test_upward): Likewise.
15579 (cosh_test): Likewise.
15580 (cosh_test_tonearest): Likewise.
15581 (cosh_test_towardzero): Likewise.
15582 (cosh_test_downward): Likewise.
15583 (cosh_test_upward): Likewise.
15584 (cpow_test): Likewise.
15585 (cproj_test): Likewise.
15586 (creal_test): Likewise.
15587 (csin_test): Likewise.
15588 (csinh_test): Likewise.
15589 (csqrt_test): Likewise.
15590 (ctan_test): Likewise.
15591 (ctan_test_tonearest): Likewise.
15592 (ctan_test_towardzero): Likewise.
15593 (ctan_test_downward): Likewise.
15594 (ctan_test_upward): Likewise.
15595 (ctanh_test): Likewise.
15596 (ctanh_test_tonearest): Likewise.
15597 (ctanh_test_towardzero): Likewise.
15598 (ctanh_test_downward): Likewise.
15599 (ctanh_test_upward): Likewise.
15600 (erf_test): Likewise.
15601 (erfc_test): Likewise.
15602 (exp_test): Likewise.
15603 (exp_test_tonearest): Likewise.
15604 (exp_test_towardzero): Likewise.
15605 (exp_test_downward): Likewise.
15606 (exp_test_upward): Likewise.
15607 (exp10_test): Likewise.
15608 (exp10_test_tonearest): Likewise.
15609 (exp10_test_towardzero): Likewise.
15610 (exp10_test_downward): Likewise.
15611 (exp10_test_upward): Likewise.
15612 (pow10_test): Likewise.
15613 (exp2_test): Likewise.
15614 (expm1_test): Likewise.
15615 (expm1_test_tonearest): Likewise.
15616 (expm1_test_towardzero): Likewise.
15617 (expm1_test_downward): Likewise.
15618 (expm1_test_upward): Likewise.
15619 (fabs_test): Likewise.
15620 (fdim_test): Likewise.
15621 (floor_test): Likewise.
15622 (fma_test): Likewise.
15623 (fma_test_towardzero): Likewise.
15624 (fma_test_downward): Likewise.
15625 (fma_test_upward): Likewise.
15626 (fmax_test): Likewise.
15627 (fmin_test): Likewise.
15628 (fmod_test): Likewise.
15629 (fpclassify_test): Likewise.
15630 (frexp_test): Likewise.
15631 (hypot_test): Likewise.
15632 (ilogb_test): Likewise.
15633 (isfinite_test): Likewise.
15634 (finite_test): Likewise.
15635 (isgreater_test): Likewise.
15636 (isgreaterequal_test): Likewise.
15637 (isinf_test): Likewise.
15638 (isless_test): Likewise.
15639 (islessequal_test): Likewise.
15640 (islessgreater_test): Likewise.
15641 (isnan_test): Likewise.
15642 (isnormal_test): Likewise.
15643 (issignaling_test): Likewise.
15644 (isunordered_test): Likewise.
15645 (j0_test): Likewise.
15646 (j1_test): Likewise.
15647 (jn_test): Likewise.
15648 (ldexp_test): Likewise.
15649 (lgamma_test): Likewise.
15650 (gamma_test): Likewise.
15651 (lrint_test): Likewise.
15652 (lrint_test_tonearest): Likewise.
15653 (lrint_test_towardzero): Likewise.
15654 (lrint_test_downward): Likewise.
15655 (lrint_test_upward): Likewise.
15656 (llrint_test): Likewise.
15657 (llrint_test_tonearest): Likewise.
15658 (llrint_test_towardzero): Likewise.
15659 (llrint_test_downward): Likewise.
15660 (llrint_test_upward): Likewise.
15661 (log_test): Likewise.
15662 (log10_test): Likewise.
15663 (log1p_test): Likewise.
15664 (log2_test): Likewise.
15665 (logb_test): Likewise.
15666 (logb_test_downward): Likewise.
15667 (lround_test): Likewise.
15668 (llround_test): Likewise.
15669 (modf_test): Likewise.
15670 (nearbyint_test): Likewise.
15671 (nextafter_test): Likewise.
15672 (nexttoward_test): Likewise.
15673 (pow_test): Likewise.
15674 (pow_test_tonearest): Likewise.
15675 (pow_test_towardzero): Likewise.
15676 (pow_test_downward): Likewise.
15677 (pow_test_upward): Likewise.
15678 (remainder_test): Likewise.
15679 (drem_test): Likewise.
15680 (remainder_test_tonearest): Likewise.
15681 (drem_test_tonearest): Likewise.
15682 (remainder_test_towardzero): Likewise.
15683 (drem_test_towardzero): Likewise.
15684 (remainder_test_downward): Likewise.
15685 (drem_test_downward): Likewise.
15686 (remainder_test_upward): Likewise.
15687 (drem_test_upward): Likewise.
15688 (remquo_test): Likewise.
15689 (rint_test): Likewise.
15690 (rint_test_tonearest): Likewise.
15691 (rint_test_towardzero): Likewise.
15692 (rint_test_downward): Likewise.
15693 (rint_test_upward): Likewise.
15694 (round_test): Likewise.
15695 (scalb_test): Likewise.
15696 (scalbn_test): Likewise.
15697 (scalbln_test): Likewise.
15698 (signbit_test): Likewise.
15699 (sin_test): Likewise.
15700 (sin_test_tonearest): Likewise.
15701 (sin_test_towardzero): Likewise.
15702 (sin_test_downward): Likewise.
15703 (sin_test_upward): Likewise.
15704 (sincos_test): Likewise.
15705 (sinh_test): Likewise.
15706 (sinh_test_tonearest): Likewise.
15707 (sinh_test_towardzero): Likewise.
15708 (sinh_test_downward): Likewise.
15709 (sinh_test_upward): Likewise.
15710 (sqrt_test): Likewise.
15711 (sqrt_test_tonearest): Likewise.
15712 (sqrt_test_towardzero): Likewise.
15713 (sqrt_test_downward): Likewise.
15714 (sqrt_test_upward): Likewise.
15715 (tan_test): Likewise.
15716 (tan_test_tonearest): Likewise.
15717 (tan_test_towardzero): Likewise.
15718 (tan_test_downward): Likewise.
15719 (tan_test_upward): Likewise.
15720 (tanh_test): Likewise.
15721 (tgamma_test): Likewise.
15722 (trunc_test): Likewise.
15723 (y0_test): Likewise.
15724 (y1_test): Likewise.
15725 (yn_test): Likewise.
15726 (significand_test): Likewise.
15728 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
15729 individual tests in comment.
15730 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
15731 (prev_max_error): New variable.
15732 (prev_real_max_error): Likewise.
15733 (prev_imag_max_error): Likewise.
15734 (compare_ulp_data): Don't refer to test names in comment.
15735 (find_test_ulps): Remove function.
15736 (find_function_ulps): Likewise.
15737 (find_complex_function_ulps): Likewise.
15738 (init_max_error): Take function name as argument. Look up ulps
15740 (print_ulps): Remove function.
15741 (print_max_error): Use prev_max_error instead of calling
15742 find_function_ulps.
15743 (print_complex_max_error): Use prev_real_max_error and
15744 prev_imag_max_error instead of calling find_complex_function_ulps.
15745 (check_float_internal): Take max_ulp parameter instead of calling
15746 find_test_ulps. Don't call print_ulps.
15747 (check_float): Update call to check_float_internal.
15748 (check_complex): Update calls to check_float_internal.
15749 (START): Pass argument to init_max_error.
15750 * math/gen-libm-test.pl (%results): Don't include "kind"
15752 (parse_ulps): Don't handle ulps of individual tests.
15753 (print_ulps_file): Likewise.
15754 (output_ulps): Likewise.
15755 * math/README.libm-test: Update.
15756 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
15758 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
15759 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
15760 * sysdeps/arm/libm-test-ulps: Likewise.
15761 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
15762 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
15763 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
15764 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
15765 * sysdeps/microblaze/libm-test-ulps: Likewise.
15766 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15767 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15768 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15769 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
15770 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15771 * sysdeps/sh/libm-test-ulps: Likewise.
15772 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15773 * sysdeps/tile/libm-test-ulps: Likewise.
15774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15776 2014-03-04 Joseph Myers <joseph@codesourcery.com>
15778 * math/libm-test.inc (print_complex_max_error): Check separately
15779 whether real and imaginary errors are within allowed range and
15780 pass 0 to print_complex_function_ulps instead of value within
15783 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15785 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
15787 (get_handles_fopen): Likewise.
15788 (do_write_test): Likewise.
15790 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
15792 * libio/fileops.c (do_ftell): Use cached offset when
15794 * libio/iofwide.c (do_ftell_wide): Likewise.
15795 * libio/iofdopen.c (_IO_new_fdopen): Don't use
15797 * libio/wfileops.c (_IO_fwide): Don't cache offset.
15800 * libio/libioP.h (get_file_offset): New function.
15801 * libio/fileops.c (get_file_offset): Likewise.
15802 (do_ftell): Likewise.
15803 (_IO_new_file_seekoff): Split out ftell logic.
15804 * libio/wfileops.c (do_ftell_wide): Likewise.
15805 (_IO_wfile_seekoff): Split out ftell logic.
15806 * libio/tst-ftell-active-handler.c: New test case.
15807 * libio/Makefile (tests): Add it.
15809 2014-03-03 Roland McGrath <roland@hack.frob.com>
15811 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
15812 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
15814 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15817 * nscd/connections.c (nscd_init): Call do_exit.
15818 (start_threads): Call do_exit and notify_parent.
15819 (begin_drop_privileges): Call do_exit.
15820 (finish_drop_privileges): Likewise.
15821 * nscd/selinux.c (preserve_capabilities): Likewise.
15822 (install_real_capabilities): Likewise.
15823 (nscd_selinux_enabled): Likewise.
15824 (avc_create_thread): Likewise.
15825 (avc_alloc_lock): Likewise.
15826 (nscd_avc_init): Likewise.
15827 * nscd/nscd.c (parent_fd): New static variable.
15828 (main): Create a pipe between parent and child processes.
15829 Skip closing parent_fd.
15830 (monitor_child): New function.
15831 (do_exit): Likewise.
15832 (notify_parent): Likewise.
15833 * nscd/nscd.h (notify_parent): Likewise.
15834 (do_exit): Likewise.
15836 2014-03-03 Carlos O'Donell <carlos@redhat.com>
15838 * malloc/malloc.c (__libc_calloc): Revert last change.
15840 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15842 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15844 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15846 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
15847 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
15849 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15850 (__libc_ifunc_impl_list): Likewise.
15851 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
15852 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
15853 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
15854 * string/strrchr.c: Define STRRCHR.
15856 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
15858 * benchtest/bench-strtok.c (simple_strtok): Delete.
15859 (strtok_string): Use as benchmark.
15860 * string/strtok (STRTOK): New macro.
15862 2014-02-28 Carlos O'Donell <carlos@redhat.com>
15864 * manual/threads.texi: Add header and standard comments to all
15867 * elf/dl-lookup.c (check_match): New function.
15868 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
15869 (do_lookup_x): Remove nested function check_match. Use non-nested
15870 function check_match.
15872 2014-02-28 Roland McGrath <roland@hack.frob.com>
15874 * csu/Makefile (generated, before-compile): Use += rather than =.
15875 * catgets/Makefile (generated, generated-dirs): Likewise.
15876 * debug/Makefile (generated): Likewise.
15877 * dlfcn/Makefile (generated): Likewise.
15878 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
15879 * iconvdata/Makefile (before-compile, generated): Likewise.
15880 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
15881 * libio/Makefile (generated): Likewise.
15882 * malloc/Makefile (generated): Likewise.
15883 * manual/Makefile (generated, generated-dirs): Likewise.
15884 * misc/Makefile (generated): Likewise.
15885 * posix/Makefile (generated): Likewise.
15886 * resolv/Makefile (generated): Likewise.
15887 * sunrpc/Makefile (generated, generated-dirs): Likewise.
15888 * timezone/Makefile (generated, generated-dirs): Likewise.
15890 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
15892 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15894 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15895 power8 implementation.
15896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
15897 file: POWER8 llround ifunc implementation.
15898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
15899 (__lllround): Add POWER8 implementation.
15900 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
15901 POWER8 llround implementation.
15903 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
15904 power8 implementation.
15905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
15906 file: POWER8 llrint ifunc implementation.
15907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
15908 Add POWER8 implementation.
15909 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
15910 POWER8 llrint implementation.
15912 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
15913 power8 implementation.
15914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
15915 file: POWER8 finite ifunc implementation.
15916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
15917 Add POWER8 implementation.
15918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
15920 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
15921 POWER8 finite implementation.
15922 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
15924 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
15925 power8 implementation.
15926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
15927 file: POWER8 isinf ifunc implementation.
15928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
15929 POWER8 implementation.
15930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
15932 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
15933 isinf implementation.
15934 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
15936 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
15937 (INIT_ARCH): Add hwcap2 initialization.
15938 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15939 power8 implementation.
15940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
15941 file: POWER8 isnan ifunc implementation.
15942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
15943 POWER8 implementation.
15944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
15946 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
15947 isnan implementation.
15948 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
15950 2014-02-27 Joey Ye <joey.ye@arm.com>
15952 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15953 (_FP_NANFRAC_Q): Set to zero.
15955 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15958 * math/auto-libm-test-in: New test inputs.
15959 * math/auto-libm-test-out: Regenerate.
15960 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
15963 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15965 2014-02-27 Joseph Myers <joseph@codesourcery.com>
15967 * scripts/evaluate-test.sh: Take new argument indicating whether
15968 failure is expected.
15969 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
15970 indicating whether failure is expected.
15971 * conform/Makefile (test-xfail-run-conformtest): New variable.
15972 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
15974 * posix/Makefile (test-xfail-annexc): New variable.
15975 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
15977 2014-02-26 Joseph Myers <joseph@codesourcery.com>
15979 * argp/Makefile: Include Makeconfig immediately after defining
15981 * assert/Makefile: Likewise.
15982 * benchtests/Makefile: Likewise.
15983 * catgets/Makefile: Likewise.
15984 * conform/Makefile: Likewise.
15985 * crypt/Makefile: Likewise.
15986 * csu/Makefile: Likewise.
15987 (all): Remove target.
15988 * ctype/Makefile: Include Makeconfig immediately after defining
15990 * debug/Makefile: Likewise.
15991 * dirent/Makefile: Likewise.
15992 * dlfcn/Makefile: Likewise.
15993 * gmon/Makefile: Likewise.
15994 * gnulib/Makefile: Likewise.
15995 * grp/Makefile: Likewise.
15996 * gshadow/Makefile: Likewise.
15997 * hesiod/Makefile: Likewise.
15998 * hurd/Makefile: Likewise.
15999 (all): Remove target.
16000 * iconvdata/Makefile: Include Makeconfig immediately after
16002 * inet/Makefile: Likewise.
16003 * intl/Makefile: Likewise.
16004 * io/Makefile: Likewise.
16005 * libio/Makefile: Likewise.
16006 (all): Remove target.
16007 * locale/Makefile: Include Makeconfig immediately after defining
16009 * login/Makefile: Likewise.
16010 * mach/Makefile: Likewise.
16011 (all): Remove target.
16012 * malloc/Makefile: Include Makeconfig immediately after defining
16014 (all): Remove target.
16015 * manual/Makefile: Include Makeconfig immediately after defining
16017 * math/Makefile: Likewise.
16018 * misc/Makefile: Likewise.
16019 * nis/Makefile: Likewise.
16020 * nss/Makefile: Likewise.
16021 * po/Makefile: Likewise.
16022 (all): Remove target.
16023 * posix/Makefile: Include Makeconfig immediately after defining
16025 * pwd/Makefile: Likewise.
16026 * resolv/Makefile: Likewise.
16027 * resource/Makefile: Likewise.
16028 * rt/Makefile: Likewise.
16029 * setjmp/Makefile: Likewise.
16030 * shadow/Makefile: Likewise.
16031 * signal/Makefile: Likewise.
16032 * socket/Makefile: Likewise.
16033 * soft-fp/Makefile: Likewise.
16034 * stdio-common/Makefile: Likewise.
16035 * stdlib/Makefile: Likewise.
16036 * streams/Makefile: Likewise.
16037 * string/Makefile: Likewise.
16038 * sunrpc/Makefile: Likewise.
16039 (all): Remove target.
16040 * sysvipc/Makefile: Include Makeconfig immediately after defining
16042 * termios/Makefile: Likewise.
16043 * time/Makefile: Likewise.
16044 * timezone/Makefile: Likewise.
16045 (all): Remove target.
16046 * wcsmbs/Makefile: Include Makeconfig immediately after defining
16048 * wctype/Makefile: Likewise.
16050 2014-02-26 Steve Ellcey <sellcey@mips.com>
16052 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
16053 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
16054 (libc_feholdexcept_setround_mips): Ditto.
16055 (libc_feholdsetround): New.
16056 (libc_feholdsetroundf): New.
16057 (libc_feholdsetroundl): New.
16058 (libc_feupdateenv_test_mips): New.
16059 (libc_feupdateenv_test): New.
16060 (libc_feupdateenv_testf): New.
16061 (libc_feupdateenv_testl): New.
16062 (libc_feresetround): New.
16063 (libc_feresetroundf): New.
16064 (libc_feresetroundl): New.
16065 (libc_fetestexcept_mips): New.
16066 (libc_fetestexcept): New.
16067 (libc_fetestexceptf): New.
16068 (libc_fetestexceptl): New.
16069 (HAVE_RM_CTX): New.
16070 (libc_feholdexcept_setround_mips_ctx): New.
16071 (libc_feholdexcept_setround_ctx): New.
16072 (libc_feholdexcept_setroundf_ctx): New.
16073 (libc_feholdexcept_setroundl_ctx): New.
16074 (libc_fesetenv_mips_ctx): New.
16075 (libc_fesetenv_ctx): New.
16076 (libc_fesetenv_ctxf): New.
16077 (libc_fesetenv_ctxl): New.
16078 (libc_feupdateenv_mips_ctx): New.
16079 (libc_feupdateenv_ctx): New.
16080 (libc_feupdateenvf_ctx): New.
16081 (libc_feupdateenvl_ctx): New.
16082 (libc_feholdsetround_mips_ctx): New.
16083 (libc_feholdsetround_ctx): New.
16084 (libc_feholdsetroundf_ctx): New.
16085 (libc_feholdsetroundl_ctx): New.
16086 (libc_feresetround_mips_ctx): New.
16087 (libc_feresetround_ctx): New.
16088 (libc_feresetroundf_ctx): New.
16089 (libc_feresetroundl_ctx): New.
16091 2014-02-26 Carlos O'Donell <carlos@redhat.com>
16093 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
16095 * manual/ipc.texi: New file.
16096 * manual/Makefile (chapters): Add ipc.
16097 * manual/job.texi: Add "Inter-Process Communication" to next.
16098 * manual/process.texi: Add "Inter-Process Communication" to prev.
16100 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16102 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16104 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
16106 * malloc/malloc.c (__libc_calloc): Simplify implementation.
16108 * manual/arith.texi: Fix spaces after sentences.
16109 * manual/charset.texi: Likewise.
16110 * manual/errno.texi: Likewise.
16111 * manual/install.texi: Likewise.
16112 * manual/llio.texi: Likewise.
16113 * manual/locale.texi: Likewise.
16114 * manual/maint.texi: Likewise.
16115 * manual/math.texi: Likewise.
16116 * manual/memory.texi: Likewise.
16117 * manual/message.texi: Likewise.
16118 * manual/probes.texi: Likewise.
16119 * manual/resource.texi: Likewise.
16120 * manual/signal.texi: Likewise.
16121 * manual/socket.texi: Likewise.
16122 * manual/stdio.texi: Likewise.
16123 * manual/string.texi: Likewise.
16124 * manual/time.texi: Likewise.
16125 * manual/users.texi: Likewise.
16127 2014-02-25 Carlos O'Donell <carlos@redhat.com>
16130 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
16131 _DEFAULT_SOURCE is defined.
16133 2014-02-25 Ulrich Drepper <drepper@gmail.com>
16134 Carlos O'Donell <carlos@redhat.com>
16137 * elf/dl-tls.c (_dl_count_modids): New function.
16138 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
16139 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
16140 audit library and increment generation counter.
16141 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
16142 * elf/tst-audit9.c: New file.
16143 * elf/tst-auditmod9a.c: New file.
16144 * elf/tst-auditmod9b.c: New file.
16145 * elf/Makefile: Add rules to build and run tst-audit9.
16147 2014-02-25 Florian Weimer <fweimer@redhat.com>
16150 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
16152 2014-02-25 Will Newton <will.newton@linaro.org>
16154 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
16155 (__longjmp): Restore sp and lr before restoring callee
16156 saved registers. Add longjmp and longjmp_target
16157 SystemTap probe point.
16158 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
16159 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
16160 Define to zero to match jmpbuf layout.
16161 * sysdeps/arm/setjmp.S: Include stap-probe.h.
16162 (__sigsetjmp): Save sp and lr before saving callee
16163 saved registers. Add setjmp SystemTap probe point.
16165 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
16167 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16169 2014-02-24 Andreas Schwab <schwab@suse.de>
16172 * elf/pldd.c (wait_for_ptrace_stop): New function.
16173 (main): Call it after attaching.
16175 2014-02-22 Roland McGrath <roland@hack.frob.com>
16177 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
16178 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
16179 Versions files is now verboten.
16180 * hurd/Versions (libc: GLIBC_2.0):
16181 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
16182 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
16183 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
16184 * mach/Versions: Likewise.
16186 * csu/Versions: Remove unused %include.
16187 * resolv/Versions: Likewise.
16189 2014-02-21 Joseph Myers <joseph@codesourcery.com>
16191 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
16192 ($(objpfx)check-local-headers.out): Likewise.
16193 ($(objpfx)begin-end-check.out): Likewise.
16194 * Makerules (check-abi-%.out): Likewise.
16195 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
16196 ($(objpfx)test2.cat): Likewise.
16197 ($(objpfx)de/libc.cat): Likewise.
16198 ($(objpfx)test-gencat.out): Likewise.
16199 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
16200 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
16201 ($(objpfx)noload-mem): Likewise.
16202 ($(objpfx)tst-pathopt.out): Likewise.
16203 ($(objpfx)tst-rtld-load-self.out): Likewise.
16204 ($(objpfx)tst-array1-cmp.out): Likewise.
16205 ($(objpfx)tst-array1-static-cmp.out): Likewise.
16206 ($(objpfx)tst-array2-cmp.out): Likewise.
16207 ($(objpfx)tst-array3-cmp.out): Likewise.
16208 ($(objpfx)tst-array4-cmp.out): Likewise.
16209 ($(objpfx)tst-array5-cmp.out): Likewise.
16210 ($(objpfx)tst-array5-static-cmp.out): Likewise.
16211 ($(objpfx)check-textrel.out): Likewise.
16212 ($(objpfx)check-execstack.out): Likewise.
16213 ($(objpfx)check-localplt.out): Likewise.
16214 ($(objpfx)order2-cmp.out): Likewise.
16215 ($(objpfx)tst-leaks1-mem): Likewise.
16216 ($(objpfx)tst-leaks1-static-mem): Likewise.
16217 ($(objpfx)tst-initorder-cmp.out): Likewise.
16218 ($(objpfx)tst-initorder2-cmp.out): Likewise.
16219 ($(objpfx)tst-unused-dep.out): Likewise.
16220 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
16221 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
16222 * iconv/Makefile (test-iconvconfig): Likewise.
16223 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
16224 ($(objpfx)iconv-test.out): Likewise.
16225 ($(objpfx)tst-tables.out): Likewise.
16226 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
16227 ($(objpfx)tst-gettext.out): Likewise.
16228 ($(objpfx)tst-translit.out): Likewise.
16229 ($(objpfx)tst-gettext2.out): Likewise.
16230 ($(objpfx)tst-gettext4.out): Likewise.
16231 ($(objpfx)tst-gettext6.out): Likewise.
16232 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
16233 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
16234 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
16235 ($(objpfx)tst-fopenloc-mem.out): Likewise.
16236 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
16237 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
16238 * posix/Makefile ($(objpfx)globtest.out): Likewise.
16239 ($(objpfx)wordexp-tst.out): Likewise.
16240 ($(objpfx)annexc.out): Likewise.
16241 ($(objpfx)tst-fnmatch-mem): Likewise.
16242 ($(objpfx)bug-regex2-mem): Likewise.
16243 ($(objpfx)bug-regex14-mem): Likewise.
16244 ($(objpfx)bug-regex21-mem): Likewise.
16245 ($(objpfx)bug-regex31-mem): Likewise.
16246 ($(objpfx)tst-vfork3-mem): Likewise.
16247 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16248 ($(objpfx)tst-pcre-mem): Likewise.
16249 ($(objpfx)tst-boost-mem): Likewise.
16250 ($(objpfx)tst-getconf.out): Likewise.
16251 ($(objpfx)bug-ga2-mem): Likewise.
16252 ($(objpfx)bug-glob2-mem): Likewise.
16253 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
16254 ($(objpfx)mtrace-tst-leaks2): Likewise.
16255 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
16256 ($(objpfx)tst-printf.out): Likewise.
16257 ($(objpfx)tst-setvbuf1.out): Likewise.
16258 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
16259 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
16260 ($(objpfx)tst-fmtmsg.out): Likewise.
16261 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
16262 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
16264 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
16265 * bits/sigaction.h [__USE_MISC]: Likewise.
16266 * bits/waitstatus.h: Update #endif comments.
16267 * ctype/ctype.h: Likewise.
16268 * dirent/dirent.h: Likewise.
16269 [__USE_MISC]: Remove redundant conditionals.
16270 * grp/grp.h: Update #endif comments.
16271 [__USE_GNU]: Remove redundant conditionals.
16272 [__USE_MISC]: Likewise.
16273 * inet/netinet/in.h [__USE_GNU]: Likewise.
16274 * io/sys/stat.h [__USE_MISC]: Likewise.
16275 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
16276 * libio/bits/stdio.h: Update #endif comments.
16277 [__USE_MISC]: Remove redundant conditionals.
16278 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
16279 * libio/stdio.h: Update #endif comments.
16280 [__USE_MISC]: Remove redundant conditionals.
16281 * math/bits/math-finite.h [__USE_MISC]: Likewise.
16282 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
16283 * math/math.h: Update #else and #endif comments.
16284 [__USE_MISC]: Remove redundant conditionals.
16285 * misc/sys/uio.h: Update #endif comments.
16286 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
16287 * posix/glob.h [__USE_MISC]: Likewise.
16288 * posix/sys/types.h: Update #endif comments.
16289 [__USE_MISC]: Remove redundant conditionals.
16290 * posix/sys/wait.h: Update #endif comments.
16291 [__USE_MISC]: Remove redundant conditionals.
16292 * posix/unistd.h: Update #endif comments.
16293 [__USE_MISC]: Remove redundant conditionals.
16294 * pwd/pwd.h [__USE_GNU]: Likewise.
16295 [__USE_MISC]: Likewise.
16296 * resolv/netdb.h [__USE_GNU]: Likewise.
16297 * signal/signal.h: Update #endif comments.
16298 [__USE_MISC]: Remove redundant conditionals.
16299 * stdlib/stdlib.h: Update #else and #endif comments.
16300 [__USE_MISC]: Remove redundant conditionals.
16301 [__USE_GNU]: Likewise.
16302 * string/bits/string2.h [__USE_MISC]: Likewise.
16303 * string/string.h: Update #endif comments.
16304 [__USE_MISC]: Remove redundant conditionals.
16305 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
16307 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
16308 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
16309 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
16311 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
16313 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
16315 [__USE_MISC]: Remove redundant conditionals.
16316 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
16317 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
16318 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
16319 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
16320 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
16322 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
16323 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
16325 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
16326 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
16328 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
16330 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
16331 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
16333 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
16335 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
16336 * sysdeps/x86/bits/string.h: Update #endif comments.
16337 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
16339 * time/sys/time.h: Update #endif comments.
16340 * time/time.h: Likewise.
16341 [__USE_MISC]: Remove redundant conditionals.
16343 2014-02-21 Yury Gribov <y.gribov@samsung.com>
16346 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
16348 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
16350 * Versions.def (librt): Add GLIBC_2.17.
16352 2014-02-21 Adam Conrad <adconrad@0c3.net>
16354 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
16355 synonym for _SYS_AUXV_H to allow direct inclusion.
16356 * sysdeps/sparc/bits/hwcap.h: Likewise.
16357 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
16358 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
16359 * sysdeps/sparc/sysdep.h: Likewise.
16361 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16363 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
16365 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16367 * benchtests/bench-strrchr.c: Print length instead of position.
16369 2014-02-20 Joseph Myers <joseph@codesourcery.com>
16372 * sysdeps/unix/sysv/linux/kernel-features.h
16373 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
16374 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
16375 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
16376 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
16378 [__i386__ || __powerpc__ || __sh__ || __sparc__]
16379 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16380 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
16381 (__ASSUME_SENDMMSG): Define instead of using previous
16382 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
16383 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16384 (__ASSUME_SENDMMSG_SYSCALL): Define.
16385 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16386 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
16388 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16389 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16391 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16392 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16394 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
16395 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16396 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16397 [__ASSUME_SENDMMSG]: Change conditionals to
16398 [__ASSUME_SENDMMSG_SOCKETCALL].
16399 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16400 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
16402 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16403 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
16405 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
16406 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16407 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16408 [!__ASSUME_SENDMMSG]: Change conditional to
16409 [!__ASSUME_SENDMMSG_SOCKETCALL].
16410 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16411 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16415 * sysdeps/unix/sysv/linux/kernel-features.h
16416 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
16417 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
16418 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
16419 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
16420 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16421 [__i386__ || __sparc__]
16422 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16423 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
16424 (__ASSUME_RECVMMSG): Define instead of using previous
16425 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
16426 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16427 (__ASSUME_RECVMMSG_SYSCALL): Define.
16428 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16429 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16431 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16432 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16434 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16435 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16437 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
16438 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16439 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16440 [__ASSUME_RECVMMSG]: Change condition to
16441 [__ASSUME_RECVMMSG_SOCKETCALL].
16442 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16443 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16445 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16446 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16447 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16449 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
16450 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16451 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16452 [!__ASSUME_RECVMMSG]: Change condition to
16453 [!__ASSUME_RECVMMSG_SOCKETCALL].
16454 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16455 (__ASSUME_RECVMMSG_SYSCALL): Define.
16458 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
16459 __powerpc__ || __s390__ || __sh__ || __sparc__]
16460 (__ASSUME_SOCKETCALL): Define.
16461 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
16462 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
16463 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
16464 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
16465 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16466 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16467 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
16468 (__ASSUME_ACCEPT4): Define instead of using previous
16469 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
16470 __powerpc__ || __sparc__ || __s390__)] condition.
16471 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16472 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16473 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
16474 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16475 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16476 [!__ASSUME_ACCEPT4]: Change condition to
16477 [!__ASSUME_ACCEPT4_SOCKETCALL].
16478 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16479 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
16480 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
16481 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16482 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
16483 __ASSUME_ACCEPT4_SYSCALL.
16484 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
16485 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
16486 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16487 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
16488 __ASSUME_ACCEPT4_SYSCALL.
16489 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
16490 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16491 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16492 [__ASSUME_ACCEPT4]: Change condition to
16493 [__ASSUME_ACCEPT4_SOCKETCALL].
16494 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16495 (__ASSUME_SOCKETCALL): Define.
16496 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
16497 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16498 (__ASSUME_SOCKETCALL): Define.
16499 (__ASSUME_ACCEPT4): Remove.
16500 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
16502 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16503 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
16505 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16506 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16508 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
16510 (HWCAP_ARM_LPAE): Likewise.
16511 (HWCAP_ARM_EVTSTRM): Likewise.
16512 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
16513 Add vpfd32, lpae and evtstrm.
16514 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
16517 2014-02-19 Joseph Myers <joseph@codesourcery.com>
16519 * math/auto-libm-test-in: Add tests of clog10.
16520 * math/auto-libm-test-out: Regenerated.
16521 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
16522 * sysdeps/i386/fpu/libm-test-ulps: Update.
16523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16525 2014-02-18 Andreas Schwab <schwab@suse.de>
16528 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
16529 Store non-zero if the second buffer was newly allocated.
16530 (send_dg): Likewise.
16531 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
16532 to send_vc and send_dg.
16533 (res_nsend): Pass NULL for ansp2_malloced.
16534 * resolv/res_query.c (__libc_res_nquery): Add parameter
16535 answerp2_malloced and pass it down to __libc_res_nsend.
16536 (res_nquery): Pass additional NULL to __libc_res_nquery.
16537 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
16538 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
16539 second answer buffer if answerp2_malloced was set.
16540 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
16541 (__libc_res_nquerydomain): Add parameter
16542 answerp2_malloced and pass it down to __libc_res_nquery.
16543 (res_nquerydomain): Pass additional NULL to
16544 __libc_res_nquerydomain.
16545 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
16546 additional NULL to __libc_res_nsend and __libc_res_nquery.
16547 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
16548 additional NULL to __libc_res_nsearch.
16549 (_nss_dns_gethostbyname4_r): Revert last change. Use new
16550 parameter of __libc_res_nsearch to check for separately allocated
16552 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
16554 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
16555 additional NULL to __libc_res_nquery.
16556 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
16557 __libc_res_nsearch.
16558 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
16559 * include/resolv.h: Update prototypes of __libc_res_nquery,
16560 __libc_res_nsearch, __libc_res_nsend.
16562 2014-02-18 Joseph Myers <joseph@codesourcery.com>
16564 * math/auto-libm-test-in: Add tests of fma.
16565 * math/auto-libm-test-out: Regenerated.
16566 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
16567 (fma_towardzero_test_data): Likewise.
16568 (fma_downward_test_data): Likewise.
16569 (fma_upward_test_data): Likewise.
16570 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
16572 (rounding_modes): Add values for new field.
16573 (func_calc_method): Add value mpfr_fff_f.
16574 (func_calc_desc): Add mpfr_fff_f union field.
16575 (test_function): Add field exact_args.
16576 (FUNC): Add macro argument EXACT_ARGS.
16577 (FUNC_mpfr_f_f): Update call to FUNC.
16578 (FUNC_mpfr_f_f): Likewise.
16579 (FUNC_mpfr_ff_f): Likewise.
16580 (FUNC_mpfr_if_f): Likewise.
16581 (FUNC_mpc_c_f): Likewise.
16582 (FUNC_mpc_c_c): Likewise.
16583 (test_functions): Add fma. Update calls to FUNC.
16584 (handle_input_arg): Add argument exact_args.
16585 (add_test): Update call to handle_input_arg.
16586 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
16587 (output_for_one_input_case): Update call to calc_generic_results.
16588 Recalculate exact zero results in each rounding mode.
16590 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
16591 non-negative before setting low bit.
16592 * math/auto-libm-test-in: Mark one asin test possibly having
16593 spurious underflow.
16594 * math/auto-libm-test-out: Regenerated.
16595 * sysdeps/i386/fpu/libm-test-ulps: Update.
16596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16598 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
16600 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
16601 * sysdeps/unix/sysv/linux/microblaze: Move directory from
16602 ports/sysdeps/unix/sysv/linux/microblaze.
16603 * README: Add missing listing for microblaze*-*-linux-gnu.
16605 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
16607 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
16610 2014-02-16 Mike Frysinger <vapier@gentoo.org>
16612 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
16613 * sysdeps/unix/sysv/linux/ia64: Move directory from
16614 ports/sysdeps/unix/sysv/linux/ia64.
16615 * README: Update listing for ia64-*-linux-gnu.
16617 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
16618 Joseph Myers <joseph@codesourcery.com>
16620 * Makeconfig (test-name): New variable.
16621 (evaluate-test): Likewise.
16622 * Makerules (do-test-clean): Remove .test-result files.
16623 (common-mostlyclean): Likewise.
16624 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
16625 * scripts/evaluate-test.sh: New file.
16627 2014-02-14 Joseph Myers <joseph@codesourcery.com>
16629 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
16630 separate $(objpfx)tst-fopenloc-cmp.out and
16631 $(objpfx)tst-fopenloc-mem.out targets.
16632 (tests): Update dependencies.
16633 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
16634 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
16635 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
16636 (tst-rxspencer-no-utf8-ARGS): New variable.
16637 (tst-rxspencer-no-utf8-ENV): Likewise.
16638 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
16639 instead of $(objpfx)tst-rxspencer-mem.
16640 ($(objpfx)tst-rxspencer-mem): Change target to
16641 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
16642 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
16643 * posix/tst-rxspencer-no-utf8.c: New file.
16645 * elf/Makefile ($(objpfx)order.out): Remove rule.
16646 [$(run-built-tests) = yes] (tests): Depend on
16647 $(objpfx)order-cmp.out.
16648 ($(objpfx)order-cmp.out): New rule.
16649 [$(run-built-tests) = yes] (tests): Depend on
16650 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
16651 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
16652 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
16653 $(objpfx)tst-array5-static-cmp.out.
16654 ($(objpfx)tst-array1.out): Remove rule.
16655 ($(objpfx)tst-array1-cmp.out): New rule.
16656 ($(objpfx)tst-array1-static.out): Remove rule.
16657 ($(objpfx)tst-array1-static-cmp.out): New rule.
16658 ($(objpfx)tst-array2.out): Remove rule.
16659 ($(objpfx)tst-array2-cmp.out): New rule.
16660 ($(objpfx)tst-array3.out): Remove rule.
16661 ($(objpfx)tst-array3-cmp.out): New rule.
16662 ($(objpfx)tst-array4.out): Remove rule.
16663 ($(objpfx)tst-array4-cmp.out): New rule.
16664 ($(objpfx)tst-array5.out): Remove rule.
16665 ($(objpfx)tst-array5-cmp.out): New rule.
16666 ($(objpfx)tst-array5-static.out): Remove rule.
16667 ($(objpfx)tst-array5-static-cmp.out): New rule.
16668 [$(run-built-tests) = yes] (tests): Depend on
16669 $(objpfx)order2-cmp.out.
16670 ($(objpfx)order2.out): Remove rule.
16671 ($(objpfx)order2-cmp.out): New rule.
16672 ($(objpfx)tst-initorder.out): Remove rule.
16673 [$(run-built-tests) = yes] (tests): Depend on
16674 $(objpfx)tst-initorder-cmp.out.
16675 ($(objpfx)tst-initorder-cmp.out): New rule.
16676 ($(objpfx)tst-initorder2.out): Remove rule.
16677 [$(run-built-tests) = yes] (tests): Depend on
16678 $(objpfx)tst-initorder2-cmp.out.
16679 ($(objpfx)tst-initorder2-cmp.out): New rule.
16680 [$(run-built-tests) = yes] (tests): Depend on
16681 $(objpfx)tst-unused-dep-cmp.out.
16682 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
16683 ($(objpfx)tst-unused-dep-cmp.out): New rule.
16684 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
16685 on $(objpfx)tst-setvbuf1-cmp.out.
16686 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
16687 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
16688 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
16689 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
16690 ($(objpfx)tst-svc.out): Remove rule.
16691 ($(objpfx)tst-svc-cmp.out): New rule.
16693 2014-02-13 Joseph Myers <joseph@codesourcery.com>
16695 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
16696 * ctype/ctype.h [__USE_MISC]: Likewise.
16697 * dirent/dirent.h [__USE_MISC]: Likewise.
16698 * grp/grp.h [__USE_MISC]: Likewise.
16699 * io/fcntl.h [__USE_MISC]: Likewise.
16700 * io/sys/stat.h [__USE_MISC]: Likewise.
16701 * libio/stdio.h [__USE_MISC]: Likewise.
16702 * posix/unistd.h [__USE_MISC]: Likewise.
16703 * pwd/pwd.h [__USE_MISC]: Likewise.
16704 * stdlib.h [__USE_MISC]: Likewise.
16705 * string/bits/string2.h [__USE_MISC]: Likewise.
16706 * string/string.h [__USE_MISC]: Likewise.
16707 * time/time.h [__USE_MISC]: Likewise.
16709 2014-02-13 Andreas Schwab <schwab@suse.de>
16712 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
16713 second answer buffer if it was separately allocated.
16715 2014-02-12 Joseph Myers <joseph@codesourcery.com>
16717 * sysdeps/mips/math-tests.h: Include <features.h>.
16718 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16719 (ROUNDING_TESTS_long_double): Do not define.
16720 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16721 (EXCEPTION_TESTS_long_double): Likewise.
16722 * sysdeps/mips/mips64/libm-test-ulps: Update.
16724 * include/features.h (__USE_BSD): Remove macro definitions.
16725 (__USE_SVID): Likewise.
16726 (_BSD_SOURCE): Likewise.
16727 (_SVID_SOURCE): Likewise.
16728 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
16729 from definition of _DEFAULT_SOURCE.
16730 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
16732 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
16733 * bits/mman.h [__USE_BSD]: Likewise.
16734 * bits/termios.h [__USE_BSD]: Likewise.
16735 * bits/waitstatus.h [__USE_BSD]: Likewise.
16736 * ctype/ctype.h [__USE_SVID]: Likewise.
16737 * dirent/dirent.h [__USE_BSD]: Likewise.
16738 * grp/grp.h [__USE_SVID]: Likewise.
16739 [__USE_BSD]: Likewise.
16740 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
16741 * io/fcntl.h [__USE_BSD]: Likewise.
16742 * io/ftw.h [__USE_BSD]: Likewise.
16743 * io/sys/stat.h [__USE_BSD]: Likewise.
16744 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
16745 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
16746 * libio/stdio.h [__USE_SVID]: Likewise.
16747 [__USE_BSD]: Likewise.
16748 * math/math.h [__USE_SVID]: Likewise.
16749 [__USE_BSD]: Likewise.
16750 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
16751 * misc/bits/syslog.h [__USE_BSD]: Likewise.
16752 * misc/search.h [__USE_SVID]: Likewise.
16753 * misc/sys/mman.h [__USE_BSD]: Likewise.
16754 * misc/sys/syslog.h [__USE_BSD]: Likewise.
16755 * misc/sys/uio.h [__USE_BSD]: Likewise.
16756 * posix/bits/unistd.h [__USE_BSD]: Likewise.
16757 * posix/glob.h [__USE_BSD]: Likewise.
16758 * posix/regex.h [__USE_BSD]: Likewise.
16759 * posix/sys/types.h [__USE_BSD]: Likewise.
16760 [__USE_SVID]: Likewise.
16761 * posix/sys/utsname.h [__USE_SVID]: Likewise.
16762 * posix/sys/wait.h [__USE_BSD]: Likewise.
16763 [__USE_SVID]: Likewise.
16764 * posix/unistd.h [__USE_BSD]: Likewise.
16765 [__USE_SVID]: Likewise.
16766 * pwd/pwd.h [__USE_SVID]: Likewise.
16767 * resolv/netdb.h [__USE_BSD]: Likewise.
16768 * setjmp/setjmp.h [__USE_BSD]: Likewise.
16769 * signal/signal.h [__USE_BSD]: Likewise.
16770 [__USE_SVID]: Likewise.
16771 * socket/sys/socket.h [__USE_BSD]: Likewise.
16772 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
16773 * stdlib/stdlib.h [__USE_BSD]: Likewise.
16774 [__USE_SVID]: Likewise.
16775 * string/bits/string2.h [__USE_BSD]: Likewise.
16776 [__USE_SVID]: Likewise.
16777 * string/bits/string3.h [__USE_BSD]: Likewise.
16778 * string/endian.h [__USE_BSD]: Likewise.
16779 * string/string.h [__USE_SVID]: Likewise.
16780 [__USE_BSD]: Likewise.
16781 * string/strings.h [__USE_BSD]: Likewise.
16782 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
16783 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
16784 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
16785 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
16786 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
16787 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
16789 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
16791 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
16792 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
16794 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
16795 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
16797 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
16799 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
16800 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
16801 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
16803 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
16805 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
16806 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
16807 * termios/termios.h [__USE_BSD]: Likewise.
16808 * time/sys/time.h [__USE_BSD]: Likewise.
16809 * time/time.h [__USE_BSD]: Likewise.
16810 [__USE_SVID]: Likewise.
16812 * Makefile (subdir_targets): Remove subdir_lint.out.
16814 * stdio-common/Makefile (do-tst-unbputc): Remove target.
16815 (do-tst-printf): Likewise.
16816 (tests): Depend directly on $(objpfx)tst-unbputc.out and
16817 $(objpfx)tst-printf.out.
16819 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
16821 * Makerules (check-abi-%): Change target to
16822 $(objpfx)check-abi-%.out.
16823 (check-abi target): Update dependencies.
16824 (check-abi-pattern variable): Redirect output of diff to $@.
16825 (check-abi variable): Likewise.
16826 * elf/Makefile (check-abi): Update dependencies.
16828 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
16830 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
16831 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
16833 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
16834 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
16835 value has largest subnormal exponent.
16836 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
16837 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
16838 * sysdeps/aarch64/soft-fp/sfp-machine.h
16839 (_FP_TININESS_AFTER_ROUNDING): New macro.
16840 * sysdeps/alpha/soft-fp/sfp-machine.h
16841 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16842 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16844 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
16845 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16846 * sysdeps/mips/soft-fp/sfp-machine.h
16847 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16848 * sysdeps/powerpc/soft-fp/sfp-machine.h
16849 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16850 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16852 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16853 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16854 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16855 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16856 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16859 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
16862 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
16865 2014-02-12 Richard Henderson <rth@redhat.com>
16867 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
16868 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
16869 * sysdeps/unix/sysv/linux/alpha: Move directory from
16870 ports/sysdeps/unix/sysv/linux/alpha.
16871 * README: Update listing for alpha-*-linux-gnu.
16873 2014-02-11 Joseph Myers <joseph@codesourcery.com>
16875 * include/features.h: Update comment documenting feature test
16877 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
16879 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
16880 (_SVID_SOURCE): Likewise.
16881 (_DEFAULT_SOURCE): Update description of default features.
16882 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
16884 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
16885 (S_ISVTX): Likewise.
16886 * manual/math.texi (Mathematical Constants): Likewise.
16887 * manual/signal.texi (Interrupted Primitives): Likewise.
16888 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
16889 * math/test-matherr.c (_SVID_SOURCE): Do not define.
16890 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
16891 Don't refer to _SVID_SOURCE in warning text.
16893 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16895 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
16897 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
16898 * sysdeps/mips/dl-lookup.c: Remove.
16899 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
16901 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
16904 * math/auto-libm-test-in: Add testcase for expl.
16905 * math/auto-libm-test-out: Regenerate.
16906 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
16907 calculation of unsafe.
16908 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
16910 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
16912 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
16913 * sysdeps/unix/sysv/linux/aarch64: Move directory from
16914 ports/sysdeps/unix/sysv/linux/aarch64.
16915 * README: Update listing for aarch64*-*-linux-gnu.
16917 2014-02-11 Will Newton <will.newton@linaro.org>
16919 * manual/probes.texi (Mathematical Function Probes): Use
16920 "triggered" instead of "hit".
16922 * manual/probes.texi (Internal Probes): Add documentation
16923 of setjmp, longjmp and longjmp_target probes.
16925 * include/stap-probe.h: Add comment about probe argument
16928 * malloc/mtrace.c (attribute_hidden): Remove unused macro
16929 definition. (tr_where, tr_freehook, tr_mallochook,
16930 tr_reallochook, tr_memalignhook): Use ANSI protoype.
16932 2014-02-11 David S. Miller <davem@davemloft.net>
16934 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
16935 processing int_tests.
16937 2014-02-10 Joseph Myers <joseph@codesourcery.com>
16939 * sysdeps/mips: Move directory from ports/sysdeps/mips.
16940 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
16941 * sysdeps/unix/sysv/linux/mips: Move directory from
16942 ports/sysdeps/unix/sysv/linux/mips.
16943 * README: Update listing for mips-*-linux-gnu and
16944 mips64-*-linux-gnu.
16946 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
16948 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
16949 * sysdeps/unix/sysv/linux/m68k: Move directory from
16950 ports/sysdeps/unix/sysv/linux/m68k.
16951 * README: Update listing for m68k-*-linux-gnu.
16953 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
16955 * sysdeps/tile: Move directory from ports/sysdeps/tile.
16956 * sysdeps/unix/sysv/linux/generic: Move directory from
16957 ports/sysdeps/unix/sysv/linux/generic.
16958 * sysdeps/unix/sysv/linux/tile: Move directory from
16959 ports/sysdeps/unix/sysv/linux/tile.
16960 * README: Update listing for tile*-*-linux-gnu.
16962 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
16964 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
16966 * benchtests/bench-memmem.c (simple_memmem): Likewise.
16967 * catgets/open_catalog.c (__open_catalog): Likewise.
16968 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
16969 * debug/confstr_chk.c: Likewise.
16970 * debug/fread_chk.c (__fread_chk): Likewise.
16971 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
16972 * debug/getgroups_chk.c: Likewise.
16973 * debug/mbsnrtowcs_chk.c: Likewise.
16974 * debug/mbsrtowcs_chk.c: Likewise.
16975 * debug/mbstowcs_chk.c: Likewise.
16976 * debug/memcpy_chk.c: Likewise.
16977 * debug/memmove_chk.c: Likewise.
16978 * debug/mempcpy_chk.c: Likewise.
16979 * debug/memset_chk.c: Likewise.
16980 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16981 * debug/strcat_chk.c (__strcat_chk): Likewise.
16982 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
16983 * debug/strncat_chk.c (__strncat_chk): Likewise.
16984 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
16985 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
16986 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
16987 * debug/wcpncpy_chk.c: Likewise.
16988 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16989 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
16990 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
16991 * debug/wcsncpy_chk.c: Likewise.
16992 * debug/wcsnrtombs_chk.c: Likewise.
16993 * debug/wcsrtombs_chk.c: Likewise.
16994 * debug/wcstombs_chk.c: Likewise.
16995 * debug/wmemcpy_chk.c: Likewise.
16996 * debug/wmemmove_chk.c: Likewise.
16997 * debug/wmempcpy_chk.c: Likewise.
16998 * debug/wmemset_chk.c: Likewise.
16999 * dirent/scandirat.c (SCANDIRAT): Likewise.
17000 * dlfcn/dladdr1.c (dladdr1): Likewise.
17001 * dlfcn/dladdr.c (dladdr): Likewise.
17002 * dlfcn/dlclose.c (dlclose_doit): Likewise.
17003 * dlfcn/dlerror.c (__dlerror): Likewise.
17004 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
17005 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
17006 * dlfcn/dlopen.c (dlopen_doit): Likewise.
17007 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17008 * dlfcn/dlsym.c (dlsym_doit): Likewise.
17009 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
17010 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
17011 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
17013 * elf/dl-conflict.c: Likewise.
17014 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
17015 * elf/dl-dst.h: Likewise.
17016 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
17017 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
17018 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
17019 * elf/dl-init.c (call_init, _dl_init): Likewise.
17020 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
17021 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
17022 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
17024 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
17026 * elf/dl-minimal.c (__libc_memalign): Likewise.
17027 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
17028 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17029 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
17030 * elf/dl-sym.c (do_sym): Likewise.
17031 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
17032 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
17033 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
17034 * elf/dl-writev.h (_dl_writev): Likewise.
17035 * elf/ldconfig.c (search_dir): Likewise.
17036 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
17037 (dl_main): Likewise.
17038 * elf/setup-vdso.h (setup_vdso): Likewise.
17039 * grp/compat-initgroups.c (compat_call): Likewise.
17040 * grp/fgetgrent.c (fgetgrent): Likewise.
17041 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
17042 * grp/putgrent.c (putgrent): Likewise.
17043 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17045 * hurd/hurdinit.c: Likewise.
17046 * iconvdata/8bit-gap.c (struct): Likewise.
17047 * iconvdata/ansi_x3.110.c : Likewise.
17048 * iconvdata/big5.c : Likewise.
17049 * iconvdata/big5hkscs.c : Likewise.
17050 * iconvdata/cp1255.c: Likewise.
17051 * iconvdata/cp1258.c : Likewise.
17052 * iconvdata/cp932.c : Likewise.
17053 * iconvdata/euc-cn.c: Likewise.
17054 * iconvdata/euc-jisx0213.c : Likewise.
17055 * iconvdata/euc-jp.c: Likewise.
17056 * iconvdata/euc-jp-ms.c : Likewise.
17057 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
17058 * iconvdata/gb18030.c : Likewise.
17059 * iconvdata/gbbig5.c (const): Likewise.
17060 * iconvdata/gbgbk.c: Likewise.
17061 * iconvdata/gbk.c : Likewise.
17062 * iconvdata/ibm1364.c : Likewise.
17063 * iconvdata/ibm930.c : Likewise.
17064 * iconvdata/ibm932.c: Likewise.
17065 * iconvdata/ibm933.c : Likewise.
17066 * iconvdata/ibm935.c : Likewise.
17067 * iconvdata/ibm937.c : Likewise.
17068 * iconvdata/ibm939.c : Likewise.
17069 * iconvdata/ibm943.c: Likewise.
17070 * iconvdata/iso_11548-1.c: Likewise.
17071 * iconvdata/iso-2022-cn.c : Likewise.
17072 * iconvdata/iso-2022-cn-ext.c : Likewise.
17073 * iconvdata/iso-2022-jp-3.c: Likewise.
17074 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
17075 * iconvdata/iso-2022-kr.c : Likewise.
17076 * iconvdata/iso646.c (gconv_end): Likewise.
17077 * iconvdata/iso_6937-2.c : Likewise.
17078 * iconvdata/iso_6937.c : Likewise.
17079 * iconvdata/iso8859-1.c: Likewise.
17080 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
17081 * iconvdata/shift_jisx0213.c : Likewise.
17082 * iconvdata/sjis.c : Likewise.
17083 * iconvdata/t.61.c : Likewise.
17084 * iconvdata/tcvn5712-1.c : Likewise.
17085 * iconvdata/tscii.c: Likewise.
17086 * iconvdata/uhc.c : Likewise.
17087 * iconvdata/unicode.c (gconv_end): Likewise.
17088 * iconvdata/utf-16.c (gconv_end): Likewise.
17089 * iconvdata/utf-32.c (gconv_end): Likewise.
17090 * iconvdata/utf-7.c (base64): Likewise.
17091 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
17092 * iconv/gconv_close.c (__gconv_close): Likewise.
17093 * iconv/gconv_open.c (__gconv_open): Likewise.
17094 * iconv/gconv_simple.c (internal_ucs4_loop_single)
17095 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
17096 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
17097 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
17098 (ucs4le_internal_loop_single): Likewise.
17099 * iconv/iconv.c (iconv): Likewise.
17100 * iconv/iconv_close.c: Likewise.
17101 * iconv/loop.c (SINGLE): Likewise.
17102 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
17103 * include/atomic.h: Likewise.
17104 * inet/inet6_option.c (option_alloc): Likewise.
17105 * intl/bindtextdom.c (set_binding_values): Likewise.
17106 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
17107 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
17108 * intl/localealias.c (read_alias_file): Likewise.
17109 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17110 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
17111 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
17112 * libio/fmemopen.c (fmemopen): Likewise.
17113 * libio/iofgets.c (_IO_fgets): Likewise.
17114 * libio/iofgets_u.c (fgets_unlocked): Likewise.
17115 * libio/iofgetws.c (fgetws): Likewise.
17116 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17117 * libio/iogetdelim.c (_IO_getdelim): Likewise.
17118 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
17119 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
17120 * locale/findlocale.c (_nl_find_locale): Likewise.
17121 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
17122 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
17124 * locale/setlocale.c (setlocale): Likewise.
17125 * login/programs/pt_chown.c (main): Likewise.
17126 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
17127 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
17128 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
17129 (mmap, mmap64, mremap, munmap): Likewise.
17130 * math/e_exp2l.c: Likewise.
17131 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
17132 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
17133 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
17134 * math/s_catan.c (__catan): Likewise.
17135 * math/s_catanf.c (__catanf): Likewise.
17136 * math/s_catanh.c (__catanh): Likewise.
17137 * math/s_catanhf.c (__catanhf): Likewise.
17138 * math/s_catanhl.c (__catanhl): Likewise.
17139 * math/s_catanl.c (__catanl): Likewise.
17140 * math/s_ccosh.c (__ccosh): Likewise.
17141 * math/s_ccoshf.c (__ccoshf): Likewise.
17142 * math/s_ccoshl.c (__ccoshl): Likewise.
17143 * math/s_cexp.c (__cexp): Likewise.
17144 * math/s_cexpf.c (__cexpf): Likewise.
17145 * math/s_cexpl.c (__cexpl): Likewise.
17146 * math/s_clog10.c (__clog10): Likewise.
17147 * math/s_clog10f.c (__clog10f): Likewise.
17148 * math/s_clog10l.c (__clog10l): Likewise.
17149 * math/s_clog.c (__clog): Likewise.
17150 * math/s_clogf.c (__clogf): Likewise.
17151 * math/s_clogl.c (__clogl): Likewise.
17152 * math/s_csin.c (__csin): Likewise.
17153 * math/s_csinf.c (__csinf): Likewise.
17154 * math/s_csinh.c (__csinh): Likewise.
17155 * math/s_csinhf.c (__csinhf): Likewise.
17156 * math/s_csinhl.c (__csinhl): Likewise.
17157 * math/s_csinl.c (__csinl): Likewise.
17158 * math/s_csqrt.c (__csqrt): Likewise.
17159 * math/s_csqrtf.c (__csqrtf): Likewise.
17160 * math/s_csqrtl.c (__csqrtl): Likewise.
17161 * math/s_ctan.c (__ctan): Likewise.
17162 * math/s_ctanf.c (__ctanf): Likewise.
17163 * math/s_ctanh.c (__ctanh): Likewise.
17164 * math/s_ctanhf.c (__ctanhf): Likewise.
17165 * math/s_ctanhl.c (__ctanhl): Likewise.
17166 * math/s_ctanl.c (__ctanl): Likewise.
17167 * math/w_pow.c: Likewise.
17168 * math/w_powf.c: Likewise.
17169 * math/w_powl.c: Likewise.
17170 * math/w_scalb.c (sysv_scalb): Likewise.
17171 * math/w_scalbf.c (sysv_scalbf): Likewise.
17172 * math/w_scalbl.c (sysv_scalbl): Likewise.
17173 * misc/error.c (error_tail): Likewise.
17174 * misc/pselect.c (__pselect): Likewise.
17175 * nis/nis_callback.c (__nis_create_callback): Likewise.
17176 * nis/nis_call.c (__nisfind_server): Likewise.
17177 * nis/nis_creategroup.c (nis_creategroup): Likewise.
17178 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
17179 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
17180 * nis/nis_getservlist.c (nis_getservlist): Likewise.
17181 * nis/nis_lookup.c (nis_lookup): Likewise.
17182 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
17183 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
17184 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
17185 * nis/nis_xdr.c (xdr_endpoint): Likewise.
17186 * nis/nss_compat/compat-grp.c (getgrent_next_file)
17187 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
17188 * nis/nss_compat/compat-initgroups.c (add_group)
17189 (internal_getgrent_r): Likewise.
17190 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
17191 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
17192 * nis/nss_compat/compat-spwd.c (getspent_next_file)
17193 (internal_getspnam_r): Likewise.
17194 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
17195 (_nss_nis_getaliasbyname_r): Likewise.
17196 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
17197 (_nss_nis_getntohost_r): Likewise.
17198 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
17199 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
17200 (_nss_nis_getgrgid_r): Likewise.
17201 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
17202 (internal_nis_gethostent_r, internal_gethostbyname2_r)
17203 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
17204 (_nss_nis_gethostbyname4_r): Likewise.
17205 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
17206 (initgroups_netid): Likewise.
17207 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
17208 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
17209 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
17210 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
17211 (_nss_nis_getprotobynumber_r): Likewise.
17212 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
17213 (_nss_nis_getsecretkey): Likewise.
17214 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
17215 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
17216 (_nss_nis_getpwuid_r): Likewise.
17217 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
17218 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
17219 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
17220 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
17221 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
17222 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
17223 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
17225 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
17226 (_nss_nisplus_getntohost_r): Likewise.
17227 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
17228 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
17229 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
17230 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
17232 * nis/nss_nisplus/nisplus-initgroups.c
17233 (_nss_nisplus_initgroups_dyn): Likewise.
17234 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
17235 (_nss_nisplus_getnetbyaddr_r): Likewise.
17236 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
17237 (_nss_nisplus_getprotobynumber_r): Likewise.
17238 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
17239 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
17240 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
17242 * nis/nss_nisplus/nisplus-service.c
17243 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
17244 (_nss_nisplus_getservbyport_r): Likewise.
17245 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
17246 (_nss_nisplus_getspnam_r): Likewise.
17247 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
17249 * nscd/aicache.c (addhstaiX): Likewise.
17250 * nscd/cache.c (cache_search, prune_cache): Likewise.
17251 * nscd/connections.c (register_traced_file, send_ro_fd)
17252 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
17253 (main_loop_epoll): Likewise.
17254 * nscd/grpcache.c (addgrbyX): Likewise.
17255 * nscd/hstcache.c (addhstbyX): Likewise.
17256 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17257 * nscd/mem.c (gc, mempool_alloc): Likewise.
17258 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
17259 (addinnetgrX): Likewise.
17260 * nscd/nscd-client.h (__nscd_acquire_maplock)
17261 (__nscd_drop_map_ref): Likewise.
17262 * nscd/nscd_getai.c (__nscd_getai): Likewise.
17263 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17264 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
17266 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
17267 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17268 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
17269 (__nscd_get_map_ref): Likewise.
17270 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
17271 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
17273 * nscd/pwdcache.c (addpwbyX): Likewise.
17274 * nscd/selinux.c (preserve_capabilities): Likewise.
17275 * nscd/servicescache.c (addservbyX): Likewise.
17276 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
17277 * posix/fnmatch.c (fnmatch): Likewise.
17278 * posix/getopt.c (_getopt_internal_r): Likewise.
17279 * posix/glob.c (glob, glob_in_dir): Likewise.
17280 * posix/wordexp.c (exec_comm_child): Likewise.
17281 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
17282 (getanswer_r, gaih_getanswer_slice): Likewise.
17283 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
17284 * resolv/res_init.c: Likewise.
17285 * resolv/res_mkquery.c (res_nmkquery): Likewise.
17286 * resolv/res_query.c (__libc_res_nquery): Likewise.
17287 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
17289 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
17290 * stdio-common/perror.c (perror): Likewise.
17291 * stdio-common/printf_fp.c (___printf_fp): Likewise.
17292 * stdio-common/tmpnam.c (tmpnam): Likewise.
17293 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17294 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
17295 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17297 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17298 * stdlib/putenv.c (putenv): Likewise.
17299 * stdlib/setenv.c (__add_to_environ): Likewise.
17300 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17301 * stdlib/strtol_l.c (INTERNAL): Likewise.
17302 * string/memmem.c (memmem): Likewise.
17303 * string/strerror.c (strerror): Likewise.
17304 * string/strnlen.c (__strnlen): Likewise.
17305 * string/test-memmem.c (simple_memmem): Likewise.
17306 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
17307 * sunrpc/pm_getport.c (__get_socket): Likewise.
17308 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
17309 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
17310 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
17311 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
17313 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17314 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17315 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
17316 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
17317 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
17318 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
17320 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
17322 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
17323 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
17324 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17325 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17326 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17327 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
17328 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17329 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
17330 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
17331 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
17332 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17333 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17335 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
17337 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
17339 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
17340 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17341 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
17342 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
17343 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17344 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
17345 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17346 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
17347 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
17348 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
17349 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
17350 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17351 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17352 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17353 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17354 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17356 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
17358 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
17360 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
17362 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17363 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17364 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
17366 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
17367 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
17368 * sysdeps/posix/opendir.c (__opendirat): Likewise.
17369 * sysdeps/posix/sleep.c: Likewise.
17370 * sysdeps/posix/tempname.c: Likewise.
17371 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
17372 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17374 * sysdeps/powerpc/powerpc32/dl-machine.h
17375 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
17376 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17377 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17378 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
17379 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
17381 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
17382 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
17383 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17384 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
17385 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17386 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
17387 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
17388 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
17389 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17390 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
17391 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
17392 (elf_machine_lazy_rel): Likewise.
17393 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17394 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
17395 (elf_machine_lazy_rel): Likewise.
17396 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
17397 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
17398 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
17399 * sysdeps/unix/grantpt.c (grantpt): Likewise.
17400 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
17401 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
17402 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
17403 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17405 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17406 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17407 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
17408 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
17409 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17410 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17411 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
17412 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
17413 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
17414 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17415 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17417 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
17418 (__posix_fallocate64_l64): Likewise.
17419 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
17420 (posix_fallocate): Likewise.
17421 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17423 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17424 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
17425 (getifaddrs_internal): Likewise.
17426 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
17427 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
17428 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
17429 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17430 * sysdeps/unix/sysv/linux/posix_fallocate64.c
17431 (__posix_fallocate64_l64): Likewise.
17432 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17434 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
17435 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
17436 (__get_clockfreq): Likewise.
17437 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
17438 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17439 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
17440 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17441 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17442 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
17443 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
17444 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
17446 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
17447 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
17448 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17449 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
17450 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17451 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
17452 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
17454 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17455 (posix_fallocate): Likewise.
17456 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17457 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
17458 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
17459 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
17460 (elf_machine_rela, elf_machine_rela_relative)
17461 (elf_machine_lazy_rel): Likewise.
17462 * time/asctime.c (asctime_internal): Likewise.
17463 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
17464 * time/tzset.c (__tzset_parse_tz): Likewise.
17465 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17466 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
17467 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
17468 * wcsmbs/wcsmbsload.h: Likewise.
17471 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
17473 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
17474 (arena_get2): Remove THREAD_STATS conditionals.
17475 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
17476 (__malloc_stats, int): Likewise.
17478 2014-02-08 Mike Frysinger <vapier@gentoo.org>
17480 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
17481 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
17483 * manual/setjmp.texi: Fix typos/grammar errors.
17485 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
17486 Only return early when n is <= 0. Delete unused return statement.
17488 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
17489 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17490 * debug/tst-longjmp_chk3.c: New file.
17492 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
17493 (test_main): Replace code with set_fortify_handler call.
17494 * debug/test-strcpy_chk.c: Likewise.
17495 * debug/tst-chk1.c: Likewise.
17496 * debug/tst-longjmp_chk.c: Likewise.
17497 * test-skeleton.c: Include fcntl.h & paths.h
17498 (set_fortify_handler): Define.
17500 * debug/tst-longjmp_chk.c: Add header comment and include
17501 ../test-skeleton.c.
17502 (do_test): Mark static.
17503 (TEST_FUNCTION): Define.
17505 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
17506 (IP_PMTUDISC_INTERFACE): Likewise.
17507 (IP_MULTICAST_IF): Likewise.
17508 (IP_MULTICAST_TTL): Likewise.
17509 (IP_MULTICAST_LOOP): Likewise.
17510 (IP_ADD_MEMBERSHIP): Likewise.
17511 (IP_DROP_MEMBERSHIP): Likewise.
17512 (IP_UNBLOCK_SOURCE): Likewise.
17513 (IP_BLOCK_SOURCE): Likewise.
17514 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
17515 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
17516 (IP_MSFILTER): Likewise.
17517 (MCAST_JOIN_GROUP): Likewise.
17518 (MCAST_BLOCK_SOURCE): Likewise.
17519 (MCAST_UNBLOCK_SOURCE): Likewise.
17520 (MCAST_LEAVE_GROUP): Likewise.
17521 (MCAST_JOIN_SOURCE_GROUP): Likewise.
17522 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17523 (MCAST_MSFILTER): Likewise.
17524 (IP_MULTICAST_ALL): Likewise.
17525 (IP_UNICAST_IF): Likewise.
17527 * timezone/Makefile: Delete $(have-ksh) check.
17528 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
17529 * timezone/tzselect.ksh: Add +x mode bits.
17531 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
17532 (ANON_INODE_FS_MAGIC): Likewise.
17533 (BDEVFS_MAGIC): Likewise.
17534 (BINFMTFS_MAGIC): Likewise.
17535 (BTRFS_TEST_MAGIC): Likewise.
17536 (CRAMFS_MAGIC_WEND): Likewise.
17537 (DEBUGFS_MAGIC): Likewise.
17538 (ECRYPTFS_SUPER_MAGIC): Likewise.
17539 (EXT3_SUPER_MAGIC): Likewise.
17540 (EXT4_SUPER_MAGIC): Likewise.
17541 (FUTEXFS_SUPER_MAGIC): Likewise.
17542 (HOSTFS_SUPER_MAGIC): Likewise.
17543 (HUGETLBFS_MAGIC): Likewise.
17544 (MINIX3_SUPER_MAGIC): Likewise.
17545 (MTD_INODE_FS_MAGIC): Likewise.
17546 (NILFS_SUPER_MAGIC): Likewise.
17547 (OPENPROM_SUPER_MAGIC): Likewise.
17548 (PIPEFS_MAGIC): Likewise.
17549 (PSTOREFS_MAGIC): Likewise.
17550 (QNX6_SUPER_MAGIC): Likewise.
17551 (RAMFS_MAGIC): Likewise.
17552 (REISERFS_SUPER_MAGIC_STRING): Likewise.
17553 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
17554 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
17555 (SECURITYFS_MAGIC): Likewise.
17556 (SELINUX_MAGIC): Likewise.
17557 (SMACK_MAGIC): Likewise.
17558 (SOCKFS_MAGIC): Likewise.
17559 (SQUASHFS_MAGIC): Likewise.
17560 (STACK_END_MAGIC): Likewise.
17561 (TMPFS_MAGIC): Likewise.
17562 (USBDEVICE_SUPER_MAGIC): Likewise.
17563 (V9FS_MAGIC): Likewise.
17564 (XENFS_SUPER_MAGIC): Likewise.
17565 (CRAMFS_MAGIC): Fix typo in comment.
17566 (EXT2_SUPER_MAGIC): Update comment.
17567 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
17569 2014-02-08 Joseph Myers <joseph@codesourcery.com>
17571 * sysdeps/arm: Move directory from ports/sysdeps/arm.
17572 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
17573 * sysdeps/unix/sysv/linux/arm: Move directory from
17574 ports/sysdeps/unix/sysv/linux/arm.
17575 * README: Update listing for arm-*-linux-gnueabi.
17577 * README: Remove mention of am33.
17579 2014-02-07 Roland McGrath <roland@hack.frob.com>
17581 * bits/sigset.h (__sigemptyset): Use a statement expression rather
17582 than the comma operator, to avoid "rhs of comma has no effect"
17584 (__sigfillset, __sigandset, __sigorset): Likewise.
17585 * include/signal.h (__sigemptyset): Likewise.
17586 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
17588 2014-02-07 Allan McRae <allan@archlinux.org>
17590 * version.h (RELEASE): Set to "development".
17591 (VERSION): Set to "2.19.90"
17592 * NEWS: Add 2.20 section.
17594 2014-02-06 Carlos O'Donell <carlos@redhat.com>
17597 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
17599 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17601 * manual/contrib.texi: Update entry for Carlos O'Donell,
17602 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
17604 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
17606 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
17608 * sysdeps/unix/sysv/linux/kernel-features.h
17609 [__LINUX_KERNEL_VERSION >= 0x020621]
17610 (__ASSUME_PROC_PID_TASK_COMM): Define.
17612 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17615 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
17616 conversion when destination buffer does not have enough space.
17617 * libio/tst-ftell-partial-wide.c: New test case.
17618 * libio/Makefile (tests): Add tst-ftell-partial-wide.
17620 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
17621 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
17622 Leonard and Allan McRae.
17624 2014-02-04 David S. Miller <davem@davemloft.net>
17626 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
17629 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17658 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17660 * nptl/shlib-versions: Change powerpc*le start to 2.17.
17661 * shlib-versions: Likewise.
17663 2014-02-04 Roland McGrath <roland@hack.frob.com>
17664 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17666 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
17667 (abilist-pattern): New variable, set to %-le.abilist.
17669 * Makerules (abilist-pattern): New variable.
17670 (vpath): Use $(abilist-pattern) in place of %.abilist.
17671 (check-abi-% pattern rule): Likewise.
17672 (check-abi, update-abi): Likewise.
17674 2014-02-04 Eric Wong <normalperson@yhbt.net>
17676 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17678 2014-02-03 Carlos O'Donell <carlos@redhat.com>
17680 * manual/startup.texi: Add next, previous, and top entries for
17681 the `Program Arguments' and `Environment Variables' nodes.
17683 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
17685 * manual/macros.texi: Add comments before MTASC-safety macros.
17687 * manual/users.texi: Document MTASC-safety properties.
17689 * manual/threads.texi (pthread_key_create, pthread_key_delete)
17690 (pthread_getspecific, pthread_setspecific): Format with
17691 @deftypefun, and add @safety note.
17692 * manual/signal.texi: Move comments that analyze the above
17693 functions to their home place.
17695 2014-02-03 Allan McRae <allan@archlinux.org>
17697 * po/sl.po: Update Slovenian translation from translation project.
17699 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
17701 * manual/time.texi (timegm): Add missing blank after @c.
17702 Reported by Joseph Myers <joseph@codesourcery.com>.
17704 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
17706 * manual/check-safety.sh: New.
17707 * manual/Makefile ($(objpfx)stamp-summary): Run it.
17709 * manual/terminal.texi: Document MTASC-safety properties.
17711 * manual/filesys.texi: Document MTASC-safety properties.
17713 * manual/errno.texi: Document MTASC-safety properties.
17715 * manual/intro.texi: Document safety identifiers and
17718 * manual/string.texi (wcstok): Fix prototype.
17719 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
17721 * manual/time.texi: Document MTASC-safety properties.
17723 * manual/string.texi: Document MTASC-safety properties.
17725 * manual/threads.texi: Document MTASC-safety properties.
17727 * manual/stdio.texi: Document MTASC-safety properties.
17729 * manual/syslog.texi: Document MTASC-safety properties.
17731 * manual/sysinfo.texi: Document MTASC-safety properties.
17733 * manual/startup.texi: Document MTASC-safety properties.
17735 * manual/socket.texi: Document MTASC-safety properties.
17737 * manual/signal.texi: Document MTASC-safety properties.
17739 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
17741 * manual/setjmp.texi: Document MTASC-safety properties.
17743 * manual/search.texi: Document MTASC-safety properties.
17745 * manual/resource.texi: Document MTASC-safety properties.
17747 * manual/process.texi: Document MTASC-safety properties.
17749 * manual/platform.texi: Document MTASC-safety properties.
17751 * manual/pipe.texi: Document MTASC-safety properties.
17753 * manual/pattern.texi: Document MTASC-safety properties.
17755 * manual/message.texi: Document MTASC-safety properties.
17758 * manual/memory.texi: Document MTASC-safety properties.
17760 * manual/math.texi: Document MTASC-safety properties.
17762 * manual/locale.texi: Document MTASC-safety properties.
17764 * manual/llio.texi: Document MTASC-safety properties.
17766 * manual/libdl.texi: New.
17768 * manual/lang.texi: Document MTASC-safety properties.
17770 * manual/job.texi: Document MTASC-safety properties.
17772 * manual/getopt.texi: Document MTASC-safety properties.
17774 * manual/ctype.texi: Document MTASC-safety properties.
17776 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
17779 * csu/libc-tls.c (static_map): Remove variable.
17780 (__libc_setup_tls): Use main executable's link map for TLS data.
17781 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
17782 casing for LM_ID_BASE and GL(dl_nns).
17783 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
17784 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
17785 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
17786 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
17787 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
17789 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
17792 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
17794 * manual/debug.texi: Document MTASC-safety properties.
17796 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
17799 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
17800 of __x86_64__ when disabling x87 inline functions.
17802 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
17804 * manual/charset.texi: Document MTASC-safety properties.
17806 * manual/crypt.texi: Document MTASC-safety properties.
17808 * manual/conf.texi: Document MTASC-safety properties.
17810 * manual/arith.texi: Document MTASC-safety properties.
17812 * manual/argp.texi: Document MTASC-safety properties.
17814 * manual/macros.texi: Introduce macros to document multi
17815 thread, asynchronous signal and asynchronous cancellation
17817 * manual/intro.texi: Introduce the properties themselves.
17819 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17821 * sysdeps/sh/sh4/Makefile: New file.
17823 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
17825 * math/gen-libm-test.pl ($srcdir): New variable.
17826 ($auto_input): Use it.
17828 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17831 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
17832 access beyond array bounds when parsing netgroups file.
17834 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
17835 the old buffer before realloc.
17837 2014-01-27 Allan McRae <allan@archlinux.org>
17839 * po/fr.po: Update French translation from translation project.
17841 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17843 * sysdeps/sh/libm-test-ulps: Regenerate.
17845 2014-01-24 David S. Miller <davem@davemloft.net>
17847 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
17849 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17851 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
17852 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
17854 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17857 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
17858 string pointers after reallocation.
17860 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17862 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
17863 __SH4A__ instead of __SH_FPU_ANY__.
17865 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17867 * sysdeps/sh/fpu_control.h: New file.
17868 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
17869 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
17870 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
17871 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
17872 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
17873 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
17874 * sysdeps/sh/sys/ucontext.h: Remove.
17875 * sysdeps/sh/sys: Remove directory.
17877 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17879 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
17880 s390/sys/ucontext.h.
17881 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
17882 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
17884 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
17887 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
17889 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17892 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17893 Adjust the vDSO correctly for internal calls.
17894 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
17896 2014-01-20 Allan McRae <allan@archlinux.org>
17898 * po/ca.po: Update Catalan translation from translation project.
17900 2014-01-16 Mike Frysinger <vapier@gentoo.org>
17902 * sysdeps/s390/sotruss-lib.c: New file.
17904 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17907 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
17908 (__GI___gettimeofday): Alias for a different internal symbol to avoid
17909 local calls issues by not having a PLT stub required for IFUNC calls.
17910 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
17912 2014-01-16 Joseph Myers <joseph@codesourcery.com>
17914 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
17915 * math/test-fpucw-static.c: Likewise.
17917 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17920 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
17922 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17924 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
17925 implementation for powerpc.
17927 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
17930 * sysdeps/posix/system.c (__libc_system): Do not enable
17931 asynchronous cancellation.
17933 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17936 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
17937 handling only for numbers special also in the IEEE case.
17939 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17941 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17943 2014-01-11 Allan McRae <allan@archlinux.org>
17945 * po/bg.po: Update Bulgarian translation from translation project.
17947 * po/de.po: Update German translation from translation project.
17949 2014-01-10 Roland McGrath <roland@hack.frob.com>
17951 * sysdeps/generic/gcc-compat.h: New file.
17953 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17955 * benchtests/asin-inputs: Correct slow inputs.
17956 * benchtests/acos-inputs: Likewise.
17958 2014-01-10 Allan McRae <allan@archlinux.org>
17960 * po:sv.po: Update Swedish translation from translation project.
17962 * po/vi.po: Update Vietnamese translation from translation project.
17964 * po/eo.po: Update Esperanto translation from translation project.
17966 * po/cs.po: Update Czech translation from translation project.
17968 * po/nl.po: Update Dutch translation from translation project.
17970 * po/pl.po: Update Polish translation from translation project.
17972 * po/ru.po: Update Russian translation from translation project.
17974 * po/uk.po: Update Ukrainian translation from translation project.
17976 2014-01-08 Brooks Moses <bmoses@google.com>
17978 * elf/dl-load.c: Fix comment typo.
17980 2014-01-08 Carlos O'Donell <carlos@redhat.com>
17982 * po/header.pot: Rename to...
17983 * po/pot.header: ... this.
17984 * po/Makefile: Use pot.header.
17986 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
17987 Maxim Kuvyrkov <maxim@kugelworks.com>
17990 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
17991 SRC and DEST against LEN.
17993 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17996 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
17998 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
18000 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18002 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18004 2014-01-08 Joseph Myers <joseph@codesourcery.com>
18007 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
18008 for large positive arguments.
18010 2014-01-07 Joseph Myers <joseph@codesourcery.com>
18012 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18014 * math/auto-libm-test-in: Mark various tests with
18015 xfail-rounding:ldbl-128ibm.
18016 * math/auto-libm-test-out: Regenerated.
18019 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18020 Increase overflow threshold.
18022 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
18025 * stdio-common/vfprintf.c: Check for integer overflow.
18027 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18029 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
18030 the first argument and return value of __tls_get_addr_internal.
18032 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18034 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
18035 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
18037 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18039 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
18040 * sysdeps/s390/rtld-global-offsets.sym: New file.
18041 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
18043 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
18044 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
18045 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
18047 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
18048 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
18050 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18052 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18054 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
18055 halfs of GPRs for high_gprs contexts.
18056 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
18057 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
18059 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
18061 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
18063 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
18064 for high GPRs (uc_high_gprs) and for future extensions
18066 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
18067 for future extensions (__reserved).
18068 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
18070 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
18071 SC_HIGHGPRS offset definition.
18072 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
18073 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
18075 * Versions.def: Add GLIBC_2.19 for libpthread.
18076 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
18077 siglongjmp for libpthread with GLIBC_2.19 symver.
18078 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
18079 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
18080 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
18081 * sysdeps/s390/__longjmp.c: New file.
18082 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
18083 * sysdeps/s390/longjmp.c: New file.
18084 * sysdeps/s390/setjmp.S: New file.
18085 * sysdeps/s390/sigjmp.S: New file.
18086 * sysdeps/s390/v1-longjmp.c: New file.
18087 * sysdeps/s390/v1-setjmp.h: New file.
18088 * sysdeps/s390/v1-sigjmp.c: New file.
18089 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
18090 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
18091 GLIBC_2.19 version.
18092 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
18093 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
18094 versioned symbols for ____longjmp_chk.
18095 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
18097 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18101 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18103 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18105 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
18106 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
18107 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
18108 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
18109 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
18110 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
18111 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
18112 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
18113 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
18114 * sysdeps/s390/rtld-__longjmp.c: New file.
18115 * sysdeps/s390/rtld-setjmp.S: New file.
18117 2014-01-06 Joseph Myers <joseph@codesourcery.com>
18120 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18121 Return -__logl (x) for small positive arguments without evaluating
18124 2014-01-06 Mike Frysinger <vapier@gentoo.org>
18126 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
18128 (__ptrace_peeksiginfo_args): ... this.
18129 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18130 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18131 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18133 2014-01-06 Allan McRae <allan@archlinux.org>
18135 * inet/netinet/in.h: Fix typo in comment.
18137 2014-01-05 Andreas Jaeger <aj@suse.de>
18139 * sysdeps/i386/fpu/libm-test-ulps: Update.
18141 2014-01-05 Allan McRae <allan@archlinux.org>
18143 * po/libc.pot: Regenerated.
18145 * malloc/memusagestat.c: Fix gettext call formatting.
18147 2014-01-04 Sami Kerola <kerolasa@iki.fi>
18149 * nscd/nscd.c: Improve usage() output.
18151 2014-01-04 Mike Frysinger <vapier@gentoo.org>
18153 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
18154 * sysdeps/unix/sysv/linux/configure: Regenerated.
18155 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
18156 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
18158 2014-01-03 Joseph Myers <joseph@codesourcery.com>
18161 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18162 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
18164 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18166 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
18167 extra tokens at end of #undef directive.
18168 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
18169 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
18170 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18172 2014-01-03 Joseph Myers <joseph@codesourcery.com>
18174 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18176 * math/auto-libm-test-in: Mark various tests with
18177 xfail-rounding:ldbl-128ibm.
18178 * math/auto-libm-test-out: Regenerated.
18180 2014-01-02 Joseph Myers <joseph@codesourcery.com>
18183 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
18184 numbers with subnormal high part when calculating exponent.
18187 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
18191 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
18193 (__ieee754_acoshl): Use __log1pl not __log1p.
18195 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
18197 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
18198 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
18199 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
18200 (grow_heap, heap_trim, _int_new_arena, get_free_list)
18201 (reused_arena, arena_get2): Convert to GNU style.
18202 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
18203 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
18204 (memalign_check, __malloc_set_state): Likewise.
18205 * malloc/mallocbug.c (main): Likewise.
18206 * malloc/malloc.c (__malloc_assert, malloc_init_state)
18207 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
18208 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
18209 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
18210 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
18211 (__posix_memalign, malloc_info): Likewise.
18212 * malloc/malloc.h: Likewise.
18213 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
18214 (mallochook, memalignhook, reallochook, mabort): Likewise.
18215 * malloc/mcheck.h: Likewise.
18216 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
18217 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
18218 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
18219 * malloc/morecore.c (__default_morecore): Likewise.
18220 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
18221 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
18222 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
18223 (print_and_abort): Likewise.
18224 * malloc/obstack.h: Likewise.
18225 * malloc/set-freeres.c (__libc_freeres): Likewise.
18226 * malloc/tst-mallocstate.c (main): Likewise.
18227 * malloc/tst-mtrace.c (main): Likewise.
18228 * malloc/tst-realloc.c (do_test): Likewise.
18230 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18233 * nscd/netgroupcache.c (do_notfound): New function.
18234 (addgetnetgrentX): Use it.
18237 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
18238 NSS_STATUS_NOTFOUND.
18240 2014-01-01 Joseph Myers <joseph@codesourcery.com>
18242 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18245 2014-01-01 Allan McRae <allan@archlinux.org>
18247 * scripts/update-copyrights: Update configure input file suffix.
18249 * NEWS: Update copyright year.
18250 * catgets/gencat.c: Likewise.
18251 * csu/version.c: Likewise.
18252 * debug/catchsegv.sh: Likewise.
18253 * debug/pcprofiledump.c: Likewise.
18254 * debug/xtrace.sh: Likewise.
18255 * elf/ldconfig.c: Likewise.
18256 * elf/ldd.bash.in: Likewise.
18257 * elf/pldd.c: Likewise.
18258 * elf/sotruss.ksh: Likewise.
18259 * elf/sprof.c: Likewise.
18260 * iconv/iconv_prog.c: Likewise.
18261 * iconv/iconvconfig.c: Likewise.
18262 * locale/programs/locale.c: Likewise.
18263 * locale/programs/localedef.c: Likewise.
18264 * login/programs/pt_chown.c: Likewise.
18265 * malloc/memusage.sh: Likewise.
18266 * malloc/memusagestat.c: Likewise.
18267 * malloc/mtrace.pl: Likewise.
18268 * manual/libc.texinfo: Likewise.
18269 * nscd/nscd.c: Likewise.
18270 * nss/getent.c: Likewise.
18271 * nss/makedb.c: Likewise.
18272 * posix/getconf.c: Likewise.
18273 * scripts/test-installation.pl: Likewise.
18275 * All files with FSF copyright notices: Update copyright dates
18276 using scripts/update-copyrights.
18277 * intl/plural.c: Regenerated.
18278 * locale/programs/charmap-kw.h: Likewise.
18279 * locale/programs/locfile-kw.h: Likewise.
18281 2013-12-31 Mike Frysinger <vapier@gentoo.org>
18283 * sysdeps/unix/sysv/linux/configure: Regenerated.
18284 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
18285 the linux/fanotify.h header.
18286 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
18287 HAVE_LINUX_FANOTIFY_H is defined.
18289 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18291 * benchtests/cos-inputs: New inputs.
18292 * benchtests/sin-inputs: Likewise.
18294 * benchtests/atan-inputs: New inputs. Fix name of multiple
18295 precision fallback inputs.
18297 * benchtests/atanh-inputs: New inputs.
18298 * benchtests/tanh-inputs: Likewise.
18300 * benchtests/acosh-inputs: New inputs.
18301 * benchtests/asinh-inputs: Likewise.
18303 * benchtests/cosh-inputs: New inputs.
18304 * benchtests/sinh-inputs: Likewise.
18306 * benchtests/acos-inputs: Add more inputs.
18307 * benchtests/asin-inputs: Likewise.
18309 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
18312 * manual/arith.texi: Fix spelling.
18313 * manual/charset.texi: Likewise.
18314 * manual/errno.texi: Likewise.
18315 * manual/filesys.texi: Likewise.
18316 * manual/lang.texi: Likewise.
18317 * manual/llio.texi: Likewise.
18318 * manual/locale.texi: Likewise.
18319 * manual/message.texi: Likewise.
18320 * manual/resource.texi: Likewise.
18321 * manual/search.texi: Likewise.
18322 * manual/setjmp.texi: Likewise.
18323 * manual/stdio.texi: Likewise.
18324 * manual/string.texi: Likewise.
18325 * manual/sysinfo.texi: Likewise.
18326 * manual/time.texi: Likewise.
18328 2013-12-27 Carlos O'Donell <carlos@redhat.com>
18330 * po/sl.po: New file.
18332 2013-12-27 Mike Frysinger <vapier@gentoo.org>
18334 * .gitignore: Add core/.gdbinit/.gdb_history.
18336 2013-12-27 Allan McRae <allan@archlinux.org>
18339 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
18340 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
18342 2013-12-24 Brooks Moses <bmoses@google.com>
18344 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
18345 all compilers that claim C++98 compliance, not just GCC.
18346 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18349 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18351 * NEWS: Restore accidentally deleted bug-fix entries.
18353 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18354 Ondřej Bílka <neleai@seznam.cz>
18357 * malloc/malloc.c (_int_free): Perform sanity check only if we
18360 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
18363 * manual/stdio.texi (String Input Conversions): Clarify that character
18364 classes are not supported.
18366 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18368 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18370 2013-12-22 Joseph Myers <joseph@codesourcery.com>
18373 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18374 Calculate results for small negative arguments directly rather
18375 than using reflection formula with special underflow handling.
18377 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
18378 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
18379 sysdeps/unix/bsd/bsd4.4/syscalls.list.
18380 (fchflags): Likewise.
18381 (revoke): Likewise.
18382 (setlogin): Likewise.
18383 (sigaltstack): Likewise.
18385 (sigblock): Remove.
18386 (sigsetmask): Likewise.
18388 (waitpid): Likewise.
18389 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
18390 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
18392 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
18393 * sysdeps/unix/bsd/Makefile: ... here.
18394 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
18395 * sysdeps/unix/bsd/Versions: ... here.
18396 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
18397 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
18398 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
18399 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
18400 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
18401 * sysdeps/unix/bsd/sigblock.c: ... here.
18402 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
18403 * sysdeps/unix/bsd/sigsetmask.c: ... here.
18404 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
18405 * sysdeps/unix/bsd/sigvec.c: ... here.
18406 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
18407 * sysdeps/unix/bsd/tcdrain.c: ... here.
18408 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
18409 * sysdeps/unix/bsd/tcgetattr.c: ... here.
18410 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
18411 * sysdeps/unix/bsd/tcsetattr.c: ... here.
18412 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
18413 * sysdeps/unix/bsd/wait.c: ... here.
18414 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
18415 * sysdeps/unix/bsd/wait3.c: ... here.
18416 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
18417 * sysdeps/unix/bsd/waitpid.c: ... here.
18419 2013-12-21 Joseph Myers <joseph@codesourcery.com>
18422 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
18423 round-to-nearest for [!USE_AS_EXPM1L].
18424 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18425 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
18426 more tests of exp and exp10. Expect some exp10 tests to miss
18427 exceptions or fail in directed rounding modes.
18428 * math/auto-libm-test-out: Regenerated.
18429 * math/libm-test.inc (exp10_tonearest_test_data): New array.
18430 (exp10_test_tonearest): New function.
18431 (exp10_towardzero_test_data): New array.
18432 (exp10_test_towardzero): New function.
18433 (exp10_downward_test_data): New array.
18434 (exp10_test_downward): New function.
18435 (exp10_upward_test_data): New array.
18436 (exp10_test_upward): New function.
18437 (main): Call the new functions.
18438 * sysdeps/i386/fpu/libm-test-ulps: Update.
18439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18441 2013-12-20 Joseph Myers <joseph@codesourcery.com>
18443 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18444 asinh, atan, atan2, atanh, cbrt, cos and cosh.
18445 * math/auto-libm-test-out: Regenerated.
18446 * math/libm-test.inc (acosh_test_data): Add more tests.
18447 (atanh_test_data): Likewise.
18448 (ceil_test_data): Likewise.
18449 (copysign_test_data): Likewise.
18450 * sysdeps/i386/fpu/libm-test-ulps: Update.
18451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18453 * timezone/checktab.awk: Update from tzcode 2013i.
18454 * timezone/private.h: Likewise.
18455 * timezone/scheck.c: Likewise.
18456 * timezone/tzfile.h: Likewise.
18457 * timezone/tzselect.ksh: Likewise.
18458 * timezone/zdump.c: Likewise.
18459 * timezone/zic.c: Likewise.
18461 * math/auto-libm-test-in: Add tests of cpow.
18462 * math/auto-libm-test-out: Regenerated.
18463 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
18464 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18466 (func_calc_desc): Add mpc_cc_c union field.
18467 (test_functions): Add cpow.
18468 (special_fill_2pi): New function.
18469 (special_real_inputs): Add 2pi.
18470 (calc_generic_results): Handle mpc_cc_c.
18471 * sysdeps/i386/fpu/libm-test-ulps: Update.
18472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18474 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
18475 csqrt, ctan and ctanh.
18476 * math/auto-libm-test-out: Regenerated.
18477 * math/libm-test.inc (TEST_COND_x86_64): New macro.
18478 (TEST_COND_x86): Likewise.
18479 (ccos_test_data): Use AUTO_TESTS_c_c.
18480 (ccosh_test_data): Likewise.
18481 (cexp_test_data): Likewise.
18482 (clog_test_data): Likewise.
18483 (csqrt_test_data): Likewise.
18484 (ctan_test_data): Likewise.
18485 (ctan_tonearest_test_data): Likewise.
18486 (ctan_towardzero_test_data): Likewise.
18487 (ctan_downward_test_data): Likewise.
18488 (ctan_upward_test_data): Likewise.
18489 (ctanh_test_data): Likewise.
18490 (ctanh_tonearest_test_data): Likewise.
18491 (ctanh_towardzero_test_data): Likewise.
18492 (ctanh_downward_test_data): Likewise.
18493 (ctanh_upward_test_data): Likewise.
18494 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18496 (func_calc_desc): Add mpc_c_c union field.
18497 (FUNC_mpc_c_c): New macro.
18498 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
18499 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
18501 (special_fill_min_subnorm_p120): New function.
18502 (special_real_inputs): Add min_subnorm_p120.
18503 (calc_generic_results): Handle mpc_c_c.
18504 * sysdeps/i386/fpu/libm-test-ulps: Update.
18505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18507 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18509 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
18510 (do_sin_slow): New functions.
18511 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
18512 (cslow2, csloww1, csloww2): Use the new functions.
18514 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
18515 Use M to change sign of result instead of X. Assume X is
18517 (csloww1): Likewise.
18521 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
18522 arguments A and DA.
18526 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
18528 (sloww1): Don't adjust sign of DX.
18529 (csloww1): Likewise.
18530 (sloww2): Use X directly and don't adjust sign of DX.
18531 (csloww2): Likewise.
18533 2013-12-19 Joseph Myers <joseph@codesourcery.com>
18535 * math/auto-libm-test-in: Add tests of cabs and carg.
18536 * math/auto-libm-test-out: Regenerated.
18537 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
18538 (carg_test_data): Likewise.
18539 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18541 (func_calc_desc): Add mpc_c_f union field.
18542 (test_functions): Add cabs and carg.
18543 (calc_generic_results): Handle mpc_c_f.
18545 * sysdeps/powerpc/powerpc32/libgcc-compat.S
18546 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
18547 as a macro and a compat symbol.
18548 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
18549 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
18550 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
18551 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
18552 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
18553 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
18555 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
18557 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
18559 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
18561 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
18563 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
18565 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
18566 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
18569 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18571 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18573 2013-12-19 Joseph Myers <joseph@codesourcery.com>
18575 * manual/texinfo.tex: Update to version 2013-11-26.10 with
18576 trailing whitespace removed.
18577 * scripts/config.guess: Update to version 2013-11-29.
18578 * scripts/config.sub: Update to version 2013-10-01.
18580 * math/auto-libm-test-in: Add tests of sincos.
18581 * math/auto-libm-test-out: Regenerated.
18582 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
18583 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18585 (func_calc_desc): Add mpfr_f_11 union field.
18586 (test_functions): Add sincos.
18587 (calc_generic_results): Handle mpfr_f_11.
18588 * sysdeps/i386/fpu/libm-test-ulps: Update.
18589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18591 2013-12-19 Andreas Schwab <schwab@suse.de>
18593 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
18595 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18596 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
18597 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
18599 2013-12-19 Joseph Myers <joseph@codesourcery.com>
18601 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
18602 * sysdeps/i386/fpu/libm-test-ulps: Update.
18603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18606 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
18607 round-to-nearest mode when using frndint.
18608 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
18609 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18610 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18612 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
18614 * math/auto-libm-test-out: Regenerated.
18615 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
18616 (TEST_COND_x86): Likewise.
18617 (expm1_tonearest_test_data): New array.
18618 (expm1_test_tonearest): New function.
18619 (expm1_towardzero_test_data): New array.
18620 (expm1_test_towardzero): New function.
18621 (expm1_downward_test_data): New array.
18622 (expm1_test_downward): New function.
18623 (expm1_upward_test_data): New array.
18624 (expm1_test_upward): New function.
18625 (main): Run the new test functions.
18626 * sysdeps/i386/fpu/libm-test-ulps: Update.
18627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18629 * include/features.h: Update comment documenting feature test
18630 macros. Mention _DEFAULT_SOURCE in comment.
18631 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
18632 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
18633 _BSD_SOURCE and _SVID_SOURCE.
18634 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
18635 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
18636 !_SVID_SOURCE]: Likewise.
18637 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18638 (__USE_POSIX_IMPLICITLY): Define.
18639 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18640 (_POSIX_SOURCE): Undefine and redefine.
18641 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18642 (_POSIX_C_SOURCE): Likewise.
18643 * manual/creature.texi (_DEFAULT_SOURCE): Document.
18644 (Feature Test Macros): Update documentation of default features.
18646 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18648 * benchtests/Makefile: Add bench-strtok.
18649 * benchtests/bench-strtok.c: New file: strtok benchtest.
18651 2013-12-19 Allan McRae <allan@archlinux.org>
18653 * manual/install.texi: Suppress menu for plain text output.
18654 * INSTALL: Regenerated.
18656 2013-12-18 Brooks Moses <bmoses@google.com>
18659 * misc/getauxval.c: Include errno.h.
18660 (__getauxval): Set errno to ENOENT if the requested type is not
18662 * misc/sys/auxv.h (getauxval): Document that it may set errno;
18663 don't declare with __attribute_const__.
18664 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
18665 * manual/startup.texi: Document that getauxval sets errno.
18667 2013-12-18 Joseph Myers <joseph@codesourcery.com>
18669 * math/auto-libm-test-in: Add tests of jn and yn.
18670 * math/auto-libm-test-out: Regenerated.
18671 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
18672 (yn_test_data): Likewise.
18673 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18675 (func_calc_desc): Add mpfr_if_f union field.
18676 (FUNC_mpfr_if_f): New macro.
18677 (test_functions): Add jn and yn.
18678 (calc_generic_results): Assert type of second input for
18679 mpfr_ff_f. Handle mpfr_if_f.
18680 (output_for_one_input_case): Disable all checking for arguments
18681 fitting floating-point types in case of an integer argument.
18682 * sysdeps/i386/fpu/libm-test-ulps: Update.
18683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18686 Don't expect fegetround reference in libm.so.
18688 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18690 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
18691 $(config-cflags-nofma).
18693 2013-12-18 Joseph Myers <joseph@codesourcery.com>
18695 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
18696 * math/auto-libm-test-out: Regenerated.
18699 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
18700 to determine exponent and adjust argument to have exponent of -1.
18701 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
18703 * math/auto-libm-test-out: Regenerated.
18704 * sysdeps/i386/fpu/libm-test-ulps: Update.
18705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18707 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
18709 * manual/probes.texi: Remove cases when per-thread arenas are
18712 2013-12-18 Andreas Schwab <schwab@suse.de>
18714 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
18715 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
18716 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
18717 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
18718 * sysdeps/i386/i686/multiarch/Makefile: Update.
18719 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
18721 2013-12-17 Joseph Myers <joseph@codesourcery.com>
18723 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
18724 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
18726 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
18729 Support TZ transition times < 00:00:00.
18730 This is needed for version-3 tz-format files; it supports time
18731 stamps past 2037 for America/Godthab (the only entry in the tz
18732 database for which this change is relevant).
18733 * manual/time.texi (TZ Variable): Document transition times
18734 from -167:59:59 through -00:00:01.
18735 * time/tzset.c (tz_rule): Time of day is now signed.
18736 (__tzset_parse_tz): Parse negative time of day.
18738 Document TZ transition times >= 25:00:00.
18739 * manual/time.texi (TZ Variable): Document transition times from
18740 25:00:00 through 167:59:59. These are already supported, and this
18741 support will help with version-3 tz-format files.
18743 * manual/time.texi (TZ Variable): Modernize North America example
18744 to reflect current (i.e., 2007-and-later) daylight saving rules.
18746 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
18748 2013-12-17 Joseph Myers <joseph@codesourcery.com>
18750 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
18751 * sysdeps/unix/bsd/bits/stat.h: Likewise.
18752 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
18753 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18754 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
18755 * sysdeps/unix/bsd/bsdstat.h: Likewise.
18756 * sysdeps/unix/bsd/clock.c: Likewise.
18757 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
18758 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
18759 * sysdeps/unix/bsd/init-posix.c: Likewise.
18760 * sysdeps/unix/bsd/poll.c: Likewise.
18761 * sysdeps/unix/bsd/ptsname.c: Likewise.
18762 * sysdeps/unix/bsd/seekdir.c: Likewise.
18763 * sysdeps/unix/bsd/setegid.c: Likewise.
18764 * sysdeps/unix/bsd/seteuid.c: Likewise.
18765 * sysdeps/unix/bsd/setgid.c: Likewise.
18766 * sysdeps/unix/bsd/setrgid.c: Likewise.
18767 * sysdeps/unix/bsd/setruid.c: Likewise.
18768 * sysdeps/unix/bsd/setsid.c: Likewise.
18769 * sysdeps/unix/bsd/setuid.c: Likewise.
18770 * sysdeps/unix/bsd/sigaction.c: Likewise.
18771 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
18772 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
18773 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
18774 * sysdeps/unix/bsd/telldir.c: Likewise.
18775 * sysdeps/unix/bsd/times.c: Likewise.
18776 * sysdeps/unix/bsd/usleep.c: Likewise.
18778 * misc/Makefile (install-lib): Remove libbsd-compat.a.
18779 ($(objpfx)libbsd-compat.a): Remove rule.
18781 * include/features.h (__FAVOR_BSD): Do not define.
18782 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
18783 features conflicting with POSIX.
18784 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
18785 (_BSD_SOURCE): Remove description of not being a subset of other
18786 feature test macros.
18787 * manual/job.texi (getpgrp): Do not document BSD version.
18788 (getpgid): Do not document by reference to BSD getpgrp.
18789 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
18790 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
18791 * signal/signal.h [__FAVOR_BSD]: Likewise.
18792 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
18793 instead of making contents conditional on [__FAVOR_BSD].
18794 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
18796 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18798 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18800 2013-12-17 Joseph Myers <joseph@codesourcery.com>
18803 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
18804 values below 2**-450, not 2**-500.
18805 * math/auto-libm-test-in: Don't allow spurious underflow from
18807 * math/auto-libm-test-out: Regenerated.
18811 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
18812 values of ha and hb and sort them after adjusting subnormal
18814 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
18816 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
18817 values of ea and eb and sort them after adjusting subnormal
18819 * math/auto-libm-test-in: Do not expect some hypot tests of
18820 subnormals to fail. Add more hypot tests.
18821 * math/auto-libm-test-out: Regenerated.
18823 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18826 * sysdeps/sh/s_fma.c: New file.
18827 * sysdeps/sh/s_fmaf.c: New file.
18828 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
18830 * sysdeps/sh/Implies: Add sh/soft-fp.
18832 2013-12-16 Roland McGrath <roland@hack.frob.com>
18834 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
18835 level of indirection to members `objname', `errstring', `malloced'.
18836 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
18837 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
18838 it as the __longjmp argument (just pass 1 instead).
18839 (_dl_catch_error): Initialize C with argument pointers and address of
18840 volatile local ERRCODE rather than copying values out of C at return.
18842 2013-12-16 Joseph Myers <joseph@codesourcery.com>
18844 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
18845 * math/auto-libm-test-out: Regenerated.
18846 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
18847 (hypot_test_data): Likewise.
18848 (pow_test_data): Likewise.
18849 (pow_tonearest_test_data): Likewise.
18850 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18852 (func_calc_desc): Add mpfr_ff_f union field.
18853 (FUNC_mpfr_ff_f): New macro.
18854 (test_functions): Add atan2, hypot and pow.
18855 (special_fill_min): New function.
18856 (special_fill_minus_min): Likewise.
18857 (special_fill_min_subnorm): Likewise.
18858 (special_fill_minus_min_subnorm): Likewise.
18859 (special_real_inputs): Add min, -min, min_subnorm and
18861 (calc_generic_results): Handle mpfr_ff_f.
18862 * sysdeps/i386/fpu/libm-test-ulps: Update.
18863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18865 2013-12-16 Will Newton <will.newton@linaro.org>
18867 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
18868 (Aligned Memory Blocks): Add documentation for aligned_alloc
18869 and suggest it as an alternative to posix_memalign.
18870 (Hooks for Malloc): Document __memalign_hook is also called
18871 for aligned_alloc. (Summary of Malloc): Add summary for
18872 aligned alloc. Document __memalign_hook is also called
18875 2013-12-16 Will Newton <will.newton@linaro.org>
18877 * manual/memory.texi (Malloc Examples): Clarify default
18878 alignment documentation. Suggest posix_memalign rather
18879 than memalign or valloc.
18880 (Aligned Memory Blocks): Remove suggestion to use memalign
18881 or valloc. Remove obsolete comment about BSD.
18882 Document memalign errno values and mark the function obsolete.
18883 Document posix_memalign returned error codes. Mark valloc
18884 as obsolete. (Hooks for Malloc): __memalign_hook is also
18885 called for posix_memalign and valloc.
18886 (Summary of Malloc): Add posix_memalign to function summary.
18887 __memalign_hook is also called for posix_memalign and valloc.
18889 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18891 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
18895 (sloww): Use mynumber union. Expand ternary operator into
18896 if-else statements.
18897 (cslow): use mynumber union.
18899 2013-12-16 Allan McRae <allan@archlinux.org>
18901 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
18902 * configure: Regenerated.
18904 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
18907 * configure.ac: Added --enable-maintainer-mode. Check for
18908 autoconf when enabled.
18909 * configure: Regenerated.
18911 * nscd/nscd.service: New file.
18912 * nscd/nscd.tmpfiles: New file.
18914 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
18917 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
18918 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
18919 * sysdeps/x86_64/multiarch/strstr.c: ... here.
18920 (strstr): Add __strstr_sse2_unaligned ifunc.
18921 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
18922 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
18923 (strcasestr): Remove __strcasestr_sse42 ifunc.
18924 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
18925 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18926 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18928 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18930 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
18931 * sysdeps/sh/bits/fenv.h: ... here.
18932 * sysdeps/sh/sh4/fpu/bits: Remove directory.
18934 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18936 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
18938 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
18939 hypotf multiarch implementations.
18940 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
18941 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
18942 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
18943 multiarch hypot for PPC64.
18944 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
18945 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
18946 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
18947 multiarch hypotf for PPC64.
18949 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
18950 modff multiarch implementations.
18951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
18952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
18953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
18954 multiarch modf for PPC64.
18955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
18956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
18957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
18958 multiarch modff for PPC64.
18960 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
18961 and logl multiarch implementations.
18962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
18963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
18964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
18965 multiarch logb for PPC64.
18966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
18967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
18968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
18969 multiarch logb for PPC64.
18970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
18971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
18972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
18973 multiarch logb for PPC64.
18975 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
18976 isinff multiarch implementation.
18977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
18979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
18980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
18981 multiarch isinf for PPC64.
18982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
18984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
18985 multiarch isinff for PPC64.
18987 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
18988 finitef multiarch implementation.
18989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
18991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
18992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
18993 multiarch finite for PPC64.
18994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
18996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
18997 multiarch finitef for PPC64.
18999 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
19000 lrint multiarch implementation.
19001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
19003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
19004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
19005 multiarch llrint for PPC64.
19006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
19007 multiarch lrint for PPC64.
19009 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
19010 copysignf multiarch implementation.
19011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
19013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
19015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
19016 multiarch copysign for PPC64.
19017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
19018 multiarch copysignf for PPC64.
19020 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
19021 multiarch implementation.
19022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
19024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
19026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
19028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
19030 multiarch llround for PPC64.
19031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
19032 multiarch trunc for PPC64.
19033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
19034 multiarch truncf for PPC64.
19036 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
19037 multiarch implementation.
19038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
19040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
19042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
19044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
19046 multiarch llround for PPC64.
19047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
19048 multiarch round for PPC64.
19049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
19050 multiarch roundf for PPC64.
19052 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
19053 multiarch implementation.
19054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
19056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
19058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
19060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
19062 multiarch llround for PPC64.
19063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
19064 multiarch floor for PPC64.
19065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
19066 multiarch floorf for PPC64.
19068 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
19069 multiarch implementation.
19070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
19072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
19074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
19076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
19078 multiarch llround for PPC64.
19079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
19080 multiarch ceil for PPC64.
19081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
19082 multiarch ceilf for PPC64.
19084 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19085 multiarch implementation.
19086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
19088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
19090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
19092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
19093 multiarch llround for PPC64.
19094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
19095 multiarch lround for PPC64.
19097 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19098 multiarch implementation.
19099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
19100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
19101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
19103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
19104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
19105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
19106 multiarch isnan for PPC64.
19107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
19108 multiarch isnanf for PPC64.
19110 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
19111 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
19112 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
19113 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
19114 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
19115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
19117 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
19118 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19119 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19120 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19122 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
19123 multiarch implementations.
19124 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19125 (__libc_ifunc_impl_list): Likewise.
19126 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19127 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
19128 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
19129 multiarch stpcpy for PPC64.
19131 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
19132 multiarch implementations.
19133 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19134 (__libc_ifunc_impl_list): Likewise.
19135 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
19136 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
19137 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
19138 multiarch strcpy for PPC64.
19140 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
19141 redefine function name.
19142 (_wordcopy_fwd_dest_aligned): Likewise.
19143 (_wordcopy_bwd_aligned): Likewise.
19144 (_wordcopy_bwd_dest_aligned): Likewise.
19145 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
19146 multiarch implementations.
19147 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19148 (__libc_ifunc_impl_list): Likewise.
19149 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
19150 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
19151 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
19152 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
19153 multiarch wcscpy for PPC64.
19155 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
19156 multiarch implementations.
19157 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19158 (__libc_ifunc_impl_list): Likewise.
19159 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
19160 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
19161 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
19162 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
19163 multiarch wcscpy for PPC64.
19165 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
19166 multiarch implementations.
19167 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19168 (__libc_ifunc_impl_list): Likewise.
19169 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
19170 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
19171 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
19172 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
19173 multiarch wcsrchr for PPC64.
19175 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
19176 multiarch implementations.
19177 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19178 (__libc_ifunc_impl_list): Likewise.
19179 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
19180 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
19181 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
19182 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
19183 multiarch wcschr for PPC64.
19185 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
19186 multiarch implementations.
19187 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19188 (__libc_ifunc_impl_list): Likewise.
19189 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
19190 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
19191 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
19192 multiarch strchrnul for PPC64.
19194 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
19196 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19197 (__libc_ifunc_impl_list): Likewise.
19198 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
19199 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
19200 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
19201 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
19204 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
19206 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19207 (__libc_ifunc_impl_list): Likewise.
19208 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
19209 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
19210 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
19211 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
19214 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
19215 multiarch implementations.
19216 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19217 (__libc_ifunc_impl_list): Likewise.
19218 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
19219 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
19220 strncasecmp for PPC64.
19221 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
19222 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
19223 multiarch strncasecmp_l for PPC64.
19225 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
19226 multiarch implementations.
19227 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19228 (__libc_ifunc_impl_list): Likewise.
19229 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
19230 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
19231 multiarch strcasecmp for PPC64.
19232 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
19234 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
19235 multiarch strcasecmp_l for PPC64.
19237 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
19239 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19240 (__libc_ifunc_impl_list): Likewise.
19241 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
19242 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
19243 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
19246 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
19248 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19249 (__libc_ifunc_impl_list): Likewise.
19250 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
19251 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
19252 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
19255 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
19257 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19258 (__libc_ifunc_impl_list): Likewise.
19259 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
19260 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
19261 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
19262 rawmemrchr for PPC64.
19264 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
19266 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19267 (__libc_ifunc_impl_list): Likewise.
19268 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
19269 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
19270 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
19273 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
19275 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19276 (__libc_ifunc_impl_list): Likewise.
19277 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
19278 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
19279 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
19282 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
19284 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19285 (__libc_ifunc_impl_list): Likewise.
19286 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
19287 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
19288 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
19291 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
19292 avoid cretion of __bzero symbol.
19293 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
19295 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
19297 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
19299 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
19300 multiarch implementations.
19301 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19302 (__libc_ifunc_impl_list): Likewise.
19303 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
19304 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
19305 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
19306 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
19308 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
19309 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
19310 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
19311 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
19312 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
19314 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
19316 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
19317 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
19319 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19320 (__libc_ifunc_impl_list): Likewise.
19321 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
19322 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
19323 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
19324 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
19327 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
19328 multiarch for POWER/PPC64.
19329 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19330 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
19331 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
19332 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
19333 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
19334 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
19335 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
19336 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
19337 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
19340 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
19341 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
19342 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
19343 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
19344 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
19345 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
19346 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
19347 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
19348 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
19349 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
19350 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
19351 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
19352 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
19353 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
19354 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
19355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
19356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
19357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
19358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
19359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
19360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
19361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
19363 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19365 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
19367 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19369 * benchtests/Makefile (bench): Add exp2 and log2.
19370 (LDLIBS-bench-exp2): Add -lm.
19371 (LDLIBS-bench-log2): Likewise.
19372 * benchtests/exp2-inputs: New inputs file.
19373 * benchtests/log2-inputs: New inputs file.
19374 * benchtests/log-inputs: Add new inputs.
19375 * benchtests/tan-inputs: Likewise.
19377 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19379 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
19381 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
19382 (csloww2): ... from here.
19384 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
19385 instead of structures.
19386 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
19387 (POLYNOMIAL): Likewise.
19388 (TAYLOR_SLOW): Likewise.
19394 (sloww1); Likewise.
19395 (sloww2): Likewise.
19396 (bsloww1): Likewise.
19397 (bsloww2): Likewise.
19398 (cslow2): Likewise.
19399 (csloww): Likewise.
19400 (csloww1): Likewise.
19401 (csloww2): Likewise.
19403 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
19405 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
19406 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
19407 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
19408 * malloc/hooks.c (realloc_check): Likewise.
19410 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
19411 * malloc/arena.c: Remove PER_THREAD conditional.
19412 [!PER_THREAD]: Remove code.
19413 (ptmalloc_unlock_all2): Likewise.
19414 (ptmalloc_init): Likewise.
19415 (_int_new_arena): Likewise.
19416 (arena_get2): Likewise.
19417 * malloc/hooks.c (__malloc_get_state): Likewise.
19418 (__malloc_set_state): Likewise.
19419 * malloc/malloc.c: Likewise.
19420 (struct malloc_state): Likewise.
19421 (struct malloc_par): Likewise.
19422 (__libc_realloc): Likewise.
19423 (__libc_mallopt): Likewise.
19425 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19427 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
19429 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
19431 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
19432 macro to a function. Check for zero perturb_byte.
19433 (_int_malloc, _int_free): Remove zero perturb_byte checks.
19435 * malloc/malloc.c: (force_reg): Remove.
19436 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
19437 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
19438 force_reg by atomic_forced_read.
19439 * malloc/arena.c (ptmalloc_init): Likewise.
19440 * malloc/hooks.c (top_check): Likewise.
19442 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19444 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19446 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
19448 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19450 2013-12-08 Joseph Myers <joseph@codesourcery.com>
19452 * math/auto-libm-test-in: Add tests of lgamma.
19453 * math/auto-libm-test-out: Regenerated.
19454 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
19455 (M_LOG_2_SQRT_PIl): Likewise.
19456 (lgamma_test_data): Use AUTO_TESTS_f_f1.
19457 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19459 (func_calc_desc): Add mpfr_f_f1 union field.
19460 (ARGS1): New macro.
19468 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
19469 (test_functions): Add lgamma.
19470 (calc_generic_results): Handle mpfr_f_f1.
19471 * sysdeps/i386/fpu/libm-test-ulps: Update.
19472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19474 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19476 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
19477 __mpn_add_n for PowerPC64/POWER7.
19478 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
19479 __mpn_sub_n for PowerPC64/POWER7.
19481 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
19482 __mpn_addmul_1 for PowerPC64.
19483 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
19484 __mpn_submul_1 for PowerPC64.
19485 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
19487 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
19490 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
19493 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
19495 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19497 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
19499 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
19500 add multiarch folders.
19501 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
19502 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
19503 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
19504 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
19505 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
19506 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
19507 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
19508 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
19509 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
19510 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
19511 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
19512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
19513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
19514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
19515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
19516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
19517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
19519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19520 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
19521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
19523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
19525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
19526 multiarch __ieee754_hypot for PowerPC32.
19527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
19529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
19531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
19532 multiarch __ieee754_hypotf for PowerPC32.
19534 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
19535 long_double_symbol only if __logbl is defined.
19536 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
19537 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
19538 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
19539 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
19540 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
19541 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
19542 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
19543 path for implementation.
19544 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
19545 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
19546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
19547 logb, and logbl multiarch implementations for PowerPC32.
19548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
19550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
19552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
19553 multiarch logb for PowerPC32.
19554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
19556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
19558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
19559 multiarch logbf for PowerPC32.
19560 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
19561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
19563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
19564 multiarch logbl implementation for PowerPC32.
19566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
19567 and modff multiarch implementations.
19568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
19570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
19572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
19573 multiarch modf for PowerPC32.
19574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
19576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
19578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
19579 multiarch modff for PowerPC32.
19581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
19582 and lrintf multiarch implementations.
19583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
19585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
19587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
19588 multiarch lrint for PowerPC32.
19589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
19590 file: multiarch lrintf for PowerPC32.
19592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
19593 and lroundf multiarch implementations.
19594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
19596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
19598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
19600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
19601 multiarch lround for PowerPC32.
19602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
19603 file: multiarch lroundf for PowerPC32.
19605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19606 copysign and copysignf multiarch implementations.
19607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
19609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
19611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
19612 file: multiarch copysign for PowerPC32.
19613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
19614 file: multiarch copysignf for PowerPC32.
19616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
19617 and truncf multiarch implementations.
19618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
19620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
19622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
19623 multiarch trunc for PowerPC32.
19624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
19626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
19628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
19629 multiarch truncf for PowerPC32.
19631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
19632 and roundf multiarch implementations.
19633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
19635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
19637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
19638 multiarch round for PowerPC32.
19639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
19641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
19643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
19644 multiarch roundf for PowerPC32.
19646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
19647 and floorf multiarch implementations.
19648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
19650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
19652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
19653 multiarch floor for PowerPC32.
19654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
19656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
19658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
19659 multiarch floorf for PowerPC32.
19661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
19662 and ceilf multiarch implementations.
19663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
19665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
19667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
19668 multiarch ceil for PowerPC32.
19669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
19671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
19673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
19674 multiarch ceilf for PowerPC32.
19676 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
19678 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
19679 FINITEF is defined.
19680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
19681 and finitef multiarch implementations.
19682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
19684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
19686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
19687 multiarch finite for PowerPC32.
19688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
19690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
19691 file: multiarch finitef for PowerPC32.
19693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
19694 and isinff multiarch implementations.
19695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
19697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
19699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
19700 multiarch isinf for PowerPC32.
19701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
19703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
19704 multiarch isinff for PowerPC32.
19706 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
19707 alias when __isnan is defined.
19708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
19709 and isnanf multiarch implementations.
19710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
19712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
19714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
19716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
19718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
19719 multiarch isnan for PowerPC32.
19720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
19722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
19724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
19725 multiarch isnanf for PowerPC32.
19727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
19728 and sqrtf multiarch implementations.
19729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
19731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
19733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
19734 multiarch sqrt for PowerPC32.
19735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
19737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
19739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
19740 multiarch sqrtf for PowerPC32.
19742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
19743 and llroundf multiarch implementations.
19744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
19746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
19748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
19750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
19751 file: multiarch llround for PowerPC32.
19752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
19753 file: multiarch llroundf for PowerPC32.
19755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
19756 multiarch PowerPC32 fpu implementations.
19757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
19759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
19761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
19762 multiarch llrint for PowerPC32.
19763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
19765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
19767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
19770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
19772 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
19774 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
19776 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
19778 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
19779 multiarch wordcopy for PPC32.
19780 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19782 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19783 (__libc_ifunc_impl_list): Likewise.
19784 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
19785 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
19786 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
19787 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
19788 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
19789 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
19791 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
19792 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
19794 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
19796 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
19798 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
19799 multiarch wcscpy for PPC32.
19800 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19802 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19803 (__libc_ifunc_impl_list): Likewise.
19804 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19805 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19806 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
19807 sysdeps/powerpc/power6/wcscpy.c.
19809 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
19810 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
19812 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
19814 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
19816 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
19817 multiarch wcsrchr for PPC32.
19818 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19820 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19821 (__libc_ifunc_impl_list): Likewise.
19822 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19823 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19824 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
19825 sysdeps/powerpc/power6/wcsrchr.c.
19827 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
19829 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
19831 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
19832 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
19833 multiarch wcschr for PPc32.
19834 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19836 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19837 (__libc_ifunc_impl_list): Likewise.
19838 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
19839 * sysdeps/powerpc/power6/wcschr.c: ... to here.
19840 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
19841 sysdeps/powerpc/power6/wcschr.c.
19843 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
19844 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
19846 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
19847 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
19848 file: multiarch strchr for PPC32.
19849 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
19851 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19852 (__libc_ifunc_impl_list): Likewise.
19854 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
19856 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
19858 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
19860 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
19861 multiarch strchrnul for PPC32.
19862 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
19864 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19865 (__libc_ifunc_impl_list): Likewise.
19867 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
19869 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
19870 multiarch strncasecmp for PPC32.
19871 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
19873 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
19874 multiarch strncasecmp_l for PPC32.
19875 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
19876 strncasecmp multiarch objects.
19877 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19878 (__libc_ifunc_impl_list): Likewise.
19880 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
19882 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
19883 multiarch strncasecmp for PPC32.
19884 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
19886 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
19887 multiarch strcasecmp_l for PPC32.
19888 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
19890 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19891 (__libc_ifunc_impl_list): Likewise.
19893 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
19895 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
19897 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
19898 multiarch strncmp for PPC32.
19899 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
19901 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19902 (__libc_ifunc_impl_list): Likewise.
19904 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
19905 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
19907 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
19908 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
19909 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
19911 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19912 (__libc_ifunc_impl_list): Likewise.
19914 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
19916 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
19918 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
19919 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
19921 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19922 (__libc_ifunc_impl_list): Likewise.
19924 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
19926 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
19928 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
19929 multiarch rawmemchr for PPC32.
19930 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
19932 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19933 (__libc_ifunc_impl_list): Likewise.
19935 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
19937 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
19939 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
19940 file: memrchr multiarch for PPC32.
19941 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
19943 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19944 (__libc_ifunc_impl_list): Likewise.
19946 * string/memchr.c (__memchr): Using macro to redefine symbol name.
19947 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
19949 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
19950 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
19951 multiarch memchr for PPC32.
19952 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
19954 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19955 (__libc_ifunc_impl_list): Likewise.
19957 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
19958 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
19960 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
19962 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
19963 file: multiarch mempcpy for PPC32.
19964 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
19966 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19967 (__libc_ifunc_impl_list): Likewise.
19969 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
19970 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
19971 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
19972 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
19973 multiarch bzero for PPC32.
19974 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
19976 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
19978 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
19979 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
19980 file: multiarch memset for PPC32.
19981 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
19982 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
19983 memset multiarch objects.
19984 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19985 (__libc_ifunc_impl_list): Likewise.
19987 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
19989 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
19990 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
19992 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
19993 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
19995 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19996 (__libc_ifunc_impl_list): Likewise.
19998 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
19999 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
20000 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
20002 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
20004 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
20006 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
20007 multiarch memcpy for PPC32.
20008 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
20010 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20011 (__libc_ifunc_impl_list): Likewise.
20013 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
20014 support multiarch for POWER/PPC32.
20015 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
20017 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
20019 Implies file to make multiarch folder appers before the fpu and
20020 default folder for power4 configuration.
20022 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20024 * scripts/bench.pl: Append volatile keyword to type.
20026 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20028 * sysdeps/sh/sotruss-lib.c: New file.
20029 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
20031 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20033 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20035 2013-12-05 Joseph Myers <joseph@codesourcery.com>
20038 * math/w_tgamma.c: Include <errno.h>.
20039 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
20040 * math/w_tgammaf.c: Include <errno.h>.
20041 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
20042 * math/w_tgammal.c: Include <errno.h>.
20043 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
20044 * math/auto-libm-test-in: Do not allow missing errno on tgamma
20045 underflow. Add more tgamma tests.
20046 * math/auto-libm-test-out: Regenerated.
20047 * sysdeps/i386/fpu/libm-test-ulps: Update.
20048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20050 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
20051 sin, sinh, tan, tanh, tgamma, y0 and y1.
20052 * math/auto-libm-test-out: Regenerated.
20053 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20054 (TEST_COND_x86): Likewise.
20055 (M_E2l): Remove macro.
20057 (M_2_SQRT_PIl): Likewise.
20058 (M_SQRT_PIl): Likewise.
20059 (M_1_DIV_El): Likewise.
20060 (log_test_data): Use AUTO_TESTS_f_f.
20061 (log10_test_data): Likewise.
20062 (log1p_test_data): Likewise.
20063 (log2_test_data): Likewise.
20064 (sin_test_data): Likewise.
20065 (sin_tonearest_test_data): Likewise.
20066 (sin_towardzero_test_data): Likewise.
20067 (sin_downward_test_data): Likewise.
20068 (sin_upward_test_data): Likewise.
20069 (sinh_test_data): Likewise.
20070 (sinh_tonearest_test_data): Likewise.
20071 (sinh_towardzero_test_data): Likewise.
20072 (sinh_downward_test_data): Likewise.
20073 (sinh_upward_test_data): Likewise.
20074 (tan_test_data): Likewise.
20075 (tan_tonearest_test_data): Likewise.
20076 (tan_towardzero_test_data): Likewise.
20077 (tan_downward_test_data): Likewise.
20078 (tan_upward_test_data): Likewise.
20079 (tanh_test_data): Likewise.
20080 (tgamma_test_data): Likewise.
20081 (y0_test_data): Likewise.
20082 (y1_test_data): Likewise.
20083 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
20084 (special_real_inputs): Add pi/4.
20085 * sysdeps/i386/fpu/libm-test-ulps: Update.
20086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20088 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20090 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
20091 "longjmp_target" static probes.
20092 (__longjmp): Rename to __longjmp_symbol.
20093 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20094 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
20095 on which longjmp to generate.
20096 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20097 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
20099 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20100 (__sigjmp_save): Rename to __sigjmp_save_symbol.
20101 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20102 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
20103 and __sigjmp_save_symbol based on which sigsetjmp to generated.
20104 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
20105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
20106 __longjmp_symbol based on which __longjmp to generate.
20107 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
20109 (setjmp): Rename to setjmp_symbol.
20110 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20111 (_setjmp): Rename to _setjmp_symbol.
20112 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20113 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
20114 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
20115 which setjmp to generate.
20116 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
20117 "longjmp_target" static probes.
20119 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20121 * benchtests/README: Add note about output arguments.
20122 * benchtests/bench-sincos.c: Remove file.
20123 * benchtests/sincos-inputs: New file.
20124 * scripts/bench.pl: Identify output arguments and define
20125 static variables for them.
20127 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
20130 * Makefile (INSTALL): Add install-plain.texi as the primary
20132 * manual/install-plain.texi: New file.
20133 * manual/install.texi: Include node directive only for
20134 non-plaintext output.
20136 2013-12-04 Joseph Myers <joseph@codesourcery.com>
20138 * stdlib/longlong.h: Update from GCC.
20142 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
20143 * math/w_j0f.c (y0f): Likewise.
20144 * math/w_j0l.c (__y0l): Likewise.
20145 * math/w_j1.c (y1): Likewise.
20146 * math/w_j1f.c (y1f): Likewise.
20147 * math/w_j1l.c (__y1l): Likewise
20148 * math/w_jn.c (yn): Likewise.
20149 * math/w_jnf.c (ynf): Likewise.
20150 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
20151 Bessel function pole errors in _POSIX_ mode. Use NAN as return
20152 value for Bessel function domain errors outside _SVID_ mode.
20153 Adjust sign of return value for yn (negative integer, 0).
20154 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
20155 by zero in return for negative x and set sign appropriately for
20157 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
20158 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20159 * math/libm-test.inc (y0_test_data): Add more tests and adjust
20160 expectations in error cases.
20161 (y1_test_data): Likewise.
20162 (yn_test_data): Likewise.
20163 * sysdeps/i386/fpu/libm-test-ulps: Update.
20164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20166 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20168 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
20169 "64" to "64-v1". Add "64-v2".
20170 (abi-64-options): Rename to ...
20171 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
20172 (abi-64-condition): Rename to ...
20173 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
20174 (abi-64-ld-soname): Rename to ...
20175 (abi-64-v1-ld-soname): ... this.
20176 (abi-64-v2-options): Define.
20177 (abi-64-v2-condition): Likewise.
20178 (abi-64-v2-ld-soname): Likewise.
20179 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
20180 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
20181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
20182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
20183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
20185 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20186 Alan Modra <amodra@gmail.com>
20188 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
20189 New versions for use with the ELFv2 ABI.
20190 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
20191 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
20193 (struct La_ppc64v2_retval): Likewise.
20194 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
20195 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
20196 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
20197 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
20198 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
20199 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20200 Do not save or restore CR.
20201 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
20202 (_dl_profile_resolve): Do no save or restore CR. Support extended
20203 return values for ELFv2 ABI. Fix location of FPR return registers.
20204 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
20205 updated values for _CALL_ELF == 2.
20206 (La_regs, La_retval, int_retval): Likewise.
20208 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20210 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
20211 (FRAME_MIN_SIZE_PARM): Likewise.
20212 (FRAME_BACKCHAIN): Likewise.
20213 (FRAME_CR_SAVE): Likewise.
20214 (FRAME_LR_SAVE): Likewise.
20215 (FRAME_TOC_SAVE): Likewise.
20216 (FRAME_PARM_SAVE): Likewise.
20217 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
20218 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
20219 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20220 (call_mcount_parm_offset): New macro.
20221 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
20222 (PROF): Use symbolic stack frame offsets.
20223 (TAIL_CALL_SYSCALL_ERROR): Likewise.
20224 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
20225 Redefine in terms of FRAME_MIN_SIZE.
20226 (_dl_runtime_resolve): Use symbolic stack frame offsets.
20227 (_dl_profile_resolve): Likewise. Update comment.
20228 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
20229 symbols stack frame offsets.
20230 (__sigsetjmp): Likewise.
20231 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
20232 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
20233 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
20234 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
20236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
20237 (FRAME_BACKCHAIN): Remove.
20238 (FRAME_CR_SAVE): Likewise.
20239 (FRAME_LR_SAVE): Likewise.
20240 (FRAME_COMPILER_DW): Likewise.
20241 (FRAME_LINKER_DW): Likewise.
20242 (FRAME_TOC_SAVE): Likewise.
20243 (FRAME_PARM_SAVE): Likewise.
20244 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
20245 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
20246 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
20248 (CHECK_SP): Use symbolic stack frame offsets.
20249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
20250 zone" instead of caller's parameter save area for temp storage.
20251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20252 Likewise. Also, use symbolic stack frame offsets.
20253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
20254 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
20255 our own stack frame instead of the caller's.
20256 (__socket): Use symbolic stack frame offsets.
20258 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20259 Alan Modra <amodra@gmail.com>
20261 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
20263 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
20264 (PPC64_LOCAL_ENTRY_OFFSET): Define.
20265 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
20267 (elf_machine_fixup_plt): Call it.
20268 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
20270 (elf_machine_rela): Update call to elf_machine_plt_conflict.
20271 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20272 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
20273 r2 before calling target.
20275 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20276 Alan Modra <amodra@gmail.com>
20278 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
20279 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
20280 versions of macros to support ELFv2 ABI.
20281 (LOCALENTRY): New macro.
20282 (ENTRY, EALIGN): Use it.
20283 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
20284 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
20285 fall through into ENTRY entry point.
20286 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
20287 Only define if _CALL_ELF != 2.
20289 (elf_machine_matches_host): Verify ABI version matches.
20290 (RTLD_START): Use LOCALENTRY.
20291 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
20292 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
20293 (PLT_ENTRY_WORDS): New macro.
20294 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
20295 (elf_machine_runtime_setup): Support ELFv2 ABI.
20296 (elf_machine_fixup_plt): Likewise.
20297 (elf_machine_plt_conflict): Likewise.
20298 (resolve_ifunc): Likewise.
20299 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20300 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
20303 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
20304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20305 (makecontext): Support ELFv2 ABI.
20306 * elf/elf.h (EF_PPC64_ABI): Define.
20308 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20310 * sysdeps/powerpc/powerpc64/sysdep.h
20311 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
20312 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
20313 (ENTRY) [ASSEMBLER]: ... but instead here ...
20314 (EALIGN) [ASSEMBLER]: ... and here.
20315 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
20316 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
20317 (ENTRY_2) [!ASSEMBLER]: Use it.
20318 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
20319 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
20320 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20321 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
20322 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
20323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
20324 Use PPC64_LOAD_FUNCPTR.
20326 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
20328 2013-12-04 Alan Modra <amodra@gmail.com>
20330 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
20331 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
20332 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
20333 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
20335 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
20336 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
20337 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
20338 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
20339 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
20340 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
20342 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20345 (__makecontext): Fix incorrect CFI when backtracing out of
20346 context created via makecontext.
20347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
20348 (__setcontext): Fix incorrect CFI during switch to new context.
20349 (__novec_setcontext): Likewise.
20351 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
20354 * time/strptime_l.c (__strptime_internal): Allow modifiers
20356 * time/tst-strptime.c (day_tests): Add testcase.
20358 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20360 * scripts/bench.pl: Skip over blank lines.
20362 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
20365 * manual/time.texi (Calendar Time): Clarify what timezone functions
20368 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20370 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20372 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
20374 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
20376 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20377 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20378 * debug/memset_chk.c (__memset_chk): Likewise.
20379 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
20380 * debug/strncpy_chk.c: Likewise.
20382 2013-12-03 Joseph Myers <joseph@codesourcery.com>
20386 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
20387 (__ieee754_exp): For possibly underflowing results, check size of
20388 result and force underflow exception if required.
20389 * math/auto-libm-test-in: Add more tests of exp.
20390 * math/auto-libm-test-out: Regenerated.
20391 * sysdeps/i386/fpu/libm-test-ulps: Update.
20392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20395 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
20396 * math/w_exp2f.c (__exp2f): Likewise.
20397 * math/w_exp2l.c (__exp2l): Likewise.
20398 * math/auto-libm-test-in: Do not allow missing errno on exp2
20400 * math/auto-libm-test-out: Regenerated.
20402 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
20405 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
20406 handle filename validation.
20407 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
20410 2013-12-03 Joseph Myers <joseph@codesourcery.com>
20413 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
20414 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
20415 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
20417 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
20418 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
20419 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20420 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
20421 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20422 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
20423 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20424 * math/auto-libm-test-in: Don't allow missing errno from erfc.
20425 Add more erfc tests.
20426 * math/auto-libm-test-out: Regenerated.
20427 * sysdeps/i386/fpu/libm-test-ulps: Update.
20428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20430 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
20431 exp2, expm1, j0 and j1.
20432 * math/auto-libm-test-out: Regenerated.
20433 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
20434 (erfc_test_data): Likewise.
20435 (exp_test_data): Likewise.
20436 (exp_tonearest_test_data): Likewise.
20437 (exp_towardzero_test_data): Likewise.
20438 (exp_downward_test_data): Likewise.
20439 (exp_upward_test_data): Likewise.
20440 (exp10_test_data): Likewise.
20441 (exp2_test_data): Likewise.
20442 (expm1_test_data): Likewise.
20443 (j0_test_data): Likewise.
20444 (j1_test_data): Likewise.
20445 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
20446 (input_flag_type): Add flag_xfail_rounding.
20447 (input_flags): Add xfail-rounding.
20448 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
20449 (output_for_one_input_case): Handle flag_xfail_rounding.
20450 * sysdeps/i386/fpu/libm-test-ulps: Update.
20451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20453 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
20456 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
20459 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20462 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
20463 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
20464 (STAP_PROBE0): New macro.
20465 (STAP_PROBE1): Likewise.
20466 (STAP_PROBE2): Likewise.
20467 (STAP_PROBE3): Likewise.
20468 (STAP_PROBE4): Likewise.
20470 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
20472 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
20474 2013-12-02 Steve Ellcey <sellcey@mips.com>
20476 * benchtests/Makefile (bench): Add sqrt.
20477 (LDLIBS-bench-sqrt): New.
20478 * benchtests/sqrt-input: New.
20480 2013-12-02 Pavel Simerda <psimerda@redhat.com>
20482 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
20483 (GAIH_EAI): Likewise.
20484 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
20485 (gaih_inet): Likewise.
20486 (getaddrinfo): Don't use GAIH_EAI.
20488 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
20489 (struct gaih): Remove definition.
20491 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20493 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
20494 Use HERRNOP directly.
20496 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20498 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20500 2013-11-30 Joseph Myers <joseph@codesourcery.com>
20502 * math/gen-auto-libm-tests.c (test_functions): Add more
20503 single-argument functions.
20504 (special_fill_pi_2): New function.
20505 (special_fill_minus_pi_2): Likewise.
20506 (special_fill_pi_6): Likewise.
20507 (special_fill_minus_pi_6): Likewise.
20508 (special_fill_pi_3): Likewise.
20509 (special_fill_2pi_3): Likewise.
20510 (special_fill_e): Likewise.
20511 (special_fill_1_e): Likewise.
20512 (special_fill_e_minus_1): Likewise.
20513 (special_real_inputs): Add more special inputs.
20514 (output_for_one_input_case): Do not require ERANGE on underflow to
20515 zero if round-to-nearest result does not underflow to zero, unless
20516 exact results required.
20517 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
20518 atan, atanh, cbrt, cos and cosh.
20519 * math/auto-libm-test-out: Regenerated.
20520 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
20521 (acos_tonearest_test_data): Likewise.
20522 (acos_towardzero_test_data): Likewise.
20523 (acos_downward_test_data): Likewise.
20524 (acos_upward_test_data): Likewise.
20525 (acosh_test_data): Likewise.
20526 (asin_test_data): Likewise.
20527 (asin_tonearest_test_data): Likewise.
20528 (asin_towardzero_test_data): Likewise.
20529 (asin_upward_test_data): Likewise.
20530 (asinh_test_data): Likewise.
20531 (atan_test_data): Likewise.
20532 (atanh_test_data): Likewise.
20533 (cbrt_test_data): Likewise.
20534 (cos_test_data): Likewise.
20535 (cos_tonearest_test_data): Likewise.
20536 (cos_towardzero_test_data): Likewise.
20537 (cos_downward_test_data): Likewise.
20538 (cos_upward_test_data): Likewise.
20539 (cosh_test_data): Likewise.
20540 (cosh_tonearest_test_data): Likewise.
20541 (cosh_towardzero_test_data): Likewise.
20542 (cosh_downward_test_data): Likewise.
20543 (cosh_upward_test_data): Likewise.
20544 * sysdeps/i386/fpu/libm-test-ulps: Update.
20545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20547 2013-11-29 Joseph Myers <joseph@codesourcery.com>
20550 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
20551 * math/w_exp10f.c (__exp10f): Likewise.
20552 * math/w_exp10l.c (__exp10l): Likewise.
20553 * math/libm-test.inc (exp10_test_data): Add more tests and expect
20554 errno settings in existing tests.
20557 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
20558 precision control set to double precision.
20559 * sysdeps/i386/fpu/w_sqrt.c: New file.
20560 * math/auto-libm-test-in: Add more tests.
20561 * math/auto-libm-test-out: Update.
20563 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
20564 (sqrt_test_tonearest): New function.
20565 (sqrt_towardzero_test_data): New variable.
20566 (sqrt_test_towardzero): New function.
20567 (sqrt_downward_test_data): New variable.
20568 (sqrt_test_downward): New function.
20569 (sqrt_upward_test_data): New variable.
20570 (sqrt_test_upward): New function.
20571 (main): Call the new functions.
20573 * math/gen-auto-libm-tests.c: New file.
20574 * math/auto-libm-test-in: Likewise.
20575 * math/auto-libm-test-out: New generated file.
20576 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
20578 (%beautify): Add generated representations of zero.
20579 (top level): Set $auto_input and call parse_auto_input.
20580 (beautify): Remove trailing "f" from hex float constants.
20581 (parse_args): Handle XFAIL_TEST.
20582 (convert_condition): New function.
20583 (or_value): Likewise.
20584 (or_cond_value): Likewise.
20585 (generate_testfile): Handle AUTO_TESTS_* lines.
20586 (parse_auto_input): New function.
20587 * math/libm-test.inc (XFAIL_TEST): New macro.
20588 (ERRNO_UNCHANGED): Update value.
20589 (ERRNO_EDOM): Likewise.
20590 (ERRNO_ERANGE): Likewise.
20591 (IGNORE_RESULT): Likewise.
20592 (TEST_COND_flt_32): New macro.
20593 (TEST_COND_dbl_64): Likewise.
20594 (TEST_COND_ldbl_96_intel): Likewise.
20595 (TEST_COND_ldbl_96_m68k): Likewise.
20596 (TEST_COND_ldbl_128): Likewise.
20597 (TEST_COND_ldbl_128ibm): Likewise.
20598 (TEST_COND_long32): Likewise.
20599 (TEST_COND_long64): Likewise.
20600 (TEST_COND_before_rounding): Likewise.
20601 (TEST_COND_after_rounding): Likewise.
20602 (enable_test): Handle XFAIL_TEST flag.
20603 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
20604 with finite results.
20605 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
20606 auto-libm-test-out.
20608 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20609 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20612 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
20613 __tls_get_addr_internal instead of __tls_get_offset in order to
20614 avoid GOT pointer dependency. Make rtld export
20615 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
20616 __tls_get_addr since we are a __tls_get_offset platform.
20617 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
20618 GOT pointer being set up before.
20619 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
20621 2013-11-28 Joseph Myers <joseph@codesourcery.com>
20623 * manual/math.texi (Errors in Math Functions): Document accuracy
20627 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
20628 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
20629 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20630 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20631 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20632 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20633 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20634 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
20635 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
20636 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20637 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20638 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20639 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20640 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20641 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20642 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
20644 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
20645 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
20646 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
20647 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
20648 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
20650 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
20652 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
20654 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
20655 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
20656 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
20657 atomic-feupdateenv and flt-rounds.
20658 * sysdeps/powerpc/nofpu/Versions (libc): Add
20659 __atomic_feholdexcept, __atomic_feclearexcept,
20660 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
20661 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
20662 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
20663 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
20664 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
20666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
20669 * manual/arith.texi (FP Exceptions): Document that exceptions may
20670 not be raised when matherr is used.
20671 (Math Error Reporting): Document overflow in directed rounding
20672 modes. Document that errno may not be set when finite values are
20673 returned on overflow. Document intent to set errno on underflow
20674 only for underflow to zero.
20677 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
20678 round-to-nearest then adjust result for other rounding modes.
20679 * include/fenv.h (fegetround): Use libm_hidden_proto.
20680 * math/fegetround.c (fegetround): Use libm_hidden_def.
20681 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
20682 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
20683 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20684 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
20686 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
20687 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20688 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
20689 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
20691 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20694 * nss/Versions (libnss_files): Add
20695 _nss_files_gethostbyname3_r.
20696 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
20698 (HOST_DB_LOOKUP): Remove macro.
20699 (_nss_files_gethostbyname_r): Implement function without the
20700 HOST_DB_LOOKUP macro.
20701 (_nss_files_gethostbyname2_r): Likewise.
20703 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
20705 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
20707 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
20709 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
20710 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
20713 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20715 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
20716 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
20717 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20718 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20719 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
20720 __fe_nomask_env_priv and attribute_hidden.
20721 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
20722 (libc_feupdateenv_test_ppc): Likewise.
20723 (libc_feresetround_ppc): Likewise.
20724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20725 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
20726 compat_symbol macro.
20727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20728 (__fe_nomask_env): Likewise.
20729 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
20731 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
20733 * string/Makefile: Remove ifunc tests.
20734 * string/test-string.h: Define TEST_IFUNC.
20735 * string/test-bcopy-ifunc.c: Remove.
20736 * string/test-bzero-ifunc.c: Likewise.
20737 * string/test-memccpy-ifunc.c: Likewise.
20738 * string/test-memchr-ifunc.c: Likewise.
20739 * string/test-memcmp-ifunc.c: Likewise.
20740 * string/test-memcpy-ifunc.c: Likewise.
20741 * string/test-memmem-ifunc.c: Likewise.
20742 * string/test-memmove-ifunc.c: Likewise.
20743 * string/test-mempcpy-ifunc.c: Likewise.
20744 * string/test-memrchr-ifunc.c: Likewise.
20745 * string/test-memset-ifunc.c: Likewise.
20746 * string/test-rawmemchr-ifunc.c: Likewise.
20747 * string/test-stpcpy-ifunc.c: Likewise.
20748 * string/test-stpncpy-ifunc.c: Likewise.
20749 * string/test-strcasecmp-ifunc.c: Likewise.
20750 * string/test-strcasestr-ifunc.c: Likewise.
20751 * string/test-strcat-ifunc.c: Likewise.
20752 * string/test-strchr-ifunc.c: Likewise.
20753 * string/test-strchrnul-ifunc.c: Likewise.
20754 * string/test-strcmp-ifunc.c: Likewise.
20755 * string/test-strcpy-ifunc.c: Likewise.
20756 * string/test-strcspn-ifunc.c: Likewise.
20757 * string/test-strlen-ifunc.c: Likewise.
20758 * string/test-strncasecmp-ifunc.c: Likewise.
20759 * string/test-strncat-ifunc.c: Likewise.
20760 * string/test-strncmp-ifunc.c: Likewise.
20761 * string/test-strncpy-ifunc.c: Likewise.
20762 * string/test-strnlen-ifunc.c: Likewise.
20763 * string/test-strpbrk-ifunc.c: Likewise.
20764 * string/test-strrchr-ifunc.c: Likewise.
20765 * string/test-strspn-ifunc.c: Likewise.
20766 * string/test-strstr-ifunc.c: Likewise.
20768 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
20770 * benchtests/Makefile: Remove ifunc tests.
20771 * benchtests/bench-string.h: Define TEST_IFUNC.
20772 * benchtests/bench-bcopy-ifunc.c: Remove.
20773 * benchtests/bench-bzero-ifunc.c: Likewise.
20774 * benchtests/bench-memccpy-ifunc.c: Likewise.
20775 * benchtests/bench-memchr-ifunc.c: Likewise.
20776 * benchtests/bench-memcmp-ifunc.c: Likewise.
20777 * benchtests/bench-memcpy-ifunc.c: Likewise.
20778 * benchtests/bench-memmem-ifunc.c: Likewise.
20779 * benchtests/bench-memmove-ifunc.c: Likewise.
20780 * benchtests/bench-mempcpy-ifunc.c: Likewise.
20781 * benchtests/bench-memrchr-ifunc.c: Likewise.
20782 * benchtests/bench-memset-ifunc.c: Likewise.
20783 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
20784 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
20785 * benchtests/bench-stpcpy-ifunc.c: Likewise.
20786 * benchtests/bench-stpncpy-ifunc.c: Likewise.
20787 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
20788 * benchtests/bench-strcasestr-ifunc.c: Likewise.
20789 * benchtests/bench-strcat-ifunc.c: Likewise.
20790 * benchtests/bench-strchr-ifunc.c: Likewise.
20791 * benchtests/bench-strchrnul-ifunc.c: Likewise.
20792 * benchtests/bench-strcmp-ifunc.c: Likewise.
20793 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
20794 * benchtests/bench-strcpy-ifunc.c: Likewise.
20795 * benchtests/bench-strcspn-ifunc.c: Likewise.
20796 * benchtests/bench-strlen-ifunc.c: Likewise.
20797 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
20798 * benchtests/bench-strncat-ifunc.c: Likewise.
20799 * benchtests/bench-strncmp-ifunc.c: Likewise.
20800 * benchtests/bench-strncpy-ifunc.c: Likewise.
20801 * benchtests/bench-strnlen-ifunc.c: Likewise.
20802 * benchtests/bench-strpbrk-ifunc.c: Likewise.
20803 * benchtests/bench-strrchr-ifunc.c: Likewise.
20804 * benchtests/bench-strsep-ifunc.c: Likewise.
20805 * benchtests/bench-strspn-ifunc.c: Likewise.
20806 * benchtests/bench-strstr-ifunc.c: Likewise.
20808 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
20810 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
20812 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
20814 * resolv/netdb.h: Use __glibc_reserved instead __unused.
20815 * rt/aio.h: Likewise.
20816 * sysdeps/gnu/bits/utmp.h: Likewise.
20817 * sysdeps/gnu/bits/utmpx.h: Likewise.
20818 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20819 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
20820 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
20821 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
20822 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
20823 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
20824 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
20825 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
20826 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
20827 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
20828 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
20829 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
20830 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
20831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
20832 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20833 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
20834 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
20835 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
20836 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
20837 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
20838 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
20839 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
20840 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
20841 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20842 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
20843 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20844 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
20845 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
20846 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
20847 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
20848 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
20849 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
20850 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
20851 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
20852 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
20853 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
20854 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
20855 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
20856 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
20857 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
20858 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
20859 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20861 2013-11-25 Carlos O'Donell <carlos@redhat.com>
20864 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
20865 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
20867 2013-11-25 Joseph Myers <joseph@codesourcery.com>
20869 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
20870 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20873 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20875 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
20876 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
20877 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
20878 (__fesetround): Remove define.
20879 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
20880 rounding and exceptions handling.
20881 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
20882 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
20883 (__fe_nomask_env): Likewise.
20884 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
20885 __fegetround instead of fegetround.
20886 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20887 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20889 2013-11-21 Roland McGrath <roland@hack.frob.com>
20891 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
20894 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
20896 2013-11-21 Meador Inge <meadori@codesourcery.com>
20899 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
20900 (encrypt_r): Likewise.
20901 * malloc/obstack.h (obstack_free): Likewise.
20902 * posix/unistd.h (encrypt): Likewise.
20904 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
20906 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
20907 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
20908 DL_CALL_DT_FINI() that call the functions directly.
20909 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
20910 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
20911 * elf/dl-fini.c: Likewise.
20913 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
20915 * malloc/hooks.c (memalign_check): Add alignment rounding.
20916 * malloc/malloc.c (_mid_memalign): New function.
20917 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
20918 Implement by calling _mid_memalign.
20919 * manual/probes.texi (Memory Allocation Probes): Remove
20920 memory_valloc_retry and memory_pvalloc_retry.
20922 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20924 * locale/programs/locarchive.c (open_archive): Add const
20925 qualifier to ARCHIVEFNAME and copy default fname to
20929 * libio/tst-widetext.input: Rename Oriya to Odia.
20930 * locale/iso-639.def: Likewise.
20932 * manual/probes.texi (Mathematical Function Probes): Add
20933 documentation for sin, cos, asin and acos probes.
20934 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
20935 (__sin32): Add slowasin probe.
20936 (__cos32): Add slowacos probe.
20937 (__mpsin): Add slowsin probe.
20938 (__mpcos): Add slowcos probe.
20940 2013-11-19 Joseph Myers <joseph@codesourcery.com>
20943 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
20944 thread-local __sim_exceptions_thread and global
20945 __sim_exceptions_global.
20946 (__sim_disabled_exceptions): Change to thread-local
20947 __sim_disabled_exceptions_thread and global
20948 __sim_disabled_exceptions_global.
20949 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20950 and global __sim_round_mode_global.
20951 (__simulate_exceptions): Use thread-local floating-point state and
20952 set global state from it as needed.
20953 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
20954 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
20955 __sim_round_mode_thread.
20956 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
20957 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
20958 and global __sim_exceptions_global.
20959 (__sim_disabled_exceptions): Change to thread-local
20960 __sim_disabled_exceptions_thread and global
20961 __sim_disabled_exceptions_global.
20962 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20963 and global __sim_round_mode_global.
20964 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
20965 (SIM_SET_GLOBAL): Likewise.
20966 * sysdeps/powerpc/soft-fp/sfp-machine.h
20967 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
20968 __sim_round_mode_thread.
20969 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
20970 __sim_disabled_exceptions_thread.
20971 (__sim_exceptions): Change to __sim_exceptions_thread.
20972 (__sim_disabled_exceptions): Change to
20973 __sim_disabled_exceptions_thread.
20974 (__sim_round_mode): Change to __sim_round_mode_thread.
20975 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
20976 thread-local floating-point state and set global state from it as
20978 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
20979 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
20980 (__sim_disabled_exceptions): Remove extern declaration.
20981 (feenableexcept): Use thread-local floating-point state and set
20982 global state from it as needed.
20983 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
20984 extern declaration.
20985 (__sim_disabled_exceptions): Likewise.
20986 (__sim_round_mode): Likewise.
20987 (__fegetenv): Use thread-local floating-point state.
20988 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
20989 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20990 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
20991 floating-point state and set global state from it as needed.
20992 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
20993 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20994 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
20996 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20997 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
20999 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
21000 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
21001 Use __sim_round_mode_thread.
21002 * math/test-fenv-tls.c: New file.
21003 * math/Makefile (tests): Add test-fenv-tls.
21004 ($(objpfx)test-fenv-tls): Depend on
21005 $(common-objpfx)nptl/libpthread.so.
21007 2013-11-19 Andreas Schwab <schwab@suse.de>
21009 * locale/programs/locale.c (show_info): Decode wordarray elements.
21010 * locale/categories.def (LC_MONETARY): Add element for
21011 _NL_MONETARY_CRNCYSTR.
21012 * locale/C-monetary.c (conversion_rate): New variable.
21013 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
21016 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
21018 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
21019 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
21021 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21023 * elf/Makefile (tst-auxv): New test.
21024 * elf/tst-auxv.c: New
21025 * elf/rtld.c (dl_main): Adjust AT_EXECFN
21027 2013-11-18 Joseph Myers <joseph@codesourcery.com>
21029 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
21030 (hidden_proto): Caller changed.
21031 (hidden_tls_proto): New macro.
21032 (libc_hidden_tls_proto): Likewise.
21033 (rtld_hidden_tls_proto): Likewise.
21034 (libm_hidden_tls_proto): Likewise.
21035 (libresolv_hidden_tls_proto): Likewise.
21036 (librt_hidden_tls_proto): Likewise.
21037 (libdl_hidden_tls_proto): Likewise.
21038 (libnss_files_hidden_tls_proto): Likewise.
21039 (libnsl_hidden_tls_proto): Likewise.
21040 (libnss_nisplus_hidden_tls_proto): Likewise.
21041 (libutil_hidden_tls_proto): Likewise.
21043 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
21046 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
21047 (decompose_rpath): Defer expansion to fillin_rpath.
21048 (_dl_init_paths): Pass linkmap to fillin_rpath.
21050 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21052 * benchtests/Makefile: Add strsep.
21053 * benchtests/bench-strsep.c: New file: strsep benchtest.
21054 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
21056 2013-11-18 Andreas Schwab <schwab@suse.de>
21058 * locale/programs/locale.c (show_info) [case byte]: Check for
21059 '\377' instead of '\177'.
21060 * locale/C-monetary.c (not_available): Always use "\377".
21061 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
21062 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
21063 detect unavailable sign_posn locale elements.
21064 * locale/localeconv.c (__localeconv): For grouping and
21065 mon_grouping handle "\177" and "\377" like no grouping.
21066 (INT_ELEM): New macro. Use it to set all numeric members.
21067 * locale/programs/ld-monetary.c (monetary_read)
21068 <tok_mon_grouping>: Normalize single -1 to the empty string.
21069 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
21072 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
21075 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
21076 when we match (nil).
21077 * stdio-common/tst-sscanf.c (struct test): Add testcase.
21079 2013-11-16 Joseph Myers <joseph@codesourcery.com>
21081 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
21082 (NO_TEST_INLINE): Update value.
21083 (ERRNO_UNCHANGED): Likewise.
21084 (ERRNO_EDOM): Likewise.
21085 (ERRNO_ERANGE): Likewise.
21086 (IGNORE_RESULT): Likewise.
21087 (check_float_internal): Check signs of NaN results if
21088 TEST_NAN_SIGN used.
21089 (check_complex): Pass TEST_NAN_SIGN flag through to second
21090 check_float_internal call.
21091 (copysign_test_data): Add tests with quiet NaNs as second
21092 argument. Use TEST_NAN_SIGN.
21093 (fabs_test_data): Add test of negative quiet NaN argument. Use
21095 (signbit_test_data): Add tests of quiet NaN argument.
21096 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
21098 * math/gen-libm-test.pl (show_exceptions): Take extra argument
21100 (parse_args): Handle function results specified as IGNORE.
21101 * math/libm-test.inc (IGNORE_RESULT): New macro.
21102 (check_float_internal): Do not check numerical result if flag
21104 (check_complex): Pass through IGNORE_RESULT to second
21105 check_float_internal call.
21106 (check_int): Do not check numerical result if flag IGNORE_RESULT
21108 (check_long): Likewise.
21109 (check_bool): Likewise.
21110 (check_longlong): Likewise.
21111 (lrint_test_data): Add tests of infinite and NaN arguments.
21112 (lrint_tonearest_test_data): Likewise.
21113 (lrint_towardzero_test_data): Likewise.
21114 (lrint_downward_test_data): Likewise.
21115 (lrint_upward_test_data): Likewise.
21116 (llrint_test_data): Likewise.
21117 (llrint_tonearest_test_data): Likewise.
21118 (llrint_towardzero_test_data): Likewise.
21119 (llrint_downward_test_data): Likewise.
21120 (llrint_upward_test_data): Likewise.
21121 (lround_test_data): Likewise.
21122 (llround_test_data): Likewise.
21124 * math/libm-test.inc (NO_TEST_INLINE): New macro.
21125 (ERRNO_UNCHANGED): Update value.
21126 (ERRNO_EDOM): Likewise.
21127 (ERRNO_ERANGE): Likewise.
21128 (NO_TEST_INLINE_FLOAT): New macro.
21129 (NO_TEST_INLINE_DOUBLE): Likewise.
21130 (enable_test): New function.
21131 (RUN_TEST_f_f): Check enable_test before running test.
21132 (RUN_TEST_2_f): Likewise.
21133 (RUN_TEST_fff_f): Likewise.
21134 (RUN_TEST_c_f): Likewise.
21135 (RUN_TEST_f_f1): Likewise.
21136 (RUN_TEST_fF_f1): Likewise.
21137 (RUN_TEST_fI_f1): Likewise.
21138 (RUN_TEST_ffI_f1): Likewise.
21139 (RUN_TEST_c_c): Likewise.
21140 (RUN_TEST_cc_c): Likewise.
21141 (RUN_TEST_f_i): Likewise.
21142 (RUN_TEST_f_i_tg): Likewise.
21143 (RUN_TEST_ff_i_tg): Likewise.
21144 (RUN_TEST_f_b): Likewise.
21145 (RUN_TEST_f_b_tg): Likewise.
21146 (RUN_TEST_f_l): Likewise.
21147 (RUN_TEST_f_L): Likewise.
21148 (RUN_TEST_fFF_11): Likewise.
21149 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
21151 (cosh_test_data): Likewise.
21152 (exp_test_data): Likewise.
21153 (expm1_test_data): Likewise.
21154 (hypot_test_data): Likewise.
21155 (pow_test_data): Likewise.
21156 (sinh_test_data): Likewise.
21157 (tanh_test_data): Likewise.
21158 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
21161 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
21162 tests with quiet NaN input and output.
21163 (acosh_test_data): Likewise.
21164 (asin_test_data): Likewise.
21165 (asinh_test_data): Likewise.
21166 (atan_test_data): Likewise.
21167 (atanh_test_data): Likewise.
21168 (atan2_test_data): Likewise.
21169 (cbrt_test_data): Likewise.
21170 (cos_test_data): Likewise.
21171 (cosh_test_data): Likewise.
21172 (erf_test_data): Likewise.
21173 (erfc_test_data): Likewise.
21174 (exp_test_data): Likewise.
21175 (exp10_test_data): Likewise.
21176 (exp2_test_data): Likewise.
21177 (expm1_test_data): Likewise.
21178 (hypot_test_data): Likewise.
21179 (j0_test_data): Likewise.
21180 (j1_test_data): Likewise.
21181 (jn_test_data): Likewise.
21182 (lgamma_test_data): Likewise.
21183 (log_test_data): Likewise.
21184 (log10_test_data): Likewise.
21185 (log1p_test_data): Likewise.
21186 (log2_test_data): Likewise.
21187 (pow_test_data): Likewise.
21188 (scalb_test_data): Likewise.
21189 (sin_test_data): Likewise.
21190 (sincos_test_data): Likewise.
21191 (sinh_test_data): Likewise.
21192 (tan_test_data): Likewise.
21193 (tanh_test_data): Likewise.
21194 (tgamma_test_data): Likewise.
21195 (y0_test_data): Likewise.
21196 (y1_test_data): Likewise.
21197 (yn_test_data): Likewise.
21200 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
21201 argument being NaN and avoid computations with second argument in
21203 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21204 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
21205 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21207 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
21209 * locale/iso-639.def: Add Chitwani Tharu (the).
21211 2013-11-14 Andreas Schwab <schwab@suse.de>
21213 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
21214 word instead of empty string.
21216 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21219 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
21220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21221 (__fe_nomask_env): Likewise.
21223 2013-11-13 Steve Ellcey <sellcey@mips.com>
21225 * benchtests/bench-timing.h: Include time.h.
21227 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
21230 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
21232 * sysdeps/unix/sysv/linux/configure: Regenerated.
21234 2013-11-13 Joseph Myers <joseph@codesourcery.com>
21237 * stdlib/strtod_l.c (round_and_return): Do not consider
21238 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
21239 exponent one less than half the least subnormal exponent.
21240 * stdlib/test-strtod-round-data: Add more tests.
21241 * stdlib/tst-strtod-round.c (tests): Regenerated.
21243 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21246 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
21247 (__fe_mask_env): Likewise.
21248 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
21249 libm_hidden_proto and add function prototype.
21250 (__fe_mask_env): Add function prototype.
21251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21252 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
21253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21254 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
21255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21256 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
21258 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21260 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
21261 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
21263 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21265 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
21266 of htab_find_slot().
21268 2013-11-11 David S. Miller <davem@davemloft.net>
21271 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
21272 symbol in the non-vis3 case in static builds.
21273 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
21274 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
21275 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
21276 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
21278 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21281 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
21284 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21286 * benchtests/Makefile: Add bench-strtod.
21287 * benchtests/bench-strtod.c: New file: strtod benchtest
21289 2013-11-11 Andreas Schwab <schwab@suse.de>
21292 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
21293 terminating NUL in key length.
21295 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21297 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21298 Add artificial ODP entry for vDSO symbol for PPC64.
21299 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
21300 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21302 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
21305 * nss/getent.c (services_keys): Recognize services starting with digit.
21307 2013-11-06 David S. Miller <davem@davemloft.net>
21310 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
21311 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
21313 2013-11-06 Will Newton <will.newton@linaro.org>
21315 * manual/memory.texi (Malloc Examples): Remove register
21316 keyword from examples.
21318 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
21320 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
21322 2013-11-04 Joseph Myers <joseph@codesourcery.com>
21325 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
21326 depending on [__GCC_IEC_559 > 0].
21327 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
21328 depending on [__GCC_IEC_559_COMPLEX > 0].
21330 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
21332 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
21335 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
21337 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
21339 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
21342 * malloc/malloc (malloc_info): Do not handle first bin as
21345 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
21347 * locale/iso-639.def: Add Central Nahuatl (nhn).
21349 2013-11-01 Bruno Haible <bruno@clisp.org>
21352 * manual/math.texi (BSD Random): Specify range upper bound as
21355 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
21357 * locale/iso-639.def: Add Meadow Mari (mhr).
21359 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
21361 [BZ #14752], [BZ #15763]
21362 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
21364 * rt/tst_shm.c: Add test for escaping directory.
21366 2013-10-31 Andreas Schwab <schwab@suse.de>
21369 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
21370 followed by 'x' as part of digit sequence.
21371 * stdio-common/tst-sscanf.c (double_tests2): New tests.
21373 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
21376 * configure.ac: allow GNU Make 4.0 and greater.
21377 * configure: Regenerated.
21379 2013-10-30 Will Newton <will.newton@linaro.org>
21382 * malloc/hooks.c (memalign_check): Limit alignment to the
21383 maximum representable power of two.
21384 * malloc/malloc.c (__libc_memalign): Likewise.
21385 * malloc/tst-memalign.c (do_test): Add test for very
21386 large alignment values.
21387 * malloc/tst-posix_memalign.c (do_test): Likewise.
21389 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
21392 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
21393 (munmap_chunk): Likewise.
21394 (mremap_chunk): Likewise.
21396 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
21399 * stdlib/div.c (div): Remove obsolete code.
21400 * stdlib/ldiv.c (ldiv): Likewise.
21401 * stdlib/lldiv.c (lldiv): Likewise.
21403 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21406 * nss/nss_files/files-XXX.c (get_contents_ret): New
21408 (get_contents): New function.
21409 (internal_getent): Use it. Expand size of LINEBUFLEN.
21411 2013-10-30 Mike Frysinger <vapier@gentoo.org>
21413 * configure.in: Moved to ...
21414 * configure.ac: ... here. Change reference to configure.in
21416 * sysdeps/arm/preconfigure.ac: ... here.
21417 configure.in to configure.ac.
21418 * sysdeps/gnu/configure.in: Moved to ...
21419 * sysdeps/gnu/configure.ac: ... here.
21420 * sysdeps/i386/configure.in: Moved to ...
21421 * sysdeps/i386/configure.ac: ... here.
21422 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
21423 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
21424 * sysdeps/mach/configure.in: Moved to ...
21425 * sysdeps/mach/configure.ac: ... here.
21426 * sysdeps/mach/hurd/configure.in: Moved to ...
21427 * sysdeps/mach/hurd/configure.ac: ... here.
21428 * sysdeps/powerpc/configure.in: Moved to ...
21429 * sysdeps/powerpc/configure.ac: ... here.
21430 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
21431 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
21432 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
21433 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
21434 * sysdeps/s390/s390-32/configure.in: Moved to ...
21435 * sysdeps/s390/s390-32/configure.ac: ... here.
21436 * sysdeps/s390/s390-64/configure.in: Moved to ...
21437 * sysdeps/s390/s390-64/configure.ac: ... here.
21438 * sysdeps/sh/configure.in: Moved to ...
21439 * sysdeps/sh/configure.ac: ... here.
21440 * sysdeps/sparc/configure.in: Moved to ...
21441 * sysdeps/sparc/configure.ac: ... here.
21442 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
21443 * sysdeps/unix/sysv/linux/configure.ac: ... here.
21444 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
21445 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
21446 * sysdeps/x86_64/configure.in: Moved to ...
21447 * sysdeps/x86_64/configure.ac: ... here.
21448 * sysdeps/x86_64/preconfigure.in: Moved to ...
21449 * sysdeps/x86_64/preconfigure.ac: ... here.
21450 * aclocal.m4: Change reference to configure.in to configure.ac.
21451 * config.h.in: Likewise.
21452 * manual/install.texi: Likewise.
21453 * manual/maint.texi: Likewise.
21454 * Makefile: Likewise.
21455 * malloc/Makefile: Likewise.
21456 * nscd/Makefile: Likewise.
21457 * Makeconfig: Change reference to configure.in and
21458 preconfigure.in to configure.ac and preconfigure.ac
21460 * INSTALL: Regenerated.
21461 * configure: Likewise.
21462 * sysdeps/gnu/configure: Likewise.
21463 * sysdeps/i386/configure: Likewise.
21464 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
21465 * sysdeps/mach/configure: Likewise.
21466 * sysdeps/mach/hurd/configure: Likewise.
21467 * sysdeps/powerpc/configure: Likewise.
21468 * sysdeps/powerpc/powerpc32/configure: Likewise.
21469 * sysdeps/powerpc/powerpc64/configure: Likewise.
21470 * sysdeps/s390/s390-32/configure: Likewise.
21471 * sysdeps/s390/s390-64/configure: Likewise.
21472 * sysdeps/sh/configure: Likewise.
21473 * sysdeps/sparc/configure: Likewise.
21474 * sysdeps/unix/sysv/linux/configure: Likewise.
21475 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
21476 * sysdeps/x86_64/configure: Likewise.
21477 * sysdeps/x86_64/preconfigure: Likewise.
21479 2013-10-29 Andreas Schwab <schwab@suse.de>
21481 * stdio-common/Makefile (tst-swscanf-ENV): Define.
21483 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21485 * benchtests/pow-inputs: Add new inputs.
21487 * benchtests/exp-inputs: Add new inputs.
21489 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
21490 conditional check for return value.
21491 (__cos32): Likewise.
21493 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21495 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
21496 to provide a boost for large inputs with word alignment.
21497 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
21498 implementation based on optimized PPC64 strcpy.
21499 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
21500 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
21501 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
21502 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
21504 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
21507 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
21509 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
21512 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
21513 * time/tst-strptime.c (day_tests): Add testcase.
21515 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
21518 * manual/pattern.texi: Acknowledge that fnmatch can fail.
21520 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
21523 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
21524 MAP_FAILED on error.
21526 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21529 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
21530 heap for large requests.
21532 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
21535 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
21536 result if the result has no associated interface.
21537 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
21538 interface for all 127.X.Y.Z addresses.
21540 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
21542 * locale/iso-639.def: Add Ligurian (lij)
21544 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
21547 * sunrpc/rpc_main.c: Document rpcgen -5.
21549 2013-10-19 Michael Stahl <mstahl@redhat.com>
21551 * elf/rtld.c (do_preload): Print the reason why preloading failed.
21553 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
21556 * posix/glob.c: Match only directories when trailing slash is present.
21557 * posix/tst-gnuglob.c (my_opendir): Do not open files.
21558 (main): Add testcase.
21560 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
21563 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
21565 2013-10-18 Carlos O'Donell <carlos@redhat.com>
21567 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
21568 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
21569 AUTH_DES and cindex for FIPS 140-2.
21570 (DES Encryption): Add cindex FIPS 46-3.
21572 * locale/locarchive.h (struct locarhandle): Add fname.
21573 * locale/programs/localedef.c (main): Pass ARGV[remaining]
21574 if an optional argument was specified to --list-archive,
21576 * locale/programs/locarchive.c (show_archive_content): Take new
21577 argument fname and pass it via ah.fname to open_archive.
21578 * locale/programs/localedef.h: Update decl.
21579 (open_archive): If AH->fname is non-null, open that file
21580 rather than the default file name, and don't ignore ENOENT.
21581 (create_archive): Set AH.fname to NULL.
21582 (delete_locales_from_archive): Likewise.
21583 (add_locales_to_archive): Likewise.
21584 * locale/programs/locfile.c (write_all_categories): Likewise.
21586 2013-10-18 Joseph Myers <joseph@codesourcery.com>
21587 Aldy Hernandez <aldyh@redhat.com>
21589 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
21590 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
21591 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
21592 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
21593 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
21594 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
21595 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
21596 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
21597 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
21598 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
21599 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
21600 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
21601 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
21602 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
21603 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
21605 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
21607 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
21609 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
21611 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
21612 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
21614 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
21615 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
21616 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
21617 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
21619 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
21620 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
21621 * sysdeps/powerpc/preconfigure: Likewise.
21622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
21624 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
21625 Replace contents of file by #include of <fenv_libc.h>.
21626 * sysdeps/powerpc/soft-fp/sfp-machine.h
21627 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
21629 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
21630 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
21631 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
21632 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
21633 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
21634 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
21635 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
21636 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
21637 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
21638 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
21639 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
21640 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
21641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21642 Allow copysignl PLT reference to be missing.
21644 2013-10-18 Richard Sandiford <richard@codesourcery.com>
21645 Joseph Myers <joseph@codesourcery.com
21648 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
21650 (add_to_tablewc): Assert sequence of wide characters is nonempty.
21652 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21654 * elf/tst-tls-dlinfo.c: Don't include tls.h.
21655 * elf/tst-tls1.c: Likewise.
21656 * elf/tst-tls10.h: Likewise.
21657 * elf/tst-tls14.c: Likewise.
21658 * elf/tst-tls2.c: Likewise.
21659 * elf/tst-tls3.c: Likewise.
21660 * elf/tst-tls4.c: Likewise.
21661 * elf/tst-tls5.c: Likewise.
21662 * elf/tst-tls6.c: Likewise.
21663 * elf/tst-tls7.c: Likewise.
21664 * elf/tst-tls8.c: Likewise.
21665 * elf/tst-tls9.c: Likewise.
21666 * elf/tst-tlsmod1.c: Likewise.
21667 * elf/tst-tlsmod13.c: Likewise.
21668 * elf/tst-tlsmod13a.c: Likewise.
21669 * elf/tst-tlsmod14a.c: Likewise.
21670 * elf/tst-tlsmod16a.c: Likewise.
21671 * elf/tst-tlsmod16b.c: Likewise.
21672 * elf/tst-tlsmod2.c: Likewise.
21673 * elf/tst-tlsmod3.c: Likewise.
21674 * elf/tst-tlsmod4.c: Likewise.
21675 * elf/tst-tlsmod5.c: Likewise.
21676 * elf/tst-tlsmod6.c: Likewise.
21678 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
21681 * malloc/malloc.c: remove checks for statistics.
21683 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
21686 * inet/inet_net.c (inet_network): Detect additional invalid strings.
21687 * inet/tst-network.c: Add testcase.
21689 2013-10-17 Andreas Schwab <schwab@suse.de>
21692 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
21693 to determine canonical name.
21695 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
21697 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
21698 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
21699 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21700 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21701 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21702 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21703 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21704 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21705 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21706 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21707 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21708 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21709 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21710 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21711 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21712 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21713 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21714 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21715 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21716 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21717 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21718 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21719 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21720 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
21721 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
21722 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21723 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21724 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
21725 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21726 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
21727 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21728 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21729 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21730 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21731 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21732 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21733 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21734 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21735 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21736 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21737 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21738 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21739 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21740 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21741 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21742 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21743 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21744 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21745 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21746 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21747 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21748 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21749 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21750 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21751 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21752 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21753 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21754 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21756 2013-10-17 Joseph Myers <joseph@codesourcery.com>
21759 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
21760 make result into a quiet NaN.
21762 2013-10-16 Joseph Myers <joseph@codesourcery.com>
21764 * soft-fp/adddf3.c: Fix horizontal whitespace.
21765 * soft-fp/addsf3.c: Likewise.
21766 * soft-fp/addtf3.c: Likewise.
21767 * soft-fp/divdf3.c: Likewise.
21768 * soft-fp/divsf3.c: Likewise.
21769 * soft-fp/divtf3.c: Likewise.
21770 * soft-fp/double.h: Likewise.
21771 * soft-fp/eqdf2.c: Likewise.
21772 * soft-fp/eqsf2.c: Likewise.
21773 * soft-fp/eqtf2.c: Likewise.
21774 * soft-fp/extenddftf2.c: Likewise.
21775 * soft-fp/extended.h: Likewise.
21776 * soft-fp/extendsfdf2.c: Likewise.
21777 * soft-fp/extendsftf2.c: Likewise.
21778 * soft-fp/extendxftf2.c: Likewise.
21779 * soft-fp/fixdfdi.c: Likewise.
21780 * soft-fp/fixdfsi.c: Likewise.
21781 * soft-fp/fixdfti.c: Likewise.
21782 * soft-fp/fixsfdi.c: Likewise.
21783 * soft-fp/fixsfsi.c: Likewise.
21784 * soft-fp/fixsfti.c: Likewise.
21785 * soft-fp/fixtfdi.c: Likewise.
21786 * soft-fp/fixtfsi.c: Likewise.
21787 * soft-fp/fixtfti.c: Likewise.
21788 * soft-fp/fixunsdfdi.c: Likewise.
21789 * soft-fp/fixunsdfsi.c: Likewise.
21790 * soft-fp/fixunsdfti.c: Likewise.
21791 * soft-fp/fixunssfdi.c: Likewise.
21792 * soft-fp/fixunssfsi.c: Likewise.
21793 * soft-fp/fixunssfti.c: Likewise.
21794 * soft-fp/fixunstfdi.c: Likewise.
21795 * soft-fp/fixunstfsi.c: Likewise.
21796 * soft-fp/fixunstfti.c: Likewise.
21797 * soft-fp/floatdidf.c: Likewise.
21798 * soft-fp/floatdisf.c: Likewise.
21799 * soft-fp/floatditf.c: Likewise.
21800 * soft-fp/floatsidf.c: Likewise.
21801 * soft-fp/floatsisf.c: Likewise.
21802 * soft-fp/floatsitf.c: Likewise.
21803 * soft-fp/floattidf.c: Likewise.
21804 * soft-fp/floattisf.c: Likewise.
21805 * soft-fp/floattitf.c: Likewise.
21806 * soft-fp/floatundidf.c: Likewise.
21807 * soft-fp/floatundisf.c: Likewise.
21808 * soft-fp/floatunditf.c: Likewise.
21809 * soft-fp/floatunsidf.c: Likewise.
21810 * soft-fp/floatunsisf.c: Likewise.
21811 * soft-fp/floatunsitf.c: Likewise.
21812 * soft-fp/floatuntidf.c: Likewise.
21813 * soft-fp/floatuntisf.c: Likewise.
21814 * soft-fp/floatuntitf.c: Likewise.
21815 * soft-fp/fmadf4.c: Likewise.
21816 * soft-fp/fmasf4.c: Likewise.
21817 * soft-fp/fmatf4.c: Likewise.
21818 * soft-fp/gedf2.c: Likewise.
21819 * soft-fp/gesf2.c: Likewise.
21820 * soft-fp/getf2.c: Likewise.
21821 * soft-fp/ledf2.c: Likewise.
21822 * soft-fp/lesf2.c: Likewise.
21823 * soft-fp/letf2.c: Likewise.
21824 * soft-fp/muldf3.c: Likewise.
21825 * soft-fp/mulsf3.c: Likewise.
21826 * soft-fp/multf3.c: Likewise.
21827 * soft-fp/negdf2.c: Likewise.
21828 * soft-fp/negsf2.c: Likewise.
21829 * soft-fp/negtf2.c: Likewise.
21830 * soft-fp/op-1.h: Likewise.
21831 * soft-fp/op-2.h: Likewise.
21832 * soft-fp/op-4.h: Likewise.
21833 * soft-fp/op-8.h: Likewise.
21834 * soft-fp/op-common.h: Likewise.
21835 * soft-fp/quad.h: Likewise.
21836 * soft-fp/single.h: Likewise.
21837 * soft-fp/soft-fp.h: Likewise.
21838 * soft-fp/sqrtdf2.c: Likewise.
21839 * soft-fp/sqrtsf2.c: Likewise.
21840 * soft-fp/sqrttf2.c: Likewise.
21841 * soft-fp/subdf3.c: Likewise.
21842 * soft-fp/subsf3.c: Likewise.
21843 * soft-fp/subtf3.c: Likewise.
21844 * soft-fp/truncdfsf2.c: Likewise.
21845 * soft-fp/trunctfdf2.c: Likewise.
21846 * soft-fp/trunctfsf2.c: Likewise.
21847 * soft-fp/trunctfxf2.c: Likewise.
21848 * soft-fp/unorddf2.c: Likewise.
21849 * soft-fp/unordsf2.c: Likewise.
21850 * soft-fp/unordtf2.c: Likewise.
21852 2013-10-15 Joseph Myers <joseph@codesourcery.com>
21854 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
21855 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
21857 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
21859 * elf/dl-libc.c: Clear initfini list after freeing.
21861 2013-10-14 Joseph Myers <joseph@codesourcery.com>
21863 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
21864 * soft-fp/addsf3.c: Likewise.
21865 * soft-fp/addtf3.c: Likewise.
21866 * soft-fp/divdf3.c: Likewise.
21867 * soft-fp/divsf3.c: Likewise.
21868 * soft-fp/divtf3.c: Likewise.
21869 * soft-fp/double.h: Likewise.
21870 * soft-fp/eqdf2.c: Likewise.
21871 * soft-fp/eqsf2.c: Likewise.
21872 * soft-fp/eqtf2.c: Likewise.
21873 * soft-fp/extenddftf2.c: Likewise.
21874 * soft-fp/extended.h: Likewise.
21875 * soft-fp/extendsfdf2.c: Likewise.
21876 * soft-fp/extendsftf2.c: Likewise.
21877 * soft-fp/extendxftf2.c: Likewise.
21878 * soft-fp/fixdfdi.c: Likewise.
21879 * soft-fp/fixdfsi.c: Likewise.
21880 * soft-fp/fixdfti.c: Likewise.
21881 * soft-fp/fixsfdi.c: Likewise.
21882 * soft-fp/fixsfsi.c: Likewise.
21883 * soft-fp/fixsfti.c: Likewise.
21884 * soft-fp/fixtfdi.c: Likewise.
21885 * soft-fp/fixtfsi.c: Likewise.
21886 * soft-fp/fixtfti.c: Likewise.
21887 * soft-fp/fixunsdfdi.c: Likewise.
21888 * soft-fp/fixunsdfsi.c: Likewise.
21889 * soft-fp/fixunsdfti.c: Likewise.
21890 * soft-fp/fixunssfdi.c: Likewise.
21891 * soft-fp/fixunssfsi.c: Likewise.
21892 * soft-fp/fixunssfti.c: Likewise.
21893 * soft-fp/fixunstfdi.c: Likewise.
21894 * soft-fp/fixunstfsi.c: Likewise.
21895 * soft-fp/fixunstfti.c: Likewise.
21896 * soft-fp/floatdidf.c: Likewise.
21897 * soft-fp/floatdisf.c: Likewise.
21898 * soft-fp/floatditf.c: Likewise.
21899 * soft-fp/floatsidf.c: Likewise.
21900 * soft-fp/floatsisf.c: Likewise.
21901 * soft-fp/floatsitf.c: Likewise.
21902 * soft-fp/floattidf.c: Likewise.
21903 * soft-fp/floattisf.c: Likewise.
21904 * soft-fp/floattitf.c: Likewise.
21905 * soft-fp/floatundidf.c: Likewise.
21906 * soft-fp/floatundisf.c: Likewise.
21907 * soft-fp/floatunsidf.c: Likewise.
21908 * soft-fp/floatunsisf.c: Likewise.
21909 * soft-fp/floatuntidf.c: Likewise.
21910 * soft-fp/floatuntisf.c: Likewise.
21911 * soft-fp/floatuntitf.c: Likewise.
21912 * soft-fp/fmadf4.c: Likewise.
21913 * soft-fp/fmasf4.c: Likewise.
21914 * soft-fp/fmatf4.c: Likewise.
21915 * soft-fp/gedf2.c: Likewise.
21916 * soft-fp/gesf2.c: Likewise.
21917 * soft-fp/getf2.c: Likewise.
21918 * soft-fp/ledf2.c: Likewise.
21919 * soft-fp/lesf2.c: Likewise.
21920 * soft-fp/letf2.c: Likewise.
21921 * soft-fp/muldf3.c: Likewise.
21922 * soft-fp/mulsf3.c: Likewise.
21923 * soft-fp/multf3.c: Likewise.
21924 * soft-fp/negdf2.c: Likewise.
21925 * soft-fp/negsf2.c: Likewise.
21926 * soft-fp/negtf2.c: Likewise.
21927 * soft-fp/op-1.h: Likewise.
21928 * soft-fp/op-2.h: Likewise.
21929 * soft-fp/op-4.h: Likewise.
21930 * soft-fp/op-8.h: Likewise.
21931 * soft-fp/op-common.h: Likewise.
21932 * soft-fp/quad.h: Likewise.
21933 * soft-fp/single.h: Likewise.
21934 * soft-fp/soft-fp.h: Likewise.
21935 * soft-fp/sqrtdf2.c: Likewise.
21936 * soft-fp/sqrtsf2.c: Likewise.
21937 * soft-fp/sqrttf2.c: Likewise.
21938 * soft-fp/subdf3.c: Likewise.
21939 * soft-fp/subsf3.c: Likewise.
21940 * soft-fp/subtf3.c: Likewise.
21941 * soft-fp/truncdfsf2.c: Likewise.
21942 * soft-fp/trunctfdf2.c: Likewise.
21943 * soft-fp/trunctfsf2.c: Likewise.
21944 * soft-fp/trunctfxf2.c: Likewise.
21945 * soft-fp/unorddf2.c: Likewise.
21946 * soft-fp/unordsf2.c: Likewise.
21947 * soft-fp/unordtf2.c: Likewise.
21949 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
21952 * misc/error.c (error_tail): Fix possible buffer overflow.
21954 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
21957 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
21960 2013-10-14 P. J. McDermott <pj@pehjota.net>
21963 * elf/ldd.bash.in (try_trace): New function. Delete previous code
21964 testing pipefail option.
21966 2013-10-12 Joseph Myers <joseph@codesourcery.com>
21968 * soft-fp/double.h: Indent preprocessor directives inside #if.
21969 * soft-fp/extended.h: Likewise.
21970 * soft-fp/op-2.h: Likewise.
21971 * soft-fp/op-4.h: Likewise.
21972 * soft-fp/op-common.h: Likewise.
21973 * soft-fp/quad.h: Likewise.
21974 * soft-fp/single.h: Likewise.
21975 * soft-fp/soft-fp.h: Likewise.
21977 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
21979 * iconv/iconv_prog.c: Fix typos.
21980 * stdio-common/psiginfo-data.h: Likewise.
21982 2013-10-12 Reuben Thomas <rrt@sc3d.org>
21985 * locale/setlocale.c: Fix typo.
21987 2013-10-12 Joseph Myers <joseph@codesourcery.com>
21990 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
21991 signaling NaN arguments.
21992 * soft-fp/unordsf2.c (__unordsf2): Likewise.
21993 * soft-fp/unordtf2.c (__unordtf2): Likewise.
21996 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
21997 unordered operands.
21998 * soft-fp/gesf2.c (__gesf2): Likewise.
21999 * soft-fp/getf2.c (__getf2): Likewise.
22000 * soft-fp/ledf2.c (__ledf2): Likewise.
22001 * soft-fp/lesf2.c (__lesf2): Likewise.
22002 * soft-fp/letf2.c (__letf2): Likewise.
22004 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
22005 * soft-fp/eqsf2.c (__eqsf2): Likewise.
22006 * soft-fp/eqtf2.c (__eqtf2): Likewise.
22007 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
22008 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
22009 * soft-fp/fixdfti.c (__fixdfti): Likewise.
22010 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
22011 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
22012 * soft-fp/fixsfti.c (__fixsfti): Likewise.
22013 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
22014 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
22015 * soft-fp/fixtfti.c (__fixtfti): Likewise.
22016 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
22017 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
22018 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
22019 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
22020 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
22021 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
22022 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
22023 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
22024 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
22025 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
22026 * soft-fp/floatdisf.c (__floatdisf): Likewise.
22027 * soft-fp/floatsisf.c (__floatsisf): Likewise.
22028 * soft-fp/floattidf.c (__floattidf): Likewise.
22029 * soft-fp/floattisf.c (__floattisf): Likewise.
22030 * soft-fp/floattitf.c (__floattitf): Likewise.
22031 * soft-fp/floatundidf.c (__floatundidf): Likewise.
22032 * soft-fp/floatundisf.c (__floatundisf): Likewise.
22033 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
22034 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
22035 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
22036 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
22037 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
22038 * soft-fp/gesf2.c (__gesf2): Likewise.
22039 * soft-fp/getf2.c (__getf2): Likewise.
22040 * soft-fp/ledf2.c (__ledf2): Likewise.
22041 * soft-fp/lesf2.c (__lesf2): Likewise.
22042 * soft-fp/letf2.c (__letf2): Likewise.
22044 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
22045 Undefine and redefine.
22046 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
22047 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
22048 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
22049 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
22050 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22051 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
22052 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22053 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
22054 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22055 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
22056 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22057 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
22058 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22059 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
22060 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22063 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
22064 without decrementing exponent if mantissa >= that for the
22065 denominator, not >.
22066 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
22067 denominator, not >. Decrement exponent in < case instead of
22068 incrementing in >= case.
22069 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
22070 without decrementing exponent if mantissa >= that for the
22071 denominator, not >.
22073 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
22074 computing saturated result for unsigned overflow.
22076 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22077 Jeff Law <law@redhat.com>
22079 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
22080 (atan2Mp): Add systemtap probe marker.
22081 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
22082 (__ieee754_log): Add systemtap probe marker.
22083 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
22084 (atanMp): Add systemtap probe marker.
22085 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
22086 (tanMp): Add systemtap probe marker.
22087 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
22088 (__slowexp): Add systemtap probe marker.
22089 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
22090 (__slowpow): Add systemtap probe marker.
22091 * manual/probes.texi: Document probes.
22093 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
22096 * libio/fileops.c (_IO_new_file_write): Return count of bytes
22098 (_IO_new_file_xsputn): Don't return EOF if nothing has been
22100 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
22101 written to buffer but not flushed.
22102 * libio/iofwrite_u.c: Likewise.
22103 * libio/iopadn.c: Return bytes returned even if EOF was
22105 * libio/iowpadn.c: Likewise.
22106 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
22107 if _IO_padn does not write the whole buffer.
22108 [!COMPILE_WPRINTF] (PAD): Likewise.
22110 2013-10-10 David S. Miller <davem@davemloft.net>
22112 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
22115 2013-10-10 Joseph Myers <joseph@codesourcery.com>
22117 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
22118 instead of FSF address.
22119 * soft-fp/fixdfti.c: Likewise.
22120 * soft-fp/fixsfti.c: Likewise.
22121 * soft-fp/fixtfti.c: Likewise.
22122 * soft-fp/fixunsdfti.c: Likewise.
22123 * soft-fp/fixunssfti.c: Likewise.
22124 * soft-fp/fixunstfti.c: Likewise.
22125 * soft-fp/floattidf.c: Likewise.
22126 * soft-fp/floattisf.c: Likewise.
22127 * soft-fp/floattitf.c: Likewise.
22128 * soft-fp/floatuntidf.c: Likewise.
22129 * soft-fp/floatuntisf.c: Likewise.
22130 * soft-fp/floatuntitf.c: Likewise.
22131 * soft-fp/trunctfxf2.c: Likewise.
22133 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
22134 * soft-fp/fixdfti.c: Likewise.
22135 * soft-fp/fixsfti.c: Likewise.
22136 * soft-fp/fixtfti.c: Likewise.
22137 * soft-fp/fixunsdfti.c: Likewise.
22138 * soft-fp/fixunssfti.c: Likewise.
22139 * soft-fp/fixunstfti.c: Likewise.
22140 * soft-fp/floattidf.c: Likewise.
22141 * soft-fp/floattisf.c: Likewise.
22142 * soft-fp/floattitf.c: Likewise.
22143 * soft-fp/floatuntidf.c: Likewise.
22144 * soft-fp/floatuntisf.c: Likewise.
22145 * soft-fp/floatuntitf.c: Likewise.
22146 * soft-fp/trunctfxf2.c: Likewise.
22148 2013-10-10 David S. Miller <davem@davemloft.net>
22150 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22152 2013-10-10 Joseph Myers <joseph@codsourcery.com>
22154 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22155 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
22156 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
22157 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
22158 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
22159 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
22160 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
22162 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
22163 for NaNs before doing comparisons on argument.
22164 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22167 2013-10-10 Will Newton <will.newton@linaro.org>
22169 * malloc/hooks.c (memalign_check): Ensure the value of bytes
22170 passed to _int_memalign does not overflow.
22172 2013-10-10 Torvald Riegel <triegel@redhat.com>
22174 * scripts/bench.pl: Add include-sources directive.
22175 * benchtests/README: Update documentation.
22177 2013-10-10 Joseph Myers <joseph@codesourcery.com>
22179 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
22180 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
22181 instead of FP_INIT_ROUNDMODE.
22182 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
22183 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
22186 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
22187 copy class of input value.
22188 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
22189 not handle exceptions.
22190 * soft-fp/negsf2.c (__negsf2): Likewise.
22191 * soft-fp/negtf2.c (__negtf2): Likewise.
22192 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
22194 2013-10-09 Joseph Myers <joseph@codesourcery.com>
22196 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
22197 semicolon. From Linux kernel.
22199 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
22201 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
22203 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
22206 * manual/socket.texi: Added statement about buffer
22207 for gethostbyname2_r.
22209 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
22211 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
22212 Use .p2align directive instead, throughout.
22213 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22214 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22215 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
22216 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22217 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22218 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22219 * sysdeps/x86_64/strchr.S: Likewise.
22220 * sysdeps/x86_64/strrchr.S: Likewise.
22222 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22224 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
22226 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
22228 * sysdeps/generic/math_private.h (__mpsin1): Remove
22230 (__mpcos1): Likewise.
22231 (__mpsin): New argument __range_reduce.
22232 (__mpcos): Likewise.
22233 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22234 (slow): Use __mpsin and __mpcos.
22238 (sloww1): Likewise.
22239 (sloww2): Likewise.
22240 (bsloww): Likewise.
22241 (bsloww1): Likewise.
22242 (bsloww2): Likewise.
22243 (cslow2): Likewise.
22244 (csloww): Likewise.
22245 (csloww1): Likewise.
22246 (csloww2): Likewise.
22247 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
22248 range_reduce. Merge in __mpsin1.
22249 (__mpcos): Likewise.
22250 (__mpsin1): Remove.
22251 (__mpcos1): Likewise.
22253 2013-10-07 Joseph Myers <joseph@codesourcery.com>
22255 * locale/loadlocale.c (_nl_intern_locale_data): Use
22257 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
22258 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
22259 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
22260 obstack data is appropriately aligned.
22261 (obstack_int32_grow_fast): Likewise.
22262 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
22263 * locale/programs/locfile.c (add_locale_uint32): Likewise.
22264 (add_locale_uint32_array): Likewise.
22266 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22268 * benchtests/Makefile: Remove ARGLIST and RET variables.
22269 ($(objpfx)bench-%.c): Pass only function name to the script.
22270 * benchtests/README: Update documentation.
22271 * benchtests/acos-inputs: Add new directives.
22272 * benchtests/acosh-inputs: Likewise.
22273 * benchtests/asin-inputs: Likewise.
22274 * benchtests/asinh-inputs: Likewise.
22275 * benchtests/atan-inputs: Likewise.
22276 * benchtests/atanh-inputs: Likewise.
22277 * benchtests/cos-inputs: Likewise.
22278 * benchtests/cosh-inputs: Likewise.
22279 * benchtests/exp-inputs: Likewise.
22280 * benchtests/log-inputs: Likewise.
22281 * benchtests/pow-inputs: Likewise.
22282 * benchtests/rint-inputs: Likewise.
22283 * benchtests/sin-inputs: Likewise.
22284 * benchtests/sinh-inputs: Likewise.
22285 * benchtests/tan-inputs: Likewise.
22286 * benchtests/tanh-inputs: Likewise.
22287 * scripts/bench.pl: Add support for new directives.
22289 2013-10-07 Alan Modra <amodra@gmail.com>
22291 * README: Fix careless merge.
22293 2013-10-05 Alan Modra <amodra@gmail.com>
22295 * NEWS: Mention powerpc64le support and bugs fixed.
22296 * README: Both big-endian and little-endian powerpc64 supported.
22298 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22300 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
22301 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
22302 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
22303 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
22305 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
22307 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
22310 2013-10-04 Joseph Myers <joseph@codesourcery.com>
22312 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
22313 Move -mhard-float appending from
22314 ports/sysdeps/powerpc/powerpc32/Makefile.
22315 [$(with-fp) = yes] (ASFLAGS): Likewise.
22316 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
22317 * sysdeps/powerpc/nofpu: Move directory from
22318 ports/sysdeps/powerpc/nofpu.
22319 * sysdeps/powerpc/soft-fp: Move directory from
22320 ports/sysdeps/powerpc/soft-fp.
22321 * sysdeps/powerpc/powerpc32/405: Move directory from
22322 ports/sysdeps/powerpc/powerpc32/405.
22323 * sysdeps/powerpc/powerpc32/440: Move directory from
22324 ports/sysdeps/powerpc/powerpc32/440.
22325 * sysdeps/powerpc/powerpc32/464: Move directory from
22326 ports/sysdeps/powerpc/powerpc32/464.
22327 * sysdeps/powerpc/powerpc32/476: Move directory from
22328 ports/sysdeps/powerpc/powerpc32/476.
22329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
22330 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
22331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
22332 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
22333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
22334 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
22335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
22336 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
22337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
22338 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
22339 * README: Update for powerpc-*-linux-gnu software floating point
22342 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
22343 case to powerpc/powerpc32*.
22344 * sysdeps/unix/sysv/linux/configure: Regenerated.
22346 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
22347 (_FPU_MASK_OM): Define as 0x04.
22348 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
22349 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
22351 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
22353 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
22355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
22356 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
22359 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
22362 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
22363 and setcontext_e500.
22365 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
22367 * locale/iso-3166.def: Update iso-1366.def and related occurrences
22369 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22371 * manual/threads.texi (Default Thread Attributes): Fix typo.
22373 2013-10-04 Will Newton <will.newton@linaro.org>
22375 * malloc/Makefile: Add tst-memalign.
22376 * malloc/tst-memalign.c: New file.
22378 * malloc/tst-posix_memalign.c: Add comments.
22379 (do_test): Add comments and call free on all potentially
22380 allocated pointers. Add space after cast.
22382 * malloc/tst-pvalloc.c: Add comments.
22383 (do_test): Add comments and call free on all potentially
22384 allocated pointers. Remove duplicate check for NULL pointer.
22385 Add space after cast.
22387 * malloc/tst-valloc.c: Add comments.
22388 (do_test): Add comments and call free on all potentially
22389 allocated pointers. Remove duplicate check for NULL pointer.
22390 Add space after cast.
22392 2013-10-04 Alan Modra <amodra@gmail.com>
22394 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22395 Use stdint types in rather than __attribute__((mode())).
22396 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22398 2013-10-04 Alan Modra <amodra@gmail.com>
22400 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22401 Correct handling of unaligned relocs for little-endian.
22402 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22404 2013-10-04 Alan Modra <amodra@gmail.com>
22406 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
22407 * configure: Regenerate.
22408 * nptl/shlib-versions: Powerpc*le starts at 2.18.
22409 * shlib-versions: Likewise.
22411 2013-10-04 Alan Modra <amodra@gmail.com>
22413 * string/tester.c (test_memrchr): Increment reported test cycle.
22415 2013-10-04 Alan Modra <amodra@gmail.com>
22417 * string/test-memcpy.c (do_one_test): When reporting errors, print
22418 string address and don't overrun end of string.
22420 2013-10-04 Alan Modra <amodra@gmail.com>
22422 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
22423 insrdi. Make better use of reg selection to speed exit slightly.
22424 Schedule entry path a little better. Remove useless "are we done"
22425 checks on entry to main loop. Handle wrapping around zero address.
22426 Correct main loop count. Handle single left-over word from main
22427 loop inline rather than by using loop_small. Remove extra word
22428 case in loop_small caused by wrong loop count. Add little-endian
22430 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22431 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
22433 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22434 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
22435 support. Avoid rlwimi.
22436 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
22438 2013-10-04 Alan Modra <amodra@gmail.com>
22440 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
22441 insrdi. Formatting.
22442 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
22443 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22444 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22445 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22446 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22447 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
22449 2013-10-04 Alan Modra <amodra@gmail.com>
22451 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
22452 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22453 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22454 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
22455 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22456 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22457 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22458 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22459 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
22460 use of regs. Use power7 mtocrf. Tidy function tails.
22462 2013-10-04 Alan Modra <amodra@gmail.com>
22464 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
22465 Formatting. Consistently use rXXX register defines or rN defines.
22466 Use early exit labels that avoid restoring unused non-volatile regs.
22467 Make cr field use more consistent with rWORDn compares. Rename
22468 regs used as shift registers for unaligned loop, using rN defines
22469 for short lifetime/multiple use regs.
22470 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22471 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
22472 addi 1,1,64 to pop stack frame. Simplify return value code.
22473 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22475 2013-10-04 Alan Modra <amodra@gmail.com>
22477 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
22478 support. Correct typos, formatting. Optimize tail. Use insrdi
22479 rather than rlwimi.
22480 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
22481 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
22482 little-endian support. Correct typos.
22483 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
22484 rather than rlwimi.
22485 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
22486 in loop and entry code to keep "and." results.
22487 (strchr): Add little-endian support. Comment. Move cntlzd
22489 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
22491 2013-10-04 Alan Modra <amodra@gmail.com>
22493 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
22494 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
22495 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22496 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
22498 2013-10-04 Alan Modra <amodra@gmail.com>
22500 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
22501 (rTMP): Define as r11.
22502 (strcmp): Add little-endian support. Optimise tail.
22503 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
22504 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22505 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22506 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22507 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22508 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22509 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22511 2013-10-04 Alan Modra <amodra@gmail.com>
22513 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
22514 little-endian support. Remove unnecessary "are we done" tests.
22515 Handle "s" wrapping around zero and extremely large "size".
22516 Correct main loop count. Handle single left-over word from main
22517 loop inline rather than by using small_loop. Correct comments.
22518 Delete "zero" tail, use "end_max" instead.
22519 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
22521 2013-10-04 Alan Modra <amodra@gmail.com>
22523 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
22524 support. Don't branch over align.
22525 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
22526 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
22527 support. Rearrange tmp reg use to suit. Comment.
22528 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
22530 2013-10-04 Alan Modra <amodra@gmail.com>
22532 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
22534 2013-10-04 Alan Modra <amodra@gmail.com>
22536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
22537 conditional form of branch and link when obtaining pc.
22538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
22540 2013-10-04 Alan Modra <amodra@gmail.com>
22542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
22544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
22545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
22547 2013-10-04 Alan Modra <amodra@gmail.com>
22549 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
22550 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
22551 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
22552 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
22553 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22554 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22555 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
22556 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22557 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
22558 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
22560 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
22561 Alistair Popple <alistair@ozlabs.au.ibm.com>
22562 Alan Modra <amodra@gmail.com>
22565 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
22566 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
22567 _dl_hwcap access for little-endian.
22568 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
22569 destroy vmx regs when saving unaligned.
22570 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
22571 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
22572 destroy vmx regs when saving unaligned.
22574 2013-10-04 Alan Modra <amodra@gmail.com>
22576 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
22577 Don't use a union to pack hi/low value.
22579 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
22581 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
22583 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22584 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
22585 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22586 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22587 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22589 2013-10-04 Alan Modra <amodra@gmail.com>
22591 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
22592 constants to usual value for .cst8 section, and remove redundant
22594 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
22595 constant for 0x1p52. Load little-endian words of double from
22596 correct stack offsets.
22598 2013-10-04 Alan Modra <amodra@gmail.com>
22600 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
22601 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
22602 words of double from correct stack offsets.
22603 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
22604 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
22605 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22606 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22607 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22608 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22609 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22610 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
22611 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
22612 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22613 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22614 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22615 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22616 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22617 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22618 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
22619 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
22621 2013-10-04 Alan Modra <amodra@gmail.com>
22623 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
22624 64-bit int/double union.
22625 (_FPU_SETCW): Likewise.
22626 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
22627 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
22629 2013-10-04 Alan Modra <amodra@gmail.com>
22631 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
22632 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
22634 2013-10-04 Alan Modra <amodra@gmail.com>
22636 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
22637 use vector int constants.
22638 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
22640 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
22642 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
22643 array with long long.
22644 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
22645 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
22646 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
22647 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
22648 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
22649 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
22650 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
22651 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
22652 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
22653 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
22654 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
22655 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
22656 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
22658 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
22660 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
22661 (__signbit): Likewise. Correct for little-endian.
22662 (__signbitl): Call __signbit.
22663 (lrint): Correct for little-endian.
22664 (lrintf): Call lrint.
22666 2013-10-04 Alan Modra <amodra@gmail.com>
22668 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
22669 union 32-bit int array member with 64-bit int array.
22670 (t515, tm256): Double rather than long double.
22671 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
22673 2013-10-04 Alan Modra <amodra@gmail.com>
22675 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
22677 (IEEE854_LONG_DOUBLE_BIAS): Delete.
22678 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
22679 version of math_ldbl.h.
22681 2013-10-04 Alan Modra <amodra@gmail.com>
22683 [BZ #15734], [BZ #15735]
22684 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
22685 all uses of ieee875 long double macros and unions. Simplify test
22686 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
22687 ldbl_extract_mantissa value for ix,iy exponents. Properly
22688 normalize after ldbl_extract_mantissa, and don't add hidden bit
22689 already handled. Don't treat low word of ieee854 mantissa like
22690 low word of IBM long double and mask off bit when testing for
22692 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
22693 all uses of ieee875 long double macros and unions. Simplify tests
22694 for 0.0L and inf. Correct double adjustment of k. Delete dead code
22695 adjusting ha,hb. Simplify code setting kld. Delete two600 and
22696 two1022, instead use their values. Recognise that tests for large
22697 "a" and small "b" are mutually exclusive. Rename vars. Comment.
22698 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
22699 Rewrite all uses of ieee875 long double macros and unions. Simplify
22700 test for 0.0L and nan. Correct negation.
22701 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
22702 ieee875 long double macros and unions. Correct output for large
22703 magnitude x. Correct absolute value calculation.
22704 (__erfcl): Likewise.
22705 * math/libm-test.inc: Add tests for errors discovered in IBM long
22706 double versions of fmodl, remainderl, erfl and erfcl.
22708 2013-10-04 Alan Modra <amodra@gmail.com>
22710 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
22711 all uses of ieee854 long double macros and unions. Simplify tests
22712 for long doubles that are fully specified by the high double.
22713 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22715 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
22716 Remove dead code too.
22717 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
22718 (__ieee754_ynl): Likewise.
22719 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
22720 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
22721 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
22722 Remove dead code too.
22723 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
22724 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
22725 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
22726 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
22728 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
22730 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
22731 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
22732 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
22733 Comment on variable precision.
22734 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
22735 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22737 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22738 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22739 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22740 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
22741 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
22743 2013-10-04 Alan Modra <amodra@gmail.com>
22745 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
22746 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
22747 all uses of ieee854 long double macros and unions.
22748 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
22749 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22750 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
22751 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
22752 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
22753 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22755 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
22756 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22757 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
22758 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22759 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
22760 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
22761 Simplify sign and nan test too.
22762 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
22763 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
22764 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
22765 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
22767 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22768 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
22770 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22771 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
22772 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
22773 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
22774 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
22775 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
22777 2013-10-04 Alan Modra <amodra@gmail.com>
22779 * stdio-common/printf_size.c (__printf_size): Don't use
22780 union ieee854_long_double in fpnum union.
22781 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
22782 signbit macro to retrieve sign from long double.
22783 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
22784 retrieve sign from long double.
22785 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
22786 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
22787 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
22788 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22789 * math/test-misc.c (main): Don't use union ieee854_long_double.
22791 2013-10-04 Alan Modra <amodra@gmail.com>
22794 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
22795 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
22796 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
22797 calculation. Remove unnecessary test for denormal exponent.
22798 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
22799 Correct handling of denormals. Avoid undefined shift behaviour.
22800 Correct normalisation of low mantissa when low double is denormal.
22801 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
22802 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
22803 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
22804 Correct normalisation of low mantissa. Test for overflow of high
22805 mantissa and normalise.
22806 (ldbl_nearbyint): Use more readable constant for two52.
22807 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
22808 (__mpn_construct_long_double): Fix test for overflow of high
22809 mantissa and correct normalisation. Avoid undefined shift.
22811 2013-10-04 Alan Modra <amodra@gmail.com>
22813 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22814 (union ibm_extended_long_double): Define as an array of ieee754_double.
22815 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
22816 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
22817 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
22818 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22819 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22820 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
22821 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22822 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22823 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
22824 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
22825 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22827 2013-10-03 Joseph Myers <joseph@codesourcery.com>
22829 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
22830 page size instead of calling getpagesize.
22832 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
22833 (LOCFILE_ALIGN_MASK): Likewise.
22834 (LOCFILE_ALIGN_UP): Likewise.
22835 (LOCFILE_ALIGNED_P): Likewise.
22836 * locale/programs/ld-collate.c (collate_output): Use the new
22837 macros instead of __alignof__ (int32_t).
22838 * locale/weight.h (findidx): Likewise.
22840 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
22843 * manual/string.texi: Fix strncat and wcsncat.
22845 2013-10-03 Brooks Moses <bmoses@google.com>
22848 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
22849 * Makerules: ...here, and adjust associated comments.
22851 2013-10-02 Will Newton <will.newton@linaro.org>
22853 * malloc/Makefile: Add tst-pvalloc.
22854 * malloc/tst-pvalloc.c: New file.
22856 2013-10-02 Will Newton <will.newton@linaro.org>
22858 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
22859 improve test coverage.
22861 2013-10-02 Will Newton <will.newton@linaro.org>
22863 * malloc/Makefile: Add tst-posix_memalign.
22864 * malloc/tst-posix_memalign.c: New file.
22866 2013-10-01 Eric Blake <eblake@redhat.com>
22868 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
22869 Use __THROWNL rather than __THROW on static functions.
22871 2013-09-30 Petr Machata <pmachata@redhat.com>
22873 * elf/elf.h (R_AARCH64_ABS16): New macro.
22874 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
22875 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
22876 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
22877 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
22878 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
22879 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
22880 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
22881 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
22882 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
22883 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
22884 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
22885 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
22886 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
22887 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
22888 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
22889 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
22890 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
22891 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
22892 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
22893 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
22894 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
22895 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
22896 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
22897 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
22898 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
22899 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
22900 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
22901 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
22902 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
22903 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
22904 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
22905 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
22906 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
22907 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
22908 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
22909 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
22910 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
22911 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
22912 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
22913 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
22914 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
22915 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
22916 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
22917 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
22918 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
22919 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
22920 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
22921 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
22922 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
22923 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
22924 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
22925 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
22926 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
22927 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
22928 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
22929 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
22930 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
22931 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
22932 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
22933 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
22934 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
22935 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
22936 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
22937 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
22938 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
22939 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
22940 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
22941 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
22942 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
22943 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
22944 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
22945 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
22946 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
22947 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
22948 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
22949 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
22950 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
22951 (R_AARCH64_TLSDESC_LDR): Likewise.
22952 (R_AARCH64_TLSDESC_ADD): Likewise.
22953 (R_AARCH64_TLSDESC_CALL): Likewise.
22955 2013-09-30 Andreas Schwab <schwab@suse.de>
22958 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
22959 the nss database lookup.
22960 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22961 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22963 2013-09-28 Mike Frysinger <vapier@gentoo.org>
22965 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
22967 2013-09-28 P. J. McDermott <pj@pehjota.net>
22969 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
22970 ${Bash-specific parameter/pattern/string} parameter expansion.
22971 * sysdeps/unix/make-syscalls.sh: Likewise.
22973 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22975 * sysdeps/sh/stackguard-macros.h: New file.
22977 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
22979 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22980 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
22981 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
22982 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
22983 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22984 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
22986 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22988 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
22989 Fix thread ID register.
22991 2013-09-25 Joseph Myers <joseph@codesourcery.com>
22993 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
22994 [POSIX || UNIX98]: Require rather than permitting all symbols from
22996 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
22997 element of struct sched_param.
22998 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
22999 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
23000 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
23001 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
23004 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
23006 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
23007 argument calculation.
23009 2013-09-24 Joseph Myers <joseph@codesourcery.com>
23011 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
23013 [POSIX] (pthread_attr_t): Do not require type.
23014 [POSIX] (pthread_cond_t): Likewise.
23015 [POSIX] (pthread_condattr_t): Likewise.
23016 [POSIX] (pthread_key_t): Likewise.
23017 [POSIX] (pthread_mutex_t): Likewise.
23018 [POSIX] (pthread_mutexattr_t): Likewise.
23019 [POSIX] (pthread_once_t): Likewise.
23020 [POSIX] (pthread_t): Likewise.
23021 [POSIX-based standards] (pthread_atfork): Expect function.
23023 2013-09-24 Joseph Myers <joseph@codesourcery.com>
23024 Richard Sandiford <richard@codesourcery.com>
23026 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
23027 (swap_endianness_p): New extern variable.
23028 (set_big_endian): New inline function.
23029 (maybe_swap_uint32): Likewise.
23030 (maybe_swap_uint32_array): Likewise.
23031 (maybe_swap_uint32_obstack): Likewise.
23032 * locale/programs/locfile.c: Include <stdbool.h>.
23033 (swap_endianness_p): New variable.
23034 (add_locale_uint32): Call maybe_swap_uint32.
23035 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
23036 (write_locale_data): Call maybe_swap_uint32_array.
23037 * locale/programs/ld-collate.c (obstack_int32_grow): Call
23039 (obstack_int32_grow_fast): Likewise.
23040 (output_weightwc): Call maybe_swap_uint32_obstack.
23041 (collate_output): Likewise.
23042 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
23043 (OPT_LITTLE_ENDIAN): Likewise.
23044 (options): Add --little-endian and --big-endian options.
23045 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
23046 * locale/programs/locarchive.c: Include "locfile.h".
23050 (create_archive): Use the new macros to access fields of
23051 structures directly mapped from or written to locale archives.
23052 (oldlocrecentcmp): Likewise.
23053 (enlarge_archive): Likewise.
23054 (insert_name): Likewise.
23055 (add_alias): Likewise.
23056 (add_locale): Likewise.
23057 (delete_locales_from_archive): Likewise.
23058 (show_archive_content): Likewise.
23059 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
23062 2013-09-24 Roland McGrath <roland@hack.frob.com>
23064 * manual/freemanuals.texi: Updated from (newly) canonical copy at
23065 http://www.gnu.org/doc/freemanuals.texi.
23066 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
23068 2013-09-24 Will Newton <will.newton@linaro.org>
23070 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
23073 2013-09-23 Joseph Myers <joseph@codesourcery.com>
23075 * locale/hashval.h (compute_hashval): Interpret bytes of key as
23078 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
23080 * manual/threads.texi (POSIX Threads): Fix a typo.
23082 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23085 * string/tst-strcoll-overflow.c: New test case.
23086 * string/Makefile (xtests): Add tst-strcoll-overflow.
23087 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
23088 cache if string sizes may cause integer overflow.
23091 * string/strcoll_l.c (coll_seq): New members rule, idx,
23092 save_idx and back_us.
23093 (get_next_seq_nocache): New function.
23094 (do_compare_nocache): New function.
23095 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
23098 2013-09-23 Carlos O'Donell <carlos@redhat.com>
23101 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
23102 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
23103 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
23106 * elf/Makefile (tests): Add tst-ptrguard1.
23107 (tests-static): Add tst-ptrguard1-static.
23108 (tst-ptrguard1-ARGS): Define.
23109 (tst-ptrguard1-static-ARGS): Define.
23110 * elf/tst-ptrguard1.c: New file.
23111 * elf/tst-ptrguard1-static.c: New file.
23112 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
23113 * sysdeps/i386/stackguard-macros.h: Likewise.
23114 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23115 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23116 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23117 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23118 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23119 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23121 2013-09-23 Hector Marco <hecmargi@upv.es>
23122 Ismael Ripoll <iripoll@disca.upv.es>
23123 Carlos O'Donell <carlos@redhat.com>
23126 * sysdeps/generic/stackguard-macros.h: Define
23127 __pointer_chk_guard_local and POINTER_CHK_GUARD.
23128 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
23129 Define __pointer_chk_guard_local.
23130 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
23131 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
23133 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
23136 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
23138 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
23140 * include/string.h (__ffs): Declare as hidden.
23141 * string/ffs.c (__ffs): Define as hidden.
23142 * sysdeps/i386/ffs.c (__ffs): Likewise.
23143 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23144 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
23145 * sysdeps/s390/ffs.c (__ffs): Likewise.
23146 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
23148 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
23150 * NEWS: Mention malloc probes.
23152 * malloc/arena.c (new_heap): New memory_heap_new probe.
23153 (grow_heap): New memory_heap_more probe.
23154 (shrink_heap): New memory_heap_less probe.
23155 (heap_trim): New memory_heap_free probe.
23156 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
23157 (systrim): New memory_sbrk_less probe.
23158 * manual/probes.texi: Document them.
23160 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
23161 * manual/probes.texi: Document it.
23163 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
23164 (__libc_realloc): Add memory_realloc_retry probe.
23165 (__libc_memalign): Add memory_memalign_retry probe.
23166 (__libc_valloc): Add memory_valloc_retry probe.
23167 (__libc_pvalloc): Add memory_pvalloc_retry probe.
23168 (__libc_calloc): Add memory_calloc_retry probe.
23169 * manual/probes.texi: Document them.
23171 * malloc/arena.c (get_free_list): Add probe
23172 memory_arena_reuse_free_list.
23173 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
23174 and memory_arena_reuse.
23175 (arena_get2) [!PER_THREAD]: Likewise.
23176 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
23177 memory_arena_reuse_realloc.
23178 * manual/probes.texi: Document them.
23180 * malloc/malloc.c (__libc_free): Add
23181 memory_mallopt_free_dyn_thresholds probe.
23182 (__libc_mallopt): Add multiple memory_mallopt probes.
23183 * manual/probes.texi: Document them.
23185 * malloc/malloc.c: Include stap-probe.h.
23186 (__libc_mallopt): Add memory_mallopt probe.
23187 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
23188 * manual/probes.texi: New.
23189 * manual/Makefile (chapters): Add probes.
23190 * manual/threads.texi: Set next node.
23192 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
23194 [BZ #15963, #13985]
23195 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
23196 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
23197 Add `Chinese' to `nan' entry name.
23199 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23201 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
23202 (POLYNOMIAL): Likewise.
23203 (TAYLOR_SINCOS): Likewise.
23204 (TAYLOR_SLOW): Likewise.
23205 (__sin): Use TAYLOR_SINCOS.
23207 (slow): Use TAYLOR_SLOW.
23209 (bsloww): Likewise.
23210 (csloww): Likewise.
23212 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23214 * stdlib/strtod_l.c: Fix buffer overrun.
23216 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23218 * benchtests/Makefile (bench): Add sincos.
23219 * benchtests/bench-sincos.c: New file.
23221 * math/libm-test.inc (cos_test_data): New test inputs.
23222 (sin_test_data): Likewise.
23224 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
23230 (sloww1): Likewise.
23231 (sloww2): Likewise.
23232 (bsloww1): Likewise.
23233 (bsloww2): Likewise.
23234 (cslow2): Likewise.
23235 (csloww1): Likewise.
23236 (csloww2): Likewise.
23238 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
23243 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
23247 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
23249 * config.h.in (HAVE_MIPS_NAN2008): New macro.
23250 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
23251 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
23252 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
23253 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
23254 * elf/cache.c (print_entry): Handle the new cache flags.
23256 2013-09-18 Joseph Myers <joseph@codesourcery.com>
23257 Aldy Hernandez <aldyh@redhat.com>
23259 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
23260 Change condition to [_SOFT_FLOAT].
23261 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
23262 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
23263 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
23264 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
23265 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
23266 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
23267 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
23268 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
23269 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
23270 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
23271 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
23272 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
23273 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
23274 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
23275 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
23276 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
23279 2013-09-18 Joseph Myers <joseph@codesourcery.com>
23281 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
23282 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23283 (__longjmp): Use LOAD_GP to load saved GPRs.
23284 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
23285 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23286 (__sigsetjmp): Use SAVE_GP to save GPRs.
23288 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
23289 Do not append -msoft-float.
23290 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
23292 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23294 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
23296 2013-09-17 Joseph Myers <joseph@codesourcery.com>
23299 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
23300 (_FPU_GETCW): Use initial "__" on variable and field names but not
23301 on macro parameter name.
23302 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
23303 parentheses around reference to macro parameter.
23305 2013-09-13 Richard Sandiford <richard@codesourcery.com>
23307 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
23309 (ctype_startup): Use uint32_t in cast and sizeof for
23312 2013-09-11 Jia Liu <proljc@gmail.com>
23314 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
23316 [__FreeBSD__]: Likewise.
23318 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
23320 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23321 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
23322 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
23323 (strchr): Remove __strchr_sse42 ifunc selection.
23324 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
23325 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
23327 2013-09-11 Will Newton <will.newton@linaro.org>
23329 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
23330 parameter to RES. Remove hardcoded 1000 value.
23331 * benchtests/bench-skeleton.c (main): Pass RES parameter
23332 to TIMING_INIT and multiply result by 1000.
23334 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23336 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23338 2013-09-11 Andreas Schwab <schwab@suse.de>
23340 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23342 (O_TMPFILE) [__USE_GNU]: Define.
23343 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
23346 2013-09-11 Will Newton <will.newton@linaro.org>
23349 * malloc/malloc.c (__libc_memalign): Check the value of bytes
23352 2013-09-11 Will Newton <will.newton@linaro.org>
23355 * malloc/malloc.c (__libc_valloc): Check the value of bytes
23358 2013-09-11 Will Newton <will.newton@linaro.org>
23361 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
23364 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
23366 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
23367 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23368 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23369 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23370 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23372 2013-09-10 Allan McRae <allan@archlinux.org>
23375 * manual/arith.texi (Parsing of Floats): Clarify
23379 * manual/install.texi (Running make install): Mention
23381 * INSTALL: Regenerated.
23383 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
23385 * csu/init-first.c (_init): Remove the !SHARED condition around
23386 FPU control word initialization.
23387 * elf/dl-support.c (_dl_fpu_control): New variable.
23388 (_dl_aux_init) <AT_FPUCW>: Initialize it.
23389 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
23390 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
23391 * math/test-fpucw-static.c: New file.
23392 * math/test-fpucw-ieee.c: New file.
23393 * math/test-fpucw-ieee-static.c: New file.
23394 * math/Makefile (tests): Add `test-fpucw-ieee' and
23396 (tests-static): New variable.
23397 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
23399 [($(build-shared),yes)]
23400 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
23402 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
23405 2013-09-09 Allan McRae <allan@archlinux.org>
23408 * manual/string.texi (Collation Functions): Fix typo in
23410 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
23413 * stdlib/isomac.c (get_null_defines): Fix memory leak.
23416 * libio/memstream.c (open_memstream): Fix memory leak.
23417 * libio/wmemstream.c (open_wmemstream): Likewise.
23420 * nscd/netgroupcache.c: Fix nesting of ifdefs.
23422 2013-09-09 Will Newton <will.newton@linaro.org>
23424 * malloc/Makefile: Add tst-realloc to tests.
23425 * malloc/tst-realloc.c: New file.
23427 2013-09-09 Allan McRae <allan@archlinux.org>
23430 * COPYING: Update from GNU website to fix FSF address.
23431 * COPYING.LIB: Likewise.
23433 2013-09-06 David S. Miller <davem@davemloft.net>
23435 * po/zh_TW.po: Update Chinese (traditional) translation from
23436 translation project.
23438 2013-09-06 Richard Sandiford <richard@codesourcery.com>
23439 Joseph Myers <joseph@codesourcery.com>
23441 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
23443 (obstack_chunk_alloc): New macro.
23444 (obstack_chunk_free): Likewise.
23445 (record_offset): New function.
23446 (init_locale_data): Likewise.
23447 (align_locale_data): Likewise.
23448 (add_locale_empty): Likewise.
23449 (add_locale_raw_data): Likewise.
23450 (add_locale_raw_obstack): Likewise.
23451 (add_locale_string): Likewise.
23452 (add_locale_wstring): Likewise.
23453 (add_locale_uint32): Likewise.
23454 (add_locale_uint32_array): Likewise.
23455 (add_locale_char): Likewise.
23456 (start_locale_structure): Likewise.
23457 (end_locale_structure): Likewise.
23458 (start_locale_prelude): Likewise.
23459 (end_locale_prelude): Likewise.
23460 (write_locale_data): Take locale_file structure rather than an
23462 * locale/programs/locfile.h: Include "obstack.h".
23463 (struct locale_file): Change to store locale file contents instead
23465 (init_locale_data): New prototype.
23466 (align_locale_data): Likewise.
23467 (add_locale_empty): Likewise.
23468 (add_locale_raw_data): Likewise.
23469 (add_locale_raw_obstack): Likewise.
23470 (add_locale_string): Likewise.
23471 (add_locale_wstring): Likewise.
23472 (add_locale_uint32): Likewise.
23473 (add_locale_uint32_array): Likewise.
23474 (add_locale_char): Likewise.
23475 (start_locale_structure): Likewise.
23476 (end_locale_structure): Likewise.
23477 (start_locale_prelude): Likewise.
23478 (end_locale_prelude): Likewise.
23479 (write_locale_data): Update prototype.
23480 * locale/programs/3level.h (struct TABLE): Remove result field.
23481 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
23482 Use new locale_file interface.
23483 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
23484 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
23485 * locale/programs/ld-address.c (address_output): Use new
23486 locale_file interface.
23487 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
23489 (collate_finish): Don't call collseq_table_finalize.
23490 (collate_output): Use new locale_file interface.
23491 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
23493 (NO_FINALIZE): Change to NO_ADD_LOCALE.
23494 (TABLE): Move defines earlier in file.
23495 (ELEMENT): Likewise.
23496 (DEFAULT): Likewise.
23497 (wctrans_table_add): Move macro and inline function earlier in
23499 (struct wctype_table): Move type earlier in file.
23500 (add_locale_wctype_table): New static prototype.
23501 (struct locale_ctype_t): Use logical types instead of struct iovec
23502 pointers for members.
23503 (ctype_output): Use new locale_file interface.
23504 (wctype_table_finalize): Change to add_locale_wctype_table. Use
23505 new locale_file interface.
23506 (allocate_arrays): Update for use of new locale_file interface.
23507 * locale/programs/ld-identification.c (identification_output): Use
23508 new locale_file interface.
23509 * locale/programs/ld-measurement.c (measurement_output): Likewise.
23510 * locale/programs/ld-messages.c (messages_output): Likewise.
23511 * locale/programs/ld-monetary.c (monetary_output): Likewise.
23512 * locale/programs/ld-name.c (name_output): Likewise.
23513 * locale/programs/ld-numeric.c (numeric_output): Likewise.
23514 * locale/programs/ld-paper.c (paper_output): Likewise.
23515 * locale/programs/ld-telephone.c (telephone_output): Likewise.
23516 * locale/programs/ld-time.c (time_output): Likewise.
23518 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23520 * benchtests/Makefile: Add memrchr benchmark.
23521 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
23522 benchmark as memrchr.
23523 * benchtests/bench-memrchr-ifunc.c: New file.
23524 * benchtests/bench-memrchr.c: New file.
23526 2013-09-06 Will Newton <will.newton@linaro.org>
23528 * benchtests/Makefile (string-bench): Add memcpy.
23530 2013-09-05 Carlos O'Donell <carlos@redhat.com>
23531 Cong Wang <amwang@redhat.com>
23534 * sysdeps/unix/sysv/linux/bits/in.h
23535 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
23536 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
23537 before __USE_KERNEL_IPV6_DEFS uses.
23538 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
23540 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
23541 sockaddr_in6, or ipv6_mreq.
23543 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23545 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
23546 memory access for final bytes in some large inputs.
23547 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
23549 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23551 * string/test-memrchr.c: New file.
23552 * string/test-memrchr-ifunc.c: New file.
23553 * string/Makefile: Add new memrchr testcase.
23555 2013-09-05 Mike Frysinger <vapier@gentoo.org>
23557 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
23558 fanotify_init returns EPERM.
23560 2013-09-04 Joseph Myers <joseph@codesourcery.com>
23562 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
23564 (top level): Treat second token from macro or constant entries for
23565 allowed headers as allowed.
23566 * include/complex.h: Condition internal declarations on
23568 * include/fenv.h: Condition include of <stdbool.h> and internal
23569 declarations on [!_ISOMAC].
23571 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
23574 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
23576 2013-09-04 Joseph Myers <joseph@codesourcery.com>
23578 * configure.in (--enable-versioning): Remove configure option.
23579 (libc_cv_asm_symver_directive): Remove configure test.
23580 (libc_cv_ld_version_script_option): Likewise.
23581 (VERSIONING): Remove variable and AC_SUBST.
23582 (DO_VERSIONING): Remove AC_DEFINE.
23583 * configure: Regenerated.
23584 * config.h.in (DO_VERSIONING): Remove macro.
23585 * Makerules [$(versioning) = yes]: Change conditionals to
23586 [$(build-shared) = yes].
23587 * config.make.in (versioning): Remove variable.
23588 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
23589 [$(build-shared) = yes].
23590 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
23591 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
23592 * elf/Makefile [$(versioning) = yes]: Change conditionals to
23593 [$(build-shared) = yes].
23594 * extra-lib.mk [$(versioning) = yes]: Likewise.
23595 * hurd/Makefile [$(versioning) = yes]: Likewise.
23596 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
23598 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
23600 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23601 [SHARED && !NO_HIDDEN].
23602 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
23604 [SHARED && DO_VERSIONING]: Likewise..
23605 * libio/Makefile [$(versioning) = yes]: Change conditionals to
23606 [$(build-shared) = yes].
23607 * manual/install.texi (--disable-versioning): Remove
23609 * INSTALL: Regenerated.
23610 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
23612 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
23613 [$(build-shared) = yes].
23614 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
23615 * sysdeps/i386/i686/multiarch/strstr-c.c
23616 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23617 [SHARED && !NO_HIDDEN].
23618 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
23619 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
23620 * sysdeps/powerpc/powerpc32/dl-machine.c
23621 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
23622 * sysdeps/powerpc/powerpc32/sysdep.h
23623 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
23624 to [SHARED && PIC && !NO_HIDDEN].
23625 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
23626 conditional to [SHARED].
23628 2013-09-04 Will Newton <will.newton@linaro.org>
23630 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
23631 * benchtests/bench-string.h: Include bench-timing.h instead
23632 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
23633 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
23634 call to HP_TIMING_DIFF_INIT.
23635 * benchtests/bench-memccpy.c: Use bench-timing.h macros
23636 instead of hp-timing.h macros.
23637 * benchtests/bench-memchr.c: Likewise.
23638 * benchtests/bench-memcmp.c: Likewise.
23639 * benchtests/bench-memcpy.c: Likewise.
23640 * benchtests/bench-memmem.c: Likewise.
23641 * benchtests/bench-memmove.c: Likewise.
23642 * benchtests/bench-memset.c: Likewise.
23643 * benchtests/bench-rawmemchr.c: Likewise.
23644 * benchtests/bench-strcasecmp.c: Likewise.
23645 * benchtests/bench-strcasestr.c: Likewise.
23646 * benchtests/bench-strcat.c: Likewise.
23647 * benchtests/bench-strchr.c: Likewise.
23648 * benchtests/bench-strcmp.c: Likewise.
23649 * benchtests/bench-strcpy.c: Likewise.
23650 * benchtests/bench-strcpy_chk.c: Likewise.
23651 * benchtests/bench-strlen.c: Likewise.
23652 * benchtests/bench-strncasecmp.c: Likewise.
23653 * benchtests/bench-strncat.c: Likewise.
23654 * benchtests/bench-strncmp.c: Likewise.
23655 * benchtests/bench-strncpy.c: Likewise.
23656 * benchtests/bench-strnlen.c: Likewise.
23657 * benchtests/bench-strpbrk.c: Likewise.
23658 * benchtests/bench-strrchr.c: Likewise.
23659 * benchtests/bench-strspn.c: Likewise.
23660 * benchtests/bench-strstr.c: Likewise.
23662 2013-09-04 Will Newton <will.newton@linaro.org>
23664 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
23666 2013-09-03 Joseph Myers <joseph@codesourcery.com>
23669 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
23670 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
23671 * math/libm-test.inc (lgamma_test_data): Add more tests.
23672 * sysdeps/i386/fpu/libm-test-ulps: Update.
23673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23675 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
23677 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
23678 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23680 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23681 Add strcmp-sse2-unaligned
23682 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
23684 2013-09-02 Mike Frysinger <vapier@gentoo.org>
23686 * Versions.def (libc): Add GLIBC_2.19.
23688 2013-09-02 Mike Frysinger <vapier@gentoo.org>
23690 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
23691 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
23693 2013-09-02 Joseph Myers <joseph@codesourcery.com>
23696 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
23697 intermediate calculations in recurrence.
23698 (__ieee754_ynf): Likewise.
23699 * math/libm-test.inc (jn_test_data): Do not allow spurious
23700 underflow exception. Add more tests.
23701 (yn_test_data): Add more tests.
23702 * sysdeps/i386/fpu/libm-test-ulps: Update.
23703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23705 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
23707 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
23709 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
23711 * csu/init-first.c: Fix then/than typos.
23712 * locale/programs/ld-collate.c: Likewise.
23713 * locale/programs/linereader.h: Likewise.
23714 * manual/charset.texi: Likewise.
23715 * manual/filesys.texi: Likewise.
23716 * manual/stdio.texi: Likewise.
23717 * manual/string.texi: Likewise.
23718 * stdlib/fmtmsg.c: Likewise.
23719 * sysdeps/i386/stpncpy.S: Likewise.
23720 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23721 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23722 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23723 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23725 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
23727 * elf/dl-open.c: Fix typos.
23728 * iconvdata/gbbig5.c: Likewise.
23729 * iconvdata/iso-2022-jp.c: Likewise.
23730 * iconv/gconv_int.h: Likewise.
23731 * iconv/loop.c: Likewise.
23732 * nis/rpcsvc/nis.h: Likewise.
23733 * resolv/ns_name.c: Likewise.
23734 * stdio-common/vfscanf.c: Likewise.
23735 * streams/stropts.h: Likewise.
23736 * sunrpc/rpc_thread.c: Likewise.
23737 * sysdeps/i386/strpbrk.S: Likewise.
23738 * sysdeps/ieee754/k_standard.c: Likewise.
23739 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23740 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23741 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
23742 * sysdeps/mach/hurd/profil.c: Likewise.
23743 * sysdeps/s390/dl-procinfo.h: Likewise.
23744 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
23745 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
23746 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
23747 * sysdeps/x86_64/dl-trampoline.S: Likewise.
23748 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23750 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
23752 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
23753 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
23755 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
23757 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
23758 aix specific files.
23759 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
23760 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
23761 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
23762 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
23763 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
23764 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
23765 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
23766 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
23768 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23769 Roland McGrath <roland@hack.frob.com>
23771 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
23772 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
23774 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
23776 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
23777 __executable_start symbol instead of _start.
23779 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23781 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
23782 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
23784 * sysdeps/gnu/ldsodefs.h: ... this new file.
23786 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
23787 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
23788 instead of ELFOSABI_LINUX.
23790 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
23791 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
23792 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
23793 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
23795 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
23796 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
23797 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
23799 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23800 (ibm_extended_long_double): Add ieee_nan member.
23801 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
23802 (do_test): New function.
23804 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
23806 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
23807 functions, renamed from truncdfsf_test, trunctfsf_test,
23809 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
23811 (do_test): Run all these.
23813 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
23815 * argp/argp-help.c: Fix typos.
23816 * argp/argp-parse.c: Likewise.
23817 * debug/backtracesyms.c: Likewise.
23818 * elf/elf.h: Likewise.
23819 * malloc/malloc.c: Likewise.
23820 * nis/nis_print.c: Likewise.
23821 * resolv/res_comp.c: Likewise.
23822 * stdlib/stdlib.h: Likewise.
23823 * sunrpc/clnt_tcp.c: Likewise.
23824 * sunrpc/clnt_udp.c: Likewise.
23825 * sunrpc/clnt_unix.c: Likewise.
23826 * sysdeps/unix/bsd/ptsname.c: Likewise.
23827 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
23828 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
23829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
23831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
23833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23835 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23837 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23839 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
23840 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23842 2013-08-27 Mike Frysinger <vapier@gentoo.org>
23845 * dlfcn/Makefile (tests): Add bug-dl-leaf.
23846 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
23847 ($(objpfx)bug-dl-leaf): New rule.
23848 ($(objpfx)bug-dl-leaf.so): Likewise.
23849 ($(objpfx)bug-dl-leaf.out): Likewise.
23850 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
23851 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
23852 * dlfcn/bug-dl-leaf.c: New test.
23853 * dlfcn/bug-dl-leaf-lib.c: Likewise.
23854 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
23855 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
23856 (dlclose): Likewise.
23857 (dlmopen): Likewise.
23859 2013-08-27 Roland McGrath <roland@hack.frob.com>
23861 * include/netdb.h [!_ISOMAC]:
23862 Don't include <tls.h>.
23863 (h_errno, __libc_h_errno): Move declaration and macros out of
23866 * include/resolv.h [_RESOLV_H_]:
23867 Don't include <tls.h>.
23868 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
23869 * resolv/res_libc.c: Don't include <tls.h>.
23870 (_res): Use __attribute__ ((nocommon)) in place of
23871 __attribute__ ((section (".bss"))).
23873 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
23874 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
23876 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
23878 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
23879 only under [SIOCGIFCONF && SIOCGIFNETMASK].
23881 * resolv/res_mkquery.c: Include <sys/time.h>.
23883 * inet/ifreq.c: Moved to ...
23884 * sysdeps/unix/ifreq.c: ... here.
23885 * inet/ifreq.c: New file, true stub version.
23887 * socket/sa_len.c: New file.
23888 * socket/Makefile (aux): Add it.
23889 * sysdeps/unix/sysv/linux/Makefile
23890 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
23891 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
23892 and #include <socket/sa_len.c>.
23893 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
23894 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
23896 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
23897 * bits/socket.h: ... here.
23899 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
23900 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
23901 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
23903 2013-08-27 Andreas Schwab <schwab@suse.de>
23906 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
23907 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
23908 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
23909 * string/test-strcasecmp.c (test_main): Run tests in several
23911 * string/test-strncasecmp.c (test_main): Likewise.
23913 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
23914 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
23915 to __strcasecmp_nonascii and __strncasecmp_nonascii.
23916 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
23917 (__strncasecmp_ssse3) [PIC]: Likewise.
23919 2013-08-26 Roland McGrath <roland@hack.frob.com>
23921 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
23923 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
23924 instead of explicitly declaring xdecrypt.
23925 * nis/nss_nis/nis-publickey.c: Likewise.
23927 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23930 * nscd/aicache.c: Include res_hconf.h.
23931 (addhstaiX): Initialize res_hconf.
23933 2013-08-26 Andreas Schwab <schwab@suse.de>
23935 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
23936 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
23938 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23940 * nscd/aicache.c (addhstaiX): Fix indentation.
23942 2013-08-25 Mike Frysinger <vapier@gentoo.org>
23944 * configure.ac: Quote $build_pt_chown test.
23945 * configure: Regenerated.
23947 2013-08-23 Joseph Myers <joseph@codesourcery.com>
23950 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
23951 * math/s_cexpf.c (__cexpf): Likewise.
23952 * math/s_cexpl.c (__cexpl): Likewise.
23953 * math/libm-test.inc (cexp_test_data): Correct expected return
23954 value for NaN + i0. Add another test.
23956 2013-08-22 David S. Miller <davem@davemloft.net>
23958 * po/ca.po: Update Catalan translation from translation project.
23959 * po/uk.po: Add Ukrainian translations from translation project.
23961 2013-08-21 Joseph Myers <joseph@codesourcery.com>
23964 * math/s_fdim.c (__fdim): Check for infinite arguments if result
23965 is infinite, not alongside NaN test.
23966 * math/s_fdimf.c (__fdimf): Likewise.
23967 * math/s_fdiml.c (__fdiml): Likewise.
23968 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
23969 errno is unchanged.
23971 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
23973 * argp/argp-help.c: Fix typos.
23974 * crypt/speeds.c: Likewise.
23975 * csu/check_fds.c: Likewise.
23976 * elf/dl-load.c: Likewise.
23977 * elf/dl-open.c: Likewise.
23978 * elf/reldep3.c: Likewise.
23979 * elf/reldep.c: Likewise.
23980 * elf/sprof.c: Likewise.
23981 * iconv/iconv_charmap.c: Likewise.
23982 * iconv/skeleton.c: Likewise.
23983 * iconv/strtab.c: Likewise.
23984 * io/lockf64.c: Likewise.
23985 * libio/libioP.h: Likewise.
23986 * resolv/gai_notify.c: Likewise.
23987 * resolv/ns_name.c: Likewise.
23988 * resolv/ns_samedomain.c: Likewise.
23989 * resolv/res_send.c: Likewise.
23990 * stdlib/random.c: Likewise.
23991 * sunrpc/rpc/xdr.h: Likewise.
23992 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
23993 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23994 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23995 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23996 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23997 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23998 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23999 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24000 * sysdeps/mach/hurd/check_fds.c: Likewise.
24001 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24002 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24003 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24004 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24005 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24006 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24007 * sysdeps/pthread/aio_notify.c: Likewise.
24008 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
24009 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
24010 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
24011 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24012 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24014 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24016 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
24017 version if bit_Slow_SSE4_2 is set.
24018 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24019 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24021 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24024 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
24025 trampoline stack frame information.
24026 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
24027 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
24028 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
24029 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
24030 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
24031 * sysdeps/unix/sysv/linux/powerpc/init-first.c
24032 (_libc_vdso_platform_setup): Initialize the signal trampolines.
24033 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
24035 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
24036 interrupting a syscall and set with option SA_SIGINFO.
24038 2013-08-20 Joseph Myers <joseph@codesourcery.com>
24041 * math/s_cproj.c (__cproj): Only return an infinity if one part of
24042 argument is infinite.
24043 * math/s_cprojf.c (__cprojf): Likewise.
24044 * math/s_cprojl.c (__cprojl): Likewise.
24045 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
24046 * math/libm-test.inc (cproj_test_data): Add more tests.
24048 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
24050 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
24051 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
24052 size. Use __ffs to determine corresponding shift.
24054 2013-08-20 Joseph Myers <joseph@codesourcery.com>
24055 Roland McGrath <roland@hack.frob.com>
24057 * Makefile (INSTALL): Remove trailing blank lines from output of
24060 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24062 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
24063 Align 32 bit compat elf_greg to 8 bytes.
24065 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
24067 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
24069 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24071 * string/strcoll_l.c (coll_seq): New structure.
24072 (get_next_seq_cached): New function.
24073 (get_next_seq): New function.
24074 (do_compare): New function.
24075 (STRCOLL): Use GNU style definition. Simplify implementation
24076 by using get_next_seq, get_next_seq_cached and do_compare.
24078 2013-08-16 Florian Weimer <fweimer@redhat.com>
24082 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
24084 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
24086 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
24087 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
24088 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
24090 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
24091 GETDENTS_64BIT_ALIGNED.
24092 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24093 * manual/filesys.texi (Reading/Closing Directory): Document
24094 ENAMETOOLONG return value of readdir_r. Recommend readdir more
24096 * manual/conf.texi (Limits for Files): Add portability note to
24097 NAME_MAX, PATH_MAX.
24098 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
24100 2013-08-13 Andreas Schwab <schwab@suse.de>
24103 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
24105 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
24106 LDBL_MAX_EXP >= 16384]: Add tests for it.
24108 2013-08-12 David S. Miller <davem@davemloft.net>
24110 * version.h (RELEASE): Set to "development".
24111 (VERSION): Set to "2.18.90".
24112 * NEWS: Add 2.19 section.
24114 2013-08-03 David S. Miller <davem@davemloft.net>
24116 * po/ko.po: Update Korean translation from translation project.
24118 2013-08-01 David S. Miller <davem@davemloft.net>
24120 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
24121 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
24124 2013-07-30 David S. Miller <davem@davemloft.net>
24126 * po/fr.po: Update French translation from translation project.
24128 2013-07-28 David S. Miller <davem@davemloft.net>
24130 * po/cs.po: Update Czech translation from translation project.
24132 * po/sv.po: Update Swedish translation from translation project.
24134 2013-07-27 David S. Miller <davem@davemloft.net>
24136 * po/eo.po: Update Esperanto translation from translation project.
24138 * po/vi.po: Update Vietnamese translation from translation project.
24140 * po/de.po: Update German translation from translation project.
24142 2013-07-26 David S. Miller <davem@davemloft.net>
24144 * po/bg.po: Update Bulgarian translation from translation project.
24146 * po/nl.po: Update Dutch translation from translation project.
24147 * po/pl.po: Update Polish translation from translation project.
24148 * po/ru.po: Update Russian translation from translation project.
24150 2013-07-24 David S. Miller <davem@davemloft.net>
24152 * po/libc.pot: Update.
24154 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24156 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
24157 variable page size.
24158 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
24159 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
24160 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
24162 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24164 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
24166 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24167 Andreas Schwab <schwab@suse.de>
24168 Roland McGrath <roland@hack.frob.com>
24169 Joseph Myers <joseph@codesourcery.com>
24170 Carlos O'Donell <carlos@redhat.com>
24173 * config.h.in: Define HAVE_PT_CHOWN.
24174 * config.make.in (build-pt-chown): New variable.
24175 * configure.in (--enable-pt_chown): New configure option.
24176 * configure: Regenerate.
24177 * login/Makefile: Include Makeconfig. Build pt_chown only if
24178 build-pt-chown is enabled.
24179 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
24180 pt_chown to fix pty ownership.
24181 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
24183 * manual/install.texi (Configuring and compiling): Mention
24184 --enable-pt_chown. Add @findex for grantpt.
24185 * INSTALL: Regenerate.
24187 2013-07-20 David S. Miller <davem@davemloft.net>
24189 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
24190 difference between 32-bit and 64-bit.
24192 2013-07-15 Carlos O'Donell <carlos@redhat.com>
24195 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
24196 Avoid system header dependency with -ffreestanding.
24197 ($(objpfx)bits/syscall%d): Likewise.
24199 2013-07-13 David S. Miller <davem@davemloft.net>
24201 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
24202 underflows from atanl/atan2l due to bug 15319.
24203 (casinh_test_data): Likewise.
24205 2013-07-07 David S. Miller <davem@davemloft.net>
24207 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24209 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
24211 * sysdeps/i386/fpu/libm-test-ulps: Update.
24212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24214 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24216 * configure.in (--enable-lock-elision): Fix message text.
24217 * INSTALL: Regenerate.
24218 * configure: Regenerate.
24220 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24222 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24224 2013-07-03 Andreas Jaeger <aj@suse.de>
24226 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
24228 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
24229 (ptrace_peeksiginfo_args): Add.
24230 (__ptrace_peeksiginfo_flags): Add.
24231 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24232 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24233 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24235 2013-07-03 Allan McRae <allan@archlinux.org>
24237 * sysdeps/i386/fpu/libm-test-ulps: Update.
24239 2013-07-02 David S. Miller <davem@davemloft.net>
24241 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24243 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
24245 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24247 2013-07-02 Joseph Myers <joseph@codesourcery.com>
24249 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24252 2013-07-02 Andi Kleen <ak@linux.intel.com>
24254 * config.h.in (ENABLE_LOCK_ELISION): Add.
24255 * configure.in (--enable-lock-elision): Add option.
24256 * manual/install.texi: Document --enable lock elision.
24257 * configure: Regenerate
24258 * INSTALL: Regenerate.
24260 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
24262 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
24263 SSE4.2 strcasecmp for libc.a.
24264 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24266 2013-07-02 Joseph Myers <joseph@codesourcery.com>
24269 * soft-fp/op-common.h (_FP_FMA): New macro.
24270 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
24271 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
24272 (_FP_MUL_MEAT_1_imm): ... here.
24273 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
24274 (_FP_MUL_MEAT_1_wide): ... here.
24275 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
24276 (_FP_MUL_MEAT_1_hard): ... here.
24277 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
24278 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
24279 (_FP_MUL_MEAT_2_wide): ... here.
24280 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
24281 (_FP_MUL_MEAT_2_wide_3mul): ... here.
24282 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
24283 (_FP_MUL_MEAT_2_gmp): ... here.
24284 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
24285 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
24286 (_FP_MUL_MEAT_4_wide): ... here.
24287 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
24288 (_FP_MUL_MEAT_4_gmp): ... here.
24289 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
24290 (_FP_WFRACBITS_DW_S): Likewise.
24291 (_FP_WFRACXBITS_DW_S): Likewise.
24292 (_FP_HIGHBIT_DW_S): Likewise.
24293 (FP_FMA_S): Likewise.
24294 (_FP_FRAC_HIGH_DW_S): Likewise.
24295 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
24296 (_FP_WFRACBITS_DW_D): Likewise.
24297 (_FP_WFRACXBITS_DW_D): Likewise.
24298 (_FP_HIGHBIT_DW_D): Likewise.
24299 (FP_FMA_D): Likewise.
24300 (_FP_FRAC_HIGH_DW_D): Likewise.
24301 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
24302 (_FP_WFRACBITS_DW_E): Likewise.
24303 (_FP_WFRACXBITS_DW_E): Likewise.
24304 (_FP_HIGHBIT_DW_E): Likewise.
24305 (FP_FMA_E): Likewise.
24306 (_FP_FRAC_HIGH_DW_E): Likewise.
24307 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
24308 (_FP_WFRACBITS_DW_Q): Likewise.
24309 (_FP_WFRACXBITS_DW_Q): Likewise.
24310 (_FP_HIGHBIT_DW_Q): Likewise.
24311 (FP_FMA_Q): Likewise.
24312 (_FP_FRAC_HIGH_DW_Q): Likewise.
24313 * soft-fp/fmasf4.c: New file.
24314 * soft-fp/fmadf4.c: Likewise.
24315 * soft-fp/fmatf4.c: Likewise.
24317 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24319 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24320 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
24322 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
24324 (index_Slow_SSE4_2): Likewise.
24325 (index_Prefer_PMINUB_for_stringop): Likewise.
24326 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
24327 bit_Slow_SSE4_2 is set.
24328 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24329 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24331 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24333 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
24334 rtld_global._dl_hwcap2.
24335 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
24337 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
24338 POWER8 feature descriptions defined in _dl_hwcap2.
24339 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
24340 string handling for POWER8 feature bits.
24341 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
24342 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
24343 _dl_powerpc_cap_flags.
24344 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
24345 * sysdeps/powerpc/rtld-global-offsets.sym
24346 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
24347 _dl_hwcap2 in the rtld_global_ro structure.
24349 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24351 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
24352 hardware capabilities in support of AT_HWCAP2.
24353 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
24354 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
24356 (_dl_show_auxv): Add support for calling _dl_procinfo to display
24357 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
24358 explicitly the unknown a_type display mechanism is used.
24359 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
24360 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
24362 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
24363 to macro prototype for AT_HWCAP2 support.
24364 * sysdeps/i386/dl-procinfo.h: Likewise.
24365 * sysdeps/s390/dl-procinfo.h: Likewise.
24366 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
24367 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
24368 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
24369 return -1 for unknown a_type display fallback.
24370 * sysdeps/sparc/dl-procinfo.h: Likewise.
24371 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
24372 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
24374 2013-06-28 Joseph Myers <joseph@codesourcery.com>
24376 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
24377 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
24379 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
24382 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
24383 mprotect making __stack_prot writable.
24385 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
24386 Joseph Myers <joseph@codesourcery.com>
24388 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
24389 as being properly aligned.
24391 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
24393 * dlfcn/modstatic5.c: New file.
24394 * dlfcn/tststatic5.c: New file.
24395 * dlfcn/Makefile (tests): Add tststatic5.
24396 (tests-static): Likewise.
24397 (modules-names): Add modstatic5.
24398 (tststatic5-ENV): New variable.
24399 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
24402 * elf/dl-support.c (_dl_main_map): New variable.
24403 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
24404 (_dl_nns, _dl_load_adds): Set to 1.
24405 (_dl_initial_searchlist): Refer to _dl_main_map.
24406 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
24407 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
24408 call to _dl_get_origin.
24409 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
24411 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
24412 * dlfcn/modstatic3.c: New file.
24413 * dlfcn/tststatic3.c: New file.
24414 * dlfcn/tststatic4.c: New file.
24415 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
24416 (tests-static): Likewise.
24417 (modules-names): Add modstatic3.
24418 (tststatic3-ENV, tststatic4-ENV): New variables.
24419 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
24420 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
24422 2013-06-26 Joseph Myers <joseph@codesourcery.com>
24424 * configure.in (CC): Require GCC version 4.4 or later.
24425 * configure: Regenerated.
24426 * manual/install.texi (Tools for Compilation): Update GCC version
24428 * INSTALL: Regenerated.
24430 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24433 * string/test-memcmp.c (check2): New.
24434 (main): Call check2.
24436 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
24438 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
24441 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
24443 (dl_open_worker) [!SHARED]: ... here.
24445 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24447 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
24449 2013-06-25 Richard Henderson <rth@redhat.com>
24451 * locale/programs/locarchive.c: Include <libc-internal.h>
24453 2013-06-25 Joseph Myers <joseph@codesourcery.com>
24455 * manual/texinfo.tex: Update to version 2013-06-21.17, with
24456 trailing whitespace removed.
24458 2013-06-24 Mike Frysinger <vapier@gentoo.org>
24461 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
24462 * locale/programs/locarchive.c: Include libc-mmap.h.
24463 (prepare_address_space): Take two new outputs (the mmap base and len).
24464 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
24466 (create_archive): Declare new mmap base and len values for
24467 prepare_address_space, and store the result in ah.
24468 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
24469 (enlarge_archive): If ah->mmap_base is not NULL, use that and
24470 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24471 Declare new mmap base and len values for
24472 prepare_address_space, and store the result in new_ah.
24473 (open_archive): Declare new mmap base and len values for
24474 prepare_address_space, and store the result in ah.
24475 (close_archive): If ah->mmap_base is not NULL, use that and
24476 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24477 * sysdeps/generic/libc-mmap.h: New file.
24479 2013-06-24 Mike Frysinger <vapier@gentoo.org>
24481 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
24482 (ALIGN_UP): Likewise.
24483 (PTR_ALIGN_DOWN): Likewise.
24484 (PTR_ALIGN_UP): Likewise.
24486 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24488 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
24489 entry mapped to PPC_PLATFORM_POWER8.
24490 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
24492 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
24493 (_dl_string_platform): Add case for exporting platform position for
24495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
24496 search path to sysdeps/powerpc/powerpc32/power8 directory.
24497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
24498 search path to sysdeps/powerpc/powerpc64/power8 directory.
24499 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
24500 power7 directories.
24501 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
24502 power7 directories.
24504 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24506 * INSTALL: Regenerate.
24508 * nscd/connections.c (nscd_init): Fix comment.
24510 2013-06-22 Joseph Myers <joseph@codesourcery.com>
24512 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
24515 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
24516 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
24518 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
24520 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
24522 (DL_DST_REQ_STATIC): Remove macro.
24524 2013-06-21 Joseph Myers <joseph@codesourcery.com>
24527 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
24528 with a shift of 0 bits.
24530 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
24532 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
24535 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24538 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
24540 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24542 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
24543 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
24544 accepts -fno-tree-loop-distribute-patterns.
24545 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
24546 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
24548 * string/memset.c (memset): Likewise.
24549 * string/test-memmove.c (simple_memmove): Disable loop transformation
24551 * string/test-memset.c (simple_memset): Likewise.
24552 * benchtests/bench-memmove.c (simple_memmove): Likewise.
24553 * benchtests/bench-memset.c (simple_memset): Likewise.
24554 * configure: Regenerated.
24556 2013-06-20 Joseph Myers <joseph@codesourcery.com>
24558 * math/test-misc.c (main): Ignore fesetround failure when failures
24559 of subsequent rounding tests would be ignored.
24562 * math/fedisblxcpt.c (fedisableexcept): Return 0.
24563 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
24564 * math/fegetenv.c (__fegetenv): Return 0.
24565 * math/fegetexcept.c (fegetexcept): Return 0.
24566 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
24568 * math/feholdexcpt.c (feholdexcept): Return 0.
24569 * math/fesetenv.c (__fesetenv): Return 0.
24570 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
24571 argument FE_TONEAREST.
24572 * math/feupdateenv.c (__feupdateenv): Return 0.
24573 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
24575 2013-06-18 Roland McGrath <roland@hack.frob.com>
24577 * elf/rtld-Rules (rtld-compile-command.S): New variable.
24578 (rtld-compile-command.s, rtld-compile-command.c): New variables.
24579 ($(objpfx)rtld-%.os rules): Use them.
24581 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24583 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
24586 2013-06-17 Roland McGrath <roland@hack.frob.com>
24588 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
24589 length of target pattern, then descending length of dependency pattern.
24590 * configure.in (AWK): Require gawk 3.1.2 or newer.
24591 * manual/install.texi (Tools for Compilation): Say that we do.
24592 * configure: Regenerated.
24594 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
24595 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
24596 * scripts/sysd-rules.awk: ... this new script.
24597 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
24598 than a glob-style pattern.
24600 2013-06-17 Joseph Myers <joseph@codesourcery.com>
24602 * math/test-misc.c (main): Do not treat incorrectly rounded
24603 conversions as failure unless ROUNDING_TESTS passes.
24605 2013-06-15 Joseph Myers <joseph@codesourcery.com>
24608 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
24609 restore exception state around main square root computation, then
24610 check for inexactness explicitly.
24612 * math/libm-test.inc (fma_test_data): Add another test.
24614 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24616 * manual/threads.texi (Non-POSIX Extensions): New document
24617 node. Document pthread_getattr_default_np and
24618 pthread_setattr_default_np.
24620 * Versions.def (libpthread): Add GLIBC_2.18.
24621 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
24622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24628 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24630 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
24632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24634 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24636 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24638 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24641 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24643 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24644 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
24646 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24647 H.J. Lu <hjl.tools@gmail.com>
24650 * sysdeps/x86_64/rtld-memset.c: Remove file.
24651 * sysdeps/x86_64/rtld-memset.S: New file.
24653 2013-06-14 Joseph Myers <joseph@codesourcery.com>
24655 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
24656 (test_in_one_mode): Take arguments for whether the rounding mode
24657 is supported for each floating-point type.
24658 (do_test): Pass new arguments to test_in_one_mode using
24661 2013-06-13 Roland McGrath <roland@hack.frob.com>
24663 * posix/tst-waitid.c (do_test): Distinguish different instances of
24664 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
24665 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
24666 before entering the kernel for waitpid.
24668 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24670 * NEWS: Fix note on clock function precision. Text by Roland
24673 2013-06-13 Roland McGrath <roland@hack.frob.com>
24675 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
24676 it into place only when and if the sanity check passes.
24678 2013-06-13 Joseph Myers <joseph@codesourcery.com>
24680 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
24681 output for whether conversion result is exact. Take argument
24682 indicating whether type is IBM long double.
24683 (round_for_all): Change need_exact field to ibm_ld.
24684 * stdlib/tst-strtod-round.c (struct exactness): New type.
24685 (struct test): Change bool ld_ok field to struct exactness exact.
24686 (TEST): Update all definitions for change to field.
24687 (tests): Regenerate array contents.
24688 (test_in_one_mode): Take pointer to new field instead of old ld_ok
24689 field value. Check for IBM long double here.
24690 (do_test): Update calls to test_in_one_mode.
24692 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24695 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
24696 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
24698 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24701 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
24702 generated by the compiler on loop optimizations.
24703 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
24704 general definitions.
24706 2013-06-12 Joseph Myers <joseph@codesourcery.com>
24708 * math/bug-nextafter.c: Include <math-tests.h>.
24709 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24711 * math/bug-nexttoward.c: Include <math-tests.h>.
24712 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24714 * math/test-misc.c: Include <math-tests.h>.
24715 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24718 2013-06-12 Andreas Jaeger <aj@suse.de>
24720 * po/ia.po: Update Interlingua translation from translation
24723 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24725 * include/fenv.h: Include stdbool.h.
24726 (struct rm_ctx): New structure.
24727 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
24729 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
24730 (SET_RESTORE_ROUNDF): Likewise.
24731 (SET_RESTORE_ROUNDL): Likewise.
24732 (SET_RESTORE_ROUND_NOEX): Likewise.
24733 (SET_RESTORE_ROUND_NOEXF): Likewise.
24734 (SET_RESTORE_ROUND_NOEXL): Likewise.
24735 (SET_RESTORE_ROUND_53BIT): Likewise.
24736 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
24737 (libc_feresetround_noexf_ctx): Likewise.
24738 (libc_feresetround_noexl_ctx): Likewise.
24739 (libc_feholdsetround_53bit_ctx): Likewise.
24740 (libc_feresetround_53bit_ctx): Likewise.
24741 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
24742 (libc_feholdexcept_setround_sse_ctx): New function.
24743 (libc_fesetenv_sse_ctx): Likewise.
24744 (libc_feupdateenv_sse_ctx): Likewise.
24745 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
24746 (libc_feholdexcept_setround_387_ctx): Likewise.
24747 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
24748 (libc_feholdsetround_387_prec_ctx): Likewise.
24749 (libc_feholdsetround_387_ctx): Likewise.
24750 (libc_feholdsetround_387_53bit_ctx): Likewise.
24751 (libc_feholdsetround_sse_ctx): Likewise.
24752 (libc_feresetround_sse_ctx): Likewise.
24753 (libc_feresetround_387_ctx): Likewise.
24754 (libc_feupdateenv_387_ctx): Likewise.
24755 (libc_feholdexcept_setroundf_ctx): Define macro.
24756 (libc_fesetenvf_ctx): Likewise.
24757 (libc_feupdateenvf_ctx): Likewise.
24758 (libc_feholdsetroundf_ctx): Likewise.
24759 (libc_feresetroundf_ctx): Likewise.
24760 (libc_feholdexcept_setround_ctx): Likewise.
24761 (libc_fesetenv_ctx): Likewise.
24762 (libc_feupdateenv_ctx): Likewise.
24763 (libc_feholdsetround_ctx): Likewise.
24764 (libc_feresetround_ctx): Likewise.
24765 (libc_feholdexcept_setroundl_ctx): Likewise.
24766 (libc_feupdateenvl_ctx): Likewise.
24767 (libc_feholdsetroundl_ctx): Likewise.
24768 (libc_feresetroundl_ctx): Likewise.
24769 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
24770 (libc_feresetround_53bit_ctx): Likewise.
24772 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24774 * locale/iso-639.def: Convert to UTF-8.
24776 2013-06-11 Joseph Myers <joseph@codesourcery.com>
24778 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
24779 (EXCEPTION_TESTS_double): Likewise.
24780 (EXCEPTION_TESTS_long_double): Likewise.
24781 (EXCEPTION_TESTS): Likewise.
24782 * math/libm-test.inc (test_exceptions): Only test exceptions if
24783 EXCEPTION_TESTS (FLOAT).
24785 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24787 * benchtests/Makefile (string-bench): Add strcpy_chk and
24789 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
24790 * benchtests/bench-stpcpy_chk.c: New file.
24791 * benchtests/bench-strcpy_chk-ifunc.c: New file.
24792 * benchtests/bench-strcpy_chk.c: New file.
24793 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
24795 (do_test): Likewise.
24797 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24799 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
24800 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
24801 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
24802 with tabs where appropriate.
24803 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
24805 [PPC_PLATFORM_PPC440]: Likewise.
24806 [PPC_PLATFORM_PPC464]: Likewise.
24807 [PPC_PLATFORM_PPC476]: Likewise.
24808 (_dl_string_platform): Add support for detecting ppc405, ppc440,
24809 ppc464, and ppc476 platform strings merging from ports/
24812 2013-06-11 Andreas Schwab <schwab@suse.de>
24815 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
24816 (from_ucs4_idx): Regenerate.
24817 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
24818 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
24819 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
24820 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
24821 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
24822 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
24823 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
24824 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
24825 from FROM_LOOP and TO_LOOP specific macros.
24826 (BODY): Handle combining characters.
24827 * iconvdata/BIG5HKSCS.irreversible: Update.
24828 * iconvdata/BIG5HKSCS.precomposed: New file.
24829 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
24831 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
24833 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24835 * include/sys/time.h: Fix indentation and add copyright header.
24837 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
24838 (do_test): Likewise.
24839 * string/test-memchr.c (do_one_test): Likewise.
24840 (do_test): Likewise.
24841 * string/test-memcmp.c (do_one_test): Likewise.
24842 (do_test): Likewise.
24843 * string/test-memcpy.c (do_one_test): Likewise.
24844 (do_test): Likewise.
24845 * string/test-memmem.c (do_one_test): Likewise.
24846 (do_test): Likewise.
24847 (do_random_tests): Likewise.
24848 * string/test-memmove.c (do_one_test): Likewise.
24849 (do_test): Likewise.
24850 * string/test-memset.c (do_one_test): Likewise.
24851 (do_test): Likewise.
24852 * string/test-rawmemchr.c (do_one_test): Likewise.
24853 (do_test): Likewise.
24854 * string/test-strcasecmp.c (do_one_test): Likewise.
24855 (do_test): Likewise.
24856 * string/test-strcasestr.c (do_one_test): Likewise.
24857 (do_test): Likewise.
24858 * string/test-strcat.c (do_one_test): Likewise.
24859 (do_test): Likewise.
24860 * string/test-strchr.c (do_one_test): Likewise.
24861 (do_test): Likewise.
24862 * string/test-strcmp.c (do_one_test): Likewise.
24863 (do_test): Likewise.
24864 * string/test-strcpy.c (do_one_test): Likewise.
24865 (do_test): Likewise.
24866 * string/test-string.h: Likewise.
24867 (test_init): Likewise.
24868 * string/test-strlen.c (do_one_test): Likewise.
24869 (do_test): Likewise.
24870 * string/test-strncasecmp.c (do_one_test): Likewise.
24871 (do_test): Likewise.
24872 * string/test-strncat.c (do_one_test): Likewise.
24873 (do_test): Likewise.
24874 * string/test-strncmp.c (do_one_test): Likewise.
24875 (do_test_limit): Likewise.
24876 (do_test): Likewise.
24877 * string/test-strncpy.c (do_one_test): Likewise.
24878 (do_test): Likewise.
24879 * string/test-strnlen.c (do_one_test): Likewise.
24880 (do_test): Likewise.
24881 * string/test-strpbrk.c (do_one_test): Likewise.
24882 (do_test): Likewise.
24883 * string/test-strrchr.c (do_one_test): Likewise.
24884 (do_test): Likewise.
24885 * string/test-strspn.c (do_one_test): Likewise.
24886 (do_test): Likewise.
24887 * string/test-strstr.c (do_one_test): Likewise.
24888 (do_test): Likewise.
24890 * benchtests/Makefile (string-bench): Add string benchmarks.
24891 * benchtests/bench-bcopy-ifunc.c: New file.
24892 * benchtests/bench-bcopy.c: New file.
24893 * benchtests/bench-bzero-ifunc.c: New file.
24894 * benchtests/bench-bzero.c: New file.
24895 * benchtests/bench-memccpy-ifunc.c: New file.
24896 * benchtests/bench-memccpy.c: New file.
24897 * benchtests/bench-memchr-ifunc.c: New file.
24898 * benchtests/bench-memchr.c: New file.
24899 * benchtests/bench-memcmp-ifunc.c: New file.
24900 * benchtests/bench-memcmp.c: New file.
24901 * benchtests/bench-memmem-ifunc.c: New file.
24902 * benchtests/bench-memmem.c: New file.
24903 * benchtests/bench-memmove-ifunc.c: New file.
24904 * benchtests/bench-memmove.c: New file.
24905 * benchtests/bench-mempcpy-ifunc.c: New file.
24906 * benchtests/bench-mempcpy.c: New file.
24907 * benchtests/bench-memset-ifunc.c: New file.
24908 * benchtests/bench-memset.c: New file.
24909 * benchtests/bench-rawmemchr-ifunc.c: New file.
24910 * benchtests/bench-rawmemchr.c: New file.
24911 * benchtests/bench-stpcpy-ifunc.c: New file.
24912 * benchtests/bench-stpcpy.c: New file.
24913 * benchtests/bench-stpncpy-ifunc.c: New file.
24914 * benchtests/bench-stpncpy.c: New file.
24915 * benchtests/bench-strcasecmp-ifunc.c: New file.
24916 * benchtests/bench-strcasecmp.c: New file.
24917 * benchtests/bench-strcasestr-ifunc.c: New file.
24918 * benchtests/bench-strcasestr.c: New file.
24919 * benchtests/bench-strcat-ifunc.c: New file.
24920 * benchtests/bench-strcat.c: New file.
24921 * benchtests/bench-strchr-ifunc.c: New file.
24922 * benchtests/bench-strchr.c: New file.
24923 * benchtests/bench-strchrnul-ifunc.c: New file.
24924 * benchtests/bench-strchrnul.c: New file.
24925 * benchtests/bench-strcmp-ifunc.c: New file.
24926 * benchtests/bench-strcmp.c: New file.
24927 * benchtests/bench-strcpy-ifunc.c: New file.
24928 * benchtests/bench-strcpy.c: New file.
24929 * benchtests/bench-strcspn-ifunc.c: New file.
24930 * benchtests/bench-strcspn.c: New file.
24931 * benchtests/bench-strlen-ifunc.c: New file.
24932 * benchtests/bench-strlen.c: New file.
24933 * benchtests/bench-strncasecmp-ifunc.c: New file.
24934 * benchtests/bench-strncasecmp.c: New file.
24935 * benchtests/bench-strncat-ifunc.c: New file.
24936 * benchtests/bench-strncat.c: New file.
24937 * benchtests/bench-strncmp-ifunc.c: New file.
24938 * benchtests/bench-strncmp.c: New file.
24939 * benchtests/bench-strncpy-ifunc.c: New file.
24940 * benchtests/bench-strncpy.c: New file.
24941 * benchtests/bench-strnlen-ifunc.c: New file.
24942 * benchtests/bench-strnlen.c: New file.
24943 * benchtests/bench-strpbrk-ifunc.c: New file.
24944 * benchtests/bench-strpbrk.c: New file.
24945 * benchtests/bench-strrchr-ifunc.c: New file.
24946 * benchtests/bench-strrchr.c: New file.
24947 * benchtests/bench-strspn-ifunc.c: New file.
24948 * benchtests/bench-strspn.c: New file.
24949 * benchtests/bench-strstr-ifunc.c: New file.
24950 * benchtests/bench-strstr.c: New file.
24952 * benchtests/Makefile: Disable parallel execution of targets.
24953 (string-bench): Add memcpy.
24954 (benchset): New variable to store a list of benchmark sets.
24955 (bench-func): Renamed from bench.
24956 (bench-set): New target.
24957 (bench): Depend on bench-func and bench-set.
24958 * benchtests/README: Add section on benchmark sets.
24959 * benchtests/bench-memcpy-ifunc.c: New file.
24960 * benchtests/bench-memcpy.c: New file.
24961 * benchtests/bench-string.h: New file.
24963 2013-06-11 Andreas Schwab <schwab@suse.de>
24966 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
24967 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
24968 values in the triple.
24969 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
24970 terminator in the group key.
24972 2013-06-11 Andreas Jaeger <aj@suse.de>
24974 * po/zh_TW.po: Update Chinese (traditional) translation from
24975 translation project.
24977 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24979 * include/time.h (__clock_gettime): Add libc_hidden_proto.
24980 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
24981 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
24982 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24983 (clock_getcpuclockid): Likewise.
24984 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
24985 Add weak_alias and libc_hidden_def.
24986 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
24987 * rt/clock_gettime.c (clock_gettime): Rename to
24988 __clock_gettime. Add weak_alias and libc_hidden_def.
24989 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
24990 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
24991 __clock_nanosleep. Add weak_alias and libc_hidden_def.
24992 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
24993 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
24995 * rt/clock_settime.c (clock_settime): Rename to
24996 __clock_settime. Add weak_alias and libc_hidden_def.
24997 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
24999 2013-06-10 Joseph Myers <joseph@codesourcery.com>
25001 * mach/err_boot.sub: Remove trailing whitespace.
25002 * mach/err_ipc.sub: Likewise.
25003 * mach/err_mach.sub: Likewise.
25005 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
25006 (ROUNDING_TESTS_double): Likewise.
25007 (ROUNDING_TESTS_long_double): Likewise.
25008 (ROUNDING_TESTS): Likewise.
25009 * math/libm-test.inc: Include <math-tests.h>.
25010 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
25011 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25012 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25013 (IF_ROUND_INIT_FE_UPWARD): Likewise.
25015 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25017 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
25020 2013-06-08 Joseph Myers <joseph@codesourcery.com>
25022 * sysdeps/gnu/errlist.awk: Do not generate space at end of
25023 otherwise empty TRANS lines.
25024 * sysdeps/gnu/errlist.c: Regenerated.
25026 * catgets/gencat.c (error_print): Use (void) in function
25028 * crypt/crypt_util.c (__init_des): Likewise.
25029 * crypt/speeds.c (Stop): Likewise.
25031 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
25032 * inet/ruserpass.c (token): Likewise.
25033 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
25034 * intl/localealias.c (extend_alias_table): Likewise.
25035 * intl/plural-exp.c (init_germanic_plural): Likewise.
25036 * libio/fcloseall.c (__fcloseall): Likewise.
25037 * libio/genops.c (_IO_flush_all): Likewise.
25038 (_IO_flush_all_linebuffered): Likewise.
25039 (_IO_cleanup): Likewise.
25040 (_IO_iter_begin): Likewise.
25041 (_IO_iter_end): Likewise.
25042 (_IO_list_lock): Likewise.
25043 (_IO_list_unlock): Likewise.
25044 (_IO_list_resetlock): Likewise.
25045 * libio/getchar.c (getchar): Likewise.
25046 * libio/getchar_u.c (getchar_unlocked): Likewise.
25047 * libio/getwchar.c (getwchar): Likewise.
25048 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
25049 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
25050 * login/getpt.c (__getpt): Likewise.
25051 * login/tst-utmp.c (main): Likewise.
25052 * malloc/hooks.c (__malloc_check_init): Likewise.
25053 * malloc/malloc.c (__malloc_stats): Likewise.
25054 * malloc/mtrace.c (tr_break): Likewise.
25055 (mtrace): Likewise.
25056 (muntrace): Likewise.
25057 * misc/fstab.c (endfsent): Likewise.
25058 * misc/getclktck.c (__getclktck): Likewise.
25059 * misc/getdtsz.c (__getdtablesize): Likewise.
25060 * misc/gethostid.c (gethostid): Likewise.
25061 * misc/getpagesize.c (__getpagesize): Likewise.
25062 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
25063 (__get_nprocs): Likewise.
25064 (__get_phys_pages): Likewise.
25065 (__get_avphys_pages): Likewise.
25066 * misc/getttyent.c (getttyent): Likewise.
25067 (setttyent): Likewise.
25068 (endttyent): Likewise.
25069 * misc/getusershell.c (getusershell): Likewise.
25070 (endusershell): Likewise.
25071 (setusershell): Likewise.
25072 (initshells): Likewise.
25073 * misc/hsearch.c (__hdestroy): Likewise.
25074 * misc/sync.c (sync): Likewise.
25075 * misc/syslog.c (closelog_internal): Likewise.
25076 (closelog): Likewise.
25077 * misc/ttyslot.c (ttyslot): Likewise.
25078 * misc/vhangup.c (vhangup): Likewise.
25079 * posix/fork.c (__fork): Likewise.
25080 * posix/getegid.c (__getegid): Likewise.
25081 * posix/geteuid.c (__geteuid): Likewise.
25082 * posix/getgid.c (__getgid): Likewise.
25083 * posix/getpid.c (__getpid): Likewise.
25084 * posix/getppid.c (__getppid): Likewise.
25085 * posix/getuid.c (__getuid): Likewise.
25086 * posix/pause.c (pause): Likewise.
25087 * posix/setpgrp.c (setpgrp): Likewise.
25088 * posix/setsid.c (__setsid): Likewise.
25089 * posix/test-vfork.c (noop): Likewise.
25090 * resolv/gethnamaddr.c (_endhtent): Likewise.
25091 (_gethtent): Likewise.
25092 (ht_endhostent): Likewise.
25093 (gethostent): Likewise.
25094 (dns_service): Likewise.
25095 * stdlib/drand48.c (drand48): Likewise.
25096 * stdlib/lrand48.c (lrand48): Likewise.
25097 * stdlib/mrand48.c (mrand48): Likewise.
25098 * stdlib/rand.c (rand): Likewise.
25099 * stdlib/random.c (__random): Likewise.
25100 * stdlib/setenv.c (clearenv): Likewise.
25101 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
25102 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
25103 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
25104 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
25105 (__get_nprocs): Likewise.
25106 (__get_phys_pages): Likewise.
25107 (__get_avphys_pages): Likewise.
25108 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
25109 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
25110 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
25111 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
25112 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
25113 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
25114 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
25115 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
25116 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
25117 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
25118 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
25119 * sysdeps/mach/hurd/sync.c (sync): Likewise.
25120 * sysdeps/posix/clock.c (clock): Likewise.
25121 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
25122 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
25123 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
25124 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
25125 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
25126 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
25127 (__get_nprocs_conf): Likewise.
25128 (__get_phys_pages): Likewise.
25129 (__get_avphys_pages): Likewise.
25130 * time/clock.c (clock): Likewise.
25131 * time/tzset.c (__tzname_max): Likewise.
25133 2013-06-07 Joseph Myers <joseph@codesourcery.com>
25135 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
25136 (__bswap_32): Do not use "register".
25137 * crypt/crypt.c (_ufc_doit_r): Likewise.
25138 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25139 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25140 * gmon/gmon.c (__monstartup): Likewise.
25141 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
25142 * hurd/hurdmalloc.c (more_memory): Likewise.
25143 (malloc): Likewise.
25145 (realloc): Likewise.
25146 (malloc_fork_prepare): Likewise.
25147 (malloc_fork_parent): Likewise.
25148 (malloc_fork_child): Likewise.
25149 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
25150 (_svcauth_des): Likewise.
25151 * inet/inet_lnaof.c (inet_lnaof): Likewise.
25152 * inet/inet_net.c (inet_network): Likewise.
25153 * inet/inet_netof.c (inet_netof): Likewise.
25154 * inet/rcmd.c (__validuser2_sa): Likewise.
25155 * io/fts.c (fts_open): Likewise.
25156 (fts_load): Likewise.
25157 (fts_close): Likewise.
25158 (fts_read): Likewise.
25159 (fts_children): Likewise.
25160 (fts_build): Likewise.
25161 (fts_stat): Likewise.
25162 (fts_sort): Likewise.
25163 (fts_alloc): Likewise.
25164 (fts_lfree): Likewise.
25165 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
25166 (_IO_file_xsgetn): Likewise.
25167 (_IO_file_xsgetn_mmap): Likewise.
25168 * libio/iofopncook.c (_IO_cookie_read): Likewise.
25169 (_IO_cookie_write): Likewise.
25170 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
25171 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
25172 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
25173 * malloc/obstack.c (_obstack_begin): Likewise.
25174 (_obstack_begin_1): Likewise.
25175 (_obstack_newchunk): Likewise.
25176 (_obstack_allocated_p): Likewise.
25177 (obstack_free): Likewise.
25178 (_obstack_memory_used): Likewise.
25179 * misc/getttyent.c (getttynam): Likewise.
25180 (getttyent): Likewise.
25183 * misc/getusershell.c (initshells): Likewise.
25184 * misc/syslog.c (__vsyslog_chk): Likewise.
25185 * misc/ttyslot.c (ttyslot): Likewise.
25186 * nis/nis_hash.c (__nis_hash): Likewise.
25187 * posix/fnmatch_loop.c (FCT): Likewise.
25188 * posix/getconf.c (print_all): Likewise.
25190 * posix/getopt.c (exchange): Likewise.
25191 * posix/glob.c (globfree): Likewise.
25192 (prefix_array): Likewise.
25193 (__glob_pattern_type): Likewise.
25194 * resolv/arpa/nameser.h (NS_GET16): Likewise.
25195 (NS_GET32): Likewise.
25196 (NS_PUT16): Likewise.
25197 (NS_PUT32): Likewise.
25198 * resolv/gethnamaddr.c (getanswer): Likewise.
25199 (gethostbyname2): Likewise.
25200 (gethostbyaddr): Likewise.
25201 (_gethtent): Likewise.
25202 (_gethtbyname2): Likewise.
25203 (_gethtbyaddr): Likewise.
25204 * resolv/ns_print.c (dst_s_get_int16): Likewise.
25205 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25206 * resolv/res_init.c (__res_vinit): Likewise.
25207 (net_mask): Likewise.
25208 * resolv/res_mkquery.c (outchar): Likewise.
25210 * stdio-common/printf_fp.c (outchar): Likewise.
25212 * stdio-common/printf_fphex.c (outchar): Likewise.
25214 * stdio-common/printf_size.c (outchar): Likewise.
25216 * stdio-common/test_rdwr.c (main): Likewise.
25217 * stdio-common/tfformat.c (matches): Likewise.
25218 * stdio-common/vfprintf.c (outchar): Likewise.
25219 (printf_unknown): Likewise.
25220 (buffered_vfprintf): Likewise.
25221 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25222 * stdio-common/xbug.c (AppendToBuffer): Likewise.
25223 (ReadFile): Likewise.
25224 * stdlib/qsort.c (SWAP): Likewise.
25225 (_quicksort): Likewise.
25226 * stdlib/setenv.c (__add_to_environ): Likewise.
25227 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25228 * stdlib/strtol_l.c (__strtol_l): Likewise.
25229 * stdlib/tst-strtod.c (main): Likewise.
25230 * stdlib/tst-strtol.c (main): Likewise.
25231 * stdlib/tst-strtoll.c (main): Likewise.
25232 * string/bits/string2.h (__strcmp_cc): Likewise.
25233 (__strcmp_cg): Likewise.
25234 (__strcspn_c1): Likewise.
25235 (__strcspn_c2): Likewise.
25236 (__strcspn_c3): Likewise.
25237 (__strspn_c1): Likewise.
25238 (__strspn_c2): Likewise.
25239 (__strspn_c3): Likewise.
25240 (__strsep_1c): Likewise.
25241 (__strsep_2c): Likewise.
25242 (__strsep_3c): Likewise.
25243 * string/memccpy.c (__memccpy): Likewise.
25244 * string/stpcpy.c (__stpcpy): Likewise.
25245 * string/strcmp.c (strcmp): Likewise.
25246 * string/strrchr.c (strrchr): Likewise.
25247 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
25249 * sysdeps/mach/hurd/getcwd.c
25250 (_hurd_canonicalize_directory_name_internal): Likewise.
25251 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
25252 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
25253 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
25254 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
25255 Likewise, in both definitions.
25256 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
25258 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
25259 64] (__bswap_64): Likewise.
25260 * time/test_time.c (main): Likewise.
25261 * time/tzfile.c (__tzfile_read): Likewise.
25262 (__tzfile_compute): Likewise.
25263 * time/tzset.c (__tzset_parse_tz): Likewise.
25264 (tzset_internal): Likewise.
25265 (compute_change): Likewise.
25266 * wcsmbs/wcscat.c (__wcscat): Likewise.
25267 * wcsmbs/wcschr.c (wcschr): Likewise.
25268 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25269 * wcsmbs/wcscspn.c (wcscspn): Likewise.
25270 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25271 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
25272 * wcsmbs/wcsspn.c (wcsspn): Likewise.
25273 * wcsmbs/wcsstr.c (wcsstr): Likewise.
25274 * wcsmbs/wmemchr.c (wmemchr): Likewise.
25275 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25276 * wcsmbs/wmemset.c (wmemset): Likewise.
25278 2013-06-06 Joseph Myers <joseph@codesourcery.com>
25280 * scripts/config.guess: Update to version 2013-05-16.
25281 * scripts/config.sub: Update to version 2013-04-24.
25282 * scripts/install-sh: Update to version 2011-11-20.07.
25283 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
25284 * scripts/move-if-change: Update to version 2012-01-06 07:23.
25286 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
25288 * debug/fgetws_u_chk.c: Fix leading whitespaces.
25289 * elf/sln.c: Likewise.
25290 * hurd/hurd/ioctl.h: Likewise.
25291 * hurd/hurdmalloc.c: Likewise.
25292 * hurd/xattr.c: Likewise.
25293 * include/shlib-compat.h: Likewise.
25294 * inet/ruserpass.c: Likewise.
25295 * libio/iofgets_u.c: Likewise.
25296 * libio/iofgetws_u.c: Likewise.
25297 * locale/programs/ld-identification.c: Likewise.
25298 * locale/programs/ld-time.c: Likewise.
25299 * mach/msg-destroy.c: Likewise.
25300 * nss/nss_files/files-netgrp.c: Likewise.
25301 * resolv/res_data.c: Likewise.
25302 * soft-fp/op-1.h: Likewise.
25303 * soft-fp/op-2.h: Likewise.
25304 * soft-fp/op-4.h: Likewise.
25305 * soft-fp/op-common.h: Likewise.
25306 * stdio-common/printf_fphex.c: Likewise.
25307 * stdlib/strtod_l.c: Likewise.
25308 * sunrpc/rpc/clnt.h: Likewise.
25309 * sysdeps/generic/framestate.c: Likewise.
25310 * sysdeps/i386/bsd-_setjmp.S: Likewise.
25311 * sysdeps/i386/bsd-setjmp.S: Likewise.
25312 * sysdeps/i386/__longjmp.S: Likewise.
25313 * sysdeps/i386/setjmp.S: Likewise.
25314 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25315 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25316 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25317 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25318 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25319 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25320 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25321 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25322 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25323 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25324 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25325 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25326 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25327 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25328 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25329 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25330 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25331 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
25332 * sysdeps/ieee754/support.c: Likewise.
25333 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25334 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
25335 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
25336 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
25337 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
25338 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
25339 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
25340 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
25341 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
25342 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
25343 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
25344 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
25345 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
25346 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
25347 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
25348 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
25349 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25352 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
25354 * posix/transbug.c: Remove executable mode.
25356 2013-06-05 Joseph Myers <joseph@codesourcery.com>
25358 * crypt/speeds.c: Remove trailing whitespace.
25359 * dlfcn/default.c: Likewise.
25360 * elf/ifuncdep2.c: Likewise.
25361 * elf/ifuncmain1.c: Likewise.
25362 * elf/ifuncmain1vis.c: Likewise.
25363 * elf/testobj.h: Likewise.
25364 * elf/tst-stackguard1.c: Likewise.
25365 * gmon/sys/gmon.h: Likewise.
25366 * hurd/hurdmsg.c: Likewise.
25367 * hurd/new-fd.c: Likewise.
25368 * hurd/ports-get.c: Likewise.
25369 * iconvdata/ibm1008_420.c: Likewise.
25370 * inet/tst-getni1.c: Likewise.
25371 * inet/tst-getni2.c: Likewise.
25372 * libio/ioungetc.c: Likewise.
25373 * libio/wfiledoalloc.c: Likewise.
25374 * manual/libm-err-tab.pl: Likewise.
25375 * math/w_dremf.c: Likewise.
25376 * misc/ftruncate.c: Likewise.
25377 * posix/bug-glob2.c: Likewise.
25378 * posix/tst-pcre.c: Likewise.
25379 * posix/wait4.c: Likewise.
25380 * resolv/README: Likewise.
25381 * resolv/res_debug.h: Likewise.
25382 * resolv/tst-inet_ntop.c: Likewise.
25383 * setjmp/bug269-setjmp.c: Likewise.
25384 * soft-fp/extended.h: Likewise.
25385 * soft-fp/op-1.h: Likewise.
25386 * soft-fp/op-2.h: Likewise.
25387 * soft-fp/op-4.h: Likewise.
25388 * soft-fp/op-8.h: Likewise.
25389 * soft-fp/testit.c: Likewise.
25390 * stdio-common/bug16.c: Likewise.
25391 * stdlib/random.c: Likewise.
25392 * sunrpc/rpcsvc/rquota.x: Likewise.
25393 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
25394 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25395 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25396 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25397 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25398 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25399 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25400 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25401 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25402 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25403 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25404 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25405 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25406 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25407 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25408 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25409 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25410 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25411 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25412 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25413 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25414 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25415 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
25416 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25417 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25418 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25419 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25420 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25421 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25422 * sysdeps/ieee754/s_lib_version.c: Likewise.
25423 * sysdeps/mach/hurd/check_fds.c: Likewise.
25424 * sysdeps/mach/hurd/getsockname.c: Likewise.
25425 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
25426 * sysdeps/mach/hurd/recvfrom.c: Likewise.
25427 * sysdeps/powerpc/bits/link.h: Likewise.
25428 * sysdeps/powerpc/dl-procinfo.c: Likewise.
25429 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
25430 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
25431 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
25432 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25433 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25434 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
25435 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25436 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
25437 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25438 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25439 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25440 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
25441 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25442 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25443 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25444 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25445 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25446 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25447 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25448 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25449 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
25450 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25451 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25452 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
25453 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25454 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25455 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25456 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25457 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25458 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25459 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25460 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25461 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25462 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
25463 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25464 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
25465 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25466 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25467 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
25468 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
25469 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
25470 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
25471 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
25472 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25473 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
25474 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
25475 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25476 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
25477 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
25478 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25479 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25480 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25481 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25482 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
25483 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25484 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25485 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25486 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
25487 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25488 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
25489 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
25490 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
25491 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25492 * sysdeps/powerpc/sysdep.h: Likewise.
25493 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25494 * sysdeps/s390/s390-64/sub_n.S: Likewise.
25495 * sysdeps/sh/dl-trampoline.S: Likewise.
25496 * sysdeps/sh/memset.S: Likewise.
25497 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
25498 * sysdeps/sh/strlen.S: Likewise.
25499 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
25500 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
25501 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
25502 * sysdeps/sparc/sparc32/rem.S: Likewise.
25503 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
25504 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
25505 * sysdeps/sparc/sparc32/strchr.S: Likewise.
25506 * sysdeps/sparc/sparc32/udiv.S: Likewise.
25507 * sysdeps/sparc/sparc32/urem.S: Likewise.
25508 * sysdeps/sparc/sparc64/add_n.S: Likewise.
25509 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25510 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
25511 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
25512 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
25513 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
25514 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25515 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
25516 * sysdeps/unix/bsd/times.c: Likewise.
25517 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
25518 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
25519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
25522 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
25523 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25524 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
25525 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
25526 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
25527 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
25528 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25529 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
25530 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25531 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25532 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
25533 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25534 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
25535 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
25536 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
25537 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
25538 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
25539 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25540 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
25541 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
25542 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
25543 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
25544 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25545 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
25546 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
25547 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
25548 * sysdeps/x86_64/strcspn.S: Likewise.
25550 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25552 * locale/C-translit.h: Revert #include <stdint.h> because this is a
25553 generated file. Regenerate properly from gen-translit.pl.
25554 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
25555 locale/C-translit.h.
25557 2013-06-05 Andreas Schwab <schwab@suse.de>
25560 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
25561 week as 6 instead of -1.
25562 * time/tst-strptime.c (day_tests): Add test case.
25564 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25566 * sysdeps/generic/math_private.h
25567 (libc_feholdexcept_setround_53bit): Replace with
25568 libc_feholdsetround_53bit.
25569 (libc_feupdateenv_53bit): Replace with
25570 libc_feresetround_53bit.
25571 (SET_RESTORE_ROUND_53BIT): Adjust.
25573 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25575 * string/test-strchrnul.c: Add copyright header.
25577 * posix/tst-getaddrinfo4.c: Increase test timeout.
25579 2013-06-03 Carlos O'Donell <carlos@redhat.com>
25582 * math/libm-test.inc (MAX_EXP): Remove
25584 (ulp): Use MIN_EXP - MANT_DIG.
25585 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
25587 2013-05-31 Carlos O'Donell <carlos@redhat.com>
25589 * po/be.po: Revert last change.
25590 * po/zh_CN.po: Likewise.
25591 * po/header.pot: Likewise.
25593 2013-05-31 Joseph Myers <joseph@codesourcery.com>
25595 * Makefile ($(common-objpfx)linkobj/libc.so): Define
25596 link-libc-deps to empty as target-specific variable.
25597 * Makerules (link-libc-args): New variable.
25598 (libc-for-link): Likewise.
25599 (link-libc-deps): Likewise.
25600 (lib%.so): Depend on $(link-libc-deps). Link with
25602 (build-module): Link with $(link-libc-args).
25603 (build-module-asneeded): Likewise.
25604 (build-module-helper-objlist): Filter out $(link-libc-deps) from
25606 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
25607 target-specific variable.
25608 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
25609 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
25610 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
25612 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
25614 ($(objpfx)libpcprofile.so): Likewise.
25615 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
25617 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
25618 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
25619 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
25621 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
25622 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
25623 * login/Makefile ($(objpfx)libutil.so): Likewise.
25624 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
25625 * math/Makefile ($(objpfx)libm.so): Likewise.
25626 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
25627 $(objpfx)libnsl.so): Define libc-for-link as target-specific
25628 variable instead of depending directly on libc.
25629 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
25630 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
25632 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
25634 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
25635 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
25636 ($(objpfx)libanl.so): Likewise.
25637 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
25639 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
25641 * sysdeps/i386/fpu/Makefile: Remove file.
25642 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
25643 ($(objpfx)libm.so): Remove dependency on ld.so.
25645 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
25648 * nis/yp_xdr.c (XDRMAXNAME): Define.
25649 (XDRMAXRECORD): Define.
25650 (xdr_domainname): Use XDRMAXNAME.
25651 (xdr_mapname): Likewise.
25652 (xdr_peername): Likewise.
25653 (xdr_keydat): Use XDRMAXRECORD.
25654 (xdr_valdat): Likewise.
25656 2013-05-30 Jeff Law <law@redhat.com>
25659 * manual/errno.texi (ESTALE): Update to account for more than
25660 just NFS file systems.
25661 * sysdeps/gnu/errlist.c: Regenerated.
25663 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25666 * elf/Makefile (tests): Add tst-null-argv.
25667 (modules-names): Add tst-null-argv-lib.
25668 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
25669 (tst-null-argv-ENV): Set environment for tst-null-argv.
25670 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
25671 (RTLD_PROGNAME): New macro.
25672 * elf/tst-null-argv.c: New test case.
25673 * elf/tst-null-argv-lib.c: Library for test case.
25674 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
25675 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
25676 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
25677 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
25678 * elf/dl-init.c (call_init): Likewise.
25679 (_dl_init): Likewise.
25680 * elf/dl-load.c (print_search_path): Likewise.
25681 (_dl_map_object): Likewise.
25682 * elf/dl-lookup.c (do_lookup_x): Likewise.
25683 (add_dependency): Likewise.
25684 (_dl_lookup_symbol_x): Likewise.
25685 (_dl_debug_bindings): Likewise.
25686 * elf/dl-open.c (_dl_show_scope): Likewise.
25687 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25688 * elf/dl-version.c (match_symbol): Likewise.
25689 (_dl_check_map_versions): Likewise.
25690 * elf/rtld.c (dl_main): Likewise.
25691 (print_unresolved): Use RTLD_PROGNAME.
25692 (print_missing_version): Likewise.
25693 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
25694 (elf_machine_rela): Likewise.
25695 * sysdeps/powerpc/powerpc32/dl-machine.c
25696 (__process_machine_rela): Likewise.
25697 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25699 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25701 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25703 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25704 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
25706 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
25708 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25710 2013-05-28 Carlos O'Donell <carlos@redhat.com>
25712 * po/be.po: Add descriptive title.
25713 * po/zh_CN.po: Likewise.
25714 * po/header.pot: Likewise.
25716 2013-05-28 Mike Frysinger <vapier@gentoo.org>
25718 * locale/programs/locarchive.c (create_archive): Inlucde fname in
25720 (enlarge_archive): Likewise.
25722 2013-05-28 Ben North <ben@redfrontdoor.org>
25724 * manual/arith.texi (frexp): It is the magnitude of the return
25725 value which lies in [0.5, 1), not the return value itself.
25727 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25729 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25731 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
25733 * stdio-common/bug26.c (main): Correct fscanf template.
25735 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
25736 declare _dl_skip_args.
25738 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
25741 * manual/platform.texi: Add missing @end deftypefun.
25743 2013-05-24 Joseph Myers <joseph@codesourcery.com>
25746 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
25747 bit of mantissa of 2^16382.
25748 * math/libm-test.inc (hypot_test_data): Add more tests.
25750 * math/libm-test.inc: Add drem and pow10 to list of tested
25752 (pow10_test): New function.
25753 (drem_test): Likewise.
25754 (drem_test_tonearest): Likewise.
25755 (drem_test_towardzero): Likewise.
25756 (drem_test_downward): Likewise.
25757 (drem_test_upward): Likewise.
25758 (main): Call the new functions.
25760 * math/libm-test.inc (finite_test_data): Remove.
25761 (finite_test): Run tests from isfinite_test_data.
25762 (gamma_test_data): Remove.
25763 (gamma_test): Run tests from lgamma_test_data.
25764 * sysdeps/i386/fpu/libm-test-ulps: Update.
25765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25767 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25769 * manual/platform.texi: Add PowerPC PPR function set documentation.
25770 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
25773 2013-05-24 Carlos O'Donell <carlos@redhat.com>
25775 * math/libm-test.inc (MAX_EXP): Define.
25777 (ulp): New function.
25778 (check_float_internal): Use ULPDIFF.
25779 (cpow_test): Disable failing test.
25780 (check_ulp): Test ulp() implemetnation.
25781 (main): Call check_ulp before starting tests.
25783 2013-05-24 Joseph Myers <joseph@codesourcery.com>
25785 * math/gen-libm-test.pl (generate_testfile): Do not handle
25786 START_DATA and END_DATA.
25787 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
25789 (acos_tonearest_test_data): Likewise.
25790 (acos_towardzero_test_data): Likewise.
25791 (acos_downward_test_data): Likewise.
25792 (acos_upward_test_data): Likewise.
25793 (acosh_test_data): Likewise.
25794 (asin_test_data): Likewise.
25795 (asin_tonearest_test_data): Likewise.
25796 (asin_towardzero_test_data): Likewise.
25797 (asin_downward_test_data): Likewise.
25798 (asin_upward_test_data): Likewise.
25799 (asinh_test_data): Likewise.
25800 (atan_test_data): Likewise.
25801 (atanh_test_data): Likewise.
25802 (atan2_test_data): Likewise.
25803 (cabs_test_data): Likewise.
25804 (cacos_test_data): Likewise.
25805 (cacosh_test_data): Likewise.
25806 (carg_test_data): Likewise.
25807 (casin_test_data): Likewise.
25808 (casinh_test_data): Likewise.
25809 (catan_test_data): Likewise.
25810 (catanh_test_data): Likewise.
25811 (cbrt_test_data): Likewise.
25812 (ccos_test_data): Likewise.
25813 (ccosh_test_data): Likewise.
25814 (ceil_test_data): Likewise.
25815 (cexp_test_data): Likewise.
25816 (cimag_test_data): Likewise.
25817 (clog_test_data): Likewise.
25818 (clog10_test_data): Likewise.
25819 (conj_test_data): Likewise.
25820 (copysign_test_data): Likewise.
25821 (cos_test_data): Likewise.
25822 (cos_tonearest_test_data): Likewise.
25823 (cos_towardzero_test_data): Likewise.
25824 (cos_downward_test_data): Likewise.
25825 (cos_upward_test_data): Likewise.
25826 (cosh_test_data): Likewise.
25827 (cosh_tonearest_test_data): Likewise.
25828 (cosh_towardzero_test_data): Likewise.
25829 (cosh_downward_test_data): Likewise.
25830 (cosh_upward_test_data): Likewise.
25831 (cpow_test_data): Likewise.
25832 (cproj_test_data): Likewise.
25833 (creal_test_data): Likewise.
25834 (csin_test_data): Likewise.
25835 (csinh_test_data): Likewise.
25836 (csqrt_test_data): Likewise.
25837 (ctan_test_data): Likewise.
25838 (ctan_tonearest_test_data): Likewise.
25839 (ctan_towardzero_test_data): Likewise.
25840 (ctan_downward_test_data): Likewise.
25841 (ctan_upward_test_data): Likewise.
25842 (ctanh_test_data): Likewise.
25843 (ctanh_tonearest_test_data): Likewise.
25844 (ctanh_towardzero_test_data): Likewise.
25845 (ctanh_downward_test_data): Likewise.
25846 (ctanh_upward_test_data): Likewise.
25847 (erf_test_data): Likewise.
25848 (erfc_test_data): Likewise.
25849 (exp_test_data): Likewise.
25850 (exp_tonearest_test_data): Likewise.
25851 (exp_towardzero_test_data): Likewise.
25852 (exp_downward_test_data): Likewise.
25853 (exp_upward_test_data): Likewise.
25854 (exp10_test_data): Likewise.
25855 (exp2_test_data): Likewise.
25856 (expm1_test_data): Likewise.
25857 (fabs_test_data): Likewise.
25858 (fdim_test_data): Likewise.
25859 (finite_test_data): Likewise.
25860 (floor_test_data): Likewise.
25861 (fma_test_data): Likewise.
25862 (fma_towardzero_test_data): Likewise.
25863 (fma_downward_test_data): Likewise.
25864 (fma_upward_test_data): Likewise.
25865 (fmax_test_data): Likewise.
25866 (fmin_test_data): Likewise.
25867 (fmod_test_data): Likewise.
25868 (fpclassify_test_data): Likewise.
25869 (frexp_test_data): Likewise.
25870 (gamma_test_data): Likewise.
25871 (hypot_test_data): Likewise.
25872 (ilogb_test_data): Likewise.
25873 (isfinite_test_data): Likewise.
25874 (isgreater_test_data): Likewise.
25875 (isgreaterequal_test_data): Likewise.
25876 (isinf_test_data): Likewise.
25877 (isless_test_data): Likewise.
25878 (islessequal_test_data): Likewise.
25879 (islessgreater_test_data): Likewise.
25880 (isnan_test_data): Likewise.
25881 (isnormal_test_data): Likewise.
25882 (issignaling_test_data): Likewise.
25883 (isunordered_test_data): Likewise.
25884 (j0_test_data): Likewise.
25885 (j1_test_data): Likewise.
25886 (jn_test_data): Likewise.
25887 (ldexp_test_data): Likewise.
25888 (lgamma_test_data): Likewise.
25889 (lrint_test_data): Likewise.
25890 (lrint_tonearest_test_data): Likewise.
25891 (lrint_towardzero_test_data): Likewise.
25892 (lrint_downward_test_data): Likewise.
25893 (lrint_upward_test_data): Likewise.
25894 (llrint_test_data): Likewise.
25895 (llrint_tonearest_test_data): Likewise.
25896 (llrint_towardzero_test_data): Likewise.
25897 (llrint_downward_test_data): Likewise.
25898 (llrint_upward_test_data): Likewise.
25899 (log_test_data): Likewise.
25900 (log10_test_data): Likewise.
25901 (log1p_test_data): Likewise.
25902 (log2_test_data): Likewise.
25903 (logb_test_data): Likewise.
25904 (logb_downward_test_data): Likewise.
25905 (lround_test_data): Likewise.
25906 (llround_test_data): Likewise.
25907 (modf_test_data): Likewise.
25908 (nearbyint_test_data): Likewise.
25909 (nextafter_test_data): Likewise.
25910 (nexttoward_test_data): Likewise.
25911 (pow_test_data): Likewise.
25912 (pow_tonearest_test_data): Likewise.
25913 (pow_towardzero_test_data): Likewise.
25914 (pow_downward_test_data): Likewise.
25915 (pow_upward_test_data): Likewise.
25916 (remainder_test_data): Likewise.
25917 (remainder_tonearest_test_data): Likewise.
25918 (remainder_towardzero_test_data): Likewise.
25919 (remainder_downward_test_data): Likewise.
25920 (remainder_upward_test_data): Likewise.
25921 (remquo_test_data): Likewise.
25922 (rint_test_data): Likewise.
25923 (rint_tonearest_test_data): Likewise.
25924 (rint_towardzero_test_data): Likewise.
25925 (rint_downward_test_data): Likewise.
25926 (rint_upward_test_data): Likewise.
25927 (round_test_data): Likewise.
25928 (scalb_test_data): Likewise.
25929 (scalbn_test_data): Likewise.
25930 (scalbln_test_data): Likewise.
25931 (signbit_test_data): Likewise.
25932 (sin_test_data): Likewise.
25933 (sin_tonearest_test_data): Likewise.
25934 (sin_towardzero_test_data): Likewise.
25935 (sin_downward_test_data): Likewise.
25936 (sin_upward_test_data): Likewise.
25937 (sincos_test_data): Likewise.
25938 (sinh_test_data): Likewise.
25939 (sinh_tonearest_test_data): Likewise.
25940 (sinh_towardzero_test_data): Likewise.
25941 (sinh_downward_test_data): Likewise.
25942 (sinh_upward_test_data): Likewise.
25943 (sqrt_test_data): Likewise.
25944 (tan_test_data): Likewise.
25945 (tan_tonearest_test_data): Likewise.
25946 (tan_towardzero_test_data): Likewise.
25947 (tan_downward_test_data): Likewise.
25948 (tan_upward_test_data): Likewise.
25949 (tanh_test_data): Likewise.
25950 (tgamma_test_data): Likewise.
25951 (trunc_test_data): Likewise.
25952 (y0_test_data): Likewise.
25953 (y1_test_data): Likewise.
25954 (yn_test_data): Likewise.
25955 (significand_test_data): Likewise.
25957 * math/gen-libm-test.pl (@functions): Remove variable.
25958 (generate_testfile): Don't handle START and END lines.
25959 * math/libm-test.inc (START): New macro.
25961 (END_COMPLEX): Likewise.
25962 (acos_test): Use END macro without arguments.
25963 (acos_test_tonearest): Likewise.
25964 (acos_test_towardzero): Likewise.
25965 (acos_test_downward): Likewise.
25966 (acos_test_upward): Likewise.
25967 (acosh_test): Likewise.
25968 (asin_test): Likewise.
25969 (asin_test_tonearest): Likewise.
25970 (asin_test_towardzero): Likewise.
25971 (asin_test_downward): Likewise.
25972 (asin_test_upward): Likewise.
25973 (asinh_test): Likewise.
25974 (atan_test): Likewise.
25975 (atanh_test): Likewise.
25976 (atan2_test): Likewise.
25977 (cabs_test): Likewise.
25978 (cacos_test): Use END_COMPLEX macro without arguments.
25979 (cacosh_test): Likewise.
25980 (carg_test): Use END macro without arguments.
25981 (casin_test): Use END_COMPLEX macro without arguments.
25982 (casinh_test): Likewise.
25983 (catan_test): Likewise.
25984 (catanh_test): Likewise.
25985 (cbrt_test): Use END macro without arguments.
25986 (ccos_test): Use END_COMPLEX macro without arguments.
25987 (ccosh_test): Likewise.
25988 (ceil_test): Use END macro without arguments.
25989 (cexp_test): Use END_COMPLEX macro without arguments.
25990 (cimag_test): Use END macro without arguments.
25991 (clog_test): Use END_COMPLEX macro without arguments.
25992 (clog10_test): Likewise.
25993 (conj_test): Likewise.
25994 (copysign_test): Use END macro without arguments.
25995 (cos_test): Likewise.
25996 (cos_test_tonearest): Likewise.
25997 (cos_test_towardzero): Likewise.
25998 (cos_test_downward): Likewise.
25999 (cos_test_upward): Likewise.
26000 (cosh_test): Likewise.
26001 (cosh_test_tonearest): Likewise.
26002 (cosh_test_towardzero): Likewise.
26003 (cosh_test_downward): Likewise.
26004 (cosh_test_upward): Likewise.
26005 (cpow_test): Use END_COMPLEX macro without arguments.
26006 (cproj_test): Likewise.
26007 (creal_test): Use END macro without arguments.
26008 (csin_test): Use END_COMPLEX macro without arguments.
26009 (csinh_test): Likewise.
26010 (csqrt_test): Likewise.
26011 (ctan_test): Likewise.
26012 (ctan_test_tonearest): Likewise.
26013 (ctan_test_towardzero): Likewise.
26014 (ctan_test_downward): Likewise.
26015 (ctan_test_upward): Likewise.
26016 (ctanh_test): Likewise.
26017 (ctanh_test_tonearest): Likewise.
26018 (ctanh_test_towardzero): Likewise.
26019 (ctanh_test_downward): Likewise.
26020 (ctanh_test_upward): Likewise.
26021 (erf_test): Use END macro without arguments.
26022 (erfc_test): Likewise.
26023 (exp_test): Likewise.
26024 (exp_test_tonearest): Likewise.
26025 (exp_test_towardzero): Likewise.
26026 (exp_test_downward): Likewise.
26027 (exp_test_upward): Likewise.
26028 (exp10_test): Likewise.
26029 (exp2_test): Likewise.
26030 (expm1_test): Likewise.
26031 (fabs_test): Likewise.
26032 (fdim_test): Likewise.
26033 (finite_test): Likewise.
26034 (floor_test): Likewise.
26035 (fma_test): Likewise.
26036 (fma_test_towardzero): Likewise.
26037 (fma_test_downward): Likewise.
26038 (fma_test_upward): Likewise.
26039 (fmax_test): Likewise.
26040 (fmin_test): Likewise.
26041 (fmod_test): Likewise.
26042 (fpclassify_test): Likewise.
26043 (frexp_test): Likewise.
26044 (gamma_test): Likewise.
26045 (hypot_test): Likewise.
26046 (ilogb_test): Likewise.
26047 (isfinite_test): Likewise.
26048 (isgreater_test): Likewise.
26049 (isgreaterequal_test): Likewise.
26050 (isinf_test): Likewise.
26051 (isless_test): Likewise.
26052 (islessequal_test): Likewise.
26053 (islessgreater_test): Likewise.
26054 (isnan_test): Likewise.
26055 (isnormal_test): Likewise.
26056 (issignaling_test): Likewise.
26057 (isunordered_test): Likewise.
26058 (j0_test): Likewise.
26059 (j1_test): Likewise.
26060 (jn_test): Likewise.
26061 (ldexp_test): Likewise.
26062 (lgamma_test): Likewise.
26063 (lrint_test): Likewise.
26064 (lrint_test_tonearest): Likewise.
26065 (lrint_test_towardzero): Likewise.
26066 (lrint_test_downward): Likewise.
26067 (lrint_test_upward): Likewise.
26068 (llrint_test): Likewise.
26069 (llrint_test_tonearest): Likewise.
26070 (llrint_test_towardzero): Likewise.
26071 (llrint_test_downward): Likewise.
26072 (llrint_test_upward): Likewise.
26073 (log_test): Likewise.
26074 (log10_test): Likewise.
26075 (log1p_test): Likewise.
26076 (log2_test): Likewise.
26077 (logb_test): Likewise.
26078 (logb_test_downward): Likewise.
26079 (lround_test): Likewise.
26080 (llround_test): Likewise.
26081 (modf_test): Likewise.
26082 (nearbyint_test): Likewise.
26083 (nextafter_test): Likewise.
26084 (nexttoward_test): Likewise.
26085 (pow_test): Likewise.
26086 (pow_test_tonearest): Likewise.
26087 (pow_test_towardzero): Likewise.
26088 (pow_test_downward): Likewise.
26089 (pow_test_upward): Likewise.
26090 (remainder_test): Likewise.
26091 (remainder_test_tonearest): Likewise.
26092 (remainder_test_towardzero): Likewise.
26093 (remainder_test_downward): Likewise.
26094 (remainder_test_upward): Likewise.
26095 (remquo_test): Likewise.
26096 (rint_test): Likewise.
26097 (rint_test_tonearest): Likewise.
26098 (rint_test_towardzero): Likewise.
26099 (rint_test_downward): Likewise.
26100 (rint_test_upward): Likewise.
26101 (round_test): Likewise.
26102 (scalb_test): Likewise.
26103 (scalbn_test): Likewise.
26104 (scalbln_test): Likewise.
26105 (signbit_test): Likewise.
26106 (sin_test): Likewise.
26107 (sin_test_tonearest): Likewise.
26108 (sin_test_towardzero): Likewise.
26109 (sin_test_downward): Likewise.
26110 (sin_test_upward): Likewise.
26111 (sincos_test): Likewise.
26112 (sinh_test): Likewise.
26113 (sinh_test_tonearest): Likewise.
26114 (sinh_test_towardzero): Likewise.
26115 (sinh_test_downward): Likewise.
26116 (sinh_test_upward): Likewise.
26117 (sqrt_test): Likewise.
26118 (tan_test): Likewise.
26119 (tan_test_tonearest): Likewise.
26120 (tan_test_towardzero): Likewise.
26121 (tan_test_downward): Likewise.
26122 (tan_test_upward): Likewise.
26123 (tanh_test): Likewise.
26124 (tgamma_test): Likewise.
26125 (trunc_test): Likewise.
26126 (y0_test): Likewise.
26127 (y1_test): Likewise.
26128 (yn_test): Likewise.
26129 (significand_test): Likewise.
26131 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
26134 * libio/genops.c (_IO_no_init): Initialize wide struct info.
26136 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
26139 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
26140 __ppc_mdoio and __ppc_mdoom.
26141 * manual/platform.texi: Document new functions __ppc_yield,
26142 __ppc_mdoio and __ppc_mdoom.
26144 2013-05-22 Carlos O'Donell <carlos@redhat.com>
26146 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
26147 (main): Mention "tls" pseudo-hwcap is legacy.
26148 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
26150 2013-05-22 Joseph Myers <joseph@codesourcery.com>
26152 * math/gen-libm-test.pl (parse_args): Output only string of
26153 arguments as text for test name, not full call or descriptions of
26154 tests for extra outputs.
26155 (generate_testfile): Do not pass function name to parse_args.
26156 Generate this_func variable from START.
26157 * math/libm-test.inc (struct test_f_f_data): Rename test_name
26159 (struct test_ff_f_data): Likewise.
26160 (test_ff_f_data_nexttoward): Likewise.
26161 (struct test_fi_f_data): Likewise.
26162 (struct test_fl_f_data): Likewise.
26163 (struct test_if_f_data): Likewise.
26164 (struct test_fff_f_data): Likewise.
26165 (struct test_c_f_data): Likewise.
26166 (struct test_f_f1_data): Likewise. Remove field extra_name.
26167 (struct test_fF_f1_data): Likewise.
26168 (struct test_ffI_f1_data): Likewise.
26169 (struct test_c_c_data): Rename test_name field to arg_str.
26170 (struct test_cc_c_data): Likewise.
26171 (struct test_f_i_data): Likewise.
26172 (struct test_ff_i_data): Likewise.
26173 (struct test_f_l_data): Likewise.
26174 (struct test_f_L_data): Likewise.
26175 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
26177 (COMMON_TEST_SETUP): New macro.
26178 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
26179 (COMMON_TEST_CLEANUP): Likewise.
26180 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
26181 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
26183 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
26184 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
26186 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
26187 (RUN_TEST_fff_f): Take argument string. Call new setup and
26189 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
26190 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
26192 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
26193 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
26195 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26196 (RUN_TEST_fF_f1): Take argument string. Call new setup and
26198 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26199 (RUN_TEST_fI_f1): Take argument string. Call new setup and
26201 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26202 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
26204 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26205 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
26207 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
26208 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
26210 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
26211 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
26213 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
26214 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
26216 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
26217 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
26219 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
26220 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
26222 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
26223 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
26225 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
26226 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
26228 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
26229 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
26231 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
26232 (RUN_TEST_fFF_11): Take argument string. Call new setup and
26234 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
26236 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
26238 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
26239 to _sifields.sigfault.
26240 (si_addr_lsb): Define new macro.
26241 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26242 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26243 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
26245 2013-05-03 Carlos O'Donell <carlos at redhat.com>
26248 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
26250 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
26252 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
26253 loading the domain.
26255 2013-05-22 Joseph Myers <joseph@codesourcery.com>
26257 * math/gen-libm-test.pl (parse_args): Do not include expected
26258 result in test name.
26259 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
26260 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26261 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26262 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26263 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26266 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26268 * benchtests/Makefile: Sort function entries.
26270 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
26271 tanh, asinh, acosh, atanh.
26272 * benchtests/acos-inputs: New file.
26273 * benchtests/acosh-inputs: New file.
26274 * benchtests/asin-inputs: New file.
26275 * benchtests/asinh-inputs: New file.
26276 * benchtests/atanh-inputs: New file.
26277 * benchtests/cosh-inputs: New file.
26278 * benchtests/log-inputs: New file.
26279 * benchtests/sinh-inputs: New file.
26280 * benchtests/tanh-inputs: New file.
26282 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
26285 * posix/tst-getaddrinfo4.c: New test.
26286 * posix/Makefile (tests): Add it.
26288 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26291 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
26292 when no services were used.
26293 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
26294 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
26296 2013-05-21 Andreas Schwab <schwab@suse.de>
26299 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
26300 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
26302 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
26303 redundant variable declarations and reallocation of buffer when
26304 parsing as IPv6 address. Always set NSS status when called from
26305 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
26306 buffer too small. Correct computation of needed size.
26307 * nss/Makefile (tests): Add test-digits-dots.
26308 * nss/test-digits-dots.c: New test.
26310 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26312 * benchtests/Makefile: Remove instructions for adding
26314 * benchtests/README: New file to explain how to execute and
26315 enhance the benchmark tests.
26317 2013-05-21 Andreas Schwab <schwab@suse.de>
26320 * setjmp/Makefile (tests): Add tst-sigsetjmp.
26321 * setjmp/tst-sigsetjmp.c: New test.
26323 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
26325 * sysdeps/x86_64/memset.S (memset): New implementation.
26326 (__bzero): Likewise.
26327 (__memset_tail): New function.
26329 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
26331 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
26332 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
26333 __memcpy_sse2_unaligned ifunc selection.
26334 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26335 Add memcpy-sse2-unaligned.S.
26336 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26337 Add: __memcpy_sse2_unaligned.
26339 2013-05-19 Joseph Myers <joseph@codesourcery.com>
26342 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26343 math_force_eval before restoring floating-point envrionment.
26344 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
26345 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26347 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
26349 (__nearbyintl): Use math_force_eval before restoring
26350 floating-point environment.
26351 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
26353 * math/gen-libm-test.pl (special_functions): Remove.
26354 (parse_args): Don't handle TEST_extra. Handle functions with no
26356 * math/libm-test.inc (struct test_sincos_data): Replace with
26357 struct test_fFF_11_data.
26358 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
26359 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
26360 (sincos_test_data): Change element type to struct
26361 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
26362 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
26363 RUN_TEST_LOOP_sincos.
26364 * math/README.libm-test: Don't mention special handling of
26365 individual functions.
26366 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
26367 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26368 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26369 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26370 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26373 * math/gen-libm-test.pl (get_variable): Remove function.
26374 (parse_args): Don't show pointer parameters to call in test
26375 names. Use "extra output N" in test names for extra outputs
26376 rather than naming variables.
26378 2013-05-18 Joseph Myers <joseph@codesourcery.com>
26381 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
26382 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
26383 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
26385 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
26387 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
26390 * math/gen-libm-test.pl (@tests): Remove variable.
26391 ($count): Likewise.
26392 (new_test): Remove function.
26393 (show_exceptions): New function.
26394 (special_functions): Use show_exceptions instead of new_test.
26395 (parse_args): Likewise.
26396 (generate_testfile): Pass only function name in generated call to
26397 print_max_error or print_complex_max_error.
26398 (get_ulps): Do not handle complex tests specially.
26399 (output_test): Rename to ...
26400 (get_all_ulps_for_test): ... this. Return a string rather than
26401 printing to a file. Require ulps to be present.
26402 (output_ulps): Generate arrays rather than #defines.
26403 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
26404 (struct ulp_data): New type.
26405 (BUILD_COMPLEX_ULP): Remove macro.
26406 (compare_ulp_data): New function.
26407 (find_ulps): Likewise.
26408 (find_test_ulps): Likewise.
26409 (find_function_ulps): Likewise.
26410 (find_complex_function_ulps): Likewise.
26411 (print_max_error): Determine allowed ulps using
26412 find_function_ulps.
26413 (print_complex_max_error): Determine allowed ulps using
26414 find_complex_function_ulps.
26415 (check_float_internal): Determine max ulps using find_test_ulps.
26416 (check_float): Do not take max_ulp parameter. Update call to
26417 check_float_internal.
26418 (check_complex): Likewise.
26419 (check_int): Do not take max_ulp parameter.
26420 (check_long): Likewise.
26421 (check_bool): Likewise.
26422 (check_longlong): Likewise.
26423 (struct test_f_f_data): Remove max_ulp field.
26424 (struct test_ff_f_data): Likewise.
26425 (struct test_ff_f_data_nexttoward): Likewise.
26426 (struct test_fi_f_data): Likewise.
26427 (struct test_fl_f_data): Likewise.
26428 (struct test_if_f_data): Likewise.
26429 (struct test_fff_f_data): Likewise.
26430 (struct test_c_f_data): Likewise.
26431 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
26432 (struct test_fF_f1_data): Likewise.
26433 (struct test_ffI_f1_data): Likewise.
26434 (struct test_c_c_data): Remove max_ulp field.
26435 (struct test_cc_c_data): Likewise.
26436 (struct test_f_i_data): Likewise.
26437 (struct test_ff_i_data): Likewise.
26438 (struct test_f_l_data): Likewise.
26439 (struct test_f_L_data): Likewise.
26440 (struct test_sincos_data): Likewise.
26441 (RUN_TEST_f_f): Do not handle ulps.
26442 (RUN_TEST_LOOP_f_f): Likewise.
26443 (RUN_TEST_2_f): Likewise.
26444 (RUN_TEST_LOOP_2_f): Likewise.
26445 (RUN_TEST_fff_f): Likewise.
26446 (RUN_TEST_LOOP_fff_f): Likewise.
26447 (RUN_TEST_c_f): Likewise.
26448 (RUN_TEST_LOOP_c_f): Likewise.
26449 (RUN_TEST_f_f1): Likewise.
26450 (RUN_TEST_LOOP_f_f1): Likewise.
26451 (RUN_TEST_fF_f1): Likewise.
26452 (RUN_TEST_LOOP_fF_f1): Likewise.
26453 (RUN_TEST_fI_f1): Likewise.
26454 (RUN_TEST_LOOP_fI_f1): Likewise.
26455 (RUN_TEST_ffI_f1): Likewise.
26456 (RUN_TEST_LOOP_ffI_f1): Likewise.
26457 (RUN_TEST_c_c): Likewise.
26458 (RUN_TEST_LOOP_c_c): Likewise.
26459 (RUN_TEST_cc_c): Likewise.
26460 (RUN_TEST_LOOP_cc_c): Likewise.
26461 (RUN_TEST_f_i): Likewise.
26462 (RUN_TEST_LOOP_f_i): Likewise.
26463 (RUN_TEST_f_i_tg): Likewise.
26464 (RUN_TEST_LOOP_f_i_tg): Likewise.
26465 (RUN_TEST_ff_i_tg): Likewise.
26466 (RUN_TEST_LOOP_ff_i_tg): Likewise.
26467 (RUN_TEST_f_b): Likewise.
26468 (RUN_TEST_LOOP_f_b): Likewise.
26469 (RUN_TEST_f_b_tg): Likewise.
26470 (RUN_TEST_LOOP_f_b_tg): Likewise.
26471 (RUN_TEST_f_l): Likewise.
26472 (RUN_TEST_LOOP_f_l): Likewise.
26473 (RUN_TEST_f_L): Likewise.
26474 (RUN_TEST_LOOP_f_L): Likewise.
26475 (RUN_TEST_sincos): Likewise.
26476 (RUN_TEST_LOOP_sincos): Likewise.
26478 2013-05-17 Joseph Myers <joseph@codesourcery.com>
26482 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
26483 main case of finite arguments, set rounding mode to FE_TONEAREST
26484 and discard exceptions.
26485 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
26487 (remainder_tonearest_test_data): New variable.
26488 (remainder_test_tonearest): New function.
26489 (remainder_towardzero_test_data): New variable.
26490 (remainder_test_towardzero): New function.
26491 (remainder_downward_test_data): New variable.
26492 (remainder_test_downward): New function.
26493 (remainder_upward_test_data): New variable.
26494 (remainder_test_upward): New function.
26495 (main): Call the new test functions.
26497 * math/libm-test.inc (struct test_f_f1_data): Remove field
26499 (struct test_fF_f1_data): Likewise.
26500 (struct test_ffI_f1_data): Likewise.
26501 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
26502 based on value of EXTRA_EXPECTED.
26503 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26504 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
26505 EXTRA_VAR based on value of EXTRA_EXPECTED.
26506 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26507 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
26508 EXTRA_VAR based on value of EXTRA_EXPECTED.
26509 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26510 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
26511 EXTRA_VAR based on value of EXTRA_EXPECTED.
26512 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26513 * math/gen-libm-test.pl (parse_args): Don't output initializers
26514 for extra output values.
26516 * math/libm-test.inc (check_int): Expect result to be exactly
26517 equal to expected value and do not handle ulps.
26518 (check_long): Likewise.
26519 (check_longlong): Likewise.
26521 * math/libm-test.inc (ceil_test_data): Test for "inexact"
26523 (cimag_test_data): Likewise.
26524 (conj_test_data): Likewise.
26525 (copysign_test_data): Likewise.
26526 (cproj_test_data): Likewise.
26527 (creal_test_data): Likewise.
26528 (fabs_test_data): Likewise.
26529 (fdim_test_data): Likewise.
26530 (finite_test_data): Likewise.
26531 (floor_test_data): Likewise.
26532 (fmax_test_data): Likewise.
26533 (fmin_test_data): Likewise.
26534 (fmod_test_data): Likewise.
26535 (fpclassify_test_data): Likewise.
26536 (frexp_test_data): Likewise.
26537 (ilogb_test_data): Likewise.
26538 (isfinite_test_data): Likewise.
26539 (isgreater_test_data): Likewise.
26540 (isgreaterequal_test_data): Likewise.
26541 (isinf_test_data): Likewise.
26542 (isless_test_data): Likewise.
26543 (islessequal_test_data): Likewise.
26544 (islessgreater_test_data): Likewise.
26545 (isnan_test_data): Likewise.
26546 (isnormal_test_data): Likewise.
26547 (issignaling_test_data): Likewise.
26548 (isunordered_test_data): Likewise.
26549 (ldexp_test_data): Likewise.
26550 (lrint_test_data): Likewise.
26551 (lrint_test_data) [TEST_FLOAT]: Disable one test.
26552 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
26553 (lrint_tonearest_test_data): Test for "inexact" exceptions.
26554 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26555 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
26556 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26558 (lrint_towardzero_test_data): Test for "inexact" exceptions.
26559 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26560 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
26561 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
26563 (lrint_downward_test_data): Test for "inexact" exceptions.
26564 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26565 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
26566 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26568 (lrint_upward_test_data): Test for "inexact" exceptions.
26569 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
26571 (llrint_test_data): Test for "inexact" exceptions.
26572 (llrint_test_data) [TEST_FLOAT]: Disable one test.
26573 (llrint_tonearest_test_data): Test for "inexact" exceptions.
26574 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26575 (llrint_towardzero_test_data): Test for "inexact" exceptions.
26576 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26577 (llrint_downward_test_data): Test for "inexact" exceptions.
26578 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26579 (llrint_upward_test_data): Test for "inexact" exceptions.
26580 (logb_test_data): Likewise.
26581 (logb_downward_test_data): Likewise.
26582 (nextafter_test_data): Likewise.
26583 (nexttoward_test_data): Likewise.
26584 (remainder_test_data): Likewise.
26585 (remquo_test_data): Likewise.
26586 (scalbn_test_data): Likewise.
26587 (scalbln_test_data): Likewise.
26588 (signbit_test_data): Likewise.
26589 (sqrt_test_data): Likewise.
26590 (significand_test_data): Likewise.
26592 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26595 * benchtests/bench-modf.c (struct args): Mark arg0 as
26597 * scripts/bench.pl: Mark members of struct args as volatile.
26599 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26602 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
26603 negative infinity on POWER6 or lower.
26604 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
26606 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
26609 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
26610 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
26611 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
26612 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
26613 (_FP_SETQNAN): New macro.
26614 (_FP_SETQNAN_SEMIRAW): Likewise.
26615 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
26616 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
26617 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
26618 (FP_EXTEND): Use _FP_FRAC_SNANP.
26619 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
26620 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
26622 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26624 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26627 2013-05-16 Joseph Myers <joseph@codesourcery.com>
26629 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
26630 with DIVIDE_BY_ZERO_EXCEPTION.
26631 (gamma_test_data): Likewise.
26632 (lgamma_test_data): Likewise.
26633 (log_test_data): Likewise.
26634 (log10_test_data): Likewise.
26635 (log2_test_data): Likewise.
26636 (tgamma_test_data): Likewise.
26638 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
26639 (acos_test_tonearest): Likewise.
26640 (acos_test_towardzero): Likewise.
26641 (acos_test_downward): Likewise.
26642 (acos_test_upward): Likewise.
26643 (acosh_test): Likewise.
26644 (asin_test): Likewise.
26645 (asin_test_tonearest): Likewise.
26646 (asin_test_towardzero): Likewise.
26647 (asin_test_downward): Likewise.
26648 (asin_test_upward): Likewise.
26649 (asinh_test): Likewise.
26650 (atan_test): Likewise.
26651 (atanh_test): Likewise.
26652 (atan2_test): Likewise.
26653 (cabs_test): Likewise.
26654 (cacos_test): Likewise.
26655 (cacosh_test): Likewise.
26656 (casin_test): Likewise.
26657 (casinh_test): Likewise.
26658 (catan_test): Likewise.
26659 (catanh_test): Likewise.
26660 (cbrt_test): Likewise.
26661 (ccos_test): Likewise.
26662 (ccosh_test): Likewise.
26663 (cexp_test): Likewise.
26664 (clog_test): Likewise.
26665 (clog10_test): Likewise.
26666 (cos_test): Likewise.
26667 (cos_test_tonearest): Likewise.
26668 (cos_test_towardzero): Likewise.
26669 (cos_test_downward): Likewise.
26670 (cos_test_upward): Likewise.
26671 (cosh_test): Likewise.
26672 (cosh_test_tonearest): Likewise.
26673 (cosh_test_towardzero): Likewise.
26674 (cosh_test_downward): Likewise.
26675 (cosh_test_upward): Likewise.
26676 (cpow_test): Likewise.
26677 (csin_test): Likewise.
26678 (csinh_test): Likewise.
26679 (csqrt_test): Likewise.
26680 (ctan_test): Likewise.
26681 (ctan_test_tonearest): Likewise.
26682 (ctan_test_towardzero): Likewise.
26683 (ctan_test_downward): Likewise.
26684 (ctan_test_upward): Likewise.
26685 (ctanh_test): Likewise.
26686 (ctanh_test_tonearest): Likewise.
26687 (ctanh_test_towardzero): Likewise.
26688 (ctanh_test_downward): Likewise.
26689 (ctanh_test_upward): Likewise.
26690 (erf_test): Likewise.
26691 (erfc_test): Likewise.
26692 (exp_test): Likewise.
26693 (exp_test_tonearest): Likewise.
26694 (exp_test_towardzero): Likewise.
26695 (exp_test_downward): Likewise.
26696 (exp_test_upward): Likewise.
26697 (exp10_test): Likewise.
26698 (exp2_test): Likewise.
26699 (expm1_test): Likewise.
26700 (fmod_test): Likewise.
26701 (gamma_test): Likewise.
26702 (hypot_test): Likewise.
26703 (j0_test): Likewise.
26704 (j1_test): Likewise.
26705 (jn_test): Likewise.
26706 (lgamma_test): Likewise.
26707 (log_test): Likewise.
26708 (log10_test): Likewise.
26709 (log1p_test): Likewise.
26710 (log2_test): Likewise.
26711 (logb_test_downward): Likewise.
26712 (pow_test): Likewise.
26713 (pow_test_tonearest): Likewise.
26714 (pow_test_towardzero): Likewise.
26715 (pow_test_downward): Likewise.
26716 (pow_test_upward): Likewise.
26717 (remainder_test): Likewise.
26718 (remquo_test): Likewise.
26719 (sin_test): Likewise.
26720 (sin_test_tonearest): Likewise.
26721 (sin_test_towardzero): Likewise.
26722 (sin_test_downward): Likewise.
26723 (sin_test_upward): Likewise.
26724 (sincos_test): Likewise.
26725 (sinh_test): Likewise.
26726 (sinh_test_tonearest): Likewise.
26727 (sinh_test_towardzero): Likewise.
26728 (sinh_test_downward): Likewise.
26729 (sinh_test_upward): Likewise.
26730 (sqrt_test): Likewise.
26731 (tan_test): Likewise.
26732 (tan_test_tonearest): Likewise.
26733 (tan_test_towardzero): Likewise.
26734 (tan_test_downward): Likewise.
26735 (tan_test_upward): Likewise.
26736 (tanh_test): Likewise.
26737 (tgamma_test): Likewise.
26738 (y0_test): Likewise.
26739 (y1_test): Likewise.
26740 (yn_test): Likewise.
26742 * math/gen-libm-test.pl (adjust_arg): Remove function.
26743 (special_function): Remove argument $in_func. Only handle
26744 generating output for tables of tests, not inside functions.
26745 (parse_args): Likewise.
26746 (generate_testfile): Remove variable $in_func. Update call to
26748 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
26749 (MINUS_ZERO_INIT): Rename macro to minus_zero.
26750 (PLUS_INFTY_INIT): Rename macro to plus_infty.
26751 (MINUS_INFTY_INIT): Rename macro to minus_infty.
26752 (QNAN_VALUE_INIT): Rename macro to qnan_value.
26753 (MAX_VALUE_INIT): Rename macro to max_value.
26754 (MIN_VALUE_INIT): Rename macro to min_value.
26755 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
26756 (plus_zero): Remove variable.
26757 (minus_zero): Likewise.
26758 (plus_infty): Likewise.
26759 (minus_infty): Likewise.
26760 (qnan_value): Likewise.
26761 (max_value): Likewise.
26762 (min_value): Likewise.
26763 (min_subnorm_value): Likewise.
26765 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26767 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
26768 uint64_t or uint32_t usage.
26769 * crypt/sha256-block.c: Likewise.
26770 * crypt/sha256-crypt.c: Likewise.
26771 * crypt/sha256.c: Likewise.
26772 * crypt/sha512-block.c: Likewise.
26773 * crypt/sha512-crypt.c: Likewise.
26774 * crypt/sha512.c: Likewise.
26775 * debug/backtrace-tst.c: Likewise.
26776 * debug/pcprofiledump.c: Likewise.
26777 * elf/cache.c: Likewise.
26778 * elf/dl-cache.c: Likewise.
26779 * elf/dl-misc.c: Likewise.
26780 * elf/dl-profile.c: Likewise.
26781 * elf/dl-support.c: Likewise.
26782 * elf/ldconfig.c: Likewise.
26783 * elf/sprof.c: Likewise.
26784 * iconv/dummy-repertoire.c: Likewise.
26785 * iconv/iconv_charmap.c: Likewise.
26786 * iconv/skeleton.c: Likewise.
26787 * iconvdata/8bit-generic.c: Likewise.
26788 * iconvdata/cp737.h: Likewise.
26789 * iconvdata/cp775.h: Likewise.
26790 * iconvdata/ibm1008.h: Likewise.
26791 * iconvdata/ibm1025.h: Likewise.
26792 * iconvdata/ibm1046.h: Likewise.
26793 * iconvdata/ibm1097.h: Likewise.
26794 * iconvdata/ibm1112.h: Likewise.
26795 * iconvdata/ibm1122.h: Likewise.
26796 * iconvdata/ibm1123.h: Likewise.
26797 * iconvdata/ibm1124.h: Likewise.
26798 * iconvdata/ibm1129.h: Likewise.
26799 * iconvdata/ibm1130.h: Likewise.
26800 * iconvdata/ibm1132.h: Likewise.
26801 * iconvdata/ibm1133.h: Likewise.
26802 * iconvdata/ibm1137.h: Likewise.
26803 * iconvdata/ibm1140.h: Likewise.
26804 * iconvdata/ibm1141.h: Likewise.
26805 * iconvdata/ibm1142.h: Likewise.
26806 * iconvdata/ibm1143.h: Likewise.
26807 * iconvdata/ibm1144.h: Likewise.
26808 * iconvdata/ibm1145.h: Likewise.
26809 * iconvdata/ibm1146.h: Likewise.
26810 * iconvdata/ibm1147.h: Likewise.
26811 * iconvdata/ibm1148.h: Likewise.
26812 * iconvdata/ibm1149.h: Likewise.
26813 * iconvdata/ibm1153.h: Likewise.
26814 * iconvdata/ibm1154.h: Likewise.
26815 * iconvdata/ibm1155.h: Likewise.
26816 * iconvdata/ibm1156.h: Likewise.
26817 * iconvdata/ibm1157.h: Likewise.
26818 * iconvdata/ibm1158.h: Likewise.
26819 * iconvdata/ibm1160.h: Likewise.
26820 * iconvdata/ibm1161.h: Likewise.
26821 * iconvdata/ibm1162.h: Likewise.
26822 * iconvdata/ibm1163.h: Likewise.
26823 * iconvdata/ibm1164.h: Likewise.
26824 * iconvdata/ibm1166.h: Likewise.
26825 * iconvdata/ibm1167.h: Likewise.
26826 * iconvdata/ibm12712.h: Likewise.
26827 * iconvdata/ibm1390.h: Likewise.
26828 * iconvdata/ibm1399.h: Likewise.
26829 * iconvdata/ibm16804.h: Likewise.
26830 * iconvdata/ibm4517.h: Likewise.
26831 * iconvdata/ibm4899.h: Likewise.
26832 * iconvdata/ibm4909.h: Likewise.
26833 * iconvdata/ibm4971.h: Likewise.
26834 * iconvdata/ibm5347.h: Likewise.
26835 * iconvdata/ibm803.h: Likewise.
26836 * iconvdata/ibm856.h: Likewise.
26837 * iconvdata/ibm901.h: Likewise.
26838 * iconvdata/ibm902.h: Likewise.
26839 * iconvdata/ibm9030.h: Likewise.
26840 * iconvdata/ibm9066.h: Likewise.
26841 * iconvdata/ibm921.h: Likewise.
26842 * iconvdata/ibm922.h: Likewise.
26843 * iconvdata/ibm9448.h: Likewise.
26844 * iconvdata/isiri-3342.h: Likewise.
26845 * iconvdata/jis0201.h: Likewise.
26846 * include/link.h: Likewise.
26847 * include/netdb.h: Likewise.
26848 * inet/check_native.c: Likewise.
26849 * inet/check_pf.c: Likewise.
26850 * inet/getipv4sourcefilter.c: Likewise.
26851 * inet/getnameinfo.c: Likewise.
26852 * inet/getsourcefilter.c: Likewise.
26853 * inet/htonl.c: Likewise.
26854 * inet/setipv4sourcefilter.c: Likewise.
26855 * inet/setsourcefilter.c: Likewise.
26856 * inet/test-inet6_opt.c: Likewise.
26857 * inet/tst-network.c: Likewise.
26858 * locale/C-collate.c: Likewise.
26859 * locale/C-ctype.c: Likewise.
26860 * locale/C-time.c: Likewise.
26861 * locale/C-translit.h: Likewise.
26862 * locale/loadarchive.c: Likewise.
26863 * locale/programs/3level.h: Likewise.
26864 * locale/programs/charmap.c: Likewise.
26865 * locale/programs/charmap.h: Likewise.
26866 * locale/programs/ld-address.c: Likewise.
26867 * locale/programs/ld-collate.c: Likewise.
26868 * locale/programs/ld-ctype.c: Likewise.
26869 * locale/programs/ld-identification.c: Likewise.
26870 * locale/programs/ld-measurement.c: Likewise.
26871 * locale/programs/ld-messages.c: Likewise.
26872 * locale/programs/ld-monetary.c: Likewise.
26873 * locale/programs/ld-name.c: Likewise.
26874 * locale/programs/ld-numeric.c: Likewise.
26875 * locale/programs/ld-paper.c: Likewise.
26876 * locale/programs/ld-telephone.c: Likewise.
26877 * locale/programs/ld-time.c: Likewise.
26878 * locale/programs/linereader.c: Likewise.
26879 * locale/programs/locale.c: Likewise.
26880 * locale/programs/locarchive.c: Likewise.
26881 * locale/programs/locfile.h: Likewise.
26882 * locale/programs/repertoire.c: Likewise.
26883 * locale/programs/simple-hash.c: Likewise.
26884 * locale/programs/simple-hash.h: Likewise.
26885 * malloc/memusage.c: Likewise.
26886 * malloc/memusagestat.c: Likewise.
26887 * nis/nis_defaults.c: Likewise.
26888 * nis/nis_hash.c: Likewise.
26889 * nis/nis_print.c: Likewise.
26890 * nis/nis_xdr.c: Likewise.
26891 * nscd/connections.c: Likewise.
26892 * nscd/hstcache.c: Likewise.
26893 * nscd/nscd_gethst_r.c: Likewise.
26894 * nscd/nscd_getserv_r.c: Likewise.
26895 * nscd/nscd_helper.c: Likewise.
26896 * nscd/servicescache.c: Likewise.
26897 * nss/makedb.c: Likewise.
26898 * nss/nss_db/db-XXX.c: Likewise.
26899 * nss/nss_db/db-initgroups.c: Likewise.
26900 * nss/nss_db/db-netgrp.c: Likewise.
26901 * nss/nss_files/files-network.c: Likewise.
26902 * nss/nss_files/files-parse.c: Likewise.
26903 * posix/bug-regex5.c: Likewise.
26904 * posix/fnmatch_loop.c: Likewise.
26905 * posix/regcomp.c: Likewise.
26906 * posix/regexec.c: Likewise.
26907 * posix/tst-rfc3484-2.c: Likewise.
26908 * posix/tst-rfc3484-3.c: Likewise.
26909 * posix/tst-rfc3484.c: Likewise.
26910 * resolv/nss_dns/dns-canon.c: Likewise.
26911 * resolv/nss_dns/dns-network.c: Likewise.
26912 * resolv/res_init.c: Likewise.
26913 * resolv/res_mkquery.c: Likewise.
26914 * resolv/tst-aton.c: Likewise.
26915 * stdlib/cxa_atexit.c: Likewise.
26916 * stdlib/cxa_finalize.c: Likewise.
26917 * stdlib/gen-fpioconst.c: Likewise.
26918 * stdlib/strtol_l.c: Likewise.
26919 * string/tst-endian.c: Likewise.
26920 * sunrpc/auth_des.c: Likewise.
26921 * sunrpc/clnt_udp.c: Likewise.
26922 * sunrpc/rtime.c: Likewise.
26923 * sunrpc/svcauth_des.c: Likewise.
26924 * sunrpc/xdr.c: Likewise.
26925 * sunrpc/xdr_intXX_t.c: Likewise.
26926 * sunrpc/xdr_rec.c: Likewise.
26927 * sysdeps/generic/ldconfig.h: Likewise.
26928 * sysdeps/generic/ldsodefs.h: Likewise.
26929 * sysdeps/generic/memusage.h: Likewise.
26930 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26931 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
26932 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
26933 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26934 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26935 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26936 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26937 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26938 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26939 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26940 * sysdeps/posix/getaddrinfo.c: Likewise.
26941 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26942 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26943 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26944 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26945 * sysdeps/powerpc/test-gettimebase.c: Likewise.
26946 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26947 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
26948 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
26949 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
26950 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
26951 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26952 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26953 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
26954 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
26955 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
26956 * sysdeps/x86_64/dl-tls.h: Likewise.
26957 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
26958 * time/alt_digit.c: Likewise.
26959 * time/era.c: Likewise.
26960 * wcsmbs/tst-c16c32-1.c: Likewise.
26962 2013-05-16 Joseph Myers <joseph@codesourcery.com>
26964 * math/libm-test.inc (struct test_sincos_data): New type.
26965 (RUN_TEST_LOOP_sincos): New macro.
26966 (sincos_test_data): New variable.
26967 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
26969 2013-05-16 Richard Henderson <rth@redhat.com>
26971 * math/atest-exp2.c (LIMB64): New macro.
26972 (CONSTSZ): New macro.
26973 (mp_exp1, mp_exp_m1, mp_log2): New variables.
26975 (print_mpn_fp): ... to function scope.
26976 (read_mpn_hex): Remove.
26977 (get_log2): Remove.
26978 (exp2_mpn): Use mp_log2.
26979 (main): Use mp_exp1.
26981 2013-05-16 Joseph Myers <joseph@codesourcery.com>
26983 * math/libm-test.inc: Remove comment about not testing "inexact"
26985 (INEXACT_EXCEPTION): New macro.
26986 (NO_INEXACT_EXCEPTION): Likewise.
26987 (INVALID_EXCEPTION_OK): Update value.
26988 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26989 (OVERFLOW_EXCEPTION_OK): Likewise.
26990 (UNDERFLOW_EXCEPTION_OK): Likewise.
26991 (IGNORE_ZERO_INF_SIGN): Likewise.
26992 (ERRNO_UNCHANGED): Likewise.
26993 (ERRNO_EDOM): Likewise.
26994 (ERRNO_ERANGE): Likewise.
26995 (test_exceptions): Handle testing "inexact" exceptions.
26996 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
26997 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
26998 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
26999 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
27001 (rint_towardzero_test_data): Likewise.
27002 (rint_downward_test_data): Likewise.
27003 (rint_upward_test_data): Likewise.
27005 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
27006 with OVERFLOW_EXCEPTION.
27007 (exp10_test_data): Likewise.
27008 (exp2_test_data): Likewise.
27009 (expm1_test_data): Likewise.
27010 (lgamma_test_data): Likewise.
27011 (pow_test_data): Likewise.
27012 (tgamma_test_data): Likewise.
27013 (yn_test_data): Remove duplicate test of overflow.
27015 * math/libm-test.inc (struct test_cc_c_data): New type.
27016 (RUN_TEST_LOOP_cc_c): New macro.
27017 (cpow_test_data): New variable.
27018 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
27020 * math/libm-test.inc (struct test_f_L_data): New type.
27021 (RUN_TEST_LOOP_f_L): New macro.
27022 (llrint_test_data): New variable.
27023 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
27024 (llrint_tonearest_test_data): New variable.
27025 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
27026 (llrint_towardzero_test_data): New variable.
27027 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
27028 (llrint_downward_test_data): New variable.
27029 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
27030 (llrint_upward_test_data): New variable.
27031 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
27032 (llround_test_data): New variable.
27033 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
27035 2013-05-13 Peter Collingbourne <pcc@google.com>
27037 * math/atest-exp2.c (get_log2): Remove const attribute.
27039 2013-05-15 Joseph Myers <joseph@codesourcery.com>
27041 * math/libm-test.inc (struct test_f_l_data): New type.
27042 (RUN_TEST_LOOP_f_l): New macro.
27043 (lrint_test_data): New variable.
27044 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
27045 (lrint_tonearest_test_data): New variable.
27046 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
27047 (lrint_towardzero_test_data): New variable.
27048 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
27049 (lrint_downward_test_data): New variable.
27050 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
27051 (lrint_upward_test_data): New variable.
27052 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
27053 (lround_test_data): New variable.
27054 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
27056 2013-05-15 Peter Collingbourne <pcc@google.com>
27058 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
27059 (EXTRACT_WORDS64) Use where appropriate.
27060 (INSERT_WORDS64) Likewise.
27062 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
27063 constraints with x constraints.
27064 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
27066 * malloc/obstack.c (_obstack_compat): Add initializer.
27068 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
27070 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
27071 si_trapno and add si_addr_lsb to _sifields.sigfault.
27072 (si_trapno): Remove macro.
27073 (si_addr_lsb): Define new macro.
27074 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27076 2013-05-15 Joseph Myers <joseph@codesourcery.com>
27078 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
27079 instead of TEST_f_l.
27080 (llrint_test_tonearest): Likewise.
27081 (llrint_test_towardzero): Likewise.
27082 (llrint_test_downward): Likewise.
27083 (llrint_test_upward): Likewise.
27084 (llround_test): Likewise.
27086 * math/libm-test.inc (struct test_f_i_data): Add comment.
27087 (RUN_TEST_LOOP_f_b): New macro.
27088 (RUN_TEST_LOOP_f_b_tg): Likewise.
27089 (finite_test_data): New variable.
27090 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
27091 (isfinite_test_data): New variable.
27092 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27093 (isinf_test_data): New variable.
27094 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27095 (isnan_test_data): New variable.
27096 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27097 (isnormal_test_data): New variable.
27098 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27099 (issignaling_test_data): New variable.
27100 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27101 (signbit_test_data): New variable.
27102 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27104 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
27105 with INVALID_EXCEPTION.
27106 (acosh_test_data): Likewise.
27107 (asin_test_data): Likewise.
27108 (atanh_test_data): Likewise.
27109 (fmod_test_data): Likewise.
27110 (log_test_data): Likewise.
27111 (log10_test_data): Likewise.
27112 (log2_test_data): Likewise.
27113 (pow_test_data): Likewise.
27114 (sqrt_test_data): Likewise.
27115 (y0_test_data): Likewise.
27116 (y1_test_data): Likewise.
27117 (yn_test_data): Likewise.
27119 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
27122 * math/libm-test.inc (struct test_ff_i_data): New type.
27123 (RUN_TEST_LOOP_ff_i_tg): New macro.
27124 (isgreater_test_data): New variable.
27125 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27126 (isgreaterequal_test_data): New variable.
27127 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27128 (isless_test_data): New variable.
27129 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27130 (islessequal_test_data): New variable.
27131 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27132 (islessgreater_test_data): New variable.
27133 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27134 (isunordered_test_data): New variable.
27135 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27137 2013-05-14 David S. Miller <davem@davemloft.net>
27139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27141 2013-05-14 Joseph Myers <joseph@codesourcery.com>
27143 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
27145 * math/libm-test.inc (struct test_fF_f1_data): Change type of
27147 (struct test_f_i_data): Change type of max_ulp to int.
27149 * math/libm-test.inc (test_ffI_f1_data): New type.
27150 (RUN_TEST_LOOP_ffI_f1): New macro.
27151 (remquo_test_data): New variable.
27152 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
27154 * setjmp/tst-setjmp-fp.c: New file.
27155 * setjmp/Makefile (tests): Add tst-setjmp-fp.
27156 (link-libm): New variable.
27157 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
27159 * math/libm-test.inc (struct test_f_i_data): New type.
27160 (RUN_TEST_LOOP_f_i): New macro.
27161 (RUN_TEST_LOOP_f_i_tg): Likewise.
27162 (fpclassify_test_data): New variable.
27163 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
27164 (ilogb_test_data): New variable.
27165 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
27167 * math/libm-test.inc (scalbln_test): Correct function name in END
27170 * math/libm-test.inc (struct test_f_f1_data): Add comment.
27171 (RUN_TEST_LOOP_fI_f1): New macro.
27172 (frexp_test_data): New variable.
27173 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
27175 * math/libm-test.inc (struct test_fF_f1_data): New type.
27176 (RUN_TEST_LOOP_fF_f1): New macro.
27177 (modf_test_data): New variable.
27178 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
27180 * math/libm-test.inc (struct test_f_f1_data): New type.
27181 (RUN_TEST_LOOP_f_f1): New macro.
27182 (gamma_test_data): New variable.
27183 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27184 (lgamma_test_data): New variable.
27185 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27187 2013-05-13 Carlos O'Donell <carlos@redhat.com>
27189 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
27190 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
27191 (main): Comment "tls" pseudo-hwcap.
27193 2013-05-13 Joseph Myers <joseph@codesourcery.com>
27195 * math/libm-test.inc (struct test_fl_f_data): New type.
27196 (RUN_TEST_LOOP_fl_f): New variable.
27197 (scalbln_test_data): New variable.
27198 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
27200 * math/libm-test.inc (struct test_fi_f_data): New type.
27201 (RUN_TEST_LOOP_fi_f): New macro.
27202 (ldexp_test_data): New variable.
27203 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
27204 (scalbn_test_data): New variable.
27205 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
27207 * math/libm-test.inc (struct test_c_f_data): New type.
27208 (RUN_TEST_LOOP_c_f): New macro.
27209 (cabs_test_data): New variable.
27210 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
27211 (carg_test_data): New variable.
27212 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
27213 (cimag_test_data): New variable.
27214 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
27215 (creal_test_data): New variable.
27216 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
27218 * math/libm-test.inc (struct test_if_f_data): New type.
27219 (RUN_TEST_LOOP_if_f): New macro.
27220 (jn_test_data): New variable.
27221 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
27222 (yn_test_data): New variable.
27223 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
27225 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
27227 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27229 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
27230 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
27232 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27234 * benchtests/Makefile (CPPFLAGS-nonlib): Add
27235 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
27236 (bench-deps): Add bench-timing.h.
27237 * benchtests-bench-skeleton.c: Include bench-timing.h.
27238 (main): Use TIMING_* macros instead of clock_gettime.
27239 * benchtests/bench-timing.h: New file.
27242 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
27243 Renamed from _LIB_VERSION.
27244 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
27246 2013-05-12 Joseph Myers <joseph@codesourcery.com>
27248 * math/libm-test.inc (struct test_fff_f_data): New type.
27249 (RUN_TEST_LOOP_fff_f): New macro.
27250 (fma_test_data): New variable.
27251 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
27252 (fma_towardzero_test_data): New variable.
27253 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
27254 (fma_downward_test_data): New variable.
27255 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
27256 (fma_upward_test_data): New variable.
27257 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
27259 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
27260 (struct test_c_c_data): New type.
27261 (RUN_TEST_LOOP_c_c): New macro.
27262 (cacos_test_data): New variable.
27263 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
27264 (cacosh_test_data): New variable.
27265 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
27266 (casin_test_data): New variable.
27267 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
27268 (casinh_test_data): New variable.
27269 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
27270 (catan_test_data): New variable.
27271 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
27272 (catanh_test_data): New variable.
27273 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
27274 (ccos_test_data): New variable.
27275 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
27276 (ccosh_test_data): New variable.
27277 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
27278 (cexp_test_data): New variable.
27279 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
27280 (clog_test_data): New variable.
27281 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
27282 (clog10_test_data): New variable.
27283 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
27284 (conj_test_data): New variable.
27285 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
27286 (cproj_test_data): New variable.
27287 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
27288 (csin_test_data): New variable.
27289 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
27290 (csinh_test_data): New variable.
27291 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
27292 (csqrt_test_data): New variable.
27293 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
27294 (ctan_test_data): New variable.
27295 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
27296 (ctan_tonearest_test_data): New variable.
27297 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27298 (ctan_towardzero_test_data): New variable.
27299 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27300 (ctan_downward_test_data): New variable.
27301 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27302 (ctan_upward_test_data): New variable.
27303 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27304 (ctanh_test_data): New variable.
27305 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
27306 (ctanh_tonearest_test_data): New variable.
27307 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27308 (ctanh_towardzero_test_data): New variable.
27309 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27310 (ctanh_downward_test_data): New variable.
27311 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27312 (ctanh_upward_test_data): New variable.
27313 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27314 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
27317 * math/libm-test.inc (struct test_ff_f_data): New type.
27318 (struct test_ff_f_data_nexttoward): Likewise.
27319 (RUN_TEST_LOOP_2_f): New macro.
27320 (RUN_TEST_LOOP_ff_f): Likewise.
27321 (atan2_test_data): New variable.
27322 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
27323 (copysign_test_data): New variable.
27324 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
27325 (fdim_test_data): New variable.
27326 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
27327 (fmax_test_data): New variable.
27328 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
27329 (fmin_test_data): New variable.
27330 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
27331 (fmod_test_data): New variable.
27332 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
27333 (hypot_test_data): New variable.
27334 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
27335 (nextafter_test_data): New variable.
27336 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
27337 (nexttoward_test_data): New variable.
27338 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
27339 (pow_test_data): New variable.
27340 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
27341 (pow_tonearest_test_data): New variable.
27342 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
27343 (pow_towardzero_test_data): New variable.
27344 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
27345 (pow_downward_test_data): New variable.
27346 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
27347 (pow_upward_test_data): New variable.
27348 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
27349 (remainder_test_data): New variable.
27350 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
27351 (scalb_test_data): New variable.
27352 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
27353 * sysdeps/i386/fpu/libm-test-ulps: Update.
27355 2013-05-11 Joseph Myers <joseph@codesourcery.com>
27357 * math/libm-test.inc (fma_test): Use max_value instead of local
27359 (nextafter_test): Likewise.
27361 * math/libm-test.inc (acos_towardzero_test_data): New variable.
27362 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27363 (acos_downward_test_data): New variable.
27364 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27365 (acos_upward_test_data): New variable.
27366 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27367 (acosh_test_data): New variable.
27368 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
27369 (asin_test_data): New variable.
27370 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
27371 (asin_tonearest_test_data): New variable.
27372 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27373 (asin_towardzero_test_data): New variable.
27374 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27375 (asin_downward_test_data): New variable.
27376 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27377 (asin_upward_test_data): New variable.
27378 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27379 (asinh_test_data): New variable.
27380 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
27381 (atan_test_data): New variable.
27382 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
27383 (atanh_test_data): New variable.
27384 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
27385 (cbrt_test_data): New variable.
27386 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
27387 (ceil_test_data): New variable.
27388 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
27389 (cos_test_data): New variable.
27390 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
27391 (cos_tonearest_test_data): New variable.
27392 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27393 (cos_towardzero_test_data): New variable.
27394 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27395 (cos_downward_test_data): New variable.
27396 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27397 (cos_upward_test_data): New variable.
27398 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27399 (cosh_test_data): New variable.
27400 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
27401 (cosh_tonearest_test_data): New variable.
27402 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27403 (cosh_towardzero_test_data): New variable.
27404 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27405 (cosh_downward_test_data): New variable.
27406 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27407 (cosh_upward_test_data): New variable.
27408 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27409 (erf_test_data): New variable.
27410 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
27411 (erfc_test_data): New variable.
27412 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
27413 (exp_test_data): New variable.
27414 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
27415 (exp_tonearest_test_data): New variable.
27416 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27417 (exp_towardzero_test_data): New variable.
27418 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27419 (exp_downward_test_data): New variable.
27420 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27421 (exp_upward_test_data): New variable.
27422 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27423 (exp10_test_data): New variable.
27424 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
27425 (exp2_test_data): New variable.
27426 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
27427 (expm1_test_data): New variable.
27428 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
27429 (fabs_test_data): New variable.
27430 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
27431 (floor_test_data): New variable.
27432 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
27433 (j0_test_data): New variable.
27434 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
27435 (j1_test_data): New variable.
27436 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
27437 (log_test_data): New variable.
27438 (log_test): Run tests with RUN_TEST_LOOP_f_f.
27439 (log10_test_data): New variable.
27440 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
27441 (log1p_test_data): New variable.
27442 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
27443 (log2_test_data): New variable.
27444 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
27445 (logb_test_data): New variable.
27446 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
27447 (logb_downward_test_data): New variable.
27448 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27449 (nearbyint_test_data): New variable.
27450 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
27451 (rint_test_data): New variable.
27452 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
27453 (rint_tonearest_test_data): New variable.
27454 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27455 (rint_towardzero_test_data): New variable.
27456 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27457 (rint_downward_test_data): New variable.
27458 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27459 (rint_upward_test_data): New variable.
27460 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27461 (round_test_data): New variable.
27462 (round_test): Run tests with RUN_TEST_LOOP_f_f.
27463 (sin_test_data): New variable.
27464 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
27465 (sin_tonearest_test_data): New variable.
27466 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27467 (sin_towardzero_test_data): New variable.
27468 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27469 (sin_downward_test_data): New variable.
27470 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27471 (sin_upward_test_data): New variable.
27472 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27473 (sinh_test_data): New variable.
27474 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
27475 (sinh_tonearest_test_data): New variable.
27476 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27477 (sinh_towardzero_test_data): New variable.
27478 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27479 (sinh_downward_test_data): New variable.
27480 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27481 (sinh_upward_test_data): New variable.
27482 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27483 (sqrt_test_data): New variable.
27484 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
27485 (tan_test_data): New variable.
27486 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
27487 (tan_tonearest_test_data): New variable.
27488 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27489 (tan_towardzero_test_data): New variable.
27490 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27491 (tan_downward_test_data): New variable.
27492 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27493 (tan_upward_test_data): New variable.
27494 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27495 (tanh_test_data): New variable.
27496 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
27497 (tgamma_test_data): New variable.
27498 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
27499 (trunc_test_data): New variable.
27500 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
27501 (y0_test_data): New variable.
27502 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
27503 (y1_test_data): New variable.
27504 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
27505 (significand_test_data): New variable.
27506 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
27508 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
27511 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
27513 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
27515 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
27517 2013-05-10 Andreas Jaeger <aj@suse.de>
27520 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
27521 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
27523 2013-05-10 Joseph Myers <joseph@codesourcery.com>
27525 * math/gen-libm-test.pl (adjust_arg): New function.
27526 (special_functions): Handle generating output in both functions
27528 (parse_args): Likewise.
27529 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
27530 $in_func argument to parse_args.
27531 * math/libm-test.inc (struct test_f_f_data): New type.
27532 (IF_ROUND_INIT_): New macro.
27533 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
27534 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27535 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27536 (IF_ROUND_INIT_FE_UPWARD): Likewise.
27537 (ROUND_RESTORE_): Likewise.
27538 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
27539 (ROUND_RESTORE_FE_TONEAREST): Likewise.
27540 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
27541 (ROUND_RESTORE_FE_UPWARD): Likewise.
27542 (RUN_TEST_LOOP_f_f): New macro.
27543 (acos_test_data): New variable.
27544 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
27545 (acos_tonearest_test_data): New variable.
27546 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27548 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27550 * benchtests/bench-skeleton.c (startup): Fix coding style.
27552 2013-05-10 Joseph Myers <joseph@codesourcery.com>
27555 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
27556 negative infinity argument.
27557 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
27558 negative infinity argument.
27559 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
27560 negative infinity argument.
27561 * math/libm-test.inc (tgamma_test): Expect errno to be set for
27564 2013-05-10 Florian Weimer <fweimer@redhat.com>
27566 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
27567 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
27568 * iconv/iconv_prog.c (main): Likewise.
27569 * locale/programs/charmap-dir.c (charmap_readdir)
27570 (fopen_uncompressed): Likewise.
27571 * locale/programs/locfile.c (siblings_uncached)
27572 (write_locale_data): Use lstat64 instead of lstat.
27573 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
27576 2013-05-10 Andreas Jaeger <aj@suse.de>
27579 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
27581 Include <locale.h>.
27583 2013-05-09 Carlos O'Donell <carlos@redhat.com>
27585 * elf/dl-close.c (_dl_close_worker): Add comments.
27587 2013-05-09 Joseph Myers <joseph@codesourcery.com>
27590 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
27592 (__ieee754_rem_pio2l): Update comments.
27595 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
27597 (__ieee754_rem_pio2l): Update comments.
27599 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
27600 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
27602 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
27605 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
27606 (M_PI_34_LOG10El): Likewise.
27607 (M_PI2_LOG10El): Likewise.
27608 (M_PI4_LOG10El): Likewise.
27609 (M_PI_LOG10El): Likewise.
27611 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27615 2013-05-08 Joseph Myers <joseph@codesourcery.com>
27617 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
27618 (MINUS_ZERO_INIT): Likewise.
27619 (PLUS_INFTY_INIT): Likewise.
27620 (MINUS_INFTY_INIT): Likewise.
27621 (QNAN_VALUE_INIT): Likewise.
27622 (MAX_VALUE_INIT): Likewise.
27623 (MIN_VALUE_INIT): Likewise.
27624 (MIN_SUBNORM_VALUE_INIT): Likewise.
27625 (plus_zero): Initialize with PLUS_ZERO_INIT.
27626 (minus_zero): Initialize with MINUS_ZERO_INIT.
27627 (plus_infty): Initialize with PLUS_INFTY_INIT.
27628 (minus_infty): Initialize with MINUS_INFTY_INIT.
27629 (qnan_value): Initialize with QNAN_VALUE_INIT.
27630 (max_value): Initialize with MAX_VALUE_INIT.
27631 (min_value): Initialize with MIN_VALUE_INIT.
27632 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
27634 * math/libm-test.inc (RUN_TEST_if_f): New macro.
27635 (jn_test): Use TEST_if_f instead of TEST_ff_f.
27636 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
27637 (yn_test): Use TEST_if_f instead of TEST_ff_f.
27639 * math/libm-test.inc (RUN_TEST_f_f): New macro.
27640 (RUN_TEST_2_f): Likewise.
27641 (RUN_TEST_ff_f): Likewise.
27642 (RUN_TEST_fi_f): Likewise.
27643 (RUN_TEST_fl_f): Likewise.
27644 (RUN_TEST_fff_f): Likewise.
27645 (RUN_TEST_c_f): Likewise.
27646 (RUN_TEST_f_f1): Likewise.
27647 (RUN_TEST_fF_f1): Likewise.
27648 (RUN_TEST_fI_f1): Likewise.
27649 (RUN_TEST_ffI_f1): Likewise.
27650 (RUN_TEST_c_c): Likewise.
27651 (RUN_TEST_cc_c): Likewise.
27652 (RUN_TEST_f_i): Likewise.
27653 (RUN_TEST_f_i_tg): Likewise.
27654 (RUN_TEST_ff_i_tg): Likewise.
27655 (RUN_TEST_f_b): Likewise.
27656 (RUN_TEST_f_b_tg): Likewise.
27657 (RUN_TEST_f_l): Likewise.
27658 (RUN_TEST_f_L): Likewise.
27659 (RUN_TEST_sincos): Likewise.
27660 * math/gen-libm-test.pl (new_test): Take new argument to indicate
27661 whether to show exceptions. Do not include ");\n" in return
27663 (special_functions): Output call to RUN_TEST_sincos instead of
27664 check_float calls. Update calls to new_test.
27665 (parse_args): Output call to single RUN_TEST_* macro instead of
27666 check_* calls and other assignments. Update calls to new_test.
27672 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
27673 input to result for tgamma overflow.
27674 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
27675 (gamma_coeff): New variable.
27676 (NCOEFF): New macro.
27677 (gamma_positive): New function.
27678 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
27679 underflow here. Use gamma_positive instead of exp (lgamma) for
27681 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
27682 (gamma_coeff): New variable.
27683 (NCOEFF): New macro.
27684 (gammaf_positive): New function.
27685 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
27686 underflow here. Use gamma_positive instead of exp (lgamma) for
27688 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
27689 (gamma_coeff): New variable.
27690 (NCOEFF): New macro.
27691 (gammal_positive): New function.
27692 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
27693 underflow here. Use gamma_positive instead of exp (lgamma) for
27695 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
27696 (gamma_coeff): New variable.
27697 (NCOEFF): New macro.
27698 (gammal_positive): New function.
27699 (__ieee754_gammal_r): Handle positive infinity, overflow and
27700 underflow here. Handle NaN the same as positive infinity. Remove
27701 check x < 0xffffffff for negative integers. Use gamma_positive
27702 instead of exp (lgamma) for other arguments.
27703 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
27704 (gamma_coeff): New variable.
27705 (NCOEFF): New macro.
27706 (gammal_positive): New function.
27707 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
27708 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
27709 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
27710 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
27711 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
27712 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
27713 * sysdeps/generic/math_private.h (__gamma_productf): New
27715 (__gamma_product): Likewise.
27716 (__gamma_productl): Likewise.
27717 * math/Makefile (libm-calls): Add gamma_product.
27718 * math/libm-test.inc (tgamma_test): Add more tests.
27719 * sysdeps/i386/fpu/libm-test-ulps: Update.
27720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27722 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
27724 * benchtests/bench-skeleton.c (main): Preheat CPU.
27726 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
27728 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
27730 2013-05-07 Roland McGrath <roland@hack.frob.com>
27732 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
27733 and _dl_skip_args_internal.
27735 2013-05-07 Carlos O'Donell <carlos@redhat.com>
27737 * manual/message.texi (Message Translation): Talk about users.
27738 Message to key mapping impacts design.
27740 2013-05-06 Roland McGrath <roland@hack.frob.com>
27742 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
27744 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
27746 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
27747 * sysdeps/wordsize-64/glob64.c: ... here.
27749 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
27750 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
27753 * debug/getlogin_r_chk.c: Moved to ...
27754 * login/getlogin_r_chk.c: ... here.
27755 * debug/Makefile (routines): Move getlogin_r_chk to ...
27756 * login/Makefile (routines): ... here.
27757 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
27758 * login/Versions (libc: GLIBC_2.4): ... here.
27760 * io/poll.c (__poll): Renamed from poll.
27761 Add libc_hidden_def.
27762 (poll): Define as weak alias.
27764 * debug/ptsname_r_chk.c: Moved to ...
27765 * login/ptsname_r_chk.c: ... here.
27766 * debug/Makefile (routines): Move ptsname_r_chk to ...
27767 * login/Makefile (routines): ... here.
27768 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
27769 * login/Versions (libc: GLIBC_2.4): ... here.
27771 * posix/getlogin.c: Moved to ...
27772 * login/getlogin.c: ... here.
27773 * posix/getlogin_r.c: Moved to ...
27774 * login/getlogin_r.c: ... here.
27775 * posix/getlogin_r.c: Moved to ...
27776 * login/getlogin_r.c: ... here.
27777 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
27778 * login/Makefile (routines): ... here.
27779 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
27780 * login/Versions (libc: GLIBC_2.0): ... here.
27782 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
27783 (setrlimit): Define as weak alias.
27785 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
27786 Call __ names for open, ftruncate, and close.
27787 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
27788 (truncate): Define as weak alias.
27790 2013-05-06 Joseph Myers <joseph@codesourcery.com>
27792 * math/gen-libm-test.pl (parse_args): Initialize x before each
27793 test of frexp, modf and remquo.
27795 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
27796 test signgam value.
27798 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27802 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
27804 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27806 2013-05-06 Roland McGrath <roland@hack.frob.com>
27808 * elf/dl-writev.h: New file.
27809 * elf/dl-misc.c: Include it.
27810 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
27811 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
27813 2013-05-04 Joseph Myers <joseph@codesourcery.com>
27815 * math/libm-test.inc (noXFails): Remove variable.
27816 (noXPasses): Likewise.
27817 (BUILD_COMPLEX_INT): Remove macro.
27818 (print_screen): Remove xfail argument.
27819 (print_screen_max_error): Likewise.
27820 (update_stats): Likewise.
27821 (print_max_error): Likewise. Update calls to other affected
27823 (print_complex_max_error): Likewise.
27824 (test_single_exception): Update calls to print_screen.
27825 (test_single_errno): Likewise.
27826 (check_float_internal): Remove xfail argument. Update calls to
27827 other affected functions.
27828 (check_float): Likewise.
27829 (check_complex): Likewise.
27830 (check_int): Likewise.
27831 (check_long): Likewise.
27832 (check_bool): Likewise.
27833 (check_longlong): Likewise.
27834 (main): Don't print noXFails and noXPasses.
27835 * math/gen-libm-test.pl (top level): Don't mention expected
27836 failure handling in comment.
27837 (new_test): Don't handle expected failures.
27838 (parse_args): Don't mention expected failure handling in comment.
27839 (generate_testfile): Don't handle expected failures.
27840 (parse_ulps): Likewise.
27841 (print_ulps_file): Likewise.
27842 (get_failure): Remove function.
27843 (output_test): Don't handle expected failures.
27844 * make/README.libm-test: Don't mention expected failure handling.
27846 * math/libm-test.inc (plus_zero): Make const. Add initializer.
27847 (minus_zero): Likewise.
27848 (plus_infty): Likewise.
27849 (minus_infty): Likewise.
27850 (qnan_value): Likewise.
27851 (max_value): Likewise.
27852 (min_value): Likewise.
27853 (min_subnorm_value): Likewise.
27854 (initialize): Do not initialize those variables dynamically.
27856 2013-05-03 Roland McGrath <roland@hack.frob.com>
27858 * io/open.c (__open_2): Moved to ...
27859 * io/open_2.c: ... this new file.
27860 * io/open64.c (__open64_2): Moved to ...
27861 * io/open64_2.c: ... this new file.
27862 * io/openat.c (__openat_2): Moved to ...
27863 * io/openat_2.c: ... this new file.
27864 * io/openat64.c (__openat64_2): Moved to ...
27865 * io/openat64_2.c: ... this new file.
27866 * io/Makefile (routines): Add them.
27867 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
27868 * sysdeps/unix/sysv/linux/open_2.c: File removed.
27869 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
27870 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
27871 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
27872 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
27873 (__openat64): Add hidden_ver.
27874 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
27875 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
27877 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
27878 Separately conditionalize setting of GLRO(dl_sysinfo) so
27879 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
27880 as well, but the actual setting is only under [NEED_DL_SYSINFO].
27882 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27884 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
27885 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
27887 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
27888 * sysdeps/unix/sysv/linux/powerpc/init-first.c
27889 (_libc_vdso_platform_setup): Add __vdso_time initialization.
27890 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
27891 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
27893 2013-05-03 Joseph Myers <joseph@codesourcery.com>
27895 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
27896 test signgam value.
27898 * math/libm-test.inc (hypot_test): Do not use
27899 IGNORE_ZERO_INF_SIGN.
27901 2013-05-03 Andreas Jaeger <aj@suse.de>
27903 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
27905 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
27906 (PF_MAX): Adjust for VSOCK change.
27908 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27910 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27912 2013-05-02 Carlos O'Donell <carlos@redhat.com>
27915 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
27916 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
27917 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
27919 2013-05-02 David S. Miller <davem@davemloft.net>
27921 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27923 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
27925 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
27927 2013-05-01 Roland McGrath <roland@hack.frob.com>
27929 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
27931 2013-05-01 Richard Smith <richard@metafoo.co.uk>
27934 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
27935 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27936 Use __attribute__ ((__gnu_inline__)).
27937 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27938 Don't use __attribute__ ((__gnu_inline__)).
27940 2013-05-01 Joseph Myers <joseph@codesourcery.com>
27943 * math/s_catan.c (__catan): Handle small real or imaginary part of
27944 input specially to avoid spurious underflow.
27945 * math/s_catanf.c (__catanf): Likewise.
27946 * math/s_catanh.c (__catanh): Likewise.
27947 * math/s_catanhf.c (__catanhf): Likewise.
27948 * math/s_catanhl.c (__catanhl): Likewise.
27949 * math/s_catanl.c (__catanl): Likewise.
27950 * math/libm-test.inc (catan_test): Add more tests.
27951 (catanh_test): Likewise.
27952 * sysdeps/i386/fpu/libm-test-ulps: Update.
27953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27955 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27957 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27959 2013-04-30 Joseph Myers <joseph@codesourcery.com>
27962 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
27963 accurately for denominator in atan2.
27964 * math/s_catanf.c (__catanf): Likewise.
27965 * math/s_catanh.c (__catanh): Likewise.
27966 * math/s_catanhf.c (__catanhf): Likewise.
27967 * math/s_catanhl.c (__catanhl): Likewise.
27968 * math/s_catanl.c (__catanl): Likewise.
27969 * math/libm-test.inc (catan_test): Add more tests.
27970 (catanh_test): Likewise.
27971 * sysdeps/i386/fpu/libm-test-ulps: Update.
27972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27974 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27976 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
27978 * benchtests/Makefile (bench): Remove slow benchmarks.
27979 * benchtests/atan-inputs: Add slow benchmark inputs.
27980 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
27981 (BENCH_FUNC): Accept variant offset.
27983 * benchtests/bench-skeleton.c (main): Run benchmark for each
27985 * benchtests/cos-inputs: Add slow benchmark inputs.
27986 * benchtests/exp-inputs: Likewise.
27987 * benchtests/pow-inputs: Likewise.
27988 * benchtests/sin-inputs: Likewise.
27989 * benchtests/slowatan-inputs: Remove.
27990 * benchtests/slowatan.c: Remove.
27991 * benchtests/slowcos-inputs: Remove.
27992 * benchtests/slowcos.c: Remove.
27993 * benchtests/slowexp-inputs: Remove.
27994 * benchtests/slowexp.c: Remove.
27995 * benchtests/slowpow-inputs: Remove.
27996 * benchtests/slowpow.c: Remove.
27997 * benchtests/slowsin-inputs: Remove.
27998 * benchtests/slowsin.c: Remove.
27999 * benchtests/slowtan-inputs: Remove.
28000 * benchtests/slowtan.c: Remove.
28001 * benchtests/tan-inputs: Add slow benchmark inputs.
28002 * scripts/bench.pl: Parse comments and directives.
28004 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
28006 ($(objpfx)bench-%.c): Remove *-ITER.
28007 * benchtests/bench-modf.c: Remove definition of ITER.
28008 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
28009 (main): Loop for DURATION seconds instead of fixed number of
28011 * scripts/bench.pl: Don't expect iterations in parameters.
28013 2013-04-29 Roland McGrath <roland@hack.frob.com>
28015 * io/fchdir.c (__fchdir): Renamed from fchdir.
28016 (fchdir): Define as weak alias.
28018 2013-04-29 Joseph Myers <joseph@codesourcery.com>
28020 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
28021 (ERRNO_EDOM): Likewise.
28022 (ERRNO_ERANGE): Likewise.
28023 (noErrnoTests): New variable.
28024 (init_max_error): Set errno to 0.
28025 (test_single_errno): New function.
28026 (test_errno): Likewise.
28027 (check_float_internal): Call test_errno. Set errno to 0.
28028 (check_complex): Refer to errno tests in comment.
28029 (check_int): Call test_errno. Set errno to 0.
28030 (check_long): Likewise.
28031 (check_bool): Likewise.
28032 (check_longlong): Likewise.
28033 (cos_test): Use ERRNO_* flags for errno tests instead of
28035 (expm1_test): Likewise.
28036 (fmod_test): Likewise.
28037 (ilogb_test): Likewise.
28038 (lgamma_test): Likewise.
28039 (pow_test): Likewise.
28040 (remainder_test): Likewise.
28041 (sin_test): Likewise.
28042 (tan_test): Likewise.
28043 (yn_test): Likewise.
28044 (initialize): Set errno to 0.
28045 (main): Print number of errno tests.
28046 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
28048 2013-04-29 Andreas Jaeger <aj@suse.de>
28051 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
28055 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
28056 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
28060 * stdlib/random.c (__initstate): Return NULL if
28064 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
28065 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
28068 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28070 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28072 2013-04-29 Joseph Myers <joseph@codesourcery.com>
28074 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
28075 of individual tests.
28076 (casin_test): Likewise.
28077 (casinh_test): Likewise.
28079 2013-04-27 Joseph Myers <joseph@codesourcery.com>
28082 * math/s_catan.c (__catan): Handle arguments with large real or
28083 imaginary part separately without squaring.
28084 * math/s_catanf.c (__catanf): Likewise.
28085 * math/s_catanh.c (__catanh): Likewise.
28086 * math/s_catanhf.c (__catanhf): Likewise.
28087 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28089 (__catanhl): Handle arguments with large real or imaginary part
28090 separately without squaring.
28091 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28093 (__catanl): Handle arguments with large real or imaginary part
28094 separately without squaring.
28095 * math/libm-test.inc (catan_test): Add more tests.
28096 (catanh_test): Likewise.
28097 * sysdeps/i386/fpu/libm-test-ulps: Update.
28098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28100 2013-04-27 Andreas Jaeger <aj@suse.de>
28103 * stdlib/stdlib.h: Update guards for qecvt.
28104 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
28107 2013-04-27 Allan McRae <allan@archlinux.org>
28109 * sysdeps/i386/fpu/libm-test-ulps: Update.
28111 2013-04-26 Joseph Myers <joseph@codesourcery.com>
28114 * math/s_catan.c: Include <float.h>.
28115 (__catan): Ensure underflow exception occurs for underflowed
28117 * math/s_catanf.c: Include <float.h>.
28118 (__catanf): Ensure underflow exception occurs for underflowed
28120 * math/s_catanh.c: Include <float.h>.
28121 (__catanh): Ensure underflow exception occurs for underflowed
28123 * math/s_catanhf.c: Include <float.h>.
28124 (__catanhf): Ensure underflow exception occurs for underflowed
28126 * math/s_catanhl.c: Include <float.h>.
28127 (__catanhl): Ensure underflow exception occurs for underflowed
28129 * math/s_catanl.c: Include <float.h>.
28130 (__catanl): Ensure underflow exception occurs for underflowed
28132 * math/libm-test.inc (catan_test): Add more tests.
28133 (catanh_test): Likewise.
28136 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
28137 underflowed result.
28138 * math/s_ccoshf.c (__ccoshf): Likewise.
28139 * math/s_ccoshl.c (__ccoshl): Likewise.
28140 * math/s_csin.c (__csin): Likewise.
28141 * math/s_csinf.c (__csinf): Likewise.
28142 * math/s_csinh.c (__csinh): Likewise.
28143 * math/s_csinhf.c (__csinhf): Likewise.
28144 * math/s_csinhl.c (__csinhl): Likewise.
28145 * math/s_csinl.c (__csinl): Likewise.
28146 * math/libm-test.inc (ccos_test): Add more tests.
28147 (ccosh_test): Likewise.
28148 (csin_test): Likewise.
28149 (csinh_test): Likewise.
28151 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28153 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
28154 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
28155 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
28156 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
28157 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
28158 powerpc/power5+/fpu folders.
28159 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
28162 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28164 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28166 2013-04-25 Joseph Myers <joseph@codesourcery.com>
28168 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
28169 additions to variable.
28170 [$(config-machine) = x86_64] (modules-names): Likewise.
28171 ($(objpfx)tst-audit3): Remove dependency.
28172 ($(objpfx)tst-audit3.out): Likewise.
28173 ($(objpfx)tst-audit4): Likewise.
28174 ($(objpfx)tst-audit4.out): Likewise.
28175 ($(objpfx)tst-audit5): Likewise.
28176 ($(objpfx)tst-audit5.out): Likewise.
28177 ($(objpfx)tst-audit6): Likewise.
28178 ($(objpfx)tst-audit6.out): Likewise.
28179 ($(objpfx)tst-audit7): Likewise.
28180 ($(objpfx)tst-audit7.out): Likewise.
28181 (tst-audit3-ENV): Remove variable.
28182 (tst-audit4-ENV): Likewise.
28183 (tst-audit5-ENV): Likewise.
28184 (tst-audit6-ENV): Likewise.
28185 (tst-audit7-ENV): Likewise.
28186 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
28187 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
28188 addition to variable.
28189 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
28190 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
28191 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
28192 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
28193 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
28194 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
28195 tst-audit3, tst-audit4 and tst-audit5.
28196 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
28197 tst-audit6 and tst-audit7.
28198 [$(subdir) = elf] (modules-names): Add audit modules for those
28200 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
28201 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
28202 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
28203 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
28204 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
28205 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
28206 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
28207 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
28208 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
28209 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
28210 [$(subdir) = elf] (tst-audit3-ENV): New variable.
28211 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
28212 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
28213 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
28214 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
28215 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
28217 [$(subdir) = elf && $(config-cflags-avx) = yes]
28218 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
28219 [$(subdir) = elf && $(config-cflags-avx) = yes]
28220 (CFLAGS-tst-auditmod4a.c): Likewise.
28221 [$(subdir) = elf && $(config-cflags-avx) = yes]
28222 (CFLAGS-tst-auditmod4b.c): Likewise.
28223 [$(subdir) = elf && $(config-cflags-avx) = yes]
28224 (CFLAGS-tst-auditmod6b.c): Likewise.
28225 [$(subdir) = elf && $(config-cflags-avx) = yes]
28226 (CFLAGS-tst-auditmod6c.c): Likewise.
28227 [$(subdir) = elf && $(config-cflags-avx) = yes]
28228 (CFLAGS-tst-auditmod7b.c): Likewise.
28229 * elf/tst-audit3.c: Move to ...
28230 * sysdeps/x86_64/tst-audit3.c: ... here.
28231 * elf/tst-audit4.c: Move to ...
28232 * sysdeps/x86_64/tst-audit4.c: ... here.
28233 * elf/tst-audit5.c: Move to ...
28234 * sysdeps/x86_64/tst-audit5.c: ... here.
28235 * elf/tst-audit6.c: Move to ...
28236 * sysdeps/x86_64/tst-audit6.c: ... here.
28237 * elf/tst-audit7.c: Move to ...
28238 * sysdeps/x86_64/tst-audit7.c: ... here.
28239 * elf/tst-auditmod3a.c: Move to ...
28240 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
28241 * elf/tst-auditmod3b.c: Move to ...
28242 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
28243 * elf/tst-auditmod4a.c: Move to ...
28244 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
28245 * elf/tst-auditmod4b.c: Move to ...
28246 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
28247 * elf/tst-auditmod5a.c: Move to ...
28248 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
28249 * elf/tst-auditmod5b.c: Move to ...
28250 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
28251 * elf/tst-auditmod6a.c: Move to ...
28252 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
28253 * elf/tst-auditmod6b.c: Move to ...
28254 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
28255 * elf/tst-auditmod6c.c: Move to ...
28256 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
28257 * elf/tst-auditmod7a.c: Move to ...
28258 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
28259 * elf/tst-auditmod7b.c: Move to ...
28260 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
28262 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28265 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
28266 define unconditionally.
28267 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
28268 define unconditionally.
28269 (INT8_C, INT16_C, etc.): Likewise.
28271 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
28273 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
28274 __ehdr_start with hidden visibility.
28276 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
28278 2013-04-24 Carlos O'Donell <carlos@redhat.com>
28280 * math/libm-test.inc (cos_test): Use accurate hex constants.
28281 (sincost_test): Likewise.
28283 2013-04-24 Joseph Myers <joseph@codesourcery.com>
28285 * math/libm-test.inc (catan_test): Add more tests.
28286 (catanh_test): Likewise.
28288 * math/s_catanf.c (__catanf): Use suffixed floating-point
28290 * math/s_catanhf.c (__catanhf): Likewise.
28291 * math/s_catanhl.c (__catanhl): Likewise.
28292 * math/s_catanl.c (__catanl): Likewise.
28295 * math/s_catan.c (__catan): Calculate imaginary part of result
28296 with log1p not log unless computing log of number close to 0.
28297 * math/s_catanf.c (__catanf): Likewise.
28298 * math/s_catanl.c (__catanl): Likewise.
28299 * math/s_catanh.c (__catanh): Calculate real part of result with
28300 log1p not log unless computing log of number close to 0.
28301 * math/s_catanhf.c (__catanhf): Likewise.
28302 * math/s_catanhl.c (__catanhl): Likewise.
28303 * math/libm-test.inc (catan_test): Add more tests.
28304 (catanh_test): Likewise.
28305 * sysdeps/i386/fpu/libm-test-ulps: Update.
28306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28308 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28310 * benchtests/Makefile: Mention files in which fast and slow
28311 paths of math functions are implemented.
28313 2013-04-23 Roland McGrath <roland@hack.frob.com>
28315 * sysdeps/posix/timespec_get.c: New file.
28317 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28319 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
28321 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
28323 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
28324 powerpc/power5/fpu folders.
28325 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
28326 * benchtests/Makefile: Add modf testcase.
28327 * benchtests/bench-modf.c: New file: Benchmark test for mo
28329 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
28332 * time/Makefile (tests): Add tst-strptime-whitespace.
28333 * time/strptime_l.c (get_number): Use ISSPACE.
28334 (__strptime_internal): Likewise.
28335 * time/tst-strptime-whitespace.c: New test case.
28337 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
28339 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
28341 (_nss_files_init): Set it here.
28343 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
28345 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
28346 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
28349 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
28351 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
28353 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28355 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
28358 2013-04-21 David S. Miller <davem@davemloft.net>
28360 * po/ru.po: Update Russion translation from translation project.
28362 2013-04-17 Adam Conrad <adconrad@0c3.net>
28364 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
28367 2013-04-17 Carlos O'Donell <carlos@redhat.com>
28369 * configure.in: Remove i386 configure warning. Remove i386 case.
28370 * configure: Regenerate.
28371 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
28372 Add example to error message.
28373 * sysdeps/i386/configure: Regenerate.
28375 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28377 * benchtests/Makefile (bench): Add cos, tan, slowcos and
28379 * benchtests/cos-inputs: New file.
28380 * benchtests/slowcos-inputs: New file.
28381 * benchtests/slowcos.c: New file.
28382 * benchtests/slowtan-inputs: New file.
28383 * benchtests/slowtan.c: New file.
28384 * benchtests/tan-inputs: New file.
28386 2013-04-16 Roland McGrath <roland@hack.frob.com>
28388 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
28391 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28393 * benchtests/Makefile: Include cppflags-iterator.mk to add
28394 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
28396 * Makefile.in (bench-clean): New target.
28397 * benchtests/Makefile (bench-clean): Likewise.
28399 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
28401 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
28403 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
28405 * stdio-common/tstdiomisc.c: Fix coding-style violation.
28407 2013-04-15 Andreas Schwab <schwab@suse.de>
28409 * nscd/grpcache.c (cache_addgr): Properly check for short write.
28410 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28411 * nscd/pwdcache.c (cache_addpw): Likewise.
28412 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
28415 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28417 * benchtests/Makefile (bench): Write all output to
28418 bench-out.tmp together.
28420 2013-04-15 Andreas Schwab <schwab@suse.de>
28422 * nscd/nscd.c (main): Don't fork again after closing files.
28424 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28426 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
28428 * benchtests/Rules (bench-deps): Collect dependencies into a
28429 single variable. Add Makefile to dependencies.
28430 ($(objpfx)bench-%.c): Depend on bench-deps.
28432 2013-04-12 Roland McGrath <roland@hack.frob.com>
28433 Xavier Roche <roche+kml2@exalead.com>
28436 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
28437 just that it's a file descriptor.
28438 * manual/llio.texi (Synchronizing AIO Operations): Update description
28439 for EBADF error from aio_fsync.
28441 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28443 * Rules (bench): Move target definition...
28444 * benchtests/Makefile: ... here.
28446 2013-04-11 Carlos O'Donell <carlos@redhat.com>
28448 * math/libm-test.inc (cos_test): Fix PI/2 test.
28449 (sincos_test): Likewise.
28450 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28451 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
28453 2013-04-11 Andreas Schwab <schwab@suse.de>
28456 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
28457 accept exponent character only when digits were seen.
28458 * stdio-common/Makefile (tests): Add bug26.
28459 * stdio-common/bug26.c: New file.
28462 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
28465 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28467 * Makeconfig (rtld-prefix): Define built linker prefix.
28468 * Rules (run-bench): Use it.
28469 * math/Makefile (run-regen-ulps): Likewise.
28471 * Rules (bench): Remove eval.
28473 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28474 Roland McGrath <roland@hack.frob.com>
28475 Ondrej Bilka <neleai@seznam.cz>
28478 * time/getdate.c: Include ctype.h and alloca.h.
28479 (__getdate_r): Trim leading and trailing spaces of input.
28480 * time/tst-getdate.c (tests): Add tests with leading and
28483 2013-04-08 Roland McGrath <roland@hack.frob.com>
28486 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
28487 when computing value.
28489 2013-04-06 Carlos O'Donell <carlos@redhat.com>
28491 * math/README.libm-test (How can I generate "libm-test-ulps"?):
28492 Use testrun.sh to run libm tests.
28495 * elf/dl-open.c (dl_open_worker): memset all of seen array.
28497 2013-04-06 Marko Myllynen <myllynen@redhat.com>
28500 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
28502 2013-04-06 Carlos O'Donell <carlos@redhat.com>
28504 * Makefile.in (regen-ulps): New target.
28505 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
28506 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
28507 [ifneq (no,$(PERL)] (regen-ulps): New target.
28508 [ifeq (no,$(PERL)] (regen-ulps): New target.
28509 * math/libm-test.inc (ulps_file_name): Define.
28510 (output_dir): New variable.
28511 (options): Add "output-dir" option.
28512 (parse_opt): Handle 'o' case.
28513 (main): If output_dir is non-NULL use it as a prefix
28515 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
28517 2013-04-06 Carlos O'Donell <carlos@redhat.com>
28519 [BZ #10060, #10062]
28520 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
28521 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
28522 fail configure if __sync_val_compare_and_swap is not inlined.
28523 * sysdeps/i386/configure: Regenerate.
28524 * configure.in: Build for i686 when configured for i386.
28525 * configure: Regenerate.
28526 * README: Remove i386 reference.
28528 2013-04-06 Carlos O'Donell <carlos@redhat.com>
28530 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
28531 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28533 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
28535 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
28536 (lmsnanval): New variables.
28537 (F): Add conversion tests.
28538 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
28539 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
28541 * stdio-common/tstdiomisc.c (F): Properly collect individual
28544 [BZ #14686, #15336]
28545 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
28546 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
28547 Instead, use input NaN values or generate a qNaN by arithmetic
28548 operation. Also fix bugs to comply with the standard.
28549 * math/libm-test.inc (remainder_test): Add more tests.
28551 [BZ #15335, #15342]
28552 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
28553 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
28554 input NaN values or generate a qNaN by arithmetic operation.
28556 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
28559 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
28562 2013-04-03 Joseph Myers <joseph@codesourcery.com>
28565 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
28566 underflowed result.
28567 * math/s_cexpf.c (__cexpf): Likewise.
28568 * math/s_cexpl.c (__cexpl): Likewise.
28569 * math/libm-test.inc (cexp_test): Add more tests.
28571 2013-04-03 Andreas Schwab <schwab@suse.de>
28574 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
28575 order arrays from heap if bigger than alloca cutoff.
28577 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
28579 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
28580 (SNAN_TESTS_double): Refer to GCC PR56831.
28581 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
28584 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
28586 * Rules (bench): Move bench.out after the run is complete.
28588 * Rules (bench): Echo currently running benchmark.
28590 * benchtests/Makefile (bench): Add atan and slowatan.
28591 * benchtests/atan-inputs: New file.
28592 * benchtests/slowatan-inputs: New file.
28593 * benchtests/slowatan.c: New file.
28595 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
28596 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
28600 * sysdeps/unix/sysv/linux/kernel-features.h
28601 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
28602 __ASSUME_XFS_RESTRICTED_CHOWN.
28603 * sysdeps/unix/sysv/linux/pathconf.c
28604 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
28605 Save and restore errno.
28607 2013-04-02 Joseph Myers <joseph@codesourcery.com>
28610 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
28611 arguments using __kernel_casinh.
28612 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
28613 arguments using __kernel_casinhf.
28614 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
28615 arguments using __kernel_casinhl.
28616 * math/libm-test.inc (cacosh_test): Add more tests.
28617 * sysdeps/i386/fpu/libm-test-ulps: Update.
28618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28620 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28622 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
28623 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
28625 * bench/Makefile (bench): Add sin and slowsin.
28626 * benchtests/sin-inputs: New file.
28627 * benchtests/slowsin-inputs: New file.
28628 * benchtests/slowsin.c: New file.
28630 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
28631 (bench): Add slowexp and slowpow.
28632 (exp-ITER): Increase iterations.
28633 (pow-ITER): Likewise.
28634 * benchtests/exp-inputs: Change input.
28635 * benchtests/pow-inputs: Likewise.
28636 * benchtests/slowexp-inputs: New file.
28637 * benchtests/slowexp.c: New file.
28638 * benchtests/slowpow-inputs: New file.
28639 * benchtests/slowpow.c: New file.
28641 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28643 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
28645 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28646 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
28647 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28648 * benchtests/Makefile: Add rint benchtest.
28649 * benchtests/rint-inputs: Input for rint benchtest.
28651 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
28653 * Versions.def (libm): Add GLIBC_2.18.
28654 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
28655 hidden libm prototypes.
28656 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
28657 * math/Makefile (libm-calls): Add s_issignaling.
28658 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
28659 __issignalingf, __issignalingl. Adjust all libm.abilist files.
28660 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
28662 * math/math.h [__USE_GNU] (issignaling): New macro.
28663 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
28664 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
28665 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
28666 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
28667 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
28668 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
28669 * manual/arith.texi (issignaling): New section.
28670 * manual/libm-err-tab.pl (@all_functions): Update comment.
28671 * math/gen-libm-test.pl (parse_args): Apply special handling for
28673 * math/libm-test.inc (print_float, issignaling_test): New
28675 (check_float_internal): Add issignaling checks.
28676 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
28677 default definition.
28678 * sysdeps/powerpc/math-tests.h: New file.
28679 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
28681 * math/test-snan.c (TEST_FUNC): Likewise.
28683 2013-03-30 David S. Miller <davem@davemloft.net>
28685 * po/de.po: Update from translation team.
28687 2013-03-30 Joseph Myers <joseph@codesourcery.com>
28690 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28691 imaginary part less than 1.0 and real part less than 0.5
28693 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28694 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28695 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
28696 (cacos_test): Add more tests.
28697 (casin_test): Likewise.
28698 (casinh_test): Likewise.
28699 * sysdeps/i386/fpu/libm-test-ulps: Update.
28700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28702 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28704 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
28705 ONE with its value.
28707 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
28708 (__pow_mp): Replace ONE and MONE with their values.
28709 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28710 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
28711 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28712 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
28713 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28714 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28716 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
28718 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
28719 (__pow_mp): Replace ZERO and MZERO with their values.
28720 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28721 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28722 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28723 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28724 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28725 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
28728 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
28730 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
28732 2013-03-28 Roland McGrath <roland@hack.frob.com>
28734 * include/stdlib.h [!SHARED] (__call_tls_dtors):
28735 Declare with __attribute__ ((weak)).
28736 * stdlib/exit.c (__libc_atexit) [!SHARED]:
28737 Call __call_tls_dtors only if it's not NULL.
28739 2013-03-28 Roland McGrath <roland@hack.frob.com>
28741 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
28742 didn't do it already, then set _dl_phdr and _dl_phnum based on the
28743 magic __ehdr_start linker symbol if it's defined.
28744 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
28745 them up here if it was already done.
28747 * elf/dl-support.c (_dl_phdr): Make pointer to const.
28748 (_dl_aux_init): Use const in cast when setting it.
28749 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
28750 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
28751 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
28753 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
28755 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
28756 * csu/libc-tls.c: Nor here.
28757 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
28759 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
28760 (__libc_message): Never call vsyslog.
28762 2013-03-28 Alan Modra <amodra@gmail.com>
28764 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
28766 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
28769 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28772 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
28774 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28776 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28779 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
28780 Don't add gid passed as argument.
28782 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
28784 2013-03-27 Joseph Myers <joseph@codesourcery.com>
28787 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28788 imaginary part between 1.0 and 1.5 and real part less than 0.5
28790 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28791 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28792 * math/libm-test.inc (cacos_test): Add more tests.
28793 (casin_test): Likewise.
28794 (casinh_test): Likewise.
28795 * sysdeps/i386/fpu/libm-test-ulps: Update.
28796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28798 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28800 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
28803 (denorm): Likewise.
28804 (__dbl_mp): Likewise.
28805 (add_magnitudes): Likewise.
28806 (sub_magnitudes): Likewise.
28814 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
28816 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
28817 (__dubcos): Likewise.
28818 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
28819 (__ieee754_acos): Likewise.
28820 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28821 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
28822 (__exp1): Likewise.
28823 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28824 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28826 (my_log2): Likewise.
28827 (checkint): Likewise.
28828 * sysdeps/ieee754/dbl-64/e_remainder.c
28829 (__ieee754_remainder): Likewise.
28830 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28831 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
28832 (bsloww): Likewise.
28833 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28835 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28836 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
28837 MANTISSA_STORE_T to store computations on mantissa. Use
28838 macros for rounding and division.
28839 (denorm): Likewise.
28840 (__dbl_mp): Likewise.
28841 (add_magnitudes): Likewise.
28842 (sub_magnitudes): Likewise.
28845 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
28846 powers of two in terms of TWOPOW macro.
28847 (mp_no): Make type of mantissa as MANTISSA_T.
28848 [!RADIXI]: Define RADIXI.
28849 [!TWO52]: Define TWO52.
28850 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28852 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28854 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
28855 llroundl symbol when building for PPC32.
28857 2013-03-24 Mark H Weaver <mhw@netris.org>
28859 * manual/arith.texi (Normalization Functions): Fix prototypes for
28860 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
28862 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28865 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
28866 high value to check if expl overflow.
28867 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
28868 to check for underflow and overflow.
28869 * math/libm-test.inc: Add exp test.
28871 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
28874 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
28877 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28879 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
28882 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
28884 * math/gen-libm-test.pl (parse_args, special_functions): Properly
28885 wrap blocks consisting of several statements.
28887 * sysdeps/generic/math-tests.h: New file.
28888 * sysdeps/i386/fpu/math-tests.h: Likewise.
28889 * math/test-snan.c: Include it.
28890 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
28892 2013-03-21 Joseph Myers <joseph@codesourcery.com>
28895 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
28896 (__ieee754_j0l): Do not improve calculations using cos of twice
28897 input for inputs above LDBL_MAX / 2.0L.
28898 (__ieee754_y0l): Likewise.
28899 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
28900 (__ieee754_j1l): Do not improve calculations using cos of twice
28901 input for inputs above LDBL_MAX / 2.0L.
28902 (__ieee754_y1l): Likewise.
28903 * math/libm-test.inc (j0_test): Add another test.
28904 (j1_test): Likewise.
28905 (y0_test): Likewise.
28906 (y1_test): Likewise.
28907 * sysdeps/i386/fpu/libm-test-ulps: Update.
28909 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28911 * Rules ($(objpfx)bench-%.c): Include code from a C source
28914 2013-03-21 Joseph Myers <joseph@codesourcery.com>
28917 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28918 imaginary part 1.0 and real part less than 0.5 specially.
28919 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28920 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28921 * math/libm-test.inc (cacos_test): Add more tests.
28922 (casin_test): Likewise.
28923 (casinh_test): Likewise.
28924 * sysdeps/i386/fpu/libm-test-ulps: Update.
28925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28927 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28929 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
28930 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
28932 2013-03-20 Joseph Myers <joseph@codesourcery.com>
28934 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
28935 * config.make.in (config-cflags-sse4): Remove variable.
28936 (config-cflags-avx): Likewise.
28937 (config-cflags-sse2avx): Likewise.
28938 (config-cflags-novzeroupper): Likewise.
28939 (config-asflags-i686): Likewise.
28940 (have-mfma4): Likewise.
28941 (have-as-vis3): Likewise.
28943 * configure.in (MIG): Do not AC_SUBST.
28944 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
28945 (libc_cv_cc_sse4): Do not AC_SUBST.
28946 (libc_cv_cc_avx): Likewise.
28947 (libc_cv_cc_sse2avx): Likewise.
28948 (libc_cv_cc_novzeroupper): Likewise.
28949 (libc_cv_cc_fma4): Likewise.
28950 (libc_cv_as_i686): Likewise.
28951 (libc_cv_sparc_as_vis3): Likewise.
28952 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
28954 (config-asflags-i686): Likewise.
28955 (config-cflags-avx): Likewise.
28956 (config-cflags-sse2avx): Likewise.
28957 (have-mfma4): Likewise.
28958 (config-cflags-novzeroupper): Likewise.
28959 * sysdeps/mach/configure.in (MIG): Likewise.
28960 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
28961 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
28963 (config-cflags-avx): Likewise.
28964 (config-cflags-sse2avx): Likewise.
28965 (have-mfma4): Likewise.
28966 (config-cflags-novzeroupper): Likewise.
28967 * configure: Regenerated.
28968 * sysdeps/i386/configure: Likewise.
28969 * sysdeps/mach/configure: Likewise.
28970 * sysdeps/sparc/configure: Likewise.
28971 * sysdeps/x86_64/configure: Likewise.
28973 2013-03-20 Roland McGrath <roland@hack.frob.com>
28976 * locale/programs/localedef.c (options): Put N_ translation marker
28977 on argument names, not just descriptions.
28979 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28981 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
28983 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
28986 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
28988 2013-03-19 Roland McGrath <roland@hack.frob.com>
28990 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
28991 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
28992 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
28993 [!BEFORE_ABORT] (before_abort): New function.
28994 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
28995 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
28996 (writev_for_fatal): New function.
28997 (WRITEV_FOR_FATAL): New macro; call that.
28998 (backtrace_and_maps): New function.
28999 (BEFORE_ABORT): New macro; call that.
29000 (struct str_list): Type removed.
29001 (__libc_message, __libc_fatal): Functions removed.
29002 Include <sysdeps/posix/libc_fatal.c> instead.
29004 2013-03-19 Joseph Myers <joseph@codesourcery.com>
29006 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
29008 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
29011 2013-03-19 Andreas Schwab <schwab@suse.de>
29013 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
29014 * sysdeps/gnu/configure: Regenerate.
29016 * configure.in: Substitute libc_cv_rtlddir.
29017 * configure: Regenerate.
29018 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
29019 * Makeconfig (rtlddir, inst_rtlddir): New variables.
29020 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
29021 * elf/Makefile (install-others, CFLAGS-interp.c)
29022 (ldso_install, common-ldd-rewrite): Likewise.
29023 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
29024 $(inst_slibdir)/$(rtld-installed-name).
29025 * scripts/rellns-sh: Add -p option.
29026 * Makerules (make-shlib-link): Use rellns-sh to get relative name
29029 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29031 * manual/nptl.texi: Renamed to ...
29032 * manual/threads.texi: ... this.
29033 * manual/Makefile (chapters): Update.
29035 2013-03-18 Roland McGrath <roland@hack.frob.com>
29038 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
29039 on argument names, not just descriptions.
29040 * malloc/memusagestat.c (options): Likewise.
29041 * nss/getent.c (options): Likewise.
29043 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
29046 * iconv/iconv_prog.c (options): Put N_ translation marker
29047 on argument names, not just descriptions.
29048 * iconv/iconvconfig.c (options): Likewise.
29050 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
29052 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
29053 implementation which is faster on all x86_64 architectures.
29054 Tested on AMD, Intel Nehalem, SNB, IVB.
29055 * sysdeps/x86_64/strnlen.S: Likewise.
29057 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29058 Remove all multiarch strlen and strnlen versions.
29059 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29060 Remove strlen and strnlen related parts.
29062 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
29063 Inline strlen part.
29064 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
29066 * sysdeps/x86_64/multiarch/strlen.S: Remove.
29067 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
29068 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
29069 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
29070 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29071 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
29073 2013-03-17 Carlos O'Donell <carlos@redhat.com>
29075 * manual/memory.texi (Malloc Tunable Parameters):
29076 Sort parameters alphabetically. Add comments for missing entries.
29078 2013-03-17 David S. Miller <davem@davemloft.net>
29080 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29082 2013-03-16 Joseph Myers <joseph@codesourcery.com>
29085 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
29086 for arguments at most half maximum finite value.
29087 * math/libm-test.inc (j0_test): Add more tests.
29088 (j1_test): Likewise.
29089 (y0_test): Likewise.
29090 (y1_test): Likewise.
29091 * sysdeps/i386/fpu/libm-test-ulps: Update.
29092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29095 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
29096 1 / x and functions P and Q for arguments above 0x1p256L.
29097 (__ieee754_y0l): Likewise.
29098 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
29099 (__ieee754_y1l): Likewise.
29100 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
29101 (j1_test): Likewise.
29102 (y0_test): Likewise.
29103 (y1_test): Likewise.
29105 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
29107 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
29110 2013-03-15 Roland McGrath <roland@hack.frob.com>
29112 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
29113 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
29114 zero since it's initialized to EXEC_PAGESIZE.
29116 * sysdeps/unix/sysv/linux/ldsodefs.h
29117 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
29118 * sysdeps/generic/ldsodefs.h: ... here.
29120 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
29122 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
29124 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
29126 * math/test-snan.c: Renamed from
29127 sysdeps/powerpc/fpu/test-powerpc-snan.c.
29128 * math/Makefile (tests): Add test-snan.
29129 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
29132 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
29133 SUFFIX. Initialize qNaN_var with __builtin_nan family of
29135 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
29136 __builtin_nan family of functions.
29137 * math/libm-test.inc (initialize): Initialize qnan_value with
29138 __builtin_nan family of functions.
29139 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
29141 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
29143 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
29144 storage class. Initialize qNaN_var and sNaN_var with
29145 __builtin_nan and __builtin_nans families of functions,
29148 * math/libm-test.inc (acosh_test): Also test with qNaN input.
29149 (sqrt_test): Remove duplicate test with qNaN input.
29150 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
29151 (round_test, signbit_test, significand_test): Note missing +/-Inf
29152 as well as qNaN tests.
29154 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
29155 qNaN_var. Fix a few strings, too.
29156 * math/libm-test.inc (nan_value): Rename to qnan_value.
29157 * math/gen-libm-test.pl (%beautify): Adjust to that.
29158 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
29159 * math/test-misc.c (main): Likewise.
29160 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
29161 to __qnan_bytes, and __qnan_union, respectively.
29162 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
29164 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
29165 and lqnanval, respectively.
29166 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
29167 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
29168 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
29169 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
29171 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
29172 * math/test-misc.c (main) [__x86_64__]: Enable test for long
29175 * math/test-misc.c (main): Fix copy'n'pastos.
29176 * misc/tst-efgcvt.c (special): Likewise.
29178 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
29179 Remove declarations.
29181 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29183 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
29184 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
29185 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
29186 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
29188 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29190 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
29191 macro to return vdso values correctly in IFUNC implementations.
29192 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
29193 Optimization by using IFUNC.
29195 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29196 Richard Henderson <rth@redhat.com>
29197 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29199 * Makefile.in (bench): New target.
29200 * NEWS: Mention the benchmark framework.
29201 * Rules (bench): Likewise.
29202 (binaries-bench): Generate binaries for functions to
29204 * benchtests/Makefile: New makefile for benchmark tests.
29205 * benchtests/bench-skeleton.c: New skeleton file for benchmark
29207 * benchtests/exp-inputs: New input file for EXP function.
29208 * benchtests/pow-inputs: New input file for POW function.
29209 * scripts/bench.pl: New script to generate source files for
29210 benchmark programs.
29212 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29214 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29215 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
29216 computations on mantissa. Use macros for rounding and
29218 (denorm): Likewise.
29219 (__dbl_mp): Likewise.
29220 (add_magnitudes): Likewise.
29221 (sub_magnitudes): Likewise.
29224 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29225 powers of two in terms of TWOPOW macro.
29226 (mp_no): Make type of mantissa as MANTISSA_T.
29227 [!RADIXI]: Define RADIXI.
29228 [!TWO52]: Define TWO52.
29229 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29231 * manual/nptl.texi (cindex): Modify threads to pthreads.
29233 2013-03-15 Joseph Myers <joseph@codesourcery.com>
29235 * sysdeps/x86_64/preconfigure: Regenerated.
29237 2013-03-14 Joseph Myers <joseph@codesourcery.com>
29240 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
29242 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
29243 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
29245 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
29246 * math/libm-test.inc (j0_test): Do not allow one spurious
29247 underflow exception.
29248 (y1_test): Likewise.
29250 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29252 * manual/Makefile (chapters): Add nptl.
29253 * manual/debug.texi (Debugging Support): Add link to Threads
29255 * manual/nptl.texi: New file.
29257 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
29259 2013-03-14 Petr Baudis <pasky@ucw.cz>
29261 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
29262 for non-NULL pointer before the memory validity test. Pointed
29263 out by Holger Brunck <holger.brunck@keymile.com>.
29265 2013-03-13 Andreas Schwab <schwab@suse.de>
29267 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
29270 2013-03-13 Joseph Myers <joseph@codesourcery.com>
29272 * timezone/zic.c: Update from tzcode 2013b.
29274 2013-03-12 Carlos O'Donell <carlos@redhat.com>
29276 * manual/install.texi (Configuring and compiling):
29277 Mention i686 and i586.
29278 * INSTALL: Regenerate.
29280 2013-03-12 Roland McGrath <roland@hack.frob.com>
29282 * sysdeps/init_array/elf-init.c: New file.
29284 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
29285 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
29287 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
29288 __gmon_start__ as global, but as static with a .preinit_array pointer.
29289 * sysdeps/init_array/gmon-start.c: New file. Use that.
29290 * sysdeps/init_array/crti.S: New file, empty except for comments.
29291 * sysdeps/init_array/crtn.S: Likewise.
29293 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
29295 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
29297 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29298 Remove Prefer_SSE_for_memop.
29299 * sysdeps/x86_64/multiarch/init-arch.h: Remove
29300 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
29301 HAS_PREFER_SSE_FOR_MEMOP.
29302 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
29304 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29305 Remove bzero, memset ifunc support.
29306 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
29307 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
29308 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29309 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29311 2013-03-11 Andreas Schwab <schwab@suse.de>
29314 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
29316 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
29317 (GLIBC_2.16): Remove pthread_atfork.
29319 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
29321 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
29322 (ptestcases.h): Likewise.
29324 2013-03-08 Roland McGrath <roland@hack.frob.com>
29326 * Makeconfig ($(common-objpfx)config.status): Depend on
29327 sysdeps/*/preconfigure{,.in} too.
29329 2013-03-08 Joseph Myers <joseph@codesourcery.com>
29331 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
29332 (__free_hook): Use void * instead of __malloc_ptr_t.
29333 (__malloc_hook): Likewise.
29334 (__realloc_hook): Likewise.
29335 (__memalign_hook): Likewise.
29336 (__after_morecore_hook): Likewise.
29337 * malloc/arena.c (save_malloc_hook): Likewise.
29338 (save_free_hook): Likewise.
29339 * malloc/hooks.c (malloc_hook_ini): Likewise.
29340 (realloc_hook_ini): Likewise.
29341 (memalign_hook_ini): Likewise.
29342 * malloc/malloc.c (malloc_hook_ini): Likewise.
29343 (realloc_hook_ini): Likewise.
29344 (memalign_hook_ini): Likewise.
29345 (__free_hook): Likewise.
29346 (__malloc_hook): Likewise.
29347 (__realloc_hook): Likewise.
29348 (__memalign_hook): Likewise.
29349 (__libc_malloc): Likewise.
29350 (__libc_free): Likewise.
29351 (__libc_realloc): Likewise.
29352 (__libc_memalign): Likewise.
29353 (__libc_valloc): Likewise.
29354 (__libc_pvalloc): Likewise.
29355 (__libc_calloc): Likewise.
29356 (__posix_memalign): Likewise.
29357 * malloc/morecore.c (__sbrk): Likewise.
29358 (__default_morecore): Likewise.
29360 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
29362 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
29363 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
29364 __malloc_ptrdiff_t.
29366 * malloc/malloc.h (__malloc_size_t): Remove macro.
29367 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
29369 (old_memalign_hook): Likewise.
29370 (old_realloc_hook): Likewise.
29371 (struct hdr): Likewise.
29373 (mallochook): Likewise.
29374 (memalignhook): Likewise.
29375 (reallochook): Likewise.
29376 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
29377 (tr_old_realloc_hook): Likewise.
29378 (tr_old_memalign_hook): Likewise.
29379 (tr_mallochook): Likewise.
29380 (tr_reallochook): Likewise.
29381 (tr_memalignhook): Likewise.
29383 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29385 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
29386 default_ldbl_pack and using as default implementation.
29387 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
29389 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
29390 redundant definition.
29391 (ldbl_insert_mantissa): Likewise.
29392 (ldbl_canonicalize): Likewise.
29393 (ldbl_nearbyint): Likewise.
29394 (ldbl_pack): Rename to ldbl_pack_ppc.
29395 (ldbl_unpack): Rename to ldbl_unpack_ppc.
29396 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
29397 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
29399 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29401 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
29402 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
29403 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
29404 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
29405 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
29406 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
29407 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
29408 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
29410 2013-03-07 Andreas Jaeger <aj@suse.de>
29412 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29415 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29417 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
29418 Include mpa.h and declare __MPEXP.
29419 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
29420 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29421 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29422 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
29423 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29424 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29425 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
29427 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
29428 (__slowpow): Use long double EXPL and LOGL functions to
29430 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29431 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29432 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
29433 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29434 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29435 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
29437 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
29438 intermediate variable to calculate exponent.
29440 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29444 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
29445 [!NO__SQR]: Define __sqr.
29446 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
29447 and NO__SQR. Remove all code except __mul and __sqr. Include
29448 sysdeps/ieee754/dbl-64/mpa.c.
29449 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29452 * posix/Makefile (tests): Add tst-pathconf.
29453 * posix/tst-pathconf.c: New test case.
29454 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
29456 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
29458 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
29460 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
29462 2013-03-06 Andreas Jaeger <aj@suse.de>
29464 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
29465 definition via __MAP_ANONYMOUS.
29467 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
29468 it's not part of Linux headers.
29470 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
29471 (MAP_HUGE_MASK): Define.
29473 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29475 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29476 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29478 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29479 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29481 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29482 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
29484 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29486 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
29487 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
29488 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
29489 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
29490 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
29491 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
29493 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29496 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29497 Handle f2fs and efivarfs.
29499 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
29502 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
29503 (EFIVARFS_MAGIC): Add.
29504 (F2FS_LINK_MAX): Add.
29506 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29508 * stdio-common/vfprintf.c: Replace __builtin_expect with
29511 2013-03-06 Joseph Myers <joseph@codesourcery.com>
29514 * sysdeps/generic/bp-sym.h: Remove file.
29515 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
29516 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
29517 <bp-sym.h> and <bp-asm.h>.
29518 (__longjmp): Don't use BP_SYM.
29519 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
29521 (memcpy): Don't use BP_SYM.
29522 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
29523 <bp-sym.h> and <bp-asm.h>.
29524 (memcpy): Don't use BP_SYM.
29525 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
29527 (memcpy): Don't use BP_SYM.
29528 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
29530 (memset): Don't use BP_SYM.
29531 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29532 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29533 (__bzero): Don't use BP_SYM.
29534 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29535 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29536 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
29537 <bp-sym.h> and <bp-asm.h>.
29538 (memcmp): Don't use BP_SYM. Remove comment about bounded
29540 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
29541 <bp-sym.h> and <bp-asm.h>.
29542 (memcpy): Don't use BP_SYM.
29543 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
29544 <bp-sym.h> and <bp-asm.h>.
29545 (memset): Don't use BP_SYM.
29546 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29547 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29548 (__bzero): Don't use BP_SYM.
29549 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29550 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29551 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
29552 <bp-sym.h> and <bp-asm.h>.
29553 (strncmp): Don't use BP_SYM. Remove comment about bounded
29555 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
29556 <bp-sym.h> and <bp-asm.h>.
29557 (memcpy): Don't use BP_SYM.
29558 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
29559 <bp-sym.h> and <bp-asm.h>.
29560 (memset): Don't use BP_SYM.
29561 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29562 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29563 (__bzero): Don't use BP_SYM.
29564 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29565 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29566 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
29567 <bp-sym.h> and <bp-asm.h>.
29568 (__memchr): Don't use BP_SYM.
29569 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
29570 <bp-sym.h> and <bp-asm.h>.
29571 (memcmp): Don't use BP_SYM. Remove comment about bounded
29573 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
29574 <bp-sym.h> and <bp-asm.h>.
29575 (memcpy): Don't use BP_SYM.
29576 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
29577 <bp-sym.h> and <bp-asm.h>.
29578 (__mempcpy): Don't use BP_SYM.
29579 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
29580 <bp-sym.h> and <bp-asm.h>.
29581 (__memrchr): Don't use BP_SYM.
29582 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
29583 <bp-sym.h> and <bp-asm.h>.
29584 (memset): Don't use BP_SYM.
29585 (__bzero): Likewise.
29586 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
29587 <bp-sym.h> and <bp-asm.h>.
29588 (__rawmemchr): Don't use BP_SYM.
29589 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
29590 <bp-sym.h> and <bp-asm.h>.
29591 (__STRCMP): Don't use BP_SYM.
29592 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
29593 <bp-sym.h> and <bp-asm.h>.
29594 (strchr): Don't use BP_SYM.
29595 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
29596 <bp-sym.h> and <bp-asm.h>.
29597 (__strchrnul): Don't use BP_SYM.
29598 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
29599 <bp-sym.h> and <bp-asm.h>.
29600 (strlen): Don't use BP_SYM.
29601 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
29602 <bp-sym.h> and <bp-asm.h>.
29603 (strncmp): Don't use BP_SYM. Remove comment about bounded
29605 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
29606 <bp-sym.h> and <bp-asm.h>.
29607 (__strnlen): Don't use BP_SYM.
29608 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
29609 <bp-sym.h> and <bp-asm.h>.
29610 (__GI__setjmp): Don't use BP_SYM.
29611 (_setjmp): Likewise.
29612 (__sigsetjmp): Likewise.
29613 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
29614 (L(start_addresses)): Don't use BP_SYM.
29615 (_start): Likewise.
29616 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
29618 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
29619 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
29620 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29621 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29622 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
29624 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
29625 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
29626 about bounded pointers.
29627 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29628 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29629 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
29631 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
29632 about bounded pointers. Remove GKM FIXME comments.
29633 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29634 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
29636 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
29637 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
29638 Remove GKM FIXME comments.
29639 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29640 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29641 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
29643 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
29644 about bounded pointers. Remove GKM FIXME comment.
29645 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
29647 (strncmp): Don't use BP_SYM. Remove comment about bounded
29649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
29650 <bp-sym.h> and <bp-asm.h>.
29651 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
29653 <bp-sym.h> and <bp-asm.h>.
29654 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
29657 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29659 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
29662 2013-03-05 David S. Miller <davem@davemloft.net>
29664 * po/es.po: Update from translation team.
29666 2013-03-05 Andreas Jaeger <aj@suse.de>
29668 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
29669 <bits/mman-linux.h>.
29670 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29672 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
29673 <bits/mman-linux.h> to end of file.
29674 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29676 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
29677 <bits/mman-linux.h> to end of file.
29678 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29680 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
29681 <bits/mman-linux.h> to end of file.
29683 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
29684 (MCL_CURRENT, MCL_FUTURE): Define here.
29686 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29689 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
29691 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29693 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29695 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
29696 fourth parameter needed for rt_sigprocmask syscall.
29697 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
29698 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29699 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
29700 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29701 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29702 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
29704 2013-03-04 Joseph Myers <joseph@codesourcery.com>
29707 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
29708 comment about bounded pointers.
29709 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
29710 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
29712 2013-03-04 Andreas Jaeger <aj@suse.de>
29714 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
29715 common definitions.
29717 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
29718 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
29719 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
29720 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29721 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
29722 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29724 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29727 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
29728 __ieee754_sqrl instead of __sqrl.
29730 2013-03-01 Joseph Myers <joseph@codesourcery.com>
29732 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
29733 * sysdeps/powerpc/fpu_control.h: ... here.
29734 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
29735 * sysdeps/powerpc/bits/fenvinline.h: ... here.
29736 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
29737 * sysdeps/powerpc/bits/mathinline.h: ... here.
29739 2013-03-01 Roland McGrath <roland@hack.frob.com>
29741 * elf/dl-hwcaps.c (_dl_important_hwcaps):
29742 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
29743 to just [NEED_DL_SYSINFO_DSO].
29744 * elf/dl-support.c: Likewise.
29745 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29746 * elf/rtld.c (dl_main): Likewise.
29747 * elf/setup-vdso.h (setup_vdso): Likewise.
29748 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
29749 * sysdeps/unix/sysv/linux/dl-sysdep.c
29750 (_dl_discover_osversion): Likewise.
29752 2013-03-01 Carlos O'Donell <carlos@redhat.com>
29754 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
29755 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29757 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
29759 * NEWS: Mention libm performance improvements and non-x86 PI
29762 * csu/libc-start.c (__pthread_initialize_minimal): Change
29763 function arguments.
29764 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29766 2013-02-28 Joseph Myers <joseph@codesourcery.com>
29769 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
29770 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
29771 <bp-sym.h> and <bp-asm.h>.
29772 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29773 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
29775 (memcpy): Don't use BP_SYM.
29776 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
29778 (__mpn_add_n): Don't use BP_SYM.
29779 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
29780 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
29782 (__mpn_addmul_1): Don't use BP_SYM.
29783 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29784 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
29786 (_setjmp): Don't use BP_SYM.
29787 (__novmx_setjmp): Likewise.
29788 (__GI__setjmp): Likewise.
29789 (__vmx_setjmp): Likewise.
29790 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
29792 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
29793 (__bzero): Don't use BP_SYM.
29794 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29795 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29796 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
29797 <bp-sym.h> and <bp-asm.h>.
29798 (memcpy): Don't use BP_SYM.
29799 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
29800 <bp-sym.h> and <bp-asm.h>.
29801 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29802 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
29803 <bp-sym.h> and <bp-asm.h>.
29804 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29805 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
29807 (__mpn_lshift): Don't use BP_SYM.
29808 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29809 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
29811 (memset): Don't use BP_SYM.
29812 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29813 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29814 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
29816 (__mpn_mul_1): Don't use BP_SYM.
29817 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29818 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
29819 <bp-sym.h> and <bp-asm.h>.
29820 (memcmp): Don't use BP_SYM.
29821 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
29822 <bp-sym.h> and <bp-asm.h>.
29823 (memcpy): Don't use BP_SYM.
29824 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
29825 <bp-sym.h> and <bp-asm.h>.
29826 (memset): Don't use BP_SYM.
29827 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
29828 <bp-sym.h> and <bp-asm.h>.
29829 (strncmp): Don't use BP_SYM.
29830 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
29831 <bp-sym.h> and <bp-asm.h>.
29832 (memcpy): Don't use BP_SYM.
29833 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
29834 <bp-sym.h> and <bp-asm.h>.
29835 (memset): Don't use BP_SYM.
29836 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
29837 <bp-sym.h> and <bp-asm.h>.
29838 (__memchr): Don't use BP_SYM.
29839 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
29840 <bp-sym.h> and <bp-asm.h>.
29841 (memcmp): Don't use BP_SYM.
29842 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
29843 <bp-sym.h> and <bp-asm.h>.
29844 (memcpy): Don't use BP_SYM.
29845 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
29846 <bp-sym.h> and <bp-asm.h>.
29847 (__mempcpy): Don't use BP_SYM.
29848 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
29849 <bp-sym.h> and <bp-asm.h>.
29850 (__memrchr): Don't use BP_SYM.
29851 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
29852 <bp-sym.h> and <bp-asm.h>.
29853 (memset): Don't use BP_SYM.
29854 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
29855 <bp-sym.h> and <bp-asm.h>.
29856 (__rawmemchr): Don't use BP_SYM.
29857 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
29858 <bp-sym.h> and <bp-asm.h>.
29859 (__STRCMP): Don't use BP_SYM.
29860 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
29861 <bp-sym.h> and <bp-asm.h>.
29862 (strchr): Don't use BP_SYM.
29863 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
29864 <bp-sym.h> and <bp-asm.h>.
29865 (__strchrnul): Don't use BP_SYM.
29866 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
29867 <bp-sym.h> and <bp-asm.h>.
29868 (strlen): Don't use BP_SYM.
29869 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
29870 <bp-sym.h> and <bp-asm.h>.
29871 (strncmp): Don't use BP_SYM.
29872 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
29873 <bp-sym.h> and <bp-asm.h>.
29874 (__strnlen): Don't use BP_SYM.
29875 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
29877 (__mpn_rshift): Don't use BP_SYM.
29878 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29879 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
29880 <bp-sym.h> and <bp-asm.h>.
29881 (__sigsetjmp): Don't use BP_SYM.
29882 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
29883 (L(start_addresses)): Don't use BP_SYM.
29884 (_start): Likewise.
29885 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
29887 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
29888 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29889 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29890 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
29892 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
29893 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29894 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29895 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
29897 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29899 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29900 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
29902 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
29904 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29905 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29906 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
29908 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29910 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
29912 (strncmp): Don't use BP_SYM,
29913 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
29915 (__mpn_sub_n): Don't use BP_SYM.
29916 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29917 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
29919 (__mpn_submul_1): Don't use BP_SYM.
29920 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
29922 <bp-sym.h> and <bp-asm.h>.
29923 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
29925 <bp-sym.h> and <bp-asm.h>.
29926 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
29929 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29931 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
29932 Use ZK to minimize writes to Z.
29933 (sub_magnitudes): Simplify code a bit.
29934 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
29935 Use ZK to minimize writes to Z.
29936 (sub_magnitudes): Simplify code a bit.
29938 2013-02-27 Roland McGrath <roland@hack.frob.com>
29940 * csu/gmon-start.c: Add special exception to license text.
29942 2013-02-27 Richard Henderson <rth@redhat.com>
29944 * scripts/config.guess: Update from config.git.
29945 * scripts/config.sub: Likewise.
29947 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29949 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
29951 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
29953 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
29955 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
29957 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
29959 2013-02-26 Roland McGrath <roland@hack.frob.com>
29961 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
29962 [$(build-shared = yes].
29964 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29966 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
29967 (__mul): Reduce iterations for calculating mantissa.
29969 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
29971 (__mpranred): Likewise.
29974 * malloc/memusagestat.c (main): Draw graphs for heap and stack
29975 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
29977 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
29979 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
29980 Define __attribute__.
29982 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29984 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
29986 * posix/regex_internal.h (__attribute): Remove.
29987 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
29988 (re_string_context_at): Likewise.
29989 (bitset_not): Use __attribute__ and mark function as possibly
29991 (bitset_merge): Likewise.
29992 (bitset_mask): Likewise.
29993 (re_string_char_size_at): Likewise.
29994 (re_string_wchar_at): Likewise.
29995 (re_string_elem_size_at): Likewise.
29997 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29999 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
30003 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
30007 (denorm): Likewise.
30008 (__dbl_mp): Likewise.
30009 (add_magnitudes): Likewise.
30010 (sub_magnitudes): Likewise.
30014 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
30017 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
30020 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
30023 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
30024 up changes with default code.
30025 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
30028 2013-02-24 Allan McRae <allan@archlinux.org>
30030 * manual/socket.texi (The Internet Namespace): Order menu items
30031 to match that in the file.
30033 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
30034 node listing of the info page menu.
30036 2013-02-21 Joseph Myers <joseph@codesourcery.com>
30039 * sysdeps/i386/bp-asm.h: Remove file.
30040 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30041 (PARMS): Do not use macros from bp-asm.h.
30045 (__mpn_add_n): Do not use BP_SYM
30046 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
30048 (PARMS): Do not use macros from bp-asm.h.
30051 (__mpn_addmul_1): Do not use BP_SYM
30052 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
30054 (PARMS): Do not use macros from bp-asm.h.
30055 (SIGMSK): Likewise.
30056 (_setjmp): Likewise. Do not use BP_SYM.
30057 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
30059 (PARMS): Do not use macros from bp-asm.h.
30060 (SIGMSK): Likewise.
30061 (setjmp): Likewise. Do not use BP_SYM.
30062 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
30064 (PARMS): Do not use macros from bp-asm.h.
30065 (__frexp): Do not use BP_SYM.
30067 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
30069 (PARMS): Do not use macros from bp-asm.h.
30070 (__frexpf): Do not use BP_SYM.
30071 (frexpf): Likewise.
30072 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
30074 (PARMS): Do not use macros from bp-asm.h.
30075 (__frexpl): Do not use BP_SYM.
30076 (frexpl): Likewise.
30077 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
30079 (PARMS): Do not use macros from bp-asm.h.
30080 (__remquo): Do not use BP_SYM.
30081 (remquo): Likewise.
30082 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
30084 (PARMS): Do not use macros from bp-asm.h.
30085 (__remquof): Do not use BP_SYM.
30086 (remquof): Likewise.
30087 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
30089 (PARMS): Do not use macros from bp-asm.h.
30090 (__remquol): Do not use BP_SYM.
30091 (remquol): Likewise.
30092 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
30094 (PARMS): Do not use macros from bp-asm.h.
30097 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
30098 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
30100 (PARMS): Do not use macros from bp-asm.h.
30101 (strlen): Do not use BP_SYM.
30102 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
30104 (PARMS): Do not use macros from bp-asm.h.
30108 (__mpn_add_n): Do not use BP_SYM.
30109 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
30111 (PARMS): Do not use macros from bp-asm.h.
30114 (__mpn_addmul_1): Do not use BP_SYM.
30115 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
30118 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
30120 (PARMS): Do not use macros from bp-asm.h.
30123 (__mpn_lshift): Do not use BP_SYM.
30124 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
30126 (PARMS): Do not use macros from bp-asm.h.
30130 (memcpy): Likewise. Do not use BP_SYM.
30131 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
30132 libc_hidden_def and weak_alias.
30133 (mempcpy): Do not use BP_SYM in weak_alias.
30134 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
30136 (PARMS): Do not use macros from bp-asm.h.
30139 [!BZERO_P] (CHR): Likewise.
30140 (memset): Likewise. Do not use BP_SYM.
30141 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
30143 (PARMS): Do not use macros from bp-asm.h.
30146 (__mpn_mul_1): Do not use BP_SYM.
30147 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
30149 (PARMS): Do not use macros from bp-asm.h.
30152 (__mpn_rshift): Do not use BP_SYM.
30153 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
30155 (PARMS): Do not use macros from bp-asm.h.
30158 (strchr): Likewise. Do not use BP_SYM.
30159 (index): Do not use BP_SYM in weak_alias.
30160 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
30162 (PARMS): Do not use macros from bp-asm.h.
30165 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
30166 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
30168 (PARMS): Do not use macros from bp-asm.h.
30169 (strlen): Do not use BP_SYM.
30170 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
30172 (PARMS): Do not use macros from bp-asm.h.
30176 (__mpn_sub_n): Do not use BP_SYM.
30177 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
30179 (PARMS): Do not use macros from bp-asm.h.
30182 (__mpn_submul_1): Do not use BP_SYM.
30183 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
30185 (PARMS): Do not use macros from bp-asm.h.
30189 (__mpn_add_n): Do not use BP_SYM.
30190 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
30193 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
30195 (PARMS): Do not use macros from bp-asm.h.
30198 (memcmp): Do not use BP_SYM.
30199 (bcmp): Do not use BP_SYM in weak_alias.
30200 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
30202 (PARMS): Do not use macros from bp-asm.h.
30206 (memcpy): Likewise. Do not use BP_SYM.
30207 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
30209 (PARMS): Do not use macros from bp-asm.h.
30213 (memmove): Likewise. Do not use BP_SYM.
30214 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
30216 (PARMS): Do not use macros from bp-asm.h.
30220 (__mempcpy): Likewise. Do not use BP_SYM.
30221 (mempcpy): Do not use BP_SYM in weak_alias.
30222 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
30224 (PARMS): Do not use macros from bp-asm.h.
30227 [!BZERO_P] (CHR): Likewise.
30228 (memset): Likewise. Do not use BP_SYM.
30229 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
30231 (PARMS): Do not use macros from bp-asm.h.
30233 (strcmp): Do not use BP_SYM.
30234 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
30236 (PARMS): Do not use macros from bp-asm.h.
30239 [USE_AS_STRTOK_R] (SAVE): Likewise.
30240 (FUNCTION): Likewise. Do not use BP_SYM.
30241 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
30243 (strtok_r): Likewise.
30244 (__GI___strtok_r): Likewise.
30245 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30246 (PARMS): Do not use macros from bp-asm.h.
30249 (__mpn_lshift): Do not use BP_SYM.
30250 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30251 (PARMS): Do not use macros from bp-asm.h.
30254 (__memchr): Do not use BP_SYM.
30255 (memchr): Do not use BP_SYM in weak_alias.
30256 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30257 (PARMS): Do not use macros from bp-asm.h.
30260 (memcmp): Do not use BP_SYM.
30261 (bcmp): Do not use BP_SYM in weak_alias.
30262 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
30263 (PARMS): Do not use macros from bp-asm.h.
30266 (__mpn_mul_1): Do not use BP_SYM.
30267 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
30269 (PARMS): Do not use macros from bp-asm.h.
30272 (__rawmemchr): Do not use BP_SYM.
30273 (rawmemchr): Do not use BP_SYM in weak_alias.
30274 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30275 (PARMS): Do not use macros from bp-asm.h.
30278 (__mpn_rshift): Do not use BP_SYM.
30279 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30280 (PARMS): Do not use macros from bp-asm.h.
30281 (SIGMSK): Likewise.
30282 (__sigsetjmp): Likewise. Do not use BP_SYM.
30283 * sysdeps/i386/start.S: Do not include "bp-sym.h".
30284 (_start): Do not use BP_SYM.
30285 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
30286 (PARMS): Do not use macros from bp-asm.h.
30289 (__stpcpy): Likewise. Do not use BP_SYM.
30290 (stpcpy): Do not use BP_SYM in weak_alias.
30291 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
30293 (PARMS): Do not use macros from bp-asm.h.
30297 (__stpncpy): Likewise. Do not use BP_SYM.
30298 (stpncpy): Do not use BP_SYM in weak_alias.
30299 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30300 (PARMS): Do not use macros from bp-asm.h.
30303 (strchr): Likewise. Do not use BP_SYM.
30304 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
30306 (PARMS): Do not use macros from bp-asm.h.
30309 (__strchrnul): Likewise. Do not use BP_SYM.
30310 (strchrnul): Do not use BP_SYM in weak_alias.
30311 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
30313 (PARMS): Do not use macros from bp-asm.h.
30315 (strcspn): Do not use BP_SYM.
30316 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
30318 (PARMS): Do not use macros from bp-asm.h.
30321 (strpbrk): Likewise. Do not use BP_SYM.
30322 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
30324 (PARMS): Do not use macros from bp-asm.h.
30327 (strrchr): Likewise. Do not use BP_SYM.
30328 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
30329 (PARMS): Do not use macros from bp-asm.h.
30331 (strspn): Do not use BP_SYM.
30332 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
30333 (PARMS): Do not use macros from bp-asm.h.
30337 (FUNCTION): Likewise. Do not use BP_SYM.
30338 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
30340 (strtok_r): Likewise.
30341 (__GI___strtok_r): Likewise.
30342 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30343 (PARMS): Do not use macros from bp-asm.h.
30347 (__mpn_sub_n): Do not use BP_SYM.
30348 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
30350 (PARMS): Do not use macros from bp-asm.h.
30353 (__mpn_submul_1): Do not use BP_SYM.
30354 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
30356 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
30358 (PARMS): Do not use macros from bp-asm.h.
30363 (__clone): Do not use BP_SYM.
30364 (clone): Do not use BP_SYM in weak_alias.
30365 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
30367 (PARMS): Do not use macros from bp-asm.h.
30369 (__mmap64): Do not use BP_SYM.
30370 (mmap64): Do not use BP_SYM in weak_alias.
30371 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30372 <bp-sym.h> and <bp-asm.h>.
30373 (PARMS): Do not use macros from bp-asm.h.
30374 (__posix_fadvise64_l64): Do not use BP_SYM.
30375 * sysdeps/unix/sysv/linux/i386/semtimedop.S
30376 (PARMS): Do not use macros from bp-asm.h.
30378 (semtimedop): Do not use BP_SYM.
30379 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
30382 2013-02-21 Allan McRae <allan@archlinux.org>
30384 * manual/message.texi (Charset conversion in gettext):
30385 Move @end statement to beginning of line.
30387 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30389 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
30391 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30394 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
30395 (denorm): Likewise.
30396 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
30397 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
30399 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30401 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
30402 tail-call to the resolved function if pltexit isn't needed.
30404 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30406 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
30407 or Y being zero as being unlikely.
30408 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30411 2013-02-20 Carlos O'Donell <carlos@redhat.com>
30413 * manual/nss.texi (System Databases and Name Service Switch):
30414 Remove frobnicate @pxref.
30416 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30418 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30419 __attribute__ ((unused)) to __attribute__ ((__unused__)).
30421 2013-02-20 Petr Machata <pmachata@redhat.com>
30423 * elf/elf.h (R_ARM_TARGET1): New macro.
30424 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
30425 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
30426 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
30427 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
30428 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
30429 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
30430 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
30431 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
30432 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
30433 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
30434 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
30435 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
30436 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
30437 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
30438 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
30439 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
30440 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
30441 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
30442 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
30443 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
30444 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
30445 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
30446 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
30447 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
30448 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
30449 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
30450 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
30451 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
30452 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
30453 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
30454 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
30455 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
30456 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
30457 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
30458 (R_ARM_THM_GOT_BREL12): Likewise.
30459 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
30460 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
30461 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
30462 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
30463 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
30464 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
30465 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
30466 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
30467 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
30469 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30471 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30472 __attribute_used__ to __attribute__ ((unused)).
30474 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30476 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
30478 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
30479 comment formatting.
30480 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
30482 2013-02-19 Joseph Myers <joseph@codesourcery.com>
30485 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
30487 (ENTER): Remove both macro definitions.
30489 (CHECK_BOUNDS_LOW): Likewise.
30490 (CHECK_BOUNDS_HIGH): Likewise.
30491 (CHECK_BOUNDS_BOTH): Likewise.
30492 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
30493 (RETURN_BOUNDED_POINTER): Likewise.
30494 (RETURN_NULL_BOUNDED_POINTER): Likewise.
30495 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
30496 (POP_ERRNO_LOCATION_RETURN): Likewise.
30497 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
30498 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30499 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
30501 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30502 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
30503 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
30504 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
30505 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
30506 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
30507 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
30508 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
30509 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
30510 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
30511 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
30512 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
30513 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30514 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
30516 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30517 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
30519 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30520 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
30521 * sysdeps/i386/i586/memset.S (memset): Likewise.
30522 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
30523 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30524 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
30526 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30527 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
30528 Change uses of L(2) to L(out).
30529 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
30530 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
30531 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
30532 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30533 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
30535 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30536 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
30538 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30539 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
30540 (RETURN): Do not use macro LEAVE.
30541 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
30542 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
30543 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
30544 * sysdeps/i386/i686/memset.S (memset): Likewise.
30545 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
30546 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
30547 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30548 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
30550 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30551 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
30552 L(1_2) and L(1_3) into L(1).
30553 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30554 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
30555 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30556 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
30557 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30558 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
30559 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
30560 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30561 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
30563 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
30564 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30565 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
30566 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
30567 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
30568 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30569 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
30570 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
30571 * sysdeps/i386/strcspn.S (strcspn): Likewise.
30572 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
30573 * sysdeps/i386/strrchr.S (strrchr): Likewise.
30574 * sysdeps/i386/strspn.S (strspn): Likewise.
30575 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
30577 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30578 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
30579 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30580 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
30581 L(1_3) into L(1_1).
30582 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
30583 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30584 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
30586 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30588 2013-02-19 Jakub Jelinek <jakub@redhat.com>
30590 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
30593 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30595 * math/atest-exp.c (exp_mpn): Remove ROUND.
30596 * math/atest-exp2.c (exp_mpn): Likewise.
30597 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
30599 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
30600 * stdlib/tst-tls-atexit-lib.c: Likewise.
30601 * stdlib/tst-tls-atexit.c: Likewise.
30603 2013-02-18 Mike Frysinger <vapier@gentoo.org>
30605 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
30606 and __attribute_alloc_size__.
30608 2013-02-18 Mike Frysinger <vapier@gentoo.org>
30610 * include/programs/xmalloc.h: Change __attribute_alloc_size to
30611 __attribute_alloc_size__.
30612 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
30613 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
30615 2013-02-18 Mike Frysinger <vapier@gentoo.org>
30617 * include/programs/xmalloc.h: New file.
30618 * catgets/gencat.c: Include it.
30619 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
30620 * elf/pldd.c: Likewise.
30621 * iconv/iconv_charmap.c: Likewise.
30622 * iconv/iconvconfig.c: Likewise.
30623 * iconv/strtab.c: Likewise.
30624 * locale/programs/locale.c: Likewise.
30625 * locale/programs/localedef.h: Likewise.
30626 * locale/programs/simple-hash.c: Likewise.
30627 * nscd/nscd.h: Likewise.
30628 * nss/makedb.c: Likewise.
30629 * sysdeps/generic/ldconfig.h: Likewise.
30631 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30633 * Versions.def: Add GLIBC_2.18.
30634 * include/link.h (struct link_map): New member l_tls_dtor_count.
30635 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
30636 (__call_tls_dtors): Likewise.
30637 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
30638 __cxa_thread_atexit_impl.
30639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
30645 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
30647 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30648 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
30650 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
30652 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30653 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30655 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
30656 (tests): Add test case tst-tls-atexit.
30657 (modules-names): Add shared library for tst-tls-atexit.
30658 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
30659 (GLIBC_PRIVATE): Add __call_tls_dtors.
30660 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
30662 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
30663 * stdlib/tst-tls-atexit.c: New test case.
30664 * stdlib/tst-tls-atexit-lib.c: New test case.
30666 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
30668 * elf/Versions (ld): Add _dl_find_dso_for_object.
30669 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
30670 * elf/dl-open.c (_dl_find_dso_for_object): New function.
30671 (dl_open_worker): Use _dl_find_dso_for_object.
30672 * elf/dl-sym.c (do_sym): Likewise.
30673 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
30675 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30677 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
30678 Syntactic changes only.
30679 (_dl_runtime_profile): Do a tail-call to the resolved function.
30681 2013-02-17 Joseph Myers <joseph@codesourcery.com>
30684 * sysdeps/x86_64/bp-asm.h: Remove file.
30685 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
30686 <bp-sym.h> and <bp-asm.h>.
30687 (__clone): Do not use BP_SYM.
30688 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
30689 <bp-sym.h> and <bp-asm.h>.
30690 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30691 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
30693 (_setjmp): Do not use BP_SYM.
30694 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
30696 (setjmp): Do not use BP_SYM.
30697 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
30699 (mempcpy): Do not use BP_SYM in weak_alias.
30700 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
30702 (strchr): Do not use BP_SYM.
30703 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
30705 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
30706 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
30707 (_start): Do not use BP_SYM.
30708 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
30710 (strcat): Do not use BP_SYM.
30711 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
30713 (STRCMP): Do not use BP_SYM.
30714 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
30716 (STRCPY): Do not use BP_SYM.
30717 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
30719 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
30721 (FUNCTION): Do not use BP_SYM.
30722 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
30724 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
30726 2013-02-17 Andreas Jaeger <aj@suse.de>
30728 * time/Versions: Sort entries.
30729 * string/Versions: Likewise.
30730 * resolv/Versions: Likewise.
30731 * posix/Versions: Likewise.
30732 * iconv/Versions: Likewise.
30733 * elf/Versions: Likewise.
30734 * wcsmbs/Versions: Likewise.
30736 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30738 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
30739 loop termination condition.
30741 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
30742 variable to calculate EZ.
30745 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
30746 the lower precision input.
30748 2013-02-15 Joseph Myers <joseph@codesourcery.com>
30751 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
30752 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
30753 (run-via-rtld-prefix): Do not handle %-bp tests.
30754 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
30755 (all-object-suffixes): Remove .ob.
30756 (bppfx): Remove variable.
30757 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
30758 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
30759 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
30760 [$(build-bounded) = yes] (libtype.ob): Likewise.
30761 * Makerules (elide-routines.ob): Remove variable.
30762 (do-tests-clean): Do not handle *-bp.out.
30763 (common-mostlyclean): Do not handle *-bp and *-bp.out.
30764 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
30765 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
30766 (tests): Do not include $(tests-bp.out).
30767 (xtests): Do not include $(xtests-bp.out).
30768 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
30769 [$(build-bounded) = yes] ($(addprefix
30770 $(objpfx),$(binaries-bounded))): Remove rule.
30771 ($(objpfx)%-bp.out): Remove rule.
30772 * config.make.in (build-bounded): Remove variable.
30773 * crypt/Makefile [$(build-bounded) = yes]
30774 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
30775 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
30776 append to variable.
30777 [$(build-bounded) = yes] (install-lib): Likewise.
30778 [$(build-bounded) = yes] (generated): Likewise.
30779 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
30781 * intl/Makefile [$(build-bounded) = yes]
30782 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
30783 * math/Makefile [$(build-bounded) = yes]
30784 ($(tests:%=$(objpfx)%-bp): Likewise.
30785 * misc/Makefile [$(build-bounded) = yes]
30786 ($(objpfx)tst-tsearch-bp): Likewise.
30787 * nptl/Makeconfig (bounded-thread-library): Remove variable.
30788 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
30790 * string/Makefile (o-objects.ob): Remove variable.
30791 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
30792 (CFLAGS-.ob): Remove variable.
30793 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
30794 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
30795 both definitions of variable.
30796 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
30797 (ASFLAGS-.ob): Remove variable.
30799 2013-02-14 Joseph Myers <joseph@codesourcery.com>
30802 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
30803 Remove __BOUNDED_POINTERS__ from condition.
30804 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
30805 * string/bits/string2.h [!__NO_STRING_INLINES &&
30806 !__BOUNDED_POINTERS__]: Likewise.
30807 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
30809 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
30810 Remove conditional code.
30811 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
30812 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
30813 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
30817 * csu/libc-start.c: Do not include <bp-sym.h>.
30818 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
30819 * elf/dl-open.c: Do not include <bp-sym.h>.
30820 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
30821 * math/fegetenv.c: Do not include <bp-sym.h>.
30822 (fegetenv): Do not use BP_SYM in versioned symbols.
30823 * nptl/sysdeps/pthread/bits/libc-lockP.h
30824 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
30826 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30827 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
30828 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30829 (__pthread_mutex_destroy): Likewise.
30830 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30831 (__pthread_mutex_lock): Likewise.
30832 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30833 (__pthread_mutex_trylock): Likewise.
30834 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30835 (__pthread_mutex_unlock): Likewise.
30836 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30837 (__pthread_mutexattr_init): Likewise.
30838 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30839 (__pthread_mutexattr_destroy): Likewise.
30840 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30841 (__pthread_mutexattr_settype): Likewise.
30842 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30843 (__pthread_rwlock_init): Likewise.
30844 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30845 (__pthread_rwlock_destroy): Likewise.
30846 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30847 (__pthread_rwlock_rdlock): Likewise.
30848 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30849 (__pthread_rwlock_tryrdlock): Likewise.
30850 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30851 (__pthread_rwlock_wrlock): Likewise.
30852 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30853 (__pthread_rwlock_trywrlock): Likewise.
30854 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30855 (__pthread_rwlock_unlock): Likewise.
30856 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30857 (__pthread_key_create): Likewise.
30858 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30859 (__pthread_setspecific): Likewise.
30860 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30861 (__pthread_getspecific): Likewise.
30862 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
30864 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30865 (_pthread_cleanup_push_defer): Likewise.
30866 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30867 (_pthread_cleanup_pop_restore): Likewise.
30868 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30869 (pthread_setcancelstate): Likewise.
30870 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
30872 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
30873 (memchr): Do not use BP_SYM in weak_alias.
30874 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
30875 (fegetenv): Do not use BP_SYM in versioned symbols.
30876 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
30877 (fesetenv): Do not use BP_SYM in versioned symbols.
30878 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30879 (feupdateenv): Do not use BP_SYM in versioned symbols.
30880 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30881 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30882 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
30883 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
30884 (open64): Do not use BP_SYM in weak_alias.
30885 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
30886 (fegetenv): Do not use BP_SYM in versioned symbols.
30887 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
30888 (fesetenv): Do not use BP_SYM in versioned symbols.
30889 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30890 (feupdateenv): Do not use BP_SYM in versioned symbols.
30891 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
30892 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
30893 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
30894 (feraiseexcept): Do not use BP_SYM in versioned symbols.
30895 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30896 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30897 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
30899 (__libc_start_main): Do not use BP_SYM.
30901 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30903 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
30904 redundant return line.
30906 (denorm): Likewise.
30907 (dbl_mp): Likewise.
30908 (sub_magnitudes): Likewise.
30914 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
30916 (denorm): Likewise.
30917 (dbl_mp): Likewise.
30918 (sub_magnitudes): Likewise.
30925 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
30927 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30928 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
30931 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
30932 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
30933 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
30934 of __mul for squares.
30935 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
30937 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
30939 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
30940 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30942 2013-02-13 Joseph Myers <joseph@codesourcery.com>
30945 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
30947 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
30948 prototype or function definition. Rename ubp_* variables and
30949 parameters. Remove argv definitions conditional on
30950 [__BOUNDED_POINTERS__].
30951 * debug/backtrace.c (__backtrace): Do not use __unbounded.
30952 * elf/dl-runtime.c (_dl_fixup): Likewise.
30953 * include/set-hooks.h (RUN_HOOK): Likewise.
30954 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
30956 * string/strcpy.c (strcpy): Do not use __unbounded.
30957 * sysdeps/generic/frame.h (struct layout): Likewise.
30958 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
30959 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
30960 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
30961 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
30962 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
30963 (__backtrace): Likewise.
30964 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
30966 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
30967 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
30968 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30970 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
30971 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
30972 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
30973 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30974 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
30975 Do not use __unbounded.
30976 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
30977 Rename __unboundedrlimits parameter to rlimits in prototype.
30978 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
30979 Do not use __unbounded.
30980 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
30981 not use __ptrvalue.
30982 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30983 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
30984 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30985 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
30986 __ptrvalue or __unbounded.
30987 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
30988 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
30990 (__new_msgctl): Do not use __ptrvalue.
30991 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
30993 (__libc_msgrcv): Do not use __ptrvalue.
30994 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
30995 startup_info): Do not use __unbounded.
30996 (__libc_start_main): Likewise. Rename ubp_* variables and
30997 parameters. Remove argv definitions conditional on
30998 [__BOUNDED_POINTERS__].
30999 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
31001 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
31003 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
31005 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
31007 (__new_shmctl): Do not use __ptrvalue.
31008 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
31009 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
31011 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
31012 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
31013 (__libc_sigaction): Likewise.
31014 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
31015 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
31017 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31019 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
31021 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
31023 * string/mempcpy.c: Implement by calling memcpy.
31025 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31027 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
31029 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
31032 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
31033 values in the mantissa.
31035 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
31036 minimize writes to Z.
31037 (sub_magnitudes): Simplify code a bit.
31039 2013-02-12 Roland McGrath <roland@hack.frob.com>
31041 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
31042 from the message. The linker prefixes all warnings with that already.
31044 2013-02-12 Andreas Schwab <schwab@suse.de>
31047 * posix/regexec.c (extend_buffers): Add parameter min_len.
31048 (check_matching): Pass minimum needed length.
31049 (clean_state_log_if_needed): Likewise.
31050 (get_subexp): Likewise.
31051 * posix/Makefile (tests): Add bug-regex34.
31052 (bug-regex34-ENV): Define.
31053 * posix/bug-regex34.c: New file.
31056 * posix/regcomp.c (parse_bracket_exp): When looking up collating
31057 elements compare against the byte sequence of it, not its name.
31058 * posix/Makefile (tests): Add bug-regex35.
31059 (bug-regex35-ENV): Define.
31060 * posix/bug-regex35.c: New file.
31062 2013-02-11 Tom de Vries <tom@codesourcery.com>
31064 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
31066 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
31067 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
31068 (CHECK_EOL): Add undef.
31070 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
31072 * bits/stdlib-bsearch.h: New file.
31073 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
31074 * stdlib/stdlib.h: Likewise.
31076 2013-02-11 Roland McGrath <roland@hack.frob.com>
31078 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
31079 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
31081 * manual/search.texi (Array Search Function): Add missing const in
31083 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
31084 declaration to use rlim_t.
31085 (Basic Scheduling Functions): Remove erroneous const from
31086 sched_getparam prototype. Remove erroneous * from
31087 sched_get_priority_max and sched_get_priority_min prototypes.
31088 (Resource Usage): Fix summary @comment on vtimes to refer to
31089 sys/vtimes.h rather than vtimes.h.
31090 Add missing *s in vtimes prototype.
31091 (Limits on Resources): Fix ulimit prototype to return long int.
31092 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
31093 prototypes to use long int rather than double.
31094 (BSD Random): Fix initstate and setstate to use char *, not void *.
31095 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
31096 prototype to make second argument 'struct aiocb64 *const[]'.
31097 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
31098 (Status of AIO Operations): Remove erroneous const in aio_return and
31099 aio_return64 prototypes.
31100 (Synchronizing I/O): Fix sync prototype to return void.
31101 * manual/startup.texi (Suboptions): Remove an erroneous const in
31102 getsubopt prototype.
31103 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
31104 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
31105 use size_t rather than int.
31106 (Scanning All Users): Likewise for getpwent_r.
31107 (Setting Groups): Add missing const to setgroups prototype.
31108 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
31109 * manual/socket.texi (Host Names): Fix gethostbyaddr and
31110 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
31111 'const void *' rather than 'const char *'.
31112 (Host Address Functions): Likewise for inet_ntop.
31113 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
31114 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
31115 ssize_t for return value.
31116 (Sending Data): Likewise for send, sendto, sendmsg.
31117 (Socket Option Functions): Add a missing const in setsockopt prototype.
31118 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
31119 use wchar_t for the argument.
31120 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
31121 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
31123 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
31124 double/float/long double for second argument.
31125 Fix return types of significand, significandf, significandl.
31126 * manual/filesys.texi (Setting Permissions): Use mode_t for second
31127 argument in fchmod prototype.
31128 (File Owner): Use uid_t and gid_t in fchown prototype.
31129 (File Times): Add const to utimes, futimes, and lutimes prototypes.
31130 (Making Special Files): Use mode_t and dev_t in mknod prototype.
31131 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
31132 use 'const struct dirent **' as argument types to CMP function pointer
31134 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
31135 (File Times): Fix summary magic @comment for struct utimbuf and utime
31136 to refer to utime.h, not time.h.
31137 * manual/string.texi (Argz Functions): Add missing const in
31138 argz_extract and argz_next prototypes.
31139 (Finding Tokens in a String): Likewise for basename.
31140 (String/Array Comparison): Fix typo in wcscasecmp prototype.
31141 (Copying and Concatenation): Fix typo in wmemmove prototype.
31142 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
31143 (Signal Stack): Remove erroneous const in sigstack prototype.
31144 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
31146 (Simple Calendar Time): Likewise for stime.
31147 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
31149 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
31150 say sys/sysctl.h instead.
31151 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
31152 and vsyslog prototypes.
31154 2013-02-11 Tom de Vries <tom@codesourcery.com>
31156 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
31159 2013-02-11 Roland McGrath <roland@hack.frob.com>
31161 * misc/sys/mman.h: Fix typo in mremap comment.
31163 2013-02-08 Roland McGrath <roland@hack.frob.com>
31165 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
31166 the '\0' terminator.
31168 2013-02-08 Joseph Myers <joseph@codesourcery.com>
31171 * debug/segfault.c: Don't include <bp-checks.h>.
31172 * sysdeps/generic/bp-checks.h: Remove file.
31173 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
31174 (__GETDENTS): Don't use CHECK_N.
31175 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
31176 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31177 (__getgroups): Don't use CHECK_N.
31178 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
31179 (setgroups): Don't use CHECK_N.
31180 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
31181 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
31182 (__libc_msgrcv): Don't use CHECK_N.
31183 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
31184 (__libc_msgsnd): Don't use CHECK_N.
31185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
31187 (__libc_pread): Don't use CHECK_N.
31188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
31189 include <bp-checks.h>.
31190 (__libc_pread64): Don't use CHECK_N.
31191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
31192 include <bp-checks.h>.
31193 (__libc_pwrite): Don't use CHECK_N.
31194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
31195 include <bp-checks.h>.
31196 (__libc_pwrite64): Don't use CHECK_N.
31197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
31199 (__libc_pread): Don't use CHECK_N.
31200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
31201 include <bp-checks.h>.
31202 (__libc_pread64): Don't use CHECK_N.
31203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
31204 include <bp-checks.h>.
31205 (__libc_pwrite): Don't use CHECK_N.
31206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
31207 include <bp-checks.h>.
31208 (__libc_pwrite64): Don't use CHECK_N.
31209 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
31210 (do_pread): Don't use CHECK_N.
31211 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
31212 (do_pread64): Don't use CHECK_N.
31213 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
31214 (do_pwrite): Don't use CHECK_N.
31215 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
31216 (do_pwrite64): Don't use CHECK_N.
31217 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
31218 (__libc_readv): Don't use CHECK_N.
31219 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
31220 (semop): Don't use CHECK_N.
31221 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
31223 (semtimedop): Don't use CHECK_N.
31224 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
31225 (__libc_pread): Don't use CHECK_N.
31226 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
31228 (__libc_pread64): Don't use CHECK_N.
31229 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
31231 (__libc_pwrite): Don't use CHECK_N.
31232 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
31234 (__libc_pwrite64): Don't use CHECK_N.
31235 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
31237 (__libc_msgrcv): Don't use CHECK_N.
31238 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
31239 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
31240 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
31241 (__libc_writev): Don't use CHECK_N.
31243 2013-02-08 Roland McGrath <roland@hack.frob.com>
31245 * string/strcpy.c: Removed unused variable.
31247 * Makeconfig (+sysdep-includes): Define with := rather than =.
31248 Use an existing include/ subdir of each sysdeps dir before it.
31250 2013-02-08 Carlos O'Donell <carlos@redhat.com>
31252 * nscd/connection.c (register_traced_file): Comment function.
31253 [HAVE_INOTIFY] (union __inev): Define.
31254 [HAVE_INOTIFY] (inotify_check_files): New function.
31255 [HAVE_INOTIFY] (clear_db_cache): Likewise.
31256 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
31258 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
31260 2013-02-08 Carlos O'Donell <carlos@redhat.com>
31262 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
31263 loaded if not already and that a failure is permanent.
31265 2013-02-08 Carlos O'Donell <carlos@redhat.com>
31268 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
31269 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
31271 2013-02-08 Joseph Myers <joseph@codesourcery.com>
31274 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
31275 (CHECK_1_NULL_OK): Likewise.
31276 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
31277 (__fxstat): Do not use CHECK_1.
31278 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
31280 (___fxstat64): Do not use CHECK_1.
31281 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31283 (__fxstatat): Do not use CHECK_1.
31284 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31286 (__fxstatat64): Do not use CHECK_1.
31287 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
31289 (__fxstat): Do not use CHECK_1.
31290 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31292 (__fxstatat): Do not use CHECK_1.
31293 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31295 (__getresgid): Do not use CHECK_1.
31296 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31298 (__getresuid): Do not use CHECK_1.
31299 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
31301 (__lxstat): Do not use CHECK_1.
31302 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31304 (__old_msgctl): Do not use CHECK_1.
31305 (__new_msgctl): Likewise.
31306 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
31308 (__new_setrlimit): Do not use CHECK_1.
31309 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31311 (__old_shmctl): Do not use CHECK_1.
31312 (__new_shmctl): Likewise.
31313 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
31315 (__xstat): Do not use CHECK_1.
31316 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
31317 (__lxstat): Do not use CHECK_1.
31318 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
31320 (___lxstat64): Do not use CHECK_1.
31321 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
31322 (__old_msgctl): Do not use CHECK_1.
31323 (__new_msgctl): Likewise.
31324 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
31326 (__gettimeofday): Do not use CHECK_1.
31327 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
31328 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
31329 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
31331 (__gettimeofday): Do not use CHECK_1.
31332 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
31333 (__old_shmctl): Do not use CHECK_1_NULL_OK.
31334 (__new_shmctl): Do not use CHECK_1.
31335 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
31337 (do_sigtimedwait): Do not use CHECK_1.
31338 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
31340 (do_sigwaitinfo): Do not use CHECK_1.
31341 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
31343 (msgctl): Do not use CHECK_1.
31344 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
31346 (shmctl): Do not use CHECK_1.
31347 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
31348 (ustat): Do not use CHECK_1.
31349 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
31351 (__fxstat): Do not use CHECK_1.
31352 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31354 (__fxstatat): Do not use CHECK_1.
31355 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
31357 (__lxstat): Do not use CHECK_1.
31358 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
31360 (__xstat): Do not use CHECK_1.
31361 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
31362 (__xstat): Do not use CHECK_1.
31363 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
31364 (___xstat64): Do not use CHECK_1.
31367 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
31369 (CHECK_BOUNDS_HIGH): Likewise.
31370 * string/strcpy.c: Do not include <bp-checks.h>.
31371 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
31373 2013-02-07 Roland McGrath <roland@hack.frob.com>
31375 * nscd/nscd-client.h (__nscd_drop_map_ref):
31376 Add __attribute__ ((unused)).
31377 * nis/nss-nisplus.h (niserr2nss): Likewise.
31379 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
31380 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
31382 * csu/libc-tls.c (init_static_tls, init_slotinfo):
31383 Remove inline keyword.
31384 * include/rounding-mode.h (round_away): Likewise.
31385 * libio/wfileops.c (adjust_wide_data): Likewise.
31386 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
31387 (__m128i_strloadu_tolower): Likewise.
31388 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
31389 (__m128i_strloadu_tolower): Likewise.
31390 * time/mktime.c (ydhms_diff): Likewise.
31391 * locale/elem-hash.h (elem_hash): Likewise.
31392 * locale/setlocale.c (setdata): Likewise.
31393 * posix/regex_internal.h (re_string_char_size_at): Likewise.
31394 (re_string_wchar_at): Likewise.
31395 (bitset_not, bitset_merge, bitset_mask): Likewise.
31396 [!(__GNUC__ > 3)] (inline): Remove macro.
31397 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
31398 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
31399 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31400 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
31401 * string/memcmp.c (memcmp_bytes): Likewise.
31402 * locale/programs/locarchive.c (compute_hashval): Likewise.
31403 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
31404 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31405 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
31406 * nss/getent.c (print_rpc, print_protocols): Likewise.
31407 (print_passwd, print_group, print_aliases): Likewise.
31408 * nis/nss-nisplus.h (niserr2nss): Likewise.
31409 * nscd/connections.c (restart_p): Likewise.
31410 Change return type to bool.
31412 2013-02-05 Roland McGrath <roland@hack.frob.com>
31414 * Makeconfig (all-Depend-files): Add existing
31415 $(sorted-subdirs:=/Depend) files.
31416 (all-subdirs): Remove nss.
31417 * sysdeps/unix/inet/Subdirs: Add it here instead.
31418 * hesiod/Depend: New file.
31420 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
31421 instead of calling alloca.
31423 * io/lseek.c (__lseek): Rename to __libc_lseek.
31424 Define __lseek as an alias.
31426 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
31428 2013-02-04 Carlos O'Donell <carlos@redhat.com>
31430 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
31431 else clause and remove check for non-standard endianness.
31433 2013-02-04 David S. Miller <davem@davemloft.net>
31435 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31437 2013-02-04 Joseph Myers <joseph@codesourcery.com>
31440 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
31441 (__ubp_memchr): Remove prototype.
31442 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
31443 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31444 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
31445 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31446 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
31448 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
31449 (__ubp_memchr): Likewise.
31450 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
31451 (__ubp_memchr): Likewise.
31452 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
31453 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
31454 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
31455 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
31457 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31458 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
31459 (__getcwd): Do not use CHECK_STRING.
31460 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31462 (__real_chown): Do not use CHECK_STRING.
31463 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
31465 (fchownat): Do not use CHECK_STRING.
31466 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
31468 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31470 (__lchown): Do not use CHECK_STRING.
31471 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31472 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31473 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31474 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
31475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31476 include <bp-checks.h>.
31477 (truncate64): Do not use CHECK_STRING.
31478 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31480 (__real_chown): Do not use CHECK_STRING.
31481 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31483 (__lchown): Do not use CHECK_STRING.
31484 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31486 (__chown): Do not use CHECK_STRING.
31487 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
31489 (truncate64): Do not use CHECK_STRING.
31490 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
31492 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
31493 (__xmknod): Do not use CHECK_STRING.
31494 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31496 (__xmknodat): Do not use CHECK_STRING.
31497 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31498 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
31500 2013-02-04 Andreas Schwab <schwab@suse.de>
31503 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
31504 * include/netdb.h: Likewise for h_errno.
31505 * elf/tst-stackguard1.c: Include <tls.h>.
31507 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
31509 * elf/link.h (struct link_map): Extend the l_addr comment.
31510 * include/link.h (struct link_map): Likewise.
31512 2013-02-01 Joseph Myers <joseph@codesourcery.com>
31515 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
31516 (BOUNDED_1): Remove macro.
31517 * debug/backtrace.c: Don't include <bp-checks.h>.
31518 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
31519 (__backtrace): Likewise.
31520 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
31522 (__backtrace): Don't use BOUNDED_1.
31523 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
31525 (__backtrace): Don't use BOUNDED_1.
31526 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
31527 (__backtrace): Don't use BOUNDED_1.
31528 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
31529 (shmat): Don't use BOUNDED_N.
31531 2013-01-31 Joseph Myers <joseph@codesourcery.com>
31534 * sysdeps/generic/bp-start.h: Remove file.
31535 * csu/libc-start.c: Don't include <bp-start.h>.
31536 (LIBC_START_MAIN): Set up __environ directly instead of using
31537 INIT_ARGV_and_ENVIRON.
31538 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
31542 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
31544 (CHECK_FCNTL): Likewise.
31545 (CHECK_N_PAGES): Likewise.
31548 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
31550 (CHECK_SIGSET_NULL_OK): Likewise.
31551 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
31553 (sigpending): Don't use CHECK_SIGSET.
31554 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
31556 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31557 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
31559 (do_sigsuspend): Don't use CHECK_SIGSET.
31560 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
31562 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
31563 (do_sigwait): Don't use CHECK_SIGSET.
31564 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
31566 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
31567 include <bp-checks.h>.
31568 (sigpending): Don't use CHECK_SIGSET.
31569 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
31570 include <bp-checks.h>.
31571 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31572 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
31574 (sigpending): Don't use CHECK_SIGSET.
31575 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
31577 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31580 * sysdeps/generic/bp-semctl.h: Remove file.
31581 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
31582 <bp-checks.h> and <bp-semctl.h>.
31583 (__old_semctl): Don't use CHECK_SEMCTL.
31584 (__new_semctl): Likewise.
31585 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
31587 (__old_semctl): Don't use CHECK_SEMCTL.
31588 (__new_semctl): Likewise.
31589 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
31590 <bp-checks.h> and <bp-semctl.h>.
31591 (__old_semctl): Don't use CHECK_SEMCTL.
31592 (__new_semctl): Likewise.
31593 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
31594 <bp-checks.h> and <bp-semctl.h>.
31595 (semctl): Don't use CHECK_SEMCTL.
31598 * Makerules (elide-bp-thunks): Remove variable.
31599 (elide-routines.oS): Don't use $(elide-bp-thunks).
31600 (elide-routines.os): Likewise.
31601 (elide-routines.o): Likewise.
31602 (elide-routines.op): Likewise.
31603 (elide-routines.og): Likewise.
31604 (objects): Don't use $(bp-thunks).
31605 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
31607 (common-generated): Do not add s-proto-bp.d.
31608 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
31611 Do not generate makefile rules for bounded-pointer thunks.
31612 * sysdeps/generic/bp-thunks.h: Remove file.
31613 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
31614 * sysdeps/unix/s-proto-bp.S: Likewise.
31617 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
31618 parts of result separately when argument is not close to line from
31619 -i to i and one part of argument is small.
31620 * math/k_casinhf.c (__kernel_casinhf): Likewise.
31621 * math/k_casinhl.c (__kernel_casinhl): Likewise.
31622 * math/libm-test.inc (cacos_test): Add more tests.
31623 (casin_test): Likewise.
31624 (casinh_test): Likewise.
31625 * sysdeps/i386/fpu/libm-test-ulps: Update.
31626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31628 2013-01-31 David S. Miller <davem@davemloft.net>
31630 * po/de.po: Update from translation team.
31632 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
31634 * time/tzfile.c: Include stdint.h for SIZE_MAX.
31636 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
31638 * configure.in (_AC_PROG_CC_C89): New definition.
31639 * configure: Regenerate.
31641 * configure.in (AC_PROG_CPP): New definition.
31642 * configure: Regenerate.
31644 2013-01-23 Joseph Myers <joseph@codesourcery.com>
31646 * debug/tst-backtrace.h: New file.
31647 * debug/tst-backtrace2.c: Include tst-backtrace.h.
31648 (ret): Remove variable.
31650 (FAIL): Remove macro.
31651 (NO_INLINE): Likewise.
31652 (fn1): Use match function instead of strstr.
31653 * debug/tst-backtrace3.c: Include tst-backtrace.h.
31654 (ret): Remove variable.
31656 (FAIL): Remove macro.
31657 (NO_INLINE): Likewise.
31658 (fn): Use match function instead of strstr.
31659 * debug/tst-backtrace4.c: Include tst-backtrace.h.
31660 (ret): Remove variable.
31662 (FAIL): Remove macro.
31663 (NO_INLINE): Likewise.
31664 (handle_signal): Use match function instead of strstr.
31665 * debug/tst-backtrace5.c: Include tst-backtrace.h.
31666 (ret): Remove variable.
31668 (FAIL): Remove macro.
31669 (NO_INLINE): Likewise.
31670 (handle_signal): Use match function instead of strstr.
31672 2013-01-23 Roland McGrath <roland@hack.frob.com>
31674 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
31676 2013-01-23 David S. Miller <davem@davemloft.net>
31678 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
31679 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
31680 argument of CAS if possible.
31681 * sysdeps/sparc/sparc64/bits/atomic.h
31682 (__arch_compare_and_exchange_val_32_acq): Likewise.
31683 (__arch_compare_and_exchange_val_64_acq): Likewise.
31685 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
31687 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
31688 * sysdeps/posix/ulimit.c: ... this.
31689 Include <limits.h>.
31690 * sysdeps/unix/bsd/ulimit.c: Remove file.
31692 2013-01-23 Adam Conrad <adconrad@0c3.net>
31694 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
31695 (LDFLAGS-tst-array5): Likewise.
31697 2013-01-23 Joseph Myers <joseph@codesourcery.com>
31700 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
31701 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
31702 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
31703 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
31705 2013-01-21 David S. Miller <davem@davemloft.net>
31707 * sysdeps/sparc/backtrace.c: New file.
31708 * sysdeps/sparc/sparc32/backtrace.h: New file.
31709 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
31710 * sysdeps/sparc/sparc64/backtrace.h: New file.
31711 * sysdeps/sparc/sparc64/backtrace.c: Delete.
31712 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
31715 2013-01-21 Andreas Schwab <schwab@suse.de>
31718 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
31721 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
31723 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
31725 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31727 2013-01-18 Joseph Myers <joseph@codesourcery.com>
31728 Mark Mitchell <mark@codesourcery.com>
31729 Tom de Vries <tom@codesourcery.com>
31730 Paul Pluzhnikov <ppluzhnikov@google.com>
31732 * debug/tst-backtrace2.c: New file.
31733 * debug/tst-backtrace3.c: Likewise.
31734 * debug/tst-backtrace4.c: Likewise.
31735 * debug/tst-backtrace5.c: Likewise.
31736 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
31737 (CFLAGS-tst-backtrace3.c): Likewise.
31738 (CFLAGS-tst-backtrace4.c): Likewise.
31739 (CFLAGS-tst-backtrace5.c): Likewise.
31740 (LDFLAGS-tst-backtrace2): Likewise.
31741 (LDFLAGS-tst-backtrace3): Likewise.
31742 (LDFLAGS-tst-backtrace4): Likewise.
31743 (LDFLAGS-tst-backtrace5): Likewise.
31744 (tests): Add new tests tst-backtrace2, tst-backtrace3,
31745 tst-backtrace4 and tst-backtrace5.
31747 2013-01-18 Anton Blanchard <anton@samba.org>
31748 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31750 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
31751 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
31752 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
31753 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
31754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31755 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
31756 "+r" and remove output regs list as redundant. Add explicit inline
31757 asm to specify register of return val to work around compiler codegen
31758 bug. Remove (int) cast on return value. Add return type parameter to
31759 use in macro so that this macro does not truncate return value for
31761 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
31762 pass to INTERNAL_VSYSCALL_NCS.
31763 (INLINE_VSYSCALL): Add 'long int' as return type to
31764 INTERNAL_VSYSCALL_NCS macro invocation.
31765 (INTERNAL_VSYSCALL): Add 'long int' as return type to
31766 INTERNAL_VSYSCALL_NCS macro invocation.
31767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31769 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31772 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
31773 Fix application of SIMD FP exception mask.
31775 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
31776 mp_no from a power of two.
31777 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
31778 __mpexp_twomm1. Use __pow_mp.
31780 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
31783 2013-01-17 David S. Miller <davem@davemloft.net>
31785 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31787 2013-01-17 Joseph Myers <joseph@codesourcery.com>
31790 * include/complex.h: Condition contents on [!_COMPLEX_H].
31791 (__kernel_casinhf): New prototype.
31792 (__kernel_casinh): Likewise.
31793 (__kernel_casinhl): Likewise.
31794 * math/Makefile (libm_calls): Add k_casinh.
31795 * math/k_casinh.c: New file.
31796 * math/k_casinhf.c: Likewise.
31797 * math/k_casinhl.c: Likewise.
31798 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
31799 finite nonzero arguments.
31800 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
31801 finite nonzero arguments.
31802 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
31803 finite nonzero arguments.
31804 * math/s_casinh.c: Do not include <float.h>.
31805 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
31806 * math/s_casinhf.c: Do not include <float.h>.
31807 (__casinhf): Move code for finite nonzero arguments to
31809 * math/s_casinhl.c: Do not include <float.h>.
31810 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
31812 (__casinhl): Move code for finite nonzero arguments to
31814 * math/libm-test.inc (cacos_test): Add more tests.
31815 * sysdeps/i386/fpu/libm-test-ulps: Update.
31816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31818 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
31820 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
31821 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
31822 [!HAVE_MREMAP]: Remove [defined linux] case.
31823 * malloc/arena.c: Do not include <malloc-sysdep.h>.
31825 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
31827 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
31829 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
31831 * elf/elf.h (R_386_SIZE32): New relocation.
31832 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
31834 (elf_machine_rela): Likewise.
31835 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31836 R_X86_64_SIZE64 and R_X86_64_SIZE32.
31838 2013-01-17 Joseph Myers <joseph@codesourcery.com>
31840 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
31841 (FP_FAST_FMA): Do not define.
31842 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
31843 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
31844 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
31845 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
31846 !_SOFT_FLOAT]: Likewise.
31847 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
31848 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
31850 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
31851 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
31852 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
31853 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
31854 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
31855 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
31858 2013-01-16 Andreas Schwab <schwab@suse.de>
31861 * include/stdlib.h (__mktemp): Add declaration.
31862 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
31863 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
31865 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31867 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
31869 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31870 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
31871 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
31873 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
31874 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
31876 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
31878 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
31879 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
31880 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
31882 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
31883 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
31885 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31887 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
31889 2013-01-15 David S. Miller <davem@davemloft.net>
31891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31892 trunc{,f} to libm-sysdep_routes.
31893 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
31896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
31897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
31899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
31901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
31902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
31903 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
31904 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
31905 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
31906 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
31907 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
31908 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
31910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31911 nearbyint{,f} to libm-sysdep_routes.
31912 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
31915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
31917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
31919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
31921 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
31922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
31923 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
31925 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
31926 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
31928 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
31929 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
31930 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
31932 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31933 libc_feholdexcept and libc_fesetenv.
31935 2013-01-15 Mike Frysinger <vapier@gentoo.org>
31937 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
31939 2013-01-14 David S. Miller <davem@davemloft.net>
31941 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
31942 (SPARC_ASM_VIS2_IFUNC): Likewise.
31943 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
31944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
31945 use of 'siam' instruction.
31946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
31948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
31950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
31952 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
31953 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
31954 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
31955 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
31956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
31958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
31960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
31962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
31964 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
31965 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
31966 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
31967 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
31968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
31970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
31971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31974 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31975 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31976 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31977 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
31979 routines to libm-sysdep_routines.
31980 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31983 fdim/fdimf to libm-sysdep_routines.
31984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
31986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
31987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
31989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
31990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
31991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
31992 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
31993 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
31994 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
31995 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
31997 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31999 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
32000 to optimize copies.
32002 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
32003 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32004 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32006 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
32007 local variable MPTWO.
32008 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32011 2013-01-13 Mike Frysinger <vapier@gentoo.org>
32013 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
32016 2013-01-13 Mike Frysinger <vapier@gentoo.org>
32018 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
32020 2013-01-13 Mike Frysinger <vapier@gentoo.org>
32022 * manual/pattern.texi (glob_t): Document gl_flags.
32023 (glob64_t): Likewise.
32025 2013-01-11 David S. Miller <davem@davemloft.net>
32027 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
32028 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
32029 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32030 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
32031 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
32032 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
32033 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
32034 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
32035 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
32036 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
32037 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
32038 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
32039 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
32041 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32042 sparc V9 rather than using V8 code.
32043 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32044 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32046 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32048 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
32051 2013-01-11 Roland McGrath <roland@hack.frob.com>
32053 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
32054 not in the main loop.
32055 * configure: Regenerated.
32057 2013-01-11 Joseph Myers <joseph@codesourcery.com>
32059 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
32060 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
32062 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
32063 [!__GLIBC_HAVE_LONG_LONG] case.
32064 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
32065 condition to just #else.
32066 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
32067 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
32068 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
32069 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
32071 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
32072 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32073 #elif condition to just #else.
32074 * sysdeps/unix/sysv/linux/sys/sysmacros.h
32075 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
32076 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32077 #elif condition to just #else.
32079 2013-01-11 Steve Ellcey <sellcey@mips.com>
32081 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
32082 (EF_MIPS_ARCH_64): Fix value.
32083 (EF_MIPS_ARCH_32R2): New.
32084 (EF_MIPS_ARCH_64R2): New.
32086 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
32088 * Makeconfig (+link-pie-before-libc): New.
32089 (+link-pie-after-libc): Likewise.
32090 (+link-pie-tests): Likewise.
32091 (+link-pie): Rewritten.
32092 (link-before-libc): Remove $(config-LDFLAGS).
32093 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
32094 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
32095 (config-LDFLAGS): Renamed to ...
32096 (rtld-LDFLAGS): This.
32097 (rtld-tests-LDFLAGS): New macro.
32098 (link-libc-rpath-link): Likewise.
32099 (link-libc-tests-rpath-link): Likewise.
32100 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
32101 (link-libc): Prepand $(link-libc-rpath-link).
32102 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
32103 (test-program-prefix): New macro.
32104 (test-via-rtld-prefix): Likewise.
32105 (test-program-cmd): Likewise.
32106 (host-test-program-cmd): Likewise.
32107 * Makefile ($(common-objpfx)testrun.sh): Replace
32108 $(run-program-prefix) with $(test-program-prefix).
32109 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
32111 ($(common-objpfx)shlib.lds): Likewise.
32112 (build-module-helper): Likewise.
32113 ($(common-objpfx)format.lds): Likewise.
32114 * Rules (binaries-pie-tests): New.
32115 (binaries-pie-notests): Likewise.
32116 (binaries-pie): Rewritten.
32117 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
32118 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
32119 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
32120 (make-test-out): Replace $(host-built-program-cmd) with
32121 $(host-test-program-cmd).
32122 * config.make.in (build-hardcoded-path-in-tests): New variable.
32123 * configure.in (--enable-hardcoded-path-in-tests): New configure
32125 (hardcoded_path_in_tests): New AC_SUBST.
32126 * configure: Regenerated.
32127 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
32128 $(built-program-cmd) with $(test-program-cmd).
32129 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
32130 (test_program_cmd): This.
32131 * elf/Makefile ($(objpfx)order.out): Run test with
32132 $(test-program-prefix).
32133 ($(objpfx)order2.out): Likewise.
32134 ($(objpfx)tst-initorder.out): Likewise.
32135 ($(objpfx)tst-initorder2.out): Likewise.
32136 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
32137 $(test-program-cmd).
32138 ($(objpfx)tst-array1-static.out): Likewise.
32139 ($(objpfx)tst-array2.out): Likewise.
32140 ($(objpfx)tst-array3.out): Likewise.
32141 ($(objpfx)tst-array4.out): Likewise.
32142 ($(objpfx)tst-array5.out): Likewise.
32143 ($(objpfx)tst-array5-static.out): Likewise.
32144 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
32145 $(test-program-cmd).
32146 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
32147 $(run-program-prefix) with $(test-program-prefix).
32148 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
32149 (test_program_prefix): This.
32150 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
32151 $(run-program-prefix) with $(test-program-prefix).
32152 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
32153 (test_program_prefix): This.
32154 * iconvdata/tst-tables.sh: Likewise.
32155 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
32156 $(run-program-prefix) with $(test-program-prefix).
32157 ($(objpfx)tst-translit.out): Likewise.
32158 ($(objpfx)tst-gettext2.out): Likewise.
32159 ($(objpfx)tst-gettext4.out): Likewise.
32160 ($(objpfx)tst-gettext6.out): Likewise.
32161 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
32162 (test_program_prefix): This.
32163 * intl/tst-gettext2.sh: Likewise.
32164 * intl/tst-gettext4.sh Likewise.
32165 * intl/tst-gettext6.sh: Likewise.
32166 * intl/tst-translit.sh: Likewise.
32167 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
32168 with $(test-program-cmd).
32169 * libio/Makefile ($(objpfx)test-freopen.out): Replace
32170 $(run-program-prefix) with $(test-program-prefix).
32171 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
32172 (test_program_prefix): This.
32173 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
32174 $(run-program-prefix) with $(test-program-prefix).
32175 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
32176 (test_program_prefix): This.
32177 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
32178 * posix/Makefile ($(objpfx)globtest.out): Replace
32179 $(run-via-rtld-prefix) and $(test-wrapper) with
32180 $(test-program-prefix) and $(test-via-rtld-prefix).
32181 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
32182 $(test-program-prefix).
32183 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
32184 $(host-test-program-cmd).
32185 (tst-spawn-ARGS): Likewise.
32186 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
32187 $(test-program-prefix).
32188 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
32189 (test_via_rtld_prefix): This.
32190 (test_wrapper): Renamed to ...
32191 (test_program_prefix): This.
32192 (run_program_prefix): Replaced by test_program_prefix.
32193 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
32194 (test_program_prefix): This.
32195 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
32196 with $(host-test-program-cmd).
32197 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
32198 $(run-program-prefix) with $(test-program-prefix).
32199 ($(objpfx)tst-printf.out): Likewise.
32200 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
32201 $(test-program-cmd).
32202 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
32203 (test_program_prefix): This.
32204 * stdio-common/tst-unbputc.sh: Likewise.
32205 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
32206 $(run-program-prefix) with $(test-program-prefix).
32207 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
32208 (test_program_prefix): This.
32209 * string/Makefile ($(objpfx)tst-svc.out): Replace
32210 $(built-program-cmd) with $(test-program-cmd).
32212 2013-01-11 Andreas Jaeger <aj@suse.de>
32215 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
32216 value. Sync with Linux 3.7.
32218 2013-01-10 David S. Miller <davem@davemloft.net>
32220 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
32221 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32222 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32224 2013-01-10 Roland McGrath <roland@hack.frob.com>
32226 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
32228 * configure: Regenerated.
32230 2013-01-10 David S. Miller <davem@davemloft.net>
32232 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32233 sparc V9 rather than using V8 code.
32234 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32235 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32237 2013-01-10 Roland McGrath <roland@hack.frob.com>
32239 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
32240 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
32241 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
32242 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
32243 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
32244 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
32245 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
32246 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
32247 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
32248 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
32249 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
32250 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
32251 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
32252 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
32253 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
32254 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
32255 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
32256 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
32257 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
32258 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
32259 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
32260 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
32261 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
32262 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
32263 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
32264 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
32265 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
32267 2013-01-10 David S. Miller <davem@davemloft.net>
32269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32271 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32273 * posix/Makefile (tests-static): New variable.
32274 (tests): Add $(tests-static).
32275 (tst-exec-static-ARGS): New variable.
32276 (tst-spawn-static-ARGS): Likewise.
32277 * posix/tst-exec-static.c: New file.
32278 * posix/tst-spawn-static.c: Likewise.
32279 * posix/tst-exec.c: Support run directly.
32280 * posix/tst-spawn.c: Likewise.
32282 2013-01-10 Joseph Myers <joseph@codesourcery.com>
32284 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
32286 * math/bits/mathcalls.h (llrint): Likewise.
32287 (llround): Likewise.
32288 * stdlib/stdlib.h (struct drand48_data): Likewise.
32289 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
32290 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
32291 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
32293 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
32295 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
32296 (elf_greg_t): Likewise.
32297 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
32298 (__jmp_buf): Likewise.
32299 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
32301 (llrint): Likewise, for all definitions.
32302 (llrintl): Likewise.
32304 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
32305 Remove [__GNUC__] condition.
32306 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
32307 condition to just [__USE_ISOC99].
32308 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
32310 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32313 * sysdeps/unix/sysv/linux/x86/bits/environments.h
32314 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
32316 (_POSIX_V6_ILP32_OFF32): Likewise.
32317 (_XBS5_ILP32_OFF32): Likewise.
32318 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
32319 (__ILP32_OFFBIG_LDFLAGS): Likewise.
32321 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32323 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
32325 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
32326 doubles __mpexp_twomm1. Adjust usage.
32327 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
32330 2013-01-10 Andreas Schwab <schwab@suse.de>
32333 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
32334 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
32336 2013-01-09 David S. Miller <davem@davemloft.net>
32339 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
32340 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
32341 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
32342 (TCP_FASTOPEN): Define.
32343 (tcp_repair_opt): New structure.
32344 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
32346 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
32347 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
32348 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
32349 (tcp_cookie_transactions): New structure.
32351 2013-01-09 Anton Blanchard <anton@samba.org>
32353 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
32354 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
32355 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
32356 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32358 2013-01-09 Joseph Myers <joseph@codesourcery.com>
32360 * include/features.h (__USE_ANSI): Remove.
32362 2013-01-09 Roland McGrath <roland@hack.frob.com>
32364 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
32366 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
32368 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
32370 * sysdeps/s390/fpu/libm-test-ulps: Update.
32372 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32374 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
32378 (denorm): Likewise.
32379 (__mp_dbl): Likewise.
32380 (__dbl_mp): Likewise.
32381 (add_magnitudes): Likewise.
32382 (sub_magnitudes): Likewise.
32388 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
32392 (denorm): Likewise.
32393 (__mp_dbl): Likewise.
32394 (__dbl_mp): Likewise.
32395 (add_magnitudes): Likewise.
32396 (sub_magnitudes): Likewise.
32402 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
32406 (denorm): Likewise.
32407 (__mp_dbl): Likewise.
32408 (__dbl_mp): Likewise.
32409 (add_magnitudes): Likewise.
32410 (sub_magnitudes): Likewise.
32417 2013-01-08 Joseph Myers <joseph@codesourcery.com>
32419 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
32420 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
32421 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
32422 2 && __USE_EXTERN_INLINES]: Likewise.
32424 2013-01-08 Andreas Jaeger <aj@suse.de>
32427 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
32429 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32430 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32432 2013-01-07 Anton Blanchard <anton@samba.org>
32434 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
32435 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32436 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
32437 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32438 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32439 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32440 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
32441 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32442 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32443 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32444 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32445 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32446 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32447 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32448 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32449 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32450 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32451 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32452 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32453 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32454 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32455 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
32456 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32457 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32458 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
32459 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32460 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32461 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32462 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
32463 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32464 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32465 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32466 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32467 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32468 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32469 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32470 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32471 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32472 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
32473 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32474 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
32475 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32476 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32478 2013-01-07 Joseph Myers <joseph@codesourcery.com>
32480 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
32481 (__MALLOC_PMT): Likewise.
32482 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
32483 [__GNUC__], only on [_LIBC].
32484 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32485 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
32486 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32487 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
32488 forward declaration.
32489 (realloc_hook_ini): Likewise.
32490 (memalign_hook_ini): Likewise.
32491 (__libc_memalign): Do not use __MALLOC_PMT in variable
32493 (__libc_valloc): Likewise.
32494 (__libc_pvalloc): Likewise.
32495 (__libc_calloc): Likewise.
32496 (__posix_memalign): Likewise.
32499 * math/s_casinh.c: Include <float.h>.
32500 (__casinh): Do not do computation with squaring and square root
32501 for large arguments.
32502 * math/s_casinhf.c: Include <float.h>.
32503 (__casinhf): Do not do computation with squaring and square root
32504 for large arguments.
32505 * math/s_casinhl.c: Include <float.h>.
32506 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
32507 (__casinhl): Do not do computation with squaring and square root
32508 for large arguments.
32509 * math/libm-test.inc (casin_test): Add more tests.
32510 (casinh_test): Likewise.
32511 * sysdeps/i386/fpu/libm-test-ulps: Update.
32512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32514 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
32516 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
32517 (__x86_64_raw_data_cache_size): Likewise.
32518 (__x86_64_data_cache_size_half): Likewise.
32519 (__x86_64_raw_data_cache_size_half): Likewise.
32520 (__x86_64_shared_cache_size): Likewise.
32521 (__x86_64_raw_shared_cache_size): Likewise.
32522 (__x86_64_shared_cache_size_half): Likewise.
32523 (__x86_64_raw_shared_cache_size_half): Likewise.
32524 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
32526 (__x86_data_cache_size): This.
32527 (__x86_64_raw_data_cache_size): Renamed to ...
32528 (__x86_raw_data_cache_size): This.
32529 (__x86_64_data_cache_size_half): Renamed to ...
32530 (__x86_data_cache_size_half): This.
32531 (__x86_64_raw_data_cache_size_half): Renamed to ...
32532 (__x86_raw_data_cache_size_half): This.
32533 (__x86_64_shared_cache_size): Renamed to ...
32534 (__x86_shared_cache_size): This.
32535 (__x86_64_raw_shared_cache_size): Renamed to ...
32536 (__x86_raw_shared_cache_size): This.
32537 (__x86_64_shared_cache_size_half): Renamed to ...
32538 (__x86_shared_cache_size_half): This.
32539 (__x86_64_raw_shared_cache_size_half): Renamed to ...
32540 (__x86_raw_shared_cache_size_half): This.
32541 * sysdeps/x86_64/memcpy.S: Updated.
32542 * sysdeps/x86_64/memset.S: Likewise.
32543 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32544 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32545 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32547 2013-01-04 David S. Miller <davem@davemloft.net>
32549 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32551 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
32553 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
32554 1 to avoid redefinition warning.
32555 (__USE_GNU): Don't define.
32556 (init_signaling_nan): Protoize.
32558 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32560 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32562 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
32563 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
32564 (__cpymn): Likewise.
32565 (norm): Remove commented code.
32566 (denorm): Likewise.
32567 (__mp_dbl): Likewise.
32569 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
32570 (__cpymn): Likewise.
32571 (norm): Remove commented code.
32572 (denorm): Likewise.
32573 (__mp_dbl): Likewise.
32576 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
32577 mp_no value for 1.0 and 2.0.
32578 (norm): Use RADIXI instead of radixi.d.
32579 (denorm): Likewise.
32580 (__mul): Use 0.0 instead of zero.d.
32581 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
32582 mp_no value for 1.0 and 2.0.
32583 (norm): Use RADIXI instead of radixi.d.
32584 (denorm): Likewise.
32585 (__mul): Use 0.0 instead of zero.d.
32587 2013-01-04 Joseph Myers <joseph@codesourcery.com>
32590 * math/s_casinh.c (__casinh): Reduce finite argument to first
32591 quadrant then set signs of results at the end.
32592 * math/s_casinhf.c (__casinhf): Likewise.
32593 * math/s_casinhl.c (__casinhl): Likewise.
32594 * math/libm-test.inc (casin_test): Add more tests.
32595 (casinh_test): Likewise.
32596 * sysdeps/i386/fpu/libm-test-ulps: Update.
32597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32599 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32601 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
32603 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
32605 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
32607 (denorm): Likewise.
32608 (__mp_dbl): Likewise.
32611 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
32612 and adjust the header comment.
32614 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
32615 variable name from declaration.
32617 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
32619 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32620 Initialize COMMON_CPUID_INDEX_7 element.
32621 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
32622 (CPUID_RTM): Likewise.
32623 (HAS_RTM): Likewise.
32624 (COMMON_CPUID_INDEX_7): New enum.
32626 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
32629 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
32630 size is zero, record memory as freed.
32632 2013-01-03 Andreas Jaeger <aj@suse.de>
32634 * po/ia.po: Add new Interlingua translation.
32636 2012-01-03 Allan McRae <allan@archlinux.org>
32638 * locale/programs/localedef.c: Fix description of '--posix' flag.
32640 2013-01-02 Joseph Myers <joseph@codesourcery.com>
32642 * NEWS: Update dates in second copyright notice.
32643 * README: Update copyright dates in example.
32644 * manual/libc.texinfo: Update copyright dates.
32645 * scripts/test-installation.pl: Update copyright date in --version
32648 * hurd/ctty-input.c: Fix copyright notice formatting.
32649 * hurd/ctty-output.c: Likewise.
32650 * hurd/dtable.c: Likewise.
32651 * hurd/hurd-raise.c: Likewise.
32652 * hurd/hurdprio.c: Likewise.
32653 * hurd/msgportdemux.c: Likewise.
32654 * misc/sys/file.h: Likewise.
32655 * misc/sys/ioctl.h: Likewise.
32656 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
32657 * sysdeps/mach/hurd/chdir.c: Likewise.
32658 * sysdeps/mach/hurd/fchdir.c: Likewise.
32659 * sysdeps/mach/hurd/rename.c: Likewise.
32660 * sysdeps/mach/hurd/rmdir.c: Likewise.
32661 * sysdeps/mach/hurd/seekdir.c: Likewise.
32662 * sysdeps/mach/hurd/setsid.c: Likewise.
32663 * sysdeps/posix/wait3.c: Likewise.
32665 * All files with FSF copyright notices: Update copyright dates
32666 using scripts/update-copyrights.
32667 * intl/plural.c: Regenerated.
32668 * locale/programs/charmap-kw.h: Likewise.
32669 * locale/programs/locfile-kw.h: Likewise.
32671 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
32673 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
32676 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
32677 calculation loop and add branch prediction.
32679 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
32680 check access beyond bounds of m1np.
32682 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32684 (__inv): Remove local variable MPTWO to use the global
32686 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
32687 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32689 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
32690 MP3HALFS static const.
32692 2013-01-01 David S. Miller <davem@davemloft.net>
32694 * po/ca.po: Update from translation team.
32696 2013-01-01 Joseph Myers <joseph@codesourcery.com>
32698 * scripts/update-copyrights: New file.
32699 * Makeconfig: Reformat copyright notice.
32700 * ctype/ctype.h: Likewise.
32701 * debug/swprintf_chk.c: Likewise.
32702 * elf/dl-cache.c: Likewise.
32703 * elf/dl-debug.c: Likewise.
32704 * elf/dl-object.c: Likewise.
32705 * grp/initgroups.c: Likewise.
32706 * hurd/Makefile: Likewise.
32707 * hurd/hurd/signal.h: Likewise.
32708 * hurd/hurdfault.c: Likewise.
32709 * hurd/hurdioctl.c: Likewise.
32710 * hurd/hurdlookup.c: Likewise.
32711 * hurd/intr-msg.c: Likewise.
32712 * iconv/gconv_open.c: Likewise.
32713 * libio/swprintf.c: Likewise.
32714 * locale/lc-ctype.c: Likewise.
32715 * locale/nl_langinfo.c: Likewise.
32716 * mach/Machrules: Likewise.
32717 * mach/Makefile: Likewise.
32718 * malloc/obstack.h: Likewise.
32719 * manual/Makefile: Likewise.
32720 * manual/tsort.awk: Likewise.
32721 * misc/bits/stab.def: Likewise.
32722 * nis/nis_print_group_entry.c: Likewise.
32723 * nis/nis_table.c: Likewise.
32724 * nis/nss_compat/compat-pwd.c: Likewise.
32725 * nis/nss_compat/compat-spwd.c: Likewise.
32726 * po/Makefile: Likewise.
32727 * posix/fnmatch.c: Likewise.
32728 * posix/regex.h: Likewise.
32729 * resolv/Makefile: Likewise.
32730 * resolv/nss_dns/dns-network.c: Likewise.
32731 * resolv/res_hconf.c: Likewise.
32732 * scripts/gen-sorted.awk: Likewise.
32733 * soft-fp/soft-fp.h: Likewise.
32734 * stdio-common/printf.h: Likewise.
32735 * stdlib/monetary.h: Likewise.
32736 * stdlib/random.c: Likewise.
32737 * stdlib/random_r.c: Likewise.
32738 * sysdeps/generic/Makefile: Likewise.
32739 * sysdeps/gnu/Makefile: Likewise.
32740 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32741 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32742 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32743 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32744 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32745 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32746 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32747 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32748 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32749 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32750 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32751 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32752 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32753 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32754 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
32755 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32756 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32757 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32758 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32759 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32760 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32761 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32762 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32763 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32764 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
32765 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32766 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32767 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
32768 * sysdeps/mach/hurd/errnos.awk: Likewise.
32769 * sysdeps/mach/hurd/fork.c: Likewise.
32770 * sysdeps/mach/hurd/getcwd.c: Likewise.
32771 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
32772 * sysdeps/mach/hurd/mmap.c: Likewise.
32773 * sysdeps/mach/hurd/utimes.c: Likewise.
32774 * sysdeps/mach/hurd/xmknod.c: Likewise.
32775 * sysdeps/posix/profil.c: Likewise.
32776 * sysdeps/posix/readdir_r.c: Likewise.
32777 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32778 * sysdeps/powerpc/bits/setjmp.h: Likewise.
32779 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
32780 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32781 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32782 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32783 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32784 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32785 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32786 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32787 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32788 * sysdeps/pthread/lio_listio.c: Likewise.
32789 * sysdeps/sparc/dl-procinfo.h: Likewise.
32790 * sysdeps/unix/i386/sysdep.S: Likewise.
32791 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
32792 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
32793 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
32794 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
32795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32796 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32797 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32798 * sysdeps/unix/sysv/linux/speed.c: Likewise.
32799 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32800 * sysdeps/wordsize-32/divdi3.c: Likewise.
32801 * time/sys/time.h: Likewise.
32802 * wcsmbs/Makefile: Likewise.
32804 2013-01-01 David S. Miller <davem@davemloft.net>
32806 * po/fr.po: Update from translation team.
32808 * catgets/gencat.c: Update copyright year.
32809 * csu/version.c: Likewise.
32810 * debug/catchsegv.sh: Likewise.
32811 * debug/pcprofiledump.c: Likewise.
32812 * debug/xtrace.sh: Likewise.
32813 * elf/ldconfig.c: Likewise.
32814 * elf/ldd.bash.in: Likewise.
32815 * elf/pldd.c: Likewise.
32816 * elf/sotruss.ksh: Likewise.
32817 * elf/sprof.c: Likewise.
32818 * iconv/iconv_prog.c: Likewise.
32819 * iconv/iconvconfig.c: Likewise.
32820 * locale/programs/locale.c: Likewise.
32821 * locale/programs/localedef.c: Likewise.
32822 * login/programs/pt_chown.c: Likewise.
32823 * malloc/memusage.sh: Likewise.
32824 * malloc/memusagestat.c: Likewise.
32825 * malloc/mtrace.pl: Likewise.
32826 * nscd/nscd.c: Likewise.
32827 * nss/getent.c: Likewise.
32828 * nss/makedb.c: Likewise.
32829 * posix/getconf.c: Likewise.
32831 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32833 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
32836 2012-12-30 Mike Frysinger <vapier@gentoo.org>
32838 * math/bits/mathcalls.h (modf): Use __nonnull.
32840 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32842 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
32843 (split): Use macro CN instead of the bare value.
32844 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
32846 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
32847 instead of the bare value.
32848 (power1): Likewise.
32850 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32852 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
32854 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32856 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
32858 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32859 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32860 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
32861 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32863 2012-12-28 Andreas Jaeger <aj@suse.de>
32865 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
32866 values are from Linux 3.7.
32868 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
32869 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
32871 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32873 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
32876 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
32878 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
32879 variables with preprocessor constants.
32880 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32881 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32882 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32884 2012-12-27 Bruno Haible <bruno@clisp.org>
32887 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
32890 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32892 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
32893 and use variable directly.
32894 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
32896 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32898 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
32899 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32901 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32902 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32903 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
32904 include directive. Remove local variable MPONE.
32905 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
32906 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
32907 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32909 2012-12-25 David S. Miller <davem@davemloft.net>
32911 * version.h (RELEASE): Set to "development".
32912 (VERSION): Set to "2.17.90".
32913 * NEWS: Add 2.18 section.
32915 2012-12-21 David S. Miller <davem@davemloft.net>
32917 * po/hr.po: Update from translation team.
32919 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32921 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
32923 2012-12-19 Steve Ellcey <sellcey@mips.com>
32925 * NEWS: Mention new memcpy for MIPS.
32927 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32929 * manual/contrib.texi (Contributors): Spelling correction.
32931 2012-12-15 David S. Miller <davem@davemloft.net>
32933 * po/ru.po: Update from translation team.
32935 2012-12-13 David S. Miller <davem@davemloft.net>
32937 * NEWS: Mention IFUNC testsuite enhancements.
32939 * po/pl.po: Update from translation team.
32940 * po/bg.po: Likewise.
32942 * manual/contrib.texi (Contributors): Update entries for Hongjiu
32943 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
32945 2012-12-11 David S. Miller <davem@davemloft.net>
32947 * po/sv.po: Update from translation team.
32949 * po/vi.po: Update from translation team.
32951 * po/cs.po: Update from translation team.
32953 * po/de.po: Update from translation team.
32954 * po/eo.po: Likewise.
32955 * po/nl.po: Likewise.
32957 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32960 * manual/argp.texi (Argp Helper Functions): Move node to follow
32961 Argp Parsing State.
32964 * manual/conf.texi (Limits on File System Capacity): Mention if
32965 terminating null is included in the max size.
32967 2012-12-10 Andreas Jaeger <aj@suse.de>
32969 * po/cs.po: Update from translation team.
32971 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
32973 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
32974 void pointer and cast to uintptr_t.
32975 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
32977 * sysdeps/s390/s390-64/memcpy.S: Likewise.
32978 * sysdeps/s390/s390-64/memset.S: Likewise.
32980 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
32983 * menual/message.texi (Message Translation): Fix typos.
32984 (Helper programs for gettext): Likewise.
32986 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
32989 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
32992 2012-12-07 David S. Miller <davem@davemloft.net>
32994 * po/libc.pot: Update.
32996 2012-12-07 Richard Henderson <rth@redhat.com>
32999 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
33000 normal/normal case to before the switch.
33001 (_FP_DIV): Likewise.
33003 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
33004 Mike Frysinger <vapier@gentoo.org>
33006 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
33007 check for __NR_fadvise64_64.
33009 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
33011 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
33012 0, not just to plain "0" as a statement.
33013 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
33016 2012-12-06 Joseph Myers <joseph@codesourcery.com>
33018 * NEWS: Use sourceware.org in Bugzilla URL.
33020 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33023 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33025 * stdio-common/tst-put-error.c (do_test): Add newline to the
33026 padded test to ensure flush.
33028 2012-12-05 Jeff Law <law@redhat.com>
33030 * sunrpc/etc.rpc (fedfs_admin): Add entry.
33032 2012-12-05 Joseph Myers <joseph@codesourcery.com>
33034 * README: Don't refer to ports add-on as distributed separately.
33035 Mention AArch64 in list of systems supported in the ports add-on.
33037 * LICENSES: Add more non-FSF copyright and license notices.
33039 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
33042 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
33044 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
33045 10000 as width of padded output.
33047 2012-12-04 Joseph Myers <joseph@codesourcery.com>
33049 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
33051 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
33052 variable LX with __attribute__ ((unused)).
33053 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33055 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33056 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33057 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
33058 with __attribute__ ((unused)).
33060 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
33062 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
33064 2012-12-04 Joseph Myers <joseph@codesourcery.com>
33066 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
33067 (CFLAGS-nldbl-acos.c): New variable.
33068 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
33069 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
33070 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
33071 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
33072 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
33073 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
33074 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
33075 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
33076 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
33077 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
33078 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
33079 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
33080 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
33081 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
33082 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
33083 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
33084 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
33085 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
33086 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
33087 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
33088 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
33089 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
33090 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
33091 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
33092 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
33093 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
33094 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
33095 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
33096 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
33097 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
33098 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
33099 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
33100 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
33101 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
33102 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
33103 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
33104 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
33105 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
33106 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
33107 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
33108 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
33109 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
33110 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
33111 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
33112 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
33113 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
33114 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
33115 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
33116 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
33117 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
33118 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
33119 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
33120 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
33121 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
33122 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
33123 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
33124 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
33125 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
33126 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
33127 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
33128 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
33129 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
33130 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
33131 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
33132 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
33133 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
33134 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
33135 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
33136 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
33137 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
33138 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
33139 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
33140 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
33141 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
33142 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
33143 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
33144 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
33145 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
33146 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
33147 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
33148 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
33149 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
33150 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
33151 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
33152 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
33153 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
33154 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
33155 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
33156 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
33157 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
33158 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
33159 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
33160 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
33161 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
33162 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
33163 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
33164 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
33166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33167 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33170 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
33171 whole low double instead of just low 47 bits when splitting values
33174 2012-12-03 Allan McRae <allan@archlinux.org>
33176 * manual/stdio.texi (Predefined Printf Handlers): Remove
33177 @hsep and @vsep usage.
33179 2012-12-03 Mike Frysinger <vapier@gentoo.org>
33181 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
33182 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
33184 2012-12-03 Jeff Law <law@redhat.com>
33186 * time/sys/time.h (settimeofday): Do not mark TV argument
33189 2012-12-01 Mike Frysinger <vapier@gentoo.org>
33191 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
33192 when currently writing and seek to current position when not.
33193 * libio/Makefile (tests): Remove bug-fclose1.
33194 * libio/bug-fclose1.c: Delete.
33196 2012-12-01 Joseph Myers <joseph@codesourcery.com>
33198 * manual/arith.texi (feenableexcept): Fix typo.
33199 (fedisableexcept): Likewise.
33201 2012-11-30 Roland McGrath <roland@hack.frob.com>
33203 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
33204 second, differently-typed declaration, rather than a cast.
33206 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33208 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
33209 * include/rpc/svc.h: ... here.
33211 2012-11-30 Aurelien Jarno <aurel32@debian.org>
33214 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
33215 depending n and resplen2 to catch cases where answer
33218 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
33220 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
33221 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
33223 2012-11-29 Mike Frysinger <vapier@gentoo.org>
33225 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
33227 2012-11-29 Roland McGrath <roland@hack.frob.com>
33229 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
33231 2012-11-28 Jeff Law <law@redhat.com>
33234 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
33235 dataset_temporary. Track alloca usage into alloca_used.
33236 If dataset is large allocate and release it via malloc/free.
33238 2012-06-04 Florian Weimer <fweimer@redhat.com>
33241 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
33243 2012-11-28 David S. Miller <davem@davemloft.net>
33245 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33247 2012-11-28 Joseph Myers <joseph@codesourcery.com>
33250 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
33251 of pi/2 rounded to nearest to 64 bits.
33252 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
33253 nearest to 64 bits.
33254 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
33257 2012-11-28 Jeff Law <law@redhat.com>
33258 Martin Osvald <mosvald@redhat.com>
33261 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
33262 * sunrpc/svc.c: Include time.h.
33263 (__svc_accept_failed): New function.
33264 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
33265 any reason other than EINTR, call __svc_accept_failed.
33266 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
33267 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
33269 2012-11-28 Andreas Schwab <schwab@suse.de>
33271 * scripts/abilist.awk: Also handle indirect functions in .opd
33274 2012-11-28 Joseph Myers <joseph@codesourcery.com>
33277 * sysdeps/x86/fpu/powl_helper.c: New file.
33278 * sysdeps/x86/fpu/Makefile: Likewise.
33279 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
33281 (__ieee754_powl): Use __powl_helper for finite arguments except
33282 integer exponents below 8.
33283 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
33285 (__ieee754_powl): Use __powl_helper for finite arguments except
33286 integer exponents below 8.
33287 * math/libm-test.inc (pow_test): Add more tests and enable some
33288 previously disabled tests.
33289 * sysdeps/i386/fpu/libm-test-ulps: Update.
33290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33292 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33293 Carlos O'Donell <carlos_odonell@mentor.com>
33295 * nss/makedb.c (is_prime): Assert that input is odd and greater
33296 than 4. Note that fact in a comment too.
33297 (next_prime): Add 4 to input.
33299 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33302 * libio/Makefile (tests): Add test case tst-fwrite-error.
33303 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
33304 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
33305 * libio/tst-fwrite-error.c: New test case.
33307 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
33309 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
33310 before casting to void *.
33311 * include/libc-internal.h (__pointer_type): New macro.
33312 (__integer_if_pointer_type_sub): Likewise.
33313 (__integer_if_pointer_type): Likewise.
33314 (cast_to_integer): Likewise.
33315 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
33316 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
33317 before casting to atomic64_t.
33318 (atomic_exchange_acq): Likewise.
33319 (__arch_exchange_and_add_body): Likewise.
33320 (__arch_add_body): Likewise.
33321 (atomic_add_negative): Likewise.
33322 (atomic_add_zero): Likewise.
33324 2012-11-26 Joseph Myers <joseph@codesourcery.com>
33326 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
33327 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
33328 (add_fdes): Likewise.
33329 (linear_search_fdes): Likewise.
33330 (binary_search_unencoded_fdes): Likewise.
33332 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
33334 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
33336 2012-11-24 Adam Conrad <adconrad@0c3.net>
33338 * configure.in: Autodetect C++ header directories.
33339 * configure: Regenerated.
33341 2012-11-23 Mike Frysinger <vapier@gentoo.org>
33343 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
33345 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
33347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33349 2012-11-22 Joseph Myers <joseph@codesourcery.com>
33351 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
33352 LDBL_MANT_DIG == 106]: Disable some tests.
33353 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33355 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33359 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
33360 input for small inputs. Return +/- pi/2 for large inputs.
33361 * math/libm-test.inc (atan_test): Add more tests.
33363 * sysdeps/generic/unwind-dw2-fde-glibc.c
33364 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
33365 __attribute__ ((unused)).
33368 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
33369 x * y if x and y are nonzero and z is zero.
33372 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
33373 nonzero exponents with absolute value below 0x1p-117 to +/-
33377 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
33378 up arguments below 2**-450, not just those below 2**-500.
33379 * math/libm-test.inc (hypot_test): Add another test.
33382 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
33383 Return a+b for ratio over 2**120, not 2**60.
33384 * math/libm-test.inc (hypot_test): Add another test.
33386 * math/libm-test.inc (clog_test): Use
33387 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
33388 (clog10_test): Likewise.
33391 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
33393 2012-11-22 Andreas Schwab <schwab@suse.de>
33395 * sysdeps/i386/fpu/libm-test-ulps: Update.
33397 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
33399 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
33400 printf output with newline.
33402 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
33405 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
33406 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
33407 -z nodlopen, -z initfirst and -z execstack support.
33408 * configure: Regenerated.
33410 * elf/elf.h (DF_1_NODIRECT): New macro.
33411 (DF_1_IGNMULDEF): Likewise.
33412 (DF_1_NOKSYMS): Likewise.
33413 (DF_1_NOHDR): Likewise.
33414 (DF_1_EDITED): Likewise.
33415 (DF_1_NORELOC): Likewise.
33416 (DF_1_SYMINTPOSE): Likewise.
33417 (DF_1_GLOBAUDIT): Likewise.
33418 (DF_1_SINGLETON): Likewise.
33419 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
33420 DT_1_SUPPORTED_MASK bits.
33421 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
33423 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
33425 * sysdeps/unix/make-syscalls.sh: Document prefixes.
33427 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
33429 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
33432 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
33433 (sendmmsg): Move declarations...
33434 * socket/sys/socket.h: ... here.
33435 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
33436 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
33438 * socket/recvmmsg.c: ... this new file.
33439 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
33440 (sendmmsg): Rename to __sendmmsg, create weak alias and make
33441 definition of __sendmmsg hidden.
33442 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
33443 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
33444 Move ENOSYS stub into and include it from...
33445 * socket/sendmmsg.c: ... this new file.
33446 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
33447 (sysdep_routines): Move recvmmsg and sendmmsg...
33448 * socket/Makefile (routines): ... here.
33449 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
33450 (GLIBC_PRIVATE): Add __sendmmsg.
33451 * include/sys/socket.h (__sendmmsg): Add declarations.
33452 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
33455 2012-11-20 Joseph Myers <joseph@codesourcery.com>
33457 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
33458 variable I1 with __attribute__ ((unused)).
33459 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33461 2012-11-19 Joseph Myers <joseph@codesourcery.com>
33463 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
33464 DUMMY variables with __attribute__ ((unused)).
33466 * bits/byteswap.h: Include <bits/types.h>.
33467 (__bswap_64): Use __uint64_t instead of unsigned long long int.
33469 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
33471 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
33472 string_t. Do not manually set errno.
33473 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
33474 length with __strnlen. Make sure to both set errno and return it on
33477 2012-11-19 David S. Miller <davem@davemloft.net>
33479 With help from Joseph Myers.
33480 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
33481 very large arguments properly.
33482 * math/libm-test.inc (atan_test): New tests.
33483 (atan2_test): New tests.
33484 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33485 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33487 2012-11-19 Joseph Myers <joseph@codesourcery.com>
33490 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
33493 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
33494 [POSIX] (EADDRNOTAVAIL): Likewise.
33495 [POSIX] (EAFNOSUPPORT): Likewise.
33496 [POSIX] (EALREADY): Likewise.
33497 [POSIX] (ECONNABORTED): Likewise.
33498 [POSIX] (ECONNREFUSED): Likewise.
33499 [POSIX] (ECONNRESET): Likewise.
33500 [POSIX] (EDESTADDRREQ): Likewise.
33501 [POSIX] (EDQUOT): Likewise.
33502 [POSIX] (EHOSTUNREACH): Likewise.
33503 [POSIX] (EIDRM): Likewise.
33504 [POSIX] (EISCONN): Likewise.
33505 [POSIX] (ELOOP): Likewise.
33506 [POSIX] (EMULTIHOP): Likewise.
33507 [POSIX] (ENETDOWN): Likewise.
33508 [POSIX] (ENETUNREACH): Likewise.
33509 [POSIX] (ENOBUFS): Likewise.
33510 [POSIX] (ENODATA): Likewise.
33511 [POSIX] (ENOLINK): Likewise.
33512 [POSIX] (ENOMSG): Likewise.
33513 [POSIX] (ENOPROTOOPT): Likewise.
33514 [POSIX] (ENOSR): Likewise.
33515 [POSIX] (ENOSTR): Likewise.
33516 [POSIX] (ENOTCONN): Likewise.
33517 [POSIX] (ENOTSOCK): Likewise.
33518 [POSIX] (EOPNOTSUPP): Likewise.
33519 [POSIX] (EOVERFLOW): Likewise.
33520 [POSIX] (EPROTO): Likewise.
33521 [POSIX] (EPROTONOSUPPORT): Likewise.
33522 [POSIX] (EPROTOTYPE): Likewise.
33523 [POSIX] (ESTALE): Likewise.
33524 [POSIX] (ETIME): Likewise.
33525 [POSIX] (ETXTBSY): Likewise.
33526 [POSIX] (EWOULDBLOCK): Likewise.
33527 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
33528 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
33529 [POSIX] (SEEK_CUR): Likewise.
33530 [POSIX] (SEEK_END): Likewise.
33531 [POSIX || UNIX98] (mode_t): Do not require.
33532 [POSIX] (off_t): Likewise.
33533 [POSIX] (pid_t): Likewise.
33534 [POSIX] (sys/stat.h): Do not allow header.
33535 [POSIX] (unistd.h): Likewise.
33536 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
33537 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
33538 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
33539 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
33541 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
33542 sigevent): Specify elements.
33543 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
33545 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
33546 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
33548 * conform/data/cpio.h-data [POSIX]: Disable whole file.
33549 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
33550 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
33551 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
33552 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
33553 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
33554 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
33555 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
33556 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
33557 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
33558 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
33559 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
33560 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
33561 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
33563 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
33565 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
33567 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
33569 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
33570 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
33571 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
33572 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
33573 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
33574 Specify lower bound on value.
33575 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
33576 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
33577 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
33578 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
33579 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
33580 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
33581 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
33582 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
33584 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
33586 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
33587 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
33588 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
33589 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
33590 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
33591 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
33592 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
33593 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
33594 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
33595 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
33596 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
33597 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
33598 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
33599 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
33600 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
33601 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
33603 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
33605 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
33606 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
33607 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
33608 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
33609 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
33610 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
33612 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
33613 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
33614 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
33615 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
33616 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
33617 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
33618 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
33620 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
33621 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
33622 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
33623 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
33624 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
33625 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
33626 specify as optional.
33627 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
33628 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
33629 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
33630 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
33631 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
33632 [XPG3] (NL_LANGMAX): Likewise.
33633 [POSIX || XPG3] (NL_MSGMAX): Likewise.
33634 [POSIX || XPG3] (NL_NMAX): Likewise.
33635 [POSIX || XPG3] (NL_SETMAX): Likewise.
33636 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
33637 [XPG3] (NZERO): Likewise.
33638 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
33639 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
33640 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
33641 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
33642 (REG_ERANGE): Expect.
33643 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
33645 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
33646 Use (void) in prototype.
33647 [POSIX] (*_t): Allow.
33648 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
33649 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
33650 (WRDE_BADVAL): Expect.
33652 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
33654 [XPG3 || XPG4] (O_RSYNC): Likewise.
33655 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
33657 [XPG3 || XPG4] (pthread_sigmask): Likewise.
33658 [XPG3 || XPG4] (sigqueue): Likewise.
33659 [XPG3 || XPG4] (sigtimedwait): Likewise.
33660 [XPG3 || XPG4] (sigwaitinfo): Likewise.
33661 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
33662 [XPG3 || XPG4] (vsnprintf): Likewise.
33663 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
33665 [XPG3 || XPG4] (blksize_t): Likewise.
33666 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
33668 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
33669 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
33670 [XPG3 || XPG4] (struct itimerspec): Likewise.
33671 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
33672 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
33673 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
33674 [XPG3 || XPG4] (clockid_t): Likewise.
33675 [XPG3 || XPG4] (timer_t): Likewise.
33676 [XPG3 || XPG4] (clock_getres): Likewise.
33677 [XPG3 || XPG4] (clock_gettime): Likewise.
33678 [XPG3 || XPG4] (clock_settime): Likewise.
33679 [XPG3 || XPG4] (nanosleep): Likewise.
33680 [XPG3 || XPG4] (timer_create): Likewise.
33681 [XPG3 || XPG4] (timer_delete): Likewise.
33682 [XPG3 || XPG4] (timer_gettime): Likewise.
33683 [XPG3 || XPG4] (timer_getoverrun): Likewise.
33684 [XPG3 || XPG4] (timer_settime): Likewise.
33685 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
33686 [XPG3 || XPG4] (getlogin_r): Likewise.
33687 [XPG3 || XPG4] (pread): Likewise.
33688 [XPG3 || XPG4] (pthread_atfork): Likewise.
33689 [XPG3 || XPG4] (pwrite): Likewise.
33692 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
33695 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
33697 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
33698 finalizing MALLSTREAM.
33700 * sysdeps/mach/hurd/syncfs.c: New file.
33702 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33705 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
33706 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
33707 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
33708 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
33709 (_nss_dns_gethostbyname4_r): Likewise.
33710 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
33711 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
33713 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
33716 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
33718 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
33720 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
33721 * elf/cache.c (print_entry): Print ",AArch64" for
33724 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
33725 * elf/cache.c (print_entry): Print ",hard-float" for
33728 2012-11-18 David S. Miller <davem@davemloft.net>
33730 With help from Joseph Myers.
33731 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
33733 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
33735 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
33736 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
33738 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
33739 * math/libm-test.inc (y0_test): New tests.
33740 (y1_test): New tests.
33741 * sysdeps/i386/fpu/libm-test-ulps: Update.
33742 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33743 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33745 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
33747 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
33749 * configure: Regenerated.
33751 2012-11-17 David S. Miller <davem@davemloft.net>
33754 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
33755 nonzero exponents with absolute value below 0x1p-128 to +/-
33758 2012-11-17 Joseph Myers <joseph@codesourcery.com>
33760 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
33762 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
33764 * posix/getconf-speclist.c: New file.
33765 * posix/posix-envs.def: Likewise.
33766 * posix/confstr.c (START_ENV_GROUP): New macro.
33767 (END_ENV_GROUP): Likewise.
33768 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33769 (KNOWN_PRESENT_ENV_STRING): Likewise.
33770 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33771 (UNKNOWN_ENVIRONMENT): Likewise.
33772 (confstr): Include posix-envs.def instead of handling
33773 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
33774 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
33775 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
33776 (END_ENV_GROUP): Likewise.
33777 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33778 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33779 (UNKNOWN_ENVIRONMENT): Likewise.
33780 (__sysconf): Include posix-envs.def instead of handling associated
33781 cases directly here.
33782 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
33783 preprocessing getconf-speclist.c rather than running getconf or
33784 generating empty file.
33786 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
33788 * scripts/check-local-headers.sh: Ignore 'mach' headers.
33790 2012-11-16 Andrej Lajovic <natrij@gmail.com>
33793 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
33795 2012-11-16 David S. Miller <davem@davemloft.net>
33797 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
33798 smaller than LDBL_EPSILON/2.0L, just return xm1.
33800 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
33802 * elf/tst-array1.c (init): Set constructor priority to 1000.
33803 (fini): Set destructor priority to 1000.
33804 * elf/tst-array2dep.c: Likewise.
33806 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33809 * libio/fileops.c (_IO_new_file_write): Correctly return error.
33810 (_IO_new_file_xsputn): Also return EOF if none of the input
33811 data was written when overflow failed.
33812 * libio/iopadn.c (_IO_padn): Likewise.
33813 * libio/iowpadn.c (_IO_wpadn): Likewise.
33814 * stdio-common/tst-put-error.c: Add copyright notice.
33815 (do_test): Add case for printing padded string.
33816 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
33817 _IO_padn returned error.
33818 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
33819 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
33822 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33824 * libio/libioP.h: Add comment note that the references to C++
33825 bits are now obsolete.
33827 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33829 * math/libm-test.inc (check_complex): Use asprintf.
33831 2012-11-14 Joseph Myers <joseph@codesourcery.com>
33833 * debug/pcprofiledump.c (print_version): Update copyright year.
33834 * malloc/memusagestat.c (print_version): Likewise.
33836 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
33839 * elf/Makefile (tests): Add tst-audit8.
33840 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
33841 ($(objpfx)tst-audit8.out): New target.
33842 (tst-audit8-ENV): New variable.
33843 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
33844 audit if l_reloc_result is NULL.
33845 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
33846 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
33847 * elf/tst-audit8.c: New file.
33849 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33851 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
33852 * misc/Makefile (CFLAGS-select.c): Define.
33853 * posix/Makefile (CFLAGS-pause.c): Define.
33855 2012-11-13 David S. Miller <davem@davemloft.net>
33857 * crypt/Makefile: Move test targets after toplevel Rules
33858 inclusion. Grab any necessary sysdep routines when linking.
33859 * crypt/md5.c (md5_process_block): Remove define, we will always
33860 name it __md5_process_block.
33861 (md5_finish_ctx): Update md5_process_block call.
33862 (md5_stream): Likewise.
33863 (md5_process_bytes): Likewise.
33864 (md5_process_block): Rename to __md5_process_block and move to ...
33865 * crypt/md5-block.c: ... here.
33866 * crypt/sha256.c (sha256_process_block): Move to ...
33867 * crypt/sha256-block.c: ... here.
33868 * crypt/sha512.c (sha512_process_block): Move to ...
33869 * crypt/sha512-block.c: ... here.
33870 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
33872 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
33873 * sysdeps/sparc/sparc64/multiarch/Makefile
33874 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
33876 (localedef-aux): Add md5 crypto assembler when in locale subdir.
33877 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
33879 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
33880 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
33881 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
33882 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
33883 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
33884 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
33885 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
33886 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
33887 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
33889 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
33890 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
33892 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
33894 2012-11-13 Joseph Myers <joseph@codesourcery.com>
33896 * timezone/tzselect.ksh: Update from tzcode git revision
33897 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
33898 * timezone/zdump.c: Likewise.
33899 * timezone/zic.c: Likewise.
33900 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
33901 in TZVERSION setting, not $(PKGVERSION).
33902 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
33903 REPORT_BUGS_TO settings.
33906 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
33909 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33911 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
33912 detection to immediately after _FP_ROUND().
33913 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
33916 2012-11-11 David S. Miller <davem@davemloft.net>
33918 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
33920 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
33921 __close rather than their public counterparts.
33923 2012-11-10 Joseph Myers <joseph@codesourcery.com>
33925 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
33927 [UNIX98] (sem_timedwait): Do not expect.
33928 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
33929 [XPG4 || UNIX98] (sockatmark): Do not expect.
33930 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
33931 (clock_getcpuclockid): Do not expect.
33932 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
33933 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
33935 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
33936 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
33937 [UNIX98] (vwscanf): Likewise.
33938 [UNIX98] (vswscanf): Likewise.
33940 2012-11-09 Joseph Myers <joseph@codesourcery.com>
33942 * timezone/version.h: Remove file.
33943 * timezone/README: Do not refer to version.h.
33944 * timezone/Makefile ($(objpfx)zic.o): New dependency on
33945 $(objpfx)version.h.
33946 ($(objpfx)zdump.o): Likewise.
33947 ($(objpfx)version.h): New target.
33949 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
33951 * timezone/README: Don't mention modification to tzselect.ksh.
33952 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
33953 work on unmodified tzselect.ksh. Substitute version numbers in
33956 * Makefile (format-me): Remove.
33957 (INSTALL): Adjust indentation. Use commands directly instead of
33958 using $(format-me).
33960 * aclocal.m4 (ACX_PKGVERSION): New macro.
33961 (ACX_BUGURL): Likewise.
33962 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
33963 (PKGVERSION): New AC_DEFINE_UNQUOTED.
33964 (REPORT_BUGS_TO): Likewise.
33965 * configure: Regenerated.
33966 * config.h.in (PKGVERSION): New macro.
33967 (REPORT_BUGS_TO): Likewise.
33968 * config.make.in (PKGVERSION): New variable.
33969 (PKGVERSION_TEXI): Likewise.
33970 (REPORT_BUGS_TO): Likewise.
33971 (REPORT_BUGS_TEXI): Likewise.
33972 * Makefile (format-me): Use -I$(common-objpfx)manual.
33973 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
33974 ($(common-objpfx)manual/%): New target.
33975 (manual/%): Remove target.
33976 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
33977 (print_version): Use PKGVERSION.
33978 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
33979 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
33980 and REPORT_BUGS_TO.
33981 ($(objpfx)xtrace): Likewise.
33982 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
33983 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
33984 (print_version): Use PKGVERSION.
33985 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
33986 (do_version): Use PKGVERSION.
33987 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
33989 (common-ldd-rewrite): Likewise.
33990 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
33991 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
33992 (print_version): Use PKGVERSION.
33993 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
33994 * elf/pldd.c (argp_program_bug_address): Remove variable.
33995 (more_help): New function.
33996 (argp): Use more_help.
33997 (print_version): Use PKGVERSION.
33998 * elf/sln.c (main): Use PKGVERSION.
33999 (usage): Use REPORT_BUGS_TO.
34000 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
34001 (top level): Use PKGVERSION.
34002 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
34003 (print_version): Use PKGVERSION.
34004 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
34005 (print_version): Use PKGVERSION.
34006 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
34007 (print_version): Use PKGVERSION.
34008 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
34009 (print_version): Use PKGVERSION.
34010 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
34011 (print_version): Use PKGVERSION.
34012 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
34013 (print_version): Use PKGVERSION.
34014 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
34016 ($(objpfx)memusage): Likewise.
34017 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
34018 (do_version): Use PKGVERSION.
34019 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
34020 (print_version): Use PKGVERSION.
34021 * malloc/mtrace.pl ($PACKAGE): Remove variable.
34022 ($PKGVERSION): New variable.
34023 ($REPORT_BUGS_TO): Likewise.
34024 (usage): Use $REPORT_BUGS_TO.
34025 (top level): Use $PKGVERSION.
34026 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
34027 ($(objpfx)pkgvers.texi): New rule.
34028 ($(objpfx)stamp-pkgvers): Likewise.
34029 * manual/install.texi: Include pkgvers.texi.
34030 (--with-pkgversion): Document new configure option.
34031 (--with-bugurl): Likewise.
34032 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
34033 than necessarily for this particular distribution. Use
34034 REPORT_BUGS_TO for where to report bugs.
34035 * INSTALL: Regenerated.
34036 * manual/libc.texinfo: Include pkgvers.texi.
34037 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
34038 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
34039 (print_version): Use PKGVERSION.
34040 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
34041 (print_version): Use PKGVERSION.
34042 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
34043 (print_version): Use PKGVERSION.
34044 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
34045 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
34047 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
34048 (print_version): Use PKGVERSION.
34049 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
34050 (print_version): Use PKGVERSION.
34051 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
34054 * timezone/checktab.awk: Update from tzcode 2012i.
34055 * timezone/ialloc.c: Likewise.
34056 * timezone/private.h: Likewise.
34057 * timezone/scheck.c: Likewise.
34058 * timezone/tzfile.h: Likewise.
34059 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
34060 (TZVERSION): Hardcode tzcode version number.
34061 * timezone/zdump.c: Update from tzcode 2012i.
34062 * timezone/zic.c: Likewise.
34063 * timezone/version.h: New file.
34064 * timezone/README: Describe version.h. Update upstream location.
34067 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
34068 (mktemp): Enable declaration.
34069 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
34070 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
34071 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
34072 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
34074 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
34076 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
34078 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
34080 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
34082 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
34086 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
34087 offset in buffer as u_int32_t not u_long. Consistently use memcpy
34088 for copies of such integer values.
34089 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34090 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34092 2012-11-09 Andreas Jaeger <aj@suse.de>
34094 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
34095 definitions and declarations that are provided by
34096 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34098 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34100 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
34101 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
34102 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
34105 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34107 * elf/elf.h: Update comment before AArch64 relocations.
34109 2012-11-07 David S. Miller <davem@davemloft.net>
34111 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
34112 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34113 (__start_context): Declare.
34114 (__makecontext_ret): Delete.
34115 (__makecontext): Hook up __start_context instead of
34117 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
34118 (sysdep_routines): Add __start_context when in stdlib.
34120 2012-11-07 Joseph Myers <joseph@codesourcery.com>
34122 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
34123 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
34124 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
34126 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
34127 (READELF): New variable. Use it instead of hardcoded "readelf".
34129 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
34131 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
34132 * sysdeps/x86/Makefile: Here.
34133 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
34134 * sysdeps/x86/tst-xmmymm.sh: This.
34136 2012-11-07 Joseph Myers <joseph@codesourcery.com>
34138 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
34140 [UNIX98] (pthread_barrier_t): Do not expect.
34141 [UNIX98] (pthread_barrierattr_t): Likewise.
34142 [UNIX98] (pthread_spinlock_t): Likewise.
34143 [UNIX98] (pthread_barrier_destroy): Likewise.
34144 [UNIX98] (pthread_barrier_init): Likewise.
34145 [UNIX98] (pthread_barrier_wait): Likewise.
34146 [UNIX98] (pthread_barrierattr_destroy): Likewise.
34147 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
34148 [UNIX98] (pthread_barrierattr_init): Likewise.
34149 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
34150 [UNIX98] (pthread_getcpuclockid): Likewise.
34151 [UNIX98] (pthread_mutex_timedlock): Likewise.
34152 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
34153 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
34154 [UNIX98] (pthread_sigmask): Likewise.
34155 [UNIX98] (pthread_spin_destroy): Likewise.
34156 [UNIX98] (pthread_spin_init): Likewise.
34157 [UNIX98] (pthread_spin_lock): Likewise.
34158 [UNIX98] (pthread_spin_trylock): Likewise.
34159 [UNIX98] (pthread_spin_unlock): Likewise.
34160 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
34162 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
34163 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
34164 [XPG3 || XPG4] (pthread_cond_t): Likewise.
34165 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
34166 [XPG3 || XPG4] (pthread_key_t): Likewise.
34167 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
34168 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
34169 [XPG3 || XPG4] (pthread_once_t): Likewise.
34170 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
34171 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
34172 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
34173 [XPG3 || XPG4] (pthread_t): Likewise.
34175 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
34177 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
34179 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
34180 Change function return type to int.
34182 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
34183 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
34184 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
34185 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
34186 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
34187 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
34188 [!POSIX] (posix_madvise): Likewise.
34189 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
34191 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
34192 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
34193 (mode_t): Likewise.
34194 (posix_mem_offset): Likewise.
34195 (posix_typed_mem_get_info): Likewise.
34196 (posix_typed_mem_open): Likewise.
34198 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
34199 Change condition to [XOPEN2K8].
34201 * conform/conformtest.pl: Preprocess allow-header data with -x c
34202 instead of from stdin.
34203 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
34204 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
34205 [C99-based standards] (cerfc): Likewise.
34206 [C99-based standards] (cexp2): Likewise.
34207 [C99-based standards] (cexpm1): Likewise.
34208 [C99-based standards] (clog10): Likewise.
34209 [C99-based standards] (clog1p): Likewise.
34210 [C99-based standards] (clog2): Likewise.
34211 [C99-based standards] (clgamma): Likewise.
34212 [C99-based standards] (ctgamma): Likewise.
34213 [C99-based standards] (cerff): Likewise.
34214 [C99-based standards] (cerfcf): Likewise.
34215 [C99-based standards] (cexp2f): Likewise.
34216 [C99-based standards] (cexpm1f): Likewise.
34217 [C99-based standards] (clog10f): Likewise.
34218 [C99-based standards] (clog1pf): Likewise.
34219 [C99-based standards] (clog2f): Likewise.
34220 [C99-based standards] (clgammaf): Likewise.
34221 [C99-based standards] (ctgammaf): Likewise.
34222 [C99-based standards] (cerfl): Likewise.
34223 [C99-based standards] (cerfcl): Likewise.
34224 [C99-based standards] (cexp2l): Likewise.
34225 [C99-based standards] (cexpm1l): Likewise.
34226 [C99-based standards] (clog10l): Likewise.
34227 [C99-based standards] (clog1pl): Likewise.
34228 [C99-based standards] (clog2l): Likewise.
34229 [C99-based standards] (clgammal): Likewise.
34230 [C99-based standards] (ctgammal): Likewise.
34231 * conform/data/inttypes.h-data [C99-based standards]: Include
34232 stdint.h-data. Remove all expectations for stdint.h contents.
34233 [C99-based standards] (PRI*): Do not allow.
34234 [C99-based standards] (SCN*): Likewise.
34235 [C99-based standards] (*_t): Likewise.
34236 [C99-based-standards] (PRId8): Expect macro.
34237 [C99-based-standards] (PRIi8): Likewise.
34238 [C99-based-standards] (PRIo8): Likewise.
34239 [C99-based-standards] (PRIu8): Likewise.
34240 [C99-based-standards] (PRIx8): Likewise.
34241 [C99-based-standards] (PRIX8): Likewise.
34242 [C99-based-standards] (SCNd8): Likewise.
34243 [C99-based-standards] (SCNi8): Likewise.
34244 [C99-based-standards] (SCNo8): Likewise.
34245 [C99-based-standards] (SCNu8): Likewise.
34246 [C99-based-standards] (SCNx8): Likewise.
34247 [C99-based-standards] (PRIdLEAST8): Likewise.
34248 [C99-based-standards] (PRIiLEAST8): Likewise.
34249 [C99-based-standards] (PRIoLEAST8): Likewise.
34250 [C99-based-standards] (PRIuLEAST8): Likewise.
34251 [C99-based-standards] (PRIxLEAST8): Likewise.
34252 [C99-based-standards] (PRIXLEAST8): Likewise.
34253 [C99-based-standards] (SCNdLEAST8): Likewise.
34254 [C99-based-standards] (SCNiLEAST8): Likewise.
34255 [C99-based-standards] (SCNoLEAST8): Likewise.
34256 [C99-based-standards] (SCNuLEAST8): Likewise.
34257 [C99-based-standards] (SCNxLEAST8): Likewise.
34258 [C99-based-standards] (PRIdFAST8): Likewise.
34259 [C99-based-standards] (PRIiFAST8): Likewise.
34260 [C99-based-standards] (PRIoFAST8): Likewise.
34261 [C99-based-standards] (PRIuFAST8): Likewise.
34262 [C99-based-standards] (PRIxFAST8): Likewise.
34263 [C99-based-standards] (PRIXFAST8): Likewise.
34264 [C99-based-standards] (SCNdFAST8): Likewise.
34265 [C99-based-standards] (SCNiFAST8): Likewise.
34266 [C99-based-standards] (SCNoFAST8): Likewise.
34267 [C99-based-standards] (SCNuFAST8): Likewise.
34268 [C99-based-standards] (SCNxFAST8): Likewise.
34269 [C99-based-standards] (PRId16): Likewise.
34270 [C99-based-standards] (PRIi16): Likewise.
34271 [C99-based-standards] (PRIo16): Likewise.
34272 [C99-based-standards] (PRIu16): Likewise.
34273 [C99-based-standards] (PRIx16): Likewise.
34274 [C99-based-standards] (PRIX16): Likewise.
34275 [C99-based-standards] (SCNd16): Likewise.
34276 [C99-based-standards] (SCNi16): Likewise.
34277 [C99-based-standards] (SCNo16): Likewise.
34278 [C99-based-standards] (SCNu16): Likewise.
34279 [C99-based-standards] (SCNx16): Likewise.
34280 [C99-based-standards] (PRIdLEAST16): Likewise.
34281 [C99-based-standards] (PRIiLEAST16): Likewise.
34282 [C99-based-standards] (PRIoLEAST16): Likewise.
34283 [C99-based-standards] (PRIuLEAST16): Likewise.
34284 [C99-based-standards] (PRIxLEAST16): Likewise.
34285 [C99-based-standards] (PRIXLEAST16): Likewise.
34286 [C99-based-standards] (SCNdLEAST16): Likewise.
34287 [C99-based-standards] (SCNiLEAST16): Likewise.
34288 [C99-based-standards] (SCNoLEAST16): Likewise.
34289 [C99-based-standards] (SCNuLEAST16): Likewise.
34290 [C99-based-standards] (SCNxLEAST16): Likewise.
34291 [C99-based-standards] (PRIdFAST16): Likewise.
34292 [C99-based-standards] (PRIiFAST16): Likewise.
34293 [C99-based-standards] (PRIoFAST16): Likewise.
34294 [C99-based-standards] (PRIuFAST16): Likewise.
34295 [C99-based-standards] (PRIxFAST16): Likewise.
34296 [C99-based-standards] (PRIXFAST16): Likewise.
34297 [C99-based-standards] (SCNdFAST16): Likewise.
34298 [C99-based-standards] (SCNiFAST16): Likewise.
34299 [C99-based-standards] (SCNoFAST16): Likewise.
34300 [C99-based-standards] (SCNuFAST16): Likewise.
34301 [C99-based-standards] (SCNxFAST16): Likewise.
34302 [C99-based-standards] (PRId32): Likewise.
34303 [C99-based-standards] (PRIi32): Likewise.
34304 [C99-based-standards] (PRIo32): Likewise.
34305 [C99-based-standards] (PRIu32): Likewise.
34306 [C99-based-standards] (PRIx32): Likewise.
34307 [C99-based-standards] (PRIX32): Likewise.
34308 [C99-based-standards] (SCNd32): Likewise.
34309 [C99-based-standards] (SCNi32): Likewise.
34310 [C99-based-standards] (SCNo32): Likewise.
34311 [C99-based-standards] (SCNu32): Likewise.
34312 [C99-based-standards] (SCNx32): Likewise.
34313 [C99-based-standards] (PRIdLEAST32): Likewise.
34314 [C99-based-standards] (PRIiLEAST32): Likewise.
34315 [C99-based-standards] (PRIoLEAST32): Likewise.
34316 [C99-based-standards] (PRIuLEAST32): Likewise.
34317 [C99-based-standards] (PRIxLEAST32): Likewise.
34318 [C99-based-standards] (PRIXLEAST32): Likewise.
34319 [C99-based-standards] (SCNdLEAST32): Likewise.
34320 [C99-based-standards] (SCNiLEAST32): Likewise.
34321 [C99-based-standards] (SCNoLEAST32): Likewise.
34322 [C99-based-standards] (SCNuLEAST32): Likewise.
34323 [C99-based-standards] (SCNxLEAST32): Likewise.
34324 [C99-based-standards] (PRIdFAST32): Likewise.
34325 [C99-based-standards] (PRIiFAST32): Likewise.
34326 [C99-based-standards] (PRIoFAST32): Likewise.
34327 [C99-based-standards] (PRIuFAST32): Likewise.
34328 [C99-based-standards] (PRIxFAST32): Likewise.
34329 [C99-based-standards] (PRIXFAST32): Likewise.
34330 [C99-based-standards] (SCNdFAST32): Likewise.
34331 [C99-based-standards] (SCNiFAST32): Likewise.
34332 [C99-based-standards] (SCNoFAST32): Likewise.
34333 [C99-based-standards] (SCNuFAST32): Likewise.
34334 [C99-based-standards] (SCNxFAST32): Likewise.
34335 [C99-based-standards] (PRId64): Likewise.
34336 [C99-based-standards] (PRIi64): Likewise.
34337 [C99-based-standards] (PRIo64): Likewise.
34338 [C99-based-standards] (PRIu64): Likewise.
34339 [C99-based-standards] (PRIx64): Likewise.
34340 [C99-based-standards] (PRIX64): Likewise.
34341 [C99-based-standards] (SCNd64): Likewise.
34342 [C99-based-standards] (SCNi64): Likewise.
34343 [C99-based-standards] (SCNo64): Likewise.
34344 [C99-based-standards] (SCNu64): Likewise.
34345 [C99-based-standards] (SCNx64): Likewise.
34346 [C99-based-standards] (PRIdLEAST64): Likewise.
34347 [C99-based-standards] (PRIiLEAST64): Likewise.
34348 [C99-based-standards] (PRIoLEAST64): Likewise.
34349 [C99-based-standards] (PRIuLEAST64): Likewise.
34350 [C99-based-standards] (PRIxLEAST64): Likewise.
34351 [C99-based-standards] (PRIXLEAST64): Likewise.
34352 [C99-based-standards] (SCNdLEAST64): Likewise.
34353 [C99-based-standards] (SCNiLEAST64): Likewise.
34354 [C99-based-standards] (SCNoLEAST64): Likewise.
34355 [C99-based-standards] (SCNuLEAST64): Likewise.
34356 [C99-based-standards] (SCNxLEAST64): Likewise.
34357 [C99-based-standards] (PRIdFAST64): Likewise.
34358 [C99-based-standards] (PRIiFAST64): Likewise.
34359 [C99-based-standards] (PRIoFAST64): Likewise.
34360 [C99-based-standards] (PRIuFAST64): Likewise.
34361 [C99-based-standards] (PRIxFAST64): Likewise.
34362 [C99-based-standards] (PRIXFAST64): Likewise.
34363 [C99-based-standards] (SCNdFAST64): Likewise.
34364 [C99-based-standards] (SCNiFAST64): Likewise.
34365 [C99-based-standards] (SCNoFAST64): Likewise.
34366 [C99-based-standards] (SCNuFAST64): Likewise.
34367 [C99-based-standards] (SCNxFAST64): Likewise.
34368 [C99-based-standards] (PRIdMAX): Likewise.
34369 [C99-based-standards] (PRIiMAX): Likewise.
34370 [C99-based-standards] (PRIoMAX): Likewise.
34371 [C99-based-standards] (PRIuMAX): Likewise.
34372 [C99-based-standards] (PRIxMAX): Likewise.
34373 [C99-based-standards] (PRIXMAX): Likewise.
34374 [C99-based-standards] (SCNdMAX): Likewise.
34375 [C99-based-standards] (SCNiMAX): Likewise.
34376 [C99-based-standards] (SCNoMAX): Likewise.
34377 [C99-based-standards] (SCNuMAX): Likewise.
34378 [C99-based-standards] (SCNxMAX): Likewise.
34379 [C99-based-standards] (PRIdPTR): Likewise.
34380 [C99-based-standards] (PRIiPTR): Likewise.
34381 [C99-based-standards] (PRIoPTR): Likewise.
34382 [C99-based-standards] (PRIuPTR): Likewise.
34383 [C99-based-standards] (PRIxPTR): Likewise.
34384 [C99-based-standards] (PRIXPTR): Likewise.
34385 [C99-based-standards] (SCNdPTR): Likewise.
34386 [C99-based-standards] (SCNiPTR): Likewise.
34387 [C99-based-standards] (SCNoPTR): Likewise.
34388 [C99-based-standards] (SCNuPTR): Likewise.
34389 [C99-based-standards] (SCNxPTR): Likewise.
34390 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
34392 * conform/data/stdint.h-data: Update comments to clarify
34394 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
34396 [C99-based standards] (INT8_MAX): Likewise.
34397 [C99-based standards] (INT16_MIN): Likewise.
34398 [C99-based standards] (INT16_MAX): Likewise.
34399 [C99-based standards] (INT32_MIN): Likewise.
34400 [C99-based standards] (INT32_MAX): Likewise.
34401 [C99-based standards] (INT64_MIN): Likewise.
34402 [C99-based standards] (INT64_MAX): Likewise.
34403 [C99-based standards] (UINT8_MAX): Likewise.
34404 [C99-based standards] (UINT16_MAX): Likewise.
34405 [C99-based standards] (UINT32_MAX): Likewise.
34406 [C99-based standards] (UINT64_MAX): Likewise.
34407 [C99-based standards] (INT_LEAST8_MIN): Likewise.
34408 [C99-based standards] (INT_LEAST8_MAX): Likewise.
34409 [C99-based standards] (INT_LEAST16_MIN): Likewise.
34410 [C99-based standards] (INT_LEAST16_MAX): Likewise.
34411 [C99-based standards] (INT_LEAST32_MIN): Likewise.
34412 [C99-based standards] (INT_LEAST32_MAX): Likewise.
34413 [C99-based standards] (INT_LEAST64_MIN): Likewise.
34414 [C99-based standards] (INT_LEAST64_MAX): Likewise.
34415 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
34416 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
34417 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
34418 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
34419 [C99-based standards] (INT_FAST8_MIN): Likewise.
34420 [C99-based standards] (INT_FAST8_MAX): Likewise.
34421 [C99-based standards] (INT_FAST16_MIN): Likewise.
34422 [C99-based standards] (INT_FAST16_MAX): Likewise.
34423 [C99-based standards] (INT_FAST32_MIN): Likewise.
34424 [C99-based standards] (INT_FAST32_MAX): Likewise.
34425 [C99-based standards] (INT_FAST64_MIN): Likewise.
34426 [C99-based standards] (INT_FAST64_MAX): Likewise.
34427 [C99-based standards] (UINT_FAST8_MAX): Likewise.
34428 [C99-based standards] (UINT_FAST16_MAX): Likewise.
34429 [C99-based standards] (UINT_FAST32_MAX): Likewise.
34430 [C99-based standards] (UINT_FAST64_MAX): Likewise.
34431 [C99-based standards] (INTPTR_MIN): Likewise.
34432 [C99-based standards] (INTPTR_MAX): Likewise.
34433 [C99-based standards] (UINTPTR_MAX): Likewise.
34434 [C99-based standards] (INTMAX_MIN): Likewise.
34435 [C99-based standards] (INTMAX_MAX): Likewise.
34436 [C99-based standards] (UINTMAX_MAX): Likewise.
34437 [C99-based standards] (PTRDIFF_MIN): Likewise.
34438 [C99-based standards] (PTRDIFF_MAX): Likewise.
34439 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
34440 [C99-based standards] (SIZE_MAX): Likewise.
34441 [C99-based standards] (WCHAR_MAX): Likewise.
34442 [C99-based standards] (WINT_MAX): Likewise.
34443 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
34444 constraint on value.
34445 [C99-based standards] (WCHAR_MIN): Likewise.
34446 [C99-based standards] (WINT_MIN): Likewise.
34447 [C99-based standards] (*_t): Allow.
34448 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
34449 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
34450 Include math.h-data and complex.h-data. Remove all expectations
34451 of math.h and complex.h contents.
34452 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
34454 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
34455 (struct tm): Expect tag.
34456 [C99-based-standards] (wcstof): Expect function.
34457 [C99-based-standards] (wcstold): Likewise.
34458 [C99-based-standards] (wcstoll): Likewise.
34459 [C99-based-standards] (wcstoull): Likewise.
34460 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
34461 macro-int-constant. Specify type.
34462 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
34463 constraint on value.
34464 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34466 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
34468 [ISO C standards]: Do not allow headers.
34469 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
34470 wcs[abcdefghijklmnopqrstuvwxyz]*.
34471 [ISO C standards] (*_t): Do not allow.
34472 * conform/data/wctype.h-data [C99-based standards] (iswblank):
34474 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
34475 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34477 [ISO C standards]: Do not allow headers.
34478 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
34479 is[abcdefghijklmnopqrstuvwxyz]*.
34480 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
34481 to[abcdefghijklmnopqrstuvwxyz]*.
34482 [ISO C standards] (*_t): Do not allow.
34483 * conform/data/stdalign.h-data: New file.
34484 * conform/data/stdbool.h-data: Likewise.
34485 * conform/data/stdnoreturn.h-data: Likewise.
34487 2012-11-07 Roland McGrath <roland@hack.frob.com>
34490 * manual/filesys.texi (Directory Entries): Typo fix.
34491 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
34493 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34495 * elf/elf.h (EM_AARCH64): New macro.
34496 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
34497 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
34498 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
34499 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
34500 (R_AARCH64_TLSDESC): Likewise.
34501 (NT_ARM_TLS): Likewise.
34502 (NT_ARM_HW_BREAK): Likewise.
34503 (NT_ARM_HW_WATCH): Likewise.
34505 2012-11-07 Joseph Myers <joseph@codesourcery.com>
34508 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
34509 (__ieee754_powl): Saturate nonzero exponents with absolute value
34510 below 0x1p-79 to +/- 0x1p-79.
34511 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
34512 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
34513 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
34514 nonzero exponents with absolute value below 0x1p-32 to +/-
34516 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
34517 (__ieee754_powl): Saturate nonzero exponents with absolute value
34518 below 0x1p-79 to +/- 0x1p-79.
34519 * math/libm-test.inc (pow_test): Add more tests.
34521 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34523 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
34524 _dl_s390_cap_flags with kernel. Increase string length.
34525 (_dl_s390_platforms): Add z196 and zEC12.
34527 2012-11-07 Joseph Myers <joseph@codesourcery.com>
34529 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
34530 Change XOPEN21K to XOPEN2K.
34532 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
34534 * string/memmove.c: Use memcpy when possible.
34536 2012-11-06 Andreas Jaeger <aj@suse.de>
34538 * po/eo.po: Update from translation team.
34540 2012-11-06 Joseph Myers <joseph@codesourcery.com>
34543 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
34544 exponent and small x and y exponents, scale x or y up. Increase
34545 by 2 the exponent used in scaling up.
34546 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34547 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34548 * math/libm-test.inc (fma_test): Add more tests.
34549 (fma_test_towardzero): Likewise.
34550 (fma_test_downward): Likewise.
34551 (fma_test_upward): Likewise.
34553 2012-11-05 Joseph Myers <joseph@codesourcery.com>
34556 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
34560 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
34561 namespace for names of struct fields.
34562 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
34564 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
34565 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
34567 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
34570 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
34572 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
34574 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
34578 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
34581 2012-11-04 Joseph Myers <joseph@codesourcery.com>
34584 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
34585 definitely overflow as x * y not x * y + z.
34586 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34587 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34588 * math/libm-test.inc (fma_test): Add more tests.
34589 (fma_test_towardzero): Likewise.
34590 (fma_test_downward): Likewise.
34591 (fma_test_upward): Likewise.
34593 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
34597 * include/stub-tag.h: Remove file.
34598 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
34600 * manual/maint.texi (Porting): Don't reference it.
34601 * Makerules ($(objpfx)stubs): Likewise.
34602 * dirent/closedir.c: Don't include <stub-tag.h>.
34603 * dirent/dirfd.c: Likewise.
34604 * dirent/fdopendir.c: Likewise.
34605 * dirent/getdents.c: Likewise.
34606 * dirent/getdents64.c: Likewise.
34607 * dirent/opendir.c: Likewise.
34608 * dirent/readdir.c: Likewise.
34609 * dirent/readdir64.c: Likewise.
34610 * dirent/readdir64_r.c: Likewise.
34611 * dirent/readdir_r.c: Likewise.
34612 * dirent/rewinddir.c: Likewise.
34613 * dirent/seekdir.c: Likewise.
34614 * dirent/telldir.c: Likewise.
34615 * gmon/profil.c: Likewise.
34616 * grp/setgroups.c: Likewise.
34617 * inet/if_index.c: Likewise.
34618 * io/access.c: Likewise.
34619 * io/chdir.c: Likewise.
34620 * io/chmod.c: Likewise.
34621 * io/chown.c: Likewise.
34622 * io/close.c: Likewise.
34623 * io/dup.c: Likewise.
34624 * io/dup2.c: Likewise.
34625 * io/dup3.c: Likewise.
34626 * io/euidaccess.c: Likewise.
34627 * io/faccessat.c: Likewise.
34628 * io/fchdir.c: Likewise.
34629 * io/fchmod.c: Likewise.
34630 * io/fchmodat.c: Likewise.
34631 * io/fchown.c: Likewise.
34632 * io/fchownat.c: Likewise.
34633 * io/fcntl.c: Likewise.
34634 * io/flock.c: Likewise.
34635 * io/fstatfs.c: Likewise.
34636 * io/fstatfs64.c: Likewise.
34637 * io/fstatvfs.c: Likewise.
34638 * io/fstatvfs64.c: Likewise.
34639 * io/futimens.c: Likewise.
34640 * io/fxstat.c: Likewise.
34641 * io/fxstat64.c: Likewise.
34642 * io/fxstatat.c: Likewise.
34643 * io/fxstatat64.c: Likewise.
34644 * io/getcwd.c: Likewise.
34645 * io/isatty.c: Likewise.
34646 * io/lchmod.c: Likewise.
34647 * io/lchown.c: Likewise.
34648 * io/link.c: Likewise.
34649 * io/linkat.c: Likewise.
34650 * io/lseek.c: Likewise.
34651 * io/lseek64.c: Likewise.
34652 * io/lxstat64.c: Likewise.
34653 * io/mkdir.c: Likewise.
34654 * io/mkdirat.c: Likewise.
34655 * io/mkfifo.c: Likewise.
34656 * io/mkfifoat.c: Likewise.
34657 * io/open.c: Likewise.
34658 * io/open64.c: Likewise.
34659 * io/openat.c: Likewise.
34660 * io/openat64.c: Likewise.
34661 * io/pipe.c: Likewise.
34662 * io/pipe2.c: Likewise.
34663 * io/poll.c: Likewise.
34664 * io/posix_fadvise.c: Likewise.
34665 * io/posix_fadvise64.c: Likewise.
34666 * io/posix_fallocate.c: Likewise.
34667 * io/posix_fallocate64.c: Likewise.
34668 * io/read.c: Likewise.
34669 * io/readlink.c: Likewise.
34670 * io/readlinkat.c: Likewise.
34671 * io/rmdir.c: Likewise.
34672 * io/sendfile.c: Likewise.
34673 * io/sendfile64.c: Likewise.
34674 * io/statfs.c: Likewise.
34675 * io/statfs64.c: Likewise.
34676 * io/statvfs.c: Likewise.
34677 * io/statvfs64.c: Likewise.
34678 * io/symlink.c: Likewise.
34679 * io/symlinkat.c: Likewise.
34680 * io/ttyname.c: Likewise.
34681 * io/ttyname_r.c: Likewise.
34682 * io/umask.c: Likewise.
34683 * io/unlink.c: Likewise.
34684 * io/unlinkat.c: Likewise.
34685 * io/utime.c: Likewise.
34686 * io/utimensat.c: Likewise.
34687 * io/write.c: Likewise.
34688 * io/xmknod.c: Likewise.
34689 * io/xmknodat.c: Likewise.
34690 * io/xstat.c: Likewise.
34691 * io/xstat64.c: Likewise.
34692 * login/getpt.c: Likewise.
34693 * login/grantpt.c: Likewise.
34694 * login/unlockpt.c: Likewise.
34695 * math/e_acoshl.c: Likewise.
34696 * math/e_acosl.c: Likewise.
34697 * math/e_asinl.c: Likewise.
34698 * math/e_atan2l.c: Likewise.
34699 * math/e_atanhl.c: Likewise.
34700 * math/e_coshl.c: Likewise.
34701 * math/e_expl.c: Likewise.
34702 * math/e_fmodl.c: Likewise.
34703 * math/e_gammal_r.c: Likewise.
34704 * math/e_hypotl.c: Likewise.
34705 * math/e_j0l.c: Likewise.
34706 * math/e_j1l.c: Likewise.
34707 * math/e_jnl.c: Likewise.
34708 * math/e_lgammal_r.c: Likewise.
34709 * math/e_log10l.c: Likewise.
34710 * math/e_log2l.c: Likewise.
34711 * math/e_logl.c: Likewise.
34712 * math/e_powl.c: Likewise.
34713 * math/e_rem_pio2l.c: Likewise.
34714 * math/e_sinhl.c: Likewise.
34715 * math/e_sqrtl.c: Likewise.
34716 * math/fclrexcpt.c: Likewise.
34717 * math/fedisblxcpt.c: Likewise.
34718 * math/feenablxcpt.c: Likewise.
34719 * math/fegetenv.c: Likewise.
34720 * math/fegetexcept.c: Likewise.
34721 * math/fegetround.c: Likewise.
34722 * math/feholdexcpt.c: Likewise.
34723 * math/fesetenv.c: Likewise.
34724 * math/fesetround.c: Likewise.
34725 * math/feupdateenv.c: Likewise.
34726 * math/fgetexcptflg.c: Likewise.
34727 * math/fraiseexcpt.c: Likewise.
34728 * math/fsetexcptflg.c: Likewise.
34729 * math/ftestexcept.c: Likewise.
34730 * math/k_cosl.c: Likewise.
34731 * math/k_rem_pio2l.c: Likewise.
34732 * math/k_sinl.c: Likewise.
34733 * math/k_tanl.c: Likewise.
34734 * math/s_asinhl.c: Likewise.
34735 * math/s_atanl.c: Likewise.
34736 * math/s_cbrtl.c: Likewise.
34737 * math/s_erfl.c: Likewise.
34738 * math/s_expm1l.c: Likewise.
34739 * math/s_log1pl.c: Likewise.
34740 * math/s_tanhl.c: Likewise.
34741 * misc/acct.c: Likewise.
34742 * misc/brk.c: Likewise.
34743 * misc/chflags.c: Likewise.
34744 * misc/chroot.c: Likewise.
34745 * misc/fchflags.c: Likewise.
34746 * misc/fgetxattr.c: Likewise.
34747 * misc/flistxattr.c: Likewise.
34748 * misc/fremovexattr.c: Likewise.
34749 * misc/fsetxattr.c: Likewise.
34750 * misc/fsync.c: Likewise.
34751 * misc/ftruncate.c: Likewise.
34752 * misc/futimes.c: Likewise.
34753 * misc/futimesat.c: Likewise.
34754 * misc/getdomain.c: Likewise.
34755 * misc/getdtsz.c: Likewise.
34756 * misc/gethostid.c: Likewise.
34757 * misc/gethostname.c: Likewise.
34758 * misc/getloadavg.c: Likewise.
34759 * misc/getpagesize.c: Likewise.
34760 * misc/getsysstats.c: Likewise.
34761 * misc/getxattr.c: Likewise.
34762 * misc/gtty.c: Likewise.
34763 * misc/ioctl.c: Likewise.
34764 * misc/lgetxattr.c: Likewise.
34765 * misc/listxattr.c: Likewise.
34766 * misc/llistxattr.c: Likewise.
34767 * misc/lremovexattr.c: Likewise.
34768 * misc/lsetxattr.c: Likewise.
34769 * misc/lutimes.c: Likewise.
34770 * misc/madvise.c: Likewise.
34771 * misc/mincore.c: Likewise.
34772 * misc/mlock.c: Likewise.
34773 * misc/mlockall.c: Likewise.
34774 * misc/mmap.c: Likewise.
34775 * misc/mprotect.c: Likewise.
34776 * misc/msync.c: Likewise.
34777 * misc/munlock.c: Likewise.
34778 * misc/munlockall.c: Likewise.
34779 * misc/munmap.c: Likewise.
34780 * misc/preadv.c: Likewise.
34781 * misc/preadv64.c: Likewise.
34782 * misc/ptrace.c: Likewise.
34783 * misc/pwritev.c: Likewise.
34784 * misc/pwritev64.c: Likewise.
34785 * misc/readv.c: Likewise.
34786 * misc/reboot.c: Likewise.
34787 * misc/remap_file_pages.c: Likewise.
34788 * misc/removexattr.c: Likewise.
34789 * misc/revoke.c: Likewise.
34790 * misc/select.c: Likewise.
34791 * misc/setdomain.c: Likewise.
34792 * misc/setegid.c: Likewise.
34793 * misc/seteuid.c: Likewise.
34794 * misc/sethostid.c: Likewise.
34795 * misc/sethostname.c: Likewise.
34796 * misc/setregid.c: Likewise.
34797 * misc/setreuid.c: Likewise.
34798 * misc/setxattr.c: Likewise.
34799 * misc/sstk.c: Likewise.
34800 * misc/stty.c: Likewise.
34801 * misc/swapoff.c: Likewise.
34802 * misc/swapon.c: Likewise.
34803 * misc/sync.c: Likewise.
34804 * misc/syncfs.c: Likewise.
34805 * misc/syscall.c: Likewise.
34806 * misc/truncate.c: Likewise.
34807 * misc/ualarm.c: Likewise.
34808 * misc/usleep.c: Likewise.
34809 * misc/ustat.c: Likewise.
34810 * misc/utimes.c: Likewise.
34811 * misc/vhangup.c: Likewise.
34812 * misc/writev.c: Likewise.
34813 * posix/_exit.c: Likewise.
34814 * posix/alarm.c: Likewise.
34815 * posix/execve.c: Likewise.
34816 * posix/fexecve.c: Likewise.
34817 * posix/fork.c: Likewise.
34818 * posix/fpathconf.c: Likewise.
34819 * posix/getaddrinfo.c: Likewise.
34820 * posix/getegid.c: Likewise.
34821 * posix/geteuid.c: Likewise.
34822 * posix/getgid.c: Likewise.
34823 * posix/getgroups.c: Likewise.
34824 * posix/getlogin.c: Likewise.
34825 * posix/getlogin_r.c: Likewise.
34826 * posix/getpgid.c: Likewise.
34827 * posix/getpid.c: Likewise.
34828 * posix/getppid.c: Likewise.
34829 * posix/getresgid.c: Likewise.
34830 * posix/getresuid.c: Likewise.
34831 * posix/getsid.c: Likewise.
34832 * posix/getuid.c: Likewise.
34833 * posix/glob64.c: Likewise.
34834 * posix/nanosleep.c: Likewise.
34835 * posix/pathconf.c: Likewise.
34836 * posix/pause.c: Likewise.
34837 * posix/posix_madvise.c: Likewise.
34838 * posix/pread.c: Likewise.
34839 * posix/pread64.c: Likewise.
34840 * posix/pwrite.c: Likewise.
34841 * posix/pwrite64.c: Likewise.
34842 * posix/sched_getaffinity.c: Likewise.
34843 * posix/sched_getp.c: Likewise.
34844 * posix/sched_gets.c: Likewise.
34845 * posix/sched_primax.c: Likewise.
34846 * posix/sched_primin.c: Likewise.
34847 * posix/sched_rr_gi.c: Likewise.
34848 * posix/sched_setaffinity.c: Likewise.
34849 * posix/sched_setp.c: Likewise.
34850 * posix/sched_sets.c: Likewise.
34851 * posix/sched_yield.c: Likewise.
34852 * posix/setgid.c: Likewise.
34853 * posix/setlogin.c: Likewise.
34854 * posix/setpgid.c: Likewise.
34855 * posix/setresgid.c: Likewise.
34856 * posix/setresuid.c: Likewise.
34857 * posix/setsid.c: Likewise.
34858 * posix/setuid.c: Likewise.
34859 * posix/sleep.c: Likewise.
34860 * posix/spawni.c: Likewise.
34861 * posix/sysconf.c: Likewise.
34862 * posix/times.c: Likewise.
34863 * posix/wait.c: Likewise.
34864 * posix/wait3.c: Likewise.
34865 * posix/wait4.c: Likewise.
34866 * posix/waitpid.c: Likewise.
34867 * resolv/gai_sigqueue.c: Likewise.
34868 * resource/getpriority.c: Likewise.
34869 * resource/getrlimit.c: Likewise.
34870 * resource/getrusage.c: Likewise.
34871 * resource/nice.c: Likewise.
34872 * resource/setpriority.c: Likewise.
34873 * resource/setrlimit.c: Likewise.
34874 * resource/ulimit.c: Likewise.
34875 * rt/aio_cancel.c: Likewise.
34876 * rt/aio_fsync.c: Likewise.
34877 * rt/aio_read.c: Likewise.
34878 * rt/aio_sigqueue.c: Likewise.
34879 * rt/aio_suspend.c: Likewise.
34880 * rt/aio_write.c: Likewise.
34881 * rt/clock_getres.c: Likewise.
34882 * rt/clock_gettime.c: Likewise.
34883 * rt/clock_nanosleep.c: Likewise.
34884 * rt/clock_settime.c: Likewise.
34885 * rt/lio_listio.c: Likewise.
34886 * rt/mq_close.c: Likewise.
34887 * rt/mq_getattr.c: Likewise.
34888 * rt/mq_notify.c: Likewise.
34889 * rt/mq_open.c: Likewise.
34890 * rt/mq_receive.c: Likewise.
34891 * rt/mq_send.c: Likewise.
34892 * rt/mq_setattr.c: Likewise.
34893 * rt/mq_timedreceive.c: Likewise.
34894 * rt/mq_timedsend.c: Likewise.
34895 * rt/mq_unlink.c: Likewise.
34896 * rt/shm_open.c: Likewise.
34897 * rt/shm_unlink.c: Likewise.
34898 * rt/timer_create.c: Likewise.
34899 * rt/timer_delete.c: Likewise.
34900 * rt/timer_getoverr.c: Likewise.
34901 * rt/timer_gettime.c: Likewise.
34902 * rt/timer_settime.c: Likewise.
34903 * setjmp/__longjmp.c: Likewise.
34904 * setjmp/setjmp.c: Likewise.
34905 * signal/kill.c: Likewise.
34906 * signal/killpg.c: Likewise.
34907 * signal/raise.c: Likewise.
34908 * signal/sigaction.c: Likewise.
34909 * signal/sigaltstack.c: Likewise.
34910 * signal/sigblock.c: Likewise.
34911 * signal/sigignore.c: Likewise.
34912 * signal/sigintr.c: Likewise.
34913 * signal/signal.c: Likewise.
34914 * signal/sigpause.c: Likewise.
34915 * signal/sigpending.c: Likewise.
34916 * signal/sigqueue.c: Likewise.
34917 * signal/sigreturn.c: Likewise.
34918 * signal/sigset.c: Likewise.
34919 * signal/sigsetmask.c: Likewise.
34920 * signal/sigstack.c: Likewise.
34921 * signal/sigsuspend.c: Likewise.
34922 * signal/sigtimedwait.c: Likewise.
34923 * signal/sigvec.c: Likewise.
34924 * signal/sigwait.c: Likewise.
34925 * signal/sigwaitinfo.c: Likewise.
34926 * signal/sysv_signal.c: Likewise.
34927 * socket/accept.c: Likewise.
34928 * socket/accept4.c: Likewise.
34929 * socket/bind.c: Likewise.
34930 * socket/connect.c: Likewise.
34931 * socket/getpeername.c: Likewise.
34932 * socket/getsockname.c: Likewise.
34933 * socket/getsockopt.c: Likewise.
34934 * socket/isfdtype.c: Likewise.
34935 * socket/listen.c: Likewise.
34936 * socket/recv.c: Likewise.
34937 * socket/recvfrom.c: Likewise.
34938 * socket/recvmsg.c: Likewise.
34939 * socket/send.c: Likewise.
34940 * socket/sendmsg.c: Likewise.
34941 * socket/sendto.c: Likewise.
34942 * socket/setsockopt.c: Likewise.
34943 * socket/shutdown.c: Likewise.
34944 * socket/sockatmark.c: Likewise.
34945 * socket/socket.c: Likewise.
34946 * socket/socketpair.c: Likewise.
34947 * stdio-common/ctermid.c: Likewise.
34948 * stdio-common/cuserid.c: Likewise.
34949 * stdio-common/remove.c: Likewise.
34950 * stdio-common/rename.c: Likewise.
34951 * stdio-common/renameat.c: Likewise.
34952 * stdio-common/tempname.c: Likewise.
34953 * stdlib/getcontext.c: Likewise.
34954 * stdlib/makecontext.c: Likewise.
34955 * stdlib/setcontext.c: Likewise.
34956 * stdlib/swapcontext.c: Likewise.
34957 * stdlib/system.c: Likewise.
34958 * streams/fattach.c: Likewise.
34959 * streams/fdetach.c: Likewise.
34960 * streams/getmsg.c: Likewise.
34961 * streams/getpmsg.c: Likewise.
34962 * streams/putmsg.c: Likewise.
34963 * streams/putpmsg.c: Likewise.
34964 * sysdeps/unix/bsd/getpt.c: Likewise.
34965 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
34966 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
34967 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34970 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
34971 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34972 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
34973 * sysvipc/msgctl.c: Likewise.
34974 * sysvipc/msgget.c: Likewise.
34975 * sysvipc/msgrcv.c: Likewise.
34976 * sysvipc/msgsnd.c: Likewise.
34977 * sysvipc/semctl.c: Likewise.
34978 * sysvipc/semget.c: Likewise.
34979 * sysvipc/semop.c: Likewise.
34980 * sysvipc/semtimedop.c: Likewise.
34981 * sysvipc/shmat.c: Likewise.
34982 * sysvipc/shmctl.c: Likewise.
34983 * sysvipc/shmdt.c: Likewise.
34984 * sysvipc/shmget.c: Likewise.
34985 * termios/tcdrain.c: Likewise.
34986 * termios/tcflow.c: Likewise.
34987 * termios/tcflush.c: Likewise.
34988 * termios/tcgetattr.c: Likewise.
34989 * termios/tcgetpgrp.c: Likewise.
34990 * termios/tcsendbrk.c: Likewise.
34991 * termios/tcsetattr.c: Likewise.
34992 * termios/tcsetpgrp.c: Likewise.
34993 * time/adjtime.c: Likewise.
34994 * time/clock.c: Likewise.
34995 * time/getitimer.c: Likewise.
34996 * time/gettimeofday.c: Likewise.
34997 * time/setitimer.c: Likewise.
34998 * time/settimeofday.c: Likewise.
34999 * time/stime.c: Likewise.
35000 * time/time.c: Likewise.
35002 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
35004 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
35007 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
35009 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
35011 2012-11-03 Joseph Myers <joseph@codesourcery.com>
35014 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
35015 FE_TONEAREST before applying Dekker multiplication and Knuth
35016 addition. Clear inexact exceptions and check for exact zero
35017 results afterwards.
35018 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35019 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35020 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35021 * math/libm-test.inc (fma_test): Add more tests.
35022 (fma_test_towardzero): Likewise.
35023 (fma_test_downward): Likewise.
35024 (fma_test_upward): Likewise.
35025 * sysdeps/generic/math_private.h (default_libc_fesetround): New
35027 (libc_fesetround): New macro.
35028 (libc_fesetroundf): Likewise.
35029 (libc_fesetroundl): Likewise.
35030 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
35032 (libc_fesetround_387): Likewise.
35033 (libc_fesetroundf): New macro.
35034 (libc_fesetround): Likewise.
35035 (libc_fesetroundl): Likewise.
35036 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
35038 (libc_fesetroundf): New macro.
35039 (libc_fesetround): Likewise.
35040 (libc_fesetroundl): Likewise.
35041 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
35042 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
35043 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
35045 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
35046 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
35048 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
35049 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
35051 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
35055 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
35056 integer constant usable in #if and use that to give value to enum
35058 (FE_DIVBYZERO): Likewise.
35059 (FE_UNDERFLOW): Likewise.
35060 (FE_OVERFLOW): Likewise.
35061 (FE_INVALID): Likewise.
35062 (FE_INVALID_SNAN): Likewise.
35063 (FE_INVALID_ISI): Likewise.
35064 (FE_INVALID_IDI): Likewise.
35065 (FE_INVALID_ZDZ): Likewise.
35066 (FE_INVALID_IMZ): Likewise.
35067 (FE_INVALID_COMPARE): Likewise.
35068 (FE_INVALID_SOFTWARE): Likewise.
35069 (FE_INVALID_SQRT): Likewise.
35070 (FE_INVALID_INTEGER_CONVERSION): Likewise.
35071 (FE_TONEAREST): Likewise.
35072 (FE_TOWARDZERO): Likewise.
35073 (FE_UPWARD): Likewise.
35074 (FE_DOWNWARD): Likewise.
35075 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
35076 (FE_DIVBYZERO): Likewise.
35077 (FE_OVERFLOW): Likewise.
35078 (FE_UNDERFLOW): Likewise.
35079 (FE_INEXACT): Likewise.
35080 (FE_TONEAREST): Likewise.
35081 (FE_DOWNWARD): Likewise.
35082 (FE_UPWARD): Likewise.
35083 (FE_TOWARDZERO): Likewise.
35084 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
35085 (FE_UNDERFLOW): Likewise.
35086 (FE_OVERFLOW): Likewise.
35087 (FE_DIVBYZERO): Likewise.
35088 (FE_INVALID): Likewise.
35089 (FE_TONEAREST): Likewise.
35090 (FE_TOWARDZERO): Likewise.
35091 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
35092 (FE_OVERFLOW): Likewise.
35093 (FE_UNDERFLOW): Likewise.
35094 (FE_DIVBYZERO): Likewise.
35095 (FE_INEXACT): Likewise.
35096 (FE_TONEAREST): Likewise.
35097 (FE_TOWARDZERO): Likewise.
35098 (FE_UPWARD): Likewise.
35099 (FE_DOWNWARD): Likewise.
35100 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
35101 (FE_DIVBYZERO): Likewise.
35102 (FE_OVERFLOW): Likewise.
35103 (FE_UNDERFLOW): Likewise.
35104 (FE_INEXACT): Likewise.
35105 (FE_TONEAREST): Likewise.
35106 (FE_DOWNWARD): Likewise.
35107 (FE_UPWARD): Likewise.
35108 (FE_TOWARDZERO): Likewise.
35110 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
35112 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
35114 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
35116 * scripts/cross-test-ssh.sh (command): Use newlines to separate
35117 commands. Quote $PWD.
35118 (blacklist_exports): Don't use remove_newlines. Replace "declare
35120 (remove_newlines): Remove.
35122 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
35124 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
35125 * stdlib/stdlib.h (atof): Moved to ...
35126 * include/bits/stdlib-float.h: Here. New file.
35127 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
35128 * stdlib/bits/stdlib-float.h: New file.
35129 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
35131 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
35134 2012-11-02 Joseph Myers <joseph@codesourcery.com>
35136 * conform/conformtest.pl (@headers): Add fenv.h.
35137 * conform/data/fenv.h-data: New file.
35138 * include/fenv.h [_ISOMAC]: Disable all contents of file except
35139 include of <math/fenv.h>.
35141 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
35142 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
35143 && !UNIX98]. Enables tests for XOPEN2K8.
35144 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
35145 POSIX2008]: Likewise.
35147 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
35148 (struct rusage): Do not expect type or its members.
35151 * math/math.h (FP_NAN): Define macro to integer constant usable in
35152 #if and use that to give value to enum constant.
35153 (FP_INFINITE): Likewise.
35154 (FP_ZERO): Likewise.
35155 (FP_SUBNORMAL): Likewise.
35156 (FP_NORMAL): Likewise.
35158 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
35160 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
35161 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
35164 2012-11-02 Roland McGrath <roland@hack.frob.com>
35166 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
35167 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
35168 autoconf-time if not.
35169 * configure.in: Remove AC_PREREQ.
35171 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35173 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
35174 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
35175 of the internal implementation.
35177 2012-11-02 Joseph Myers <joseph@codesourcery.com>
35179 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
35180 except include of <misc/sys/syslog.h>.
35182 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
35185 function returns with a NULL context exit with zero.
35187 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35189 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
35191 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
35193 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
35194 (run_program_cmd): This.
35195 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
35196 (tst_langinfo): New variable. Use it.
35198 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
35200 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
35201 floating point opcodes.
35203 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35205 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
35208 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
35210 * sysdeps/mach/hurd/powerpc: Remove directory.
35211 * sysdeps/mach/powerpc: Likewise.
35213 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35215 * scripts/check-local-headers.sh: Ignore c++ headers.
35217 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35219 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
35220 __libc_cleanup_region_start argument.
35222 2012-11-01 Joseph Myers <joseph@codesourcery.com>
35226 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
35227 x * y using scaling, not as x * y + z.
35228 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35229 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35230 * math/libm-test.inc (fma_test): Add more tests.
35231 (fma_test_towardzero): Likewise.
35232 (fma_test_downward): Likewise.
35233 (fma_test_upward): Likewise.
35235 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35237 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
35239 2012-10-31 Joseph Myers <joseph@codesourcery.com>
35241 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
35244 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
35246 * rt/tst-shm.c (worker): Correct checking for mmap failure.
35248 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35255 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35258 Fix the order of the list for glibc 2.17.
35259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35262 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35264 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35266 2012-10-31 Joseph Myers <joseph@codesourcery.com>
35269 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
35270 for low part of x being zero before using __atanl (y).
35271 * math/libm-test.inc (atan2_test): Add another test.
35273 * manual/install.texi (Configuring and compiling): Document
35274 general use of test-wrapper and test-wrapper-env.
35275 * INSTALL: Regenerated.
35277 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
35278 (__fma): Do not extract and scale down low bits on after-rounding
35279 systems when result rounded to normal precision would have normal
35281 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
35282 (__fmal): Do not extract and scale down low bits on after-rounding
35283 systems when result rounded to normal precision would have normal
35285 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
35286 (__fmal): Do not extract and scale down low bits on after-rounding
35287 systems when result rounded to normal precision would have normal
35289 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
35291 (fma_test): Add more tests.
35292 (fma_test_towardzero): Likewise.
35293 (fma_test_downward): Likewise.
35294 (fma_test_upward): Likewise.
35296 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
35298 * sysdeps/i386/tininess.h: Renamed to ...
35299 * sysdeps/x86/tininess.h: This.
35300 * sysdeps/x86_64/tininess.h: Removed.
35302 2012-10-30 Joseph Myers <joseph@codesourcery.com>
35304 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
35305 input. Use $(build-program-cmd).
35306 ($(objpfx)tst-array1-static.out): Likewise.
35307 ($(objpfx)tst-array2.out): Likewise.
35308 ($(objpfx)tst-array3.out): Likewise.
35309 ($(objpfx)tst-array4.out): Likewise.
35310 ($(objpfx)tst-array5.out): Likewise.
35311 ($(objpfx)tst-array5-static.out): Likewise.
35313 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
35315 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
35318 * nss/nsswitch.h (nss_interface_function): Provide new
35319 macro for use with NSS functions.
35320 * grp/initgroups.c: Use new macro.
35321 * nss/getXXbyYY.c: Likewise.
35322 * nss/getXXbyYY_r.c: Likewise.
35323 * nss/getXXent.c: Likewise.
35324 * nss/getXXent_r.c: Likewise.
35325 * sysdeps/posix/getaddrinfo.c: Likewise.
35327 2012-10-30 Andreas Jaeger <aj@suse.de>
35329 * po/ru.po: Update Russion translation from translation project.
35331 2012-10-30 Joseph Myers <joseph@codesourcery.com>
35335 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
35336 result and shift together with sticky bit instead of replicating
35337 round-to-nearest rounding.
35338 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35339 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35340 * math/libm-test.inc (fma_test): Add more tests. Do not permit
35341 missing underflow exceptions.
35342 (fma_test_towardzero): Add more tests.
35343 (fma_test_downward): Likewise.
35344 (fma_test_upward): Likewise.
35347 * sysdeps/generic/tininess.h: New file.
35348 * sysdeps/i386/tininess.h: Likewise.
35349 * sysdeps/sh/tininess.h: Likewise.
35350 * sysdeps/x86_64/tininess.h: Likewise.
35351 * stdlib/tst-strtod-underflow.c: Likewise.
35352 * stdlib/tst-tininess.c: Likewise.
35353 * stdlib/strtod_l.c: Include <tininess.h>.
35354 (round_and_return): Do not set errno for exact underflow cases.
35355 Force an underflow exception when setting errno for underflow.
35356 Determine underflow based on rounding to normal precision if
35357 TININESS_AFTER_ROUNDING.
35358 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
35359 ERANGE for exact underflow cases.
35360 * stdlib/Makefile (tests): Add tst-tininess and
35361 tst-strtod-underflow.
35362 ($(objpfx)tst-tininess): Use $(link-libm).
35363 ($(objpfx)tst-strtod-underflow): Likewise.
35365 2012-10-30 Andreas Jaeger <aj@suse.de>
35368 * elf/Makefile (tests): Remove conditional for have-initfini-array
35369 since this is now always required and the variable does not exist
35371 (tests-static): Likewise.
35372 (modules-names): Likewise.
35374 * po/eo.po: Add Esperanto translation from translation project.
35376 * elf/tst-array1.c (fini_array): Make writeable so that it can be
35377 merged with constructor/destructor.
35378 (init_array): Likewise.
35379 * elf/tst-array2dep.c (fini_array): Likewise.
35380 (init_array): Likewise.
35382 2012-10-29 Mike Frysinger <vapier@gentoo.org>
35384 * manual/message.texi: Delete @cartouche tags.
35386 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
35388 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
35390 * sysdeps/mach/hurd/fsync.c: Likewise.
35392 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
35393 [_POSIX_REALTIME_SIGNALS]: Change condition to
35394 [_POSIX_REALTIME_SIGNALS > 0].
35396 2012-10-27 Andreas Jaeger <aj@suse.de>
35398 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
35399 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
35400 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
35401 [__WORDSIZE != 64]: Likewise.
35403 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
35405 * iconvdata/tst-table.sh: Remove ${SHELL}.
35406 * iconvdata/tst-tables.sh: Likewise.
35408 2012-10-25 David S. Miller <davem@davemloft.net>
35410 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35411 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
35414 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
35416 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35417 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
35418 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
35421 2012-10-25 Roland McGrath <roland@hack.frob.com>
35423 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35424 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
35427 2012-10-25 Joseph Myers <joseph@codesourcery.com>
35428 Jim Blandy <jimb@codesourcery.com>
35430 * scripts/cross-test-ssh.sh: New file.
35431 * manual/install.texi (Configuring and compiling): Document use of
35433 * INSTALL: Regenerated.
35435 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
35437 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
35440 2012-10-25 Joseph Myers <joseph@codesourcery.com>
35442 * Makeconfig (run-program-prefix): Fix comment.
35444 2012-10-24 Joseph Myers <joseph@codesourcery.com>
35445 Jim Blandy <jimb@codesourcery.com>
35447 * Makeconfig (test-wrapper): New variable,
35448 (test-wrapper-env): Likewise.
35449 [$(cross-compiling) = yes && $(test-wrapper) != ""]
35450 (run-built-tests): Define to yes.
35451 (run-program-prefix): Use $(test-wrapper).
35452 (built-program-cmd): Likewise.
35453 * Rules (make-test-out): Use $(test-wrapper-env) and
35454 $(host-built-program-cmd).
35455 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
35456 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
35458 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
35459 $(test-wrapper-env) to tst-rtld-load-self.sh.
35460 ($(objpfx)order2.out): Use $(test-wrapper).
35461 ($(objpfx)tst-initorder.out): Likewise.
35462 ($(objpfx)tst-initorder2.out): Likewise.
35463 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
35464 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
35465 (test_wrapper_env): New variable. Use it to run ld.so.
35466 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
35467 Use it to run ld.so.
35468 (test_wrapper_env): Likewise.
35469 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
35470 $(test-wrapper) to run-iconv-test.sh.
35471 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
35472 (ICONV): Use $test_wrapper.
35473 * posix/Makefile ($(objpfx)globtest.out): Pass
35474 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
35475 globtest.sh, not $(run-program-prefix).
35476 * posix/globtest.sh (run_via_rtld_prefix): New variable.
35477 (test_wrapper): Likewise.
35478 (test_wrapper_env): Likewise. Use it to run globtest with HOME
35479 set together with run_via_rtld_prefix.
35480 (run_program_prefix): Define in terms of test_wrapper and
35481 run_via_rtld_prefix.
35483 2012-10-24 Roland McGrath <roland@hack.frob.com>
35485 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
35486 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
35490 * include/time.h: Remove librt_hidden_proto (clock_gettime).
35491 Declare __clock_getres, __clock_gettime, __clock_settime,
35492 __clock_nanosleep, and __clock_getcpuclockid.
35493 * rt/clock_gettime.c: Define __clock_gettime as an alias.
35494 Remove librt_hidden_def (clock_gettime).
35495 * sysdeps/unix/clock_gettime.c: Likewise.
35496 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
35497 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35498 * rt/clock_getres.c: Define __clock_getres as an alias.
35499 * sysdeps/posix/clock_getres.c: Likewise.
35500 * rt/clock_settime.c: Define __clock_settime as an alias.
35501 * sysdeps/unix/clock_settime.c: Likewise.
35502 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
35503 * sysdeps/unix/clock_nanosleep.c: Likewise.
35504 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35505 * rt/clock-compat.c: New file.
35506 * rt/Makefile (librt-routines): Add clock-compat and move
35507 $(clock-routines) to ...
35508 (routines): ... here, new variable.
35509 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
35510 Don't add get_clockfreq here.
35511 * rt/Versions (libc: GLIBC_2.17): New version set.
35512 Add clock_* symbols here.
35513 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
35514 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
35515 (GLIBC_2.17): Add clock_* symbols.
35516 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35517 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35518 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35523 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35524 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35525 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35526 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35527 * NEWS: Mention the move.
35529 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
35530 Use __open, __read, __close rather than their public counterparts.
35531 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35532 (__get_clockfreq_via_cpuinfo): Likewise.
35533 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
35534 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
35536 * config.h.in (HAVE_IFUNC): New #undef.
35537 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
35539 * configure: Regenerated.
35541 2012-10-24 Mike Frysinger <vapier@gentoo.org>
35543 * configure.in: Move READELF check to start of file.
35544 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
35545 libc_cv_asm_gnu_indirect_function in the process.
35546 * configure: Regenerated.
35548 2012-10-24 Mike Frysinger <vapier@gentoo.org>
35550 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
35551 send the output to /dev/null.
35552 (libc_cv_cc_with_libunwind): Likewise.
35553 (libc_cv_as_noexecstack): Likewise.
35554 * configure: Regenerate.
35556 2012-10-24 Joseph Myers <joseph@codesourcery.com>
35558 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
35560 * posix/globtest.sh (TMPDIR): Do not set.
35561 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
35562 (testout): Likewise.
35564 2012-10-24 Andreas Jaeger <aj@suse.de>
35566 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
35567 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
35568 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
35569 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
35570 posix_fadvise64, posix_fallocate64.
35572 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
35573 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
35574 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
35576 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
35578 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
35580 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
35581 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
35582 <bits/fcntl-linux.h>.
35583 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
35585 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
35586 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
35587 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
35588 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
35589 [__WORDSIZE != 64]: Likewise.
35591 2012-10-23 Joseph Myers <joseph@codesourcery.com>
35593 * Makeconfig (run-built-tests): New variable.
35594 * Rules [$(cross-compiling) = yes]: Change condition to
35595 [$(run-built-tests) = no].
35596 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
35597 to [$(run-built-tests) = yes].
35598 * elf/Makefile [$(cross-compiling) = no]: Likewise
35599 * grp/Makefile [$(cross-compiling) = no]: Likewise.
35600 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
35601 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
35602 * intl/Makefile [$(cross-compiling) = no]: Likewise.
35603 * io/Makefile [$(cross-compiling) = no]: Likewise.
35604 * libio/Makefile [$(cross-compiling) = no]: Likewise.
35605 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
35606 * misc/Makefile [$(cross-compiling) = no]: Likewise.
35607 * posix/Makefile [$(cross-compiling) = no]: Likewise.
35608 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
35609 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
35610 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
35611 * string/Makefile [$(cross-compiling) = no]: Likewise.
35613 * posix/Makefile ($(objpfx)globtest.out): Pass
35614 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
35615 $(rtld-installed-name).
35616 * posix/globtest.sh (elf_objpfx): Remove variable.
35617 (rtld_installed_name): Likewise.
35618 (library_path): Likewise.
35619 (run_program_prefix): New variable. Use for running globtest
35622 2012-10-23 Jim Blandy <jimb@codesourcery.com>
35623 Joseph Myers <joseph@codesourcery.com>
35625 * Makeconfig (host-built-program-cmd): New variable.
35626 * elf/Makefile (tst-stackguard1-ARGS): Use
35627 $(host-built-program-cmd).
35628 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
35629 (tst-spawn-ARGS): Likewise.
35630 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
35632 2012-10-23 Joseph Myers <joseph@codesourcery.com>
35633 Jim Blandy <jimb@codesourcery.com>
35635 * Makeconfig (run-via-rtld-prefix): New variable.
35636 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
35637 (built-program-cmd): Likewise.
35639 2012-10-22 Andreas Jaeger <aj@suse.de>
35641 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
35642 __O_RSYNC if it exists, otherwise to O_SYNC.
35644 2012-10-22 Jim Blandy <jimb@codesourcery.com>
35645 Joseph Myers <joseph@codesourcery.com>
35647 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
35649 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
35651 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
35654 2012-10-22 Andreas Jaeger <aj@suse.de>
35656 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
35658 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
35660 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35661 bits/fcntl-linux.h.
35663 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
35664 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
35666 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
35668 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
35671 2012-10-21 Jim Blandy <jimb@codesourcery.com>
35672 Joseph Myers <joseph@codesourcery.com>
35674 * config.make.in (NM): New variable.
35676 2012-10-21 Andreas Jaeger <aj@suse.de>
35678 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
35679 definitions and declarations that are provided by
35680 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35682 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
35685 * elf/Makefile (tests-static): Add tst-leaks1-static.
35686 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
35687 ($(objpfx)tst-leaks1-static): New rule.
35688 ($(objpfx)tst-leaks1-static-mem): Likewise.
35689 (tst-leaks1-static-ENV): New macro.
35690 * elf/dl-open.c (dl_open_worker): Check the main application
35691 only if SHARED is defined.
35692 * elf/tst-leaks1-static.c: New file.
35694 2012-10-20 Andreas Jaeger <aj@suse.de>
35696 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
35697 generic values for Linux.
35698 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
35699 and declarations that are provided by <bits/fcntl-linux.h> and
35700 include <bits/fcntl-linux.h>.
35701 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35702 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35704 2012-10-20 Roland McGrath <roland@hack.frob.com>
35706 * io/fcntl.h: Move include of <bits/types.h> to the top and
35707 include it unconditionally.
35709 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
35711 * wcsmbs/Makefile (tests-ifunc): New variable.
35712 (tests): Add $(tests-ifunc).
35713 * wcsmbs/test-wcschr-ifunc.c: New file.
35714 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
35715 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
35716 * wcsmbs/test-wcslen-ifunc.c: Likewise.
35717 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
35718 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
35720 * string/Makefile (tests-ifunc): New variable.
35721 (tests): Add $(tests-ifunc).
35722 * string/test-memccpy.c (TEST_NAME): New macro.
35723 * string/test-memchr.c (TEST_NAME): Likewise.
35724 * string/test-memcmp.c (TEST_NAME): Likewise.
35725 * string/test-memcpy.c (TEST_NAME): Likewise.
35726 * string/test-memmem.c (TEST_NAME): Likewise.
35727 * string/test-memmove.c (TEST_NAME): Likewise.
35728 * string/test-memset.c (TEST_NAME): Likewise.
35729 * string/test-rawmemchr.c (TEST_NAME): Likewise.
35730 * string/test-stpcpy.c (TEST_NAME): Likewise.
35731 * string/test-stpncpy.c (TEST_NAME): Likewise.
35732 * string/test-strcasecmp.c (TEST_NAME): Likewise.
35733 * string/test-strcasestr.c (TEST_NAME): Likewise.
35734 * string/test-strcat.c (TEST_NAME): Likewise.
35735 * string/test-strchr.c (TEST_NAME): Likewise.
35736 * string/test-strcmp.c(TEST_NAME): Likewise.
35737 * string/test-strcpy.c (TEST_NAME): Likewise.
35738 * string/test-strcspn.c (TEST_NAME): Likewise.
35739 * string/test-strlen.c (TEST_NAME): Likewise.
35740 * string/test-strncasecmp.c (TEST_NAME): Likewise.
35741 * string/test-strncmp.c (TEST_NAME): Likewise.
35742 * string/test-strncpy.c (TEST_NAME): Likewise.
35743 * string/test-strnlen.c (TEST_NAME): Likewise.
35744 * string/test-strpbrk.c (TEST_NAME): Likewise.
35745 * string/test-strrchr.c (TEST_NAME): Likewise.
35746 * string/test-strspn.c (TEST_NAME): Likewise.
35747 * string/test-strstr.c (TEST_NAME): Likewise.
35748 * string/test-bcopy-ifunc.c: New file.
35749 * string/test-bzero-ifunc.c: Likewise.
35750 * string/test-memccpy-ifunc.c: Likewise.
35751 * string/test-memchr-ifunc.c: Likewise.
35752 * string/test-memcmp-ifunc.c: Likewise.
35753 * string/test-memcpy-ifunc.c: Likewise.
35754 * string/test-memmem-ifunc.c: Likewise.
35755 * string/test-memmove-ifunc.c: Likewise.
35756 * string/test-mempcpy-ifunc.c: Likewise.
35757 * string/test-memset-ifunc.c: Likewise.
35758 * string/test-rawmemchr-ifunc.c: Likewise.
35759 * string/test-stpcpy-ifunc.c: Likewise.
35760 * string/test-stpncpy-ifunc.c: Likewise.
35761 * string/test-strcasecmp-ifunc.c: Likewise.
35762 * string/test-strcasestr-ifunc.c: Likewise.
35763 * string/test-strcat-ifunc.c: Likewise.
35764 * string/test-strchr-ifunc.c: Likewise.
35765 * string/test-strchrnul-ifunc.c: Likewise.
35766 * string/test-strcmp-ifunc.c: Likewise.
35767 * string/test-strcpy-ifunc.c: Likewise.
35768 * string/test-strcspn-ifunc.c: Likewise.
35769 * string/test-strlen-ifunc.c: Likewise.
35770 * string/test-strncasecmp-ifunc.c: Likewise.
35771 * string/test-strncat-ifunc.c: Likewise.
35772 * string/test-strncmp-ifunc.c: Likewise.
35773 * string/test-strncpy-ifunc.c: Likewise.
35774 * string/test-strnlen-ifunc.c: Likewise.
35775 * string/test-strpbrk-ifunc.c: Likewise.
35776 * string/test-strrchr-ifunc.c: Likewise.
35777 * string/test-strspn-ifunc.c: Likewise.
35778 * string/test-strstr-ifunc.c: Likewise.
35780 * debug/Makefile (tests-ifunc): New variable.
35781 (tests): Add $(tests-ifunc).
35782 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
35783 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
35784 * debug/test-stpcpy_chk-ifunc.c: New file.
35785 * debug/test-strcpy_chk-ifunc.c: Likewise.
35787 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
35790 * elf/dl-load.c (open_verify): Retry read if the entire ELF
35791 header is not read in.
35793 2012-10-19 Joseph Myers <joseph@codesourcery.com>
35795 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
35796 script to $(SHELL) as $<. Pass $(common-objpfx) to script
35797 directly. Pass built executable to script as
35798 $(built-program-cmd).
35799 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
35800 $testprogram without using LD_LIBRARY_PATH and $ldso.
35802 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
35803 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
35804 $(rtld-installed-name).
35805 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
35806 (rtld_installed_name): Likewise.
35807 (library_path): Likewise.
35808 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
35809 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
35810 $(run-program-prefix) to tst-tables.sh.
35811 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
35812 it to run tst-table-from and tst-table-to.
35813 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
35814 Pass it to tst-table.sh.
35815 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
35816 $(run-program-prefix) to tst-gettext.sh.
35817 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
35819 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
35821 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
35822 to run tst-gettext.
35823 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
35824 to run tst-gettext2.
35825 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
35826 to run tst-translit.
35827 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
35828 $(run-program-prefix) to tst-mtrace.sh.
35829 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
35831 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
35832 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
35833 $(rtld-installed-name).
35834 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
35835 (rtld_installed_name): Likewise.
35836 (run_program_prefix): New variable. Use it to run wordexp-test.
35838 * Makeconfig (ARCH): Remove all definitions.
35839 (machine): Likewise.
35840 [ARCH]: Remove conditional code.
35841 [!objdir]: Give error.
35842 [!objdir] (objpfx): Remove.
35843 [!objdir] (common-objpfx): Likewise.
35844 [!objdir] (common-objdir): Likewise.
35845 * configure.in (config_makefile): Remove. Hardcode Makefile in
35846 AC_CONFIG_FILES call.
35847 * configure: Regenerated.
35850 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
35852 (testout): Likewise.
35854 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
35855 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
35856 $(rtld-installed-name).
35857 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
35858 (rtld_installed_name): Likwise.
35859 (runit): Remove function.
35860 (run_getconf): New variable, Use it for running getconf binary.
35862 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
35865 * string/test-memmem.c (check_result): New function.
35866 (do_one_test): Use it.
35867 (check1): New function.
35868 (test_main): Use it.
35870 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
35872 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
35874 2012-10-18 Joseph Myers <joseph@codesourcery.com>
35876 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
35877 (_G_LSEEK64): Likewise.
35878 (_G_MMAP64): Likewise.
35879 (_G_FSTAT64): Likewise.
35880 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
35881 (_G_LSEEK64): Likewise.
35882 (_G_MMAP64): Likewise.
35883 (_G_FSTAT64): Likewise.
35884 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
35885 unconditional. Call __mmap64 directly.
35886 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
35887 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
35888 __lseek64 directly.
35889 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
35890 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
35892 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
35893 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
35894 __lseek64 directly.
35895 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
35896 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
35897 __lseek64 directly.
35898 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
35899 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
35900 __lseek64 directly.
35901 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
35902 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
35903 __fxstat64 directly.
35904 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
35905 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
35907 (freopen64) [!_G_OPEN64]: Remove conditional code.
35908 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
35910 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
35911 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
35913 (ftello64) [!_G_LSEEK64]: Remove conditional code.
35914 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
35916 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35917 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
35919 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
35920 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
35922 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35923 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
35925 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35926 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
35928 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35930 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35933 * manual/memory.texi (Malloc Tunable Parameters): Add note
35934 about free list pointers overwriting some perturb bytes.
35935 Wording suggested by Roland McGrath.
35937 2012-10-17 Joseph Myers <joseph@codesourcery.com>
35939 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
35940 (lgamma_test): Likewise.
35941 (tgamma_test): Likewise.
35943 2012-10-16 Florian Weimer <fweimer@redhat.com>
35946 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
35947 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
35949 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
35951 * NEWS: Mention BZ #14716.
35952 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
35953 when removing AVAILABLE1_USES_J macro.
35955 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
35957 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
35958 (__bswap_64): __uint64_t for unsigned 64-bit int.
35960 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
35962 * include/string.h (memmem): Declare libc hidden alias.
35963 * string/memmem.c (memmem): Define libc hidden alias.
35964 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
35965 __read, __close instead of open, read, close.
35967 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
35969 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
35970 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
35972 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
35973 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
35974 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
35976 (__rawmemchr_sse2): Likewise.
35977 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
35978 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
35979 (__strchr_sse2): Likewise.
35980 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
35981 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
35982 (__strcasecmp_sse2): Likewise.
35983 (__strncasecmp_sse2): Likewise.
35984 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
35985 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
35986 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
35987 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
35988 (__strrchr_sse2): Likewise.
35989 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
35991 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
35992 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
35993 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
35994 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35995 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
35996 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
35997 * sysdeps/x86_64/multiarch/memset.S: Likewise.
35998 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35999 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
36000 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
36001 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
36002 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
36003 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
36004 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36005 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36006 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36007 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36008 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36009 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
36010 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
36011 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
36012 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
36013 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
36014 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36015 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
36016 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36017 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36018 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36019 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36020 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36022 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
36024 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
36025 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
36026 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
36027 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
36029 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
36031 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
36032 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
36033 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
36034 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
36036 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36037 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36038 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36039 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36040 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36041 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36042 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36043 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36044 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36045 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36046 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36047 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36048 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36049 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
36050 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
36051 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36052 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
36053 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
36054 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36055 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36056 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36057 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36058 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36059 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36060 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36061 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
36062 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
36063 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
36064 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
36065 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36066 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
36067 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36068 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36069 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
36070 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36071 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36072 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36073 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36074 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36075 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36076 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
36078 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
36079 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
36080 * include/ifunc-impl-list.h: New file.
36081 * misc/ifunc-impl-list.c: Likewise.
36082 * misc/Makefile (routines): Add ifunc-impl-list.
36083 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
36084 * string/test-string.h: Include <ifunc-impl-list.h>.
36085 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
36086 TEST_NAME]: New variables.
36087 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
36089 (test_init): Call __libc_ifunc_impl_list to initialize
36090 func_list if TEST_IFUNC and TEST_NAME are defined.
36092 * string/Makefile (strop-tests): Add bcopy and bzero.
36093 * string/test-bcopy.c: New file.
36094 * string/test-bzero.c: Likewise.
36095 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
36097 * string/test-memset.c: Support bzero test if TEST_BZERO is
36099 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
36101 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
36103 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
36106 2012-10-10 Joseph Myers <joseph@codesourcery.com>
36108 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
36109 * configure: Regenerated.
36111 * Makeconfig (+link-static-before-libc): Don't include
36112 $(link-static-libc).
36114 * libio/libio.h (_IO_pos_t): Remove.
36116 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
36118 * NEWS: Add note about FIPS mode. Wording suggested by Roland
36121 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
36123 * crypt/crypt-entry.c: Include fips-private.h.
36124 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
36125 * crypt/md5c-test.c (main): Tolerate disabled MD5.
36126 * sysdeps/unix/sysv/linux/fips-private.h: New file.
36127 * sysdeps/generic/fips-private.h: New file, dummy fallback.
36129 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
36131 * crypt/crypt-private.h: Include stdbool.h.
36132 (_ufc_setup_salt_r): Return bool.
36133 * crypt/crypt-entry.c: Include errno.h.
36134 (__crypt_r): Return NULL with EINVAL for bad salt.
36135 * crypt/crypt_util.c (bad_for_salt): New.
36136 (_ufc_setup_salt_r): Check that salt is long enough and within
36137 the specified alphabet.
36138 * crypt/badsalttest.c: New file.
36139 * crypt/Makefile (tests): Add it.
36140 ($(objpfx)badsalttest): New.
36142 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
36144 * NEWS: Add entry for BZ #14602.
36146 2012-10-09 Joseph Myers <joseph@codesourcery.com>
36148 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
36150 * math/libm-test.inc: Update comment listing what functions and
36152 (isgreater_test): New function.
36153 (isgreaterequal_test): Likewise.
36154 (isless_test): Likewise.
36155 (islessequal_test): Likewise.
36156 (islessgreater_test): Likewise.
36157 (isunordered_test): Likewise.
36158 (main): Call the new functions.
36160 2012-10-09 Roland McGrath <roland@hack.frob.com>
36162 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
36163 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
36164 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
36165 * sysdeps/i386/configure: Regenerated.
36166 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
36167 * sysdeps/mach/configure: Regenerated.
36168 * sysdeps/mach/hurd/configure: Regenerated.
36169 * sysdeps/powerpc/configure: Regenerated.
36170 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36171 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36172 * sysdeps/s390/s390-32/configure: Regenerated.
36173 * sysdeps/s390/s390-64/configure: Regenerated.
36174 * sysdeps/sh/configure: Regenerated.
36175 * sysdeps/sparc/configure: Regenerated.
36176 * sysdeps/unix/sysv/linux/configure: Regenerated.
36177 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36178 * sysdeps/x86_64/configure: Regenerated.
36180 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
36181 defined. Don't check if MAP is NULL.
36183 2012-10-09 Joseph Myers <joseph@codesourcery.com>
36185 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
36186 (_G_stat64): Likewise.
36187 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
36188 (_G_stat64): Likewise.
36189 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
36190 instead of struct _G_stat64.
36191 * libio/fileops.c (mmap_remap_check): Likewise.
36192 (decide_maybe_mmap): Likewise.
36193 (_IO_new_file_seekoff): Likewise.
36194 (_IO_file_stat): Likewise.
36195 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
36197 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
36198 instead of struct _G_stat64.
36199 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36201 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
36204 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36206 (CHECK_EOL): New macro.
36207 (two_way_short_needle): Check beginning of haystack for EOL. Use
36209 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36210 Replace with CHECK_EOL.
36211 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36212 Replace with CHECK_EOL.
36214 2012-10-08 Joseph Myers <joseph@codesourcery.com>
36216 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
36218 * math/libm-test.inc: Update comment listing what functions and
36220 (finite_test): New function.
36221 (isinf_test): Likewise.
36222 (isnan_test): Likewise.
36223 (fpclassify_test): Test subnormal input.
36224 (isfinite_test): Likewise.
36225 (isnormal_test): Likewise.
36226 (main): Call the new functions.
36228 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
36231 * Makerules (%.dynsym): Force C locale when running
36232 $(OBJDUMP) --dynamic-syms.
36234 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
36236 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
36239 2012-10-06 David S. Miller <davem@davemloft.net>
36241 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
36242 upper 32-bits of the length value in %o2 since we use branch-on-register
36243 tests which consider the entire 64-bit register.
36245 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
36247 * string/test-strstr.c (check2): Add a test for page boundary.
36249 2012-10-05 David S. Miller <davem@davemloft.net>
36251 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
36252 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
36254 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36256 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36257 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
36258 and bzero when HWCAP_SPARC_CRYPTO is present.
36260 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
36263 * string/test-strstr.c (check2): New function.
36264 (test_main): Call check2.
36266 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
36268 * string/bug-strcasestr1.c (do_test): Moved to ...
36269 * string/test-strcasestr.c (check1): Here. New function.
36270 (do_one_test): Break out result checking code into ...
36271 (check_result): This. New function.
36272 (do_one_test): Call check_result.
36273 (test_main): Call check1.
36274 * string/bug-strchr1.c (do_test): Moved to ...
36275 * string/test-strchr.c (check1): Here. New function.
36276 (do_one_test): Break out result checking code into ...
36277 (check_result): This. New function.
36278 (do_one_test): Call check_result.
36279 (test_main): Call check1.
36280 * string/bug-strstr1.c (main): Moved to ...
36281 * string/test-strstr.c (check1): Here. New function.
36282 (do_one_test): Break out result checking code into ...
36283 (check_result): This. New function.
36284 (do_one_test): Call check_result.
36285 (test_main): Call check1.
36286 * string/bug-strcasestr1.c: Removed.
36287 * string/bug-strchr1.c: Likewise.
36288 * string/bug-strstr1.c: Likewise.
36290 * elf/Makefile (dl-routines): Add hwcaps.
36291 * elf/dl-support.c (_dl_important_hwcaps): Removed.
36292 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
36293 (_dl_important_hwcaps): Moved to ...
36294 * elf/dl-hwcaps.c: Here. New file.
36295 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
36298 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
36299 if IS_IN_rtld isn't defined.
36301 * elf/dl-support.c (_dl_sysinfo_map): New.
36302 Include "get-dynamic-info.h" and "setup-vdso.h".
36303 (_dl_non_dynamic_init): Call setup_vdso.
36304 * elf/dynamic-link.h: Don't include <assert.h>.
36305 (elf_get_dynamic_info): Moved to ...
36306 * elf/get-dynamic-info.h: Here. New file.
36307 * elf/dynamic-link.h: Include "get-dynamic-info.h".
36308 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
36309 * elf/setup-vdso.h: Here. New file.
36310 * elf/rtld.c: Include "setup-vdso.h".
36311 (dl_main): Call setup_vdso.
36313 2012-10-05 Joseph Myers <joseph@codesourcery.com>
36315 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
36316 creal in comment listing functions tested. List finite, isinf,
36317 isnan, isless, islessequal, isgreater, isgreaterequal,
36318 islessgreater, isunordered, lgamma_r and pow10 as functions and
36319 macros not tested. Mention which functions not tested are aliases
36320 for other functions. Fix typo. Note that signs of NaNs are not
36323 * scripts/config.guess: Update from config.git.
36324 * scripts/config.sub: Likewise.
36326 2012-10-04 Roland McGrath <roland@hack.frob.com>
36328 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
36329 * misc/madvise.c (madvise): Renamed to __madvise.
36330 Make madvise a weak alias.
36331 * include/sys/mman.h: Declare __madvise.
36332 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
36333 * sysdeps/unix/syscalls.list
36334 (madvise): Make __madvise the strong name, and madvise a weak alias.
36335 * sysdeps/unix/sysv/linux/syscalls.list
36336 (madvise, mmap): Remove redundant entries.
36337 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
36338 * malloc/malloc.c (mtrim): Likewise.
36339 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
36341 2012-10-03 Roland McGrath <roland@hack.frob.com>
36343 * sysdeps/mach/hurd/dl-cache.c: File removed.
36344 * config.h.in (USE_LDCONFIG): New #undef.
36345 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
36346 * configure: Regenerated.
36347 * elf/Makefile (dl-routines): Add dl-cache only under
36348 [$(use-ldconfig) = yes].
36349 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
36350 cache on [USE_LDCONFIG].
36351 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
36353 * elf/rtld.c (dl_main): Likewise.
36355 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
36357 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
36358 _SC_LEVEL4_CACHE_LINESIZE.
36360 2012-10-03 Roland McGrath <roland@hack.frob.com>
36362 * sysdeps/unix/bsd/confstr.h: File removed.
36364 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
36366 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
36369 2012-10-02 Roland McGrath <roland@hack.frob.com>
36371 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
36372 Make 'mapoff' field ElfW(Off) rather than off_t.
36374 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
36376 * nscd/Makefile: Remove nscd-cflags and all its users.
36377 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
36378 (CFLAGS-nonlib): Add compiler flags for nscd modules.
36381 * malloc.c (malloc_printerr): Clarify error message.
36383 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
36386 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36387 Set bit_FMA_Usable if FMA is supported.
36388 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
36390 (bit_FMA4_Usable): Updated.
36391 (index_FMA_Usable): New macro.
36392 (CPUID_FMA): Likewise
36393 (HAS_FMA): Defined with bit_FMA_Usable.
36395 2012-10-01 Roland McGrath <roland@hack.frob.com>
36397 * bits/types.h (__swblk_t): Type removed.
36398 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
36399 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
36400 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36401 (__SWBLK_T_TYPE): Likewise.
36402 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36403 (__SWBLK_T_TYPE): Likewise.
36404 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36405 (__SWBLK_T_TYPE): Likewise.
36406 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36407 (__SWBLK_T_TYPE): Likewise.
36409 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
36410 Honza Horak <hhorak@redhat.com>
36412 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
36413 (xdr_mapname): Use YPMAXMAP as maxsize.
36414 (xdr_peername): Use YPMAXPEER as maxsize.
36415 (xdr_keydat): Use YPAXRECORD as maxsize.
36416 (xdr_valdat): Use YPMAXRECORD as maxsize.
36418 2012-10-01 Roland McGrath <roland@hack.frob.com>
36420 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
36422 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
36423 * csu/init-first.c: ... here.
36424 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
36425 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36426 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
36427 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36428 * sysdeps/i386/init-first.c: File removed.
36429 * sysdeps/sh/init-first.c: File removed.
36431 2012-10-01 Joseph Myers <joseph@codesourcery.com>
36434 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
36435 if x * y might underflow to zero and z is zero.
36436 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36437 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36438 * math/libm-test.inc (min_subnorm_value): New variable.
36439 (fma_test): Add more tests.
36440 (fma_test_towardzero): Likewise.
36441 (fma_test_downward): Likewise
36442 (fma_test_upward): Likewise.
36443 (initialize): Set min_subnorm_value.
36445 2012-09-29 Joseph Myers <joseph@codesourcery.com>
36448 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
36450 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
36451 mode for addition resulting in exact zero.
36452 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
36453 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
36455 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36456 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36457 * math/libm-test.inc (fma_test): Add more tests.
36458 (fma_test_towardzero): New function.
36459 (fma_test_downward): Likewise.
36460 (fma_test_upward): Likewise.
36461 (main): Call the new functions.
36463 2012-09-28 David S. Miller <davem@davemloft.net>
36465 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
36467 2012-09-28 Roland McGrath <roland@hack.frob.com>
36469 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
36470 instead of SIGALRM.
36472 * sysdeps/gnu/_G_config.h: Moved to ...
36473 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
36474 * sysdeps/mach/hurd/_G_config.h: Moved to ...
36475 * sysdeps/generic/_G_config.h: ... here.
36477 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
36479 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
36481 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
36482 Conditionalize target on [libnss_test1.so-version].
36484 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
36486 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
36487 (elfobjdir): Move out of conditionals.
36489 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
36490 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
36491 (__nss_lookup_function): Conditionalize label remove_from_tree on
36492 [!DO_STATIC_NSS || SHARED], matching its only use.
36494 2012-09-28 David S. Miller <davem@davemloft.net>
36496 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
36497 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
36499 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36501 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36502 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
36503 when HWCAP_SPARC_CRYPTO is present.
36505 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36507 * io/tst-mknodat.c: Create a FIFO instead of a socket.
36509 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
36512 * stdio-common/vfprintf.c (process_string_arg): Revert
36515 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
36517 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
36519 * stdio-common/tst-sprintf.c: Include <locale.h>
36520 (main): Test sprintf's handling of incomplete multibyte
36523 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
36525 * elf/dl-runtime.c (VERSYMIDX): Removed.
36526 * elf/dl-version.c (VERSYMIDX): Likewise.
36527 * elf/do-rel.h (VERSYMIDX): Likewise.
36528 (VALIDX): Likewise.
36529 * elf/dynamic-link.h (VERSYMIDX): Likewise.
36530 * elf/rtld.c (VALIDX): Likewise.
36531 (ADDRIDX): Likewise.
36532 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
36533 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
36534 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
36535 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
36536 (VALIDX): Likewise.
36537 (ADDRIDX): Likewise.
36539 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36541 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
36543 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
36546 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
36548 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
36549 addresses are in the same scope as 192.0.2/24.
36550 * posix/gai.conf: Document new scope table defaults.
36552 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36555 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
36556 for ftell. Compute offsets from write pointers instead.
36557 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36559 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36562 * libio/Makefile (tests): New test case tst-fseek.
36563 * libio/tst-fseek.c: New test case to verify that fseek/ftell
36564 combination works in wide mode.
36565 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
36566 state when the external buffer state changes.
36568 2012-09-27 David S. Miller <davem@davemloft.net>
36571 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
36572 pass reloc->r_addend in as the 'high' argument to
36573 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
36575 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36577 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36579 * rt/tst-aio2.c: Include <pthread.h>.
36580 * rt/tst-aio3.c: Likewise.
36582 2012-09-27 Steve Ellcey <sellcey@mips.com>
36584 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
36586 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
36588 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
36589 contents on [SHARED].
36591 2012-09-26 Marek Polacek <polacek@redhat.com>
36595 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
36596 for C++ and GCC <4.3 as well as for non GCC compilers.
36598 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
36600 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36602 2012-09-25 Roland McGrath <roland@hack.frob.com>
36604 * Makefile.in (all, install): Declare with .PHONY.
36605 Reported by Michael Hope <michael.hope@linaro.org>.
36607 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36609 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
36610 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
36612 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
36614 (sydep_routines): Add the new and the internal functions.
36615 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
36616 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
36617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
36618 (GLIBC_2.17): Add the new function.
36619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36620 (GLIBC_2.17): Likewise.
36621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
36622 (GLIBC_2.17): Likewise.
36623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
36624 (GLIBC_2.17): Likewise.
36625 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
36627 2012-09-25 Alan Modra <amodra@gmail.com>
36629 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
36630 Add release barrier before setting once_control to say
36631 initialisation is done. Add hints on lwarx. Use macro in
36633 (clear_once_control): Add release barrier.
36635 2012-09-25 Joseph Myers <joseph@codesourcery.com>
36638 * math/s_clog.c (__clog): Handle more values close to |z| = 1
36640 * math/s_clog10.c (__clog10): Likewise.
36641 * math/s_clog10f.c (__clog10f): Likewise.
36642 * math/s_clog10l.c (__clog10l): Likewise.
36643 * math/s_clogf.c (__clogf): Likewise.
36644 * math/s_clogl.c (__clogl): Likewise.
36645 * math/Makefile (libm-calls): Add x2y2m1.
36646 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
36647 (__x2y2m1): Likewise.
36648 (__x2y2m1l): Likewise.
36649 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
36650 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
36651 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
36652 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
36653 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
36654 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
36655 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
36656 * sysdeps/i386/fpu/libm-test-ulps: Update.
36657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36660 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
36661 int as type of variable DEPTH.
36662 (glob): Use size_t instead of int as type of variables NEWCOUNT
36665 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36667 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36668 Add s_sincosf-sse2.
36669 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
36670 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
36671 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
36672 macros for using routine as __sincosf_ia32.
36673 Use macro for function declaration and weak_alias.
36674 * sysdeps/i386/fpu/libm-test-ulps: Update.
36676 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
36677 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36679 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
36680 subnormal argument.
36681 * math/s_cexpf.c (__cexpf): Likewise.
36682 * math/s_csinf.c (__csinf): Likewise.
36683 * math/s_csinhf.c (__csinhf): Likewise.
36684 * math/s_ctanf.c (__ctanf): Likewise.
36685 * math/s_ctanhf.c (__ctanhf): Likewise.
36686 * math/s_ccosh.c (__ccoshf): Likewise.
36687 * math/s_cexp.c (__cexpl): Likewise.
36688 * math/s_csin.c (__csin): Likewise.
36689 * math/s_csinh.c (__csinh): Likewise.
36690 * math/s_ctan.c (__ctan): Likewise.
36691 * math/s_ctanh.c (ctanh): Likewise.
36692 * math/s_ccoshl.c (__ccoshl): Likewise.
36693 * math/s_cexpl.c (__cexpl): Likewise.
36694 * math/s_csinl.c (__csinl): Likewise.
36695 * math/s_csinhl.c (__csinhl): Likewise.
36696 * math/s_ctanl.c (__ctanl): Likewise.
36697 * math/s_ctanhl.c (__ctanhl): Likewise.
36699 2012-09-25 Joseph Myers <joseph@codesourcery.com>
36701 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
36702 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
36703 (_IO_off_t): Define to __off_t, not _G_off_t.
36704 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
36705 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
36706 (_IO_wint_t): Define to wint_t, not _G_wint_t.
36707 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
36708 type of __dummy and __dummy2 fields.
36709 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
36710 (_G_ssize_t): Likewise.
36711 (_G_off_t): Likewise.
36712 (_G_pid_t): Likewise.
36713 (_G_uid_t): Likewise.
36714 (_G_wchar_t): Likewise.
36715 (_G_wint_t): Likewise.
36716 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
36717 (_G_ssize_t): Likewise.
36718 (_G_off_t): Likewise.
36719 (_G_pid_t): Likewise.
36720 (_G_uid_t): Likewise.
36721 (_G_wchar_t): Likewise.
36722 (_G_wint_t): Likewise.
36723 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
36724 (_G_ssize_t): Likewise.
36725 (_G_off_t): Likewise.
36726 (_G_pid_t): Likewise.
36727 (_G_uid_t): Likewise.
36728 (_G_wchar_t): Likewise.
36729 (_G_wint_t): Likewise.
36731 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36733 * malloc/arena.c: Include malloc-sysdep.h.
36734 (shrink_heap): Use check_may_shrink_heap to decide if madvise
36735 is sufficient to shrink the heap or an unmap is needed.
36736 * sysdeps/generic/malloc-sysdep.h: New file. Define
36737 new function check_may_shrink_heap.
36738 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
36739 new function check_may_shrink_heap.
36741 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36743 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
36746 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
36748 * catgets/test-gencat.sh: Add "set -e".
36749 * elf/tst-pathopt.sh: Likewise.
36750 * grp/tst_fgetgrent.sh: Likewise.
36751 * iconvdata/run-iconv-test.sh: Likewise.
36752 * intl/tst-gettext.sh: Likewise.
36753 * intl/tst-gettext2.sh: Likewise.
36754 * intl/tst-gettext4.sh: Likewise.
36755 * intl/tst-gettext6.sh: Likewise.
36756 * intl/tst-translit.sh: Likewise.
36757 * io/ftwtest-sh: Likewise.
36758 * libio/test-freopen.sh: Likewise.
36759 * malloc/tst-mtrace.sh: Likewise.
36760 * posix/globtest.sh: Likewise.
36761 * posix/tst-getconf.sh: Likewise.
36762 * posix/wordexp-tst.sh: Likewise.
36763 * stdio-common/tst-printf.sh: Likewise.
36764 * stdio-common/tst-unbputc.sh: Likewise.
36765 * stdlib/tst-fmtmsg.sh: Likewise.
36766 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36767 * catgets/Makefile: Do not specify -e option when running
36768 testsuite shell scripts.
36769 * elf/Makefile: Likewise.
36770 * grp/Makefile: Likewise.
36771 * iconvdata/Makefile: Likewise.
36772 * intl/Makefile: Likewise.
36773 * io/Makefile: Likewise.
36774 * libio/Makefile: Likewise.
36775 * malloc/Makefile: Likewise.
36776 * posix/Makefile: Likewise.
36777 * stdio-common/Makefile: Likewise.
36778 * stdlib/Makefile: Likewise.
36779 * sysdeps/x86_64/Makefile: Likewise.
36781 * io/ftwtest-sh: Add copyright header.
36782 * posix/globtest.sh: Likewise.
36783 * posix/tst-getconf.sh: Likewise.
36784 * posix/wordexp-tst.sh: Likewise.
36785 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36787 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
36790 * Makeconfig (+link): Defined as $(+link-static) if
36791 $(build-shared) isn't yes.
36792 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
36794 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
36796 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
36799 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
36800 new chunk size with MALLOC_ALIGN_MASK.
36802 2012-09-24 Joseph Myers <joseph@codesourcery.com>
36805 * stdio-common/printf_fphex.c: Include <stdbool.h> and
36807 (__printf_fphex): Determine rounding using get_rounding_mode and
36809 * stdio-common/tst-printf-round.c (struct hex_test): New
36811 (hex_tests): New variable.
36812 (test_hex_in_one_mode): New function.
36813 (do_test): Also run tests for hex float output.
36815 2012-09-21 Joseph Myers <joseph@codesourcery.com>
36817 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36818 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36819 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
36820 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36821 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36822 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
36823 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36824 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36826 2012-09-20 Joseph Myers <joseph@codesourcery.com>
36828 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
36829 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
36830 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
36831 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
36833 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
36836 * elf/rtld.c (dl_main): Limit the check for self loading to normal
36838 * elf/tst-rtld-load-self.sh: New test.
36839 * elf/Makefile: Run it.
36841 2012-09-18 Joseph Myers <joseph@codesourcery.com>
36843 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
36844 (tst-writev-ENV): Remove.
36845 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
36847 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
36849 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
36851 2012-09-17 Joseph Myers <joseph@codesourcery.com>
36853 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
36855 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
36857 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
36858 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
36859 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
36862 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
36865 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
36866 * config.make.in (have-cpp-asm-debuginfo): Removed.
36867 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
36868 * configure: Regenerated.
36870 2012-09-14 Joseph Myers <joseph@codesourcery.com>
36873 * stdio-common/printf_fp.c: Include <stdbool.h> and
36875 (___printf_fp): Determine rounding using get_rounding_mode and
36877 * stdio-common/tst-printf-round.c: New file.
36878 * stdio-common/Makefile (tests): Add tst-printf-round.
36879 (link-libm): New variable.
36880 ($(objpfx)tst-printf-round): Depend in $(link-libm).
36882 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
36885 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
36886 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
36888 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
36891 2012-09-13 Joseph Myers <joseph@codesourcery.com>
36893 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
36894 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36895 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36896 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36898 2012-09-12 Joseph Myers <joseph@codesourcery.com>
36901 * include/rounding-mode.h: New file.
36902 * sysdeps/generic/get-rounding-mode.h: Likewise.
36903 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
36904 * stdlib/strtod_l.c: Include <rounding-mode.h>.
36905 (MAX_VALUE): New macro.
36906 (MIN_VALUE): Likewise.
36907 (overflow_value): New function.
36908 (underflow_value): Likewise.
36909 (round_and_return): Use overflow_value and underflow_value to
36910 determine return values in overflow and underflow cases. Use
36911 round_away to determine rounding depending on rounding mode.
36912 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
36913 determine return values in overflow and underflow cases.
36914 * stdlib/tst-strtod-round.c: Include <fenv.h>.
36915 (struct test_results): New structure.
36916 (struct test): Use struct test_results to store expected results
36917 for all rounding modes.
36918 (TEST): Include expected results for all rounding modes.
36919 (test_in_one_mode): New function.
36920 (do_test): Use test_in_one_mode to compute and check results.
36921 Check results for all rounding modes.
36922 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
36925 2012-12-09 Allan McRae <allan@archlinux.org>
36927 * sysdeps/i386/fpu/libm-test-ulps: Update
36929 2012-09-11 Joseph Myers <joseph@codesourcery.com>
36931 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
36932 (_G_int32_t): Likewise.
36933 (_G_uint16_t): Likewise.
36934 (_G_uint32_t): Likewise.
36935 (_G_HAVE_BOOL): Likewise.
36936 (_G_HAVE_ATEXIT): Likewise.
36937 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36938 (_G_HAVE_IO_FILE_OPEN): Likewise.
36939 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
36940 (_G_int32_t): Likewise.
36941 (_G_uint16_t): Likewise.
36942 (_G_uint32_t): Likewise.
36943 (_G_HAVE_BOOL): Likewise.
36944 (_G_HAVE_ATEXIT): Likewise.
36945 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36946 (_G_HAVE_IO_FILE_OPEN): Likewise.
36947 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
36948 (_G_int32_t): Likewise.
36949 (_G_uint16_t): Likewise.
36950 (_G_uint32_t): Likewise.
36951 (_G_HAVE_BOOL): Likewise.
36952 (_G_HAVE_ATEXIT): Likewise.
36953 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36954 (_G_HAVE_IO_FILE_OPEN): Likewise.
36956 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
36958 * csu/libc-tls.c: Update copyright years.
36960 2012-09-10 Joseph Myers <joseph@codesourcery.com>
36962 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
36963 [!_G_USING_THUNKS]: Remove conditional code.
36964 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
36965 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
36967 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
36968 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
36969 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36970 (_G_VTABLE_LABEL_PREFIX): Likewise.
36971 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36972 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36973 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36974 (_G_VTABLE_LABEL_PREFIX): Likewise.
36975 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36976 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36977 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36978 (_G_VTABLE_LABEL_PREFIX): Likewise.
36979 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36981 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
36983 * libio/Makefile: Include ../Makeconfig before tests.
36984 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
36985 only if $(build-shared) is yes.
36987 * iconv/gconv_db.c: Update copyright years.
36989 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36991 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
36992 unwind info if defined PIC. Fix special cases description.
36993 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
36995 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
36997 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
36999 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
37001 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
37003 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
37006 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
37007 (LDLIBS-tst-chk4): This.
37008 (LDFLAGS-tst-chk5): Renamed to ...
37009 (LDLIBS-tst-chk5): This.
37010 (LDFLAGS-tst-chk6): Renamed to ...
37011 (LDLIBS-tst-chk6): This.
37012 (LDFLAGS-tst-lfschk4): Renamed to ...
37013 (LDLIBS-tst-lfschk4): This.
37014 (LDFLAGS-tst-lfschk5): Renamed to ...
37015 (LDLIBS-tst-lfschk5): This.
37016 (LDFLAGS-tst-lfschk6): Renamed to ...
37017 (LDLIBS-tst-lfschk6): This.
37019 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
37020 on $(common-objpfx)soversions.mk.
37022 2012-09-07 Joseph Myers <joseph@codesourcery.com>
37025 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
37028 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
37030 * malloc/arena.c (arena_get_retry): New function that gets
37031 another arena for the caller to try its request on.
37032 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
37033 current arena cannot fulfill the request.
37034 (__libc_memalign): Likewise.
37035 (__libc_memalign): Likewise.
37036 (__libc_pvalloc): Likewise.
37037 (__libc_calloc): Likewise.
37039 2012-09-05 John Tobey <john.tobey@gmail.com>
37042 * manual/arith.texi (Operations on Complex): Fix description
37043 of carg branch cut.
37045 2012-09-06 Joseph Myers <joseph@codesourcery.com>
37048 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
37052 * manual/memory.texi (Memory): Make order of menu items match
37055 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37057 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
37058 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
37059 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
37061 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37063 * csu/libc-tls.c (static_dtv): Renamed to ...
37064 (_dl_static_dtv): This. Make it global.
37065 (_dl_initial_dtv): Removed.
37066 (__libc_setup_tls): Updated.
37067 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
37068 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
37071 2012-09-06 Petr Machata <pmachata@redhat.com>
37073 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
37074 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
37075 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
37076 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
37078 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37081 * csu/libc-tls.c (_dl_initial_dtv): New variable.
37082 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
37085 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37088 * Makeconfig (link-static-before-libc): Replace $(+prector)
37090 (link-static-after-libc): Replace $(+postctor) with
37092 (link-bounded): Replace $(+prector)/$(+postctor) with
37093 $(+prectorT)/$(+postctorT).
37094 (+prectorT): New macro.
37095 (+postctorT): Likewise.
37097 2012-09-06 Joseph Myers <joseph@codesourcery.com>
37099 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
37100 (round_str): Handle values above the maximum for IBM long double
37102 * stdlib/tst-strtod-round.c (tests): Regenerated.
37104 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37106 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
37108 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
37109 zarch_nohighgprs around the zarch optimized routines.
37110 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37111 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37112 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
37115 2012-09-05 David S. Miller <davem@davemloft.net>
37117 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37119 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
37120 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
37121 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
37122 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37125 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37127 * malloc/arena.c: Fold copyright years.
37128 * malloc/mcheck.c, malloc/memusage.c: Likewise.
37130 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37132 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
37134 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37136 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
37138 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37140 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
37141 change internal state upon failure.
37143 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37145 * malloc/mcheck.c (mcheck_check_all): Fix typo.
37146 * malloc/memusage.c (mmap): Likewise.
37147 (mmap64, mremap): Likewise. Adjust name in comment.
37149 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37151 * libio/fileops.c: Fix typos in comments.
37152 * libio/oldfileops.c: Likewise.
37153 * libio/wfileops.c: Likewise.
37155 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37158 * malloc/Makefile (tests): Add tst-malloc-usable test case.
37159 (tst-malloc-usable-ENV): Set environment for test case.
37160 * malloc/hooks.c (malloc_check_get_size): New function to get
37162 * malloc/malloc.c (musable): Use malloc_check_get_size.
37163 * malloc/tst-malloc-usable.c: New test case.
37165 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37167 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
37169 2012-09-05 Allan McRae <allan@archlinux.org>
37172 * configure.in (CXX_SYSINCLUDES): Use compiler output to
37173 determine header location.
37174 * configure: Regenerated.
37176 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37178 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
37180 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
37181 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
37183 (test): Regenerate.
37185 2012-09-04 David S. Miller <davem@davemloft.net>
37187 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
37188 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
37189 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
37191 2012-09-04 Florian Weimer <fweimer@redhat.com>
37193 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
37196 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
37198 2012-09-04 Joseph Myers <joseph@codesourcery.com>
37201 * libio/iogetdelim.c: Include <limits.h>.
37202 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
37203 + len + 1 would overflow.
37205 2012-09-03 Andreas Jaeger <aj@suse.de>
37207 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37208 * sysdeps/i386/fpu/libm-test-ulps: Update.
37210 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37212 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37213 Add s_sinf-sse2, s_conf-sse2.
37215 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
37216 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
37217 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
37218 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
37220 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
37221 for using routine as __sinf_ia32.
37222 Use macro for function declaration and weak_alias.
37223 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
37224 for using routine as __cosf_ia32.
37225 Use macro for function declaration and weak_alias.
37227 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
37228 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
37230 * sysdeps/x86_64/fpu/s_sinf.S: New file.
37231 * sysdeps/x86_64/fpu/s_cosf.S: New file.
37232 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37234 * math/libm-test.inc (cos_test): Add more test cases.
37235 (sin_test): Likewise.
37236 (sincos_test): Likewise.
37238 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37240 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37241 (IFUNC_RESOLVE): Make pointers to the specialized implementations
37243 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37245 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
37248 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
37249 first element of the GOT.
37250 (elf_machine_load_address): Return the difference between
37251 the runtime address of _DYNAMIC and elf_machine_dynamic ().
37253 2012-09-01 Allan McRae <allan@archlinux.org>
37256 * configure.in (AWK): Require gawk version 3.0 or later.
37257 * configure: Regenerated.
37259 2012-09-01 Joseph Myers <joseph@codesourcery.com>
37261 * sysdeps/unix/sysv/linux/kernel-features.h
37262 (__ASSUME_POSIX_CPU_TIMERS): Remove.
37263 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37264 [__NR_clock_getres]: Make code unconditional.
37265 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
37266 (clock_getcpuclockid): Remove code left unreachable by removal of
37268 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
37269 code unconditional.
37270 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37271 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37272 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
37273 Make code unconditional.
37274 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37275 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37276 * sysdeps/unix/sysv/linux/clock_settime.c
37277 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
37279 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
37280 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37282 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
37285 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
37286 scripts/test-installation.pl.
37288 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
37289 and $ld_so_version if it is set.
37291 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37294 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
37295 failure if reading from procfs failed.
37296 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
37298 2012-08-27 Joseph Myers <joseph@codesourcery.com>
37300 * sysdeps/unix/sysv/linux/kernel-features.h
37301 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
37302 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37303 Remove conditional code.
37304 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37305 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
37306 Remove conditional code.
37307 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37308 * sysdeps/unix/sysv/linux/i386/fxstat.c
37309 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37310 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37311 * sysdeps/unix/sysv/linux/i386/fxstatat.c
37312 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37313 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37314 * sysdeps/unix/sysv/linux/i386/lxstat.c
37315 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37316 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37317 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
37318 Remove conditional code.
37319 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37320 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37321 Remove conditional code.
37322 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37323 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
37324 <kernel-features.h>.
37325 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
37327 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
37328 Remove conditional code.
37329 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37330 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
37331 Remove conditional.
37333 2012-08-27 Mike Frysinger <vapier@gentoo.org>
37336 * NEWS: Add fixed bug number.
37338 2012-08-27 Joseph Myers <joseph@codesourcery.com>
37341 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
37342 underflowing exponent in case of negative sign.
37343 * stdlib/tst-strtod-round-data: Add more tests.
37344 * stdlib/tst-strtod-round.c (tests): Regenerated.
37347 * stdlib/strtod_l.c (NDIG): Remove.
37348 (HEXNDIG): Likewise.
37349 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
37350 smallest representable value.
37351 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
37352 lie within an exact representation of 1/2 ulp of the result.
37353 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
37355 (TENS_P9_IDX): Define unconditionally.
37356 (TENS_P9_SIZE): Likewise.
37357 (TENS_P10_IDX): Likewise.
37358 (TENS_P10_SIZE): Likewise.
37359 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
37360 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
37361 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
37362 entries for 10^2^13 and 10^2^14.
37363 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
37364 (TENS_P13_IDX): Define.
37365 (TENS_P13_SIZE): Likewise.
37366 (TENS_P14_IDX): Likewise.
37367 (TENS_P14_SIZE): Likewise.
37368 (_fpioconst_pow10): Change array size to
37369 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
37371 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
37372 1024]: Add entries for 10^2^13 and 10^2^14.
37373 [LAST_POW10 > _LAST_POW10]: Remove #error.
37374 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
37375 (_fpioconst_pow10): Change array size to
37376 FPIOCONST_POW10_ARRAY_SIZE.
37377 * stdlib/gen-fpioconst.c: New file.
37378 * stdlib/gen-tst-strtod-round.c: Likewise.
37379 * stdlib/tst-strtod-round-data: Likewise.
37380 * stdlib/tst-strtod-round.c: Likewise.
37381 * stdlib/Makefile (tests): Add tst-strtod-round.
37384 * stdlib/strtod_l.c: Include <stdint.h>.
37385 (NDEBUG): Do not define.
37386 (round_and_return): Change EXPONENT parameter to type intmax_t.
37387 Rearrange calculations to avoid internal overflow possibilities.
37388 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
37389 Rearrange calculations to avoid internal overflow possibilities.
37390 Assert that number fits inside MPNSIZE limbs.
37391 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
37392 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
37393 calculations and add assertions to avoid internal overflow
37394 possibilities. Add casts to avoid signed/unsigned operations.
37395 * stdlib/tst-strtod-overflow.c: New file.
37396 * stdlib/Makefile (tests): Add tst-strtod-overflow.
37398 2012-08-25 Marek Polacek <polacek@redhat.com>
37400 * time/time.h: Fix some typos in comments.
37402 2012-08-23 Roland McGrath <roland@hack.frob.com>
37404 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
37405 * posix/tst-rfc3484-2.c: Likewise.
37406 * posix/tst-rfc3484-3.c: Likewise.
37408 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
37410 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
37411 (EF_ARM_ABI_FLOAT_HARD): Likewise.
37413 2012-08-23 Joseph Myers <joseph@codesourcery.com>
37415 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
37416 #include of fxstatat64.c.
37418 2012-08-22 Roland McGrath <roland@hack.frob.com>
37420 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
37421 * shadow/getspent_r.c: Likewise.
37422 * shadow/getspnam.c: Likewise.
37423 * shadow/getspnam_r.c: Likewise.
37424 * gshadow/getsgent.c: Likewise.
37425 * gshadow/getsgent_r.c: Likewise.
37426 * gshadow/getsgnam.c: Likewise.
37427 * gshadow/getsgnam_r.c: Likewise.
37428 * inet/getnetbyad.c: Likewise.
37429 * inet/getnetbyad_r.c: Likewise.
37430 * inet/getnetbynm.c: Likewise.
37431 * inet/getnetbynm_r.c: Likewise.
37432 * inet/getnetent.c: Likewise.
37433 * inet/getnetent_r.c: Likewise.
37434 * inet/getproto.c: Likewise.
37435 * inet/getproto_r.c: Likewise.
37436 * inet/getprtent.c: Likewise.
37437 * inet/getprtent_r.c: Likewise.
37438 * inet/getprtname.c: Likewise.
37439 * inet/getprtname_r.c: Likewise.
37440 * inet/getrpcbyname.c: Likewise.
37441 * inet/getrpcbyname_r.c: Likewise.
37442 * inet/getrpcbynumber.c: Likewise.
37443 * inet/getrpcbynumber_r.c: Likewise.
37444 * inet/getrpcent.c: Likewise.
37445 * inet/getrpcent_r.c: Likewise.
37446 * inet/getaliasent.c: Likewise.
37447 * inet/getaliasent_r.c: Likewise.
37448 * inet/getaliasname.c: Likewise.
37449 * inet/getaliasname_r.c: Likewise.
37450 * nscd/getgrgid_r.c: Likewise.
37451 * nscd/getgrnam_r.c: Likewise.
37452 * nscd/gethstbyad_r.c: Likewise.
37453 * nscd/gethstbynm3_r.c: Likewise.
37454 * nscd/getpwnam_r.c: Likewise.
37455 * nscd/getpwuid_r.c: Likewise.
37456 * nscd/getsrvbynm_r.c: Likewise.
37457 * nscd/getsrvbypt_r.c: Likewise.
37458 * nscd/gai.c: Likewise.
37460 * configure.in (build_nscd): New substituted variable, set
37461 by --disable-build-nscd and defaults to $use_nscd.
37462 * configure: Regenerated.
37463 * config.make.in (build-nscd): New substituted variable.
37464 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
37465 Change conditional to require [$(build-nscd) = yes] as well.
37466 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
37469 * configure.in (use_nscd): New substituted variable, set by
37470 --disable-nscd. If enabled, define USE_NSCD.
37471 * configure: Regenerated.
37472 * config.h.in: Add USE_NSCD.
37473 * config.make.in (use-nscd): New substituted variable.
37474 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
37475 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
37476 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
37477 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
37478 (CFLAGS-getgrnam_r.c): Likewise.
37479 (CFLAGS-initgroups.c): Likewise.
37480 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
37481 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
37483 * inet/getnetgrent_r.c
37484 (nscd_setnetgrent): New function, broken out of ...
37485 (setnetgrent): ... here. Call it.
37486 (innetgr): Conditionalize nscd bits on [USE_NSCD].
37487 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
37488 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
37489 * nscd/Makefile (routines, aux): Move definitions after include of
37490 Makeconfig. Conditionalize on [$(use-nscd) != no].
37491 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
37492 Conditionalize on [USE_NSCD].
37493 (is_nscd, nscd_init_cb): Likewise.
37494 (nss_load_library): Conditionalize init callback on [USE_NSCD].
37495 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
37496 * nss/nss_db/db-init.c: Likewise.
37497 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
37499 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
37500 (make_request): Use it.
37501 (cache_valid_p): New function.
37502 (__check_pf): Use it.
37503 * NEWS: Add item for --disable-nscd.
37505 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
37507 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
37508 to support sed >= 4.2.1-20-ga9bf076.
37509 * configure: Regenerated.
37511 2012-08-22 Roland McGrath <roland@hack.frob.com>
37513 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
37514 Conditionalize whole body on [IREL].
37516 2012-08-22 Jeff Law <law@redhat.com>
37519 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
37520 if the family is PF_UNSPEC.
37522 2012-08-22 Mike Frysinger <vapier@gentoo.org>
37524 * Makerules (lib-version): Rename from V.
37525 (install-lib-nosubdir): Change V to lib-version.
37527 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
37530 * powerpc32/power6/wcschr.c: New file.
37531 * powerpc32/power6/wcscpy.c: New file.
37532 * powerpc32/power6/wcsrchr.c: New file.
37533 * powerpc64/power6/wcschr.c: New file.
37534 * powerpc64/power6/wcscpy.c: New file.
37535 * powerpc64/power6/wcsrchr.c: New file.
37537 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
37539 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
37540 (two_way_short_needle): Use it.
37541 * string/strstr.c (AVAILABLE1_USES_J): Define.
37542 * string/strcasestr.c: Likewise.
37544 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
37546 * string/strcasestr.c (TOLOWER): Make side-effect safe.
37549 * NEWS: Add an entry.
37550 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
37551 define their defaults.
37552 (two_way_short_needle): Detect end-of-string on-the-fly.
37553 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
37554 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
37555 * string/bug-strcasestr1.c: New test.
37556 * string/Makefile: Run it.
37558 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
37561 * string/str-two-way.h (two_way_short_needle): Optimize matching of
37562 the first character.
37564 2012-08-21 Roland McGrath <roland@hack.frob.com>
37566 * csu/elf-init.c (__libc_csu_irel): Function removed.
37567 * csu/libc-start.c (apply_irel): New function.
37568 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
37570 2012-08-21 Joseph Myers <joseph@codesourcery.com>
37572 * sysdeps/unix/sysv/linux/kernel-features.h
37573 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
37574 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37575 <kernel-features.h>.
37576 [__NR_fadvise64_64]: Make code unconditional.
37577 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
37578 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37579 !__NR_fadvise64_64)]: Likewise.
37580 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37581 !__NR_fadvise64_64))]: Likewise.
37582 [__NR_fadvise64]: Make code unconditional.
37583 [!__NR_fadvise64]: Remove conditional code.
37584 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
37585 <kernel-features.h>.
37586 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37588 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
37591 not include <kernel-features.h>.
37592 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37594 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37596 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
37597 include <kernel-features.h>.
37598 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37600 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37603 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
37605 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
37606 slight instruction rearrangements per scrollpipe analysis.
37607 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37609 2012-08-20 Roland McGrath <roland@hack.frob.com>
37611 * manual/syslog.texi (syslog; vsyslog, closelog):
37612 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
37613 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
37615 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
37616 DSOCAPS to match condition on defining it.
37618 2012-08-20 Joseph Myers <joseph@codesourcery.com>
37620 * sysdeps/unix/sysv/linux/kernel-features.h
37621 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
37622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
37623 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37624 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
37626 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37627 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
37629 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37630 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37632 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
37633 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
37635 * sysdeps/unix/sysv/linux/kernel-features.h
37636 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
37637 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
37639 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37640 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
37641 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37642 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37643 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
37644 Make code unconditional.
37645 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37646 (__mmap64) [!__NR_mmap2]: Likewise.
37647 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
37648 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37649 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37650 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
37651 [__NR_mmap2]: Make code unconditional.
37652 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37653 (__mmap64) [!__NR_mmap2]: Likewise.
37655 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37657 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
37659 2012-08-18 Andreas Jaeger <aj@suse.de>
37661 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
37663 2012-08-18 Mike Frysinger <vapier@gentoo.org>
37665 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
37666 * include/unistd.h (__have_sock_cloexec): Likewise.
37667 (__have_pipe2): Likewise.
37668 (__have_dup3): Likewise.
37670 2012-08-18 Mike Frysinger <vapier@gentoo.org>
37673 * include/unistd.h (__have_pipe2): Change define into an extern int.
37674 (__have_dup3): Likewise.
37675 * socket/have_sock_cloexec.c: Include fcntl.h.
37676 (__have_pipe2): New variable.
37677 (__have_dup3): Likewise.
37679 2012-08-17 Mike Frysinger <vapier@gentoo.org>
37681 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
37683 2012-08-17 Marek Polacek <polacek@redhat.com>
37685 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
37686 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
37688 2012-08-17 Roland McGrath <roland@hack.frob.com>
37690 * configure.in: Add AC_SUBST for sysheaders.
37691 * configure: Regenerated.
37692 * config.make.in (sysheaders): New substituted variable.
37694 * sysdeps/unix/mkfifo.c: Moved ...
37695 * sysdeps/posix/mkfifo.c: ... here.
37696 * sysdeps/unix/mkfifoat.c: Moved ...
37697 * sysdeps/posix/mkfifoat.c: ... here.
37699 * sysdeps/unix/utime.c: Moved ...
37700 * sysdeps/posix/utime.c: ... here.
37702 * sysdeps/unix/time.c: Moved ...
37703 * sysdeps/posix/time.c: ... here.
37704 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
37705 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
37707 * sysdeps/unix/nice.c: Moved ...
37708 * sysdeps/posix/nice.c: ... here.
37710 * sysdeps/unix/alarm.c: Moved ...
37711 * sysdeps/posix/alarm.c: ... here.
37713 * intl/Makefile ($(codeset_mo)): Depend on the input file.
37715 2012-08-17 Jeff Law <law@redhat.com>
37717 * intl/Makefile (codeset_mo): New variable.
37718 ($(codeset_mo)): New target.
37719 (tst-codeset.out): Depend on that. Remove explicit rule.
37720 (tst-gettext3.out, tst-gettext5.out): Likewise.
37721 (LOCPATH-ENV, tst-codeset-ENV): New variables.
37722 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
37723 * intl/tst-codeset.sh: Remove.
37724 * intl/tst-gettext3.sh: Likewise.
37725 * intl/tst-gettext5.sh: Likewise.
37727 2012-08-17 Roland McGrath <roland@hack.frob.com>
37729 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
37730 * sysdeps/unix/syscalls.list: ... here.
37732 * sysdeps/posix/getaddrinfo.c
37733 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
37734 (gaiconf_init, gaiconf_reload): Use them.
37735 [!_STATBUF_ST_NSEC]
37736 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
37737 Define using time_t rather than struct timespec.
37739 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
37740 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
37742 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
37744 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
37745 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
37748 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
37749 __libc_cleanup_push argument.
37751 * bits/param.h: New file.
37752 * misc/sys/param.h: New file.
37753 * include/sys/param.h: New file.
37754 * misc/Makefile (headers): Add bits/param.h.
37755 * sysdeps/generic/sys/param.h: File removed.
37756 * sysdeps/unix/sysv/linux/bits/param.h: New file.
37757 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
37758 * sysdeps/mach/hurd/bits/param.h: New file.
37759 * sysdeps/mach/hurd/sys/param.h: File removed.
37761 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
37764 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
37766 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
37767 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
37770 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
37771 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
37772 rather than -D_IO_MTSAFE_IO conditionally.
37773 * stdio-common/Makefile (CPPFLAGS): Likewise.
37774 * wcsmbs/Makefile (CPPFLAGS): Likewise.
37775 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
37776 Use $(libio-mtsafe).
37777 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
37778 of -D_IO_MTSAFE_IO.
37779 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
37780 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
37781 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
37782 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
37783 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
37784 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
37785 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
37786 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
37787 (CFLAGS-fread_u_chk.c): Likewise.
37788 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
37789 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
37790 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
37791 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
37792 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
37793 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
37794 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
37795 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
37796 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
37798 * libio/Makefile: Test [$(libc-reentrant) = yes]
37799 instead of [$(filter %REENTRANT, $(defines)) nonempty].
37802 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
37803 * sysdeps/pthread/configure: File removed.
37804 * sysdeps/pthread/Makeconfig: New file.
37805 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
37806 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
37808 2012-08-16 Gary Benson <gbenson@redhat.com>
37810 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
37811 unmapping the first object in a namespace.
37813 2012-08-16 Roland McGrath <roland@hack.frob.com>
37815 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
37816 (__internal_setnetgrent): ... this. Add internal_function to
37817 definition. Add libc_hidden_def.
37818 (setnetgrent): Update caller.
37819 (internal_endnetgrent): Renamed to ...
37820 (__internal_endnetgrent): ... this. Add internal_function to
37821 definition. Add libc_hidden_def.
37822 (endnetgrent): Update caller.
37823 (internal_getnetgrent_r): Renamed to ...
37824 (__internal_getnetgrent_r): ... this. Add internal_function to
37825 definition. Add libc_hidden_def.
37826 (__getnetgrent_r): Update caller.
37827 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
37829 2012-08-16 Joseph Myers <joseph@codesourcery.com>
37831 * stdlib/longlong.h: Update from GCC.
37833 2012-08-16 Roland McGrath <roland@hack.frob.com>
37835 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
37836 on _QL, which is set by umul_ppmm but never used.
37837 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
37838 variables, which are set by GMP macros but never used.
37839 * stdio-common/_itowa.c (_itowa): Likewise.
37840 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
37841 * stdlib/mod_1.c (mpn_mod_1): Likewise.
37843 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
37845 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
37846 struct La_sh_regs is not constant.
37847 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
37848 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
37849 and struct La_sparc64_regs are not constant.
37851 2012-08-16 Joseph Myers <joseph@codesourcery.com>
37853 * sysdeps/unix/sysv/linux/kernel-features.h
37854 (__ASSUME_POSIX_TIMERS): Remove.
37855 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37856 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37857 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
37858 Make code unconditional.
37859 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37860 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
37861 Make code unconditional.
37862 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37863 * sysdeps/unix/sysv/linux/clock_nanosleep.c
37864 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
37865 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37866 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
37867 Make code unconditional.
37868 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37869 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
37870 (__libc_missing_posix_timers): Remove.
37872 2012-08-15 Roland McGrath <roland@hack.frob.com>
37874 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
37875 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
37877 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
37879 * elf/dl-sym.c: Include <stdlib.h>.
37881 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
37882 constants, which avoids warnings in 32-bit builds.
37884 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
37885 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
37887 * misc/lseek.c: File moved to ...
37888 * io/lseek.c: ... here.
37890 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
37892 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
37893 shifting LEN more than 31 bits at once.
37895 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37898 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
37899 segmentation fault for a case of two empty input strings.
37900 * string/test-strncasecmp.c (check1): Renamed to...
37901 (bz12205): ...this.
37902 (bz14195): Add new testcase for two empty input strings and N > 0.
37903 (test_main): Call new testcase, adapt for renamed function.
37905 2012-08-15 Andreas Jaeger <aj@suse.de>
37908 * crypt/md5test2.c: New test, based on test supplied by Serge
37909 Belyshev <belyshev@depni.sinp.msu.ru>.
37910 * crypt/Makefile (xtests): Add md5test-giant..
37911 * crypt/Makefile ($(objpfx)md5test-giant): Add.
37913 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
37916 * crypt/md5.c (md5_process_block): Don't assume the buffer
37917 length is less than 2**32.
37918 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
37919 length is less than 2**64.
37921 2012-08-15 Roland McGrath <roland@hack.frob.com>
37923 * string/str-two-way.h: Include <sys/param.h>.
37924 (MAX): Macro removed.
37926 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
37927 Move #define and #undef of memmove to just before and after
37928 including <string.h>.
37930 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
37931 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
37932 and after including <string.h>. Move declarations of
37933 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
37934 to before #include "string/memmove.c".
37936 * include/dirent.h: Declare __getdirentries.
37938 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
37939 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
37941 2012-08-14 Mike Frysinger <vapier@gentoo.org>
37943 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
37944 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
37945 * sysdeps/i386/configure: Regenerated.
37946 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
37947 STABS_CURRENT_FILE, and STABS_FUN.
37948 (END): Remove call to STABS_FUN_END.
37949 (STABS_CURRENT_FILE1): Delete.
37950 (STABS_CURRENT_FILE): Likewise.
37951 (STABS_FUN): Likewise.
37952 (STABS_FUN_END): Likewise.
37953 (STABS_FUN2): Likewise.
37954 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
37955 * sysdeps/x86_64/configure: Regenerated.
37957 2012-08-14 Roland McGrath <roland@hack.frob.com>
37959 * elf/dl-open.c: Include <atomic.h>.
37960 * elf/dl-lookup.c: Likewise.
37962 2012-08-14 Joseph Myers <joseph@codesourcery.com>
37964 * sysdeps/unix/sysv/linux/kernel-features.h
37965 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
37966 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
37968 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
37970 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
37971 condition on __ASSUME_CLONE_THREAD_FLAGS.
37973 2012-08-14 Andreas Jaeger <aj@suse.de>
37975 * sysdeps/i386/fpu/libm-test-ulps: Update.
37977 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
37979 * include/atomic.h (atomic_exchange_and_add): Split into ...
37980 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
37983 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
37985 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37987 2012-08-13 Jeff Law <law@redhat.com>
37989 * manual/stdio.texi (snprintf): Clarify handling of the trailing
37990 null byte in the output string.
37992 2012-08-10 Joseph Myers <joseph@codesourcery.com>
37994 * sysdeps/unix/sysv/linux/kernel-features.h
37995 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
37996 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
37997 (__ASSUME_ARG_MAX_STACK_BASED): Define.
37998 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37999 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
38000 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
38001 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
38003 2012-08-09 Jeff Law <law@redhat.com>
38006 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
38007 When avoid_arena is set, don't retry in the that arena. Pick the
38008 next one, whatever it might be.
38009 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
38010 (arena_lock): Pass in new parameter to arena_get2.
38011 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
38013 (__libc_malloc): Unify retrying after main arena failure with
38014 __libc_memalign version.
38015 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
38017 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
38020 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
38021 to __redirect_strstr.
38022 (__strstr_sse42): Use typeof __redirect_strstr.
38023 (__strstr_ia32): Likewise.
38024 (__libc_strstr): New prototype.
38025 (strstr): Renamed to ...
38026 (__libc_strstr): This.
38027 (strstr): New strong alias of __libc_strstr.
38028 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38029 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
38032 (__libc_time): New prototype.
38033 (time_ifunc): Replace time with __libc_time.
38034 (time): New strong alias and hidden definition of __libc_time.
38035 (__GI_time): Remove strong alias.
38036 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
38037 Include <stddef.h>.
38038 (memmove): Redefined to __redirect_memmove.
38039 (__memmove_sse2): Use typeof __redirect_memmove.
38040 (__memmove_ssse3): Likewise.
38041 (__memmove_ssse3_back): Likewise.
38042 (__libc_memmove): New prototype.
38043 (memmove): Renamed to ...
38044 (__libc_memmove): This.
38045 (memmove): New strong alias of __libc_memmove.
38047 2012-08-08 Mark Salter <msalter@redhat.com>
38050 (R_MN10300_TLS_GD): Define.
38051 (R_MN10300_TLS_LD): Likewise.
38052 (R_MN10300_TLS_LDO): Likewise.
38053 (R_MN10300_TLS_GOTIE): Likewise.
38054 (R_MN10300_TLS_IE): Likewise.
38055 (R_MN10300_TLS_LE): Likewise.
38056 (R_MN10300_TLS_DTPMOD): Likewise.
38057 (R_MN10300_TLS_DTPOFF): Likewise.
38058 (R_MN10300_TLS_TPOFF): Likewise.
38059 (R_MN10300_SYM_DIFF): Likewise.
38060 (R_MN10300_ALIGN): Likewise.
38061 (R_MN10300_NUM): Update.
38063 2012-08-08 Joseph Myers <joseph@codesourcery.com>
38065 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
38068 2012-08-08 Roland McGrath <roland@hack.frob.com>
38070 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
38072 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
38073 sysdeps/unix -> sysdeps/posix move.
38074 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38076 2012-08-07 Allan McRae <allan@archlinux.org>
38079 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
38080 (SUNOS_CPP): Likewise.
38081 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
38083 (open_input): Call CPP using execvp.
38085 2012-08-07 Joseph Myers <joseph@codesourcery.com>
38087 * sysdeps/unix/sysv/linux/kernel-features.h
38088 (__ASSUME_PROT_GROWSUPDOWN): Remove.
38089 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38090 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38091 (__ASSUME_WAITID_SYSCALL): Likewise.
38092 * sysdeps/unix/sysv/linux/dl-execstack.c
38093 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
38094 code unconditional.
38095 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
38097 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
38098 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
38099 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
38101 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
38103 [__ASSUME_WAITID_SYSCALL]: Likewise.
38104 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
38106 2012-08-07 Roland McGrath <roland@hack.frob.com>
38108 * sysdeps/unix/closedir.c: Renamed to ...
38109 * sysdeps/posix/closedir.c: ... here.
38110 * sysdeps/unix/dirfd.c: Renamed to ...
38111 * sysdeps/posix/dirfd.c: ... here.
38112 * sysdeps/unix/dirstream.h: Renamed to ...
38113 * sysdeps/posix/dirstream.h: ... here.
38114 * sysdeps/unix/fdopendir.c: Renamed to ...
38115 * sysdeps/posix/fdopendir.c: ... here.
38116 * sysdeps/unix/opendir.c: Renamed to ...
38117 * sysdeps/posix/opendir.c: ... here.
38118 * sysdeps/unix/readdir.c: Renamed to ...
38119 * sysdeps/posix/readdir.c: ... here.
38120 * sysdeps/unix/readdir_r.c: Renamed to ...
38121 * sysdeps/posix/readdir_r.c: ... here.
38122 * sysdeps/unix/rewinddir.c: Renamed to ...
38123 * sysdeps/posix/rewinddir.c: ... here.
38124 * sysdeps/unix/seekdir.c: Renamed to ...
38125 * sysdeps/posix/seekdir.c: ... here.
38126 * sysdeps/unix/telldir.c: Renamed to ...
38127 * sysdeps/posix/telldir.c: ... here.
38128 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
38129 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
38130 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
38131 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
38133 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
38134 * bits/fcntl.h: ... here.
38136 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
38138 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
38139 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
38140 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
38141 (struct flock): Move l_start, l_len to the beginning.
38142 Use __pid_t for l_pid.
38143 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
38144 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
38145 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
38146 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
38147 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
38148 [__USE_LARGEFILE64] (struct flock64): New type.
38149 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
38151 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
38152 * bits/dirent.h: ... here.
38154 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
38155 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
38157 2012-08-07 Joseph Myers <joseph@codesourcery.com>
38159 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38160 Change from 2.6.0 to 2.6.16.
38161 * sysdeps/unix/sysv/linux/configure: Regenerated.
38162 * sysdeps/unix/sysv/linux/kernel-features.h
38163 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
38164 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
38166 (__ASSUME_UTIMES): Likewise.
38167 (__ASSUME_CLONE_STOPPED): Remove.
38168 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
38169 architectures, not kernel version.
38170 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
38171 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38172 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38173 (__ASSUME_WAITID_SYSCALL): Likewise.
38174 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
38175 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
38176 * README: State 2.6.16 as minimum Linux kernel version. Do not
38177 refer to older versions.
38179 2012-08-06 Roland McGrath <roland@hack.frob.com>
38181 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
38182 Define alphasort64 as an alias.
38183 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
38184 Define versionsort64 as an alias.
38185 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
38186 Define scandir64 as an alias.
38187 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
38188 Define scandirat64 as an alias.
38189 * dirent/alphasort64.c (alphasort64):
38190 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
38191 * dirent/versionsort64.c: Likewise.
38192 * dirent/scandir64.c: Likewise.
38193 * dirent/scandirat64.c: Likewise.
38194 * sysdeps/wordsize-64/alphasort.c: File removed.
38195 * sysdeps/wordsize-64/alphasort64.c: File removed.
38196 * sysdeps/wordsize-64/scandir.c: File removed.
38197 * sysdeps/wordsize-64/scandir64.c: File removed.
38198 * sysdeps/wordsize-64/scandirat.c: File removed.
38199 * sysdeps/wordsize-64/scandirat64.c: File removed.
38200 * sysdeps/wordsize-64/versionsort.c: File removed.
38201 * sysdeps/wordsize-64/versionsort64.c: File removed.
38202 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
38203 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
38204 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
38205 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
38206 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
38207 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
38208 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
38209 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
38211 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
38212 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38213 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
38214 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38215 [defined __arch64__ || defined __sparcv9]
38216 (__INO_T_MATCHES_INO64_T): New macro.
38217 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38218 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
38219 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
38220 * sysdeps/unix/sysv/linux/bits/dirent.h
38221 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
38222 (_DIRENT_MATCHES_DIRENT64): New macro.
38224 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
38225 Define lockf64 as an alias.
38226 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
38227 Define fseeko64 as an alias.
38228 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
38229 Define ftello64 as an alias.
38230 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
38231 Define _IO_fgetpos64 and fgetpos64 as aliases.
38232 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
38233 Define _IO_fsetpos64 and fsetpos64 as aliases.
38234 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
38235 Conditionalize body on this.
38236 * libio/fseeko64.c: Likewise.
38237 * libio/ftello64.c: Likewise.
38238 * libio/iofgetpos64.c: Likewise.
38239 * libio/iofsetpos64.c: Likewise.
38240 * sysdeps/wordsize-64/lockf.c: File removed.
38241 * sysdeps/wordsize-64/lockf64.c: File removed.
38242 * sysdeps/wordsize-64/fseeko.c: File removed.
38243 * sysdeps/wordsize-64/fseeko64.c: File removed.
38244 * sysdeps/wordsize-64/ftello.c: File removed.
38245 * sysdeps/wordsize-64/ftello64.c: File removed.
38246 * sysdeps/wordsize-64/iofgetpos.c: File removed.
38247 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
38248 * sysdeps/wordsize-64/iofsetpos.c: File removed.
38249 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
38250 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
38251 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
38252 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
38253 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
38254 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
38255 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
38256 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
38257 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
38258 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
38259 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
38261 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38262 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38263 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
38264 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38265 [defined __arch64__ || defined __sparcv9]
38266 (__OFF_T_MATCHES_OFF64_T): New macro.
38267 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38268 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38269 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38270 (__OFF_T_MATCHES_OFF64_T): New macro.
38272 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38274 * stdlib/secure-getenv.c (__secure_getenv): Replace
38275 GLIBC_2_16 with GLIBC_2_17.
38277 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38279 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
38280 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38282 2012-08-03 David S. Miller <davem@davemloft.net>
38284 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38286 2012-08-03 Joseph Myers <joseph@codesourcery.com>
38288 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
38290 (__ASSUME_CORRECT_SI_PID): Likewise.
38291 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
38292 (__ASSUME_TMPFS_NAME): Likewise.
38293 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
38294 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
38295 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
38296 (HAVE_AUX_SECURE): Make definition unconditional.
38297 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
38298 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
38300 2012-08-03 Roland McGrath <roland@hack.frob.com>
38302 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
38303 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
38304 * sysdeps/mach/hurd/eloop-threshold.h: New file.
38305 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38306 __eloop_threshold instead of SYMLOOP_MAX.
38308 * sysdeps/generic/eloop-threshold.h: New file.
38309 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
38311 * elf/chroot_canon.c (chroot_canon): Likewise.
38313 2012-08-03 Joseph Myers <joseph@codesourcery.com>
38316 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38317 Change to 2.6.0 everywhere.
38318 * sysdeps/unix/sysv/linux/configure: Regenerated.
38319 * sysdeps/unix/sysv/linux/kernel-features.h
38320 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
38321 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
38323 (__ASSUME_POSIX_TIMERS): Define unconditionally.
38324 (__ASSUME_FUTEX_REQUEUE): Remove.
38325 (__ASSUME_STATFS64): Define unconditionally.
38326 (__ASSUME_AT_SECURE): Likewise.
38327 (__ASSUME_CORRECT_SI_PID): Likewise.
38328 (__ASSUME_TGKILL): Define without depending on kernel version for
38330 (__ASSUME_UTIMES): Likewise.
38331 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
38333 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
38334 (__ASSUME_TMPFS_NAME): Likewise.
38335 * README: Update reference to Linux kernel versions.
38337 2012-08-02 Marek Polacek <polacek@redhat.com>
38340 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
38341 libc_cv_asm_type_prefix with %.
38342 * configure: Regenerated.
38343 * include/libc-symbols.h: Remove comment about
38344 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38345 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
38346 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
38347 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
38348 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
38349 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38350 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
38351 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
38352 * elf/tst-unique2mod1.c: Likewise.
38353 * elf/tst-unique1mod2.c: Likewise.
38354 * elf/tst-unique1mod1.c: Likewise.
38355 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
38356 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
38357 Replace ASM_TYPE_DIRECTIVE with .type.
38358 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38359 * sysdeps/i386/sysdep.h: Likewise.
38360 * sysdeps/x86_64/sysdep.h: Likewise.
38361 * sysdeps/sh/sysdep.h: Likewise.
38362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38363 Do not define ASM_TYPE_DIRECTIVE.
38364 * sysdeps/powerpc/sysdep.h: Likewise.
38365 * sysdeps/powerpc/powerpc32/sysdep.h:
38366 Replace ASM_TYPE_DIRECTIVE with .type.
38367 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38368 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38369 * sysdeps/i386/fpu/e_powf.S: Likewise.
38370 * sysdeps/i386/fpu/e_expl.S: Likewise.
38371 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38372 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38373 * sysdeps/i386/fpu/e_pow.S: Likewise.
38374 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38375 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38376 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38377 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38378 * sysdeps/i386/fpu/e_log2.S: Likewise.
38379 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38380 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38381 * sysdeps/i386/fpu/e_powl.S: Likewise.
38382 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38383 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38384 * sysdeps/i386/fpu/e_logl.S: Likewise.
38385 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38386 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38387 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38388 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38389 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38390 * sysdeps/i386/fpu/e_log.S: Likewise.
38391 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38392 * sysdeps/i386/fpu/e_logf.S: Likewise.
38393 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38394 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38395 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38396 * sysdeps/i386/fpu/e_log10.S: Likewise.
38397 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38398 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38399 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38400 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38401 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38402 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
38403 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38404 * sysdeps/i386/i686/strtok.S: Likewise.
38405 * sysdeps/i386/i386-mcount.S: Likewise.
38406 * sysdeps/i386/strtok.S: Likewise.
38407 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
38408 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38409 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38410 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38411 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38412 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38413 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38414 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38415 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38416 * sysdeps/x86_64/_mcount.S: Likewise.
38417 * sysdeps/x86_64/strtok.S: Likewise.
38418 * sysdeps/sh/_mcount.S: Likewise.
38420 2012-08-01 Roland McGrath <roland@hack.frob.com>
38422 * libio/iofopen.c: Include <fcntl.h>.
38423 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
38424 (_IO_fopen64, fopen64): Define as aliases.
38425 * libio/iofopen64.c: Include <fcntl.h>.
38426 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
38427 Conditionalize body on this.
38428 * sysdeps/wordsize-64/iofopen.c: File removed.
38429 * sysdeps/wordsize-64/iofopen64.c: File removed.
38431 2012-08-01 Marek Polacek <polacek@redhat.com>
38433 * libc/Makeconfig: Use elf in place of binfmt-subdir.
38434 Use dlfcn directly instead of a variable.
38435 (binfmt-subdir): Do not define.
38438 2012-08-01 Joseph Myers <joseph@codesourcery.com>
38440 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
38441 Remove all definitions.
38442 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
38443 <kernel-features.h>.
38444 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38445 (miss_F_GETOWN_EX): Remove all definitions.
38446 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
38448 [!__ASSUME_FCNTL64]: Remove conditional code.
38449 [__ASSUME_FCNTL64]: Make code unconditional.
38450 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
38451 <kernel-features.h>.
38452 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38453 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
38454 (lockf64) [__NR_fcntl64]: Make code unconditional.
38455 (lockf64) [__ASSUME_FCNTL64]: Likewise.
38457 * sysdeps/unix/sysv/linux/kernel-features.h
38458 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
38459 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
38460 Make code unconditional.
38461 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38462 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
38464 [__NR_vfork]: Make code unconditional.
38465 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38466 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
38468 [__NR_vfork]: Make code unconditional.
38469 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38470 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38472 2012-08-01 Roland McGrath <roland@hack.frob.com>
38474 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
38475 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
38477 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38478 Define mkstemp64 as an alias.
38479 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38480 Define mkstemps64 as an alias.
38481 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38482 Define mkostemp64 as an alias.
38483 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38484 Define mkostemps64 as an alias.
38485 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
38486 Conditionalize body on this.
38487 * misc/mkostemp64.c: Likewise.
38488 * misc/mkostemps64.c: Likewise.
38489 * misc/mkstemps64.c: Likewise.
38490 * sysdeps/wordsize-64/mkstemp64.c: File removed.
38491 * sysdeps/wordsize-64/mkostemp64.c: File removed.
38492 * sysdeps/wordsize-64/mkostemp.c: File removed.
38493 * sysdeps/wordsize-64/mkstemp.c: File removed.
38494 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
38495 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
38496 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
38497 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
38500 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
38501 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
38502 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
38503 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
38505 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
38506 compat_symbol macros from <shlib-compat.h> rather than the underlying
38507 default_symbol_version and symbol_version macros, so that DEFAULT
38508 lines in shlib-versions are respected.
38509 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
38511 2012-08-01 Florian Weimer <fweimer@redhat.com>
38513 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
38514 Declare with warn_unused_result.
38515 (setgid, setregid, setegid, setresgid): Likewise.
38516 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
38518 * WUR-REPORT: Remove set*id functions.
38520 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
38522 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
38524 2012-07-31 Roland McGrath <roland@hack.frob.com>
38527 * include/sys/socket.h (__libc_accept, __libc_accept4):
38528 Add attribute_hidden.
38529 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
38531 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
38533 * inet/getnetgrent_r.c (setup): Likewise.
38535 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
38537 2012-07-31 David S. Miller <davem@davemloft.net>
38539 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38541 2012-07-31 Joseph Myers <joseph@codesourcery.com>
38544 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
38545 value between 1.0 and 2.0 and smaller part has absolute value less
38547 * math/s_clog10.c (__clog10): Likewise.
38548 * math/s_clog10f.c (__clog10f): Likewise.
38549 * math/s_clog10l.c (__clog10l): Likewise.
38550 * math/s_clogf.c (__clogf): Likewise.
38551 * math/s_clogl.c (__clogl): Likewise.
38552 * math/libm-test.inc (clog_test): Add more tests.
38553 (clog10_test): Likewise.
38554 * sysdeps/i386/fpu/libm-test-ulps: Update.
38555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38557 2012-07-31 Florian Weimer <fweimer@redhat.com>
38559 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
38560 Exit with zero in case no suitable GID is found, and write a
38561 message to standard error.
38563 2012-07-30 Roland McGrath <roland@hack.frob.com>
38565 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
38567 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
38568 (MAXPATHLEN): Removed.
38569 (NOGROUP, NODEV): New macros.
38570 (setbit, clrbit, isset, isclr): New macros.
38571 (howmany, roundup, powerof2): New macros.
38572 (DEV_BSIZE): New macro.
38574 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
38575 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
38577 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
38578 definition on [!__NO_LONG_DOUBLE_MATH].
38580 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
38581 PTR_MANGLE and PTR_DEMANGLE.
38583 * socket/accept4.c (accept4): Rename to __libc_accept4.
38584 Define accept4 as a weak alias.
38586 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
38587 on [_DIRENT_HAVE_D_TYPE].
38588 * io/ftw.c (ftw_dir): Likewise.
38590 * io/xmknod.c (__xmknod): Don't check PATH for being null.
38592 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
38594 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
38595 Use the BSD numbers rather than the arbitrary ones we had.
38596 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
38597 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
38598 (SIGXCPU, SIGXFSZ): New macros.
38601 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
38602 initializer on [_LIBC_REENTRANT].
38604 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
38605 definitions inside [_POSIX_MAPPED_FILES].
38607 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
38609 * dirent/opendir.c: Include <fcntl.h>.
38611 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
38612 (__libc_getspecific): Likewise.
38613 (__libc_key_create): Likewise.
38615 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
38616 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
38617 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
38618 (tmpfile64): Define as alias.
38619 * sysdeps/wordsize-64/tmpfile.c: File removed.
38620 * sysdeps/wordsize-64/tmpfile64.c: File removed.
38621 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
38622 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
38624 * stdio-common/vfscanf.c: Include <stdbool.h>.
38625 * nss/makedb.c: Likewise.
38626 * stdio-common/_i18n_number.h: Likewise.
38627 * argp/argp-help.c: Likewise.
38628 * posix/wordexp.c: Likewise.
38629 * sysdeps/posix/spawni.c: Likewise.
38630 * nss/nss_files/files-initgroups.c: Likewise.
38631 * stdio-common/reg-modifier.c: Include <stdlib.h>.
38632 * nss/nss_files/files-initgroups.c: Likewise.
38633 * nss/nss_db/db-netgrp.c: Likewise.
38634 * nss/nss_db/db-initgroups.c: Likewise.
38635 * io/fchmodat.c: Include <sys/stat.h>.
38637 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
38638 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
38640 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
38643 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
38644 Add multiple inclusion protection.
38646 2012-07-27 David S. Miller <davem@davemloft.net>
38648 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38650 2012-07-27 Gary Benson <gbenson@redhat.com>
38653 * elf/rtld.c: Include <stap-probe.h>.
38654 (dl_main): Added static probes "init_start" and "init_complete".
38655 * elf/dl-load.c: Include <stap-probe.h>.
38656 (lose): Take new parameter "nsid".
38657 Added static probe "map_failed".
38658 (_dl_map_object_from_fd): Pass namespace id to lose.
38659 Added static probe "map_start".
38660 (open_verify): Pass namespace id to lose.
38661 * elf/dl-open.c: Include <stap-probe.h>.
38662 (dl_open_worker) Added static probes "map_complete", "reloc_start"
38663 and "reloc_complete".
38664 * elf/dl-close.c: Include <stap-probe.h>.
38665 (_dl_close_worker): Added static probes "unmap_start" and
38667 * elf/rtld-debugger-interface.txt: New file documenting the above.
38669 2012-07-26 Roland McGrath <roland@hack.frob.com>
38671 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
38672 rather than a string variable.
38673 * sunrpc/rpc_main.c (h_output): Likewise.
38674 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
38676 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
38678 * inet/check_native.c: New file.
38680 2012-07-26 Joseph Myers <joseph@codesourcery.com>
38683 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
38684 if larger part has absolute value 1.0.
38685 * math/s_clog10.c (__clog10): Likewise.
38686 * math/s_clog10f.c (__clog10f): Likewise.
38687 * math/s_clog10l.c (__clog10l): Likewise.
38688 * math/s_clogf.c (__clogf): Likewise.
38689 * math/s_clogl.c (__clogl): Likewise.
38690 * math/libm-test.inc (clog_test): Add more tests.
38691 (clog10_test): Likewise.
38692 * sysdeps/i386/fpu/libm-test-ulps: Update.
38693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38695 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
38696 (pltexit): Likewise.
38697 (La_regs): Likewise.
38698 (La_retval): Likewise.
38699 (int_retval): Likewise.
38700 Update #error for removed macros to refer only to definitions in
38702 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
38704 (pltexit): Likewise.
38705 (La_regs): Likewise.
38706 (La_retval): Likewise.
38707 (int_retval): Likewise.
38708 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
38710 (pltexit): Likewise.
38711 (La_regs): Likewise.
38712 (La_retval): Likewise.
38713 (int_retval): Likewise.
38714 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
38716 (pltexit): Likewise.
38717 (La_regs): Likewise.
38718 (La_retval): Likewise.
38719 (int_retval): Likewise.
38720 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
38722 (pltexit): Likewise.
38723 (La_regs): Likewise.
38724 (La_retval): Likewise.
38725 (int_retval): Likewise.
38726 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
38728 (pltexit): Likewise.
38729 (La_regs): Likewise.
38730 (La_retval): Likewise.
38731 (int_retval): Likewise.
38732 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
38734 (pltexit): Likewise.
38735 (La_regs): Likewise.
38736 (La_retval): Likewise.
38737 (int_retval): Likewise.
38738 * sysdeps/generic/tst-audit.h: Update comment to refer only to
38739 macro definitions in tst-audit.h.
38740 * sysdeps/i386/tst-audit.h: New file.
38741 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
38742 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
38743 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
38744 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
38745 * sysdeps/sh/tst-audit.h: Likewise.
38746 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
38747 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
38748 * sysdeps/x86_64/tst-audit.h: Likewise.
38750 2012-07-26 Andreas Jaeger <aj@suse.de>
38752 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
38755 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
38756 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
38757 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
38759 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
38760 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
38761 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
38763 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
38766 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
38768 (si_call_addr, si_syscall, si_arch): Define new macro.
38769 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
38771 (si_call_addr, si_syscall, si_arch): Define new marcro.
38772 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
38774 (si_call_addr, si_syscall, si_arch): Define new macro.
38775 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
38777 (si_call_addr, si_syscall, si_arch): Define new macro.
38779 2012-07-25 Joseph Myers <joseph@codesourcery.com>
38782 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38783 Change to 2.4.21 where previously 2.4.1.
38784 * sysdeps/unix/sysv/linux/configure: Regenerated.
38785 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
38786 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
38787 Linux kernel version.
38788 (__ASSUME_STD_AUXV): Remove.
38789 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
38791 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
38792 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
38793 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
38794 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
38795 (__ASSUME_NETLINK_SUPPORT): Likewise.
38796 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
38797 (__no_netlink_support): Remove conditional definition.
38798 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
38800 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38801 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
38802 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
38803 (if_nameindex_ioctl): Remove.
38804 (if_nameindex_netlink): Do not handle __no_netlink_support.
38805 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38807 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
38808 Remove conditional code.
38809 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38811 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
38813 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38814 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
38815 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
38817 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
38818 [!__ASSUME_STD_AUXV]: Remove conditional code.
38819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
38820 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
38821 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
38822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
38823 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
38824 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38826 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38828 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
38829 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38831 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38833 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38836 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
38839 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38840 code unconditional.
38841 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38843 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38845 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38848 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38850 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
38853 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38854 code unconditional.
38855 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38857 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38859 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
38862 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38863 code unconditional.
38864 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38866 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38868 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38871 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
38873 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
38874 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
38875 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
38876 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
38877 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
38878 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38879 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38880 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
38881 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
38882 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
38883 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
38884 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
38885 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
38886 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38887 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
38888 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
38889 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
38890 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
38891 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
38892 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
38893 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
38894 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
38895 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38897 2012-07-25 Florian Weimer <fweimer@redhat.com>
38899 * Versions.def: Add GLIBC_2.17.
38900 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
38901 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
38902 Introduce __libc_secure_getenv.
38903 * stdlib/Versions (2.17): Add secure_getenv
38904 (GLIBC_PRIVATE): Add __libc_secure_getenv.
38905 * stdlib/secure-getenv.c: Rename __secure_getenv to
38906 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
38907 symbol __secure_getenv for GLIBC_2.0.
38908 * stdlib/tst-secure-getenv.c: New.
38909 * stdlib/Makefile (tests): Add testcase.
38910 * manual/startup.texi (Environment Access): Document
38912 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
38913 __libc_secure_getenv.
38914 * inet/ruserpass.c (ruserpass): Likewise.
38915 * malloc/mtrace.c (mtrace): Likewise.
38916 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
38917 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
38918 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
38919 * sysdeps/posix/tempname.c: Likewise. Evaluate
38920 HAVE_SECURE_GETENV.
38921 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
38922 __secure_getenv to __libc_secure_getenv.
38923 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
38924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38928 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38929 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38930 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38931 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38932 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38933 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38934 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
38936 2012-07-25 Joseph Myers <joseph@codesourcery.com>
38938 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
38939 (struct La_i86_retval): Likewise.
38940 (struct La_x86_64_regs): Likewise.
38941 (struct La_x86_64_retval): Likewise.
38942 (struct La_x32_regs): Likewise.
38943 (struct La_x32_retval): Likewise.
38944 (struct La_ppc32_regs): Likewise.
38945 (struct La_ppc32_retval): Likewise.
38946 (struct La_ppc64_regs): Likewise.
38947 (struct La_ppc64_retval): Likewise.
38948 (struct La_sh_regs): Likewise.
38949 (struct La_sh_retval): Likewise.
38950 (struct La_s390_32_regs): Likewise.
38951 (struct La_s390_32_retval): Likewise.
38952 (struct La_s390_64_regs): Likewise.
38953 (struct La_s390_64_retval): Likewise.
38954 (struct La_sparc32_regs): Likewise.
38955 (struct La_sparc32_retval): Likewise.
38956 (struct La_sparc64_regs): Likewise.
38957 (struct La_sparc64_retval): Likewise.
38958 (struct audit_ifaces): Remove architecture-specific pltenter and
38960 * sysdeps/i386/ldsodefs.h: New file.
38961 * sysdeps/powerpc/ldsodefs.h: Likewise.
38962 * sysdeps/s390/ldsodefs.h: Likewise.
38963 * sysdeps/sh/ldsodefs.h: Likewise.
38964 * sysdeps/sparc/ldsodefs.h: Likewise.
38965 * sysdeps/x86_64/ldsodefs.h: Likewise.
38967 2012-07-25 Marek Polacek <polacek@redhat.com>
38970 * math/libm-test.inc (yn_test): Add another test.
38971 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
38972 to ERANGE when the result is +-Inf.
38973 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
38974 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38975 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
38976 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
38978 2012-07-24 Joseph Myers <joseph@codesourcery.com>
38980 * conform/data/time.h-data (NULL): Use macro-constant. Require
38982 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
38984 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
38986 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
38988 * configure.in <sysdeps resolving>: Correct printing
38990 * configure: Regenerate.
38992 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
38994 * math/w_ilogb.c: Include <limits.h>.
38995 * math/w_ilogbl.c: Likewise.
38997 2012-07-20 Joseph Myers <joseph@codesourcery.com>
38999 * manual/lang.texi (__va_copy): Document primarily as ISO C99
39000 va_copy. Document allowing for unavailable va_copy only as
39001 pre-C99 compatibility.
39002 * manual/string.texi (Copying and Concatenation): Use va_copy
39003 instead of __va_copy in concat example.
39005 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
39007 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
39008 (__sendto): Use create_address_port. Initialize APORT and deallocate
39011 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
39012 with O_NOLINK passed to __file_name_lookup.
39014 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
39015 with O_NOLINK passed to __file_name_lookup.
39017 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
39018 negative N or less than NGIDS.
39020 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
39021 type to string_t. Set ERANGE as errno and return it if NAME is not big
39022 enough. Use memcpy instead of strncpy.
39024 2012-07-20 Joseph Myers <joseph@codesourcery.com>
39026 * elf/Makefile (check-data): Remove.
39027 (localplt.data): New vpath directive.
39028 ($(objpfx)check-localplt.out): Use localplt.data from vpath
39029 instead of $(check-data).
39030 * scripts/data/localplt-generic.data: Move to ...
39031 * sysdeps/generic/localplt.data: ... here.
39032 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
39033 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
39034 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
39035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
39037 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
39038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39040 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
39041 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
39043 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
39044 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39046 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
39047 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
39049 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
39050 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
39053 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39055 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
39056 PPC32 and PPC64 files.
39057 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
39058 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
39060 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39062 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
39063 __makecontext_ret to ...
39064 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
39065 ... here and call exit if uc_link is NULL. New file.
39066 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
39067 __makecontext_ret.S.
39068 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
39069 __makecontext_ret to ...
39070 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
39071 ... here and call exit if uc_link is NULL. New file.
39072 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
39073 __makecontext_ret.S.
39075 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39077 * elf/elf.h (R_390_IRELATIVE): New definition.
39078 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
39079 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
39080 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
39081 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
39082 (elf_machine_lazy_rel): Likewise.
39083 * sysdeps/s390/dl-irel.h: New file.
39084 * sysdeps/s390/s390-64/memcpy.S: New asm code.
39085 * sysdeps/s390/s390-64/memset.S: New asm code.
39086 * sysdeps/s390/s390-64/memcmp.S: New asm code.
39087 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
39088 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
39089 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
39090 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
39091 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
39092 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
39093 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
39094 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
39095 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
39096 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
39097 * sysdeps/s390/s390-32/memcpy.S: New asm code.
39098 * sysdeps/s390/s390-32/memset.S: New asm code.
39099 * sysdeps/s390/s390-32/memcmp.S: New asm code.
39101 2012-07-17 Marek Polacek <polacek@redhat.com>
39104 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
39105 * sysdeps/s390/s390-64/configure.in: Likewise.
39106 * sysdeps/sparc/configure.in: Likewise.
39107 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
39108 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
39109 * sysdeps/i386/configure.in: Likewise.
39110 * sysdeps/x86_64/configure.in: Likewise.
39111 * sysdeps/sh/configure.in: Likewise.
39112 * sysdeps/s390/s390-32/configure: Regenerated.
39113 * sysdeps/s390/s390-64/configure: Likewise.
39114 * sysdeps/x86_64/configure: Likewise.
39115 * sysdeps/sh/configure: Likewise.
39116 * sysdeps/powerpc/powerpc64/configure: Likewise.
39117 * sysdeps/powerpc/powerpc32/configure: Likewise.
39118 * sysdeps/sparc/configure: Likwise.
39119 * sysdeps/i386/configure: Likewise.
39121 * elf/dl-open.c: Comment fixes.
39123 2012-07-17 Joseph Myers <joseph@codesourcery.com>
39125 * Makefile [CXX] (check-data): Remove.
39126 [CXX] (c++-types.data): New vpath directive.
39127 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
39128 vpath. Do not allow for C++ type data being missing.
39129 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
39130 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
39131 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
39132 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
39133 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
39134 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
39135 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
39136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
39138 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
39139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
39141 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
39142 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
39144 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
39145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
39147 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
39148 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
39150 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
39151 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
39153 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
39154 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
39156 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
39157 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
39159 * elf/tls-macros.h (TLS_LE): Move architecture-specific
39160 definitions to architecture-specific files.
39161 (TLS_IE): Likewise.
39162 (TLS_LD): Likewise.
39163 (TLS_GD): Likewise.
39164 * sysdeps/i386/tls-macros.h: New file.
39165 * sysdeps/powerpc/tls-macros.h: Likewise.
39166 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
39167 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
39168 * sysdeps/sh/tls-macros.h: Likewise.
39169 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
39170 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
39171 * sysdeps/x86_64/tls-macros.h: Likewise.
39173 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39175 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
39176 zero value for regular exit case.
39178 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
39179 (__start_context): Preserve zero value for regular exit case.
39181 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39182 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39184 * manual/setjmp.texi (setcontext): Clarify normal process
39185 termination when uc_link is the null pointer.
39186 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
39189 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
39191 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
39192 preprocessor. Test for each exception mask separately.
39194 2012-07-16 Andreas Jaeger <aj@suse.de>
39196 * po/ru.po: Update from translation team.
39198 2012-07-15 Joseph Myers <joseph@codesourcery.com>
39200 * conform/data/string.h-data (NULL): Use macro-constant. Require
39202 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39203 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39204 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
39205 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
39206 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39208 2012-07-13 Andreas Jaeger <aj@suse.de>
39210 * po/fr.po: Update from translation team.
39212 2012-07-12 Marek Polacek <polacek@redhat.com>
39215 * math/libm-test.inc (yn_test): Add test for BZ #14173.
39216 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
39219 2012-07-12 Joseph Myers <joseph@codesourcery.com>
39222 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39223 Change to 2.4.1 where previously 2.4.0.
39224 * sysdeps/unix/sysv/linux/configure: Regenerated.
39225 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
39226 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
39228 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
39229 (__ASSUME_AT_CLKTCK): Remove.
39230 (__ASSUME_AT_PAGESIZE): Likewise.
39231 (__ASSUME_AT_XID): Likewise.
39232 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
39233 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
39234 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
39236 (HAVE_AUX_PAGESIZE): Likewise.
39237 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
39238 [__ASSUME_AT_CLKTCK]: Make code unconditional.
39239 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
39241 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
39244 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
39245 the temporary buffer used to invoke __gethostbyname2_r,
39246 __gethostbyaddr_r and gethostbyname4_r to make room for struct
39247 host_data / struct gaih_addrtuple.
39248 * resolv/nss_dns/dns-host.c (global scope): Move definition of
39249 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
39250 header file nss/nsswitch.h.
39251 * nss/nsswitch.h (global scope): Add definition of implementation
39252 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
39253 resolv/nss_dns/dns-host.c).
39255 2012-07-11 Andreas Jaeger <aj@suse.de>
39257 * po/fr.po: Update from translation team.
39259 * po/sv.po: Update from translation team
39260 * po/fr.po: Another update from translation team.
39262 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39264 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
39265 for subnormals or multiply small sinh result by itself.
39266 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39267 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39269 2012-07-11 David S. Miller <davem@davemloft.net>
39271 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39273 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
39276 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
39277 (INTERNAL_MARK): Shift it here.
39279 2012-07-10 Marek Polacek <polacek@redhat.com>
39282 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
39283 libc_cv_asm_global_directive with .globl.
39284 * configure: Regenerated.
39285 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
39287 * sysdeps/i386/configure: Regenerated.
39288 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
39290 * sysdeps/x86_64/configure: Regenerated.
39291 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
39292 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
39293 * elf/tst-unique2mod2.c: Likewise.
39294 * elf/tst-unique2mod1.c: Likewise.
39295 * elf/tst-unique1mod2.c: Likewise.
39296 * elf/tst-unique1mod1.c: Likewise.
39297 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39298 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39299 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39300 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39301 * sysdeps/mach/sysdep.h: Likewise.
39302 * sysdeps/i386/sysdep.h: Likewise.
39303 * sysdeps/i386/i386-mcount.S: Likewise.
39304 * sysdeps/x86_64/_mcount.S: Likewise.
39305 * sysdeps/x86_64/sysdep.h: Likewise.
39306 * sysdeps/sh/_mcount.S: Likewise.
39307 * sysdeps/sh/sysdep.h: Likewise.
39308 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
39309 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
39310 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
39311 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39312 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
39313 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
39314 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
39315 * locale/localeinfo.h: Likewise.
39316 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
39317 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
39319 2012-07-09 Roland McGrath <roland@hack.frob.com>
39322 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
39324 * manual/message.texi (The Uniforum approach): Likewise.
39325 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
39326 (glibc iconv Implementation): Likewise.
39328 2012-07-09 Joseph Myers <joseph@codesourcery.com>
39331 * math/s_clog.c (__clog): Avoid scaling a value down where that
39332 could result in underflow.
39333 * math/s_clog10.c (__clog10): Likewise.
39334 * math/s_clog10f.c (__clog10f): Likewise.
39335 * math/s_clog10l.c (__clog10l): Likewise.
39336 * math/s_clogf.c (__clogf): Likewise.
39337 * math/s_clogl.c (__clogl): Likewise.
39338 * math/libm-test.inc (clog_test): Add more tests.
39339 (clog10_test): Likewise.
39340 * sysdeps/i386/fpu/libm-test-ulps: Update.
39341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39343 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
39346 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
39347 by 7 not 8 to examine high bit of fractional part.
39350 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
39351 for call to __mcount_internal.
39352 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
39353 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
39354 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
39356 2012-07-06 Joseph Myers <joseph@codesourcery.com>
39359 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
39360 approximation for values within 0x1p-13f of an odd multiple of
39362 * math/libm-test.inc (tan_test): Do not allow spurious underflow
39363 exception. Add more tests.
39364 * sysdeps/i386/fpu/libm-test-ulps: Update.
39367 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
39368 inputs and return -1 for them. Do not check for +Inf in case not
39369 reachable for +Inf.
39370 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39371 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
39372 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39373 and return -1 for them. Do not check for +Inf in case not
39374 reachable for +Inf.
39375 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
39377 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39378 and return -1 for them. Do not check for +Inf in case not
39379 reachable for +Inf.
39380 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
39381 spurious underflow.
39382 * sysdeps/i386/fpu/libm-test-ulps: Update.
39383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39385 2012-07-06 Mike Frysinger <vapier@gentoo.org>
39387 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
39389 2012-07-05 Joseph Myers <joseph@codesourcery.com>
39393 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
39394 could result in spurious underflow. Scale down values above
39395 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
39396 * math/s_csqrtf.c (__csqrtf): Likewise.
39397 * math/s_csqrtl.c (__csqrtl): Likewise.
39398 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
39399 spurious underflow.
39400 * sysdeps/i386/fpu/libm-test-ulps: Update.
39401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39403 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
39405 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
39407 * catgets/xopen-msg.awk: New file.
39408 * catgets/xopen-msg.sed: Removed.
39410 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
39412 * intl/po2test.awk: New file.
39413 * intl/po2test.sed: Removed.
39415 2012-07-04 Joseph Myers <joseph@codesourcery.com>
39418 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
39419 or multiply small sinh result by itself.
39420 * math/s_ctanf.c (__ctanf): Likewise.
39421 * math/s_ctanh.c (__ctanh): Likewise.
39422 * math/s_ctanhf.c (__ctanhf): Likewise.
39423 * math/s_ctanhl.c (__ctanhl): Likewise.
39424 * math/s_ctanl.c (__ctanl): Likewise.
39425 * math/libm-test.inc (ctan_test_tonearest): New function.
39426 (ctan_test_towardzero): Likewise.
39427 (ctan_test_downward): Likewise.
39428 (ctan_test_upward): Likewise.
39429 (ctanh_test_tonearest): Likewise.
39430 (ctanh_test_towardzero): Likewise.
39431 (ctanh_test_downward): Likewise.
39432 (ctanh_test_upward): Likewise.
39433 (main): Call these new functions.
39434 * sysdeps/i386/fpu/libm-test-ulps: Update.
39435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39437 2012-07-03 Mike Frysinger <vapier@gentoo.org>
39439 * .gitignore: Delete /ports entry.
39441 2012-07-03 Andreas Jaeger <aj@suse.de>
39443 * po/bg.po: Update from translation team.
39444 * po/cs.po: Likewise.
39445 * po/de.po: Likewise.
39446 * po/hr.po: Likewise.
39447 * po/nl.pl: Likewise.
39448 * po/pl.po: Likewise.
39449 * po/vi.po: Likewise.
39451 2012-07-03 Joseph Myers <joseph@codesourcery.com>
39453 * Makeconfig [!+link] (+link-before-libc): New variable.
39454 [!+link] (+link-after-libc): Likewise.
39455 [!+link] (+link-tests): Likewise.
39456 [!+link] (+link): Define in terms of $(+link-before-libc) and
39457 $(+link-after-libc).
39458 [!+link-static] (+link-static-before-libc): New variable.
39459 [!+link-static] (+link-static-after-libc): Likewise.
39460 [!+link-static] (+link-static-tests): Likewise.
39461 [!+link-static] (+link-static): Define in terms of
39462 $(+link-static-before-libc) and $(+link-static-after-libc).
39463 [build-shared] (link-libc-before-gnulib): New variable.
39464 [build-shared] (link-libc-tests): Likewise.
39465 [build-shared] (link-libc): Define in terms of
39466 $(link-libc-before-gnulib).
39467 [!build-shared] (link-libc-tests): New variable.
39468 (link-libc-static-tests): New variable.
39469 [!gnulib] (gnulib-arch): New variable.
39470 [!gnulib] (gnulib-tests): Likewise.
39471 [!gnulib] (static-gnulib-arch): Likewise.
39472 [!gnulib] (static-gnulib-tests): Likewise.
39473 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
39474 Define with "=" instead of ":=".
39475 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
39476 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
39477 * Rules (binaries-all-notests): New variable.
39478 (binaries-all-tests): Likewise.
39479 (binaries-static-notests): Likewise.
39480 (binaries-static-tests): Likewise.
39481 (binaries-all): Define using $(binaries-all-notests) and
39482 $(binaries-all-tests).
39483 (binaries-static): Define using $(binaries-static-notests) and
39484 $(binaries-static-tests).
39485 (binaries-shared-tests): New variable.
39486 (binaries-shared-notests): Likewise.
39487 (binaries-shared): Remove variable.
39488 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
39489 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
39490 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
39491 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
39492 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
39493 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
39494 * elf/Makefile (sln-modules): New variable.
39495 (extra-objs): Add $(sln-modules:=.o).
39496 (ldconfig-modules): Add static-stubs.
39497 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
39498 * elf/static-stubs.c: New file.
39501 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
39502 by 7 not 8 to examine high bit of fractional part. Use volatile
39503 variables when splitting into final array of floats if
39504 __FLT_EVAL_METHOD__ != 0.
39505 * math/libm-test.inc (cos_test): Add another test.
39506 (sin_test): Likewise.
39507 * sysdeps/i386/fpu/libm-test-ulps: Update.
39510 * math/libm-test.inc (cosh_test): Add more tests.
39512 * version.h (RELEASE): Set to "development".
39513 (VERSION): Set to "2.16.90".
39515 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
39517 * NEWS: Update copyright. Remove last-updated date.
39518 Mention math library bug fixes and timezone data changes.
39519 * README: Mention GNU/Hurd, x32, and HPPA support status.
39521 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
39523 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
39525 2012-06-27 Andreas Jaeger <aj@suse.de>
39527 * manual/contrib.texi (Contributors): Add Samuel Thibault.
39529 2012-06-25 Andreas Jaeger <aj@suse.de>
39531 * sysdeps/s390/fpu/libm-test-ulps: Update.
39533 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
39534 Thomas Schwinge <thomas@codesourcery.com>
39536 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
39537 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
39538 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
39541 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
39543 * sysdeps/mach/start.c: Remove file.
39544 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
39545 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
39546 * sysdeps/sh/init-first.c: Likewise.
39548 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
39549 registers for frame unwinding purposes, add CFI directives.
39550 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39551 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
39552 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
39555 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
39556 __fortify_fail returning.
39557 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39559 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
39560 sysdeps/sh/____longjmp_chk.S.
39561 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
39562 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
39563 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
39564 (gen-as-const-headers): Append sigaltstack-offsets.sym.
39566 * sysdeps/sh/abort-instr.h: New file.
39567 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
39568 process in case exit returns.
39570 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
39571 initialize the GOT register before use.
39573 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
39574 calculation of ARGC > 4.
39576 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
39577 meaningful names to some local labels.
39579 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39580 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39582 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
39583 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
39584 (__arch_compare_and_exchange_val_16_acq): Likewise.
39585 (__arch_compare_and_exchange_val_32_acq): Likewise.
39586 (atomic_exchange_and_add): Fix gUSA sequence.
39587 (atomic_add): Likewise.
39588 (atomic_add_negative): Likewise.
39589 (atomic_add_zero): Likewise.
39590 (atomic_bit_test_set): Likewise.
39592 2012-06-22 Andreas Schwab <schwab@redhat.com>
39595 * include/link.h (struct link_map): Add l_free_initfini.
39596 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
39598 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
39599 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
39600 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
39603 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
39605 * configure.in: Use AC_LANG_SOURCE.
39606 * configure: Regenerate.
39608 2012-06-22 Roland McGrath <roland@hack.frob.com>
39610 * configure.in (libc_cv_localstatedir): New substituted variable.
39611 * configure: Regenerated.
39612 * config.make.in (localstatedir): New variable, substituted from
39613 libc_cv_localstatedir.
39614 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
39615 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
39616 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
39617 * sysdeps/gnu/configure: Regenerated.
39619 2012-06-21 Jeff Law <law@redhat.com>
39622 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
39623 free. Simplify list management for _LIBC case.
39625 2012-06-21 Joseph Myers <joseph@codesourcery.com>
39628 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
39629 Clear sign bit of 64-bit integer value before comparing against
39632 * sysdeps/mach/configure: Regenerated.
39634 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
39637 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
39639 2012-06-21 Jeff Law <law@redhat.com>
39642 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
39643 uint16_t for elements in the "seen" array to avoid char overflows.
39644 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39645 * elf/dl-open.c (dl_open_worker): Likewise.
39647 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
39649 * scripts/list-sources.sh: Scan PORTS for translations.
39650 * po/libc.pot: Regenerated.
39652 2012-06-21 Andreas Jaeger <aj@suse.de>
39655 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
39657 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
39658 * bits/byteswap-16.h (__bswap_16): Likewise.
39659 * bits/byteswap.h (__bswap_constant_16): Likewise.
39661 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
39664 * sysdeps/i386/fpu_control.h: Removed.
39665 * sysdeps/x86_64/fpu_control.h: Moved to ...
39666 * sysdeps/x86/fpu_control.h: Here.
39668 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
39669 (_FPU_SETCW): Likewise.
39671 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
39674 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
39675 * sysdeps/x86/fpu/bits/mathinline.h: This.
39676 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
39680 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
39681 functions if __x86_64__ is defined.
39683 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
39685 * string/endian.h: Add !__ASSEMBLER__ condition for including
39686 conversion interfaces.
39688 2012-06-15 Joseph Myers <joseph@codesourcery.com>
39691 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
39692 of ABS(x) in calculating zero to negative powers other than odd
39694 * math/libm-test.inc (pow_test): Add more tests.
39696 2012-06-15 Andreas Jaeger <aj@suse.de>
39698 * manual/contrib.texi (Contributors): Update entry of Liubov
39699 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
39702 2012-06-15 Cyril Hrubis <metan@ucw.cz>
39704 * string/string.h: Add __wur to GNU version of strerror_r.
39706 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
39709 * string/Makefile (tests): Add tst-strtok_r.
39710 * string/tst-strtok_r.c: New file.
39711 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
39712 RAX_LP/RDX_LP on SAVE_PTR.
39714 2012-06-14 Roland McGrath <roland@hack.frob.com>
39716 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
39718 2012-06-14 Joseph Myers <joseph@codesourcery.com>
39720 * libm_test.inc (csqrt_test): Allow more spurious underflow
39722 (j0_test): Likewise.
39723 (j1_test): Likewise.
39724 (y0_test): Likewise.
39725 (y1_test): Likewise.
39727 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
39729 * po/Makefile (libc.pot): Use UTF-8 charset.
39731 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
39734 Suppress sign-conversion warning from FD_SET.
39735 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
39736 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
39737 not unsigned long int.
39738 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
39740 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
39744 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
39745 __extern_always_inline instead of __extern_inline.
39746 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
39747 (__signbit): Likewise.
39748 (__signbitl): Support C++ namespace.
39749 (lrintf): New inline function.
39751 (llrintf): Likewise.
39752 (llrint): Likewise.
39762 (floorf): Likewise.
39763 (nearbyint): Likewise.
39764 (nearbyintf): Likewise.
39766 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
39768 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
39769 non-default versions.
39771 2012-06-11 Roland McGrath <roland@hack.frob.com>
39774 * manual/argp.texi (Argp): Reword argp_parse description slightly.
39776 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
39778 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
39779 (FE_UPWARD, FE_DOWNWARD): Don't define.
39780 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
39781 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39783 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
39785 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39786 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39788 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39790 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39791 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
39792 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
39793 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
39795 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
39798 * sysdeps/i386/fpu/bits/fenv.h: Removed.
39799 * sysdeps/i386/fpu/Implies: New file.
39800 * sysdeps/x86_64/fpu/Implies: Likewise.
39801 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
39802 * sysdeps/x86/fpu/bits/fenv.h: This.
39804 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
39807 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
39810 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
39811 character 0xffff that matches the last element of the
39814 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39816 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
39819 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39821 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
39822 values higher than 25.6283.
39824 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39826 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
39827 subnormal exponent extraction and add some __builtin_expect.
39828 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
39829 Fix for subnormal mantissa calculation.
39831 2012-06-04 Mike Frysinger <vapier@gentoo.org>
39833 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
39834 cpu2 is -1 and errno is not ENOSYS.
39836 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
39839 * sysdeps/i386/i486/bits/string.h: Renamed to ...
39840 * sysdeps/x86/bits/string.h: This.
39841 * sysdeps/x86_64/bits/string.h: Removed.
39843 * sysdeps/i386/i486/bits/string.h: Define inline functions only
39844 if not compiling for x86-64, but compiling for >= i486.
39846 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
39847 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
39849 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
39850 New macro from Linux kernel 3.4.0.
39851 (FP_XSTATE_MAGIC2): Likewise.
39852 (FP_XSTATE_MAGIC2_SIZE): Likewise.
39853 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
39854 (struct _fpx_sw_bytes): New struct.
39855 (struct _xsave_hdr): Likewise.
39856 (struct _ymmh_state): Likewise.
39857 (struct _xstate): Likewise.
39859 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
39860 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
39861 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
39862 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
39863 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
39864 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
39866 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
39867 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
39868 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
39869 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
39870 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
39871 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
39873 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39876 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
39877 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
39878 (sysdep_headers): Include sys/platform/ppc.h.
39879 * sysdeps/powerpc/test-gettimebase.c: Test for
39880 __ppc_get_timebase() to catch future ISA opcode/insn changes.
39881 * manual/Makefile (appendices): Include platform.texi.
39882 * manual/contrib.texi (Contributors): Update @node pointers.
39883 * manual/maint.texi (Maintenance): Likewise.
39884 (Platform): New node.
39885 * manual/platform.texi: New file. Document the new features.
39887 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
39888 Jakub Jelinek <jakub@redhat.com>
39891 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
39892 where __builtin_expect is unavailable.
39894 2012-06-03 David S. Miller <davem@davemloft.net>
39896 * stdlib/longlong.h: Updated from GCC.
39898 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
39901 * sysdeps/powerpc/powerpc32/mcount.c: New file.
39902 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
39904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
39905 (GLIBC_2.16): Likewise.
39907 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39909 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
39911 2012-06-01 Joseph Myers <joseph@codesourcery.com>
39913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
39914 (default-abi): New variable.
39915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
39916 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
39918 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
39920 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
39922 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
39925 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
39926 definition. Document in comment.
39928 2012-06-01 David S. Miller <davem@davemloft.net>
39930 * stdlib/longlong.h: Updated from GCC.
39932 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39935 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
39936 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
39937 sys/debugreg.h sys/io.h here.
39938 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
39939 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
39941 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
39942 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
39943 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
39944 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
39945 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
39946 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
39948 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
39949 Define only if __x86_64__ is defined.
39951 2012-06-01 Joseph Myers <joseph@codesourcery.com>
39954 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
39955 Use int64_t for variable i.
39956 * math/libm-test.inc (fmod_test): Add more tests.
39958 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
39959 z computation is not scheduled after fetestexcept.
39960 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
39961 Use math_force_eval instead of asm to ensure calculation scheduled
39962 before exception test.
39963 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
39964 Ensure a1 + u.d computation is not scheduled after fetestexcept.
39966 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
39968 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
39969 computation is not scheduled after fetestexcept.
39971 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39974 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
39975 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
39977 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39979 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
39980 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39982 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39985 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
39987 (__WCHAR_MIN): Support __WORDSIZE == 64.
39988 (__WCHAR_MAX): Likewise.
39990 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
39991 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
39994 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
39995 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
39998 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
39999 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
40001 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
40002 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
40004 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
40005 Defined to 1 if __x86_64__ isn't defined.
40006 (_STAT_VER_LINUX_OLD): New.
40007 (st_atime): Remove duplicate.
40008 (st_mtime): Likewise.
40009 (st_ctime): Likewise.
40011 2012-05-31 David S. Miller <davem@davemloft.net>
40013 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
40016 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
40018 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
40022 * elf/dl-reloc.c: Include <_itoa.h>.
40023 (_dl_reloc_bad_type): Remove use of INTUSE.
40024 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
40025 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
40026 * stdio-common/psiginfo.c (psiginfo): Likewise.
40027 * stdio-common/psignal.c (psignal): Likewise.
40028 * string/strsignal.c (strsignal): Likewise.
40029 * include/signal.h (_sys_siglist): Declare hidden proto.
40030 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
40031 INTVARDEF with libc_hidden_data_def.
40032 * stdio-common/itoa-udigits.c: Likewise.
40033 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
40034 (_itoa_lower_digits_internal): Remove declaration.
40035 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
40036 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
40037 (_sys_sigabbrev_internal): Remove aliases.
40038 (_sys_siglist): Define hidden alias.
40040 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
40042 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40045 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40048 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
40049 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
40051 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
40052 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
40053 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
40054 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
40055 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
40056 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
40058 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
40059 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
40060 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
40062 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
40070 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
40071 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
40072 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
40074 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
40075 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
40076 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
40077 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
40078 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
40079 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
40081 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
40082 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
40084 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
40085 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
40087 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
40088 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
40089 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
40091 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
40092 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
40094 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
40096 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
40097 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
40098 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
40100 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
40102 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
40104 2012-05-31 Joseph Myers <joseph@codesourcery.com>
40106 * math/math.h (M_El): Use two more decimal places.
40107 (M_LOG2El): Likewise.
40108 (M_LOG10El): Likewise.
40109 (M_LN2l): Likewise.
40110 (M_LN10l): Likewise.
40112 (M_PI_2l): Likewise.
40113 (M_PI_4l): Likewise.
40114 (M_1_PIl): Likewise.
40115 (M_2_PIl): Likewise.
40116 (M_2_SQRTPIl): Likewise.
40117 (M_SQRT2l): Likewise.
40118 (M_SQRT1_2l): Likewise.
40120 2012-05-31 David S. Miller <davem@davemloft.net>
40122 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
40123 values between float registers.
40124 * sysdeps/sparc/sparc64/memset.S: Likewise.
40125 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40127 2012-05-31 Mike Frysinger <vapier@gentoo.org>
40129 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
40130 -D_FORTIFY_SOURCE=1.
40131 (CPPFLAGS-tst-longjmp_chk.c): Define.
40132 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
40133 (CPPFLAGS-tst-longjmp_chk2.c): Define.
40134 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
40135 CFLAGS-tst-wchar-h.c.
40137 2012-05-31 Marek Polacek <polacek@redhat.com>
40140 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
40141 __endmntent_internal): Remove declaration.
40142 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
40143 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
40144 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
40146 2012-05-30 David S. Miller <davem@davemloft.net>
40148 * sysdeps/sparc/sparc32/soft-fp/q_util.c
40149 (___Q_simulate_exceptions): Use real FP ops rather than writing
40151 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
40154 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40157 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
40158 * sysdeps/x86/bits/xtitypes.h: This.
40160 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
40161 * sysdeps/x86/bits/wordsize.h: This.
40163 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
40164 * sysdeps/x86/bits/huge_vall.h: This.
40166 * sysdeps/i386/bits/select.h: Removed.
40167 * sysdeps/x86_64/bits/select.h: Renamed to ...
40168 * sysdeps/x86/bits/select.h: This.
40170 * sysdeps/i386/bits/setjmp.h: Removed.
40171 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
40172 * sysdeps/x86/bits/setjmp.h: This.
40174 * sysdeps/i386/bits/mathdef.h: Removed.
40175 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
40176 * sysdeps/x86/bits/mathdef.h: This.
40178 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
40181 * include/sys/socket.h (__connect_internal)
40182 (__libc_sa_len_internal): Remove declaration.
40183 (__connect, __libc_sa_len): Declare hidden_proto.
40184 (SA_LEN): Remove use of INTUSE.
40185 * socket/connect.c: Add libc_hidden_def.
40186 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
40187 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
40188 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
40190 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40191 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
40192 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
40193 of adding _internal alias.
40195 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40198 * sysdeps/i386/bits/link.h: Removed.
40199 * sysdeps/i386/bits/linkmap.h: Likewise.
40200 * sysdeps/x86_64/bits/link.h: Renamed to ...
40201 * sysdeps/x86/bits/link.h: This.
40202 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
40203 * sysdeps/x86/bits/linkmap.h: This.
40205 * sysdeps/i386/bits/endian.h: Removed.
40206 * sysdeps/x86_64/bits/endian.h: Renamed to ...
40207 * sysdeps/x86/bits/endian.h: This.
40209 * sysdeps/i386/bits/byteswap.h: Removed.
40210 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40211 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
40212 * sysdeps/x86/bits/byteswap.h: This.
40213 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
40214 * sysdeps/x86/bits/byteswap-16.h: This.
40215 * sysdeps/i386/Implies: Add x86.
40216 * sysdeps/x86_64/Implies: Likewise.
40218 2012-05-30 David S. Miller <davem@davemloft.net>
40220 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
40221 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
40222 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40223 (FP_TRAPPING_EXCEPTIONS): Define.
40224 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40225 (FP_TRAPPING_EXCEPTIONS): Define.
40226 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
40227 subnormals only when inexact has been signalled or underflow
40228 exceptions are enabled.
40229 (_FP_PACK_CANONICAL): Likewise.
40231 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40234 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
40235 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
40237 2012-05-30 Richard Henderson <rth@twiddle.net>
40239 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
40240 with #ifndef NOT_IN_libc.
40242 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
40243 marked to avoid plt entry.
40245 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40248 * Makeconfig (default-abi): New macro.
40249 (abi-includes): Likewise.
40250 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
40251 $(abi-$(default-abi)-lib-soname) for soname if defined.
40252 ($(common-objpfx)gnu/lib-names.stmp): Generate from
40254 * Makefile (installed-stubs): Likewise.
40255 * include/stubs-biarch.h: Removed.
40256 * scripts/lib-names.awk: Only handle one library at a time.
40257 * scripts/soversions.awk: Remove WORDSIZE support.
40258 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
40260 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
40262 (syscall-list-default-condition): Likewise.
40263 (syscall-list-default-condition): Likewise.
40264 (syscall-list-includes): Likewise.
40265 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
40266 syscall-list-* with abi-*. Handle undefined abi-variants.
40267 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
40268 * sysdeps/unix/sysv/linux/i386/Implies: New file.
40269 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
40270 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
40271 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
40272 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
40274 (syscall-list-32-options): Likewise.
40275 (syscall-list-32-condition): Likewise.
40276 (syscall-list-64-options): Likewise.
40277 (syscall-list-64-condition): Likewise.
40278 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
40280 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
40283 (abi-64-ld-soname): New macro.
40284 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
40285 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
40288 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
40289 * sysdeps/x86_64/x32/shlib-versions: Likewise.
40291 2012-05-30 Joseph Myers <joseph@codesourcery.com>
40293 * sysdeps/unix/sysv/linux/kernel-features.h
40294 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
40295 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
40296 include <kernel-features.h>.
40297 [!__NR_ftruncate64]: Remove conditional code.
40298 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40299 [__NR_ftruncate64]: Make code unconditional.
40300 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40301 * sysdeps/unix/sysv/linux/truncate64.c: Do not
40302 include <kernel-features.h>.
40303 [!__NR_ftruncate64]: Remove conditional code.
40304 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40305 [__NR_ftruncate64]: Make code unconditional.
40306 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
40308 include <kernel-features.h>.
40309 [!__NR_ftruncate64]: Remove conditional code.
40310 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40311 [__NR_ftruncate64]: Make code unconditional.
40312 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40314 include <kernel-features.h>.
40315 [!__NR_ftruncate64]: Remove conditional code.
40316 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40317 [__NR_ftruncate64]: Make code unconditional.
40318 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40320 * configure.in (libc_cv_fpie): Weaken to a compile test using
40321 LIBC_TRY_CC_OPTION.
40322 * configure: Regenerated.
40324 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40326 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
40327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
40328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
40329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
40332 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
40333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
40334 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
40335 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
40336 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40339 2012-05-27 David S. Miller <davem@davemloft.net>
40341 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
40343 (__Q_simulate_exceptions): Return void. Change to simulate
40344 exceptions by writing into the %fsr.
40345 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
40346 (__Qp_handle_exceptions): Likewise.
40348 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
40349 __Qp_handle_exceptions.
40350 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
40351 __Qp_handle_exceptions.
40352 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40353 as unused and give dummy FP_RND_NEAREST initializer.
40354 (FP_INHIBIT_RESULTS): Define.
40355 (___Q_simulate_exceptions): Update declaration.
40356 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
40358 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40359 as unused and give dummy FP_RND_NEAREST initializer.
40360 (__Qp_handle_exceptions): Update declaration.
40361 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
40364 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
40366 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
40367 the temporary FPU control word.
40368 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40369 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
40370 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40371 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40372 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40373 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
40374 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40375 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40376 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40377 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
40378 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40380 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40382 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
40385 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
40387 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
40388 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
40389 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
40390 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
40392 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
40393 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
40396 2012-05-27 Ulrich Drepper <drepper@gmail.com>
40398 * po/h.po: Update from translation team.
40400 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
40402 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
40404 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
40405 handling of denormals.
40406 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40407 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40408 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40409 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40410 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40411 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
40412 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
40415 2012-05-26 Marek Polacek <polacek@redhat.com>
40418 * math/libm-test.inc (fma_test): Don't always expect underflow
40421 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40424 * elf/tst-execstack.c: Include stackinfo.h.
40425 (do_test): Adjust test case to ensure that pthread_getattr_np
40426 behaviour remains the same after marking stack executable.
40428 2012-05-25 Joseph Myers <joseph@codesourcery.com>
40430 * sysdeps/unix/sysv/linux/kernel-features.h
40431 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
40432 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
40434 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40435 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40436 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
40438 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40439 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40441 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
40443 * configure.in: Define the default includes to being none.
40444 * configure: Regenerated.
40446 2012-05-25 Roland McGrath <roland@hack.frob.com>
40448 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
40449 * sysdeps/x86_64/setjmp.S: Likewise.
40450 * sysdeps/i386/bsd-setjmp.S: Likewise.
40451 * sysdeps/i386/bsd-_setjmp.S: Likewise.
40452 * sysdeps/i386/setjmp.S: Likewise.
40453 * sysdeps/i386/__longjmp.S: Likewise.
40454 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40455 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
40457 * include/stap-probe.h: New file.
40458 * configure.in: Handle --enable-systemtap.
40459 * configure: Regenerated.
40460 * config.h.in (USE_STAP_PROBE): New #undef.
40461 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
40462 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
40463 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40465 2012-05-25 Joseph Myers <joseph@codesourcery.com>
40468 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40469 to 2.4.0 where earlier.
40470 * sysdeps/unix/sysv/linux/configure: Regenerated.
40471 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40472 <kernel-features.h>.
40473 [__ASSUME_32BITUIDS]: Make code unconditional.
40474 [!__ASSUME_32BITUIDS]: Remove conditional code.
40475 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
40476 <kernel-features.h>.
40477 [__ASSUME_32BITUIDS]: Make code unconditional.
40478 [!__ASSUME_32BITUIDS]: Remove conditional code.
40479 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
40480 [__ASSUME_32BITUIDS]: Make code unconditional.
40481 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
40482 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
40483 <kernel-features.h>.
40484 [__ASSUME_32BITUIDS]: Make code unconditional.
40485 [!__ASSUME_32BITUIDS]: Remove conditional code.
40486 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
40487 <kernel-features.h>.
40488 [__ASSUME_32BITUIDS]: Make code unconditional.
40489 [!__ASSUME_32BITUIDS]: Remove conditional code.
40490 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
40491 <kernel-features.h>.
40492 [__ASSUME_32BITUIDS]: Make code unconditional.
40493 [!__ASSUME_32BITUIDS]: Remove conditional code.
40494 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
40495 <kernel-features.h>.
40496 [__ASSUME_32BITUIDS]: Make code unconditional.
40497 [!__ASSUME_32BITUIDS]: Remove conditional code.
40498 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40499 <kernel-features.h>.
40500 [__ASSUME_32BITUIDS]: Make code unconditional.
40501 [!__ASSUME_32BITUIDS]: Remove conditional code.
40502 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40503 <kernel-features.h>.
40504 [__ASSUME_32BITUIDS]: Make code unconditional.
40505 [!__ASSUME_32BITUIDS]: Remove conditional code.
40506 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
40507 <kernel-features.h>.
40508 [__ASSUME_32BITUIDS]: Make code unconditional.
40509 [!__ASSUME_32BITUIDS]: Remove conditional code.
40510 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40511 <kernel-features.h>.
40512 [__ASSUME_32BITUIDS]: Make code unconditional.
40513 [!__ASSUME_32BITUIDS]: Remove conditional code.
40514 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40515 <kernel-features.h>.
40516 [__ASSUME_32BITUIDS]: Make code unconditional.
40517 [!__ASSUME_32BITUIDS]: Remove conditional code.
40518 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
40519 <kernel-features.h>.
40520 [__ASSUME_32BITUIDS]: Make code unconditional.
40521 [!__ASSUME_32BITUIDS]: Remove conditional code.
40522 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
40523 <kernel-features.h>.
40524 [__NR_setresgid] (__setresgid): Do not declare.
40525 [__ASSUME_32BITUIDS]: Make code unconditional.
40526 [!__ASSUME_32BITUIDS]: Remove conditional code.
40527 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
40528 <kernel-features.h>.
40529 [__NR_setresuid] (__setresuid): Do not declare.
40530 [__ASSUME_32BITUIDS]: Make code unconditional.
40531 [!__ASSUME_32BITUIDS]: Remove conditional code.
40532 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
40533 <kernel-features.h>.
40534 [__ASSUME_32BITUIDS]: Make code unconditional.
40535 [!__ASSUME_32BITUIDS]: Remove conditional code.
40536 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
40537 <kernel-features.h>.
40538 [__ASSUME_32BITUIDS]: Make code unconditional.
40539 [!__ASSUME_32BITUIDS]: Remove conditional code.
40540 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
40541 <kernel-features.h>.
40542 [__ASSUME_32BITUIDS]: Make code unconditional.
40543 [!__ASSUME_32BITUIDS]: Remove conditional code.
40544 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
40545 <kernel-features.h>.
40546 [__ASSUME_32BITUIDS]: Make code unconditional.
40547 [!__ASSUME_32BITUIDS]: Remove conditional code.
40548 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
40549 <kernel-features.h>.
40550 [__ASSUME_32BITUIDS]: Make code unconditional.
40551 [!__ASSUME_32BITUIDS]: Remove conditional code.
40552 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
40553 <kernel-features.h>.
40554 [__ASSUME_32BITUIDS]: Make code unconditional.
40555 [!__ASSUME_32BITUIDS]: Remove conditional code.
40556 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
40557 <kernel-features.h>.
40558 [__ASSUME_32BITUIDS]: Make code unconditional.
40559 [!__ASSUME_32BITUIDS]: Remove conditional code.
40560 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
40561 <kernel-features.h>.
40562 [__ASSUME_32BITUIDS]: Make code unconditional.
40563 [!__ASSUME_32BITUIDS]: Remove conditional code.
40564 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
40565 <kernel-features.h>.
40566 [__ASSUME_32BITUIDS]: Make code unconditional.
40567 [!__ASSUME_32BITUIDS]: Remove conditional code.
40568 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
40569 <kernel-features.h>.
40570 [__ASSUME_32BITUIDS]: Make code unconditional.
40571 [!__ASSUME_32BITUIDS]: Remove conditional code.
40572 * sysdeps/unix/sysv/linux/kernel-features.h
40573 (__ASSUME_SETRESUID_SYSCALL): Remove.
40574 (__ASSUME_SETRESGID_SYSCALL): Likewise.
40575 (__ASSUME_32BITUIDS): Likewise.
40576 (__ASSUME_LDT_WORKS): Likewise.
40577 (__ASSUME_O_DIRECTORY): Likewise.
40578 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
40579 architecture but not kernel version.
40580 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
40581 (__ASSUME_MMAP2_SYSCALL): Likewise.
40582 (__ASSUME_STAT64_SYSCALL): Likewise.
40583 (__ASSUME_IPC64): Likewise.
40584 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
40585 <kernel-features.h>.
40586 [__ASSUME_32BITUIDS]: Make code unconditional.
40587 [!__ASSUME_32BITUIDS]: Remove conditional code.
40588 * sysdeps/unix/sysv/linux/opendir.c: Do not include
40589 <kernel-features.h>.
40590 [__ASSUME_O_DIRECTORY]: Make code unconditional.
40591 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
40592 132096]: Remove conditional code.
40593 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
40594 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40595 <kernel-features.h>.
40596 [__ASSUME_32BITUIDS]: Make code unconditional.
40597 [!__ASSUME_32BITUIDS]: Remove conditional code.
40598 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
40599 <kernel-features.h>.
40600 [__ASSUME_32BITUIDS]: Make code unconditional.
40601 [!__ASSUME_32BITUIDS]: Remove conditional code.
40602 * sysdeps/unix/sysv/linux/setegid.c: Do not include
40603 <kernel-features.h>.
40604 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
40606 (__setresgid): Do not declare.
40607 [__ASSUME_32BITUIDS]: Make code unconditional.
40608 [!__ASSUME_32BITUIDS]: Remove conditional code.
40609 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
40610 <kernel-features.h>.
40611 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
40613 (__setresuid): Do not declare.
40614 [__ASSUME_32BITUIDS]: Make code unconditional.
40615 [!__ASSUME_32BITUIDS]: Remove conditional code.
40616 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40617 <kernel-features.h>.
40618 [__ASSUME_32BITUIDS]: Make code unconditional.
40619 [!__ASSUME_32BITUIDS]: Remove conditional code.
40620 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
40621 <kernel-features.h>.
40622 [__ASSUME_32BITUIDS]: Make code unconditional.
40623 [!__ASSUME_32BITUIDS]: Remove conditional code.
40625 2012-05-25 Richard Henderson <rth@twiddle.net>
40627 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
40628 dl_hwcap to ifunc resolver.
40629 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
40631 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
40632 dl_hwcap to ifunc resolver.
40633 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
40635 2012-05-24 Joseph Myers <joseph@codesourcery.com>
40638 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
40639 for |x| <= 2**-26, not 2**-57.
40640 * math/libm-test.inc (acos_test): Do not allow spurious underflow
40643 2012-05-24 Jeff Law <law@redhat.com>
40645 * stdio-common/Makefile (tests): Add bug25.
40646 * stdio-common/bug25.c: New test.
40648 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
40651 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
40652 multiple of MALLOC_ALIGNMENT in size.
40653 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
40655 2012-05-24 Joseph Myers <joseph@codesourcery.com>
40657 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
40659 (FILENAME_MAX): Use macro-int-constant.
40660 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
40661 (_IOFBF): Use macro-int-constant.
40662 (_IOLBF): Likewise.
40663 (_IONBF): Likewise.
40664 (SEEK_CUR): Likewise.
40665 (SEEK_END): Likewise.
40666 (SEEK_SET): Likewise.
40667 (TMP_MAX): Likewise.
40668 (EOF): Use macro-int-constant. Require < 0.
40669 (NULL): Use macro-constant. Require == 0.
40670 (stdin): Require type to be FILE *.
40671 (stdout): Likewise.
40672 (stderr): Likewise.
40673 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
40674 macro-int-constant.
40675 (EXIT_SUCCESS): Likewise.
40676 (NULL): Use macro-constant. Require == 0.
40677 (RAND_MAX): Use macro-int-constant.
40678 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
40679 [C99-based standards] (strtof): Require function.
40680 [C99-based standards] (strtold): Likewise.
40681 [C99-based standards] (strtoll): Likewise.
40682 [C99-based standards] (strtoull): Likewise.
40683 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40684 [ISO || ISO99 || ISO11] (limits.h): Likewise.
40685 [ISO || ISO99 || ISO11] (math.h): Likewise.
40686 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
40687 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40688 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40690 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
40693 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
40694 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
40695 * intl/dgettext.c (DCGETTEXT): Likewise.
40696 * intl/gettext.c (DCGETTEXT): Likewise.
40697 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
40698 * posix/regex_internal.h (gettext): Likewise.
40699 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
40700 Remove declaration.
40701 * include/argz.h (__argz_count_internal)
40702 (__argz_stringify_internal): Remove declaration.
40703 (__argz_count, __argz_stringify): Declare hidden proto.
40704 * intl/dcgettext.c: Remove use of INTDEF.
40705 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
40706 * string/argz-stringify.c: Likewise.
40707 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40708 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40709 Declare hidden proto.
40710 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40711 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40712 Declare hidden proto.
40713 * include/stdio.h (__asprintf_internal): Don't declare.
40714 (__asprintf): Don't define as macro. Declare hidden proto.
40715 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
40716 (__fsetlocking): Declare hidden proto.
40717 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
40718 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
40720 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
40721 (_IO_setlinebuf): Remove use of INTUSE.
40722 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
40723 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
40724 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
40725 Remove declaration.
40726 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
40727 (_IO_do_flush): Remove use of INTUSE.
40728 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
40729 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
40730 (_IO_adjust_column, _IO_least_wmarker)
40731 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
40732 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
40733 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
40734 (_IO_default_doallocate, _IO_wdefault_doallocate)
40735 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
40736 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
40737 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
40738 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
40739 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
40740 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
40741 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
40742 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
40743 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
40744 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
40745 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
40746 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
40747 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
40749 (_IO_flush_all_internal, _IO_adjust_column_internal)
40750 (_IO_default_uflow_internal, _IO_default_finish_internal)
40751 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
40752 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
40753 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
40754 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
40755 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
40756 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
40757 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
40758 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
40759 (_IO_file_close_internal, _IO_file_close_it_internal)
40760 (_IO_file_underflow_internal, _IO_file_overflow_internal)
40761 (_IO_file_init_internal, _IO_file_attach_internal)
40762 (_IO_file_fopen_internal, _IO_file_read_internal)
40763 (_IO_file_sync_internal, _IO_file_seek_internal)
40764 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
40765 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
40766 (_IO_str_underflow_internal, _IO_str_overflow_internal)
40767 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
40768 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
40769 (_IO_list_all_internal, _IO_link_in_internal)
40770 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
40771 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
40772 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
40773 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
40774 (_IO_do_write_internal, _IO_padn_internal)
40775 (_IO_getline_info_internal, _IO_getline_internal)
40776 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
40777 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
40778 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
40779 (_IO_vfscanf_internal, _IO_vfprintf_internal)
40780 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
40781 (_IO_init_internal, _IO_un_link_internal): Don't declare.
40782 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
40783 with libc_hidden_ver, remove use of INTUSE.
40784 * libio/genops.c: Likewise.
40785 * libio/freopen.c: Likewise.
40786 * libio/freopen64.c: Likewise.
40787 * libio/iofclose.c: Likewise.
40788 * libio/iofdopen.c: Likewise.
40789 * libio/iofflush.c: Likewise.
40790 * libio/iofflush_u.c: Likewise.
40791 * libio/iofgets.c: Likewise.
40792 * libio/iofgets_u.c: Likewise.
40793 * libio/iofopen.c: Likewise.
40794 * libio/iofopncook.c: Likewise.
40795 * libio/iofread.c: Likewise.
40796 * libio/iofread_u.c: Likewise.
40797 * libio/ioftell.c: Likewise.
40798 * libio/iofwrite.c: Likewise.
40799 * libio/iogetline.c: Likewise.
40800 * libio/iogets.c: Likewise.
40801 * libio/iogetwline.c: Likewise.
40802 * libio/iopadn.c: Likewise.
40803 * libio/iopopen.c: Likewise.
40804 * libio/ioseekoff.c: Likewise.
40805 * libio/ioseekpos.c: Likewise.
40806 * libio/iosetbuffer.c: Likewise.
40807 * libio/iosetvbuf.c: Likewise.
40808 * libio/ioungetc.c: Likewise.
40809 * libio/ioungetwc.c: Likewise.
40810 * libio/iovdprintf.c: Likewise.
40811 * libio/iovsprintf.c: Likewise.
40812 * libio/iovsscanf.c: Likewise.
40813 * libio/memstream.c: Likewise.
40814 * libio/obprintf.c: Likewise.
40815 * libio/oldfileops.c: Likewise.
40816 * libio/oldiofclose.c: Likewise.
40817 * libio/oldiofdopen.c: Likewise.
40818 * libio/oldiofopen.c: Likewise.
40819 * libio/oldiopopen.c: Likewise.
40820 * libio/oldstdfiles.c: Likewise.
40821 * libio/putc.c: Likewise.
40822 * libio/setbuf.c: Likewise.
40823 * libio/setlinebuf.c: Likewise.
40824 * libio/stdfiles.c: Likewise.
40825 * libio/strops.c: Likewise.
40826 * libio/vasprintf.c: Likewise.
40827 * libio/vscanf.c: Likewise.
40828 * libio/vsnprintf.c: Likewise.
40829 * libio/vswprintf.c: Likewise.
40830 * libio/wfiledoalloc.c: Likewise.
40831 * libio/wfileops.c: Likewise.
40832 * libio/wgenops.c: Likewise.
40833 * libio/wmemstream.c: Likewise.
40834 * libio/wstrops.c: Likewise.
40835 * libio/__fpurge.c: Likewise.
40836 * libio/__fsetlocking.c: Likewise.
40837 * assert/assert.c: Likewise.
40838 * debug/fgets_chk.c: Likewise.
40839 * debug/fgets_u_chk.c: Likewise.
40840 * debug/fread_chk.c: Likewise.
40841 * debug/fread_u_chk.c: Likewise.
40842 * debug/gets_chk.c: Likewise.
40843 * debug/obprintf_chk.c: Likewise.
40844 * debug/vasprintf_chk.c: Likewise.
40845 * debug/vdprintf_chk.c: Likewise.
40846 * debug/vsnprintf_chk.c: Likewise.
40847 * debug/vsprintf_chk.c: Likewise.
40848 * malloc/mtrace.c: Likewise.
40849 * misc/error.c: Likewise.
40850 * misc/syslog.c: Likewise.
40851 * stdio-common/asprintf.c: Likewise.
40852 * stdio-common/fxprintf.c: Likewise.
40853 * stdio-common/getw.c: Likewise.
40854 * stdio-common/isoc99_fscanf.c: Likewise.
40855 * stdio-common/isoc99_scanf.c: Likewise.
40856 * stdio-common/isoc99_vfscanf.c: Likewise.
40857 * stdio-common/isoc99_vscanf.c: Likewise.
40858 * stdio-common/isoc99_vsscanf.c: Likewise.
40859 * stdio-common/printf-prs.c: Likewise.
40860 * stdio-common/printf_fp.c: Likewise.
40861 * stdio-common/printf_fphex.c: Likewise.
40862 * stdio-common/printf_size.c: Likewise.
40863 * stdio-common/putw.c: Likewise.
40864 * stdio-common/scanf.c: Likewise.
40865 * stdio-common/sprintf.c: Likewise.
40866 * stdio-common/tmpfile.c: Likewise.
40867 * stdio-common/vfprintf.c: Likewise.
40868 * stdio-common/vfscanf.c: Likewise.
40869 * stdlib/strfmon_l.c: Likewise.
40870 * sunrpc/openchild.c: Likewise.
40871 * sunrpc/xdr_stdio.c: Likewise.
40872 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
40873 * sysdeps/mach/hurd/tmpfile.c: Likewise.
40875 2012-05-24 Roland McGrath <roland@hack.frob.com>
40877 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40879 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
40880 in the third column, to generate for the shared library an IFUNC
40881 that uses _dl_vdso_vsym.
40882 * Makerules (COMPILE.c, compile-stdin.c): New variables.
40883 * Makeconfig (object-suffixes-noshared): New variable.
40885 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
40886 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
40887 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
40888 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
40891 * include/sys/time.h (__gettimeofday): Remove macro.
40892 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
40893 * time/gettimeofday.c (__gettimeofday): Remove #undef.
40895 (__gettimeofday): Add libc_hidden_def.
40896 (gettimeofday): Add libc_hidden_weak.
40897 * sysdeps/mach/gettimeofday.c: Likewise.
40898 * sysdeps/posix/gettimeofday.c: Likewise.
40899 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
40900 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
40901 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
40902 (__gettimeofday_internal): Remove strong_alias.
40903 (__gettimeofday): Add libc_hidden_def.
40904 (gettimeofday): Add libc_hidden_weak.
40905 * sysdeps/unix/syscalls.list (gettimeofday):
40906 Remove __gettimeofday_internal alias.
40908 2012-05-24 Daniel Jacobowitz <drow@false.org>
40909 H.J. Lu <hongjiu.lu@intel.com>
40912 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
40913 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
40914 (largebin_index_32_big): New.
40915 (largebin_index): Use it for 16-byte alignment.
40916 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
40917 correction with front_misalign.
40919 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
40921 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
40922 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
40924 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
40926 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40928 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
40930 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
40932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
40934 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
40936 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40938 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
40940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
40942 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40944 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
40947 * scripts/data/c++-types-x32-linux-gnu.data: New file.
40948 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
40950 2012-05-24 Joseph Myers <joseph@codesourcery.com>
40954 * math/libm-test.inc (exp_test): Add test from bug 14036.
40955 (pow_test): Add test from bug 10846.
40957 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
40959 (special_function): Do not include flags in test name.
40960 (parse_args): Likewise.
40961 * sysdeps/i386/fpu/libm-test-ulps: Update.
40962 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40963 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40964 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40967 * math/gen-libm-test.pl (%beautify): Add entries for underflow
40969 * math/libm-test.inc ("Philosophy"): Update comment about
40971 (UNDERFLOW_EXCEPTION): New macro.
40972 (UNDERFLOW_EXCEPTION_OK): Likewise.
40973 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
40974 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
40975 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
40976 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
40977 (INVALID_EXCEPTION_OK): Update value.
40978 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40979 (OVERFLOW_EXCEPTION_OK): Likewise.
40980 (IGNORE_ZERO_INF_SIGN): Likewise.
40981 (test_exceptions): Handle underflow exceptions.
40982 (acos_test): Update for underflow exception expectations.
40983 (cexp_test): Likewise.
40984 (clog_test): Likewise.
40985 (clog10_test): Likewise.
40986 (csqrt_test): Likewise.
40987 (ctan_test): Likewise.
40988 (ctanh_test): Likewise.
40989 (exp_test): Likewise.
40990 (exp10_test): Likewise.
40991 (exp2_test): Likewise.
40992 (expm1_test): Likewise.
40993 (fma_test): Likewise.
40994 (j0_test): Likewise.
40995 (jn_test): Likewise.
40996 (nexttoward_test): Likewise.
40997 (pow_test): Likewise.
40998 (scalbn_test): Likewise.
40999 (scalbln_test): Likewise.
41000 (tan_test): Likewise.
41001 (y1_test): Likewise.
41002 * sysdeps/i386/fpu/libm-test-ulps: Update.
41003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41005 2012-05-23 David S. Miller <davem@davemloft.net>
41007 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41008 (__libc_sigaction): Remove unused local variables.
41010 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41012 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
41014 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
41016 mktime: avoid signed integer overflow
41017 * time/mktime.c (__mktime_internal): Do not mishandle the case
41018 where diff == INT_MIN.
41020 mktime: simplify computation of average
41021 * time/mktime.c (ranged_convert): Use new time_t_avg function
41022 instead of rolling our own (probably-slower) code.
41024 mktime: do not assume signed right shift propagates sign bit
41025 * time/mktime.c (isdst_differ): New static function.
41026 (__mktime_internal): No need to normalize tm_isdst now.
41027 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
41030 mktime: merge another wrapv change from gnulib
41031 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
41032 from some compilers.
41034 mktime: remove incorrect attempt at unusual arithmetics
41035 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
41036 The code didn't really work on such machines anyway.
41037 (TYPE_MINIMUM): Assume two's complement.
41038 (twos_complement_arithmetic): Verify that long_int and time_t
41039 are two's complement (or unsigned, in the latter case).
41041 mktime: check signed shifts on long_int and time_t, too
41042 * time/mktime.c (SHR): Check that shifts work as desired
41043 on the types long_int and time_t too, as SHR is used on
41046 mktime: do not assume 'long' is wide enough
41047 * time/mktime.c (verify): Move decl up.
41048 (long_int): New type.
41049 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
41050 to remove assumption in the code that 'long' is wide enough to
41051 store year values. This assumption is not true on x32 and on
41052 some non-glibc platforms.
41054 mktime: merge wrapv change from gnulib
41055 * time/mktime.c (WRAPV): New macro.
41056 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
41057 (guess_time_tm, __mktime_internal): Do not assume that signed
41058 integer overflow wraps around; modern compilers generate code
41059 where this assumption is no longer valid.
41061 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41063 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41064 Replace "jmp L(pseudo_end)" with "ret".
41065 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
41068 2012-05-23 Andreas Jaeger <aj@suse.de>
41070 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
41071 * sysdeps/unix/sysv/linux/poll.c: Remove file.
41073 2012-05-23 Andreas Jaeger <aj@suse.de>
41074 Maximilian Attems <max@stro.at>
41076 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
41079 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41081 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
41082 code so that pseudo_end is just ret and the stack pointer is
41083 correct also for static library in error case.
41085 2012-05-23 Joseph Myers <joseph@codesourcery.com>
41087 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
41088 move to syscalls.list.
41089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41094 * manual/install.texi (Running make install): Do not mention Linux
41095 kernel version for which pt_chown is not needed.
41096 (Linux): Do not mention problems with nscd with 2.0 kernels.
41097 * INSTALL: Regenerated.
41099 2012-05-23 Andreas Jaeger <aj@suse.de>
41101 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
41102 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
41104 * sysdeps/unix/sysv/linux/s390/bits/mman.h
41105 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41106 * sysdeps/unix/sysv/linux/sh/bits/mman.h
41107 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41108 * sysdeps/unix/sysv/linux/i386/bits/mman.h
41109 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41110 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
41111 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41112 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
41113 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41114 * sysdeps/unix/sysv/linux/bits/in.h
41115 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
41117 2012-05-22 Roland McGrath <roland@hack.frob.com>
41119 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
41120 (PREPARE_VERSION): Just use assert instead, it will be elided
41121 under [NDEBUG] anyway.
41123 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41125 * sysdeps/unix/sysv/linux/Makefile: Include
41126 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
41127 (sysdep_routines): Remove sysctl.
41128 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
41129 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
41130 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
41131 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
41132 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
41134 2012-05-22 Andreas Jaeger <aj@suse.de>
41136 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
41137 that pseudo_end is just ret and the stack pointer is correct also
41138 for static library in error case.
41140 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
41143 * nss/nsswitch.c (defconfig_entries): New variable.
41144 (__nss_database_lookup): Don't leak defconfig entries.
41145 (nss_parse_service_list): Don't leak on error paths.
41146 (free_database_entries): New function.
41147 (free_defconfig): New function.
41148 (free_mem): Move common code to free_database_entries.
41150 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41152 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
41154 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
41156 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41157 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
41158 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
41160 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
41161 (INTERNAL_SYSCALL_TYPES): Likewise.
41162 (LOAD_ARGS_TYPES_[1-6]): Likewise.
41163 (LOAD_REGS_TYPES_[1-6]): Likewise.
41164 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
41165 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
41167 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41169 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
41170 copysignl for GLIBC_2_0.
41171 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
41172 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
41173 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
41174 logbl for GLIBC_2_0.
41175 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41176 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41178 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41180 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
41181 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41183 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41186 * time/mktime.c: Update copyright years.
41188 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
41190 mktime: merge comment-quoting-style change from gnulib
41191 * time/mktime.c: Quote 'like this' in comments.
41192 The GNU coding standards suggest that we no longer quote `like this',
41193 as "`" and "'" are typically rendered asymmetrically nowadays.
41194 The typical gnulib style is to quote 'like this' when quoting
41195 code, and "like this" when quoting English.
41197 * time/mktime.c (compile-command): Add "-I.".
41199 mktime: merge mktime-internal.h change from gnulib
41200 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
41202 mktime: merge time_r change from gnulib
41203 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
41205 mktime: merge DEBUG change from gnulib
41206 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
41207 case system <time.h> has a #define.
41209 mktime: merge <sys/types.h> change from gnulib
41210 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
41211 since <time.t> is now guaranteed to define time_t.
41213 mktime: merge HAVE_CONFIG_H change from gnulib
41214 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
41216 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41218 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41221 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
41223 (struct rusage): Use anonymous union to pad each field to
41226 2012-05-21 David S. Miller <davem@davemloft.net>
41228 * Makefules (o-iterator): Remove .s cases.
41229 (compile-command.s): Delete.
41230 (COMPILE.s): Delete.
41231 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
41233 2012-05-21 Joseph Myers <joseph@codesourcery.com>
41235 * configure.in (libc_cv_predef_stack_protector): Only consider
41236 "foobar" and "__stack_chk_fail" lines in libc_undefs.
41237 * configure: Regenerated.
41239 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41241 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41242 New macro. Use R*LP on int and pointer.
41243 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
41244 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
41245 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
41246 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
41248 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
41249 [__WORDSIZE_TIME64_COMPAT32] instead of
41250 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
41251 (struct utmp): Likewise.
41252 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
41253 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
41255 (__WORDSIZE_TIME64_COMPAT32): This.
41256 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
41257 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
41258 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
41259 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
41260 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
41261 (__WORDSIZE_TIME64_COMPAT32): New macro.
41263 2012-05-21 Andreas Jaeger <aj@suse.de>
41265 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
41266 only if [SHARED]. Add prototype for __wcschr_ia32.
41268 2012-05-21 Roland McGrath <roland@hack.frob.com>
41270 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
41271 of %rbp unmolested in the jmp_buf while mangling the low bits.
41272 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
41273 unmolested high bits of %rbp while demangling the low bits.
41274 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41276 2012-05-21 Andreas Jaeger <aj@suse.de>
41278 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
41279 * sunrpc/svc_simple.c: Use it for registerrpc.
41280 * sunrpc/xcrypt.c: Use it for passwd2des.
41282 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
41284 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41286 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
41287 Don't define if [__SYSCALL_WORDSIZE != 32].
41288 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
41291 2012-05-21 Bruno Haible <bruno@clisp.org>
41292 Andreas Jaeger <aj@suse.de>
41294 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
41295 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
41296 inptr and inend for must_buffer_ch.
41297 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
41298 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
41299 * stdio-common/Makefile (tests): Remove bug15.
41300 (bug15-ENV): Remove macro.
41301 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
41304 2012-05-19 Andreas Jaeger <aj@suse.de>
41305 Roland McGrath <roland@hack.frob.com>
41307 * manual/contrib.texi: Completely rewritten. It contains now an
41308 alphabetical list of contributors and their contributions.
41310 2012-05-21 Richard Henderson <rth@twiddle.net>
41312 * misc/getauxval.c (__getauxval): Use unsigned long int.
41313 * misc/sys/auxv.h: Include <sys/cdefs.h>.
41314 (getauxval): Use unsigned long int.
41316 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41318 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41320 2012-05-21 Roland McGrath <roland@hack.frob.com>
41322 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
41323 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
41324 __alignof__ (long double).
41326 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41330 2012-05-20 Richard Henderson <rth@twiddle.net>
41332 * misc/getauxval.c: New file.
41333 * misc/sys/auxv.h: New file.
41334 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
41335 (routines): Add getauxval.
41336 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
41337 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
41338 * elf/dl-sysdep.c (_dl_auxv): Remove.
41339 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
41340 * elf/dl-support.c (_dl_auxv): New variable.
41341 (_dl_aux_init): Initialize it.
41342 * manual/startup.texi (Auxiliary Vector): New node.
41343 * sysdeps/generic/bits/hwcap.h: New file.
41344 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
41345 * sysdeps/powerpc/sysdep.h: ... here. Include it.
41346 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
41347 * sysdeps/sparc/sysdep.h: ... here. Include it.
41348 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
41349 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
41350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
41353 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
41354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
41355 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
41356 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41357 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
41359 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
41361 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41363 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41365 2012-05-19 David S. Miller <davem@davemloft.net>
41367 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41369 2012-05-19 Joseph Myers <joseph@codesourcery.com>
41372 * math/s_ccosh.c: Include <float.h>
41373 (__ccosh): Avoid internal overflow calculating sinh and cosh
41374 values before multiplying by sin and cos values.
41375 * math/s_ccoshf.c: Likewise.
41376 * math/s_ccoshl.c: Likewise.
41377 * math/s_csin.c: Likewise.
41378 * math/s_csinf.c: Likewise.
41379 * math/s_csinl.c: Likewise.
41380 * math/s_csinh.c: Likewise.
41381 * math/s_csinhf.c: Likewise.
41382 * math/s_csinhl.c: Likewise.
41383 * math/libm-test.inc (ccos_test): Add more tests.
41384 (ccosh_test): Likewise.
41385 (csin_test): Likewise.
41386 (csinh_test): Likewise.
41387 * sysdeps/i386/fpu/libm-test-ulps: Update.
41388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41390 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
41392 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
41393 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
41395 * sysdeps/x86_64/x32/_itoa.h: Add comment.
41397 2012-05-19 Joseph Myers <joseph@codesourcery.com>
41399 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
41400 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
41401 * sysdeps/powerpc/soft-fp/Versions: Likewise.
41402 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
41403 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
41404 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
41405 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
41406 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
41407 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
41408 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
41409 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
41410 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
41411 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
41412 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
41413 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
41414 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
41415 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
41416 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
41417 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
41418 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
41419 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
41420 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
41421 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
41422 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
41423 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
41424 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
41425 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
41426 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
41427 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
41428 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
41429 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
41431 2012-05-18 Andreas Jaeger <aj@suse.de>
41433 * csu/.gitignore: Delete.
41435 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41437 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
41438 (timex): Use __syscall_slong_t.
41440 2012-05-18 Andreas Jaeger <aj@suse.de>
41441 Carlos O'Donell <carlos_odonell@mentor.com>
41443 * manual/install.texi (Configuring and compiling): Update
41444 description about files modified in the source directory.
41445 * INSTALL: Regenerated.
41447 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41449 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
41450 value. Use "or" to set return value to -1.
41451 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
41452 negate return value.
41454 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41456 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
41457 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
41458 failure if the compiler has Graphite support disabled.
41459 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
41461 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
41462 (CFLAGS-memmove.c): Likewise.
41463 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
41466 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41468 * sysdeps/x86_64/x32/_itoa.h: New file.
41470 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
41471 getdents system call only if kernel and user dirents have the
41472 same d_ino and d_off.
41474 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41475 LLONG_MAX != LONG_MAX.
41476 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41477 (_fitoa_word): Likewise.
41479 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
41481 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
41482 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
41483 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
41485 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
41486 include <bits/wordsize.h>. Check __x86_64__ instead of
41488 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
41489 if __x86_64__ is defined. Use anonymous union on fpstate.
41491 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
41494 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
41496 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41497 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
41498 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
41499 Refer to _rtld_local_ro instead of _rtld_global_ro.
41500 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
41502 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
41504 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
41506 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
41507 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
41508 of _rtld_global, and rtld_progname instead of _dl_argv[0].
41510 * sysdeps/powerpc/powerpc32/dl-machine.c
41511 (__elf_machine_runtime_setup) [PROF]: Don't reference
41514 2012-05-18 Andreas Jaeger <aj@suse.de>
41516 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
41517 function only available for GCCs before 3.4 since GCC 3.4
41518 introduced a builtin.
41520 (llrintf): Likewise.
41521 (llrint): Likewise.
41528 (nearbyint): Likewise.
41529 (nearbyintf): Likewise.
41533 (floorf): Likewise.
41535 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41537 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
41538 on both fields and cast pointer to __syscall_ulong_t.
41540 * bits/types.h (__fsword_t): New type.
41541 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
41542 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
41543 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41544 (__FSWORD_T_TYPE): Likewise.
41545 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41546 (__FSWORD_T_TYPE): Likewise.
41547 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41548 (__FSWORD_T_TYPE): Likewise.
41549 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
41550 (__FSWORD_T_TYPE): Likewise.
41551 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
41552 __SWORD_TYPE with __fsword_t.
41553 (statfs64): Likewise.
41555 2012-05-17 David S. Miller <davem@davemloft.net>
41557 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
41559 2012-05-17 Andreas Jaeger <aj@suse.de>
41561 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
41564 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41566 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
41568 2012-05-17 Andreas Jaeger <aj@suse.de>
41570 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
41573 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
41575 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
41577 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41579 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
41580 * sysdeps/x86_64/tst-mallocalign1.c: New file.
41582 2012-05-17 Andreas Jaeger <aj@suse.de>
41583 Carlos O'Donell <carlos_odonell@mentor.com>
41586 * sysdeps/x86_64/multiarch/init-arch.h
41587 (bit_YMM_Usable): Rename to...
41588 (bit_AVX_Usable): ... this.
41589 (bit_FMA4_Usable): New macro.
41590 (bit_XMM_state): New macro.
41591 (bit_YMM_state): New macro.
41592 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
41593 [__ASSEMBLER__] (index_AVX_Usable): ... this.
41594 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
41595 (CPUID_OSXSAVE): New macro.
41596 (CPUID_AVX): New macro.
41597 (CPUID_FMA4): New macro.
41598 (index_YMM_Usable): Rename to...
41599 (index_AVX_Usable): ... this.
41600 (HAS_AVX): Use HAS_ARCH_FEATURE.
41601 (HAS_FMA4): Likewise.
41602 (HAS_YMM_USABLE): Remove.
41603 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41604 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
41606 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
41607 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
41608 * sysdeps/x86_64/multiarch/Makefile: Likewise.
41609 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
41610 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
41612 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
41614 * math/libm-test.c: Support platforms without multiple rounding modes.
41615 * math/bug-nextafter.c: Support platforms without FP exceptions.
41616 * math/bug-nexttoward.c: Likewise.
41617 * math/test-fenv.c: Likewise.
41618 * math/test-misc.c: Likewise.
41619 * stdlib/bug-getcontext.c: Likewise.
41621 2012-05-17 Andreas Jaeger <aj@suse.de>
41623 * manual/examples/search.c (critter_cmp): Change signature to
41625 * manual/string.texi (Collation Functions): Likewise.
41627 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41629 * bits/types.h: Fold copyright years.
41630 * bits/typesizes.h: Likewise.
41631 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
41632 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
41633 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
41634 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
41635 * time/time.h: Likewise.
41637 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
41640 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
41641 in instead of returning them. Return void.
41642 (__libc_mallinfo): Accumulate over all arenas.
41643 (__malloc_stats): Adjust for change in int_mallinfo interface.
41645 2012-05-16 Roland McGrath <roland@hack.frob.com>
41648 * configure.in (NM): Add AC_CHECK_TOOL for it.
41649 (libc_extra_cflags): New substituted variable.
41650 Check for -fstack-protector being used implicitly.
41651 * configure: Regenerated.
41652 * config.make.in (config-extra-cflags): New variable,
41653 gets @libc_extra_cflags@.
41654 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
41657 * configure.in: Check for _FORTIFY_SOURCE being predefined.
41658 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
41659 * configure: Regenerated.
41660 * config.make.in (CPPUNDEFS): New substituted variable.
41661 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
41662 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
41663 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
41665 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41667 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
41668 (mq_attr): Use __syscall_slong_t.
41670 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41672 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
41673 Check __x86_64__ instead of __WORDSIZE.
41674 (_STAT_VER_LINUX): Likewise.
41675 (stat): Check __x86_64__ instead of __WORDSIZE. Use
41676 __syscall_ulong_t and __syscall_slong_t.
41677 (stat64): Likewise.
41679 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41681 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
41683 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41685 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
41687 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41689 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
41692 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
41693 include <bits/wordsize.h>. Check __x86_64__ instead of
41695 (greg_t): Use "__extension__ long long int" if __x86_64__ is
41697 (mcontext_t): Replace "unsigned long" with "unsigned long long".
41699 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
41700 include <bits/wordsize.h>. Check __x86_64__ instead of
41702 (user_regs_struct): Use "__extension__ unsigned long long"
41703 instead of "unsigned long" if __x86_64__ is defined.
41704 (user): Likewise. Pad after pointer field if __ILP32__ is
41707 2012-05-16 Joseph Myers <joseph@codesourcery.com>
41709 * configure.in (makeinfo): Require version 4.5 or later. Allow
41711 * configure: Regenerated.
41712 * manual/install.texi (texinfo): Increase version requirement to
41714 * INSTALL: Regenerated.
41716 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
41718 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41720 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
41722 * sysdeps/x86_64/x32/ffs.c: New file.
41724 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
41726 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
41727 defined. Use __syscall_ulong_t.
41728 (shminfo): Use __syscall_ulong_t.
41729 (shm_info): Likewise.
41731 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
41734 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
41736 (msgqnum_t): Use __syscall_ulong_t.
41737 (msglen_t): Likewise.
41738 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
41741 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
41742 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41744 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
41746 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
41747 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
41749 * sysvipc/sys/msg.h (msgbuf): Replace long int with
41752 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
41753 include <bits/wordsize.h>. Check __x86_64__ instead of
41756 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
41757 "unsigned long long int" if __x86_64__ is defined.
41758 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
41760 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
41761 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41762 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
41764 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
41766 (GET_PC): Cast to uintptr_t first.
41767 (GET_FRAME): Likewise.
41768 (GET_STACK): Likewise.
41770 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
41771 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
41772 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
41773 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
41774 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
41775 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
41776 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
41777 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
41778 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
41779 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
41780 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
41781 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
41782 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
41783 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
41784 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
41785 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
41786 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
41787 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
41788 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
41789 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
41790 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
41791 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
41792 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
41793 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
41794 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
41795 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
41796 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
41797 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
41798 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
41800 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
41802 * Makerules (+depfiles): Also collect depfiles from .oS in
41804 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
41805 .oS, $(libnldbl-routines)).
41807 * Makerules (native-compile-mkdep-flags): Define.
41808 * sunrpc/Makefile (extra-objs): Add $(addprefix
41809 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
41810 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
41811 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
41812 calling $(make-target-directory).
41814 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41816 * bits/types.h (__snseconds_t): Removed.
41817 * time/time.h (struct timespec): Replace __snseconds_t with
41819 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
41820 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
41822 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41823 (__SNSECONDS_T_TYPE): Likewise.
41824 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41825 (__SNSECONDS_T_TYPE): Likewise.
41826 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41827 (__SNSECONDS_T_TYPE): Likewise.
41829 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41831 * sysdeps/mach/hurd/bits/typesizes.h
41832 (__SYSCALL_SLONG_TYPE): New macro.
41833 (__SYSCALL_ULONG_TYPE): Likewise.
41835 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41837 * bits/types.h (__syscall_slong_t): New type.
41838 (__syscall_ulong_t): Likewise.
41840 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
41841 (__SYSCALL_ULONG_TYPE): Likewise.
41842 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41843 (__SYSCALL_SLONG_TYPE): Likewise.
41844 (__SYSCALL_ULONG_TYPE): Likewise.
41845 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41846 (__SYSCALL_SLONG_TYPE): Likewise.
41847 (__SYSCALL_ULONG_TYPE): Likewise.
41848 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41849 (__SYSCALL_SLONG_TYPE): Likewise.
41850 (__SYSCALL_ULONG_TYPE): Likewise.
41852 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41854 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
41855 Add sigaltstack-offsets.sym.
41856 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
41857 <sigaltstack-offsets.h>.
41858 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
41859 longjmp_msg pointer.
41860 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
41861 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
41863 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
41865 2012-05-15 Joseph Myers <joseph@codesourcery.com>
41867 * elf/stackguard-macros.h: Remove file.
41868 * sysdeps/generic/stackguard-macros.h: New file.
41869 * sysdeps/i386/stackguard-macros.h: Likewise.
41870 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
41871 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
41872 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
41873 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
41874 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
41875 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
41876 * sysdeps/x86_64/stackguard-macros.h: Likewise.
41877 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
41878 <elf/stackguard-macros.h>.
41881 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
41882 __aligned__ in attribute.
41883 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
41884 (gregset_t): Likewise.
41886 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41888 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
41889 * sysdeps/x86_64/64/Implies-after: Here. New file.
41890 * sysdeps/x86_64/x32/Implies-after: New file.
41892 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41894 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
41895 and access return value for _dl_profile_fixup. Use R10_LP to
41898 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41900 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
41902 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41904 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
41905 * sysdeps/x86_64/x32/sysdep.h: New file.
41907 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41909 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
41910 * sysdeps/x86_64/setjmp.S: Likewise.
41912 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41914 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
41915 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
41916 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
41917 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
41918 remove unused global constant.
41920 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
41922 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
41923 include of <not-cancel.h>.
41925 2012-05-15 Roland McGrath <roland@hack.frob.com>
41927 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
41929 2012-05-15 Jeff Law <law@redhat.com>
41930 Andreas Jaeger <aj@suse.de>
41933 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
41935 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
41936 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
41937 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
41938 code changing __hst_map_handle.map.
41940 2012-05-15 Roland McGrath <roland@hack.frob.com>
41942 * configure.in (sysnames): Look for Implies-before and Implies-after
41944 * configure: Regenerated.
41946 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41948 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
41949 8-byte data alignment with LP_SIZE alignment.
41951 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41953 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
41956 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41958 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
41960 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41962 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
41963 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
41964 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
41966 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41968 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41970 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
41971 (stackinfo_sub_sp): Likewise.
41973 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41975 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
41978 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41980 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
41983 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41985 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
41988 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41990 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
41992 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41994 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
41995 into R11_LP and load __x86_64_shared_cache_size_half into
41998 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42000 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
42003 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42005 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
42007 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
42009 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
42011 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
42012 powerpc32/power7/fpu/s_logb.c via #include.
42013 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
42014 powerpc32/power7/fpu/s_logbf.c via #include.
42015 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
42016 powerpc32/power7/fpu/s_logbl.c via #include.
42018 2012-05-15 Joseph Myers <joseph@codesourcery.com>
42020 * README.libm: Remove file.
42022 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42024 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
42025 count for x32. Use R*_LP and omit operand-size suffix.
42027 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42029 * shlib-versions: Move x86_64-.*-linux.* entries to ...
42030 * sysdeps/x86_64/64/shlib-versions: Here. New file.
42031 * sysdeps/x86_64/x32/shlib-versions: New file.
42033 2012-05-14 Roland McGrath <roland@hack.frob.com>
42035 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
42036 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
42037 Use _dl_fatal_printf instead.
42039 2012-05-14 Joseph Myers <joseph@codesourcery.com>
42041 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
42042 set if not set by the user. Do not allow for being unset.
42043 * sysdeps/unix/sysv/linux/configure: Regenerated.
42045 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42047 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
42048 the `q' suffix from lea and replace .quad with ASM_ADDR.
42050 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42052 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
42053 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
42055 (PTR_DEMANGLE): Likewise.
42057 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42059 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
42061 (ASM_ADDR): Likewise.
42062 (RAX_LP): Likewise.
42063 (RBP_LP): Likewise.
42064 (RBX_LP): Likewise.
42065 (RCX_LP): Likewise.
42066 (RDI_LP): Likewise.
42067 (RSI_LP): Likewise.
42068 (RSP_LP): Likewise.
42071 (R10_LP): Likewise.
42072 (R10_LP): Likewise.
42073 (R11_LP): Likewise.
42074 (R12_LP): Likewise.
42075 (R13_LP): Likewise.
42076 (R14_LP): Likewise.
42077 (R15_LP): Likewise.
42079 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42081 * sysdeps/x86_64/x32/dl-machine.h: New file.
42083 2012-05-14 Andreas Jaeger <aj@suse.de>
42085 * manual/Makefile (subdir): Remove export of subdir.
42086 (all): Remove target.
42087 (.PHONY): Remove all from list.
42088 (mkinstalldirs): Remove.
42089 (.PHONY): Remove installdirs from list.
42090 ($(inst_infodir)/libc.info): Use make-target-directory.
42091 (installdirs): Remove.
42092 (subdir_%): Remove.
42093 (glibc-targets): Remove.
42096 ($(objpfx)stubs ../po/manual.pot): Remove.
42097 ($(objpfx)stamp%): Remove.
42098 (make-target-directory): Remove.
42099 (subdir_install): Remove.
42100 (routines): Remove.
42107 * manual/.gitignore: Remove, it's not needed anymore.
42108 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
42110 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
42112 (texis): Renamed to $(objpfx)texis.
42113 (texis-path): New, contains path to generated files.
42114 (chapters.%): Use texis-path for complete path, add extra argument
42116 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
42117 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
42118 (summary,texi, stamp-summary): Use complete path of
42119 files. Generate files in build dir.
42120 (dir-add.texi): Build in build dir.
42121 (libm-err.texi,stamp-libm-err): Likewise.
42122 (version.texi, stamp-version): Likewise.
42123 (.%c.texi): Likewise.
42124 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
42125 (mostlyclean): Remove target.
42126 (realclean): Remove target.
42127 (generated): Add new variable with contents from mostlyclean and
42128 realclean, remove entries duplicated in common-mostlyclean, add
42129 stamp-libm-err and stamp-version.
42130 (generated-dirs): Add libc directory.
42131 ($(inst_infodir)/libc.info): Install files from build dir.
42133 * manual/install.texi (Configuring and compiling): Adjust since
42134 the info files are not part of the tar ball anymore.
42136 2012-05-14 Andreas Jaeger <aj@suse.de>
42138 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
42141 2012-05-14 Joseph Myers <joseph@codesourcery.com>
42144 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42145 to 2.2.0 where earlier.
42146 * sysdeps/unix/sysv/linux/configure: Regenerated.
42147 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
42148 Remove conditional code.
42149 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
42150 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
42151 Remove conditional code.
42152 [!__NR_lchown]: Likewise.
42153 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42154 [__NR_lchown]: Likewise.
42155 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
42156 comment referencing __ASSUME_LCHOWN_SYSCALL.
42157 * sysdeps/unix/sysv/linux/i386/sigaction.c
42158 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42159 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42160 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
42161 Remove conditional code.
42162 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
42163 (__protocol_available): Remove #if 0 code.
42164 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
42166 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
42167 * sysdeps/unix/sysv/linux/kernel-features.h
42168 (__ASSUME_GETCWD_SYSCALL): Don't define.
42169 (__ASSUME_REALTIME_SIGNALS): Likewise.
42170 (__ASSUME_PREAD_SYSCALL): Likewise.
42171 (__ASSUME_PWRITE_SYSCALL): Likewise.
42172 (__ASSUME_POLL_SYSCALL): Likewise.
42173 (__ASSUME_LCHOWN_SYSCALL): Likewise.
42174 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
42176 (__ASSUME_SIOCGIFNAME): Don't define.
42177 (__ASSUME_MSG_NOSIGNAL): Likewise.
42178 (__ASSUME_SENDFILE): Define unconditionally.
42179 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
42180 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
42182 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
42183 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
42184 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42185 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42186 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
42187 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42188 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
42190 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42191 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
42193 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42194 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
42196 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42197 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
42199 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42200 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
42202 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42203 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
42205 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42206 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
42208 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42209 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
42211 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42212 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42213 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
42214 Remove conditional code.
42215 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42216 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42217 Remove conditional code.
42218 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42219 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
42220 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
42221 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42222 Remove conditional code.
42223 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42224 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
42225 Remove conditional code.
42226 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42227 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
42228 Remove conditional code.
42229 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42230 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42231 Remove conditional code.
42232 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42233 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42234 Remove conditional code.
42235 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42236 * sysdeps/unix/sysv/linux/sh/pwrite64.c
42237 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42238 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42239 * sysdeps/unix/sysv/linux/sigaction.c
42240 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42241 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42242 * sysdeps/unix/sysv/linux/sigpending.c
42243 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42244 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42245 * sysdeps/unix/sysv/linux/sigprocmask.c
42246 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42247 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42248 * sysdeps/unix/sysv/linux/sigsuspend.c
42249 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42250 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42251 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42252 (__libc_missing_rt_sigs): Remove.
42253 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
42254 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
42255 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
42256 Remove conditional code.
42257 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
42258 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
42260 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
42261 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
42262 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
42263 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
42265 2012-05-14 Andreas Jaeger <aj@suse.de>
42267 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
42268 it's not used in glibc.
42269 (__coshm1): Likewise.
42270 (__acosh1p): Likewise.
42273 * manual/string.texi (Copying and Concatenation): Add missing
42274 variable in concat example.
42275 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42277 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42280 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
42281 __builtin_clzl with __builtin_clzll.
42283 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42286 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
42289 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42291 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
42292 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
42293 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
42294 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
42296 2012-05-14 Mike Frysinger <vapier@gentoo.org>
42298 * NEWS: Update ia64 info.
42300 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
42302 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
42305 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
42307 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
42308 * sysdeps/unix/syscalls.list (dup3): Likewise.
42309 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
42310 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
42312 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42314 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
42315 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
42317 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42319 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
42321 (TLS_IE): Use mov/add instead of movq/addq to load thread
42323 (TLS_GD_PREFIX): New.
42326 2012-05-11 David S. Miller <davem@davemloft.net>
42328 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
42329 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
42330 (_FPU_SETCW): Likewise.
42332 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42334 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
42335 is 32-byte aligned.
42337 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
42340 * iconvdata/gb18030.c: Update tables.
42341 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
42342 characters specially.
42343 (BODY for TO_LOOP): Add encoding of missing ranges.
42345 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
42348 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
42349 * sysdeps/mach/hurd/dup3.c: Likewise.
42350 * sysdeps/mach/hurd/readlinkat.c: Likewise.
42351 * sysdeps/powerpc/memmove.c:: Likewise.
42353 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42355 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
42356 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
42358 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42360 * elf/elf.h (R_X86_64_RELATIVE64): New.
42361 (R_X86_64_NUM): Updated.
42362 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42363 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
42364 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
42365 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
42366 tst-quad1pie tst-quad2pie
42367 (modules-names): Add tst-quadmod1 tst-quadmod2.
42368 ($(objpfx)tst-quad1): New dependency.
42369 ($(objpfx)tst-quad2): Likewise.
42370 ($(objpfx)tst-quad1pie): Likewise.
42371 ($(objpfx)tst-quad2pie): Likewise.
42372 * sysdeps/x86_64/tst-quad1.c: New file.
42373 * sysdeps/x86_64/tst-quad1pie.c: New file.
42374 * sysdeps/x86_64/tst-quad2.c: Likewise.
42375 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
42376 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
42377 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
42378 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
42379 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
42381 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42383 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
42384 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
42385 * streams/stropts.h (t_scalar_t): Define type.
42387 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
42388 (_PATH_PRESERVE): Set to "/var/lib".
42389 (_PATH_RWHODIR): Set to "/var/spool/rwho".
42391 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
42394 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
42395 if __dir_mkfile succeeded.
42397 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
42398 checking for _hurd_dtablesize. Unlock it right after having
42399 finished _hurd_dtable allocation.
42401 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42403 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
42404 * sysdeps/mach/hurd/configure: Regenerated.
42405 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
42406 special-casing to...
42407 * sysdeps/gnu/configure.in: ... this new file.
42408 * sysdeps/unix/sysv/linux/configure: Regenerated.
42409 * sysdeps/gnu/configure: New generated file.
42411 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
42412 for Linux: use nsec instead of usec, as well as:
42413 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
42414 members of type struct timespec.
42415 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
42417 (struct stat64): Likewise.
42418 (_STATBUF_ST_NSEC): New macro.
42419 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
42421 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42422 __strtoul_internal rather than strtoul.
42424 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42426 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
42429 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42431 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
42432 which preserves existing values.
42433 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
42435 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42437 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
42438 TIMEOUT values. Return EINVAL for NFDS values either negative or
42439 greater than FD_SETSIZE.
42441 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42443 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
42444 allocated, call __vm_protect to finish enabling the existing space, and
42445 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
42446 allocate the remainder.
42448 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42450 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
42451 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
42453 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42455 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
42456 sysdeps/mach/hurd/readlink.c.
42458 * posix/tst-sysconf.c (posix_options): Only use
42459 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
42460 _POSIX_SYNCHRONIZED_IO when they are defined
42461 * sysdeps/mach/hurd/bits/posix_opt.h:
42462 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
42463 (_XOPEN_REALTIME): Undefine macro.
42464 (_XOPEN_REALTIME_THREADS): Undefine macro.
42465 (_XOPEN_SHM): Undefine macro.
42466 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
42468 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
42470 (_POSIX_ASYNC_IO): Undefine macro.
42471 (_POSIX_PRIORITIZED_IO): Undefine macro.
42472 (_POSIX_SPIN_LOCKS): Define macro to -1.
42474 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
42475 SA_NODEFER, SA_RESETHAND.
42476 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
42477 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
42480 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42482 * elf/Makefile (pldd-modules): Define unconditionally.
42484 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42486 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
42488 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42490 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
42491 Return ENOENT when name is empty.
42492 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
42494 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42496 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
42498 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
42500 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42502 Fix mlock in all cases except non-readable pages.
42503 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
42504 instead of VM_PROT_ALL as parameter to __vm_wire function.
42506 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
42507 (__mkdir): When path is `/', just fail with EEXIST.
42508 * sysdeps/mach/hurd/mkdirat.c: Likewise.
42510 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42512 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
42513 <sys/uio.h> (for writev).
42514 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
42515 and <sys/param.h> (for MIN).
42517 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42519 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
42520 REQUESTED_TIME. Properly set the remaining time and return EINTR
42523 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42525 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
42526 Depend on against $(link-rpcuserlibs).
42528 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42530 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
42531 (__libc_stack_end): Do not use attribute_relro.
42532 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
42533 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
42534 to libthread-provided value.
42535 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
42538 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42541 * bits/libc-lock.h (__libc_once_get): New macro.
42542 * sysdeps/mach/bits/libc-lock.h: Likewise.
42543 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
42544 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
42545 instead of using implementation details.
42547 * libio/fileops.c: Unconditionally include <kernel-features.h>.
42548 * libio/freopen.c: Likewise.
42549 * libio/freopen64.c: Likewise.
42550 * misc/syslog.c: Likewise.
42551 * nscd/connections.c: Likewise.
42552 * nscd/netgroupcache.c: Likewise.
42553 * sysdeps/posix/getcwd.c: Likewise.
42555 2012-05-10 Roland McGrath <roland@hack.frob.com>
42557 * math/w_ilogbf.c: Add #include <limits.h>.
42559 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42561 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
42562 path instead of returning without unlocking.
42564 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
42565 immediate-write ioctls.
42566 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
42568 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42570 * sysdeps/mach/hurd/i386/init-first.c (init): Use
42571 __builtin_frame_address instead of making assumptions about the
42572 location of the return address relative to DATA. Force early load of
42573 the return address.
42574 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
42575 __builtin_frame_address.
42578 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
42579 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
42580 implement dup3 and do some further code clean-ups.
42581 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
42582 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
42584 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42586 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
42588 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
42589 HURD_CRITICAL_END around holding _hurd_dtable_lock.
42590 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
42591 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
42592 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
42595 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
42596 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
42597 when handler == SIG_ERR, not when handler != SIG_ERR.
42599 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42601 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
42602 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
42605 accept4 for GNU Hurd.
42606 * include/sys/socket.h (__libc_accept4): New prototype.
42607 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
42608 to implement __libc_accept4.
42609 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
42611 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
42613 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
42614 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
42615 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
42616 signal-defines.sym.
42618 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42620 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
42622 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42624 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
42625 assertion on O_CLOEXEC flag.
42626 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
42627 * hurd/intern-fd.c: Likewise.
42628 * hurd/port2fd.c: Likewise.
42630 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42633 * bits/in.h (IPV6_PKTINFO): Define new macro.
42634 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
42636 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42641 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
42642 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42643 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
42644 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42645 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42646 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42647 * math/libm-test.inc (logb_test) : Additional logb tests.
42649 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
42650 Andreas Jaeger <aj@suse.de>
42652 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
42653 * configure: Regenerated.
42654 * config.h.in (LINK_OBSOLETE_RPC): New macro.
42655 * config.make.in (link-obsolete-rpc): New substituted variable.
42656 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
42657 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
42658 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42659 (shared-only-routines): Don't set it under [link-obsolete-rpc],
42660 so that libc.a contains the symbols.
42661 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42662 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
42663 * sunrpc/auth_none.c: Likewise.
42664 * sunrpc/auth_unix.c: Likewise.
42665 * sunrpc/authdes_prot.c: Likewise.
42666 * sunrpc/authuxprot.c: Likewise.
42667 * sunrpc/clnt_gen.c: Likewise.
42668 * sunrpc/clnt_perr.c: Likewise.
42669 * sunrpc/clnt_raw.c: Likewise.
42670 * sunrpc/clnt_simp.c: Likewise.
42671 * sunrpc/clnt_tcp.c: Likewise.
42672 * sunrpc/clnt_udp.c: Likewise.
42673 * sunrpc/clnt_unix.c: Likewise.
42674 * sunrpc/des_crypt.c: Likewise.
42675 * sunrpc/des_soft.c: Likewise.
42676 * sunrpc/get_myaddr.c: Likewise.
42677 * sunrpc/key_call.c: Likewise.
42678 * sunrpc/key_prot.c: Likewise.
42679 * sunrpc/netname.c: Likewise.
42680 * sunrpc/pm_getmaps.c: Likewise.
42681 * sunrpc/pm_getport.c: Likewise.
42682 * sunrpc/pmap_clnt.c: Likewise.
42683 * sunrpc/pmap_prot.c: Likewise.
42684 * sunrpc/pmap_prot2.c: Likewise.
42685 * sunrpc/pmap_rmt.c: Likewise.
42686 * sunrpc/publickey.c: Likewise.
42687 * sunrpc/rpc_cmsg.c: Likewise.
42688 * sunrpc/rpc_common.c: Likewise.
42689 * sunrpc/rpc_dtable.c: Likewise.
42690 * sunrpc/rpc_prot.c: Likewise.
42691 * sunrpc/rpc_thread.c: Likewise.
42692 * sunrpc/rtime.c: Likewise.
42693 * sunrpc/svc.c: Likewise.
42694 * sunrpc/svc_auth.c: Likewise.
42695 * sunrpc/svc_raw.c: Likewise.
42696 * sunrpc/svc_run.c: Likewise.
42697 * sunrpc/svc_tcp.c: Likewise.
42698 * sunrpc/svc_udp.c: Likewise.
42699 * sunrpc/svc_unix.c: Likewise.
42700 * sunrpc/svcauth_des.c: Likewise.
42701 * sunrpc/xcrypt.c: Likewise.
42702 * sunrpc/xdr.c: Likewise.
42703 * sunrpc/xdr_array.c: Likewise.
42704 * sunrpc/xdr_float.c: Likewise.
42705 * sunrpc/xdr_intXX_t.c: Likewise.
42706 * sunrpc/xdr_mem.c: Likewise.
42707 * sunrpc/xdr_rec.c: Likewise.
42708 * sunrpc/xdr_ref.c: Likewise.
42709 * sunrpc/xdr_sizeof.c: Likewise.
42710 * sunrpc/xdr_stdio.c: Likewise.
42712 2012-05-10 Roland McGrath <roland@hack.frob.com>
42714 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
42715 change. Update copyright years.
42717 2012-05-10 Joseph Myers <joseph@codesourcery.com>
42719 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
42721 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
42722 Joseph Myers <joseph@codesourcery.com>
42723 Paul Pluzhnikov <ppluzhnikov@google.com>
42726 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
42728 [cross-compiling] (extra-libs): Likewise.
42729 [cross-compiling] (extra-libs-others): Likewise.
42730 [cross-compiling] (librpcsvc-routines): Likewise.
42731 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
42732 [cross-compiling] (omit-deps): Likewise.
42733 (sunrpc-CPPFLAGS): New variable.
42734 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
42735 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
42736 (cross-rpcgen-objs): New variable.
42737 (extra-objs): Append $(cross-rpcgen-objs).
42738 ($(cross-rpcgen-objs)): New rule.
42739 ($(objpfx)cross-rpcgen): Likewise.
42740 (rpcgen-cmd): Define to use $(built-program-file). Expand
42742 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
42743 ($(objpfx)x%.stmp): Likewise.
42744 * sunrpc/proto.h [IS_IN_build] (_): Define.
42745 [IS_IN_build] (_libc_intl_domainname): Likewise.
42747 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42749 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
42750 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
42751 and R_X86_64_TPOFF64.
42753 2012-05-10 Joseph Myers <joseph@codesourcery.com>
42755 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
42756 sysdeps/unix/sysv/syscalls.list.
42759 * sysdeps/unix/sysv/syscalls.list: Remove file.
42761 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
42764 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
42765 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
42766 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
42767 (__LC_IDENTIFICATION): Make these macros useful in #if
42768 expressions, as required by C99.
42770 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
42772 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
42773 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
42776 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
42778 * stdlib/longlong.h: Updated from GCC.
42780 2012-05-09 Andreas Jaeger <aj@suse.de>
42782 * nscd/nscd.c (run_modes): Make named enum, reorder so that
42783 default is first entry.
42784 (run_mode): Set type.
42785 (main): Remove informal message about syslog.
42786 (options): Fix typo.
42789 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
42792 (llrintf): Likewise.
42793 (llrint): Likewise.
42796 (nearbyint): Likewise.
42797 (nearbyintf): Likewise.
42799 2012-05-09 Andreas Jaeger <aj@suse.de>
42800 Pedro Alves <palves@redhat.com>
42802 * nscd/nscd.c (run_mode): Use enum.
42803 (main): Cleanup coding style issue.
42805 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
42806 Andreas Jaeger <aj@suse.de>
42808 * nscd/nscd.c (go_background): Replaced with...
42809 (run_mode): ... this.
42810 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
42811 (options): Add -F --foreground.
42812 (main): Implement it.
42813 (parse_opt): Parse it.
42815 2012-05-09 Andreas Jaeger <aj@suse.de>
42818 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
42819 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
42820 -Wconversion warning.
42821 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
42824 2012-05-09 Joseph Myers <joseph@codesourcery.com>
42826 * conform/data/locale.h-data (NULL): Use macro-constant. Require
42828 (LC_ALL): Use macro-int-constant.
42829 (LC_COLLATE): Likewise.
42830 (LC_CTYPE): Likewise.
42831 (LC_MESSAGES): Likewise.
42832 (LC_MONETARY): Likewise.
42833 (LC_NUMERIC): Likewise.
42834 (LC_TIME): Likewise.
42835 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
42836 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42837 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42838 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
42840 [C99-based standards] (float_t): Expect type.
42841 [C99-based standards] (double_t): Expect type.
42842 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
42844 [C99-based standards] (HUGE_VALL): Likewise.
42845 [C99-based standards] (INFINITY): Likewise.
42846 [C99-based standards] (NAN): Likewise.
42847 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
42848 [C99-based standards] (FP_NAN): Likewise.
42849 [C99-based standards] (FP_NORMAL): Likewise.
42850 [C99-based standards] (FP_SUBNORMAL): Likewise.
42851 [C99-based standards] (FP_ZERO): Likewise.
42852 [C99-based standards] (FP_FAST_FMA): Use
42853 optional-macro-int-constant. Specify type. Require == 1.
42854 [C99-based standards] (FP_FAST_FMAF): Likewise.
42855 [C99-based standards] (FP_FAST_FMAL): Likewise.
42856 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
42857 [C99-based standards] (FP_ILOGBNAN): Likewise.
42858 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
42860 [C99-based standards] (MATH_ERREXCEPT): Likewise.
42861 [C99-based standards] (math_errhandling): Specify type.
42862 [ISO99 || ISO11] (signgam): Do not allow.
42863 [non-C99-based standards] (copysignf): Do not allow.
42864 [non-C99-based standards] (exp2f): Likewise.
42865 [non-C99-based standards] (log2f): Likewise.
42866 [non-C99-based standards] (modff): Allow.
42867 [non-C99-based standards] (erff): Do not allow.
42868 [non-C99-based standards] (erfcf): Likewise.
42869 [non-C99-based standards] (gammaf): Likewise.
42870 [non-C99-based standards] (hypotf): Likewise.
42871 [non-C99-based standards] (j0f): Likewise.
42872 [non-C99-based standards] (j1f): Likewise.
42873 [non-C99-based standards] (jnf): Likewise.
42874 [non-C99-based standards] (lgammaf): Likewise.
42875 [non-C99-based standards] (tgammaf): Likewise.
42876 [non-C99-based standards] (y0f): Likewise.
42877 [non-C99-based standards] (y1f): Likewise.
42878 [non-C99-based standards] (ynf): Likewise.
42879 [non-C99-based standards] (isnanf): Likewise.
42880 [non-C99-based standards] (acoshf): Likewise.
42881 [non-C99-based standards] (asinhf): Likewise.
42882 [non-C99-based standards] (atanhf): Likewise.
42883 [non-C99-based standards] (cbrtf): Likewise.
42884 [non-C99-based standards] (expm1f): Likewise.
42885 [non-C99-based standards] (ilogbf): Likewise.
42886 [non-C99-based standards] (log1pf): Likewise.
42887 [non-C99-based standards] (logbf): Likewise.
42888 [non-C99-based standards] (nextafterf): Likewise.
42889 [non-C99-based standards] (remainderf): Likewise.
42890 [non-C99-based standards] (rintf): Likewise.
42891 [non-C99-based standards] (scalbf): Likewise.
42892 [non-C99-based standards] (copysignl): Likewise.
42893 [non-C99-based standards] (exp2l): Likewise.
42894 [non-C99-based standards] (log2l): Likewise.
42895 [non-C99-based standards] (modfl): Allow.
42896 [non-C99-based standards] (erfl): Do not allow.
42897 [non-C99-based standards] (erfcl): Likewise.
42898 [non-C99-based standards] (gammal): Likewise.
42899 [non-C99-based standards] (hypotl): Likewise.
42900 [non-C99-based standards] (j0l): Likewise.
42901 [non-C99-based standards] (j1l): Likewise.
42902 [non-C99-based standards] (jnl): Likewise.
42903 [non-C99-based standards] (lgammal): Likewise.
42904 [non-C99-based standards] (tgammal): Likewise.
42905 [non-C99-based standards] (y0l): Likewise.
42906 [non-C99-based standards] (y1l): Likewise.
42907 [non-C99-based standards] (ynl): Likewise.
42908 [non-C99-based standards] (isnanl): Likewise.
42909 [non-C99-based standards] (acoshl): Likewise.
42910 [non-C99-based standards] (asinhl): Likewise.
42911 [non-C99-based standards] (atanhl): Likewise.
42912 [non-C99-based standards] (cbrtl): Likewise.
42913 [non-C99-based standards] (expm1l): Likewise.
42914 [non-C99-based standards] (ilogbl): Likewise.
42915 [non-C99-based standards] (log1pl): Likewise.
42916 [non-C99-based standards] (logbl): Likewise.
42917 [non-C99-based standards] (nextafterl): Likewise.
42918 [non-C99-based standards] (remainderl): Likewise.
42919 [non-C99-based standards] (rintl): Likewise.
42920 [non-C99-based standards] (scalbl): Likewise.
42921 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42922 [non-C99-based standards] (FP_*): Do not allow.
42923 [C99-based standards] (FP_*): Change to
42924 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42925 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42927 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
42928 (SIG_ERR): Likewise.
42929 [X/Open-based standards] (SIG_HOLD): Likewise.
42930 (SIG_IGN): Likewise.
42931 (SIGABRT): Use macro-int-constant. Specify type. Require
42933 (SIGFPE): Likewise.
42934 (SIGILL): Likewise.
42935 (SIGINT): Likewise.
42936 (SIGSEGV): Likewise.
42937 (SIGTER): Likewise.
42938 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
42939 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
42940 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
42941 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
42942 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
42943 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
42944 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
42945 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
42946 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
42947 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
42948 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
42949 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
42950 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
42951 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
42952 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
42953 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
42954 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
42955 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
42956 [X/Open-based standards] (SIGTRAP): Likewise.
42957 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
42958 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
42959 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
42960 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
42961 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42964 2012-05-08 Ian Wienand <ianw@vmware.com>
42967 * time/tzset.c (__tzset_parse_tz): Update default rules for
42968 daylight time changes in the Energy Policy Act of 2005.
42970 2012-05-09 Andreas Jaeger <aj@suse.de>
42973 * elf/ldconfig.c (parse_conf): Change string to make clear that
42974 ldconfig only issued a warning if ld.so.conf does not exist.
42976 2012-05-08 David S. Miller <davem@davemloft.net>
42978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
42979 movxtod instead of popping the value on the stack.
42981 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42983 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
42985 * config.h.in: Add HAVE_ARM_PCS_VFP.
42987 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
42990 * include/features.h: Warn if user requests __FORTIFY_SOURCE
42991 checking but the checks are disabled for any reason.
42993 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
42995 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
42996 and ELF64_R_TYPE with ELFW(R_TYPE).
42998 2012-05-08 Joseph Myers <joseph@codesourcery.com>
43000 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
43001 (ulimit): Likewise.
43003 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
43004 (settimeofday): Likewise.
43006 2012-05-08 Mike Frysinger <vapier@gentoo.org>
43008 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
43009 a struct th_u2 inside the union, and move tu_block/tu_code into
43010 a new th_u3 union of tu_block/tu_code inside of that. Move
43011 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
43012 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
43013 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
43014 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
43015 (th_stuff): Change to th_u1.tu_stuff.
43017 (th_msg): Change to th_u1.th_u2.tu_data.
43019 2012-05-07 David S. Miller <davem@davemloft.net>
43021 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43024 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
43025 (SETUP_PIC_REG): Use it.
43026 (SETUP_PIC_REG_LEAF): Use it.
43028 2012-05-07 Joseph Myers <joseph@codesourcery.com>
43032 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43034 (EXPL_FINITE): Likewise.
43035 (FLDLOG): Likewise.
43036 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43037 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43039 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43041 (EXPL_FINITE): Likewise.
43042 (FLDLOG): Likewise.
43043 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43044 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43046 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
43047 test of -max_value argument for long double.
43048 * sysdeps/i386/fpu/libm-test-ulps: Update.
43049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43051 2012-05-06 David S. Miller <davem@davemloft.net>
43053 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
43054 quad soft-float symbols whose references which are compiler
43056 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43058 2012-05-06 Joseph Myers <joseph@codesourcery.com>
43062 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43064 (EXPL_FINITE): Likewise.
43065 (FLDLOG): Likewise.
43068 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43069 Adjust comments for base varying.
43070 (__expl_finite): Change alias to EXPL_FINITE.
43071 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
43073 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
43074 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
43075 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43076 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
43077 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43079 (EXPL_FINITE): Likewise.
43080 (FLDLOG): Likewise.
43083 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43084 Adjust comments for base varying.
43085 (__expl_finite): Change alias to EXPL_FINITE.
43086 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
43088 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43091 * math/libm-test.inc (check_float_internal): Correct ulp
43092 calculation for subnormal expected results.
43094 2012-05-06 Andreas Jaeger <aj@suse.de>
43096 * Makeconfig (+math-flags): New, set to -frounding-math.
43097 (+cflags): Add +math-flags so that all of glibc gets compiled with
43100 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
43102 2012-05-05 Joseph Myers <joseph@codesourcery.com>
43104 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
43110 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
43111 (__ieee754_expl): Allow for and saturate large arguments.
43112 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
43113 (u_threshold): Likewise.
43114 (__exp): Call __ieee754_exp before checking for overflow and
43116 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
43117 (u_threshold): Likewise.
43118 (__expf): Call __ieee754_expf before checking for overflow and
43120 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
43121 (u_threshold): Likewise.
43122 (__expl): Call __ieee754_expl before checking for overflow and
43124 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
43125 (__ieee754_expl): Allow for and saturate large arguments.
43126 * math/libm-test.inc (exp_test): Add another test. Do not allow
43127 missing overflow exception on overflow.
43128 (expm1_test): Do not allow missing overflow exception on overflow.
43130 * sysdeps/i386/fpu/e_expl.c: Move to ...
43131 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
43132 rather than using inline asm.
43133 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
43134 * sysdeps/x86_64/fpu/e_expl.S: Copy from
43135 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
43137 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
43140 (signal): Likewise.
43144 2012-05-04 Joseph Myers <joseph@codesourcery.com>
43146 * sysdeps/unix/syscalls.list (adjtime): Add entry from
43147 sysdeps/unix/common/syscalls.list.
43148 (fchmod): Likewise.
43149 (fchown): Likewise.
43150 (ftruncate): Likewise.
43151 (getrusage): Likewise.
43152 (gettimeofday): Likewise.
43153 (setpgid): Likewise.
43154 (setregid): Likewise.
43155 (setreuid): Likewise.
43156 (sigaction): Likewise.
43157 (truncate): Likewise.
43158 (vhangup): Likewise.
43159 * sysdeps/unix/common/syscalls.list: Remove file.
43160 * sysdeps/unix/bsd/Implies: Don't include unix/common.
43161 * sysdeps/unix/sysv/linux/Implies: Likewise.
43163 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
43165 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
43166 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
43167 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
43169 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43171 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
43173 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
43174 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
43176 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
43177 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
43179 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
43180 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
43182 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
43183 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
43185 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
43186 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
43188 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
43189 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
43191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43193 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
43195 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
43197 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
43199 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
43200 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
43202 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
43204 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
43206 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
43208 2012-05-04 Joseph Myers <joseph@codesourcery.com>
43210 * sysdeps/unix/common/bits/dirent.h: Remove file.
43211 * sysdeps/unix/common/bits/fcntl.h: Likewise.
43213 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
43214 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
43215 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
43216 * sysdeps/unix/bsd/isatty.c: Likewise.
43217 * sysdeps/unix/bsd/tcdrain.c: Likewise.
43218 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
43219 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
43221 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43224 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
43225 long double comparison inaccuracies.
43226 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43227 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43229 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
43231 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
43232 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
43234 2012-05-04 Joseph Myers <joseph@codesourcery.com>
43237 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
43238 nonzero digits before rounding a hex value.
43239 * stdlib/tst-strtod.c (tests): Add another test.
43241 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43243 * sysdeps/s390/fpu/libm-test-ulps: Update.
43245 2012-05-03 Andreas Jaeger <aj@suse.de>
43247 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
43248 does not get optimized out.
43249 (malloc_opt_barrier): New.
43251 2012-05-03 Andreas Jaeger <aj@suse.de>
43252 Roland McGrath <roland@hack.frob.com>
43254 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
43255 intermediate file deletion.
43256 (generated): Add .symlist files.
43258 2012-05-03 Joseph Myers <joseph@codesourcery.com>
43261 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
43262 Redirect under this condition.
43263 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43264 [__USE_GNU] (__dprintf_chk): Not under this condition.
43265 [__USE_GNU] (__vdprintf_chk): Likewise.
43266 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
43267 under this condition.
43268 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43269 [__USE_XOPEN2K8] (dprintf): Define under this condition.
43270 [__USE_XOPEN2K8] (vdprintf): Likewise.
43271 [__USE_GNU] (__dprintf_chk): Not under this condition.
43272 [__USE_GNU] (__vdprintf_chk): Likewise.
43273 [__USE_GNU] (dprintf): Likewise.
43274 [__USE_GNU] (vdprintf): Likewise.
43276 2012-05-03 Roland McGrath <roland@hack.frob.com>
43278 * elf/Makefile (common-generated): Set this instead of generated for
43279 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
43280 $(all-built-dso)-derived lists.
43282 2012-05-03 Andreas Jaeger <aj@suse.de>
43284 * sysdeps/i386/fpu/libm-test-ulps: Update.
43287 * FAQ.in: Likewise.
43288 * scripts/gen-FAQ.pl: Likewise.
43289 * manual/install.texi (Installation): Point to online location of
43291 * Makefile (files-for-dist): Remove FAQ.
43294 2012-05-02 Allan McRae <allan@archlinux.org>
43296 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
43297 (LDFLAGS-reldepmod5.so): Likewise.
43298 (LDFLAGS-reldep6mod1.so): Likewise.
43299 (LDFLAGS-reldep6mod4.so): Likewise.
43300 (LDFLAGS-reldep8mod3.so): Likewise.
43301 (LDFLAGS-unload4mod1.so): Likewise.
43302 (LDFLAGS-unload4mod2.so): Likewise.
43303 (LDFLAGS-tst-initorder): Likewise.
43304 (LDFLAGS-tst-initordera2.so): Likewise.
43305 (LDFLAGS-tst-initordera3.so): Likewise.
43306 (LDFLAGS-tst-initordera4.so): Likewise.
43307 (LDFLAGS-tst-initorderb2.so): Likewise.
43308 (LDFLAGS-noload): Likewise.
43309 (LDFLAGS-next): Likewise.
43310 (LDFLAGS-order2mod1.so): Likewise.
43311 (LDFLAGS-order2mod2.so): Likewise.
43312 (LDFLAGS-tst-initorder2): Likewise.
43313 (LDFLAGS-tst-initorder2a.so): Likewise.
43314 (LDFLAGS-tst-initorder2b.so): Likewise.
43315 (LDFLAGS-tst-initorder2c.so): Likewise.
43316 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
43318 2012-05-02 David S. Miller <davem@davemloft.net>
43320 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43322 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
43325 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
43327 2012-05-02 Andreas Jaeger <aj@suse.de>
43329 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
43330 since we manipulate rounding mode.
43331 (CPPFLAGS-test-idouble.c): Likewise.
43332 (CPPFLAGS-test-ifloat.c): Likewise.
43333 (CFLAGS-test-ldouble.c): Likewise.
43334 (CFLAGS-test-double.c): Likewise.
43335 (CFLAGS-test-float.c): Likewise.
43336 (CFLAGS-test-misc.c): Likewise.
43337 (CFLAGS-test-test-fenv.c): Likewise.
43339 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43343 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
43344 comparisons to determine direction to adjust input.
43346 2012-05-01 Roland McGrath <roland@hack.frob.com>
43348 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
43349 output to the target.
43351 * scripts/localplt.awk: New file.
43352 * elf/Makefile ($(objpfx)check-localplt): Target removed.
43353 (check-localplt-CFLAGS): Variable removed.
43354 ($(all-built-dso:=.jmprel)): New static pattern rule.
43355 (generated): Add those targets.
43356 (localplt-built-dso): New variable.
43357 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
43359 * elf/check-localplt.c: File removed.
43361 * scripts/check-execstack.awk: New file.
43362 * elf/Makefile ($(objpfx)check-execstack): Target removed.
43363 (check-execstack-CFLAGS): Variable removed.
43364 ($(objpfx)check-execstack.h): Target removed.
43365 ($(objpfx)execstack-default): New target.
43366 (generated): Add that instead of check-execstack.h.
43367 ($(all-built-dso:=.phdr)): New static pattern rule.
43368 (generated): Add those targets.
43369 * elf/check-execstack.c: File removed.
43371 * scripts/check-textrel.awk: New file.
43372 * elf/Makefile ($(objpfx)check-textrel): Target removed.
43373 (check-textrel-CFLAGS): Variable removed.
43374 (all-built-dso): Use := to define.o
43375 ($(all-built-dso:=.dyn)): New static pattern rule.
43376 (generated): Add those targets.
43377 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
43378 * config.make.in (READELF): New substituted variable.
43379 * elf/check-textrel.c: File removed.
43381 2012-05-01 Joseph Myers <joseph@codesourcery.com>
43383 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43385 * conform/data/ctype.h-data [C99-based standards] (isblank):
43387 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
43388 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
43389 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43390 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
43391 Specify type. Require positive value.
43392 (EILSEQ): Likewise.
43393 (ERANGE): Likewise.
43394 [ISO || POSIX] (EILSEQ): Do not expect.
43395 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
43396 Specify type. Require positive value.
43397 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
43398 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
43399 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
43400 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
43401 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
43402 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
43403 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
43404 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
43405 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
43406 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
43407 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
43408 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
43409 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
43410 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
43411 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
43412 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
43413 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
43414 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
43415 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
43416 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
43417 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
43418 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
43419 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
43420 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
43421 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
43422 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
43423 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
43424 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
43425 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
43426 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
43427 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
43428 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
43429 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
43430 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
43431 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
43432 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
43433 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
43434 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
43435 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
43436 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
43437 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
43438 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
43439 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
43440 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
43441 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
43442 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
43443 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
43444 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
43445 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
43446 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
43447 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
43448 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
43449 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
43450 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
43451 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
43452 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
43453 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
43454 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
43455 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
43456 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
43457 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
43458 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
43459 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
43460 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
43461 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
43462 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
43463 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
43464 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
43465 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
43466 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
43467 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
43468 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
43469 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
43470 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
43471 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
43472 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
43473 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
43475 (FLT_ROUNDS): Expect as macro, not constant.
43476 (FLT_MANT_DIG): Use macro-int-constant.
43477 (DBL_MANT_DIG): Likewise.
43478 (LDBL_MANT_DIG): Likewise.
43479 (FLT_DIG): Likewise.
43480 (DBL_DIG): Likewise.
43481 (LDBL_DIG): Likewise.
43482 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
43483 (DBL_MIN_EXP): Likewise.
43484 (LDBL_MIN_EXP): Likewise.
43485 (FLT_MAX_EXP): Use macro-int-constant.
43486 (DBL_MAX_EXP): Likewise.
43487 (LDBL_MAX_EXP): Likewise.
43488 (FLT_MAX_10_EXP): Likewise.
43489 (DBL_MAX_10_EXP): Likewise.
43490 (LDBL_MAX_10_EXP): Likewise.
43491 (FLT_MAX): Use macro-constant.
43492 (DBL_MAX): Likewise.
43493 (LDBL_MAX): Likewise.
43494 (FLT_EPSILON): Use macro-constant. Give upper bound.
43495 (DBL_EPSILON): Likewise.
43496 (LDBL_EPSILON): Likewise.
43497 (FLT_MIN): Likewise.
43498 (DBL_MIN): Likewise.
43499 (LDBL_MIN): Likewise.
43500 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
43501 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
43502 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
43503 [ISO11] (FLT_HAS_SUBNORM): Likewise.
43504 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
43505 [ISO11] (DBL_DECIMAL_DIG): Likewise.
43506 [ISO11] (FLT_DECIMAL_DIG): Likewise.
43507 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
43508 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
43509 [ISO11] (FLT_TRUE_MIN): Likewise.
43510 [ISO11] (LDBL_TRUE_MIN): Likewise.
43511 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43512 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
43513 (SCHAR_MIN): Use macro-int-constant. Specify type.
43514 (SCHAR_MAX): Likewise.
43515 (UCHAR_MAX): Likewise.
43516 (CHAR_MIN): Likewise.
43517 (CHAR_MAX): Likewise.
43518 (MB_LEN_MAX): Use macro-int-constant.
43519 (SHRT_MIN): Use macro-int-constant. Specify type.
43520 (SHRT_MAX): Likewise.
43521 (USHRT_MAX): Likewise.
43522 (INT_MAX): Likewise.
43523 (INT_MIN): Use macro-int-constant. Specify type. Make upper
43525 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
43527 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
43529 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
43530 bound negative. Suffix upper bound with "L".
43531 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
43533 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
43535 [C99-based standards] (LLONG_MAX): Likewise.
43536 [C99-based standards] (ULLONG_MAX): Likewise.
43537 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
43539 [ISO11] (max_align_t): Require type.
43540 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43542 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
43543 from $CFLAGS, without defining away __attribute__ calls.
43544 (checknamespace): Use $CFLAGS_namespace.
43546 * conform/conformtest.pl (@keywords): Only include C99 keywords
43547 for standards based on C99 or C11.
43549 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
43551 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
43554 * conform/conformtest.pl: Handle "macro-int-constant" and test for
43555 usability of symbols in #if.
43557 * conform/conformtest.pl: If macro or constant types start
43558 "promoted:", expect the symbol to be of the following type
43559 promoted by the integer promotions.
43561 * conform/conformtest.pl: Parse all "constant" and "macro" lines
43562 in one place. Also handle "macro-constant".
43564 * conform/conformtest.pl: Only accept expected macro values with
43565 "==". Parse all "macro" lines in one place.
43566 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
43568 * conform/conformtest.pl: Handle braced types on "constant" lines
43569 instead of handling "typed-constant".
43570 * conform/data/signal.h-data: Use "constant" instead of
43573 * conform/conformtest.pl: Handle "optional-" at start of lines in
43574 one place rather than duplicating several cases. Handle each
43575 format of "macro" line with initial "optional-".
43577 * conform/conformtest.pl: Only accept expected constant or
43578 optional-constant values with "==". Parse all "constant" lines in
43579 one place. Parse all "optional-constant" lines in one place.
43580 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
43581 * conform/data/fmtmsg.h-data: Likewise.
43582 * conform/data/netinet/in.h-data: Likewise.
43583 * conform/data/tar.h-data: Likewise.
43584 * conform/data/limits.h-data: Use "==" form on "constant" and
43585 "optional-constant" lines.
43587 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
43588 Use -std=c99 for XOPEN2K.
43589 (@knownproblems): Remove.
43590 (newtoken): Don't check %isknown.
43592 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
43593 Do not expect macro.
43594 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
43595 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
43596 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
43597 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
43598 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
43599 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
43600 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
43601 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
43602 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
43603 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
43604 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
43605 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
43606 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
43607 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
43608 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
43609 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
43610 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
43611 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
43612 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
43613 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
43614 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
43615 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
43616 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
43617 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
43618 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
43619 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
43620 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
43621 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
43622 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
43623 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
43624 [XPG3] (acosh): Likewise.
43625 [XPG3] (asinh): Likewise.
43626 [XPG3] (atanh): Likewise.
43627 [XPG3] (cbrt): Likewise.
43628 [XPG3] (expm1): Likewise.
43629 [XPG3] (ilogb): Likewise.
43630 [XPG3] (log1p): Likewise.
43631 [XPG3] (logb): Likewise.
43632 [XPG3] (nextafter): Likewise.
43633 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
43634 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
43635 [XPG3] (remainder): Likewise.
43636 [XPG3] (rint): Likewise.
43637 [XPG3 || XPG4 || UNIX98] (round): Likewise.
43638 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
43639 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
43640 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
43641 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
43642 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
43643 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
43644 [UNIX98 || XOPEN2K] (scalb): Expect.
43645 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
43646 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
43647 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
43648 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
43649 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
43650 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
43651 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
43652 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
43653 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
43654 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
43655 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
43656 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
43657 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
43658 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
43659 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
43660 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
43661 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
43662 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
43663 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
43664 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
43665 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
43666 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
43667 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
43668 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
43669 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
43670 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
43671 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
43672 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
43673 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
43674 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
43675 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
43676 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
43677 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
43678 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
43679 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
43680 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
43681 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
43682 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
43683 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
43684 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
43685 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
43686 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
43687 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
43688 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
43689 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
43690 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
43691 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
43692 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
43693 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
43694 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
43695 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
43696 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
43697 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
43698 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
43699 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
43700 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
43701 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
43702 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
43703 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
43704 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
43705 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
43706 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
43707 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
43708 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
43709 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
43710 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
43711 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
43712 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
43713 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
43714 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
43715 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
43716 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
43717 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
43718 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
43719 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
43720 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
43721 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
43722 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
43723 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
43724 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
43725 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
43726 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
43727 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
43728 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
43729 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
43730 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
43731 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
43732 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
43733 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
43734 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
43735 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
43736 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
43737 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
43738 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
43739 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
43740 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
43741 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
43742 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
43743 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
43744 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
43745 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
43746 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
43747 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
43748 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
43749 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
43750 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
43751 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
43752 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
43753 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
43754 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
43755 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
43756 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
43757 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
43758 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
43759 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
43760 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
43761 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
43762 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
43763 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
43764 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
43765 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
43766 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
43767 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
43768 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
43769 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
43770 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
43771 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
43772 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
43773 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
43774 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
43775 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
43776 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
43777 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
43778 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
43779 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
43780 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
43781 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
43783 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
43784 _XOPEN_SOURCE_EXTENDED for XPG4.
43786 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
43788 * Makeconfig (localtime): Remove variable.
43789 (inst_localtime-file): Likewise.
43791 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
43795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
43799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
43805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
43809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43812 2012-05-01 Joseph Myers <joseph@codesourcery.com>
43816 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
43817 comparisons to determine direction to adjust input.
43818 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
43819 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
43820 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
43822 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
43824 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43826 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
43827 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
43829 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
43831 * math/libm-test.inc (nexttoward_test): Add more tests.
43833 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43836 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
43837 in version GLIBC_2.1, not GLIBC_2.0.
43838 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
43841 2012-04-30 Joseph Myers <joseph@codesourcery.com>
43844 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
43846 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43847 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
43848 * math/libm-test.inc (acos_test): Add more tests.
43849 (asin_test): Likewise.
43850 * sysdeps/i386/fpu/libm-test-ulps: Update.
43851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43854 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
43856 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
43857 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43858 * math/libm-test.inc (acos_test_tonearest): New function.
43859 (acos_test_towardzero): Likewise.
43860 (acos_test_downward): Likewise.
43861 (acos_test_upward): Likewise.
43862 (asin_test_tonearest): Likewise.
43863 (asin_test_towardzero): Likewise.
43864 (asin_test_downward): Likewise.
43865 (asin_test_upward): Likewise.
43866 (main): Call the new functions.
43867 * sysdeps/i386/fpu/libm-test-ulps: Update.
43868 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43872 * math/e_exp10.c: Include <float.h>.
43873 (__ieee754_exp10): Handle underflow here rather than multiplying
43874 large negative argument by M_LN10.
43875 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
43877 * math/e_exp10l.c: Include <float.h>.
43878 (__ieee754_exp10l): Handle underflow here rather than multiplying
43879 large negative argument by M_LN10l.
43880 * math/libm-test.inc (exp10_test): Add another test. Do not allow
43881 spurious overflow exception on underflow.
43883 2012-04-29 Marek Polacek <polacek@redhat.com>
43885 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
43886 (__fortify_function): New macro.
43887 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
43888 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
43889 __extern_always_inline.
43890 * libio/bits/stdio2.h: Likewise.
43891 * libio/bits/stdio.h: Likewise.
43892 * string/string.h: Likewise.
43893 * string/bits/string3.h: Likewise.
43894 * include/stdio.h: Likewise.
43895 * stdlib/bits/stdlib.h: Likewise.
43896 * stdlib/stdlib.h: Likewise.
43897 * rt/bits/mqueue2.h: Likewise.
43898 * rt/mqueue.h: Likewise.
43899 * posix/bits/unistd.h: Likewise.
43900 * posix/unistd.h: Likewise.
43901 * io/bits/poll2.h: Likewise.
43902 * io/bits/fcntl2.h: Likewise.
43903 * io/fcntl.h: Likewise.
43904 * io/sys/poll.h: Likewise.
43905 * misc/bits/syslog.h: Likewise.
43906 * misc/bits/syslog-ldbl.h: Likewise.
43907 * misc/sys/syslog.h: Likewise.
43908 * socket/bits/socket2.h: Likewise.
43909 * socket/sys/socket.h: Likewise.
43910 * debug/tst-chk1.c: Likewise.
43911 * wcsmbs/bits/wchar2.h: Likewise.
43912 * wcsmbs/bits/wchar-ldbl.h: Likewise.
43913 * wcsmbs/wchar.h: Likewise.
43915 2012-04-29 Andreas Jaeger <aj@suse.de>
43917 * Makerules (tests): Remove enable-check-abi protection.
43918 (check-abi-warn): Remove.
43919 (check-abi-%): Remove check-abi-warn usage.
43921 * configure.in: Remove check-abi configure option.
43922 * configure: Regenerated.
43923 * config.make.in (enable-check-abi): Remove.
43925 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
43928 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
43929 double functions to double *_finite functions.
43932 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
43933 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
43935 * stdio-common/Makefile (tests): Add tst-sprintf3.
43936 * stdio-common/tst-sprintf3.c: New file.
43938 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
43939 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
43941 2012-04-28 Joseph Myers <joseph@codesourcery.com>
43943 * conform/conformtest.pl: Remove duplicate typed-constant
43946 2012-04-28 David S. Miller <davem@davemloft.net>
43948 * Makerules (%.abilist): Add vpath on sysdep_dirs.
43949 (check-abi-%): Remove AWK script prerequisite and explicit
43951 (check-abi): Rewrite to just diff the symlist with the abilist.
43952 (config-tls, config-abi-config): Delete, no longer used.
43953 (update-abi-%): Remove AWK script and explicit abilist directory.
43954 (update-abi): Rewrite to simply compare and conditionally copy the
43955 symlist and the sysdep abilist file. Remove update-abi-config
43957 * abilist/ld.abilist: Remove.
43958 * abilist/libBrokenLocale.abilist: Remove.
43959 * abilist/libanl.abilist: Remove.
43960 * abilist/libcrypt.abilist: Remove.
43961 * abilist/libdl.abilist: Remove.
43962 * abilist/librt.abilist: Remove.
43963 * abilist/libthread_db.abilist: Remove.
43964 * abilist/libutil.abilist: Remove.
43965 * scripts/extract-abilist.awk: Remove.
43966 * scripts/merge-abilist.awk: Remove.
43967 * sysdeps/generic/libcidn.abilist: New file.
43968 * sysdeps/generic/libnss_compat.abilist: New file.
43969 * sysdeps/generic/libnss_db.abilist: New file.
43970 * sysdeps/generic/libnss_dns.abilist: New file.
43971 * sysdeps/generic/libnss_files.abilist: New file.
43972 * sysdeps/generic/libnss_hesiod.abilist: New file.
43973 * sysdeps/generic/libnss_nis.abilist: New file.
43974 * sysdeps/generic/libnss_nisplus.abilist: New file.
43975 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
43976 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
43977 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
43979 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
43980 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
43981 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
43982 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
43983 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
43984 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
43985 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
43986 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
43987 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
43989 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
43990 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
43991 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
43992 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
43994 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
43995 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
43996 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
43997 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
43998 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
43999 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
44001 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
44002 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
44003 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
44005 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
44006 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
44008 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
44010 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
44012 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
44014 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
44016 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
44018 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
44020 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
44022 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
44024 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
44026 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
44028 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
44030 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
44032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
44034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
44036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
44038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
44040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
44042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
44044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
44046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
44048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
44052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
44054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
44056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
44058 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
44059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
44061 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
44063 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
44065 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
44067 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
44069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
44071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
44073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44075 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
44077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
44079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
44081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
44083 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
44084 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
44086 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
44088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
44090 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
44092 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
44094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
44096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
44098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44100 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
44102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
44104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
44106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
44108 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44109 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
44110 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
44112 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
44113 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
44114 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
44115 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
44116 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
44117 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
44118 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
44119 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
44120 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
44121 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
44122 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
44123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
44125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
44127 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
44129 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
44131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
44133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
44135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
44137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44139 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
44143 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44145 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
44147 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
44148 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
44150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44152 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
44154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
44156 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
44158 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
44160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
44162 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44164 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
44168 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
44173 2012-04-28 Joseph Myers <joseph@codesourcery.com>
44175 * conform/conformtest.pl: Fix typo in handling typed-constant from
44178 2012-04-27 Joseph Myers <joseph@codesourcery.com>
44180 * README: Cut down references to pre-2.6 Linux kernels and
44181 Linuxthreads. Update lists of configurations in libc and ports
44182 and sort alphabetically. Say "or newer" with Linux kernel version
44185 * config.h.in [IS_IN_build]: Allow compiling without optimization.
44187 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
44190 * math/libm-test.inc (logb_test_downward): New test to expose
44191 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
44194 2012-04-27 Joseph Myers <joseph@codesourcery.com>
44197 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
44199 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
44200 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
44202 2012-04-26 Joseph Myers <joseph@codesourcery.com>
44204 * sysdeps/unix/i386/brk.S: Remove file.
44205 * sysdeps/unix/i386/dl-brk.S: Likewise.
44206 * sysdeps/unix/i386/pipe.S: Likewise.
44207 * sysdeps/unix/i386/sigreturn.S: Likewise.
44208 * sysdeps/unix/i386/syscall.S: Likewise.
44209 * sysdeps/unix/i386/vfork.S: Likewise.
44210 * sysdeps/unix/i386/wait.S: Likewise.
44212 * sysdeps/unix/common/tcsendbrk.c: Move to ...
44213 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
44215 * configure.in (arm*-none*): Do not allow without
44216 --enable-hacker-mode.
44217 (netbsd*): Remove case setting base_os.
44218 (386bsd*): Likewise.
44219 (freebsd*): Likewise.
44222 (sunos*): Likewise.
44223 (ultrix*): Likewise.
44224 (newsos*): Likewise.
44225 (dynix*): Likewise.
44231 (minix*): Likewise.
44232 (irix4*): Likewise.
44233 (irix6*): Likewise.
44234 (solaris[2-9]*): Likewise.
44236 * configure: Regenerated.
44238 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44241 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
44242 overflow or cancellation in calculating denominator.
44243 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
44244 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
44245 down expression to avoid unexpected rounding in newer GCCs.
44246 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
44248 2012-04-26 David S. Miller <davem@davemloft.net>
44250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
44251 long-double compat symbols.
44252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
44256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
44258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
44259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
44260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
44261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
44262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
44263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
44264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44266 2012-04-25 David S. Miller <davem@davemloft.net>
44268 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
44269 HWCAP_* values only after the memory barriers have been defined.
44270 (atomic_full_barrier): Define.
44271 (atomic_read_barrier): Define.
44272 (atomic_write_barrier): Define.
44274 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44276 * shlib-versions: Add libgcc_s version information.
44277 * sysdeps/generic/libgcc_s.h: Remove.
44278 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
44280 * sysdeps/gnu/unwind-resume.c: Likewise.
44281 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
44283 2012-04-25 David S. Miller <davem@davemloft.net>
44285 * sysdeps/unix/sparc/brk.S: Delete.
44286 * sysdeps/unix/sparc/dl-brk.S: Delete.
44287 * sysdeps/unix/sparc/pipe.S: Delete.
44288 * sysdeps/unix/sparc/sysdep.S: Delete.
44289 * sysdeps/unix/sparc/sysdep.h: Delete.
44290 * sysdeps/unix/sparc/vfork.S: Delete.
44291 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
44292 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
44293 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
44294 (ret_ERRVAL, r0, r1, MOVE): Define.
44295 (JUMPTARGET): Remove.
44296 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
44297 sysdeps/unix/sparc/sysdep.h
44298 (ENTRY, END): Remove.
44299 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44301 2012-04-25 Joseph Myers <joseph@codesourcery.com>
44303 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
44304 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
44307 * timezone/README: Update upstream location and email address for
44309 * timezone/zdump.c: Update from tzcode 2012b.
44310 * timezone/zic.c: Likewise.
44312 * configure.in (libc_cv_as_needed): Remove test.
44313 * configure: Regenerated.
44314 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
44315 conditional definition.
44316 [$(have-as-needed) != yes] (no-as-needed): Likewise.
44317 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
44318 * config.make.in (have-as-needed): Remove variable.
44320 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
44321 Paul Pluzhnikov <ppluzhnikov@google.com>
44323 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
44326 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
44328 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
44329 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
44330 * sysdeps/sh/strlen.S: Likewise.
44332 2012-04-24 Joseph Myers <joseph@codesourcery.com>
44334 * sysdeps/unix/fork.S: Remove file.
44335 * sysdeps/unix/i386/fork.S: Likewise.
44336 * sysdeps/unix/sparc/fork.S: Likewise.
44338 * sysdeps/unix/system.c: Remove file.
44339 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
44341 * sysdeps/unix/getegid.S: Remove file.
44342 * sysdeps/unix/geteuid.S: Likewise.
44344 2012-04-24 Roland McGrath <roland@hack.frob.com>
44346 * scripts/check-localplt.awk: New file.
44347 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
44349 * scripts/data/localplt-generic.data: Add a comment.
44351 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
44352 NODE when __dir_mkfile failed.
44353 * sysdeps/mach/hurd/symlinkat.c: Likewise.
44354 Reported by Ludovic Courtès <ludo@gnu.org>.
44356 2012-04-24 Andreas Jaeger <aj@suse.de>
44358 * Makerules (common-clean): Also remove gen-as-const-headers
44361 2012-04-24 Joseph Myers <joseph@codesourcery.com>
44363 * Makerules (native-compile): Do not change working directory for
44364 build. Use $(OUTPUT_OPTION) in command.
44365 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
44367 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44370 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
44371 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
44372 * math/libm-test.inc (floor_test): Add more tests.
44373 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
44375 2012-04-24 Joseph Myers <joseph@codesourcery.com>
44377 * sysdeps/unix/getdents.c: Remove file.
44378 * sysdeps/unix/sysv/getdents.c: Likewise.
44379 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
44381 * sysdeps/unix/syscalls.list (madvise): Add syscall from
44382 sysdeps/unix/mman/syscalls.list.
44384 (mprotect): Likewise.
44386 (munmap): Likewise.
44387 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
44388 * sysdeps/unix/mman/syscalls.list: Remove.
44389 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
44391 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
44392 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
44393 * configure: Regenerated.
44394 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
44395 $(libgcc_s_suffix).
44396 * config.make.in (libgcc_s_suffix): Remove variable.
44398 2012-04-23 Joseph Myers <joseph@codesourcery.com>
44400 * sysdeps/unix/sysv/gethostname.c: Move to ...
44401 * sysdeps/posix/gethostname.c: ... here.
44403 * sysdeps/unix/execve.S: Remove file.
44405 * sysdeps/unix/_exit.S: Remove file.
44407 2012-04-23 Andreas Jaeger <aj@suse.de>
44410 * manual/Makefile: Remove make dist support, there's no
44411 need for a stand-alone documentation tar ball.
44412 (TEXI2DVI): Define always, it's not in Makeconfig.
44415 (edition): Removed.
44416 (glibc-doc-$(edition).tar): Removed
44420 (ETAGS): Remove, it's in Makeconfig.
44421 (move-if-change): Remove, it's in Makeconfig.
44423 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
44426 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
44427 (strtod, strtof, strtold, strtol, strtoul, strtoq)
44428 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
44429 (strtod_l, strtof_l, strtold_l): Remove __wur.
44430 It is not necessarily an error to ignore strtol's return value.
44431 One can reliably look at the stored endptr to decide whether
44432 the number had valid syntax.
44434 2012-04-21 Andreas Jaeger <aj@suse.de>
44437 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
44439 2012-04-21 Joseph Myers <joseph@codesourcery.com>
44441 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
44442 * sysdeps/unix/sysv/Versions: Remove file.
44444 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
44447 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44449 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
44452 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
44453 version from __vm86.
44455 2012-04-20 Joseph Myers <joseph@codesourcery.com>
44457 * sysdeps/unix/common/lxstat.c: Remove file.
44458 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
44460 * sysdeps/unix/sysv/Makefile: Remove file.
44462 * sysdeps/unix/sysv/direct.h: Remove file.
44464 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
44465 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
44466 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
44467 * sysdeps/unix/sysv/bits/signum.h: Likewise.
44468 * sysdeps/unix/sysv/bits/stat.h: Likewise.
44469 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
44470 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
44472 * sysdeps/unix/sysv/setrlimit.c: Remove file.
44474 * sysdeps/unix/xmknod.c: Remove file.
44475 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
44477 * sysdeps/unix/sysv/settimeofday.c: Remove file.
44479 * sysdeps/unix/sysv/i386/time.S: Remove file.
44481 * sysdeps/unix/fxstat.c: Remove file.
44482 * sysdeps/unix/xstat.c: Likewise.
44483 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
44485 * sysdeps/unix/sysv/sigaction.c: Remove file.
44487 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
44488 (sysdep_headers): Remove variable.
44489 [termio.h not in sysdep_headers] (generated): Likewise.
44490 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
44491 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
44492 * sysdeps/unix/sysv/tcdrain.c: Likewise.
44493 * sysdeps/unix/sysv/tcflow.c: Likewise.
44494 * sysdeps/unix/sysv/tcflush.c: Likewise.
44495 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
44496 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
44497 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
44498 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
44499 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
44501 * sysdeps/unix/siglist.c: Remove file.
44503 * sysdeps/unix/getppid.S: Remove file.
44505 * sysdeps/unix/mkdir.c: Remove file.
44506 * sysdeps/unix/rmdir.c: Likewise.
44508 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
44510 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
44512 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
44513 errlist-compat value.
44515 2012-04-18 David S. Miller <davem@davemloft.net>
44517 * sysdeps/generic/memcopy.h (reg_char): Delete.
44518 * debug/strcat_chk.c: Use char, not reg_char.
44519 * debug/strcpy_chk.c: Likewise.
44520 * debug/strncat_chk.c: Likewise.
44521 * debug/strncpy_chk.c: Likewise.
44522 * string/memchr.c: Likewise.
44523 * string/memrchr.c: Likewise.
44524 * string/rawmemchr.c: Likewise.
44525 * string/strcat.c: Likewise.
44526 * string/strchr.c: Likewise.
44527 * string/strchrnul.c: Likewise.
44528 * string/strcmp.c: Likewise.
44529 * string/strcpy.c: Likewise.
44530 * string/strncat.c: Likewise.
44531 * string/strncmp.c: Likewise.
44532 * string/strncpy.c: Likewise.
44534 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44536 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
44537 __builtin_memcopy is called when src and dest ranges are known to not
44540 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44542 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
44543 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
44544 fwd_align_merge macro call.
44545 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
44546 bwd_align_merge macro call.
44547 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44549 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44551 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
44552 bwd_align_merge macros.
44553 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
44554 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
44555 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44557 2012-04-18 David S. Miller <davem@davemloft.net>
44559 * sysdeps/sparc/sparc64/memcopy.h: Delete.
44561 2012-04-18 Andreas Jaeger <aj@suse.de>
44564 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
44565 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
44566 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44568 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
44569 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
44570 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44572 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
44573 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
44574 Adjust for changed ldbl-128 files.
44576 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
44577 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
44578 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44580 2012-04-17 David S. Miller <davem@davemloft.net>
44582 * sysdeps/sparc/sparc32/memcopy.h: Delete.
44584 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
44586 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
44587 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
44588 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
44589 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
44590 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
44591 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
44593 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44596 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
44597 * math/libm-test.inc: Add ilogb errno and exception tests.
44598 * math/w_ilogb.c: New file: ilogb wrapper.
44599 * math/w_ilogbf.c: New file: ilogbf wrapper.
44600 * math/w_ilogbl.c: New file: ilogbl wrapper.
44601 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
44602 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
44603 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
44604 exception being thrown with 0.0 as argument.
44605 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
44606 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
44607 exception being thrown with 0.0 as argument.
44608 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
44609 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44610 exception being thrown with 0.0 as argument.
44611 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
44612 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44613 exception being thrown with 0.0 as argument.
44614 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
44615 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
44616 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
44617 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
44618 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
44619 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
44620 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
44621 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
44622 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
44624 2012-04-17 Petr Baudis <pasky@ucw.cz>
44626 * include/sys/uio.h: Change __vector to __iovec to avoid clash
44629 2012-04-16 Marek Polacek <polacek@redhat.com>
44631 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
44633 2012-04-16 Marek Polacek <polacek@redhat.com>
44635 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
44636 operands of fdivp instruction.
44638 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
44640 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
44641 * elf/tst-auditmod3b.c: Likewise.
44642 * elf/tst-auditmod4b.c: Likewise.
44643 * elf/tst-auditmod5b.c: Likewise.
44644 * elf/tst-auditmod6b.c: Likewise.
44645 * elf/tst-auditmod6c.c: Likewise.
44646 * elf/tst-auditmod7b.c: Likewise.
44647 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
44648 * sysdeps/x86_64/preconfigure.in: Likewise.
44649 * sysdeps/x86_64/preconfigure: Regenerated.
44651 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
44653 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
44656 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
44658 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44659 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
44661 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
44664 * locale/iso-639.def: Fix gl language name. Spotted by
44667 2012-04-12 Roland McGrath <roland@hack.frob.com>
44670 * libio/libio.h (__io_write_fn): Update comment.
44672 2012-04-12 Petr Baudis <pasky@ucw.cz>
44675 * stdio.texi (Hook Functions): The user provided writer function
44676 is not allowed to return -1.
44678 2012-04-11 David S. Miller <davem@davemloft.net>
44680 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44682 2012-04-11 Mike Frysinger <vapier@gentoo.org>
44684 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
44685 Add a leading slash to rtkaio.
44687 2012-04-11 Jim Meyering <meyering@redhat.com>
44690 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
44691 It is not necessarily an error to ignore fwrite's return
44692 value. One can reliably use ferror to test for errors after
44695 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
44697 * bits/types.h (__snseconds_t): New type.
44698 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
44700 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
44701 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44702 (__SNSECONDS_T_TYPE): Likewise.
44703 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44704 (__SNSECONDS_T_TYPE): Likewise.
44705 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44706 (__SNSECONDS_T_TYPE): Likewise.
44708 2012-04-10 Andreas Jaeger <aj@suse.de>
44711 * manual/time.texi (Processor Time): Return type of times is
44712 elapsed real time since an arbitrary point in the past.
44713 (CPU Time): Move CLK_TCK from here...
44714 (Processor Time): ...to here. Correct description.
44715 * manual/conf.texi (Constants for Sysconf): Correct description of
44718 2012-04-10 David S. Miller <davem@davemloft.net>
44721 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
44722 where the is a gap between DT_REL(A) and DT_JMPREL.
44724 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
44726 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
44727 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44728 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44730 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
44732 * elf/dl-support.c (_dl_inhibit_cache): New variable.
44733 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
44734 (dl_main): Handle --inhibit-cache.
44735 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
44737 * elf/dl-load.c (_dl_map_object): Use it.
44738 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
44740 2012-04-09 Joseph Myers <joseph@codesourcery.com>
44743 * sysdeps/i386/fpu/e_powl.S (p78): New object.
44744 (__ieee754_powl): Saturate large exponents rather than testing for
44745 overflow of y*log2(x).
44746 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44747 * math/libm-test.inc (pow_test): Do not permit spurious overflow
44751 * math/s_ctan.c: Include <float.h>.
44752 (__ctan): Avoid internal overflow or cancellation in calculating
44754 * math/s_ctanf.c: Likewise.
44755 * math/s_ctanl.c: Likewise.
44756 * math/s_ctanh.c: Likewise.
44757 * math/s_ctanhf.c: Likewise.
44758 * math/s_ctanhl.c: Likewise.
44759 * math/libm-test.inc (ctan_test): Add more tests.
44760 (ctanh_test): Likewise.
44761 * sysdeps/i386/fpu/libm-test-ulps: Update.
44762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44764 2012-04-09 Andreas Jaeger <aj@suse.de>
44767 * manual/filesys.texi (Directory Entries): Mention that d_namlen
44768 is an optional BSD extension.
44771 * manual/stdio.texi (Opening Streams): Document additional fopen
44774 2012-04-09 Roland McGrath <roland@hack.frob.com>
44776 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
44777 %eax without telling the compiler.
44779 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
44782 * manual/install.texi: Use sourceware.org.
44784 2012-04-09 Joseph Myers <joseph@codesourcery.com>
44787 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
44788 (__ieee754_pow): Generate overflow and underflow using huge*huge
44789 and tiny*tiny rather than just returning constant infinity or zero
44790 for large exponents.
44791 * math/libm-test.inc (pow_test): Require overflow exceptions for
44792 applicable cases of large exponents.
44795 * sysdeps/i386/fpu/e_pow.S (p10): New object.
44796 (__ieee754_pow): Use iterative multiplication algorithm only for
44797 integer exponents with absolute value below 1024. Check for odd
44798 integer exponents when using algorithm for real exponents.
44799 * math/libm-test.inc (pow_test): Add more tests.
44800 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44802 2012-04-08 Joseph Myers <joseph@codesourcery.com>
44805 * math/libm-test.inc (exp_test): Do not allow overflow exception
44808 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
44811 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
44812 instead of __kernel_standard_f.
44814 2012-04-08 Mike Frysinger <vapier@gentoo.org>
44816 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
44817 * sysdeps/x86_64/memset_chk.S: Likewise.
44819 2012-04-08 Andreas Jaeger <aj@suse.de>
44822 * manual/startup.texi (Environment Access): Describe return value
44823 for putenv and setenv.
44826 * manual/filesys.texi (Directory Entries): Add description for
44830 * manual/filesys.texi (Directory Entries): Clarify that it's file
44831 system not operating system in the description of DT_UNKNOWN.
44834 * manual/syslog.texi (closelog): Fix reference, it's openlog.
44836 2012-04-08 Stephen Compall <s11@member.fsf.org>
44839 * manual/llio.texi (Opening and Closing Files): Add cross
44840 reference to explain mode argument.
44842 2012-04-07 Mike Frysinger <vapier@gentoo.org>
44844 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
44845 * sysdeps/x86_64/memset_chk.S: Likewise.
44847 2012-04-07 David S. Miller <davem@davemloft.net>
44849 * elf/elf.h (R_SPARC_WDISP10): Define.
44850 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
44852 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
44853 R_SPARC_SIZE64 and R_SPARC_H34.
44855 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
44857 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
44858 conditions and remove no longer applicable assertion.
44860 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44862 * bits/byteswap.h: Include <features.h>.
44863 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44864 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44866 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44868 * bits/byteswap.h (__bswap_16): Removed.
44869 Include <bits/byteswap-16.h> to get __bswap_16.
44870 * sysdeps/i386/bits/byteswap.h: Likewise.
44871 * sysdeps/s390/bits/byteswap.h: Likewise.
44872 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44873 * bits/byteswap-16.h: New file.
44874 * sysdeps/i386/bits/byteswap-16.h: Likewise.
44875 * sysdeps/s390/bits/byteswap-16.h: Likewise.
44876 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
44877 * string/Makefile (headers): Add bits/byteswap-16.h.
44879 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44882 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
44884 * nss/Makefile (tests-static, tests): Add tst-nss-static.
44885 * nss/tst-nss-static.c: New.
44887 2012-04-06 Robert Millan <rmh@gnu.org>
44890 * manual/llio.texi (File Position Primitive): lseek
44891 refers to WHENCE when it really means OFFSET.
44893 2012-04-06 Andreas Jaeger <aj@suse.de>
44895 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
44896 strncmp declarations.
44898 * abilist/libc.abilist: Add __poll and __ppoll.
44900 2012-04-05 David S. Miller <davem@davemloft.net>
44902 * scripts/check-local-headers.sh: Accept a host triplet in the
44903 path matched by the exclude regexp.
44905 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
44907 * sysdeps/powerpc/powerpc32/dl-machine.h
44908 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
44909 * sysdeps/s390/s390-32/dl-machine.h
44910 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44911 * sysdeps/sparc/sparc32/dl-machine.h
44912 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44913 * sysdeps/sparc/sparc64/dl-machine.h
44914 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44916 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
44918 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
44919 undefined symbol errors.
44921 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
44924 2012-04-05 Michael Matz <matz@suse.de>
44927 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
44929 2012-04-05 Andreas Jaeger <aj@suse.de>
44932 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
44935 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44937 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
44938 which ROUND is no valid rounding mode.
44940 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44942 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
44944 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
44946 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44948 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
44949 an exception using FPU order intentionally.
44951 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44953 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
44954 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
44955 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
44956 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
44958 2012-04-05 Simon Josefsson <simon@josefsson.org>
44961 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
44962 EINVAL when BUFLEN is too smal.
44964 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
44967 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
44968 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
44970 2012-04-03 Andreas Jaeger <aj@suse.de>
44973 * manual/setjmp.texi (System V contexts): Fix sentence.
44976 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
44977 New macro for this case.
44978 [!__GNUC__] (__bswap_64): New inline function for this case.
44979 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44980 * bits/byteswap.h: Likewise.
44981 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
44982 ull, guard with __GLIBC_HAVE_LONG_LONG.
44984 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
44985 __GLIBC_HAVE_LONG_LONG.
44987 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
44988 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
44990 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44993 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
44994 inptr and inend, rather than using last_ch.
44996 2012-04-02 David S. Miller <davem@davemloft.net>
44998 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
44999 * stdio-common/printf-parse.h (read_int): Change return type to
45000 'int', return -1 on INT_MAX overflow.
45001 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
45002 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
45003 overflows INT_MAX. Check for overflow of in-format-string precision
45004 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
45005 SIZE_MAX not INT_MAX for integer overflow test.
45006 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
45007 skip the construct in the format string but do not record anything.
45008 * stdio-common/bug22.c: Adjust to test both width/prevision
45009 INT_MAX overflow as well as total length INT_MAX overflow. Check
45010 explicitly for proper errno values.
45012 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
45014 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
45016 * string/test-strcmp.c [! WIDE]: Likewise.
45017 * time/tst-mktime2.c: Likewise for INT_MAX.
45018 * string/test-string.h: #include <sys/param.h> for MIN.
45020 * csu/init-first.c (__libc_init_first): Call __ctype_init.
45021 * sysdeps/i386/init-first.c (init): Likewise.
45022 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
45023 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
45024 * sysdeps/sh/init-first.c (init): Likewise.
45026 2012-04-01 Ulrich Drepper <drepper@gmail.com>
45028 * po/ru.po: Update from translation team.
45029 * po/vi.po: Likewise.
45031 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
45033 * resolv/nss_dns/dns-host.c: Merge copyright years.
45035 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45037 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45038 Optimize memcpy with prefetch if
45039 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
45040 src, dst pointers have unequal 16 byte alignments.
45042 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
45045 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
45046 from a CNAME entry and return the minimum ttl for the query.
45047 (gaih_getanswer_slice): Likewise.
45049 2012-03-30 Jeff Law <law@redhat.com>
45051 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
45053 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
45054 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
45056 * resolv/nss_dns/dns-host.c: Update copyright year.
45058 2012-03-30 Ulrich Drepper <drepper@gmail.com>
45060 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
45061 requests to save a system call. Fix check that all bytes are sent.
45063 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
45064 comments for sendmmsg.
45066 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45069 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
45070 with only 1 character between 0x0041 and 0x01b0.
45071 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
45072 * wcsmbs/tst-mbsnrtowcs.c: New file.
45074 2012-03-29 David S. Miller <davem@davemloft.net>
45076 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
45077 small copies by hand.
45079 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45082 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
45083 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
45086 2012-03-28 David S. Miller <davem@davemloft.net>
45088 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
45089 that branches into memcpy.
45090 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45091 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
45092 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45093 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
45094 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
45096 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
45097 implementation too.
45098 * sysdeps/sparc/mempcpy.S: New file.
45100 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
45101 the IFUNC routine in the libc case.
45102 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45104 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
45105 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
45106 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
45107 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
45108 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
45109 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
45110 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
45111 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
45113 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
45114 loop to 256 bytes instead of 64 bytes and fix test signedness.
45116 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
45117 * sysdeps/sparc/sparc32/Makefile: rather than here...
45118 * sysdeps/sparc/sparc64/Makefile: and here.
45120 2012-03-28 Ulrich Drepper <drepper@gmail.com>
45122 * malloc/mallocbug.c: Avoid warnings about unused variables.
45124 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
45127 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
45128 in the right place. Discard and retry query if response is
45129 larger than input buffer size.
45131 2012-03-28 Joseph Myers <joseph@codesourcery.com>
45136 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
45137 x for large integer exponent.
45138 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45139 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
45140 sign of result as needed afterwards.
45141 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45142 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
45143 result for underflowing pow the same as for overflow.
45144 (__kernel_standard_l): Handle powl overflow and underflow here
45145 rather than calling __kernel_standard.
45146 * math/libm-test.inc (pow_test): Add more tests.
45161 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
45162 * sysdeps/ieee754/k_standard.c: Include <float.h>.
45163 (__kernel_standard_l): New function.
45164 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
45166 * math/w_acosl.c (__acosl): Likewise.
45167 * math/w_asinl.c (__asinl): Likewise.
45168 * math/w_atan2l.c (__atan2l): Likewise.
45169 * math/w_atanhl.c (__atanhl): Likewise.
45170 * math/w_coshl.c (__coshl): Likewise.
45171 * math/w_exp10l.c (__exp10l): Likewise.
45172 * math/w_exp2l.c (__exp2l): Likewise.
45173 * math/w_fmodl.c (__fmodl): Likewise.
45174 * math/w_hypotl.c (__hypotl): Likewise.
45175 * math/w_j0l.c (__j0l, __y0l): Likewise.
45176 * math/w_j1l.c (__j1l, __y1l): Likewise.
45177 * math/w_jnl.c (__jnl, __ynl): Likewise.
45178 * math/w_lgammal.c (__lgammal): Likewise.
45179 * math/w_log10l.c (__log10l): Likewise.
45180 * math/w_log2l.c (__log2l): Likewise.
45181 * math/w_logl.c (__logl): Likewise.
45182 * math/w_powl.c (__powl): Likewise.
45183 * math/w_remainderl.c (__remainderl): Likewise.
45184 * math/w_scalbl.c (sysv_scalbl): Likewise.
45185 * math/w_sinhl.c (__sinhl): Likewise.
45186 * math/w_sqrtl.c (__sqrtl): Likewise.
45187 * math/w_tgammal.c (__tgammal): Likewise.
45188 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
45189 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
45190 * math/libm-test.inc (acos_test): Add more tests.
45191 (acosh_test): Likewise.
45192 (asin_test): Likewise.
45193 (atanh_test): Likewise.
45194 (exp_test): Likewise.
45195 (exp10_test): Likewise.
45196 (exp2_test): Likewise.
45197 (expm1_test): Likewise.
45198 (lgamma_test): Likewise.
45199 (log_test): Likewise.
45200 (log10_test): Likewise.
45201 (log1p_test): Likewise.
45202 (log2_test): Likewise.
45203 (pow_test): Do not allow some spurious overflow exceptions.
45204 (sqrt_test): Add more tests.
45205 (tgamma_test): Likewise.
45206 (y0_test): Likewise.
45207 (y1_test): Likewise.
45208 (yn_test): Likewise.
45210 2012-03-27 Anton Blanchard <anton@samba.org>
45212 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
45214 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45215 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45216 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45218 2012-03-27 David S. Miller <davem@davemloft.net>
45220 * conform/Makefile: Run run-conformtest.sh using $(BASH).
45222 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
45223 have-as-vis3 check.
45225 2012-03-27 Andreas Jaeger <aj@suse.de>
45227 * sysdeps/x86_64/elf/configure.in: Moved to ...
45228 * sysdeps/x86_64/configure.in: ... here.
45229 * sysdeps/x86_64/elf/start.S: Moved to ...
45230 * sysdeps/x86_64/start.S: ... here.
45231 * sysdeps/x86_64/elf/configure: Delete.
45233 * sysdeps/x86_64/configure.in: Merge contents from
45234 sysdeps/i386/configure.in (without i686 check).
45236 * sysdeps/i386/elf/Versions: Merge into ...
45237 * sysdeps/i386/Versions: ... this.
45238 * sysdeps/i386/elf/Versions: Delete file.
45239 * sysdeps/i386/elf/start.S: Moved to ...
45240 * sysdeps/i386/start.S: ...here.
45241 * sysdeps/i386/elf/configure.in: Merge into...
45242 * sysdeps/i386/configure.in: ...here.
45243 * sysdeps/i386/elf/configure.in: Delete file.
45244 * sysdeps/i386/elf/configure: Delete file.
45246 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
45247 * debug/backtracesyms.c: ... here.
45248 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
45249 * debug/backtracesymsfd.c: ... here.
45250 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
45251 * sysdeps/generic/ifunc-sel.h: ... here.
45253 * sysdeps/unix/i386/start.c: Delete file.
45254 * sysdeps/unix/sparc/start.c: Delete file.
45255 * sysdeps/unix/start.c: Delete file.
45257 * sysdeps/sh/elf/configure.in: Moved to ...
45258 * sysdeps/sh/configure.in: ... here.
45259 * sysdeps/sh/elf/start.S: Moved to ...
45260 * sysdeps/sh/start.S: ... here.
45261 * sysdeps/sh/elf/configure: Delete file.
45263 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
45264 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
45265 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
45266 * sysdeps/powerpc/powerpc64/entry.h: ... here.
45267 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
45268 * sysdeps/powerpc/powerpc64/start.S: here.
45269 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
45270 * sysdeps/powerpc/powerpc64/Makefile: ... this.
45271 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
45272 * sysdeps/powerpc/powerpc64/configure.in: ... this.
45273 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
45275 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
45276 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
45277 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
45278 * sysdeps/powerpc/powerpc32/start.S: ... here.
45279 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
45280 * sysdeps/powerpc/powerpc32/configure.in: ... this.
45281 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
45283 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
45284 * sysdeps/powerpc/ifunc-sel.h: ... here.
45285 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
45286 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
45288 * sysdeps/sparc/elf/configure.in: Moved to ...
45289 * sysdeps/sparc/configure.in: ... here.
45290 * sysdeps/sparc/elf/configure: Delete file.
45291 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
45292 * sysdeps/sparc/sparc32/start.S: ... here.
45293 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
45294 * sysdeps/sparc/sparc64/start.S: ... here.
45295 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
45296 * sysdeps/sparc/sparc32/Makefile: ... this.
45297 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
45298 * sysdeps/sparc/sparc64/Makefile: ... this.
45300 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
45301 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
45302 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
45303 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
45304 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
45305 * sysdeps/s390/s390-32/setjmp.S: ... here.
45306 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
45307 * sysdeps/s390/s390-32/configure.in: ... here.
45308 * sysdeps/s390/s390-32/elf/configure: Delete file.
45309 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
45310 * sysdeps/s390/s390-32/start.S: ... here.
45312 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
45313 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
45314 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
45315 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
45316 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
45317 * sysdeps/s390/s390-64/setjmp.S: ... here.
45318 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
45319 * sysdeps/s390/s390-64/configure.in: ... here
45320 * sysdeps/s390/s390-64/elf/configure: Delete file.
45321 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
45322 * sysdeps/s390/s390-64/start.S: ... here.
45323 * sysdeps/s390/s390-64/elf/configure: Delete.
45325 * configure.in: Remove support for elf directories in sysdeps.
45327 * configure: Regenerated.
45328 * sysdeps/i386/configure: Regenerated.
45329 * sysdeps/powerpc/powerpc32/configure: Regenerated.
45330 * sysdeps/powerpc/powerpc64/configure: Regenerated.
45331 * sysdeps/s390/s390-32/configure: Regenerated.
45332 * sysdeps/s390/s390-64/configure: Regenerated.
45333 * sysdeps/sh/configure: Regenerated.
45334 * sysdeps/sparc/configure: Regenerated.
45335 * sysdeps/x86_64/configure: Regenerated.
45337 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
45339 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45341 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
45342 denormal result into account.
45344 2012-03-25 Roland McGrath <roland@hack.frob.com>
45346 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
45347 Reported by Allan McRae <allan@archlinux.org>.
45349 2012-03-23 Jeff Law <law@redhat.com>
45351 * nss/getnssent.c (__nss_getent): Fix typo.
45353 2012-03-23 David S. Miller <davem@davemloft.net>
45355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45357 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
45359 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
45360 to pad to uint64_t for each field.
45361 (dl_tls_index): Replace unsigned long with uint64_t.
45363 2012-03-23 Daniel Jacobowitz <dmj@google.com>
45364 Paul Pluzhnikov <ppluzhnikov@google.com>
45367 * grp/Makefile (otherlibs): Don't set it.
45368 * inet/Makefile (otherlibs): Likewise.
45369 * login/Makefile (otherlibs): Likewise.
45370 * nscd/Makefile (otherlibs): Likewise.
45371 * posix/Makefile (otherlibs): Likewise.
45372 * pwd/Makefile (otherlibs): Likewise.
45373 * rt/Makefile (otherlibs): Likewise.
45374 * sunrpc/Makefile (otherlibs): Likewise.
45375 * nss/Makefile (otherlibs): Likewise.
45376 Add libnss_files to routines and static-only-routines.
45377 ($(objpfx)getent): Remove rule.
45378 * resolv/Makefile: Add libnss_dns and libresolv to routines and
45379 static-only-routines.
45381 2012-03-22 Joseph Myers <joseph@codesourcery.com>
45384 * math/s_cexp.c: Include <float.h>.
45385 (__cexp): Handle exp result overflowing not necessarily
45386 overflowing both real and imaginary parts of result.
45387 * math/s_cexpf.c: Likewise.
45388 * math/s_cexpl.c: Likewise.
45389 * math/libm-test.inc (cexp_test): Add more tests.
45390 * sysdeps/i386/fpu/libm-test-ulps: Update.
45391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45393 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45395 * include/link.h (ELFW): New macro.
45396 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
45397 Replace ELF64_R_TYPE with ELFW(R_TYPE).
45399 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45401 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
45404 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45406 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
45408 (struct La_x32_retval): Likewise.
45410 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45412 * sysdeps/x86_64/preconfigure.in: New file.
45413 * sysdeps/x86_64/preconfigure: New generated file.
45415 2012-03-22 Joseph Myers <joseph@codesourcery.com>
45418 * math/e_exp2l.c: Include <float.h>.
45419 (__ieee754_exp2l): Handle overflow and underflow cases
45420 separately. Only pass fractional part of argument to
45422 * math/libm-test.inc (exp2_test): Add more tests.
45424 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
45425 negating x to take absolute value.
45426 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
45428 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45429 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
45431 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
45432 computing low part if x was negated.
45433 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45435 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45437 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
45438 la_x32_gnu_pltexit.
45439 (pltexit): Cast int_retval to ptrdiff_t.
45440 * elf/tst-auditmod3b.c: Likewise.
45441 * elf/tst-auditmod4b.c: Likewise.
45442 * elf/tst-auditmod5b.c: Likewise.
45443 * elf/tst-auditmod6b.c: Likewise.
45444 * elf/tst-auditmod6c.c: Likewise.
45445 * elf/tst-auditmod7b.c: Likewise.
45447 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
45448 and x32_gnu_pltexit.
45450 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
45451 __ELF_NATIVE_CLASS.
45452 (La_x32_regs): New macro.
45453 (La_x32_retval): Likewise.
45454 (la_x32_gnu_pltenter): New function prototype.
45455 (la_x32_gnu_pltexit): Likewise.
45457 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
45459 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
45462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45464 * configure.in (libc_cv_cc_nofma): Check for option to disable
45465 generation of FMA instructions.
45466 * configure: Regenerate.
45467 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
45468 * sysdeps/ieee754/dbl-64/Makefile: New file.
45469 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
45470 Remove brandred-fma4.
45471 (CFLAGS-brandred-fma4.c): Remove.
45472 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
45473 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
45475 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
45478 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45480 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45481 LLONG_MAX != LONG_MAX.
45482 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45483 (_fitoa_word): Likewise.
45484 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
45485 LLONG_MAX != LONG_MAX.
45486 * stdio-common/_itowa.h: Include <_itoa.h>.
45487 (_itowa_word): Use _ITOA_WORD_TYPE on value.
45488 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
45489 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
45490 only if not defined.
45491 (_ITOA_WORD_TYPE): Likewise.
45492 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45493 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
45495 2012-03-21 David S. Miller <davem@davemloft.net>
45497 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45499 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45501 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
45502 of x86_64 when setting libc_cv_slibdir, libdir and
45504 * sysdeps/unix/sysv/linux/configure: Regenerated.
45506 2012-03-21 Joseph Myers <joseph@codesourcery.com>
45508 * manual/lang.texi (Old Varargs): Remove section.
45509 (How Variadic): Update menu.
45510 (va_start): Do not mention varargs.h.
45512 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
45513 Joseph Myers <joseph@codesourcery.com>
45515 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
45517 * configure: Regenerated.
45519 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
45521 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
45522 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
45525 2012-03-21 Joseph Myers <joseph@codesourcery.com>
45528 * Makefile (files-for-dist): Remove NOTES.
45529 (NOTES): Remove rule.
45530 * README: Don't refer to NOTES.
45531 * manual/creature.texi: Don't include macros.texi.
45532 * manual/intro.texi (creature.texi): Remove comment referring to
45535 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
45536 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
45537 * configure: Regenerated.
45538 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
45539 LIBC_TRY_CC_OPTION.
45540 (libc_cv_as_i686): Likewise.
45541 (libc_cv_cc_avx): Likewise.
45542 (libc_cv_cc_sse2avx): Likewise.
45543 (libc_cv_cc_fma4): Likewise.
45544 (libc_cv_cc_novzeroupper): Likewise.
45545 * sysdeps/i386/configure: Regenerated.
45548 * sysdeps/i386/fpu/s_cexp.S: Remove.
45549 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45550 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45551 * math/libm-test.inc (cexp_test): Add more tests.
45552 * sysdeps/i386/fpu/libm-test-ulps: Update.
45553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45555 2012-03-21 Allan McRae <allan@archlinux.org>
45557 * timezone/Makefile: Do not install iso3166.tab and zone.tab
45559 2012-03-21 Joseph Myers <joseph@codesourcery.com>
45562 * math/w_exp2.c: Do not include <float.h>.
45563 (o_threshold, u_threshold): Remove.
45564 (__exp2): Calculate result before checking finiteness and calling
45566 * math/w_exp2f.c: Likewise.
45567 * math/w_exp2l.c: Likewise.
45568 * math/libm-test.inc (exp2_test): Require overflow exception for
45572 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
45573 range of signed 64-bit integers before using fistpll. Remove
45574 checks for whether integers fit in mantissa bits.
45575 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
45576 the range of signed 32-bit integers before using fistpl. Remove
45577 checks for whether integers fit in mantissa bits.
45578 * sysdeps/i386/fpu/e_powl.S (p64): New object.
45579 (__ieee754_powl): Test for y outside the range of signed 64-bit
45580 integers before using fistpll. Reduce 64-bit values to 63-bit
45582 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
45583 divide-by-zero is raised for zero to large negative powers.
45584 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
45585 (__ieee754_powl): Test for y outside the range of signed 64-bit
45586 integers before using fistpll. Reduce 64-bit values to 63-bit
45588 * math/libm-test.inc (pow_test): Add more tests.
45590 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45592 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
45593 <stdio-common/_itoa.h>.
45594 * debug/segfault.c: Likewise.
45595 * elf/dl-cache.c: Likewise.
45596 * elf/dl-minimal.c: Likewise.
45597 * elf/dl-misc.c: Likewise.
45598 * elf/dl-sysdep.c: Likewise.
45599 * elf/dl-version.c: Likewise.
45600 * elf/rtld.c: Likewise.
45601 * hurd/hurdsock.c: Likewise.
45602 * hurd/lookup-retry.c: Likewise.
45603 * malloc/malloc.c: Likewise.
45604 * malloc/mtrace.c: Likewise.
45605 * nscd/nscd_getgr_r.c: Likewise.
45606 * nscd/nscd_getpw_r.c: Likewise.
45607 * nscd/nscd_getserv_r.c: Likewise.
45608 * posix/getopt_init.c: Likewise.
45609 * posix/wordexp.c: Likewise.
45610 * stdio-common/_itoa.c: Likewise.
45611 * stdio-common/printf_fphex.c: Likewise.
45612 * stdio-common/vfprintf.c: Likewise.
45613 * string/_strerror.c: Likewise.
45614 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
45615 * sysdeps/i386/i686/hp-timing.h: Likewise.
45616 * sysdeps/mach/_strerror.c: Likewise.
45617 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
45618 * sysdeps/mach/hurd/sethostid.c: Likewise.
45619 * sysdeps/mach/hurd/xmknodat.c: Likewise.
45620 * sysdeps/mach/xpg-strerror.c: Likewise.
45621 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45622 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
45623 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
45624 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
45625 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
45626 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
45627 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
45628 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
45629 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
45630 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
45631 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
45632 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
45633 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
45634 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
45635 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
45636 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
45637 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
45638 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
45639 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
45640 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
45641 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
45643 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
45645 * stdio-common/_itoa.h: Moved to ...
45646 * sysdeps/generic/_itoa.h: Here.
45648 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
45650 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
45651 instead of "_itoa.h" and "_itowa.h".
45652 * stdio-common/vfprintf.: Likewise.
45654 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45656 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
45658 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
45659 (__signbit): Likwise.
45660 (llrintf): Likwise.
45663 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45665 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
45668 2012-03-20 Joseph Myers <joseph@codesourcery.com>
45670 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
45671 OVERFLOW_EXCEPTION_OK.
45672 * math/libm-test.inc ("Philosophy"): Update comment about
45674 (OVERFLOW_EXCEPTION): Define.
45675 (OVERFLOW_EXCEPTION_OK): Likewise.
45676 (INVALID_EXCEPTION_OK): Renumber.
45677 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45678 (IGNORE_ZERO_INF_SIGN): Likewise.
45679 (test_exceptions): Handle FE_OVERFLOW.
45680 (exp10_test): Expect overflow exceptions.
45681 (exp2_test): Likewise.
45682 (expm1_test): Likewise.
45683 (nextafter_test): Likewise.
45684 (pow_test): Likewise.
45685 (scalbn_test): Likewise.
45686 (scalbln_test): Likewise.
45688 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45690 * sysdeps/x86_64/bits/atomic.h
45691 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
45693 (atomic_exchange_acq): Likewise.
45694 (__arch_exchange_and_add_body): Likewise.
45695 (__arch_add_body): Likewise.
45696 (atomic_add_negative): Likewise.
45697 (atomic_add_zero): Likewise.
45699 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45701 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
45702 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
45704 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45706 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
45707 Check __x86_64__ instead of __WORDSIZE.
45709 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45711 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
45713 2012-03-19 David S. Miller <davem@davemloft.net>
45715 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45717 * sysdeps/sparc/fpu/fenv_private.h: New file.
45718 * sysdeps/sparc/fpu/math_private.h: Use it.
45719 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
45721 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
45722 (libc_feholdexcept_setroundl): Remove.
45723 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
45725 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
45726 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
45728 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45730 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
45731 int64_t instead of long int.
45732 (INSERT_WORDS64): Likwise.
45734 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45736 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
45737 _Unwind_GetCFA return to _Unwind_Ptr first.
45739 2012-03-19 Joseph Myers <joseph@codesourcery.com>
45742 * math/s_clog.c: Include <float.h>.
45743 (__clog): Scale large or subnormal inputs.
45744 * math/s_clogf.c: Likewise.
45745 * math/s_clogl.c: Likewise.
45746 * math/s_clog10.c: Include <float.h>.
45747 (M_LOG10_2): Define.
45748 (__clog10): Scale large or subnormal inputs.
45749 * math/s_clog10f.c: Likewise.
45750 * math/s_clog10l.c: Likewise.
45751 * math/libm-test.inc (clog_test): Add more tests.
45752 (clog10_test): Likewise.
45753 * sysdeps/i386/fpu/libm-test-ulps: Update.
45754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45757 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
45759 * math/libm-test.inc (atan2_test): Add another test.
45761 * Makerules (common-objdir-compile): Remove.
45762 * sysdeps/unix/Makefile (config-generated): Do not add
45763 $(unix-generated) to variable.
45764 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
45765 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
45767 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
45769 [generic bits/local_lim.h] (before-compile): Do not append to
45771 [generic bits/local_lim.h] (common-generated): Likewise.
45772 [generic sys/param.h] (before-compile): Do not append to variable.
45773 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
45774 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
45775 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
45776 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
45778 [generic sys/param.h] (sys/param.h-includes): Remove variable.
45779 [generic sys/param.h] (sys/param.h-includes): Remove rule.
45780 [generic sys/param.h] ($(addprefix
45781 $(common-objpfx),$(sys/param.h-includes))): Likewise.
45782 [generic sys/param.h] (common-generated): Do not append to
45784 [generic sys/param.h] (sysdep_headers): Likewise.
45785 [generic bits/errno.h] (before-compile): Do not append to
45787 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
45789 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
45790 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
45791 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
45792 [generic bits/errno.h] (common-generated): Do not append to
45794 [generic bits/ioctls.h] (before-compile): Do not append to
45796 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
45798 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
45799 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
45800 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
45802 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
45803 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
45804 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
45805 [generic bits/ioctls.h] (common-generated): Do not append to
45807 [generic sys/syscall.h] (syscall.h): Remove variable.
45808 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
45810 [generic sys/syscall.h] (before-compile): Do not append to
45812 [generic sys/syscall.h] (common-generated): Likewise.
45813 * sysdeps/unix/errnos-tmpl.c: Remove file.
45814 * sysdeps/unix/errnos.awk: Likewise.
45815 * sysdeps/unix/ioctls-tmpl.c: Likewise.
45816 * sysdeps/unix/ioctls.awk: Likewise.
45817 * sysdeps/unix/mk-local_lim.c: Likewise.
45818 * sysdeps/unix/snarf-ioctls: Likewise.
45820 2012-03-19 Richard Henderson <rth@twiddle.net>
45822 * sysdeps/i386/fpu/fenv_private.h: New file.
45823 * sysdeps/i386/fpu/math_private.h: Use it.
45824 (math_opt_barrier, math_force_eval): Remove.
45825 (libc_feholdexcept_setround_53bit): Remove.
45826 (libc_feupdateenv_53bit): Remove.
45827 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45828 (math_opt_barrier, math_force_eval): Remove.
45829 (libc_feholdexcept): Remove.
45830 (libc_feholdexcept_setround): Remove.
45831 (libc_fetestexcept, libc_fesetenv): Remove.
45832 (libc_feupdateenv_test): Remove.
45833 (libc_feupdateenv, libc_feholdsetround): Remove.
45834 (libc_feresetround): Remove.
45836 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
45837 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
45839 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
45840 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
45841 (libc_feupdateenv_testl): New.
45842 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
45843 (libc_feupdateenv_testf): New.
45844 (libc_feupdateenv): Use libc_feupdateenv_test.
45845 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
45846 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
45848 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
45849 (libc_feholdsetroundf, libc_feholdsetroundl): New.
45850 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
45851 (libc_feresetround_noex): New.
45852 (libc_feresetround_noexf): New.
45853 (libc_feresetround_noexl): New.
45854 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
45855 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
45856 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
45857 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
45859 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
45860 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
45862 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
45863 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
45864 SET_RESTORE_ROUND_NOEX.
45865 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
45866 SET_RESTORE_ROUND_NOEXF.
45867 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
45868 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
45869 (libc_feholdsetroundf): New.
45870 (libc_feresetround, libc_feresetroundf): New.
45872 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
45873 (libc_feholdexcept_setround_53bit): Convert from macro to function.
45874 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
45876 * sysdeps/generic/math_private.h: Include <fenv.h>.
45877 (default_libc_feholdexcept): New.
45878 (default_libc_feholdexcept_setround): New.
45879 (default_libc_fesetenv, default_libc_feupdateenv): New.
45880 (libc_feholdexcept): Only define if undefined.
45881 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
45882 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
45883 (libc_feholdexcept_setroundl): Likewise.
45884 (libc_feholdexcept_setround_53bit): Likewise.
45885 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
45886 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
45887 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
45888 (libc_feupdateenv_53bit): Likewise.
45889 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
45890 (libc_feholdexcept): Convert from macro to inline function.
45891 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
45892 (libc_fesetenv, libc_feupdateenv): Likewise.
45894 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
45895 not previously defined.
45896 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
45897 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
45898 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
45899 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
45900 * sysdeps/ieee754/flt-32/math_private.h: New file.
45901 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
45902 math_private.h below SET_FLOAT_WORD.
45903 (__isnan, __isinf_ns, __finite): Remove.
45904 (__isnanf, __isinf_nsf, __finitef): Remove.
45906 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
45908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45910 2012-03-17 David S. Miller <davem@davemloft.net>
45913 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
45916 2012-03-16 David S. Miller <davem@davemloft.net>
45918 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
45922 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
45924 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
45925 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
45926 sysdep_routines when subdir is sysvipc.
45927 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
45928 __getshmlba helper.
45930 * sysdeps/sparc/fpu/libm-test/ulps: Update.
45932 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45934 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
45937 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45939 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
45940 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
45941 (__lround): Renamed to ...
45942 (__llround): This. Replace long int with long long int.
45943 Define lround functions as aliases of llround functions.
45944 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
45946 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45948 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
45949 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
45950 adresses to uintptr_t. Replace "long int" and "unsigned long
45951 int" with "greg_t" on va_arg.
45953 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45955 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
45956 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
45958 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
45959 Move e_machine check before EI_CLASS check. Handle x32
45960 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
45961 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
45962 SKIP_EM_IA_64 and include
45963 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
45965 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
45966 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
45967 (add_system_dir): New macro.
45969 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
45970 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
45972 2012-03-16 Joseph Myers <joseph@codesourcery.com>
45983 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
45985 * math/w_j0f.c (j0f): Likewise.
45987 * math/w_j0l.c (__j0l): Likewise.
45989 * math/w_j1.c (j1): Likewise.
45991 * math/w_j1f.c (j1f): Likewise.
45993 * math/w_j1l.c (__j1l): Likewise.
45995 * math/w_jn.c (jn): Likewise.
45997 * math/w_jnf.c (jnf): Likewise.
45999 * math/w_jnl.c (__jnl): Likewise.
46001 * math/libm-test.inc (j0_test): Add more tests.
46002 (j1_test): Likewise.
46003 (jn_test): Likewise. Add trailing semicolon to existing test.
46004 (y0_test): Likewise.
46005 (y1_test): Likewise.
46006 * sysdeps/i386/fpu/libm-test-ulps: Update.
46007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46011 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
46012 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
46013 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
46014 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
46015 (__tanl): Set errno for infinite argument.
46016 * sysdeps/i386/fpu/mptan.c: Remove.
46017 * sysdeps/i386/fpu/s_tan.S: Likewise.
46018 * sysdeps/i386/fpu/s_tanl.S: Likewise.
46019 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
46020 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
46021 * math/libm-test.inc (tan_test): Add more tests and enable more
46022 tests for double and long double.
46023 * sysdeps/i386/fpu/libm-test-ulps: Update.
46024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46026 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
46028 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
46029 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
46031 2012-03-16 Roland McGrath <roland@hack.frob.com>
46033 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
46034 * configure.in: Use it for both main tree and add-ons.
46035 * configure: Regenerated.
46037 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46039 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
46041 2012-03-16 Joseph Myers <joseph@codesourcery.com>
46043 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
46047 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
46048 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
46049 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
46050 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
46051 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
46053 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
46054 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
46055 != 0 for prec == 2.
46056 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
46057 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
46058 * sysdeps/i386/fpu/s_cosl.S: Likewise.
46059 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
46060 * sysdeps/i386/fpu/s_sinl.S: Likewise.
46061 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
46062 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
46063 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
46064 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
46065 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
46066 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
46067 * math/libm-test.inc (cos_test): Add more tests and enable more
46068 tests for long double.
46069 (sin_test): Likewise.
46070 (sincos_test): Likewise.
46071 * sysdeps/i386/fpu/libm-test-ulps: Update.
46072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46074 2012-03-16 David S. Miller <davem@davemloft.net>
46076 * sysdeps/sparc/fpu/math_private.h: New file.
46078 2012-03-15 David S. Miller <davem@davemloft.net>
46080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
46082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
46083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
46085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
46086 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
46087 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
46088 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
46089 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
46090 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
46092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46094 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
46095 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
46097 * sysdeps/sparc/sparc-ifunc.h: New file.
46098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
46100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
46101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
46103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
46105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
46106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
46107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
46112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
46114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
46116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
46118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
46120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
46121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
46122 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46123 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46124 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
46125 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
46126 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46127 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46128 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
46129 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
46130 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
46131 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
46132 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
46133 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
46134 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
46135 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
46136 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
46137 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
46138 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
46139 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
46140 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
46141 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
46143 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46145 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
46147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46149 2012-03-15 Andreas Jaeger <aj@suse.de>
46152 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
46153 ieee754/flt-32 implementation for sin, cos and sincos.
46154 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
46155 * sysdeps/i386/fpu/s_cosf.S: Likewise.
46156 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
46157 * sysdeps/i386/fpu/s_sinf.S: Likewise.
46158 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
46159 ieee754/flt-32 implementation for tan.
46161 * math/libm-test.inc (cos_test): Enable some large input tests for
46163 (sin_test): Likewise.
46164 (sincos_test): Likewise.
46165 (tan_test): Add tests for large input.
46167 * sysdeps/i386/fpu/libm-test-ulps: Update.
46169 2012-03-15 Andreas Jaeger <aj@suse.de>
46172 * math/libm-test.inc (cos_test): Add more test cases.
46173 (sin_test): Likewise.
46174 (sincos_test): Likewise.
46176 2012-03-15 Andreas Jaeger <aj@suse.de>
46179 * math/libm-test.inc (cos_test): Add a test case for large input
46181 (sin_test): Likewise.
46182 (sincos_test): Likewise.
46184 2012-03-15 Andreas Jaeger <aj@suse.de>
46185 Joseph Myers <joseph@codesourcery.com>
46188 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
46189 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
46190 * sysdeps/i386/fpu/branred.c: Likewise.
46191 * sysdeps/i386/fpu/dosincos.c: Likewise.
46192 * sysdeps/i386/fpu/mpa.c: Likewise.
46193 * sysdeps/i386/fpu/s_cos.S: Likewise.
46194 * sysdeps/i386/fpu/s_sin.S: Likewise.
46195 * sysdeps/i386/fpu/s_sincos.S: Likewise.
46196 * sysdeps/i386/fpu/sincos32.c: Likewise.
46198 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
46200 (libc_feupdateenv_53bit): Define.
46201 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
46203 (libc_feupdateenv_53bit): Define.
46205 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
46206 53 bit (without extend i386 double precision).
46208 * math/libm-test.inc (sincos_test): Add tests for large input.
46212 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46214 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46218 2012-03-15 David S. Miller <davem@davemloft.net>
46220 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
46221 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
46222 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
46223 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
46224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
46225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
46226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
46227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
46228 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
46229 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
46230 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
46231 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
46232 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
46233 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
46234 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
46235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
46237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
46238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
46240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
46241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
46243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
46244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
46246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
46247 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
46248 fmin/fmax sysdep routines.
46249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46251 2012-03-14 David S. Miller <davem@davemloft.net>
46253 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
46254 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
46255 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
46256 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
46257 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
46258 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
46259 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
46260 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
46261 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
46262 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
46263 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
46264 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
46265 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
46266 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
46267 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
46268 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
46269 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
46270 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
46271 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
46272 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
46273 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
46274 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
46275 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
46276 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
46277 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
46278 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
46279 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
46280 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
46281 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
46283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
46285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
46286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
46288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
46289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
46291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
46292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
46294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
46295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
46297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
46298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
46300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
46302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
46304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
46306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
46308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
46310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
46312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
46313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
46315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
46316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
46318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
46319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
46321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
46322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
46325 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46330 * sysdeps/sparc/configure.in: New file.
46331 * sysdeps/sparc/configure: Generate.
46332 * configure.in (libc_cv_sparc_as_vis3): Substitute.
46333 * configure: Regenerate.
46334 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
46335 * config.make.in (have-as-vis3): New.
46336 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
46337 available use -Av9d instead of -Av9a.
46338 * sysdeps/sparc/sparc64/Makefile: Likewise.
46339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
46340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
46342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
46344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
46346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
46348 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
46349 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
46350 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
46351 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
46352 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
46354 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
46355 fzeros/fnegs to load 0x80000000 into a float register instead of
46357 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
46359 2012-03-14 Joseph Myers <joseph@codesourcery.com>
46361 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46363 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
46364 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
46365 ($(inst_includedir)/bits/syscall.h): Remove rule.
46366 ($(objpfx)bits/syscall.d): Include instead of
46367 $(objpfx)syscall-list.d.
46368 (generated): Change syscall-list.h and syscall-list.d to
46369 bits/syscall.h and bits/syscall.d.
46371 2012-03-14 Roland McGrath <roland@hack.frob.com>
46374 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
46376 2012-03-14 Joseph Myers <joseph@codesourcery.com>
46379 * math/s_csqrt.c: Include <float.h>.
46380 (__csqrt): Scale large or subnormal inputs.
46381 * math/s_csqrtf.c: Likewise.
46382 * math/s_csqrtl.c: Likewise.
46383 * math/libm-test.inc (csqrt_test): Add more tests.
46384 * sysdeps/i386/fpu/libm-test-ulps: Update.
46385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46388 * math/libm-test.inc (hypot_test): Add more tests.
46390 2012-03-13 David S. Miller <davem@davemloft.net>
46393 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
46394 double-precision for the calculation instead of scaling.
46396 2012-03-13 Joseph Myers <joseph@codesourcery.com>
46398 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
46399 manipulate bits before adding and subtracting TWO52[sx].
46400 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
46401 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
46403 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
46405 2012-03-13 David S. Miller <davem@davemloft.net>
46407 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
46408 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
46409 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
46410 rtld-global-offsets.h
46411 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46413 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
46416 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
46418 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
46419 'err' in the ifdef scope in which it is actually used.
46421 * nss/nss_db/db-init.c: Include string.h
46423 2012-03-12 David S. Miller <davem@davemloft.net>
46425 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46426 masking out of the most significant byte of random value used.
46427 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46428 Fix coding style in previous change.
46430 * sysdeps/unix/sysv/linux/kernel-features.h
46431 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
46432 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
46434 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
46437 2012-03-11 David S. Miller <davem@davemloft.net>
46439 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
46440 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
46441 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
46442 for 'resultvar' otherwise things get truncated on 64-bit.
46444 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46445 Fix masking out of the most significant byte of random value used.
46447 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46449 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
46451 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46453 2012-03-09 David S. Miller <davem@davemloft.net>
46455 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
46456 variables with appropriate CPP guards.
46457 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
46458 from the frame pointer, not the stack pointer. Correct layout
46459 comments. Fix test on resulting framesize and the management of
46460 the outregs buffer for pltexit. Preserve floating point return
46461 values across _dl_call_pltexit call.
46462 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
46463 framesize and the management of the outregs buffer for pltexit.
46464 Preserve floating point return values across _dl_call_pltexit
46466 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
46467 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
46468 (la_sparc64_gnu_pltexit): New functions.
46469 (print_exit): Fix format string for return register value.
46471 2012-03-10 Joseph Myers <joseph@codesourcery.com>
46473 * sunrpc/Makefile (others): Add rpcgen.
46474 ($(objpfx)rpcgen): Remove special build rule and dependency on
46476 * sunrpc/rpcgen.c: New file.
46478 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
46481 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
46482 * stdio-common/bug-vfprintf-nargs.c: Likewise.
46483 * sysdeps/i386/crti.S: Likewise.
46484 * sysdeps/i386/crtn.S: Likewise.
46485 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
46486 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
46487 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
46488 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
46489 * sysdeps/sh/crti.S: Likewise.
46490 * sysdeps/sh/crtn.S: Likewise.
46491 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46494 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
46496 * locale/programs/locfile-kw.gperf: Likewise.
46497 * locale/programs/charmap-kw.h: Regenerated.
46498 * locale/programs/locfile-kw.h: Likewise.
46501 * intl/plural.y: Replace FSF snail mail address with URL.
46502 * intl/plural.c: Regenerated.
46504 2012-03-09 Richard Henderson <rth@twiddle.net>
46506 * include/math_private.h: Remove file.
46507 * math/math_private.h: Move file ...
46508 * sysdeps/generic/math_private.h: ... here.
46510 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
46511 * sysdeps/powerpc/fpu/math_private.h: Likewise.
46512 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46514 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
46515 and <math_private.h>.
46516 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46517 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46518 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46519 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46520 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46521 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
46522 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46523 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46524 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46525 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46526 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46527 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46528 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46529 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46530 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46531 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46532 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46533 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46534 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46535 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46536 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46537 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46538 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46539 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46540 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46541 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46542 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46543 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46544 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46545 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46546 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46547 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46548 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46549 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46550 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46551 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46552 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46553 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46554 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46555 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46556 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
46557 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46558 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46559 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46560 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46561 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46562 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
46563 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46564 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46565 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46566 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46567 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
46568 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46569 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46570 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46571 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46572 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46573 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46574 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46575 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
46576 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46577 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46578 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46579 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46580 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
46581 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46582 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46583 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46584 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
46585 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
46586 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
46587 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46588 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
46589 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46590 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
46591 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
46592 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
46593 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46594 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
46595 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
46596 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
46597 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
46598 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
46599 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46600 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46601 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
46602 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
46603 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
46604 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46605 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46606 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46607 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46608 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46609 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46610 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46611 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46612 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46613 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46614 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46615 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46616 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46617 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46618 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46619 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46620 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46621 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46622 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46623 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46624 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46625 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46626 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46627 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46628 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46629 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46630 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
46631 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46632 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46633 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46634 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46635 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46636 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46637 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46638 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46639 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
46640 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46641 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46642 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46643 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
46644 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46645 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
46646 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
46647 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46648 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46649 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
46650 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
46651 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46652 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46653 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46654 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
46655 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46656 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46657 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46658 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46659 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
46660 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
46661 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46662 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46663 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46664 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
46665 * sysdeps/ieee754/k_standard.c: Likewise.
46666 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46667 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46668 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46669 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46670 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46671 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46672 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46673 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46674 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46675 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46676 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46677 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46678 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46679 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46680 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46681 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46682 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46683 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46684 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46685 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
46686 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
46687 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
46688 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46689 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46690 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46691 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
46692 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46693 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46694 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46695 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46696 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46697 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46698 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46699 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46700 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46701 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46702 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46703 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
46704 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
46705 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46706 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46707 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46708 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46709 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46710 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46711 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46712 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46713 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46714 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46715 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46716 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46717 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46718 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46719 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
46720 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46721 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46722 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
46723 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
46724 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46725 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46726 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46727 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46728 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46729 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46730 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46731 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46732 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46733 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46734 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46735 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46736 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46737 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46738 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46739 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46740 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46741 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46742 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
46743 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46744 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46745 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46746 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46747 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46748 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46749 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46750 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
46751 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46752 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46753 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
46754 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46755 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46756 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
46757 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46758 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
46759 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46760 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46761 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46762 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
46763 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
46764 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
46765 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
46766 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46767 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46768 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46769 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46770 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
46771 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46772 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46773 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
46774 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
46775 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46776 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46777 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46778 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46779 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46780 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46781 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46782 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46783 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46784 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46785 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46786 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46787 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46788 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46789 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46790 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46791 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
46792 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46793 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46794 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46795 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46796 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46797 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46798 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46799 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
46800 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46801 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46802 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
46803 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
46804 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46805 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
46806 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
46807 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46808 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
46809 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
46810 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46811 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46812 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46813 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46814 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46815 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
46816 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46817 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46818 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46819 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46820 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
46821 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
46822 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46823 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46824 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46825 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
46826 * sysdeps/ieee754/s_lib_version.c: Likewise.
46827 * sysdeps/ieee754/s_matherr.c: Likewise.
46828 * sysdeps/ieee754/s_signgam.c: Likewise.
46829 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46830 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46831 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
46832 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
46833 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
46834 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46835 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
46836 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
46837 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
46838 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
46839 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46840 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
46841 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46842 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46843 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
46844 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
46845 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46846 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
46847 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46848 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46849 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46851 2012-03-09 Joseph Myers <joseph@codesourcery.com>
46853 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
46854 * sunrpc/rpc_main.c: Likewise.
46855 * sunrpc/rpc_svcout.c: Likewise.
46857 2012-03-09 David S. Miller <davem@davemloft.net>
46859 * include/math_private.h: New file.
46861 2012-03-09 Joseph Myers <joseph@codesourcery.com>
46863 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
46864 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
46865 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
46866 from <bits/socket_type.h>.
46867 (enum __socket_type): Don't define here.
46868 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
46869 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46870 bits/socket_type.h.
46873 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
46874 checking __USE_GNU.
46876 * Makerules ($(inst_includedir)/%.h): New rule.
46877 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
46878 (install-others): Remove variable setting.
46879 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
46881 2012-03-08 Richard Henderson <rth@twiddle.net>
46883 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
46884 from macro to inline function; merge with the
46885 !__LIBC_INTERNAL_MATH_INLINES version.
46886 (__ieee754_sqrtf): Likewise.
46888 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
46889 to inline function.
46890 (__rintf, __floor, __floorf): Likewise.
46892 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
46893 macro to inline function.
46894 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
46896 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
46897 not <math/math_private.h>.
46899 2012-03-08 David S. Miller <davem@davemloft.net>
46901 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
46903 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
46905 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
46907 * resolv/gai_misc.c (handle_requests): Fix struct timespec
46909 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
46910 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
46912 2012-03-08 Ulrich Drepper <drepper@gmail.com>
46914 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
46915 be defined individually, they must be defined as a block. Define
46916 S for printing a string instead of hidint the different by using a
46917 macro for adding the 'l'.
46918 * stdio-common/tst-fphex-wide.c: Adjust.
46920 2012-03-07 Marek Polacek <polacek@redhat.com>
46922 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
46924 2012-03-08 Marek Polacek <polacek@redhat.com>
46927 * stdio-common/Makefile (tests): Add tst-fphex-wide.
46928 * stdio-common/tst-fphex.c: Define a few macros to make the
46929 test reusable. Use them.
46930 * stdio-common/tst-fphex-wide.c: New file.
46932 2012-03-08 Joseph Myers <joseph@codesourcery.com>
46935 * manual/macros.texi (gnusystems): New macro.
46936 (nongnusystems): Likewise.
46937 (gnulinuxhurdsystems): Likewise.
46938 (gnuhurdsystems): Likewise..
46939 (gnulinuxsystems): Likewise.
46940 * manual/charset.texi: Use new macros or @theglibc{} to refer to
46941 variants of the GNU system, not "GNU system".
46942 * manual/conf.texi: Likewise.
46943 * manual/errno.texi: Likewise. Update example of errno macro
46945 * manual/filesys.texi: Likewise.
46946 (getumask): Document as specific to GNU/Hurd.
46947 * manual/install.texi: Likewise. Reword some references to
46949 * manual/intro.texi: Likewise.
46950 * manual/io.texi: Likewise.
46951 (File Name Portability): Detail which constraints are inapplicable
46952 to all GNU systems and which are only inapplicable to GNU/Hurd.
46953 * manual/job.texi: Likewise.
46954 * manual/llio.texi: Likewise.
46955 (O_NOCTTY): Document as present on GNU/Linux.
46956 * manual/maint.texi: Likewise.
46957 * manual/memory.texi: Likewise.
46958 * manual/pattern.texi: Likewise.
46959 * manual/pipe.texi: Likewise.
46960 * manual/process.texi: Likewise.
46961 * manual/resource.texi: Likewise.
46962 (RUSAGE_CHILDREN): Remove statement about specifying a particular
46964 * manual/setjmp.texi: Likewise.
46965 * manual/signal.texi: Likewise.
46966 * manual/startup.texi: Likewise.
46967 * manual/stdio.texi: Likewise.
46968 * manual/terminal.texi: Likewise.
46969 (ONLCR): Document as POSIX.
46970 (OXTABS): Document availability on GNU/Linux as XTABS.
46971 (ONOEOT): Document availability separately from other bits.
46972 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
46973 * manual/time.texi: Likewise.
46974 * manual/users.texi: Likewise.
46975 * INSTALL: Regenerated.
46976 * sysdeps/gnu/errlist.c: Regenerated.
46978 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
46979 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
46980 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
46982 * configure: Regenerated.
46984 2012-03-07 Joseph Myers <joseph@codesourcery.com>
46986 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
46987 default includes instead of AC_HEADER_CHECK.
46988 * sysdeps/i386/configure: Regenerated.
46991 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
46992 * math/s_cacoshf.c (__cacoshf): Likewise.
46993 * math/s_cacoshl.c (__cacoshl): Likewise.
46994 * math/s_casinh.c (__casinh): Set signs of result from argument.
46995 * math/s_casinhf.c (__casinhf): Likewise.
46996 * math/s_casinhl.c (__casinhl): Likewise.
46997 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
46998 (casinh_test): Add more tests.
46999 * sysdeps/i386/fpu/libm-test-ulps: Update.
47000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47002 2012-03-07 Ulrich Drepper <drepper@gmail.com>
47004 * po/zh_TW.po: Update from translation team.
47006 * login/Makefile (distribute): Remove variable.
47007 * catgets/Makefile: Likewise.
47008 * mach/Makefile: Likewise.
47009 * malloc/Makefile: Likewise.
47010 * misc/Makefile: Likewise.
47011 * iconv/Makefile: Likewise.
47012 * nscd/Makefile: Likewise.
47013 * hurd/Makefile: Likewise.
47014 * manual/Makefile: Likewise.
47015 * locale/Makefile: Likewise.
47016 * intl/Makefile: Likewise.
47017 * conform/Makefile: Likewise.
47018 * nss/Makefile: Likewise.
47019 * time/Makefile: Likewise.
47020 * soft-fp/Makefile: Likewise.
47021 * dirent/Makefile: Likewise.
47022 * gmon/Makefile: Likewise.
47023 * po/Makefile: Likewise.
47024 * rt/Makefile: Likewise.
47025 * socket/Makefile: Likewise.
47026 * math/Makefile: Likewise.
47027 * signal/Makefile: Likewise.
47028 * debug/Makefile: Likewise.
47029 * elf/Makefile: Likewise.
47030 * timezone/Makefile: Likewise.
47031 * stdlib/Makefile: Likewise.
47032 * iconvdata/Makefile: Likewise.
47033 * sunrpc/Makefile: Likewise.
47034 * io/Makefile: Likewise.
47035 * argp/Makefile: Likewise.
47036 * inet/Makefile: Likewise.
47037 * hesiod/Makefile: Likewise.
47038 * grp/Makefile: Likewise.
47039 * csu/Makefile: Likewise.
47040 * wctype/Makefile: Likewise.
47041 * crypt/Makefile: Likewise.
47042 * libio/Makefile: Likewise.
47043 * string/Makefile: Likewise.
47044 * nis/Makefile: Likewise.
47045 * resolv/Makefile: Likewise.
47046 * stdio-common/Makefile: Likewise.
47047 * wcsmbs/Makefile: Likewise.
47048 * dlfcn/Makefile: Likewise.
47049 * posix/Makefile: Likewise.
47052 * timezone/Makefile: Don't install timezone files, just the programs
47055 2012-03-06 Ulrich Drepper <drepper@gmail.com>
47057 * nss/databases.def: Add missing gshadow entry.
47059 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
47061 2012-03-06 Marek Polacek <polacek@redhat.com>
47064 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
47065 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47066 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
47067 * stdio-common/tst-long-dbl-fphex.c: New file.
47069 2012-03-06 David S. Miller <davem@davemloft.net>
47071 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47072 (set_obp_int): New function.
47073 (get_obp_int): New function.
47074 (__get_clockfreq_via_dev_openprom): Likewise.
47075 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
47076 Avoid unused variable warnings on 'val' and use builtin_expect.
47077 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
47079 (INLINE_CLONE_SYSCALL): Likewise.
47081 2012-03-05 David S. Miller <davem@davemloft.net>
47083 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47085 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
47087 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47089 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
47090 only for |x| >= 40.
47091 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47093 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
47095 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
47096 Replace gettimeofday with __vdso_gettimeofday.
47098 * sysdeps/unix/sysv/linux/x86_64/init-first.c
47099 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
47100 __vdso_clock_gettime and __vdso_getcpu.
47102 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
47103 time with __vdso_time.
47105 2012-03-05 Joseph Myers <joseph@codesourcery.com>
47107 * manual/lang.texi (size_t): Note types to which size_t may be
47108 equivalent with the GNU C Library, but do not describe when
47109 differences between them are significant.
47111 2012-03-05 Andreas Jaeger <aj@suse.de>
47113 * sysdeps/i386/fpu/libm-test-ulps: Update.
47115 2012-03-05 Joseph Myers <joseph@codesourcery.com>
47118 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
47119 (__ieee754_pow): Save and restore rounding mode and use
47120 round-to-nearest for main computations.
47121 * math/libm-test.inc (pow_test_tonearest): New function.
47122 (pow_test_towardzero): Likewise.
47123 (pow_test_downward): Likewise.
47124 (pow_test_upward): Likewise.
47125 (main): Call the new functions.
47126 * sysdeps/i386/fpu/libm-test-ulps: Update.
47127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47130 * math/libm-test.inc (cosh_test_tonearest): New function.
47131 (cosh_test_towardzero): Likewise.
47132 (cosh_test_downward): Likewise.
47133 (cosh_test_upward): Likewise.
47134 (sinh_test_tonearest): Likewise.
47135 (sinh_test_towardzero): Likewise.
47136 (sinh_test_downward): Likewise.
47137 (sinh_test_upward): Likewise.
47138 (main): Call the new functions.
47139 * sysdeps/i386/fpu/libm-test-ulps: Update.
47140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47142 2012-03-05 Tom de Vries <tom@codesourcery.com>
47144 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
47145 default stack guard is set in last bytes.
47146 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
47148 2012-03-05 Kees Cook <keescook@chromium.org>
47150 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
47153 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
47154 possibly allocate from heap instead of stack.
47155 * stdio-common/bug-vfprintf-nargs.c: New file.
47156 * stdio-common/Makefile (tests): Add nargs overflow test.
47158 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
47160 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47162 2012-03-03 Marek Polacek <polacek@redhat.com>
47164 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
47165 * math/math_private.h: Likewise.
47166 * stdlib/tst-strtod.c: Likewise.
47167 * sysdeps/i386/i486/bits/atomic.h: Likewise.
47168 * sysdeps/x86_64/bits/atomic.h: Likewise.
47170 2012-03-02 David S. Miller <davem@davemloft.net>
47172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
47173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
47174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
47175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
47176 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
47177 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
47178 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
47179 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
47181 2012-03-02 Roland McGrath <roland@hack.frob.com>
47184 * manual/examples/README: New file, says the example source files
47185 can be used under GPL>=2.
47186 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
47187 line containing just "*/".
47188 * manual/examples/add.c: Add copyright header (GPL>=2).
47189 * manual/examples/argp-ex1.c: Likewise.
47190 * manual/examples/argp-ex2.c: Likewise.
47191 * manual/examples/argp-ex3.c: Likewise.
47192 * manual/examples/argp-ex4.c: Likewise.
47193 * manual/examples/atexit.c: Likewise.
47194 * manual/examples/db.c: Likewise.
47195 * manual/examples/dir.c: Likewise.
47196 * manual/examples/dir2.c: Likewise.
47197 * manual/examples/execinfo.c: Likewise.
47198 * manual/examples/filecli.c: Likewise.
47199 * manual/examples/filesrv.c: Likewise.
47200 * manual/examples/fmtmsgexpl.c: Likewise.
47201 * manual/examples/genpass.c: Likewise.
47202 * manual/examples/inetcli.c: Likewise.
47203 * manual/examples/inetsrv.c: Likewise.
47204 * manual/examples/isockad.c: Likewise.
47205 * manual/examples/longopt.c: Likewise.
47206 * manual/examples/memopen.c: Likewise.
47207 * manual/examples/memstrm.c: Likewise.
47208 * manual/examples/mkfsock.c: Likewise.
47209 * manual/examples/mkisock.c: Likewise.
47210 * manual/examples/mygetpass.c: Likewise.
47211 * manual/examples/pipe.c: Likewise.
47212 * manual/examples/popen.c: Likewise.
47213 * manual/examples/rprintf.c: Likewise.
47214 * manual/examples/search.c: Likewise.
47215 * manual/examples/select.c: Likewise.
47216 * manual/examples/setjmp.c: Likewise.
47217 * manual/examples/sigh1.c: Likewise.
47218 * manual/examples/sigusr.c: Likewise.
47219 * manual/examples/stpcpy.c: Likewise.
47220 * manual/examples/strdupa.c: Likewise.
47221 * manual/examples/strftim.c: Likewise.
47222 * manual/examples/strncat.c: Likewise.
47223 * manual/examples/subopt.c: Likewise.
47224 * manual/examples/swapcontext.c: Likewise.
47225 * manual/examples/termios.c: Likewise.
47226 * manual/examples/testopt.c: Likewise.
47227 * manual/examples/testpass.c: Likewise.
47228 * manual/examples/timeval_subtract.c: Likewise.
47231 * manual/time.texi (Elapsed Time): Move timeval_subtract example
47233 * manual/timeval_subtract.c.texi: ... here, new file.
47235 2012-03-02 David S. Miller <davem@davemloft.net>
47237 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
47239 2012-03-02 Joseph Myers <joseph@codesourcery.com>
47242 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
47243 (__sin): Save and restore rounding mode and use round-to-nearest
47244 for all computations.
47245 (__cos): Save and restore rounding mode and use round-to-nearest
47246 for all computations.
47247 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
47249 (tan): Save and restore rounding mode and use round-to-nearest for
47251 * math/libm-test.inc (cos_test_tonearest): New function.
47252 (cos_test_towardzero): Likewise.
47253 (cos_test_downward): Likewise.
47254 (cos_test_upward): Likewise.
47255 (sin_test_tonearest): Likewise.
47256 (sin_test_towardzero): Likewise.
47257 (sin_test_downward): Likewise.
47258 (sin_test_upward): Likewise.
47259 (tan_test_tonearest): Likewise.
47260 (tan_test_towardzero): Likewise.
47261 (tan_test_downward): Likewise.
47262 (tan_test_upward): Likewise.
47263 (main): Call the new functions.
47264 * sysdeps/i386/fpu/libm-test-ulps: Update.
47265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47268 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
47269 small n, then large n, before computing and testing k+n.
47270 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47271 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
47273 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
47275 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
47276 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
47277 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
47278 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
47279 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47280 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47281 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
47282 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
47283 * math/libm-test.inc (scalbn_test): Add more tests.
47284 (scalbln_test): Likewise.
47286 * manual/filesys.texi (mode_t): Describe constraints on size and
47287 signedness, not exact equivalence to a particular type.
47289 (ino64_t): Likewise.
47291 (nlink_t): Likewise.
47292 (blkcnt_t): Likewise.
47293 (blkcnt64_t): Likewise.
47294 * manual/llio.texi (off_t): Likewise.
47297 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
47298 (__ieee754_exp): Save and restore rounding mode and use
47299 round-to-nearest for all computations.
47300 * math/libm-test.inc (exp_test_tonearest): New function.
47301 (exp_test_towardzero): Likewise.
47302 (exp_test_downward): Likewise.
47303 (exp_test_upward): Likewise.
47304 (main): Call the new functions.
47305 * sysdeps/i386/fpu/libm-test-ulps: Update.
47306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47308 2012-03-01 Chris Demetriou <cgd@google.com>
47310 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
47311 have predictable order.
47313 2012-03-01 David S. Miller <davem@davemloft.net>
47315 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
47317 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
47318 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
47319 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
47320 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
47322 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
47323 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
47324 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
47325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
47326 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
47327 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
47328 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
47329 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
47330 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
47332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47334 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
47335 * sysdeps/sparc/fpu/libm-test-ulps: to here.
47336 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
47338 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
47339 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47340 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47341 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
47342 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
47343 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
47344 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
47345 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47346 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47347 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
47348 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
47349 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47350 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47351 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47352 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47353 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47354 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
47355 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
47356 * sysdeps/sparc/elf/configure: Regenerated.
47358 2012-03-01 Joseph Myers <joseph@codesourcery.com>
47360 * configure.in (AS, LD): Require binutils 2.20 or later.
47361 * configure: Regenerated.
47362 * manual/install.texi (Tools for Compilation): Give binutils 2.20
47363 as required minimum version.
47364 * INSTALL: Regenerated.
47368 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
47369 before squaring exponent.
47370 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
47371 bottom long double and 27 bits of top long double before squaring
47373 * math/libm-test.inc (erfc_test): Add more tests.
47374 * sysdeps/i386/fpu/libm-test-ulps: Update.
47375 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47378 2012-03-01 Kai Tietz <ktietz@redhat.com>
47380 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
47381 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
47382 containing bit-fields.
47383 * soft-fp/extended.h (_FP_UNION_E): Likewise.
47384 * soft-fp/single.h (_FP_UNION_S): Likewise.
47385 * soft-fp/double.h (_FP_UNION_D): Likewise.
47387 2012-02-29 Joseph Myers <joseph@codesourcery.com>
47390 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
47391 not include ../strcmp.S.
47392 [USE_AS_STRNCASECMP_L]: Likewise.
47393 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
47394 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
47395 * sysdeps/i386/i686/multiarch/strncase_l-c.c
47396 (__strncasecmp_l_ia32): Define as alias to
47397 __strncasecmp_l_nonascii.
47400 * math/libm-test.inc (expm1_test): Add test for bug 5794.
47401 * sysdeps/i386/fpu/libm-test-ulps: Update.
47402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47404 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
47405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47407 2012-02-29 Jeff Law <law@redhat.com>
47409 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
47410 out of bounds read.
47412 2012-02-29 Marek Polacek <polacek@redhat.com>
47415 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
47416 * elf/Makefile: Add rules to run tst-unused-dep.out.
47418 2012-02-28 David S. Miller <davem@davemloft.net>
47420 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
47421 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
47422 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
47423 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
47424 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
47425 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
47427 2012-02-29 Joseph Myers <joseph@codesourcery.com>
47429 * math/libm-test.inc (llround_test): Move one test from
47430 lround_test. Use TEST_f_L in moved test.
47431 (lround_test): Move misplaced test to llround_test. Add testcase
47434 2012-02-28 Ulrich Drepper <drepper@gmail.com>
47436 * sysdeps/x86_64/fpu/e_expf.S: New file.
47437 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
47439 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
47442 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
47443 of remain_len that may cause incomplete multi-byte character and
47445 * posix/bug-regex33.c: New file.
47446 * posix/Makefile (tests): Add bug-regex33.
47448 2012-02-28 Joseph Myers <joseph@codesourcery.com>
47450 * manual/macros.texi: New file.
47451 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
47452 * manual/libc.texinfo: Include macros.texi.
47453 * manual/creatute.texi: Likewise.
47454 * manual/install.texi: Likewise.
47455 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
47456 @glibcadj{} in references to the GNU C Library.
47457 * manual/charset.texi: Likewise.
47458 * manual/conf.texi: Likewise.
47459 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
47460 when not using those macros.
47461 * manual/creature.texi: Likewise.
47462 * manual/crypt.texi: Likewise.
47463 * manual/errno.texi: Likewise.
47464 * manual/filesys.texi: Likewise.
47465 * manual/header.texi: Likewise.
47466 * manual/install.texi: Likewise.
47467 * manual/intro.texi: Likewise.
47468 * manual/io.texi: Likewise.
47469 * manual/job.texi: Likewise.
47470 * manual/lang.texi: Likewise.
47471 * manual/libc.texiinfo: Likewise.
47472 * manual/llio.texi: Likewise.
47473 * manual/locale.texi: Likewise.
47474 * manual/maint.texi: Likewise.
47475 * manual/math.texi: Likewise.
47476 * manual/memory.texi: Likewise.
47477 * manual/message.texi: Likewise.
47478 * manual/nss.texi: Likewise.
47479 * manual/pattern.texi: Likewise.
47480 * manual/process.texi: Likewise.
47481 * manual/resource.texi: Likewise.
47482 * manual/search.texi: Likewise.
47483 * manual/setjmp.texi: Likewise.
47484 * manual/signal.texi: Likewise.
47485 * manual/socket.texi: Likewise.
47486 * manual/startup.texi: Likewise.
47487 * manual/stdio.texi: Likewise.
47488 * manual/string.texi: Likewise.
47489 * manual/sysinfo.texi: Likewise.
47490 * manual/syslog.texi: Likewise.
47491 * manual/terminal.texi: Likewise.
47492 * manual/time.texi: Likewise.
47493 * manual/users.texi: Likewise.
47494 * INSTALL: Regenerated.
47495 * NOTES: Regenerated.
47496 * sysdeps/gnu/errlist.c: Regenerated.
47498 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
47500 * include/dirent.h: Include <dirstream.h> before
47503 2012-02-28 David S. Miller <davem@davemloft.net>
47505 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
47506 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
47507 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
47508 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
47510 2012-02-27 David S. Miller <davem@davemloft.net>
47512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
47513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
47514 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
47515 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
47517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
47518 frame pointer instead of stack pointer relative arg slot.
47519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47520 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47521 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47523 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
47526 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
47528 2012-02-27 David S. Miller <davem@davemloft.net>
47530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
47531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
47533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
47534 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47535 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47536 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
47537 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
47539 2012-02-27 Joseph Myers <joseph@codesourcery.com>
47541 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
47542 later. Allow versions 5-9.
47543 * configure: Regenerated.
47544 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
47545 required minimum version and 4.6 as recommended version. Do not
47546 mention bugs in GCC 2.7 and 2.8.
47547 * INSTALL: Regenerated.
47549 2012-02-27 David S. Miller <davem@davemloft.net>
47551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
47552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
47553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
47554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
47555 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
47556 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
47557 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
47558 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
47560 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
47561 manipulate bits before adding and subtracting TWO112[sx].
47562 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
47564 2012-02-27 Roland McGrath <roland@hack.frob.com>
47567 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
47568 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
47569 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
47570 being in POSIX, because they are in 1003.1-2008.
47572 * rt/tst-aio.c: Include <fcntl.h>.
47573 * rt/tst-aio7.c: Likewise.
47574 * rt/tst-aio64.c: Likewise.
47576 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
47578 2012-02-27 Joseph Myers <joseph@codesourcery.com>
47580 * manual/install.texi (--with-headers): Describe headers as
47581 interface headers, not private headers.
47582 (Specific advice for GNU/Linux systems): Describe use of headers
47583 from "make headers_install", not private headers from older
47585 * INSTALL: Regenerated.
47586 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
47588 * sysdeps/unix/sysv/linux/configure: Regenerated.
47590 * manual/llio.texi (fclean): Remove documentation.
47592 * manual/Makefile (libc-texi-generated): New variable. Include
47594 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
47595 $(libc-texi-generated), not duplicated list of files.
47596 (version.texi, stamp-version): New rules.
47597 (realclean): Remove $(libc-texi-generated), not individual files
47598 from that list. Do not remove dir-add.texinfo.
47599 * manual/libc.texinfo: Comment out uses of edition numbers and
47600 references to printed manual. Remove last-updated dates.
47601 (EDITION): Comment out.
47603 (VERSION, UPDATED): Remove.
47604 (version.texi): Include.
47606 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
47608 * sysdeps/posix/spawni.c: Include <signal.h>.
47609 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
47610 * sysdeps/pthread/aio_fsync.c: Likewise.
47612 2012-02-26 Ulrich Drepper <drepper@gmail.com>
47614 * conform/Makefile (tests): Run only when not cross-compiling and
47615 when fast-check is not defined.
47617 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
47618 * conform/data/limits.h-data: Fixes for POSIX2008.
47619 * conform/run-conformtest.sh: Run all tests.
47620 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
47622 * include/bits/dlfcn.h: Likewise.
47623 * include/langinfo.h: Likewise.
47624 * include/monetary.h: Likewise.
47625 * include/sys/poll.h: Likewise.
47627 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
47629 * posix/spawn.h: Define __need_sigset_t.
47630 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
47631 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
47632 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
47633 to get sigevent_t only.
47634 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
47635 only for __USE_GNU.
47636 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47637 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47638 process_vm_writev only for __USE_GNU.
47639 * termios/termios.h: Declare tcgetsid also for POSIX2008.
47641 * conform/Makefile: For now ignore errors from run-conformtest.
47642 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
47643 POSIX to avoid namespace pollution. Don't prepend headers.
47644 * conform/data/aio.h-data: Fixes for POSIX testing.
47645 * conform/data/fcntl.h-data: Likewise.
47646 * conform/data/glob.h-data: Likewise.
47647 * conform/data/grp.h-data: Likewise.
47648 * conform/data/pthread.h-data: Likewise.
47649 * conform/data/pwd.h-data: Likewise.
47650 * conform/data/signal.h-data: Likewise.
47651 * conform/data/spawn.h-data: Likewise.
47652 * conform/data/stdio.h-data: Likewise.
47653 * conform/data/stdlib.h-data: Likewise.
47654 * conform/data/stropts.h-data: Likewise.
47655 * conform/data/sys/mman.h-data: Likewise.
47656 * conform/data/sys/stat.h-data: Likewise.
47657 * conform/data/sys/types.h-data: Likewise.
47658 * conform/data/sys/wait.h-data: Likewise.
47659 * conform/data/time.h-data: Likewise.
47660 * conform/data/unistd.h-data: Likewise.
47661 * conform/data/utime.h-data: Likewise.
47663 * io/sys/stat.h: fchmod was always in POSIX.
47664 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
47665 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
47666 * rt/aio.h: Define __need_timespec before including <time.h>.
47667 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
47668 struct. Add forward declaration of pthread_attr_t and use it in
47670 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47671 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47672 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
47673 always remove CLK_TCK definition.
47675 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
47677 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
47679 2012-02-25 Ulrich Drepper <drepper@gmail.com>
47681 * conform/run-conformtest.sh: New file.
47682 * conform/Makefile: Run run-conformtest for tests.
47683 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
47686 * conform/data/uchar.h-data: New file.
47687 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
47688 * conform/data/arpa/inet.h-data: Likewise.
47689 * conform/data/assert.h-data: Likewise.
47690 * conform/data/complex.h-data: Likewise.
47691 * conform/data/cpio.h-data: Likewise.
47692 * conform/data/ctype.h-data: Likewise.
47693 * conform/data/dirent.h-data: Likewise.
47694 * conform/data/dlfcn.h-data: Likewise.
47695 * conform/data/errno.h-data: Likewise.
47696 * conform/data/fcntl.h-data: Likewise.
47697 * conform/data/float.h-data: Likewise.
47698 * conform/data/fmtmsg.h-data: Likewise.
47699 * conform/data/fnmatch.h-data: Likewise.
47700 * conform/data/ftw.h-data: Likewise.
47701 * conform/data/glob.h-data: Likewise.
47702 * conform/data/grp.h-data: Likewise.
47703 * conform/data/iconv.h-data: Likewise.
47704 * conform/data/inttypes.h-data: Likewise.
47705 * conform/data/langinfo.h-data: Likewise.
47706 * conform/data/libgen.h-data: Likewise.
47707 * conform/data/limits.h-data: Likewise.
47708 * conform/data/locale.h-data: Likewise.
47709 * conform/data/math.h-data: Likewise.
47710 * conform/data/monetary.h-data: Likewise.
47711 * conform/data/mqueue.h-data: Likewise.
47712 * conform/data/ndbm.h-data: Likewise.
47713 * conform/data/net/if.h-data: Likewise.
47714 * conform/data/netdb.h-data: Likewise.
47715 * conform/data/netinet/in.h-data: Likewise.
47716 * conform/data/nl_types.h-data: Likewise.
47717 * conform/data/poll.h-data: Likewise.
47718 * conform/data/pthread.h-data: Likewise.
47719 * conform/data/pwd.h-data: Likewise.
47720 * conform/data/regex.h-data: Likewise.
47721 * conform/data/sched.h-data: Likewise.
47722 * conform/data/search.h-data: Likewise.
47723 * conform/data/semaphore.h-data: Likewise.
47724 * conform/data/setjmp.h-data: Likewise.
47725 * conform/data/signal.h-data: Likewise.
47726 * conform/data/spawn.h-data: Likewise.
47727 * conform/data/stdarg.h-data: Likewise.
47728 * conform/data/stdio.h-data: Likewise.
47729 * conform/data/stdlib.h-data: Likewise.
47730 * conform/data/string.h-data: Likewise.
47731 * conform/data/strings.h-data: Likewise.
47732 * conform/data/stropts.h-data: Likewise.
47733 * conform/data/sys/ipc.h-data: Likewise.
47734 * conform/data/sys/mman.h-data: Likewise.
47735 * conform/data/sys/msg.h-data: Likewise.
47736 * conform/data/sys/resource.h-data: Likewise.
47737 * conform/data/sys/select.h-data: Likewise.
47738 * conform/data/sys/sem.h-data: Likewise.
47739 * conform/data/sys/shm.h-data: Likewise.
47740 * conform/data/sys/socket.h-data: Likewise.
47741 * conform/data/sys/stat.h-data: Likewise.
47742 * conform/data/sys/statvfs.h-data: Likewise.
47743 * conform/data/sys/time.h-data: Likewise.
47744 * conform/data/sys/timeb.h-data: Likewise.
47745 * conform/data/sys/times.h-data: Likewise.
47746 * conform/data/sys/types.h-data: Likewise.
47747 * conform/data/sys/uio.h-data: Likewise.
47748 * conform/data/sys/un.h-data: Likewise.
47749 * conform/data/sys/utsname.h-data: Likewise.
47750 * conform/data/sys/wait.h-data: Likewise.
47751 * conform/data/syslog.h-data: Likewise.
47752 * conform/data/tar.h-data: Likewise.
47753 * conform/data/termios.h-data: Likewise.
47754 * conform/data/utime.h-data: Likewise.
47755 * conform/data/utmpx.h-data: Likewise.
47756 * conform/data/varargs.h-data: Likewise.
47757 * conform/data/wchar.h-data: Likewise.
47758 * conform/data/wctype.h-data: Likewise.
47759 * conform/data/wordexp.h-data: Likewise.
47761 * include/stropts.h: New file.
47762 * include/uchar.h: New file.
47763 * include/aio.h: Changes to allow conformtest.pl to use the headers.
47764 * include/assert.h: Likewise.
47765 * include/ctype.h: Likewise.
47766 * include/dirent.h: Likewise.
47767 * include/dlfcn.h: Likewise.
47768 * include/fcntl.h: Likewise.
47769 * include/fnmatch.h: Likewise.
47770 * include/glob.h: Likewise.
47771 * include/grp.h: Likewise.
47772 * include/libio.h: Likewise.
47773 * include/locale.h: Likewise.
47774 * include/math.h: Likewise.
47775 * include/net/if.h: Likewise.
47776 * include/netdb.h: Likewise.
47777 * include/netinet/in.h: Likewise.
47778 * include/pthread.h: Likewise.
47779 * include/pwd.h: Likewise.
47780 * include/regex.h: Likewise.
47781 * include/sched.h: Likewise.
47782 * include/search.h: Likewise.
47783 * include/setjmp.h: Likewise.
47784 * include/signal.h: Likewise.
47785 * include/stdio.h: Likewise.
47786 * include/stdlib.h: Likewise.
47787 * include/string.h: Likewise.
47788 * include/sys/cdefs.h: Likewise.
47789 * include/sys/mman.h: Likewise.
47790 * include/sys/msg.h: Likewise.
47791 * include/sys/resource.h: Likewise.
47792 * include/sys/select.h: Likewise.
47793 * include/sys/socket.h: Likewise.
47794 * include/sys/stat.h: Likewise.
47795 * include/sys/statvfs.h: Likewise.
47796 * include/sys/time.h: Likewise.
47797 * include/sys/times.h: Likewise.
47798 * include/sys/uio.h: Likewise.
47799 * include/sys/utsname.h: Likewise.
47800 * include/sys/wait.h: Likewise.
47801 * include/termios.h: Likewise.
47802 * include/time.h: Likewise.
47803 * include/ulimit.h: Likewise.
47804 * include/unistd.h: Likewise.
47805 * include/utime.h: Likewise.
47806 * include/wchar.h: Likewise.
47807 * include/wctype.h: Likewise.
47808 * include/wordexp.h: Likewise.
47810 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
47812 * time/time.h: TIME_UTC must be a macro.
47813 Make timespec_get available for ISO C11 only as well.
47815 2012-02-24 Ulrich Drepper <drepper@gmail.com>
47817 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
47818 Reported by Peng Haitao <penght@cn.fujitsu.com>.
47820 2012-02-24 Joseph Myers <joseph@codesourcery.com>
47822 * configure.in: Use -o not -a in test for unsupported multi-arch.
47824 2012-02-24 Joseph Myers <joseph@codesourcery.com>
47826 * manual/texinfo.tex: Update to version 2012-01-19.16.
47828 2012-02-24 Joseph Myers <joseph@codesourcery.com>
47830 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
47832 2012-02-24 Roland McGrath <roland@hack.frob.com>
47835 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
47836 * manual/fdl-1.3.texi: New file.
47837 * manual/fdl-1.1.texi: File removed.
47840 * manual/libc.texinfo (FDL_VERSION): New @set.
47841 Use it for mention of FDL in cover text.
47842 (Documentation License): Use it in @include file name.
47844 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47845 Roland McGrath <roland@hack.frob.com>
47848 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
47849 (not LONG_LONG_MAX and LONG_LONG_MIN.
47850 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
47851 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
47853 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
47855 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47859 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
47860 manipulate bits before adding and subtracting TWO23[sx].
47861 * math/libm-test.inc (nearbyint_test): Add more tests.
47863 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47866 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
47867 bits before adding and subtracting TWO23[sx].
47868 * math/libm-test.inc (rint_test): Add more tests.
47869 (rint_test_tonearest): Likewise.
47870 (rint_test_towardzero): Likewise.
47871 (rint_test_downward): Likewise.
47872 (rint_test_upward: Likewise.
47874 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47877 * include/stdc-predef.h: New file. Extracted from features.h.
47878 * include/features.h: Include stdc-predef.h.
47879 * Makefile (headers): Add stdc-predef.h.
47880 * CONFORMANCE (Compiler limitations): Update.
47882 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47884 * manual/libc.texinfo (VERSION, UPDATED): Revert.
47886 2012-02-21 David S. Miller <davem@davemloft.net>
47888 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
47889 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47891 2012-02-20 David S. Miller <davem@davemloft.net>
47893 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
47894 using a normal save/restore sequence, rather than allocating a
47895 dummy stack frame just to store a frame pointer and restore.
47896 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47898 2012-02-21 Joseph Myers <joseph@codesourcery.com>
47900 * manual/install.texi: Fix stray word in line-wrapped comment.
47902 2012-02-20 David S. Miller <davem@davemloft.net>
47904 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
47905 both binutils and gcc support GOTDATA.
47907 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
47908 "rd %pc" in the PIC register setup sequences.
47910 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
47911 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
47912 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47913 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
47914 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47915 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47916 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47917 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47918 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
47919 (SYSCALL_ERROR_HANDLER): Likewise.
47920 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47921 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47922 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
47923 (SYSCALL_ERROR_HANDLER): Likewise.
47925 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
47926 (HAVE_GCC_GOTDATA): New.
47927 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
47928 relocation support in both binutils and gcc.
47929 * sysdeps/sparc/elf/configure: Regenerate.
47931 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
47932 * sysdeps/sparc/sparc32/elf/configure: Delete.
47933 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
47934 * sysdeps/sparc/sparc64/elf/configure: Delete.
47935 * sysdeps/sparc/elf/configure.in: New file.
47936 * sysdeps/sparc/elf/configure: Generate.
47938 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
47939 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
47940 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47941 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
47942 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
47944 2012-02-21 Joseph Myers <joseph@codesourcery.com>
47946 * manual/install.texi: Do not mention specific glibc version
47948 * manual/libc.texinfo (VERSION, UPDATED): Update.
47949 (@copying): Use @copyright{} and range of years.
47951 2012-02-21 Joseph Myers <joseph@codesourcery.com>
47954 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
47955 [crti.S not in sysdirs] (generated): Do not append.
47956 [crti.S not in sysdirs] (omit-deps): Likewise.
47957 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
47958 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
47959 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
47960 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
47961 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
47963 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
47964 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
47965 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
47966 * csu/defs.awk: Remove file.
47967 * sysdeps/generic/initfini.c: Likewise.
47968 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
47970 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
47973 2012-02-20 Joseph Myers <joseph@codesourcery.com>
47975 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
47976 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
47977 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
47978 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
47979 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47980 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
47982 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
47983 (__EPOLL_PACKED): Define to empty if not defined by
47985 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
47986 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47989 2012-02-20 Joseph Myers <joseph@codesourcery.com>
47991 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
47992 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
47993 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
47994 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
47996 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
47997 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48000 2012-02-20 Joseph Myers <joseph@codesourcery.com>
48002 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
48004 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48005 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48006 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
48007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48009 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
48011 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48012 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48014 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
48016 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
48017 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
48019 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
48021 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
48024 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
48026 * math/w_acos.c: Use non-signaling floating-point comparisons.
48027 * math/w_acosf.c: Likewise.
48028 * math/w_acosh.c: Likewise.
48029 * math/w_acoshf.c: Likewise.
48030 * math/w_acoshl.c: Likewise.
48031 * math/w_acosl.c: Likewise.
48032 * math/w_asin.c: Likewise.
48033 * math/w_asinf.c: Likewise.
48034 * math/w_asinl.c: Likewise.
48035 * math/w_atanh.c: Likewise.
48036 * math/w_atanhf.c: Likewise.
48037 * math/w_atanhl.c: Likewise.
48038 * math/w_exp2.c: Likewise.
48039 * math/w_exp2f.c: Likewise.
48040 * math/w_exp2l.c: Likewise.
48041 * math/w_j0.c: Likewise.
48042 * math/w_j0f.c: Likewise.
48043 * math/w_j0l.c: Likewise.
48044 * math/w_j1.c: Likewise.
48045 * math/w_j1f.c: Likewise.
48046 * math/w_j1l.c: Likewise.
48047 * math/w_jn.c: Likewise.
48048 * math/w_jnf.c: Likewise.
48049 * math/w_log.c: Likewise.
48050 * math/w_log10.c: Likewise.
48051 * math/w_log10f.c: Likewise.
48052 * math/w_log10l.c: Likewise.
48053 * math/w_log2.c: Likewise.
48054 * math/w_log2f.c: Likewise.
48055 * math/w_log2l.c: Likewise.
48056 * math/w_logf.c: Likewise.
48057 * math/w_logl.c: Likewise.
48058 * math/w_sqrt.c: Likewise.
48059 * math/w_sqrtf.c: Likewise.
48060 * math/w_sqrtl.c: Likewise.
48061 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48062 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
48063 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48064 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48065 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48067 2012-02-19 Joseph Myers <joseph@codesourcery.com>
48070 * manual/string.texi (strnlen): Use correct parameter name in
48071 equivalent expression.
48073 2012-02-19 Joseph Myers <joseph@codesourcery.com>
48076 * manual/users.texi (seteuid): Consistently use neweuid for
48079 2012-02-19 Joseph Myers <joseph@codesourcery.com>
48082 * manual/nss.texi (Services in the NSS configuration): Correct
48083 list of services in example configuration file.
48085 2012-02-19 Nick Bowler <nbowler@draconx.ca>
48088 * manual/arith.texi: Remove statements about negative zero
48089 behaving identically to zero.
48091 2012-02-18 Joseph Myers <joseph@codesourcery.com>
48094 * manual/install.texi: Do not document upgrading from libc5.
48096 2012-02-18 Joseph Myers <joseph@codesourcery.com>
48099 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
48101 2012-02-18 David S. Miller <davem@davemloft.net>
48103 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
48104 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
48105 %o7 across the call.
48106 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
48108 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
48109 SETUP_PIC_REG_LEAF.
48110 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48111 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
48112 * sysdeps/sparc/crtn.S: Likewise.
48114 2012-02-17 Ulrich Drepper <drepper@gmail.com>
48116 * aout/Makefile: Remove.
48118 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
48121 * manual/examples/argp-ex1.c (main): Format definition in GNU
48123 * manual/examples/argp-ex2.c (main): Likewise.
48124 * manual/examples/argp-ex3.c (main): Likewise.
48125 * manual/examples/argp-ex4.c (main): Likewise.
48126 * manual/examples/longopt.c (main): Use new-style prototype
48128 * manual/examples/strncat.c (main): Specify return type and use
48129 (void) for arguments.
48130 * manual/examples/subopt.c (main): Use char **argv argument.
48132 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48135 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
48138 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
48141 * manual/string.texi (strchr): Change when strchrnul is
48144 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
48147 * manual/locale.texi (setlocale): Document LOCPATH.
48149 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48152 * manual/process.texi (execle): Move @dots{} before last argument.
48154 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
48157 * manual/charset.texi (Generic Charset Conversion): Fix typo
48158 (LC_TYPE -> LC_CTYPE).
48160 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
48163 * manual/arith.texi (scalbn): Use @var{} on parameter names.
48164 (scalbnf): Likewise.
48165 (scalbnl): Likewise.
48166 (scalbln): Likewise.
48167 (scalblnf): Likewise.
48168 (scalblnl): Likewise.
48169 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
48170 (vwarnx): Likewise.
48173 * manual/filesys.texi (telldir): Use braces around return type.
48174 * manual/llio.texi (mmap): Add space after comma.
48175 (mmap64): Likewise.
48176 * manual/math.texi (jn): Use @var{} on parameter names.
48182 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
48184 * manual/resource.texi (ulimit): Use @dots{} instead of literal
48186 (sched_get_priority_min): Remove semicolon on @deftypefun line.
48187 (sched_get_priority_max): Likewise.
48188 * manual/signal.texi (sigvec): Add space after comma.
48189 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
48191 (if_indextoname): Likewise.
48192 (if_freenameindex): Likewise.
48193 (sendto): Use ',' instead of '.' in prototype.
48194 * manual/startup.texi (syscall): Use @dots{} instead of literal
48196 * manual/stdio.texi (__fpending): Separate initial words of
48197 paragraph from @deftypefun line.
48198 * manual/syslog.texi (syslog): Use @dots{} instead of literal
48200 (vsyslog): Use @var{} on parameter names.
48201 * manual/terminal.texi (stty): Use @var{} on parameter names.
48202 * manual/users.texi (getutmp): Use @var{} on parameter names.
48203 (getutmpx): Likewise.
48205 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48208 * manual/stdio.texi (fopen): Fix typos in description of
48211 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
48214 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
48215 get clock_id definition.
48217 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
48220 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
48221 (madvise): Cast every argument to void on its own.
48223 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48226 * manual/startup.texi (Exit Status): Fix typo.
48228 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48231 * manual/examples/argp-ex1.c: Include <stdlib.h>.
48232 * manual/examples/argp-ex2.c: Likewise.
48233 * manual/examples/argp-ex3.c: Likewise.
48235 2012-02-16 Richard Henderson <rth@redhat.com>
48237 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
48238 * sysdeps/s390/s390-32/initfini.c: Remove.
48239 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
48240 * sysdeps/s390/s390-64/initfini.c: Remove.
48242 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48244 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
48245 compiler output for sysdeps/generic/initfini.c.
48246 * sysdeps/sh/elf/initfini.c: Remove file.
48248 2012-02-16 David S. Miller <davem@davemloft.net>
48251 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
48253 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
48254 * sysdeps/sparc/crti.S: New file.
48255 * sysdeps/sparc/crtn.S: New file.
48256 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
48257 * sysdeps/sparc/sparc64/Makefile: Likewise.
48259 2012-02-15 Mike Frysinger <vapier@gentoo.org>
48262 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
48264 2012-02-15 Roland McGrath <roland@hack.frob.com>
48267 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
48269 * mach/devstream.c (cookie_io_functions_t): Macro removed.
48270 (write, read, close): Likewise.
48271 Patch by Aurelien Jarno <aurelien@aurel32.net>.
48273 2012-02-15 Joseph Myers <joseph@codesourcery.com>
48275 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
48276 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
48277 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
48278 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
48280 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
48281 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48284 2012-02-14 Marek Polacek <polacek@redhat.com>
48286 * sysdeps/x86_64/crti.S: New file.
48287 * sysdeps/x86_64/crtn.S: New file.
48288 * sysdeps/x86_64/elf/initfini.c: Remove file.
48290 2012-02-13 Joseph Myers <joseph@codesourcery.com>
48292 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
48293 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
48294 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
48295 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
48297 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
48298 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48301 2012-02-13 Joseph Myers <joseph@codesourcery.com>
48303 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
48304 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
48305 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
48306 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
48308 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
48309 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48312 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
48314 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
48315 __feraiseexcept instead of feraiseexcept.
48317 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
48318 nanosleep invocations.
48319 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
48320 strings, and add error checking for a nanosleep invocations.
48322 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
48324 Replace FSF snail mail address with URLs, as per GNU coding standards.
48325 Most of the snail mail addresses were wrong anyway, and omitting
48326 them makes the source code easier to maintain. Almost all of the
48327 changes are to license notices and to locale LC_IDENTIFICATION
48328 addresses, except for this one:
48329 * manual/libc.texinfo: In "Published by", give the FSF's URL,
48330 not its snail mail address.
48332 2012-02-09 Richard Henderson <rth@twiddle.net>
48334 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
48335 of kernel-features.h.
48337 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
48339 2012-02-08 Marek Polacek <polacek@redhat.com>
48341 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
48342 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
48343 * sysdeps/gnu/_G_config.h: Likewise.
48344 * sysdeps/generic/_G_config.h: Likewise.
48346 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
48348 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
48350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48352 * sysdeps/powerpc/powerpc32/crti.S: New file.
48353 * sysdeps/powerpc/powerpc32/crtn.S: New file.
48354 * sysdeps/powerpc/powerpc64/crti.S: New file.
48355 * sysdeps/powerpc/powerpc64/crtn.S: New file.
48357 * Makeconfig (have-initfini): Don't set.
48358 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
48359 * configure.in (nopic_initfini): Don't substitute.
48360 * config.h.in (HAVE_INITFINI): Don't #undef.
48361 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
48362 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
48364 2012-02-08 Joseph Myers <joseph@codesourcery.com>
48366 Support crti.S and crtn.S provided directly by architectures.
48367 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
48368 [crti.S in sysdirs] (omit-deps): Likewise.
48369 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
48370 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
48371 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
48372 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
48373 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
48374 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
48375 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
48376 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
48377 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
48378 compiler output for sysdeps/generic/initfini.c.
48379 * sysdeps/i386/elf/Makefile: Remove file.
48380 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
48382 2012-02-07 Marek Polacek <polacek@redhat.com>
48384 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
48385 * sysdeps/gnu/_G_config.h: Likewise.
48386 * sysdeps/mach/hurd/_G_config.h: Likewise.
48388 2012-02-07 Marek Polacek <polacek@redhat.com>
48390 * math/Makefile (tests): Add tst-CMPLX2.
48391 * math/tst-CMPLX2.c: New file.
48393 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
48395 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48397 * math/libm-test.inc (jn_test): Add missing L suffix.
48399 2012-02-06 Marek Polacek <polacek@redhat.com>
48401 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
48402 * sysdeps/i386/fpu/e_powf.S: Likewise.
48403 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48404 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48405 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48406 * sysdeps/i386/fpu/e_pow.S: Likewise.
48407 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48408 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48409 * sysdeps/i386/fpu/s_expm1.S: Likewise.
48410 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48411 * sysdeps/i386/fpu/e_log2.S: Likewise.
48412 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48413 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48414 * sysdeps/i386/fpu/e_powl.S: Likewise.
48415 * sysdeps/i386/fpu/s_log1p.S: Likewise.
48416 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48417 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48418 * sysdeps/i386/fpu/e_logl.S: Likewise.
48419 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48420 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
48421 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48422 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48423 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48424 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48425 * sysdeps/i386/fpu/e_log.S: Likewise.
48426 * sysdeps/i386/fpu/s_cexp.S: Likewise.
48427 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48428 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
48429 * sysdeps/i386/fpu/e_logf.S: Likewise.
48430 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48431 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48432 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
48433 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48434 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48435 * sysdeps/i386/fpu/e_log10.S: Likewise.
48436 * sysdeps/i386/fpu/s_frexp.S: Likewise.
48437 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48438 * sysdeps/i386/fpu/s_asinh.S: Likewise.
48439 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48440 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48441 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48442 * sysdeps/i386/asm-syntax.h: Likewise.
48443 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48444 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48445 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48446 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
48447 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
48448 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48449 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48450 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48451 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48452 * sysdeps/powerpc/sysdep.h: Likewise.
48453 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
48454 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48456 2012-02-06 Joseph Myers <joseph@codesourcery.com>
48459 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
48461 2012-02-06 Joseph Myers <joseph@codesourcery.com>
48463 * sysdeps/i386/sysdep.h: Include <features.h>.
48464 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
48467 2012-02-05 Joseph Myers <joseph@codesourcery.com>
48469 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
48471 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
48474 2012-02-03 Joseph Myers <joseph@codesourcery.com>
48476 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
48477 (SETUP_PIC_REG): Use GET_PC_THUNK.
48478 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
48481 2012-02-03 Joseph Myers <joseph@codesourcery.com>
48483 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
48484 for non-PIC compilation.
48485 (SETUP_PIC_REG): Add .p2align directive.
48486 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
48487 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
48488 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
48489 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
48490 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48491 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
48492 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
48493 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48494 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
48495 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
48496 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
48497 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
48498 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
48499 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
48500 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
48501 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48502 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48503 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
48504 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
48505 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
48506 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48507 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48508 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
48509 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
48510 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48511 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48512 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48513 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48514 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
48515 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
48516 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
48517 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48518 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
48519 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
48520 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
48521 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
48522 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
48523 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
48524 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
48525 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
48526 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
48528 2012-02-03 Joseph Myers <joseph@codesourcery.com>
48530 * math/tst-CMPLX.c: Include <stdio.h>.
48532 2012-01-31 Joseph Myers <joseph@codesourcery.com>
48534 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
48536 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48537 * sysdeps/sparc/bits/mathdef.h: Likewise.
48539 2012-01-31 Marek Polacek <polacek@redhat.com>
48541 * libio/libio.h: Don't define _PARAMS.
48542 * locale/programs/config.h: Don't define PARAMS.
48543 * stdlib/strtol_l.c: Likewise.
48544 (__strtol_l): Remove PARAMS from the prototype.
48546 2012-01-31 Ulrich Drepper <drepper@gmail.com>
48548 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
48549 names. Just use the correct names. Remove unnecessary wrapper
48551 * malloc/arena.c: Likewise.
48552 * malloc/hooks.c: Likewise.
48554 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
48555 ARENA_TEST says not to. Simplify test for creation of a new arena.
48556 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
48558 2012-01-30 Ulrich Drepper <drepper@gmail.com>
48560 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
48562 (update_get_addr): New function.
48563 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
48564 GET_ADDR_MODULE parameter.
48566 2012-01-30 Joseph Myers <joseph@codesourcery.com>
48568 * crypt/cert.c: Remove __STDC__ conditionals.
48569 * crypt/crypt-entry.c: Likewise.
48570 * crypt/crypt_util.c: Likewise.
48571 * libio/filedoalloc.c: Likewise.
48572 * libio/fileops.c: Likewise.
48573 * libio/genops.c: Likewise.
48574 * libio/iofclose.c: Likewise.
48575 * libio/iofdopen.c: Likewise.
48576 * libio/iofopen.c: Likewise.
48577 * libio/iofopen64.c: Likewise.
48578 * libio/iogetdelim.c: Likewise.
48579 * libio/iopopen.c: Likewise.
48580 * libio/obprintf.c: Likewise.
48581 * libio/oldfileops.c: Likewise.
48582 * libio/oldiofclose.c: Likewise.
48583 * libio/oldiofdopen.c: Likewise.
48584 * libio/oldiofopen.c: Likewise.
48585 * libio/oldiopopen.c: Likewise.
48586 * libio/wfiledoalloc.c: Likewise.
48587 * libio/wgenops.c: Likewise.
48588 * locale/programs/xmalloc.c: Likewise.
48589 * misc/syslog.c: Likewise.
48590 * stdio-common/xbug.c: Likewise.
48591 * string/memchr.c: Likewise.
48592 * string/memcmp.c: Likewise.
48593 * string/memrchr.c: Likewise.
48594 * string/rawmemchr.c: Likewise.
48595 * sysdeps/posix/getcwd.c: Likewise.
48596 * time/strftime_l.c: Likewise.
48598 2012-01-30 Joseph Myers <joseph@codesourcery.com>
48600 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
48601 * config.make.in (config-cflags-sse2avx): Define.
48602 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
48605 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
48607 * scripts/config.guess: Update from upstream config git repository.
48608 * scripts/config.sub: Likewise.
48610 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
48612 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
48614 (R_TILEPRO_*, R_TILEGX_*): New macros.
48616 * scripts/firstversions.awk: Fix bug in version range handling.
48618 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
48620 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
48622 * include/sys/epoll.h: New file.
48623 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
48626 2012-01-28 Ulrich Drepper <drepper@gmail.com>
48628 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
48629 Avoid unnecessary __WORDSIZE == 64 test.
48630 (fmaxf): Use VEX format if possible.
48635 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
48636 * math/math_private.h: Remove libc_fegetround* and
48638 * sysdeps/i386/configure.in: Check for -msse2avx.
48639 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
48640 also if SSE2AVX is defined.
48641 Remove libc_fegetround* and libc_fesetround*.
48642 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
48643 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
48644 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
48646 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48647 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48648 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48649 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48650 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48652 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
48654 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48656 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
48658 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48660 2012-01-27 Ulrich Drepper <drepper@gmail.com>
48663 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
48665 * Makeconfig (libm): Define.
48666 * elf/Makefile: Add rules to build and run tst-relsort1.
48667 * elf/tst-relsort1.c: New file.
48668 * elf/tst-relsort1mod1.c: New file.
48669 * elf/tst-relsort1mod2.c: New file.
48671 2012-01-27 Joseph Myers <joseph@codesourcery.com>
48673 * math/s_ldexp.c: Remove __STDC__ conditionals.
48674 * math/s_ldexpf.c: Likewise.
48675 * math/s_ldexpl.c: Likewise.
48676 * math/s_nextafter.c: Likewise.
48677 * math/s_nexttowardf.c: Likewise.
48678 * math/s_significand.c: Likewise.
48679 * math/s_significandf.c: Likewise.
48680 * math/s_significandl.c: Likewise.
48681 * math/w_jnl.c: Likewise.
48682 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48683 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48684 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48685 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48686 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48687 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48688 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
48689 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48690 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48691 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48692 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48693 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48694 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48695 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48696 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48697 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48698 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48699 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48700 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48701 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48702 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48703 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48704 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48705 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48706 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48707 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48708 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48709 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48710 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48711 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48712 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48713 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48714 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48715 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48716 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48717 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48718 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48719 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48720 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48721 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48722 * sysdeps/ieee754/k_standard.c: Likewise.
48723 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48724 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48725 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48726 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48727 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48728 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48729 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48730 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48731 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48732 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48733 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48734 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48735 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48736 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48737 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48738 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48739 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48740 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48741 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48742 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48743 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48744 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48745 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48746 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48747 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48748 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48749 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48750 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48751 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48752 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48753 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48754 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
48755 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48756 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48757 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48758 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48759 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
48760 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48761 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48762 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
48763 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
48764 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48765 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
48766 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
48767 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48768 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
48769 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48770 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48771 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48772 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
48773 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
48774 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48775 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48776 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48777 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48778 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48779 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
48780 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48781 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48782 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48783 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48784 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48785 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48786 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48787 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48788 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48789 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48790 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48791 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48792 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48793 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48794 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48795 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48796 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48797 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48798 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48799 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48800 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48801 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48802 * sysdeps/ieee754/s_matherr.c: Likewise.
48803 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48804 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48805 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48806 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48808 2012-01-26 Joseph Myers <joseph@codesourcery.com>
48810 * crypt/md5.h: Remove __STDC__ conditionals.
48811 * libio/libioP.h: Likewise.
48812 * locale/programs/config.h: Likewise.
48813 * sysdeps/generic/sysdep.h: Likewise.
48814 * sysdeps/i386/asm-syntax.h: Likewise.
48815 * sysdeps/s390/asm-syntax.h: Likewise.
48816 * sysdeps/unix/sysdep.h: Likewise.
48817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
48818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48820 2012-01-26 Joseph Myers <joseph@codesourcery.com>
48822 * libio/libio.h: Remove __STDC__ conditionals.
48823 * malloc/obstack.h: Likewise.
48824 * math/complex.h: Likewise.
48825 * math/math.h: Likewise.
48826 * sysdeps/generic/_G_config.h: Likewise.
48827 * sysdeps/gnu/_G_config.h: Likewise.
48828 * sysdeps/mach/hurd/_G_config.h: Likewise.
48829 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48830 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48831 * sysdeps/sparc/bits/mathdef.h: Likewise.
48833 2012-01-26 Ulrich Drepper <drepper@gmail.com>
48836 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
48837 Clean up HAS_* macros.
48838 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
48839 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
48841 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
48843 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48844 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48845 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48846 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48847 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48849 2012-01-25 Joseph Myers <joseph@codesourcery.com>
48851 * elf/tst-unique3.cc (gets): Remove declaration.
48852 * elf/tst-unique3lib.cc (gets): Likewise.
48853 * elf/tst-unique3lib2.cc (gets): Likewise.
48854 * elf/tst-unique4.cc (gets): Likewise.
48856 2012-01-24 Ulrich Drepper <drepper@gmail.com>
48858 * include/stdio.h: Add C++ protection. Add gets declarations and
48860 * debug/tst-chk1.c: Don't declare gets here.
48861 * stdio-common/tst-gets.c: Likewise.
48863 2012-01-24 Joseph Myers <joseph@codesourcery.com>
48865 * posix/glob: Remove directory.
48867 2012-01-24 Joseph Myers <joseph@codesourcery.com>
48869 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
48871 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
48873 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
48874 of the non-standard EPFNOSUPPORT.
48876 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
48878 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
48879 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
48880 ANYWHERE set to 1 only on KERN_NO_SPACE error.
48882 2012-01-21 Ulrich Drepper <drepper@gmail.com>
48884 * wcsmbs/uchar.h: Test __STDC_VERSION__.
48886 2012-01-20 Ulrich Drepper <drepper@gmail.com>
48888 * nscd/aicache.c (addhstaiX): Do not cache negative results of
48890 * nscd/grpcache.c (cache_addgr): Likewise.
48891 * nscd/hstcache.c (cache_addhst): Likewise.
48892 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48893 * nscd/pwdcache.c (cache_addpw): Likewise.
48894 * nscd/servicescache.c (cache_addserv): Likewise.
48896 2012-01-16 Ulrich Drepper <drepper@gmail.com>
48898 * malloc/malloc.c: Various cleanups.
48899 * malloc/hooks.c: Likewise.
48901 * stdlib/Makefile (tests): Add bug-fmtmsg1.
48902 * stdlib/bug-fmtmsg1.c: New file.
48904 * stdlib/fmtmsg.c (init): Add missing unlock.
48905 Patch by Peng Haitao <penght@cn.fujitsu.com>.
48907 2012-01-12 Marek Polacek <polacek@redhat.com>
48909 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
48912 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48914 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
48915 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
48916 macro to ensure uniqueness of label name.
48917 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48918 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48920 2012-01-11 Ulrich Drepper <drepper@gmail.com>
48922 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
48924 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
48925 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48926 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48927 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
48929 2012-01-10 Ulrich Drepper <drepper@gmail.com>
48931 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
48933 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
48934 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48935 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48937 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
48939 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
48940 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48941 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48942 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
48944 * math/bits/math-finite.h: Add ldexp support.
48946 2012-01-10 Marek Polacek <polacek@redhat.com>
48948 * locale/programs/localedef.h (show_archive_content): Add noreturn
48951 2012-01-09 Ulrich Drepper <drepper@gmail.com>
48953 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
48955 2012-01-08 Ulrich Drepper <drepper@gmail.com>
48957 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
48959 * io/Makefile (headers): Add bits/poll2.h.
48961 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
48963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
48964 typo #include statement.
48966 2012-01-08 Ulrich Drepper <drepper@gmail.com>
48968 * include/sys/cdefs.h: Define __attribute_alloc_size.
48969 * catgets/gencat.c: Add alloc_size attribute and apply consistently
48970 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
48971 * elf/pldd.c: Likewise.
48972 * iconv/iconv_charmap.c: Likewise.
48973 * iconv/iconvconfig.c: Likewise.
48974 * iconv/strtab.c: Likewise.
48975 * locale/programs/locale.c: Likewise.
48976 * locale/programs/localedef.h: Likewise.
48977 * locale/programs/simple-hash.c: Likewise.
48978 * nscd/nscd.h: Likewise.
48979 * nss/makedb.c: Likewise.
48980 * sysdeps/generic/ldconfig.h: Likewise.
48981 * locale/programs/localedef.c: Remove xmalloc prototype.
48982 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
48984 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48986 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
48989 2012-01-08 Ulrich Drepper <drepper@gmail.com>
48991 * math/Makefile (tests): Add tst-CMPLX.
48992 * math/tst-CMPLX.c: New file.
48994 * math/complex.h (CMPLXL): Fix typo.
48996 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
48997 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
48999 * debug/tst-chk1.c: Add poll and ppoll tests.
49000 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
49001 * include/sys/poll.h: Add hidden proto for ppoll.
49002 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
49003 * sysdeps/mach/hurd/ppoll.c: Likewise.
49004 * io/ppoll.c: Likewise.
49005 * debug/poll_chk.c: New file.
49006 * debug/ppoll_chk.c: New file.
49007 * include/bits/poll2.h: New file.
49008 * io/bits/poll2.h: New file.
49011 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
49013 * configure.in: static is always set to yes. Remove.
49014 * config.make.in: Don't set build-static.
49015 * Makeconfig: Remove use of build-static.
49016 * dlfcn/Makefile: Likewise.
49017 * elf/Makefile: Likewise.
49018 * math/Makefile: Likewise.
49019 * misc/Makefile: Likewise.
49020 * nptl/Makefile: Likewise.
49021 * sysdeps/mach/hurd/Makefile: Likewise.
49023 * configure.in: PWD_P is not used anymore.
49024 * config.make.in: Remove PWD_P entry.
49026 * configure.in: Remove last remnants of RANLIB.
49027 No need to check for signed size_t anymore.
49028 Don't set libc_commonpagesize and libc_relro_required here for Alpha
49030 Remove __builtin_expect test because we require at least gcc 3.4.
49031 * aclocal.m4: Likewise.
49033 * wcsmbs/mbrtoc16.c: Implement using towc function.
49034 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
49035 * wcsmbs/wcsmbsload.c: Likewise.
49036 * iconv/gconv_simple.c: Likewise.
49037 * iconv/gconv_int.h: Likewise.
49038 * iconv/gconv_builtin.h: Likewise.
49039 * iconv/iconv_prog.c: Remove CHAR16 handling.
49041 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
49043 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
49045 * configure.in: Remove --with-elf and --enable-bounded options.
49046 Dont set base_machine for ia64. More non-ELF conditions removed.
49047 Remove testing and setting of leading underscore information.
49048 * config.make.in (build-bounded): Set to no.
49049 * config.h.in: Remove NO_UNDERSCORES entry.
49050 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
49052 * csu/start.c: Remove !NO_UNDERSCORE code.
49053 * locale/localeinfo.h: Likewise.
49054 * sysdeps/generic/machine-gmon.h: Likewise.
49055 * sysdeps/generic/sysdep.h: Likewise.
49056 * sysdeps/i386/sysdep.h: Likewise.
49057 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49058 * sysdeps/mach/sysdep.h: Likewise.
49059 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49060 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49061 * sysdeps/sh/sysdep.h: Likewise.
49062 * sysdeps/sparc/sparc32/alloca.S: Likewise.
49063 * sysdeps/unix/i386/sysdep.S: Likewise.
49064 * sysdeps/unix/sparc/start.c: Likewise.
49065 * sysdeps/unix/sparc/sysdep.S: Likewise.
49066 * sysdeps/unix/sparc/sysdep.h: Likewise.
49067 * sysdeps/unix/start.c: Likewise.
49068 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49069 * sysdeps/x86_64/sysdep.h: Likewise.
49071 2012-01-07 Ulrich Drepper <drepper@gmail.com>
49074 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
49076 * argp/argp-fmtstream.h: Use const instead __const.
49077 * argp/argp.h: Likewise.
49078 * assert/assert.h: Likewise.
49079 * bits/fenv.h: Likewise.
49080 * bits/sched.h: Likewise.
49081 * bits/sigset.h: Likewise.
49082 * bits/sigthread.h: Likewise.
49083 * catgets/nl_types.h: Likewise.
49084 * conform/data/pthread.h-data: Likewise.
49085 * crypt/crypt-private.h: Likewise.
49086 * crypt/crypt.h: Likewise.
49087 * crypt/crypt_util.c: Likewise.
49088 * ctype/ctype.h: Likewise.
49089 * debug/execinfo.h: Likewise.
49090 * debug/mbsnrtowcs_chk.c: Likewise.
49091 * debug/mbsrtowcs_chk.c: Likewise.
49092 * debug/wcsnrtombs_chk.c: Likewise.
49093 * debug/wcsrtombs_chk.c: Likewise.
49094 * debug/wcstombs_chk.c: Likewise.
49095 * dirent/dirent.h: Likewise.
49096 * dlfcn/dlfcn.h: Likewise.
49097 * elf/neededtest4.c: Likewise.
49098 * grp/grp.h: Likewise.
49099 * gshadow/gshadow.h: Likewise.
49100 * iconv/gconv.h: Likewise.
49101 * iconv/gconv_int.h: Likewise.
49102 * iconv/gconv_simple.c: Likewise.
49103 * iconv/iconv.h: Likewise.
49104 * iconv/loop.c: Likewise.
49105 * iconv/skeleton.c: Likewise.
49106 * include/aio.h: Likewise.
49107 * include/aliases.h: Likewise.
49108 * include/argz.h: Likewise.
49109 * include/arpa/inet.h: Likewise.
49110 * include/assert.h: Likewise.
49111 * include/dirent.h: Likewise.
49112 * include/dlfcn.h: Likewise.
49113 * include/execinfo.h: Likewise.
49114 * include/fcntl.h: Likewise.
49115 * include/fenv.h: Likewise.
49116 * include/glob.h: Likewise.
49117 * include/grp.h: Likewise.
49118 * include/libintl.h: Likewise.
49119 * include/mntent.h: Likewise.
49120 * include/netdb.h: Likewise.
49121 * include/pwd.h: Likewise.
49122 * include/rpc/netdb.h: Likewise.
49123 * include/sched.h: Likewise.
49124 * include/search.h: Likewise.
49125 * include/shadow.h: Likewise.
49126 * include/signal.h: Likewise.
49127 * include/stdio.h: Likewise.
49128 * include/stdlib.h: Likewise.
49129 * include/string.h: Likewise.
49130 * include/sys/socket.h: Likewise.
49131 * include/sys/stat.h: Likewise.
49132 * include/sys/statfs.h: Likewise.
49133 * include/sys/statvfs.h: Likewise.
49134 * include/sys/syslog.h: Likewise.
49135 * include/sys/time.h: Likewise.
49136 * include/sys/uio.h: Likewise.
49137 * include/time.h: Likewise.
49138 * include/unistd.h: Likewise.
49139 * include/utmp.h: Likewise.
49140 * include/wchar.h: Likewise.
49141 * include/wctype.h: Likewise.
49142 * inet/aliases.h: Likewise.
49143 * inet/arpa/inet.h: Likewise.
49144 * inet/netinet/ether.h: Likewise.
49145 * inet/netinet/in.h: Likewise.
49146 * intl/libintl.h: Likewise.
49147 * io/bits/fcntl2.h: Likewise.
49148 * io/fcntl.h: Likewise.
49149 * io/ftw.h: Likewise.
49150 * io/sys/poll.h: Likewise.
49151 * io/sys/stat.h: Likewise.
49152 * io/sys/statfs.h: Likewise.
49153 * io/sys/statvfs.h: Likewise.
49154 * io/utime.h: Likewise.
49155 * libio/bits/stdio.h: Likewise.
49156 * libio/bits/stdio2.h: Likewise.
49157 * libio/libio.h: Likewise.
49158 * libio/libioP.h: Likewise.
49159 * libio/stdio.h: Likewise.
49160 * locale/lc-ctype.c: Likewise.
49161 * locale/locale.h: Likewise.
49162 * login/utmp.h: Likewise.
49163 * malloc/arena.c: Likewise.
49164 * malloc/malloc.c: Likewise.
49165 * malloc/malloc.h: Likewise.
49166 * malloc/mcheck.c: Likewise.
49167 * malloc/mtrace.c: Likewise.
49168 * math/bits/mathcalls.h: Likewise.
49169 * math/fenv.h: Likewise.
49170 * math/math_private.h: Likewise.
49171 * misc/bits/error.h: Likewise.
49172 * misc/bits/syslog.h: Likewise.
49173 * misc/err.h: Likewise.
49174 * misc/error.h: Likewise.
49175 * misc/fstab.h: Likewise.
49176 * misc/mntent.h: Likewise.
49177 * misc/regexp.h: Likewise.
49178 * misc/search.h: Likewise.
49179 * misc/sgtty.h: Likewise.
49180 * misc/sys/mman.h: Likewise.
49181 * misc/sys/syslog.h: Likewise.
49182 * misc/sys/uio.h: Likewise.
49183 * misc/sys/xattr.h: Likewise.
49184 * misc/ttyent.h: Likewise.
49185 * nis/rpcsvc/ypclnt.h: Likewise.
49186 * nss/nss.h: Likewise.
49187 * posix/bits/unistd.h: Likewise.
49188 * posix/fnmatch.h: Likewise.
49189 * posix/glob.h: Likewise.
49190 * posix/sched.h: Likewise.
49191 * posix/spawn.h: Likewise.
49192 * posix/sys/wait.h: Likewise.
49193 * posix/unistd.h: Likewise.
49194 * posix/wordexp.h: Likewise.
49195 * pwd/pwd.h: Likewise.
49196 * resolv/netdb.h: Likewise.
49197 * resource/sys/resource.h: Likewise.
49198 * rt/aio.h: Likewise.
49199 * rt/bits/mqueue2.h: Likewise.
49200 * rt/mqueue.h: Likewise.
49201 * shadow/shadow.h: Likewise.
49202 * signal/signal.h: Likewise.
49203 * socket/send.c: Likewise.
49204 * socket/sendto.c: Likewise.
49205 * socket/sys/socket.h: Likewise.
49206 * stdio-common/printf.h: Likewise.
49207 * stdlib/bits/stdlib.h: Likewise.
49208 * stdlib/fmtmsg.h: Likewise.
49209 * stdlib/monetary.h: Likewise.
49210 * stdlib/stdlib.h: Likewise.
49211 * stdlib/ucontext.h: Likewise.
49212 * streams/stropts.h: Likewise.
49213 * string/argz.h: Likewise.
49214 * string/bits/string2.h: Likewise.
49215 * string/string.h: Likewise.
49216 * string/strings.h: Likewise.
49217 * sunrpc/rpc/auth.h: Likewise.
49218 * sunrpc/rpc/auth_des.h: Likewise.
49219 * sunrpc/rpc/clnt.h: Likewise.
49220 * sunrpc/rpc/netdb.h: Likewise.
49221 * sunrpc/rpc/pmap_clnt.h: Likewise.
49222 * sunrpc/rpc/xdr.h: Likewise.
49223 * sysdeps/generic/inttypes.h: Likewise.
49224 * sysdeps/generic/net/if.h: Likewise.
49225 * sysdeps/generic/sys/swap.h: Likewise.
49226 * sysdeps/gnu/net/if.h: Likewise.
49227 * sysdeps/gnu/utmpx.h: Likewise.
49228 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
49229 * sysdeps/i386/i486/bits/string.h: Likewise.
49230 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
49231 * sysdeps/s390/bits/string.h: Likewise.
49232 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
49233 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
49234 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
49235 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
49236 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
49237 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
49238 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
49239 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
49240 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
49241 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
49242 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
49243 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49244 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
49245 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49246 * sysdeps/unix/sysv/linux/readv.c: Likewise.
49247 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
49248 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49249 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49250 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
49251 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
49252 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49253 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
49254 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
49255 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
49256 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
49257 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
49258 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
49259 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49260 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
49261 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
49262 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
49263 * sysvipc/sys/ipc.h: Likewise.
49264 * sysvipc/sys/msg.h: Likewise.
49265 * sysvipc/sys/sem.h: Likewise.
49266 * sysvipc/sys/shm.h: Likewise.
49267 * termios/termios.h: Likewise.
49268 * time/sys/time.h: Likewise.
49269 * time/time.h: Likewise.
49270 * wcsmbs/bits/wchar2.h: Likewise.
49271 * wcsmbs/uchar.h: Likewise.
49272 * wcsmbs/wchar.h: Likewise.
49273 * wctype/wctype.h: Likewise.
49276 * Makeconfig: Remove all but ELF support including AIX support.
49277 * Makerules: Likewise.
49278 * config.h.in: Likewise.
49279 * config.make.in: Likewise.
49280 * configure: Likewise.
49281 * configure.in: Likewise.
49282 * csu/Makefile: Likewise.
49283 * csu/version.c: Likewise.
49284 * debug/Makefile: Likewise.
49285 * dlfcn/Makefile: Likewise.
49286 * elf/Makefile: Likewise.
49287 * extra-lib.mk: Likewise.
49288 * iconv/Makefile: Likewise.
49289 * include/libc-symbols.h: Likewise.
49290 * include/shlib-compat.h: Likewise.
49291 * resolv/Makefile: Likewise.
49292 * resolv/res_libc.c: Likewise.
49293 * rt/Makefile: Likewise.
49294 * sysdeps/i386/asm-syntax.h: Likewise.
49295 * sysdeps/i386/sysdep.h: Likewise.
49296 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49297 * sysdeps/mach/sysdep.h: Likewise.
49298 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
49299 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
49300 * sysdeps/s390/asm-syntax.h: Likewise.
49301 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49302 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49303 * sysdeps/sh/sysdep.h: Likewise.
49304 * sysdeps/unix/sparc/sysdep.h: Likewise.
49305 * sysdeps/wordsize-32/divdi3.c: Likewise.
49306 * sysdeps/x86_64/sysdep.h: Likewise.
49308 * argp/Versions: Remove _argp_unlock_xxx.
49311 * abilist/ld.abilist: Update. Adjust for removal of tls option.
49312 * abilist/libBrokenLocale.abilist: Likewise.
49313 * abilist/libanl.abilist: Likewise.
49314 * abilist/libc.abilist: Likewise.
49315 * abilist/libcrypt.abilist: Likewise.
49316 * abilist/libdl.abilist: Likewise.
49317 * abilist/libm.abilist: Likewise.
49318 * abilist/libnsl.abilist: Likewise.
49319 * abilist/libpthread.abilist: Likewise.
49320 * abilist/libresolv.abilist: Likewise.
49321 * abilist/librt.abilist: Likewise.
49322 * abilist/libthread_db.abilist: Likewise.
49323 * abilist/libutil.abilist: Likewise.
49324 * abilist/libnss_db.abilist: New file.
49326 * scripts/abilist.awk: Add support for indirect functions.
49328 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
49330 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
49332 * shlib-versions: Remove entries for ports architectures.
49334 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
49336 * elf/stackguard-macros.h: Remove support for IA-64.
49337 * elf/tst-auditmod1.c: Likewise.
49338 * sysdeps/generic/ldsodefs.h: Likewise.
49340 * sysdeps/unix/sysv/linux/configure.in: Ports should define
49341 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
49345 * configure.in: Remove --enable-omitfp support.
49347 * config.make.in: Likewise.
49348 * Makeconfig: Likewise.
49349 * manual/install.texi: Likewise.
49351 In case anyone cares, the IA-64 architecture could move to ports.
49352 * sysdeps/ia64/*: Removed.
49353 * sysdeps/unix/sysv/linux/ia64/*: Removed.
49354 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
49357 * configure.in: Remove entries for unsupported architectures.
49360 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
49361 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
49363 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
49364 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
49365 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
49366 fall back to using wcrtomb.
49367 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
49368 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
49370 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
49371 * wcsmbs/tst-c16c32-1.c: New file.
49373 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
49376 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
49378 * elf/tst-unique3.cc: Add explicit declaration of gets.
49379 * elf/tst-unique3lib.cc: Likewise.
49380 * elf/tst-unique3lib2.cc: Likewise.
49381 * elf/tst-unique4.cc: Likewise.
49383 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
49385 2012-01-06 Joseph Myers <joseph@codesourcery.com>
49388 * assert/assert.h (static_assert): Don't define for C++.
49389 * libio/stdio.h (gets): Do declare for C++ <= C++11.
49390 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
49392 2012-01-03 Ulrich Drepper <drepper@gmail.com>
49394 * iconv/loop.c (single loop): Fix assertion in storing of
49397 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
49399 2012-01-01 Ulrich Drepper <drepper@gmail.com>
49401 * posix/getconf.c: Update copyright year.
49402 * nss/getent.c: Likewise.
49403 * nss/makedb.c: Likewise.
49404 * iconv/iconvconfig.c: Likewise.
49405 * iconv/iconv_prog.c: Likewise.
49406 * elf/ldconfig.c: Likewise.
49407 * elf/pldd.c: Likewise.
49408 * elf/sotruss.ksh: Likewise.
49409 * catgets/gencat.c: Likewise.
49410 * csu/version.c: Likewise.
49411 * elf/ldd.bash.in: Likewise.
49412 * elf/sprof.c (print_version): Likewise.
49413 * locale/programs/locale.c: Likewise.
49414 * locale/programs/localedef.c: Likewise.
49415 * login/programs/pt_chown.c: Likewise.
49416 * nscd/nscd.c (print_version): Likewise.
49417 * debug/xtrace.sh: Likewise.
49418 * malloc/memusage.sh: Likewise.
49419 * malloc/mtrace.pl: Likewise.
49420 * debug/catchsegv.sh: Likewise.
49422 2011-12-30 Jakub Jelinek <jakub@redhat.com>
49424 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
49427 2011-12-24 Ulrich Drepper <drepper@gmail.com>
49430 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
49431 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
49433 * iconv/gconv_int.h: Likewise.
49434 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
49435 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
49436 from libc for GLIBC_2.16.
49437 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
49438 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
49439 * wcsmbs/uchar.h: Really define mbstate_t.
49440 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
49441 * wcsmbs/c16rtomb.c: New file.
49442 * wcsmbs/mbrtoc16.c: New file.
49443 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
49444 for C/POSIX locale.
49445 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
49446 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
49448 * wcsmbs/wchar.h: Add missing __restrict.
49450 2011-12-23 Ulrich Drepper <drepper@gmail.com>
49453 * time/Makefile (routines): Add timespec_get.
49454 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
49455 * time/time.h: Define TIME_UTC and declare timespec_get. Define
49456 timespec for ISO C11.
49457 * time/timespec_get.c: New file.
49458 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
49459 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
49462 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
49463 * stdlib/stdlib.h: Declare aligned_alloc.
49464 * Versions.def: Add GLIBC_2.16 for libc.
49465 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
49468 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
49471 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
49475 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
49478 * assert/assert.h (static_assert): Define.
49480 * version.h: Update for 2.16 development version.
49483 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
49486 * version.h (RELEASE): Bump for 2.15 release.
49487 * include/features.h (__GLIBC_MINOR__): Bump to 15.
49489 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
49490 Patch by Marek Polacek <mpolacek@redhat.com>.
49492 * bits/byteswap.h: Protect long long constants with __extension__.
49493 * sysdeps/i386/bits/byteswap.h: Likewise.
49494 * sysdeps/ia64/bits/byteswap.h: Likewise.
49495 * sysdeps/s390/bits/byteswap.h: Likewise.
49496 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49498 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49501 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
49502 destination buffer.
49503 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
49505 2011-12-23 Marek Polacek <polacek@redhat.com>
49507 * elf/dl-addr.c (determine_info): Add inline keyword.
49508 * elf/tst-auditmod4b.c (check_avx): Likewise.
49509 * elf/tst-auditmod6b.c (check_avx): Likewise.
49510 * elf/tst-auditmod6c.c (check_avx): Likewise.
49511 * elf/tst-auditmod7b.c (check_avx): Likewise.
49513 2011-12-23 Ulrich Drepper <drepper@gmail.com>
49515 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
49518 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49521 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
49522 processing for last bytes.
49524 2011-08-06 Bruno Haible <bruno@clisp.org>
49527 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
49528 U+0385, not to U+1FEE.
49531 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
49532 entry for U+00A5 U+0301.
49534 2011-12-22 Ulrich Drepper <drepper@gmail.com>
49537 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
49538 buffer for the output is too small.
49540 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
49544 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
49545 SSE flags if possible.
49547 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49550 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
49551 processing for last bytes.
49553 2011-12-22 Joseph Myers <joseph@codesourcery.com>
49555 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
49556 (syscall-list-default-options, syscall-list-default-condition)
49557 (syscall-list-includes): Define.
49558 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
49559 list of ABIs and options and #if conditions for each ABI. Do not
49560 handle common syscalls between ABIs specially.
49561 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
49563 (syscall-list-variants, syscall-list-32bit-options)
49564 (syscall-list-32bit-condition, syscall-list-64bit-options)
49565 (syscall-list-64bit-condition): Define.
49566 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
49567 (syscall-list-variants, syscall-list-32bit-options)
49568 (syscall-list-32bit-condition, syscall-list-64bit-options)
49569 (syscall-list-64bit-condition): Define.
49570 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
49572 (syscall-list-variants, syscall-list-32bit-options)
49573 (syscall-list-32bit-condition, syscall-list-64bit-options)
49574 (syscall-list-64bit-condition): Define.
49575 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
49577 (syscall-list-variants, syscall-list-32bit-options)
49578 (syscall-list-32bit-condition, syscall-list-64bit-options)
49579 (syscall-list-64bit-condition): Define.
49581 2011-12-22 Ulrich Drepper <drepper@gmail.com>
49583 * locale/iso-639.def: Add brx entry.
49586 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
49587 Proposed by Mariusz_Cukr <marcukr@op.pl>.
49589 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
49590 __feraiseexcept_renamed.
49592 2011-12-21 Ulrich Drepper <drepper@gmail.com>
49595 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
49596 EPOLLET with unsigned values.
49597 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49598 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49600 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
49601 to large cancellation.
49602 * math/s_cacoshf.c: Likewise.
49603 * math/s_cacoshl.c: Likewise.
49605 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
49609 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
49610 * math/s_cacoshf.c: Likewise.
49611 * math/s_cacoshl.c: Likewise.
49613 2011-12-21 Ulrich Drepper <drepper@gmail.com>
49616 * iconv/gconv.h: Define __GCONV_SWAP.
49617 * iconvdata/unicode.c: The swap bit must be stored in __flags.
49618 * iconvdata/utf-16.c: Likewise.
49619 * iconvdata/utf-32.c: Likewise.
49621 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
49624 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
49625 numerator after shifting it by one limb.
49627 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
49629 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
49630 under [__USE_EXTERN_INLINES].
49632 2011-12-17 Ulrich Drepper <drepper@gmail.com>
49635 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
49637 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49639 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
49640 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
49642 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
49643 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
49644 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
49645 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
49646 for strncasecmp/strncasecmp_l compilation.
49647 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
49648 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
49650 2011-12-08 Marek Polacek <mpolacek@redhat.com>
49653 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
49656 2011-12-17 Ulrich Drepper <drepper@gmail.com>
49659 * time/tzfile.c (__tzfile_read): Check values from file header.
49661 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
49663 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
49664 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
49665 * powerpc/powerpc32/dl-start.S: Likewise.
49666 * powerpc/powerpc32/elf/start.S: Likewise.
49667 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49668 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
49669 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
49670 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
49671 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49672 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
49673 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
49674 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
49675 * powerpc/powerpc32/fpu/s_round.S: Likewise.
49676 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49677 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49678 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49679 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
49680 * powerpc/powerpc32/memset.S: Likewise.
49681 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49682 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49683 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49684 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49685 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49686 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
49687 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
49688 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
49689 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
49690 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
49691 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
49692 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49693 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49695 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49697 * math/libm-test.inc: Added more nearbyint tests.
49698 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
49699 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
49700 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
49701 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
49703 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
49705 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
49708 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49710 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
49711 Add wcscpy-ssse3 wcscpy-c.
49712 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
49713 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
49714 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
49715 * sysdeps/x86_64/wcschr.S: New file.
49716 * sysdeps/x86_64/wcsrchr.S: New file.
49717 * string/test-strcmp.c: Remove checking of wcscmp function for
49719 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
49720 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
49721 wcsrchr-sse2 wcsrchr-c.
49722 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
49723 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
49724 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
49725 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
49726 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
49727 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
49728 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
49729 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
49730 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
49731 * wcsmbc/wcschr.c (WCSCHR): New macro.
49733 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49735 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
49736 * wcsmbs/test-wcsrchr.c: New file.
49737 * string/test-strrchr.c: Add wcsrchr support.
49739 * wcsmbs/test-wcscpy.c: New file.
49740 * string/test-strcpy.c: Add wcscpy support.
49743 2011-12-10 Ulrich Drepper <drepper@gmail.com>
49745 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
49748 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
49751 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
49753 2011-12-04 Ulrich Drepper <drepper@gmail.com>
49755 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
49756 Minor optimizations.
49758 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
49759 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
49760 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
49762 2011-12-03 Ulrich Drepper <drepper@gmail.com>
49764 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
49765 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
49766 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
49767 for gcc to avoid warnings.
49768 * inet/Makefile (tests): Add tst-checks.
49769 * inet/tst-checks.c: New file.
49771 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
49774 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
49777 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
49778 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
49780 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
49782 2011-12-02 Ulrich Drepper <drepper@gmail.com>
49784 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
49787 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
49789 2011-11-29 Joseph Myers <joseph@codesourcery.com>
49791 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
49792 conditional on GCC version.
49793 (__arch_compare_and_exchange_val_8_acq)
49794 (__arch_compare_and_exchange_val_16_acq)
49795 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
49796 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
49797 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
49799 2011-12-02 Joseph Myers <joseph@codesourcery.com>
49801 * sysdeps/sh/backtrace.c: New file.
49803 2011-12-02 Andreas Schwab <schwab@redhat.com>
49805 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
49808 2011-12-01 Andreas Schwab <schwab@redhat.com>
49810 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
49811 falling back to utime.
49813 2011-11-30 Andreas Schwab <schwab@redhat.com>
49815 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
49816 expectations for float.
49818 2011-11-29 Andreas Schwab <schwab@redhat.com>
49820 * locale/weight.h (findidx): Add parameter len.
49821 * locale/weightwc.h (findidx): Likewise.
49822 * posix/fnmatch_loop.c (FCT): Adjust caller.
49823 * posix/regcomp.c (build_equiv_class): Likewise.
49824 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
49825 * posix/regexec.c (check_node_accept_bytes): Likewise.
49826 * string/strcoll_l.c (STRCOLL): Likewise.
49827 * string/strxfrm_l.c (STRXFRM): Likewise.
49829 2011-11-17 Ulrich Drepper <drepper@gmail.com>
49831 * Makefile.in: Remove CVSOPT handling.
49832 * configure.in: Remove use of AC_REVISION.
49833 * iconvdata/Makefile (distribute): No need to filter out CVS.
49834 * scripts/list-sources.sh: Remove CVS, subversion and monotone
49837 2011-11-16 Andreas Schwab <schwab@redhat.com>
49839 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
49840 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
49841 [USE_AS_STRNCASECMP_L]: Likewise.
49842 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
49843 NO_TLS_DIRECT_SEG_REFS.
49844 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
49845 Fix argument offsets for non-PIC.
49846 [USE_AS_STRNCASECMP_L]: Likewise.
49847 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
49848 NO_TLS_DIRECT_SEG_REFS.
49850 2011-11-15 Ulrich Drepper <drepper@gmail.com>
49852 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
49854 * locale/loadlocale.c (_nl_load_locale): Likewise.
49856 2011-11-15 Andreas Schwab <schwab@redhat.com>
49858 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
49859 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
49860 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
49861 (SYSCALL_GETTIME): Set errno on error.
49863 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
49864 count references to noai6ai_cached.
49866 2011-11-15 Ulrich Drepper <drepper@gmail.com>
49868 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
49870 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
49871 FD_CLOEXEC for /proc/self/maps.
49873 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
49874 FD_CLOEXEC for /proc/meminfo.
49876 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
49879 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
49880 FD_CLOEXEC for given file.
49882 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
49884 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
49885 FD_CLOEXEC for /etc/hosts.
49886 (_gethtent): Likewise.
49888 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
49890 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
49891 cancellation and set FD_CLOEXEC for /etc/netgroup.
49893 * nss/nss_files/files-key.c (search): Don't allow cancellation when
49894 reading /etc/publickey.
49896 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
49897 allow cancellation when reading /etc/group.
49899 * nss/nss_files/files-alias.c (internal_setent): Don't allow
49901 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
49903 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
49904 when using data file.
49906 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
49908 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
49909 (write_nis_obj): Use "c" and "e" in fopen.
49911 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
49913 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
49915 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
49917 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
49919 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
49922 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
49924 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
49926 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
49928 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
49929 file parsing and set FD_CLOEXEC.
49931 2011-11-14 Ulrich Drepper <drepper@gmail.com>
49933 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
49935 2011-11-14 Andreas Schwab <schwab@redhat.com>
49937 * malloc/arena.c (arena_get2): Don't call reused_arena when
49938 _int_new_arena failed.
49940 2011-11-14 Ulrich Drepper <drepper@gmail.com>
49942 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
49943 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
49944 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
49945 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49946 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49947 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
49948 to compile strcasecmp and strncasecmp.
49949 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
49950 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
49952 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
49954 2011-11-13 Ulrich Drepper <drepper@gmail.com>
49956 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
49957 locale-defines.sym to gen-as-const-headers.
49958 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
49959 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
49960 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
49961 to compile strcasecmp and strncasecmp.
49962 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
49963 strcasecmp_l and strncasecmp_l.
49964 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
49965 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
49966 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
49967 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
49968 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
49969 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
49970 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
49971 * sysdeps/i386/i686/multiarch/strncase.S: New file.
49972 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
49973 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
49974 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
49976 2011-11-12 Ulrich Drepper <drepper@gmail.com>
49978 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
49979 result of SYSDEP_GETTIME_CPU to retval.
49980 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
49981 parameter list to macro. Remove trailing semicolon. Adjust users.
49983 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
49986 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
49988 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
49990 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
49991 from unused variable.
49993 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
49995 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
49998 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
50001 * sunrpc/rpc_prot.c (rejected): Fix case value.
50003 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
50004 unsigned long long int to avoid warnings in shift.
50006 * posix/regex_internal.c (re_string_reconstruct): Actually use result
50008 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
50011 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
50012 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
50013 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
50015 * nis/nis_table.c (nis_list): Use variable of correct type for
50016 result of __follow_path call.
50018 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50020 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
50021 of math functions ceil, trunc, floor, round, and sqrt, when
50022 avaliable on the platform.
50023 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
50025 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50026 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50027 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50029 2011-10-30 Marek Polacek <mpolacek@redhat.com>
50031 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
50032 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50034 2011-11-11 Roland McGrath <roland@hack.frob.com>
50036 * include/unistd.h: Fix __readlink return type.
50037 Reported by Chris Metcalf <cmetcalf@tilera.com>.
50039 2011-11-11 Ulrich Drepper <drepper@gmail.com>
50041 * stdlib/ucontext.h: Undo last change for makecontext.
50043 2011-11-11 Andreas Schwab <schwab@redhat.com>
50045 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
50047 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
50048 * setjmp/setjmp.h: Mark functions as non-leaf.
50049 * setjmp/bits/setjmp2.h: Likewise.
50050 * stdlib/ucontext.h: Likewise.
50052 2011-11-10 Andreas Schwab <schwab@redhat.com>
50054 * malloc/arena.c (_int_new_arena): Don't increment narenas.
50055 (reused_arena): Don't check arena limit.
50056 (arena_get2): Atomically check arena limit.
50058 2011-11-08 Ulrich Drepper <drepper@gmail.com>
50060 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
50061 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
50063 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
50066 2011-11-07 Andreas Schwab <schwab@redhat.com>
50068 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
50069 handler when locking.
50071 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50072 Fix size of allocated buffer.
50074 2011-11-04 Andreas Schwab <schwab@redhat.com>
50077 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
50078 declarations for long double functions.
50079 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
50081 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
50083 2011-11-03 Andreas Schwab <schwab@redhat.com>
50085 * nscd/nscd.c (main): Don't start AVC thread until credentials are
50088 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
50091 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
50093 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
50095 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
50097 * include/alloca.h (stackinfo_alloca_round): Define.
50098 (extend_alloca): Use it.
50099 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
50100 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
50103 * scripts/check-local-headers.sh: Ignore libaudit.h.
50105 * nscd/Makefile (extra-objs): Make recursively expanded.
50107 2011-11-01 Ulrich Drepper <drepper@gmail.com>
50109 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
50110 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50112 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
50113 * posix/tst-rfc3484-2.c: Likewise.
50114 * posix/tst-rfc3484-3.c: Likewise.
50116 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50118 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
50120 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
50121 process_vm_writev from libc using GLIBC_2.15 version.
50123 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
50125 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
50127 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
50130 2011-10-31 Ulrich Drepper <drepper@gmail.com>
50133 * nss/getent.c (initgroups_keys): Show error message in case no group
50136 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
50137 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
50138 __bump_nl_timestamp.
50139 * nscd/connections (nscd_init): When host database is served open
50140 netlink socket and request notification about configuration changes.
50141 (main_loop_poll): Track netlink file descriptor and bump timestamp
50142 in case data becomes available.
50143 (main_loop_epoll): Likewise.
50144 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
50145 (database_pers_head): Add extra_data fileds.
50146 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
50147 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
50148 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
50150 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
50151 in6ai data, call __free_in6ai.
50152 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
50153 Add -DHAVE_NETLINK.
50154 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
50155 interface information. Reuse previous data if netlink timestamp
50157 (__bump_nl_timestamp): New function.
50158 (__free_in6ai): New function.
50160 2011-10-30 Ulrich Drepper <drepper@gmail.com>
50162 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
50163 close_not_cancel_no_status here.
50164 (__check_pf): Reorganize code a bit to not call close twice if OOM.
50166 2011-10-29 Ulrich Drepper <drepper@gmail.com>
50169 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
50172 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
50173 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
50174 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
50176 2011-07-03 Andreas Jaeger <aj@suse.de>
50179 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
50180 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
50181 * math/libm-test.inc (sin_test): Add test case.
50183 2011-10-29 Ulrich Drepper <drepper@gmail.com>
50186 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
50187 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50189 * elf/chroot_canon.c (chroot_canon): Cleanups.
50191 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
50194 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
50195 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50197 * string/test-strchr.c: Make usable for strchrnul testing.
50198 * string/test-strchrnul.c: New file.
50199 * string/Makefile (strop-tests): Add strchrnul.
50201 * po/it.po: Update from translation team.
50202 * po/es.po: Likewise.
50204 2011-10-28 Ulrich Drepper <drepper@gmail.com>
50206 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
50207 the three constants needed as parameters. Drop the others.
50208 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
50209 __m128i_strloadu_tolower.
50210 Create and initialize variable zero and use it in all the places
50211 where _mm_setzero_si128 was used.
50213 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
50214 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
50215 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
50216 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
50218 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
50219 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
50220 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
50221 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
50222 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
50223 __mpranred, __mptan.
50224 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
50225 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
50226 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
50227 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
50228 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
50229 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
50230 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
50231 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
50232 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
50234 2011-10-28 Andreas Schwab <schwab@redhat.com>
50236 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
50237 redefine if SHARED.
50238 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
50240 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
50241 wide char related routines to wcsmbs subdir.
50243 2011-10-27 Andreas Schwab <schwab@redhat.com>
50246 * misc/sys/cdefs.h (__THROWNL): Define.
50247 * posix/unistd.h: Use __THREADNL instead of __THREAD
50248 for memory synchronization functions.
50250 2011-10-26 Roland McGrath <roland@hack.frob.com>
50253 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
50255 * manual/stdio.texi (Obstack Streams): Node removed.
50257 2011-10-26 Andreas Schwab <schwab@redhat.com>
50259 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
50260 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50261 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50263 * math/math_private.h (math_force_eval): Allow non-addressable
50265 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
50267 2011-10-25 Ulrich Drepper <drepper@gmail.com>
50269 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
50270 file is not needed.
50272 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
50273 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
50274 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50275 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50276 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50277 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50278 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50279 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
50281 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
50282 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
50283 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
50284 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
50285 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
50286 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
50287 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
50288 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
50289 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
50290 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
50291 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
50292 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
50293 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
50294 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
50295 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
50296 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
50297 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
50298 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
50299 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
50301 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
50302 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
50304 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
50305 place. Use VEX encoding when compiling for AVX.
50307 2011-10-25 Andreas Schwab <schwab@redhat.com>
50309 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
50310 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50312 * string/test-strchr.c (do_test): Don't generate NUL bytes.
50314 2011-10-25 Ulrich Drepper <drepper@gmail.com>
50316 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
50317 useless if() expression.
50318 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50319 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50320 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50321 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50322 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50323 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50324 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50325 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50326 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50327 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50328 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50329 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50330 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50331 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50332 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50333 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50334 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50335 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50336 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50338 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
50340 2011-10-25 Andreas Schwab <schwab@redhat.com>
50342 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
50344 * elf/dl-fini.c (_dl_sort_fini): Likewise.
50346 2011-10-25 Ulrich Drepper <drepper@gmail.com>
50348 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
50349 .text section. Avoid duplicate constants.
50350 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50351 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50352 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50353 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50354 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50355 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50356 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50357 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50358 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50359 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
50360 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50361 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50362 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50363 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50364 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50365 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50366 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50367 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50368 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50369 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50370 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50371 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50372 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50373 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
50374 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
50375 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
50376 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
50377 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
50378 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
50379 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
50380 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
50381 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
50382 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50383 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
50384 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
50385 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
50386 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
50387 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
50388 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
50389 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
50390 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
50391 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
50392 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
50393 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
50394 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
50396 2011-10-24 Ulrich Drepper <drepper@gmail.com>
50398 * sysdeps/x86_64/dla.h: Move to ...
50399 * sysdeps/x86_64/fpu/dla.h: ...here.
50400 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
50401 situations. Use __builtin_fma only for gcc 4.6 and up.
50403 * config.make.in: Add have-mfma4 entry.
50404 * configure.in: Substitute libc_cv_cc_fma4.
50405 * math/Makefile (dbl-only-routines): Add sincostab.
50406 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
50407 Use __sincostab not sincos.
50408 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
50410 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50411 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50412 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50413 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
50415 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
50416 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
50417 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
50418 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
50420 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
50421 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
50423 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
50424 define aliases when function name is a macro.
50425 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
50426 sysdeps/ieee754/dbl-64/sincos.tbl.
50427 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
50428 fma4-enabled routines.
50429 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
50430 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
50431 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
50432 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
50433 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
50434 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
50435 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
50436 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
50437 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
50438 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
50439 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
50440 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
50441 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
50442 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
50443 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
50444 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
50445 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
50446 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
50447 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
50448 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
50449 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
50450 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
50451 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
50452 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
50453 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
50454 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
50455 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
50456 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
50457 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
50458 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
50460 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
50462 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50463 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50464 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50465 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50466 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50467 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50468 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50469 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50471 2011-10-24 Andreas Schwab <schwab@redhat.com>
50473 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
50475 2011-10-23 Ulrich Drepper <drepper@gmail.com>
50477 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
50479 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
50481 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
50483 * string/strnlen.c: Don't define STRNLEN, reverse logic.
50484 Remove unused variable magic_bits.
50485 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
50487 * string/strnlen.c: Define and use STRNLEN macro.
50488 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
50489 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
50490 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
50491 * wcsmbs/wcslen.c: Define and use WCSLEN.
50492 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
50493 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
50494 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
50495 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
50496 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
50497 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
50498 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50500 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50502 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50503 strnlen-sse2-no-bsf.
50504 Rename strlen-no-bsf to strlen-sse2-no-bsf.
50505 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
50506 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
50507 Add strnlen support.
50508 (USE_AS_STRNLEN): New macro.
50509 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
50510 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
50511 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
50512 * sysdeps/x86_64/wcslen.S: New file.
50514 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
50516 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50517 XMM-moves are used for copying on small sizes.
50519 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50521 * wcsmbs/Makefile (strop-tests): Add wcschr.
50522 * wcsmbs/test-wcschr.c: New file.
50523 * string/test-strchr.c: Update.
50524 Add wcschr support.
50527 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50529 * wcsmbs/Makefile (strop-tests): Add wcslen.
50530 * wcsmbs/test-wcslen.c: New file.
50531 * string/test-strlen.c: Update.
50532 Add wcslen support.
50535 2011-10-23 Ulrich Drepper <drepper@gmail.com>
50537 * po/it.po: Update from translation team.
50539 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50541 * sysdeps/x86_64/wcscmp.S: Update.
50542 Fix wrong comparison semantics.
50543 wcscmp shall use signed comparison not unsigned.
50544 Don't use substraction to avoid overflow bug.
50545 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
50546 * wcsmbc/wcscmp.c: Likewise.
50547 * string/test-strcmp.c: Likewise.
50548 Add new tests to check cases with negative values.
50550 2011-10-23 Ulrich Drepper <drepper@gmail.com>
50552 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
50553 * sysdeps/x86_64/dla.h: ...here. New file.
50554 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
50555 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50556 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50557 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50558 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50559 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50560 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50561 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50562 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50564 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
50566 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
50567 __ynl_finite aliases.
50569 2011-10-22 Ulrich Drepper <drepper@gmail.com>
50571 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50573 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
50575 [DLA_FMA] (EMULV): Use DLA_FMA.
50576 [DLA_FMA] (MUL12): Use EMULV.
50577 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
50578 that are not needed.
50579 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50580 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50581 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50582 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50583 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50584 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50585 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50587 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
50589 * math/s_nan.c: Undef __nan.
50590 * math/s_nanf.c: Undef __nanf.
50591 * math/s_nanl.c: Undef __nanl.
50592 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
50595 2011-10-22 Ulrich Drepper <drepper@gmail.com>
50597 * math/s_catan.c: Add branch predictions.
50598 * math/s_catanf.c: Likewise.
50599 * math/s_catanh.c: Likewise.
50600 * math/s_catanhf.c: Likewise.
50601 * math/s_catanhl.c: Likewise.
50602 * math/s_catanl.c: Likewise.
50603 * math/s_cexp.c: Likewise.
50604 * math/s_cexpf.c: Likewise.
50605 * math/s_cexpl.c: Likewise.
50606 * math/s_clog.c: Likewise.
50607 * math/s_clog10.c: Likewise.
50608 * math/s_clog10f.c: Likewise.
50609 * math/s_clog10l.c: Likewise.
50610 * math/s_clogf.c: Likewise.
50611 * math/s_clogl.c: Likewise.
50612 * math/s_csqrt.c: Likewise.
50613 * math/s_csqrtf.c: Likewise.
50614 * math/s_csqrtl.c: Likewise.
50615 * math/s_ctanf.c: Likewise.
50616 * math/s_ctanh.c: Likewise.
50617 * math/s_ctanhf.c: Likewise.
50618 * math/s_ctanhl.c: Likewise.
50619 * math/s_ctanl.c: Likewise.
50621 * math/math_private.h: Define __nan, __nanf, __nanl.
50622 * math/s_cacosh.c: Include <math_private.h>.
50623 * math/s_cacoshl.c: Likewise.
50624 * math/s_casinh.c: Likewise.
50625 * math/s_casinhf.c: Likewise.
50626 * math/s_casinhl.c: Likewise.
50627 * math/s_ccos.c: Rely entire on ccosh.
50628 * math/s_ccosf.c: Rely entire on ccoshf.
50629 * math/s_ccosl.c: Rely entirely on ccoshl.
50630 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
50631 Remove tests for FE_INVALID.
50632 * math/s_ccoshf.c: Likewise.
50633 * math/s_ccoshl.c: Likewise.
50634 * math/s_csin.c: Likewise.
50635 * math/s_csinf.c: Likewise.
50636 * math/s_csinh.c Likewise.
50637 * math/s_csinhf.c: Likewise.
50638 * math/s_csinhl.c: Likewise.
50639 * math/s_csinl.c: Likewise.
50640 * math/s_ctan.c: Likewise.
50641 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
50642 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
50643 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
50645 2011-10-21 Ulrich Drepper <drepper@gmail.com>
50647 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
50648 compilation problems.
50650 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
50653 2011-10-20 Ulrich Drepper <drepper@gmail.com>
50655 * sysdeps/i386/configure.in: Test for -mfma4 option.
50656 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
50657 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
50658 COMMON_CPUID_INDEX_80000001.
50659 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
50660 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
50661 use it if FMA3 is not supported.
50662 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
50664 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
50665 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50667 2011-10-20 Andreas Schwab <schwab@redhat.com>
50670 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
50671 it would create a cycle with a link time dependency.
50673 2011-10-19 Ulrich Drepper <drepper@gmail.com>
50675 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
50677 * string/Makefile (strop-tests): Add rawmemchr.
50678 * string/test-rawmemchr.c: New file.
50680 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
50681 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
50682 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
50683 when compiling str{,n}casecmp and when AVX is available. Hook up
50684 new optimized code in initializers.
50686 2011-10-19 Andreas Schwab <schwab@redhat.com>
50688 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
50689 __feraiseexcept instead of feraiseexcept.
50691 2011-10-18 Ulrich Drepper <drepper@gmail.com>
50693 * math/math_private.h: Define defaults for libc_fetestexcept and
50695 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
50696 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
50697 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50698 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50699 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50700 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50701 libc_fetestexcept and libc_feupdateenv.
50703 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
50704 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
50705 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
50706 * sysdeps/x86_64/fpu/math_private.h: Define special version of
50707 libc_feholdexcept_setround.
50709 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
50710 Add s_nearbyint-c and s_nearbyintf-c.
50711 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
50712 nearbyintf inlines.
50713 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
50714 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
50715 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
50716 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
50718 * math/math_private.h: Define defaults for libc_fegetround,
50719 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
50720 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
50721 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
50722 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
50723 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
50724 standard functions.
50725 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50726 Remove comments and hacks for old compiler versions.
50727 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50728 libc_fegetround, libc_fesetround, libc_feholdexcept, and
50729 libc_feholdexceptl.
50731 2011-10-18 Andreas Schwab <schwab@redhat.com>
50733 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
50734 (__feraiseexcept_renamed): Add __NTH.
50735 (feraiseexcept): Add __NTH. Rename local variables to fix
50736 namespace violations.
50738 2011-10-17 Ulrich Drepper <drepper@gmail.com>
50740 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
50742 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
50744 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
50745 recently added interfaces.
50746 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
50748 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
50749 about macro parameter expansion.
50751 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
50752 __NO_MATH_INLINES is defined. Cleanups.
50754 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
50755 and __floorf is target has SSE4.1.
50756 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
50757 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
50758 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
50759 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
50761 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
50763 (floorf): Likewise.
50765 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
50767 2011-10-17 Andreas Schwab <schwab@redhat.com>
50769 * misc/sys/cdefs.h: Fix last change.
50771 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
50774 2011-10-16 Ulrich Drepper <drepper@gmail.com>
50776 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
50778 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
50779 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50780 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50781 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50782 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50783 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50784 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50785 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50786 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50787 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
50788 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
50789 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
50790 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
50791 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
50792 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
50793 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
50794 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
50795 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
50796 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
50797 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
50798 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
50799 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
50801 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
50802 ceil, ceilf, floor, floorf.
50804 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
50805 Perform IRELATIVE relocations last.
50807 * elf/do-rel.h: Add another parameter nrelative, replacing the
50808 local variable with the same name. Change name of the function
50809 to end in Rel or Rela (uppercase).
50810 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
50811 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
50812 elf_dynamic_do_##reloc function.
50814 2011-10-15 Ulrich Drepper <drepper@gmail.com>
50816 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
50817 is sufficient, at least on modern CPUs.
50819 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
50821 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
50822 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
50824 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
50826 * math/bits/math-finite.h: Add entries for exp.
50827 * math/e_expl.c: Add __*_finite alias.
50828 * sysdeps/i386/fpu/e_exp.S: Likewise.
50829 * sysdeps/i386/fpu/e_expf.S: Likewise.
50830 * sysdeps/i386/fpu/e_expl.c: Likewise.
50831 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50832 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50833 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50834 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50835 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
50836 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50837 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50839 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
50840 is sufficient, at least on modern CPUs.
50842 * ctype/ctype-info.c (__ctype_init): Define.
50843 * include/ctype.h (__ctype_init): Declare.
50844 (__ctype_b_loc): The variable is always initialized.
50845 (__ctype_toupper_loc): Likewise.
50846 (__ctype_tolower_loc): Likewise.
50847 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
50848 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
50850 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
50852 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
50854 * configure.in: Also look in $cxxmachine/include for C++ system
50857 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50859 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
50860 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
50861 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
50862 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
50863 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
50864 (USE_AS_WMEMCMP): New macro.
50866 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
50867 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
50868 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
50869 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
50870 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50871 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
50872 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
50873 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
50874 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
50875 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
50876 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
50877 (USE_AS_WMEMCMP): New macro.
50878 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
50879 * sysdeps/string/test-memcmp.c: Update.
50880 Fix simple_wmemcmp.
50882 * wcsmbs/wmemcmp.c: Update.
50883 (WMEMCMP): New macro.
50886 2011-10-12 Andreas Jaeger <aj@suse.de>
50889 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
50891 2011-10-15 Ulrich Drepper <drepper@gmail.com>
50893 * libio/iofwide.c (do_length): Avoid warning.
50895 * ctype/ctype.h (__isctype_f): Add missing __THROW.
50897 2011-10-14 Ulrich Drepper <drepper@gmail.com>
50899 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
50901 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
50902 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
50903 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
50904 * sysdeps/i386/i686/fpu/e_log.S: New file.
50905 * sysdeps/i386/i686/fpu/e_logf.S: New file.
50906 * sysdeps/i386/i686/fpu/e_logl.S: New file.
50908 * ctype/ctype.h: Add support for inlined isXXX functions when
50909 compiling C++ code.
50911 2011-10-14 Andreas Schwab <schwab@redhat.com>
50913 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50915 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
50917 2011-10-13 Roland McGrath <roland@hack.frob.com>
50920 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
50922 2011-10-13 Andreas Schwab <schwab@redhat.com>
50924 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
50925 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
50928 * sysdeps/x86_64/memrchr.S: Check for zero size.
50930 * string/stratcliff.c: Add memrchr tests.
50932 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50934 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50935 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
50936 rawmemchr-sse2 rawmemchr-sse2-bsf.
50937 * sysdeps/i386/i686/multiarch/memchr.S: New file.
50938 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
50939 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
50940 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
50941 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
50942 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
50943 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
50944 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
50945 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
50946 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
50947 * string/memrchr.c (MEMRCHR): New macro.
50949 2011-10-12 Ulrich Drepper <drepper@gmail.com>
50951 Add integration with gcc's -ffinite-math-only and optimize wrapper
50953 * Versions.def: Define GLIBC_2.15 version for libm.
50954 * math/Makefile (headers): Add bits/math-finite.h.
50955 * math/bits/math-finite.h: New file.
50956 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
50957 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
50958 * math/e_acoshl.c: Add __*_finite alias.
50959 * math/e_acosl.c: Likewise.
50960 * math/e_asinl.c: Likewise.
50961 * math/e_atan2l.c: Likewise.
50962 * math/e_atanhl.c: Likewise.
50963 * math/e_coshl.c: Likewise.
50964 * math/e_exp10.c: Likewise.
50965 * math/e_exp10f.c: Likewise.
50966 * math/e_exp10l.c: Likewise.
50967 * math/e_exp2l.c: Likewise.
50968 * math/e_fmodl.c: Likewise.
50969 * math/e_gammal_r.c: Likewise.
50970 * math/e_hypotl.c: Likewise.
50971 * math/e_j0l.c: Likewise.
50972 * math/e_j1l.c: Likewise.
50973 * math/e_jnl.c: Likewise.
50974 * math/e_lgammal_r.c: Likewise.
50975 * math/e_log10l.c: Likewise.
50976 * math/e_log2l.c: Likewise.
50977 * math/e_logl.c: Likewise.
50978 * math/e_powl.c: Likewise.
50979 * math/e_sinhl.c: Likewise.
50980 * math/e_sqrtl.c: Likewise.
50981 * math/e_scalb.c: Completely rewritten and optimized.
50982 * math/e_scalbf.c: Likewise.
50983 * math/e_scalbl.c: Likewise.
50984 * math/w_acos.c: Likewise.
50985 * math/w_acosf.c: Likewise.
50986 * math/w_acosl.c: Likewise.
50987 * math/w_acosh.c: Likewise.
50988 * math/w_acoshf.c: Likewise.
50989 * math/w_acoshl.c: Likewise.
50990 * math/w_asin.c: Likewise.
50991 * math/w_asinf.c: Likewise.
50992 * math/w_asinl.c: Likewise.
50993 * math/w_atan2.c: Likewise.
50994 * math/w_atan2f.c: Likewise.
50995 * math/w_atan2l.c: Likewise.
50996 * math/w_atanh.c: Likewise.
50997 * math/w_atanhf.c: Likewise.
50998 * math/w_atanhl.c: Likewise.
50999 * math/w_exp10.c: Likewise.
51000 * math/w_exp10f.c: Likewise.
51001 * math/w_exp10l.c: Likewise.
51002 * math/w_fmod.c: Likewise.
51003 * math/w_fmodf.c: Likewise.
51004 * math/w_fmodl.c: Likewise.
51005 * math/w_j0.c: Likewise.
51006 * math/w_j0f.c: Likewise.
51007 * math/w_j0l.c: Likewise.
51008 * math/w_j1.c: Likewise.
51009 * math/w_j1f.c: Likewise.
51010 * math/w_j1l.c: Likewise.
51011 * math/w_jn.c: Likewise.
51012 * math/w_jnf.c: Likewise.
51013 * math/w_log.c: Likewise.
51014 * math/w_logf.c: Likewise.
51015 * math/w_logl.c: Likewise.
51016 * math/w_log10.c: Likewise.
51017 * math/w_log10f.c: Likewise.
51018 * math/w_log10l.c: Likewise.
51019 * math/w_log2.c: Likewise.
51020 * math/w_log2f.c: Likewise.
51021 * math/w_log2l.c: Likewise.
51022 * math/w_pow.c: Likewise.
51023 * math/w_powf.c: Likewise.
51024 * math/w_powl.c: Likewise.
51025 * math/w_remainder.c: Likewise.
51026 * math/w_remainderf.c: Likewise.
51027 * math/w_remainderl.c: Likewise.
51028 * math/w_scalb.c: Likewise.
51029 * math/w_scalbf.c: Likewise.
51030 * math/w_scalbl.c: Likewise.
51031 * math/w_sqrt.c: Likewise.
51032 * math/w_sqrtf.c: Likewise.
51033 * math/w_sqrtl.c: Likewise.
51034 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
51035 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
51037 * math/math_private.h: Declare __kernel_standard_f.
51038 * math/w_cosh.c: Remove cruft and optimize a bit.
51039 * math/w_coshf.c: Likewise.
51040 * math/w_coshl.c: Likewise.
51041 * math/w_exp2.c: Likewise.
51042 * math/w_exp2f.c: Likewise.
51043 * math/w_exp2l.c: Likewise.
51044 * math/w_hypot.c: Likewise.
51045 * math/w_hypotf.c: Likewise.
51046 * math/w_hypotl.c: Likewise.
51047 * math/w_lgamma.c: Likewise.
51048 * math/w_lgamma_r.c: Likewise.
51049 * math/w_lgammaf.c: Likewise.
51050 * math/w_lgammaf_r.c: Likewise.
51051 * math/w_lgammal.c: Likewise.
51052 * math/w_lgammal_r.c: Likewise.
51053 * math/w_sinh.c: Likewise.
51054 * math/w_sinhf.c: Likewise.
51055 * math/w_sinhl.c: Likewise.
51056 * math/w_tgamma.c: Likewise.
51057 * math/w_tgammaf.c: Likewise.
51058 * math/w_tgammal.c: Likewise.
51059 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51060 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51061 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
51062 Minor optimizations. Pretty printing. Remove cruft.
51063 * sysdeps/i386/fpu/e_acosf.S: Likewise.
51064 * sysdeps/i386/fpu/e_acosh.S: Likewise.
51065 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51066 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51067 * sysdeps/i386/fpu/e_acosl.c: Likewise.
51068 * sysdeps/i386/fpu/e_asin.S: Likewise.
51069 * sysdeps/i386/fpu/e_asinf.S: Likewise.
51070 * sysdeps/i386/fpu/e_atan2.S: Likewise.
51071 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
51072 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
51073 * sysdeps/i386/fpu/e_atanh.S: Likewise.
51074 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51075 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51076 * sysdeps/i386/fpu/e_exp10.S: Likewise.
51077 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
51078 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
51079 * sysdeps/i386/fpu/e_exp2.S: Likewise.
51080 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
51081 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
51082 * sysdeps/i386/fpu/e_fmod.S: Likewise.
51083 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
51084 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
51085 * sysdeps/i386/fpu/e_hypot.S: Likewise.
51086 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
51087 * sysdeps/i386/fpu/e_log.S: Likewise.
51088 * sysdeps/i386/fpu/e_log10.S: Likewise.
51089 * sysdeps/i386/fpu/e_log10f.S: Likewise.
51090 * sysdeps/i386/fpu/e_log10l.S: Likewise.
51091 * sysdeps/i386/fpu/e_log2.S: Likewise.
51092 * sysdeps/i386/fpu/e_log2f.S: Likewise.
51093 * sysdeps/i386/fpu/e_log2l.S: Likewise.
51094 * sysdeps/i386/fpu/e_logf.S: Likewise.
51095 * sysdeps/i386/fpu/e_logl.S: Likewise.
51096 * sysdeps/i386/fpu/e_pow.S: Likewise.
51097 * sysdeps/i386/fpu/e_powf.S: Likewise.
51098 * sysdeps/i386/fpu/e_powl.S: Likewise.
51099 * sysdeps/i386/fpu/e_remainder.S: Likewise.
51100 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
51101 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
51102 * sysdeps/i386/fpu/e_scalb.S: Likewise.
51103 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51104 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51105 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
51106 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
51107 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
51108 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51109 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51110 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51111 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51112 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51113 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51114 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51115 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51116 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51117 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51118 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51119 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51120 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51121 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51122 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51123 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51124 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51125 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51126 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51127 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51128 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51129 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51130 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51131 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51132 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51133 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51134 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51135 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51136 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
51137 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51138 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51139 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51140 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51141 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51142 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51143 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51144 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51145 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51146 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51147 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51148 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51149 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51150 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51151 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51152 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51153 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51154 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51155 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51156 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51157 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
51158 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51159 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51160 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51161 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51162 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51163 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51164 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51165 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51166 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51167 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51168 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51169 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51170 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51171 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51172 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51173 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51174 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51175 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51176 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
51177 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51178 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51179 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51180 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51181 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51182 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51183 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51184 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51185 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51186 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51187 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51188 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51189 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51190 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
51191 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51192 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51193 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51194 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51195 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51196 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51197 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51198 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51199 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51200 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51201 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51202 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51203 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51204 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51205 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
51206 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
51207 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
51208 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
51209 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
51210 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
51211 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
51212 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51213 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51214 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51215 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51216 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
51217 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51218 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
51219 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
51220 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
51221 (__isnanf): Likewise.
51222 (__isinf_ns): Likewise.
51223 (__isinf_nsf): Likewise.
51224 (__finite): Likewise.
51225 (__finitef): Likewise.
51226 (__ieee754_sqrt): Define as macro.
51227 (__ieee754_sqrtf): Define as macro.
51228 (__ieee754_sqrtl): Define as macro.
51229 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
51231 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
51232 __FINITE_MATH_ONLY__ consistent.
51233 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
51235 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
51237 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
51240 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
51242 2011-10-09 Ulrich Drepper <drepper@gmail.com>
51244 * po/ja.po: Update from translation team.
51246 2011-10-08 Roland McGrath <roland@hack.frob.com>
51248 * locale/programs/locarchive.c (prepare_address_space): New function.
51249 (create_archive, enlarge_archive, open_archive): Use it.
51251 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
51252 inside [SHARED], where it is used.
51254 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
51256 * nss/getent.c (netgroup_keys): Remove unused variable.
51257 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51259 2011-10-08 Ulrich Drepper <drepper@gmail.com>
51261 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
51262 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
51263 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
51264 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
51265 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
51266 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
51267 * math/Makefile (libm-calls): Add s_isinf_ns.
51268 * math/divtc3.c: Use __isinf_nsl instead of isinf.
51269 * math/multc3.c: Likewise.
51270 * math/s_casin.c: Likewise.
51271 * math/s_casinf.c: Likewise.
51272 * math/s_casinl.c: Likewise.
51273 * math/s_ccos.c: Likewise.
51274 * math/s_ccosf.c: Likewise.
51275 * math/s_ccosl.c: Likewise.
51276 * math/s_ctan.c: Likewise.
51277 * math/s_ctanf.c: Likewise.
51278 * math/s_ctanh.c: Likewise.
51279 * math/s_ctanhf.c: Likewise.
51280 * math/s_ctanhl.c: Likewise.
51281 * math/s_ctanl.c: Likewise.
51282 * math/w_fmod.c: Likewise.
51283 * math/w_fmodf.c: Likewise.
51284 * math/w_fmodl.c: Likewise.
51285 * math/w_remainder.c: Likewise.
51286 * math/w_remainderf.c: Likewise.
51287 * math/w_remainderl.c: Likewise.
51288 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
51289 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
51290 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
51291 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
51292 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
51293 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
51294 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
51295 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
51297 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
51299 * stdio-common/printf_fphex.c: Likewise.
51300 * stdio-common/printf_size.c: Likewise.
51302 * math/e_exp10.c: Include math_private.h using <...> not "...".
51303 * math/e_exp10f.c: Likewise.
51304 * math/e_exp10l.c: Likewise.
51305 * math/e_exp2l.c: Likewise.
51306 * math/e_j0l.c: Likewise.
51307 * math/e_j1l.c: Likewise.
51308 * math/e_jnl.c: Likewise.
51309 * math/e_lgammal_r.c: Likewise.
51310 * math/e_rem_pio2l.c: Likewise.
51311 * math/e_scalb.c: Likewise.
51312 * math/e_scalbf.c: Likewise.
51313 * math/e_scalbl.c: Likewise.
51314 * math/k_cosl.c: Likewise.
51315 * math/k_sinl.c: Likewise.
51316 * math/k_tanl.c: Likewise.
51317 * math/s_cacoshf.c: Likewise.
51318 * math/s_catan.c: Likewise.
51319 * math/s_catanf.c: Likewise.
51320 * math/s_catanh.c: Likewise.
51321 * math/s_catanhf.c: Likewise.
51322 * math/s_catanhl.c: Likewise.
51323 * math/s_catanl.c: Likewise.
51324 * math/s_ccosh.c: Likewise.
51325 * math/s_ccoshf.c: Likewise.
51326 * math/s_ccoshl.c: Likewise.
51327 * math/s_cexp.c: Likewise.
51328 * math/s_cexpf.c: Likewise.
51329 * math/s_cexpl.c: Likewise.
51330 * math/s_clog.c: Likewise.
51331 * math/s_clog10.c: Likewise.
51332 * math/s_clog10f.c: Likewise.
51333 * math/s_clog10l.c: Likewise.
51334 * math/s_clogf.c: Likewise.
51335 * math/s_clogl.c: Likewise.
51336 * math/s_csin.c: Likewise.
51337 * math/s_csinf.c: Likewise.
51338 * math/s_csinh.c: Likewise.
51339 * math/s_csinhf.c: Likewise.
51340 * math/s_csinhl.c: Likewise.
51341 * math/s_csinl.c: Likewise.
51342 * math/s_csqrt.c: Likewise.
51343 * math/s_csqrtf.c: Likewise.
51344 * math/s_csqrtl.c: Likewise.
51345 * math/s_ctan.c: Likewise.
51346 * math/s_ctanf.c: Likewise.
51347 * math/s_ctanh.c: Likewise.
51348 * math/s_ctanhf.c: Likewise.
51349 * math/s_ctanhl.c: Likewise.
51350 * math/s_ctanl.c: Likewise.
51351 * math/s_ldexp.c: Likewise.
51352 * math/s_ldexpf.c: Likewise.
51353 * math/s_ldexpl.c: Likewise.
51354 * math/s_significand.c: Likewise.
51355 * math/s_significandf.c: Likewise.
51356 * math/s_significandl.c: Likewise.
51357 * math/w_acos.c: Likewise.
51358 * math/w_acosf.c: Likewise.
51359 * math/w_acosh.c: Likewise.
51360 * math/w_acoshf.c: Likewise.
51361 * math/w_acoshl.c: Likewise.
51362 * math/w_acosl.c: Likewise.
51363 * math/w_asin.c: Likewise.
51364 * math/w_asinf.c: Likewise.
51365 * math/w_asinl.c: Likewise.
51366 * math/w_atan2.c: Likewise.
51367 * math/w_atan2f.c: Likewise.
51368 * math/w_atan2l.c: Likewise.
51369 * math/w_atanh.c: Likewise.
51370 * math/w_atanhf.c: Likewise.
51371 * math/w_atanhl.c: Likewise.
51372 * math/w_cosh.c: Likewise.
51373 * math/w_coshf.c: Likewise.
51374 * math/w_coshl.c: Likewise.
51375 * math/w_dremf.c: Likewise.
51376 * math/w_exp10.c: Likewise.
51377 * math/w_exp10f.c: Likewise.
51378 * math/w_exp10l.c: Likewise.
51379 * math/w_exp2.c: Likewise.
51380 * math/w_exp2f.c: Likewise.
51381 * math/w_fmod.c: Likewise.
51382 * math/w_fmodf.c: Likewise.
51383 * math/w_fmodl.c: Likewise.
51384 * math/w_hypot.c: Likewise.
51385 * math/w_hypotf.c: Likewise.
51386 * math/w_hypotl.c: Likewise.
51387 * math/w_j0.c: Likewise.
51388 * math/w_j0f.c: Likewise.
51389 * math/w_j0l.c: Likewise.
51390 * math/w_j1.c: Likewise.
51391 * math/w_j1f.c: Likewise.
51392 * math/w_j1l.c: Likewise.
51393 * math/w_jn.c: Likewise.
51394 * math/w_jnf.c: Likewise.
51395 * math/w_jnl.c: Likewise.
51396 * math/w_lgamma.c: Likewise.
51397 * math/w_lgamma_r.c: Likewise.
51398 * math/w_lgammaf.c: Likewise.
51399 * math/w_lgammaf_r.c: Likewise.
51400 * math/w_lgammal.c: Likewise.
51401 * math/w_lgammal_r.c: Likewise.
51402 * math/w_log.c: Likewise.
51403 * math/w_log10.c: Likewise.
51404 * math/w_log10f.c: Likewise.
51405 * math/w_log10l.c: Likewise.
51406 * math/w_log2.c: Likewise.
51407 * math/w_log2f.c: Likewise.
51408 * math/w_log2l.c: Likewise.
51409 * math/w_logf.c: Likewise.
51410 * math/w_logl.c: Likewise.
51411 * math/w_pow.c: Likewise.
51412 * math/w_powf.c: Likewise.
51413 * math/w_powl.c: Likewise.
51414 * math/w_remainder.c: Likewise.
51415 * math/w_remainderf.c: Likewise.
51416 * math/w_remainderl.c: Likewise.
51417 * math/w_scalb.c: Likewise.
51418 * math/w_scalbf.c: Likewise.
51419 * math/w_scalbl.c: Likewise.
51420 * math/w_sinh.c: Likewise.
51421 * math/w_sinhf.c: Likewise.
51422 * math/w_sinhl.c: Likewise.
51423 * math/w_sqrt.c: Likewise.
51424 * math/w_sqrtf.c: Likewise.
51425 * math/w_sqrtl.c: Likewise.
51426 * math/w_tgamma.c: Likewise.
51427 * math/w_tgammaf.c: Likewise.
51428 * math/w_tgammal.c: Likewise.
51430 * po/ja.po: Update from translation team.
51432 2011-09-29 Andreas Jaeger <aj@suse.de>
51435 * sunrpc/netname.c (netname2host): Fix logic.
51439 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
51441 * math/w_remainder.c (__remainder): Likewise.
51442 * math/w_remainderf.c (__remainderf): Likewise.
51443 * math/libm-test.inc (remainder_test): Add test cases.
51445 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51447 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
51450 2011-10-07 Ulrich Drepper <drepper@gmail.com>
51452 * string/test-memcmp.c: Avoid unncessary #defines.
51453 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51455 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51457 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
51458 Use new sse2 version for core i3 - i7 as it's faster
51459 than sse42 version.
51460 (bit_Prefer_PMINUB_for_stringop): New.
51461 * sysdeps/x86_64/rawmemchr.S: Update.
51462 Replace with faster SSE2 version.
51463 * sysdeps/x86_64/memrchr.S: New file.
51464 * sysdeps/x86_64/memchr.S: Update.
51465 Replace with faster SSE2 version.
51467 2011-09-12 Marek Polacek <mpolacek@redhat.com>
51469 * elf/dl-load.c (lose): Add cast to avoid warning.
51471 2011-10-07 Ulrich Drepper <drepper@gmail.com>
51473 * po/ca.po: Update from translation team.
51475 * inet/getnetgrent_r.c: Hook up nscd.
51476 * nscd/Makefile (routines): Add nscd_netgroup.
51477 (nscd-modules): Add netgroupcache.
51478 (CFLAGS-netgroupcache.c): Define.
51479 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
51480 (cache_search): Add const to second parameter.
51481 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
51483 (dbs): Add netgrdb entry.
51484 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
51485 (verify_persistent_db): Handle netgrdb.
51486 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
51487 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
51489 (netgroup_response_header): Define.
51490 (innetgroup_response_header): Define.
51491 (datahead): Add netgroup_response_header and innetgroup_response_header
51493 * nscd/nscd.conf: Add entries for netgroup cache.
51494 * nscd/nscd.h (dbtype): Add netgrdb.
51495 (_PATH_NSCD_NETGROUP_DB): Define.
51496 (netgroup_iov_disabled): Declare.
51497 (xmalloc, xcalloc, xrealloc): Move declarations here.
51498 (cache_search): Adjust prototype.
51499 Add netgroup-related prototypes.
51500 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
51501 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
51502 (__nscd_innetgr): Declare.
51503 * nscd/selinux.c (perms): Use access_vector_t as element type and
51504 add netgroup-related initializers.
51505 * nscd/netgroupcache.c: New file.
51506 * nscd/nscd_netgroup.c: New file.
51507 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
51508 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
51509 For four parameters use innetgr.
51510 * nss/nss_files/files-init.c: Add definition and callback for netgr.
51511 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
51512 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
51513 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
51515 * nscd/connections.c (register_traced_file): Don't register file
51516 for disabled databases.
51518 2011-10-06 Ulrich Drepper <drepper@gmail.com>
51520 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
51522 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
51523 from tree and freeing node.
51525 2011-09-25 Jiri Olsa <jolsa@redhat.com>
51527 * nss/nsswitch.c (__nss_database_lookup): Handle
51528 nss_parse_service_list out of memory case.
51530 2011-09-15 Jiri Olsa <jolsa@redhat.com>
51532 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
51533 out of memory case.
51535 2011-10-04 Andreas Schwab <schwab@redhat.com>
51537 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
51538 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
51540 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
51541 elf_machine_rela, elf_machine_lazy_rel.
51542 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
51543 (ELF_DYNAMIC_DO_REL): Likewise.
51544 (ELF_DYNAMIC_DO_RELA): Likewise.
51545 (ELF_DYNAMIC_RELOCATE): Likewise.
51546 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
51547 to ELF_DYNAMIC_DO_REL.
51548 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
51549 (dl_main): In trace mode always set __RTLD_NOIFUNC.
51550 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
51552 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
51553 skip_ifunc, don't call ifunc function if non-zero.
51554 (elf_machine_rela): Likewise.
51555 (elf_machine_lazy_rel): Likewise.
51556 (elf_machine_lazy_rela): Likewise.
51557 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
51558 (elf_machine_lazy_rel): Likewise.
51559 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
51561 (elf_machine_lazy_rel): Likewise.
51562 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51564 (elf_machine_lazy_rel): Likewise.
51565 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
51566 (elf_machine_lazy_rel): Likewise.
51567 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
51568 (elf_machine_lazy_rel): Likewise.
51569 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51570 (elf_machine_lazy_rel): Likewise.
51571 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
51572 (elf_machine_lazy_rel): Likewise.
51573 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
51574 (elf_machine_lazy_rel): Likewise.
51575 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
51576 (elf_machine_lazy_rel): Likewise.
51578 2011-09-28 Ulrich Drepper <drepper@gmail.com>
51580 * nss/nss_files/files-init.c (_nss_files_init): Use static
51581 initialization for all the *_traced_file variables.
51583 2011-09-28 Andreas Schwab <schwab@redhat.com>
51585 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51587 2011-09-27 Roland McGrath <roland@hack.frob.com>
51590 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
51592 2011-09-27 Andreas Schwab <schwab@redhat.com>
51594 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51595 Reread the line before reparsing it.
51597 2011-09-26 Andreas Schwab <schwab@redhat.com>
51599 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
51601 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
51602 Maxim Kuvyrkov <maxim@codesourcery.com>
51603 Joseph Myers <joseph@codesourcery.com>
51605 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
51606 if needed for __stack_chk_guard.
51608 2011-09-19 Roland McGrath <roland@hack.frob.com>
51610 * sysdeps/posix/spawni.c (script_execute): Always define it.
51611 It will be optimized away if unused.
51612 (maybe_script_execute): New function.
51613 (__spawni): Call it.
51615 * Makerules: Don't include tls.make.
51616 (config-tls): Always set to thread.
51617 * tls.make.c: File removed.
51619 2011-09-19 Mike Frysinger <vapier@gentoo.org>
51621 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
51622 * config.make.in (CPPFLAGS-config): New substituted variable.
51624 2011-09-15 Ulrich Drepper <drepper@gmail.com>
51626 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
51629 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
51630 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
51632 2011-09-15 Roland McGrath <roland@hack.frob.com>
51634 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
51635 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
51636 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51637 (CALL_FAIL): Likewise.
51638 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
51639 (CALL_FAIL): Macro removed.
51640 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
51642 2011-09-15 Ulrich Drepper <drepper@gmail.com>
51644 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
51645 for __FINITE_MATH_ONLY__ == 1.
51647 2011-09-15 Andreas Schwab <schwab@redhat.com>
51649 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
51650 __ieee754_sqrt instead of sqrt.
51651 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
51652 __ieee754_sqrtf instead of sqrtf.
51653 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
51654 __floorf instead of floorf.
51655 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
51656 __floorf, __truncf instead of floorf, truncf.
51658 2011-09-14 Ulrich Drepper <drepper@gmail.com>
51660 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
51662 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
51663 __extern_always_inline.
51664 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
51667 2011-09-14 Andreas Schwab <schwab@redhat.com>
51669 * elf/rtld.c (dl_main): Also relocate in dependency order when
51670 doing symbol dependency testing.
51672 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
51674 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51675 Always define `refsym'.
51677 2011-09-13 Andreas Schwab <schwab@redhat.com>
51679 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
51680 (__FD_ELT): Renamed from __FDELT.
51681 * misc/bits/select2.h (__FD_ELT): Likewise.
51682 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
51683 __FD_MASK instead of __FDELT, __FDMASK.
51684 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51686 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51689 * elf/Makefile (gen-ldd): Fix pattern.
51691 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
51692 (init_tls): Likewise.
51694 2011-09-12 Ulrich Drepper <drepper@gmail.com>
51696 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
51698 2011-09-12 Andreas Schwab <schwab@redhat.com>
51700 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
51701 `struct cmsghdr *' instead of `void *'.
51702 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
51705 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
51707 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
51709 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
51710 ldd_rewrite_script.
51712 2011-09-11 Ulrich Drepper <drepper@gmail.com>
51714 * configure.in: Remove --with-tls option.
51715 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
51716 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
51717 out in case it is missing.
51718 * sysdeps/ia64/elf/configure.in: Likewise.
51719 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
51720 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
51721 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
51722 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
51723 * sysdeps/sh/elf/configure.in: Likewise.
51724 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
51725 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
51726 * sysdeps/x86_64/elf/configure.in: Likewise.
51727 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
51728 * sysdeps/mach/hurd/tls.h: Likewise.
51731 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
51734 * configure.in: Fix use of AC_INIT.
51736 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
51738 2011-09-10 Ulrich Drepper <drepper@gmail.com>
51740 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
51742 * malloc/hooks.c: Likewise.
51745 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
51746 variables statically.
51747 (narenas): Initialize.
51748 (list_lock): Initialize.
51749 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
51750 initializtion of main_arena and list_lock. Small cleanups.
51751 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
51752 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
51753 Add initializers to main_arena and mp_.
51754 (malloc_state): Remove pagesize member. Change all users to use
51757 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
51758 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
51759 is always initialized.
51761 * malloc/malloc.c: Removed unused configurations and dead code.
51762 * malloc/arena.c: Likewise.
51763 * malloc/hooks.c: Likewise.
51764 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
51766 * include/tls.h: Removed. USE___THREAD must always be defined.
51767 * bits/libc-tsd.h: Don't handle !USE___THREAD.
51768 * elf/dl-libc.c: Likewise.
51769 * elf/dl-tsd.c: Likewise.
51770 * include/errno.h: Likewise.
51771 * include/netdb.h: Likewise.
51772 * include/resolv.h: Likewise.
51773 * inet/herrno-loc.c: Likewise.
51774 * inet/herrno.c: Likewise.
51775 * malloc/arena.c: Likewise.
51776 * malloc/hooks.c: Likewise.
51777 * malloc/malloc.c: Likewise.
51778 * resolv/res-state.c: Likewise.
51779 * resolv/res_libc.c: Likewise.
51780 * sysdeps/i386/dl-machine.h: Likewise.
51781 * sysdeps/ia64/dl-machine.h: Likewise.
51782 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
51783 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
51784 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
51785 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
51786 * sysdeps/sh/dl-machine.h: Likewise.
51787 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51788 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51789 * sysdeps/unix/i386/sysdep.S: Likewise.
51790 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
51791 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
51792 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
51793 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
51794 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
51795 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
51796 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
51797 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51798 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51799 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
51800 * sysdeps/unix/x86_64/sysdep.S: Likewise.
51801 * sysdeps/x86_64/dl-machine.h: Likewise.
51802 * tls.make.c: Likewise.
51804 * configure.in: Remove --with-__thread option. Make tests for
51805 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
51806 tls_model attribute fail if no support is available. Remove
51808 * Makeconfig: Adjust for dropped configure option. All features are
51810 * Makerules: Likewise.
51811 * Versions.def: Likewise.
51812 * argp/argp-fmtstream.c: Likewise.
51813 * argp/argp-fmtstream.h: Likewise.
51814 * argp/argp-help.c: Likewise.
51815 * assert/assert.c: Likewise.
51816 * config.h.in: Likewise.
51817 * config.make.in: Likewise.
51818 * configure: Likewise.
51819 * configure.in: Likewise.
51820 * csu/Versions: Likewise.
51821 * csu/init.c: Likewise.
51822 * elf/tst-audit2.c: Likewise.
51823 * elf/tst-tls10.c: Likewise.
51824 * elf/tst-tls10.h: Likewise.
51825 * elf/tst-tls11.c: Likewise.
51826 * elf/tst-tls12.c: Likewise.
51827 * elf/tst-tls14.c: Likewise.
51828 * elf/tst-tlsmod11.c: Likewise.
51829 * elf/tst-tlsmod12.c: Likewise.
51830 * elf/tst-tlsmod13.c: Likewise.
51831 * elf/tst-tlsmod13a.c: Likewise.
51832 * elf/tst-tlsmod14a.c: Likewise.
51833 * elf/tst-tlsmod15b.c: Likewise.
51834 * elf/tst-tlsmod16a.c: Likewise.
51835 * elf/tst-tlsmod16b.c: Likewise.
51836 * elf/tst-tlsmod7.c: Likewise.
51837 * elf/tst-tlsmod8.c: Likewise.
51838 * elf/tst-tlsmod9.c: Likewise.
51839 * gmon/gmon.c: Likewise.
51840 * grp/fgetgrent_r.c: Likewise.
51841 * grp/putgrent.c: Likewise.
51842 * hurd/fopenport.c: Likewise.
51843 * include/libc-symbols.h: Likewise.
51844 * include/tls.h: Likewise.
51845 * intl/gettextP.h: Likewise.
51846 * intl/loadinfo.h: Likewise.
51847 * locale/global-locale.c: Likewise.
51848 * locale/localeinfo.h: Likewise.
51849 * mach/devstream.c: Likewise.
51850 * malloc/arena.c: Likewise.
51851 * malloc/set-freeres.c: Likewise.
51852 * misc/err.c: Likewise.
51853 * misc/getttyent.c: Likewise.
51854 * misc/mntent_r.c: Likewise.
51855 * posix/getopt.c: Likewise.
51856 * posix/wordexp.c: Likewise.
51857 * pwd/fgetpwent_r.c: Likewise.
51858 * resolv/Versions: Likewise.
51859 * resolv/res_hconf.c: Likewise.
51860 * shadow/fgetspent_r.c: Likewise.
51861 * shadow/putspent.c: Likewise.
51862 * stdio-common/printf_fphex.c: Likewise.
51863 * stdio-common/tmpfile.c: Likewise.
51864 * stdlib/abort.c: Likewise.
51865 * stdlib/fmtmsg.c: Likewise.
51866 * sunrpc/auth_unix.c: Likewise.
51867 * sunrpc/clnt_perr.c: Likewise.
51868 * sunrpc/clnt_tcp.c: Likewise.
51869 * sunrpc/clnt_udp.c: Likewise.
51870 * sunrpc/clnt_unix.c: Likewise.
51871 * sunrpc/openchild.c: Likewise.
51872 * sunrpc/svc_simple.c: Likewise.
51873 * sunrpc/svc_tcp.c: Likewise.
51874 * sunrpc/svc_udp.c: Likewise.
51875 * sunrpc/svc_unix.c: Likewise.
51876 * sunrpc/xdr.c: Likewise.
51877 * sunrpc/xdr_array.c: Likewise.
51878 * sunrpc/xdr_rec.c: Likewise.
51879 * sunrpc/xdr_ref.c: Likewise.
51880 * sunrpc/xdr_stdio.c: Likewise.
51882 2011-09-09 Ulrich Drepper <drepper@gmail.com>
51884 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51886 2011-07-03 Andreas Jaeger <aj@suse.de>
51888 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
51889 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
51890 regenerate with gen-libm-tests.pl.
51892 2010-05-12 Petr Baudis <pasky@suse.cz>
51895 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
51896 around j0() zero points by switching to j1().
51897 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51898 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51899 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51900 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51902 2011-09-09 Ulrich Drepper <drepper@gmail.com>
51904 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
51906 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
51908 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51909 Patch in part by Pavel Roskin <proski@gnu.org>.
51912 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
51914 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
51915 Free memory block if necessary.
51918 * libio/genops.c (INTDEF): For string streams the _lock pointer can
51919 be NULL. Don't lock in this case.
51921 2011-09-09 Roland McGrath <roland@hack.frob.com>
51923 * elf/elf.h (ELFOSABI_GNU): New macro.
51924 (ELFOSABI_LINUX): Define to that.
51926 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
51928 * string/strncat.c (strncat): Undef the symbol in case it has been
51929 defined in bits/string.h.
51931 2011-09-09 Ulrich Drepper <drepper@gmail.com>
51933 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
51935 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
51938 2011-08-17 Andreas Jaeger <aj@suse.de>
51940 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
51942 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
51943 Ian Lance Taylor <iant@google.com>
51945 * math/libm-test.inc (lround_test): New testcase.
51946 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
51948 2011-09-08 Ulrich Drepper <drepper@gmail.com>
51950 * Makefile: Remove support for automatic cvs check-ins.
51951 * Makerules: Likewise.
51952 * config.make.in: Likewise.
51953 * configure.in: Likewise.
51954 * intl/Makefile: Likewise.
51955 * locale/Makefile: Likewise.
51956 * po/Makefile: Likewise.
51957 * posix/Makefile: Likewise.
51958 * sysdeps/gnu/Makefile: Likewise.
51959 * sysdeps/mach/hurd/Makefile: Likewise.
51960 * sysdeps/sparc/sparc32/Makefile: Likewise.
51963 * posix/Makefile (bug-regex32-ENV): Define.
51964 Patch by John Stanley <jpsinthemix@verizon.net>.
51966 * misc/Makefile (headers): Add bits/select2.h.
51967 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
51968 * misc/bits/select2.h: New file.
51969 * include/bits/select2.h: New file.
51970 * debug/Makefile (routines): Add fdelt_chk.
51971 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
51972 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
51974 * debug/fdelt_chk.c: New file.
51976 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
51977 * wcsmbs/test-wmemcmp.c: Likewise.
51978 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
51979 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
51981 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51983 * string/Makefile (strop-tests): Add memcmp.
51984 * string/test-wmemcmp.c: New file.
51985 * string/test-memcmp.c: Add wmemcmp support.
51987 2011-09-08 Roland McGrath <roland@hack.frob.com>
51990 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
51993 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
51994 garbage value in a __mach_port_mod_refs call in the cases of the
51995 task-self and thread-self ports.
51997 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51999 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
52001 2011-09-08 Andreas Schwab <schwab@redhat.com>
52003 * elf/dl-load.c (lose): Check for non-null L.
52005 2011-09-07 Ulrich Drepper <drepper@gmail.com>
52007 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
52009 * elf/dl-libc.c (dlerror_run): Pass back error code from
52013 * elf/dl-load.c (lose): Free l_origin if it is valid.
52015 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
52017 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
52018 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52019 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52020 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52021 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
52022 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
52024 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52026 * sysdeps/powerpc/fpu/e_hypot.c: New file.
52027 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
52028 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
52029 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
52030 * sysdeps/powerpc/fpu/k_cosf.c: New file.
52031 * sysdeps/powerpc/fpu/k_sinf.c: New file.
52032 * sysdeps/powerpc/fpu/s_cosf.c: New file.
52033 * sysdeps/powerpc/fpu/s_sinf.c: New file.
52034 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
52035 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
52037 2011-08-15 Alan Modra <amodra@gmail.com>
52040 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
52041 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
52042 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
52043 ppc_mcount to static-only-routines.
52044 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
52046 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
52047 __mcount_internal with usual JUMPTARGET. Remove useless nop.
52049 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
52051 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
52052 for finite and infinity parameters.
52054 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
52056 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
52057 and add nop instructions for throughput optimization.
52058 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52060 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
52062 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
52063 aligned copy for power7 with vector-scalar instructions.
52064 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52066 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
52068 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
52071 2011-09-07 Andreas Schwab <schwab@redhat.com>
52074 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
52077 2011-09-07 Ulrich Drepper <drepper@gmail.com>
52079 * sysdeps/unix/sysv/linux/x86_64/init-first.c
52080 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
52081 syscall wrapper around clock_gettime in __vdso_clock_gettime.
52082 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
52085 2011-09-06 Ulrich Drepper <drepper@gmail.com>
52087 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
52088 Forgot to demangle the pointer.
52090 * sysdeps/i386/sysdep.h: Define atom_text_section.
52091 * sysdeps/x86_64/sysdep.h: Likewise.
52092 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
52093 section with atom_text_section.
52094 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52095 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52096 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
52097 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52098 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
52100 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
52101 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
52102 already be defined. Change to take two parameters and don't assign
52103 result to variable. Adjust all users.
52104 Define INTERNAL_GETTIME if not already defined.
52105 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
52107 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
52108 HAVE_CLOCK_GETTIME_VSYSCALL.
52109 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
52111 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
52112 gettimeofday vsyscall, just use time.
52114 2011-09-06 Andreas Schwab <schwab@redhat.com>
52116 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
52119 2011-09-06 Ulrich Drepper <drepper@gmail.com>
52121 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
52123 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
52125 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
52126 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
52127 syscall if possible.
52129 2011-09-05 Ulrich Drepper <drepper@gmail.com>
52131 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
52132 e_ident. Don't pass to find_mapsXX.
52133 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
52135 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52137 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52138 strchr-sse2-no-bsf strrchr-sse2-no-bsf
52139 * sysdeps/x86_64/multiarch/strchr.S: Update.
52140 Check bit_slow_BSF bit.
52141 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52142 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
52143 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
52145 2011-09-05 Ulrich Drepper <drepper@gmail.com>
52148 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
52150 (tryshell): Define.
52151 (__spawni): Change last parameter to be flag. Test
52152 SPAWN_XFLAGS_USE_PATH flag to use path or not.
52153 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
52154 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
52155 * posix/spawni.c: Likewise.
52156 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
52157 * posix/spawnp.c: Likewise. Change normal version to use
52158 SPAWN_XFLAGS_USE_PATH.
52159 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
52160 SPAWN_XFLAGS_TRY_SHELL.
52163 * posix/glob.h: Remove gcc 1.x support.
52166 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
52168 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52170 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52171 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
52173 * sysdeps/i386/i686/multiarch/strchr.S: New file.
52174 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
52175 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
52176 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
52177 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
52178 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
52180 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52182 * sysdeps/x86_64/wcscmp.S: New file.
52184 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
52185 wcscmp-c wcscmp-sse2
52186 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
52187 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
52188 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
52189 * wcsmbs/wcscmp.c: Allow renaming.
52191 2011-09-05 David S. Miller <davem@davemloft.net>
52193 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
52194 stack slot, rather than the struct return pointer slot.
52195 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
52196 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
52197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
52198 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
52200 2011-09-05 Ulrich Drepper <drepper@gmail.com>
52202 * po/ja.po: Update from translation team.
52205 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
52206 kernel in 64-bit binaries.
52208 2011-09-01 David S. Miller <davem@davemloft.net>
52210 * elf/elf.h (HWCAP_SPARC_*): Move to..
52211 * sysdeps/sparc/sysdep.h: this new file and add new values.
52212 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
52213 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
52214 _DL_HWCAP_COUNT to 24.
52215 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52217 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
52218 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
52219 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
52220 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
52221 instead of magic constants.
52222 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52224 2011-08-31 David S. Miller <davem@davemloft.net>
52226 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
52227 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
52228 Reimplement to do errno handling inline.
52229 (SYSCALL_ERROR_HANDLER): New macro.
52230 (__SYSCALL_STRING): Do not do errno handling in asm.
52231 (__CLONE_SYSCALL_STRING): Delete.
52232 (__INTERNAL_SYSCALL_STRING): Delete.
52233 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
52234 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
52235 (PSEUDO): Reimplement to do errno handling inline.
52236 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
52237 (SYSCALL_ERROR_HANDLER): New macro.
52238 (__SYSCALL_STRING): Do not do errno handling in asm.
52239 (__CLONE_SYSCALL_STRING): Delete.
52240 (__INTERNAL_SYSCALL_STRING): Delete.
52241 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
52242 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
52244 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
52245 (inline_syscall*): Add 'err' argument.
52246 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
52247 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
52248 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
52249 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
52251 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
52252 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52254 2011-08-30 Andreas Schwab <schwab@redhat.com>
52256 * elf/rtld.c (dl_main): Relocate objects in dependency order.
52258 2011-08-29 Jiri Olsa <jolsa@redhat.com>
52260 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
52263 2011-08-24 David S. Miller <davem@davemloft.net>
52265 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
52267 2011-08-24 Andreas Schwab <schwab@redhat.com>
52269 * elf/Makefile: Add rules to build and run unload8 test.
52270 * elf/unload8.c: New file.
52271 * elf/unload8mod1.c: New file.
52272 * elf/unload8mod1x.c: New file.
52273 * elf/unload8mod2.c: New file.
52274 * elf/unload8mod3.c: New file.
52276 * elf/dl-close.c (_dl_close_worker): Reset private search list if
52279 2011-08-23 David S. Miller <davem@davemloft.net>
52281 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
52282 subtract stack bias.
52283 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
52284 %sp not %fp in calculations.
52285 (_JMPBUF_UNWINDS_ADJ): Likewise.
52287 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
52288 (aio_suspend): Call it to force an exception region around the
52289 AIO_MISC_WAIT() invocation.
52291 2011-08-23 Andreas Schwab <schwab@redhat.com>
52293 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
52296 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
52298 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
52300 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
52301 and <dl-machine.h>.
52302 (Elf64_FuncDesc): Remove.
52304 2011-08-22 David S. Miller <davem@davemloft.net>
52306 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
52307 sigaltstack check, add missing cfi directives.
52308 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
52309 missing cfi directives, and sigaltstack handling.
52311 2011-08-16 Andreas Schwab <schwab@redhat.com>
52314 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
52315 object is seen twice.
52316 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52318 * elf/Makefile (distribute): Add tst-initorder2.c.
52319 (tests): Add tst-initorder2.
52320 (modules-names): Add tst-initorder2a tst-initorder2b
52321 tst-initorder2c tst-initorder2d. Add rules to build them.
52322 ($(objpfx)tst-initorder2.out): New rule.
52323 * elf/tst-initorder2.c: New file.
52324 * elf/tst-initorder2.exp: New file.
52326 2011-08-22 Andreas Schwab <schwab@redhat.com>
52328 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
52330 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
52331 dependencies back to end of function.
52333 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52334 $(elfobjdir)/ld.so.
52336 2011-08-21 Ulrich Drepper <drepper@gmail.com>
52338 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
52339 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
52340 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
52341 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
52342 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
52343 of __vdso_gettimeofday.
52344 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
52345 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
52347 (_libc_vdso_platform_setup): Remove initialization of
52348 __vdso_gettimeofday and __vdso_time.
52350 2011-08-20 Ulrich Drepper <drepper@gmail.com>
52352 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
52353 and fgetc_unlocked.
52354 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
52357 * elf/dl-open.c (add_to_global): Report additions to the global scope
52358 for LD_DEBUG=scopes.
52359 (dl_open_worker): Also print scope of newly loaded dependencies.
52360 (_dl_show_scope): Indicate if there is no scope.
52363 * stdio-common/Makefile (tests): Add bug24.
52364 * stdio-common/bug24.c: New file.
52366 2011-08-19 Andreas Jaeger <aj@suse.de>
52369 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
52370 non-existant file when using close-on-exec mode.
52372 2011-08-20 Ulrich Drepper <drepper@gmail.com>
52374 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
52375 the very first instruction.
52377 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
52378 the CFI state in the end.
52379 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
52380 inclusion of dl-trampoline.h.
52381 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
52383 2011-08-19 Andreas Schwab <schwab@redhat.com>
52385 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
52386 expectations for long double.
52388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
52389 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
52391 2011-08-14 David S. Miller <davem@davemloft.net>
52393 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
52394 artificual limit depends upon the system page size.
52396 2011-08-17 Ulrich Drepper <drepper@gmail.com>
52398 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
52399 * resolv/Makefile: Define CFLAGS-libresolv.
52401 2011-08-17 Andreas Schwab <schwab@redhat.com>
52403 * nss/makedb.c (compute_tables): Make variables used in nested
52406 2011-08-17 Ulrich Drepper <drepper@gmail.com>
52408 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
52409 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
52410 if buffer was too small.
52412 * elf/pldd.c (main): Attach to all threads in the process.
52413 Rewrite /proc handling to use *at functions.
52415 2011-08-16 Ulrich Drepper <drepper@gmail.com>
52417 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
52418 specifies first scope to show.
52419 (dl_open_worker): Update callers. Move printing scope of new
52420 object to before the relocation.
52421 * elf/rtld.c (dl_main): Update _dl_show_scope call.
52422 * sysdeps/generic/ldsodefs.h: Update declaration.
52424 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
52425 string for the scope number.
52427 2011-08-14 Ulrich Drepper <drepper@gmail.com>
52429 * nscd/servicescache.c (cache_addserv): Make sure written is always
52432 2011-08-14 Roland McGrath <roland@hack.frob.com>
52434 * sysdeps/i386/i486/bits/atomic.h
52435 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
52436 statement expression, so as to suppress "set but not used" warning.
52437 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
52439 * string/strncat.c (STRNCAT): Use prototype definition.
52441 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
52442 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
52444 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
52445 (localedef-modules): Add localedef.
52446 (locale-modules): Add locale.
52448 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
52449 * elf/rtld.c (dl_main): Invert order of assignment in last change,
52450 to avoid a warning.
52452 2011-08-14 David S. Miller <davem@davemloft.net>
52454 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
52455 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
52457 2011-08-13 Ulrich Drepper <drepper@gmail.com>
52459 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
52460 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
52461 * elf/rtld.c (dl_main): Set l_name of vDSO.
52462 Call _dl_show_scope when DL_DEBUG_SCOPES.
52463 (process_dl_debug): Recognize scopes flag and also set it for all.
52464 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
52465 Declare _dl_show_scope.
52467 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
52468 (do_dlopen): Pass caller_dlopen to dl_open.
52469 (__libc_dlopen_mode): Initialize caller_dlopen.
52471 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
52472 of libc. Make tolower call locale-independent. Optimize a bit by
52473 using isdigit instead of isalnum.
52474 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
52476 2011-08-12 Ulrich Drepper <drepper@gmail.com>
52478 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
52479 was a dependency or dynamically loaded.
52481 2011-08-11 Ulrich Drepper <drepper@gmail.com>
52483 * intl/l10nflist.c: Allow architecture-specific pop function.
52484 * sysdeps/x86_64/l10nflist.c: New file.
52486 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
52489 2011-08-10 Andreas Schwab <schwab@redhat.com>
52491 * include/dirent.h: Add libc_hidden_proto for scandirat and
52492 scandirat64. Don't declare __scandirat64.
52493 * dirent/scandirat.c: Add libc_hidden_def.
52494 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
52495 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
52497 2011-08-10 David S. Miller <davem@davemloft.net>
52499 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
52501 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52502 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52503 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52505 2011-08-09 Ulrich Drepper <drepper@gmail.com>
52507 * Versions.def [libc]: Add GLIBC_2.15.
52508 * dirent/Makefile (routines): Add scandirat and scandirat64.
52509 * dirent/Versions [libc]: Export scandirat and scandirat64 for
52511 * dirent/dirent.h: Declare scandirat and scandirat64.
52512 * dirent/scandirat.c: New file.
52513 * dirent/scandirat64.c: New file.
52514 * sysdeps/wordsize-64/scandirat.c: New file.
52515 * sysdeps/wordsize-64/scandirat64.c: New file.
52516 * dirent/opendir.c: Define opendirat.
52517 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
52519 * dirent/scandir64.c: Adjust for scandir.c change.
52520 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
52521 __scandirat64, and __scandir_cancel_handler.
52522 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
52523 additional parameter and use openat instead of open (outside of ld.so).
52524 Add new __opendir as wrapper around __opendirat.
52525 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
52526 here without requiring old scandirat implementation.
52528 2011-08-08 Ulrich Drepper <drepper@gmail.com>
52530 * dirent/scandir.c (cancel_handler): Renamed to
52531 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
52532 defined. Adjust users.
52533 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
52534 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
52536 2011-08-04 Ulrich Drepper <drepper@gmail.com>
52538 * string/test-string.h (IMPL): Use __STRING to expand name and then
52541 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
52544 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52546 * string/Makefile: Update.
52547 (strop-tests): Append strncat.
52548 * string/test-wcscmp.c: New file.
52549 New comprehensive test for wcscmp.
52550 * string/test-strcmp.c: Update.
52551 (WIDE): New define.
52553 2011-07-22 Andreas Schwab <schwab@redhat.com>
52555 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
52558 2011-07-26 Andreas Schwab <schwab@redhat.com>
52560 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52561 encoding to ACE if AI_IDN.
52563 2011-08-01 Jakub Jelinek <jakub@redhat.com>
52565 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
52566 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
52568 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52570 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
52571 Fix overflow bug in strncat.
52572 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
52574 * string/test-strncat.c: Update.
52575 Add new tests for checking overflow bugs.
52577 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52579 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52580 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
52581 * sysdeps/i386/i686/multiarch/strcat.S: New file.
52582 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
52583 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
52584 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
52585 * sysdeps/i386/i686/multiarch/strncat.S: New file.
52586 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
52587 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
52589 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
52590 (USE_AS_STRCAT): Define.
52591 Add strcat and strncat support.
52592 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52594 2011-07-25 Andreas Schwab <schwab@redhat.com>
52596 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
52597 __n bigger than INT_MAX+1.
52598 (__strncmp_g): Likewise.
52600 2011-07-23 Ulrich Drepper <drepper@gmail.com>
52602 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
52603 * libio/stido.h: Likewise.
52605 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
52607 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
52610 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
52611 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52612 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52613 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
52614 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52617 * scripts/test-installation.pl: Don't expect libnss_test1 to be
52620 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
52622 (_dl_x86_64_save_sse): Likewise.
52624 2011-07-22 Ulrich Drepper <drepper@gmail.com>
52626 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
52628 (_dl_x86_64_save_sse): Likewise.
52630 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
52632 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
52634 2011-07-21 Andreas Schwab <schwab@redhat.com>
52636 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
52638 (_dl_x86_64_save_sse): Use correct AVX check.
52640 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52642 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
52643 bug in strncpy/strncat.
52644 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
52646 2011-07-21 Ulrich Drepper <drepper@gmail.com>
52648 * string/tester.c (test_strcat): Add tests for different alignments
52649 of source and destination.
52650 (test_strncat): Likewise.
52652 2011-07-20 Ulrich Drepper <drepper@gmail.com>
52655 * posix/glob.c (glob): Check passed in values before using them in
52656 expressions to avoid some overflows.
52657 (glob_in_dir): Likewise.
52660 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
52661 check for AVX enablement so that we don't crash with old kernels and
52663 * elf/tst-audit4.c: Add same checks here.
52664 * elf/tst-audit6.c: Likewise.
52666 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
52668 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
52670 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
52672 2011-07-20 Ulrich Drepper <drepper@gmail.com>
52674 * po/cs.po: Update from translation team.
52675 * po/bg.po: Likewise.
52677 2011-07-12 Marek Polacek <mpolacek@redhat.com>
52679 * misc/sys/cdefs.h: Add support for const attribute.
52680 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
52681 to gnu_dev_{major,minor,makedev} functions.
52683 2011-07-20 Marek Polacek <mpolacek@redhat.com>
52685 * intl/dcigettext.c (get_output_charset): Add missing bracket.
52687 2011-07-20 Andreas Schwab <schwab@redhat.com>
52689 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
52692 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52694 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
52695 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
52696 register in order to avoid conflicts with the soft frame pointer
52697 being held in r11 when necessary.
52698 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
52699 (INTERNAL_VSYSCALL_NCS): Likewise.
52701 2011-07-14 Marek Polacek <mpolacek@redhat.com>
52703 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
52704 * elf/dl-fini.c (_dl_fini): Adjust caller.
52705 * elf/dl-close.c (_dl_close_worker): Likewise.
52706 * sysdeps/generic/ldsodefs.h: Adjust declaration.
52708 2011-07-15 Marek Polacek <mpolacek@redhat.com>
52710 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
52711 "aux_cache->nlibs < 0".
52713 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
52714 in the reload-count case.
52716 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52718 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52719 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
52720 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
52721 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
52722 * sysdeps/x86_64/multiarch/strcat.S: New file.
52723 * sysdeps/x86_64/multiarch/strncat.S: New file.
52724 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
52725 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
52726 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
52727 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
52728 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
52729 (USE_AS_STRCAT): Define.
52730 Add strcat and strncat support.
52731 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52732 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
52733 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
52734 * string/strncat.c: Update.
52735 (USE_AS_STRNCAT): Define.
52736 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52737 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
52739 * sysdeps/x86_64/multiarch/init-arch.h
52740 (bit_Prefer_PMINUB_for_stringop): New.
52741 (index_Prefer_PMINUB_for_stringop): Likewise.
52742 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
52743 bit_Prefer_PMINUB_for_stringop.
52745 2011-07-19 Ulrich Drepper <drepper@gmail.com>
52747 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
52749 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
52750 of casting of buffer.
52751 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
52752 buffer32 and buffer64.
52753 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
52754 writes instead of casting of buffer.
52755 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
52757 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
52760 2011-07-19 Andreas Schwab <schwab@redhat.com>
52762 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
52764 2011-07-19 Ulrich Drepper <drepper@gmail.com>
52766 * nscd/nscd.c (termination_handler): Don't do anything for a database
52767 if it has not yet been initialized.
52769 2011-07-18 Ulrich Drepper <drepper@gmail.com>
52771 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52773 2011-07-15 Marek Polacek <mpolacek@redhat.com>
52775 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52777 2011-07-18 Ulrich Drepper <drepper@gmail.com>
52779 * po/nl.po: Update from translation team.
52780 * po/sv.po: Likewise.
52782 2011-07-16 Roland McGrath <roland@hack.frob.com>
52784 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
52785 now disallowed by GCC.
52787 * configure.in (use-default-link): Default to yes if a test -shared
52788 link meets our qualifications.
52789 * configure: Regenerated.
52791 * config.make.in (output-format): New variable.
52792 * configure.in: Check for ld --print-output-format support.
52793 * configure: Regenerated.
52794 * Makerules ($(common-objpfx)format.lds)
52795 [$(output-format) != unknown]: Just use $(output-format),
52796 instead of the linker-script munging.
52798 2011-07-14 Roland McGrath <roland@hack.frob.com>
52800 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
52801 of $(common-objpfx)shlib.lds.
52802 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
52804 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
52805 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
52807 * configure.in (-z relro check): Adjust test code to add a large
52808 writable data section after it.
52809 * configure: Regenerated.
52811 2011-07-11 Roland McGrath <roland@hack.frob.com>
52813 * configure.in (-z relro check): Fix test code to make the variable
52815 * configure: Regenerated.
52817 2011-07-11 Ulrich Drepper <drepper@gmail.com>
52819 * nscd/nscd.h (struct traced_file): Define.
52820 (struct database_dyn): Remove inotify_descr, reset_res, and filename
52821 elements. Add traced_files.
52822 (inotify_fd): Declare.
52823 (register_traced_file): Declare.
52824 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
52825 (inotify_fd): Export.
52826 (resolv_conf_descr): Remove.
52827 (nscd_init): Move inotify descriptor creation to main.
52828 Don't register files for notification here.
52829 (register_traced_file): New function.
52830 (invalidate_cache): Don't use reset_res to determine whether to call
52831 res_init, go through the list of registered files.
52832 (main_loop_poll): The inotify descriptors are now stored in the
52833 structures for the traced files.
52834 (main_loop_epoll): Likewise
52835 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
52836 to __nss_disable_nscd.
52837 * nscd/cache.c (prune_cache): There is no single inotify descriptor
52838 for a database anymore. Check the records for all the registered
52840 * nss/Makefile (libnss_files-routines): Add files-init.
52841 (libnss_db-routines): Add db-init.
52842 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
52843 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
52844 * nss/nss_db/db-init.c: New file.
52845 * nss/nss_files/files-init.c: New file.
52846 * nss/nsswitch.c (nss_load_library): New function. Broken out of
52847 __nss_lookup_function.
52848 (__nss_lookup_function): Call nss_load_library.
52849 (nss_load_all_libraries): New function.
52850 (__nss_disable_nscd): Take parameter with callback function for files
52851 to register. Set is_nscd. Load all the DSOs for the NSS modules
52852 used for the cached services.
52853 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
52854 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
52855 options for features to all the files in nscd.
52857 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
52859 2011-07-10 Roland McGrath <roland@hack.frob.com>
52861 * csu/elf-init.c (__libc_csu_init): Comment typo.
52863 2011-07-09 Ulrich Drepper <drepper@gmail.com>
52865 * po/pl.po: Update from translation team.
52866 * po/ja.po: Likewise.
52867 * po/ru.po: Likewise.
52868 * po/ko.po: Likewise.
52869 * po/fr.po: Likewise.
52871 2011-07-09 Roland McGrath <roland@hack.frob.com>
52873 * configure.in (.ctors/.dtors header and trailer check):
52874 Use an empirical test on a built program.
52875 * configure: Regenerated.
52877 * configure.in (-z relro check): Use an empirical test on a built DSO.
52878 Detect, but do not require, on ia64.
52879 * configure: Regenerated.
52881 * configure.in (READELF): Find it with AC_CHECK_TOOL.
52882 Update tests that use readelf to use $READELF instead.
52883 * configure: Regenerated.
52885 2011-07-08 Ulrich Drepper <drepper@gmail.com>
52887 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
52888 if the result is not used.
52890 2011-07-05 Andreas Jaeger <aj@suse.de>
52893 * stdlib/tst-strtod.c: Add testcase.
52895 2011-07-07 Ulrich Drepper <drepper@gmail.com>
52897 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
52898 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
52899 The latter has a higher limit. Take additional parameter to pass to
52901 (__pathconf): Pass file to __statfs_link_max.
52902 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
52904 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
52908 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
52909 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52911 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
52912 (__statfs_filesize_max): Likewise.
52913 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
52915 2011-07-05 Andreas Jaeger <aj@suse.de>
52917 * resolv/res_comp.c (dn_skipname): Remove unused variable.
52919 2011-07-06 Marek Polacek <mpolacek@redhat.com>
52921 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
52923 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
52926 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
52928 * Makefile (strop-tests): Add strncat.
52929 * string/test-strncat.c: New file.
52931 2011-06-30 Marek Polacek <mpolacek@redhat.com>
52933 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
52935 2011-06-21 Andreas Jaeger <aj@suse.de>
52937 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
52938 Copy rule from iconvdata/Makefile.
52940 2011-07-06 Ulrich Drepper <drepper@gmail.com>
52943 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
52944 but no long options are defined, just return 'W'.
52946 2011-06-22 Marek Polacek <mpolacek@redhat.com>
52949 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
52951 2011-07-06 Ulrich Drepper <drepper@gmail.com>
52953 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
52955 (innetgr): Likewise.
52957 2011-07-05 Roland McGrath <roland@hack.frob.com>
52959 * config.make.in (install_root): Default to $(DESTDIR).
52961 2011-07-05 Ulrich Drepper <drepper@gmail.com>
52963 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
52965 2011-07-02 Roland McGrath <roland@hack.frob.com>
52967 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
52969 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
52970 containing directory rather than embedding absolute directory names.
52972 * scripts/check-local-headers.sh: Rewritten using awk.
52973 Match by word, not by line. Print error messages for matches.
52974 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
52976 * Makerules [shlib-lds-flags empty]:
52977 ($(common-objpfx)libc_pic.opts): New target.
52978 ($(common-objpfx)libc_pic.os.clean): New target.
52979 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
52981 * config.make.in (OBJCOPY): New variable.
52982 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
52983 * configure: Regenerated.
52985 * config.make.in (use-default-link): New variable.
52986 * configure.in (use_default_link): Grok --with-default-link to set it.
52987 * configure: Regenerated.
52988 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
52989 (shlib-lds, shlib-lds-flags): Define to empty.
52991 * Makerules (shlib-lds): New variable.
52992 (shlib-lds-flags): New variable.
52993 (build-shlib, build-moduile, build-module-asneeded): Use it.
52994 ($(common-objpfx)libc.so): Use $(shlib-lds).
52995 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
52996 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
52998 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
52999 DT_FLAGS/DT_FLAGS_1 with zero flags.
53001 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
53002 linker script munging.
53004 2011-07-02 Ulrich Drepper <drepper@gmail.com>
53006 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
53008 * crypt/sha512.c (sha512_process_block): Perform total addition using
53009 128-bit if possible.
53010 (__sha512_finish_ctx): Likewise.
53011 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
53013 * crypt/sha256.c (SWAP64): Define.
53014 (sha256_process_block): Perform total addition using 64-bit if
53016 (__sha256_finish_ctx): Likewise.
53018 2011-07-01 Ulrich Drepper <drepper@gmail.com>
53020 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
53021 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53022 * nscd/hstcache.c (cache_addhst): Likewise.
53023 * nscd/grpcache.c (cache_addgr): Likewise.
53024 * nscd/aicache.c (addhstaiX): Likewise
53025 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
53027 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
53029 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
53030 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53031 * nscd/hstcache.c (cache_addhst): Likewise.
53032 * nscd/grpcache.c (cache_addgr): Likewise.
53033 * nscd/aicache.c (addhstaiX): Likewise
53035 2011-07-01 Andreas Schwab <schwab@redhat.com>
53037 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
53038 domain only when needed.
53040 2011-06-30 Andreas Schwab <schwab@redhat.com>
53042 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
53043 is always restored.
53045 2011-06-29 Ulrich Drepper <drepper@gmail.com>
53047 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
53048 are re-adding the entry.
53049 * nscd/servicescache.c (cache_addserv): Likewise.
53051 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
53053 * sysdeps/generic/dl-irel.h: fix protection against multiple
53055 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
53057 2011-06-28 Ulrich Drepper <drepper@gmail.com>
53060 * malloc/memusage.sh: Fix quoting in message.
53061 * debug/xtrace.sh: Likewise.
53063 * configure.in: Remove support for --experimental-malloc option, make
53065 * config.make.in: Likewise.
53066 * malloc/Makefile: Likewise.
53068 2011-06-27 Andreas Schwab <schwab@redhat.com>
53070 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
53071 two-byte characters.
53073 2011-06-27 Roland McGrath <roland@hack.frob.com>
53075 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
53076 AC_CACHE_CHECK invocation.
53077 * configure: Regenerated.
53079 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
53081 2011-06-27 Ulrich Drepper <drepper@gmail.com>
53084 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
53085 bit from old_res_options.
53087 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
53089 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
53090 value type for setfct.
53092 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
53094 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53095 __gettimeofday instead of gettimeofday.
53097 2011-06-26 Ulrich Drepper <drepper@gmail.com>
53099 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
53101 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
53103 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
53105 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
53108 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53110 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53111 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53112 strcpy-sse2-unaligned strncpy-sse2-unaligned
53113 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
53114 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
53115 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
53116 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
53117 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
53118 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
53119 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
53120 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
53121 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
53122 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
53123 (STRCPY): Support SSE2 and SSSE3 versions.
53125 2011-06-24 Ulrich Drepper <drepper@gmail.com>
53128 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
53129 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
53130 kernels which artificially limit size of requests.
53132 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53134 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53135 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53136 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
53137 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
53138 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
53139 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
53140 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
53141 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
53142 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
53143 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
53144 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
53145 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
53146 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
53147 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
53148 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
53149 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53150 Enable unaligned load optimization for Intel Core i3, i5 and i7
53152 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
53154 (index_Fast_Unaligned_Load): Define.
53155 (HAS_FAST_UNALIGNED_LOAD): Define.
53157 2011-06-23 Marek Polacek <mpolacek@redhat.com>
53159 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
53161 2011-06-22 Ulrich Drepper <drepper@gmail.com>
53164 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
53165 until it is clear that the information is realy needed.
53166 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
53168 2011-06-22 Andreas Schwab <schwab@redhat.com>
53170 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
53172 2011-06-22 Ulrich Drepper <drepper@gmail.com>
53174 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53175 /sys/devices/system/cpu/online if it is usable.
53177 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
53178 reading the information from the /proc filesystem to once a second.
53180 2011-06-21 Andreas Jaeger <aj@suse.de>
53182 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
53183 NULL after inclusion of kernel headers.
53185 2011-06-21 Ulrich Drepper <drepper@gmail.com>
53187 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
53188 calls to internal_setent.
53191 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
53192 addresses using gethostbyname4_r ignore IPv4 addresses.
53194 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
53195 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
53197 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
53199 2011-06-20 David S. Miller <davem@davemloft.net>
53201 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
53203 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
53205 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
53206 (elf_irel): Use it.
53207 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
53208 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
53209 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
53210 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
53211 * sysdeps/x86_64/dl-irel.h: Likewise.
53213 * elf/dl-runtime.c: Use elf_ifunc_invoke.
53214 * elf/dl-sym.c: Likewise.
53216 2011-06-15 Ulrich Drepper <drepper@gmail.com>
53218 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
53219 need to dereference resplen2.
53221 2011-06-14 Andreas Schwab <schwab@redhat.com>
53223 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
53225 2011-06-15 Ulrich Drepper <drepper@gmail.com>
53227 * Makeconfig: Define vardbdir and inst_vardbdir.
53228 * nss/Makefile: Add rules to install db-Makefile.
53230 * nss/nss_db/db-XXX.c: Cleanup.
53232 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
53233 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
53235 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
53236 * nss/makedb.c: Implement -g option to specify that value strings
53237 are generated and should not be added to table iterated over for
53239 * nss/nss_db/db-initgroups.c: New file.
53241 * nss/getent.c: Add support for initgroups lookups through getgrouplist
53244 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
53245 (internal_getgrouplist): Adjust to name change.
53246 Update use_initgroups_entry if this is not the first call.
53247 * nss/databases.def: Add initgroups entry.
53249 * nss/makedb.c (compute_tables): Check result of multiple hash table
53250 sizes to minimize maximum chain length.
53252 2011-06-14 Ulrich Drepper <drepper@gmail.com>
53254 * Versions.def: Add entry for libnss_db.
53255 * shlib-versions: Likewise.
53256 * nss/Makefile: Add rules to build libnss_db.
53257 * nss/Versions: Add libnss_db information. Organize libnss_files
53259 * nss/db-Makefile: Add gshadow support. Change rules for the new
53260 makedb progra. Some minor improvements to generate smaller files.
53261 * nss/nss_db/nss_db.h: Move NSS database header data structures to
53263 * nss/makedb.c: ...here.
53264 Improve database format to be smaller and require less memory at
53266 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
53268 * nss/nss_db/db-netgrp.c: Likewise.
53269 * nss/nss_db/db-open.c: Likewise.
53270 * nss/nss_files/flies-XXX.x: Adjust comments.
53271 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
53272 * nss/nss_files/files-grp.c: Likewise.
53273 * nss/nss_files/files-hosts.c: Likewise.
53274 * nss/nss_files/files-network.c: Likewise.
53275 * nss/nss_files/files-proto.c: Likewise.
53276 * nss/nss_files/files-pwd.c: Likewise.
53277 * nss/nss_files/files-rpc.c: Likewise.
53278 * nss/nss_files/files-service.c: Likewise.
53279 * nss/nss_files/files-sgrp.c: Likewise.
53280 * nss/nss_files/files-spwd.c: Likewise.
53281 * nss/nss_db/db-alias.c: Removed.
53282 * nss/nss_db/dummy-db.h: Removed.
53284 2011-06-02 Ulrich Drepper <drepper@gmail.com>
53286 * nss/makedb.c: Rewritten to not use database library.
53287 * nss/Makefile: Update to build new makedb program.
53289 2011-06-14 Andreas Jaeger <aj@suse.de>
53291 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
53292 memset declaration.
53294 2011-06-10 Andreas Schwab <schwab@redhat.com>
53296 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
53299 2011-06-10 Roland McGrath <roland@hack.frob.com>
53301 * Makerules (shlib.lds): Fail if the linker script comes out empty.
53302 * elf/Makefile ($(objpfx)ld.so): Likewise.
53304 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
53305 Don't list ld.so twice in dependencies.
53307 * posix/bug-regex31.c: Include <stdlib.h>.
53309 * nscd/hstcache.c (cache_addhst): Remove unused variable.
53311 * nis/nss_compat/compat-spwd.c
53312 (getspent_next_nss_netgr): Remove unused variable.
53313 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
53315 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
53316 nonmembers" output to use the right array.
53318 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
53320 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
53322 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
53323 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
53324 * catgets/gencat.c (read_input_file): Likewise.
53325 * locale/programs/locarchive.c (enlarge_archive): Likewise.
53327 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
53328 variable definition inside #if's controlling its use.
53330 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
53332 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
53334 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
53336 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
53339 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
53341 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
53342 * configure: Regenerated.
53344 * Makerules: Revert last change.
53345 * elf/Makefile: Likewise.
53347 2011-06-09 Roland McGrath <roland@hack.frob.com>
53349 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
53350 * elf/Makefile ($(objpfx)librtld.os): Likewise.
53351 (reloc-link): Likewise.
53353 2011-06-09 Ulrich Drepper <drepper@gmail.com>
53355 * elf/Makefile: Add rules to build pldd.
53356 * elf/pldd.c: New file.
53357 * elf/pldd-xx.c: New file.
53359 2011-06-07 Ulrich Drepper <drepper@gmail.com>
53361 * version.h: Update for 2.15 development version.
53363 2011-06-07 David S. Miller <davem@davemloft.net>
53365 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
53367 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
53368 elf_machine_lazy_rel): Likewise.
53369 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53370 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
53371 elf_machine_lazy_rel): Likewise.
53372 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
53373 dl_hwcap via passed in argument.
53374 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
53377 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53379 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
53381 2011-06-06 Roland McGrath <roland@hack.frob.com>
53384 * manual/fdl-1.1.texi: New file, verbatim from:
53385 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
53386 * manual/lgpl-2.1.texi: New file, verbatim from:
53387 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
53388 * manual/Makefile (licenses): New variable, list those new file names.
53390 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
53392 * manual/fdl.texi: File removed.
53393 * manual/lesser.texi: File removed.
53394 * manual/libc.texinfo (Copying, Documentation License):
53395 Use new @include file names, put @appendix directive before @include.
53397 2011-06-04 Jakub Jelinek <jakub@redhat.com>
53400 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
53401 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
53402 (mq_open): Add __NTH.
53404 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
53406 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53407 Assume Intel Core i3/i5/i7 processor if AVX is available.
53409 2011-05-31 Ulrich Drepper <drepper@gmail.com>
53411 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53414 2011-05-31 Andreas Schwab <schwab@redhat.com>
53416 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
53417 memory. Use alloca_account. Fix memory leak when retrying.
53419 2011-05-31 Ulrich Drepper <drepper@gmail.com>
53421 * version.h (RELEASE): Bump for 2.14 release.
53422 * include/features.h (__GLIBC_MINOR__): Bump to 14.
53424 * config.make.in (RANLIB): Remove entry.
53426 2011-05-30 Ulrich Drepper <drepper@gmail.com>
53428 * po/Makefile (po-sed-cmd): Add ksh to extensions.
53429 (libc.pot): Work around missing support for .ksh extension in xgettext.
53432 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
53433 if both request failed.
53434 (send_dg): In case of server errors clear resplen or *resplen2.
53437 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
53438 when there are multiple maps.
53439 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
53440 (_dl_fini): Remove test here.
53442 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
53444 2011-05-29 Ulrich Drepper <drepper@gmail.com>
53447 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
53448 bit from old_res_options.
53449 (gaih_inet): Likewise.
53452 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
53455 * resolv/res_init.c (res_setoptions): Make the code more compact.
53458 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
53462 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
53464 * malloc/malloc.h: Mark malloc hook variables as deprecated.
53467 * malloc/malloc.h: Declare malloc hook variables as volatile.
53469 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
53473 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
53474 raise in the comment.
53475 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53476 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53477 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
53479 2011-05-28 Ulrich Drepper <drepper@gmail.com>
53482 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
53483 grow the buffers more if it already has to be sufficient.
53484 (build_wcs_upper_buffer): Likewise.
53485 * posix/regexec.c (check_matching): Likewise.
53486 (clean_state_log_if_needed): Likewise.
53487 (extend_buffers): Don't enlarge buffers beyond size of the input
53489 Patches mostly by Emil Wojak <emil@wojak.eu>.
53490 * posix/bug-regex32.c: New file.
53491 * posix/Makefile (tests): Add bug-regex32.
53493 * locale/findlocale.c (_nl_find_locale): Return right away if
53494 _nl_explode_name failed.
53495 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
53497 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
53499 * debug/xtrace.sh: Unify messages.
53500 * malloc/memusage.sh: Likewise.
53503 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
53504 time symbol from vDSO. Substitute with vsyscall if not available.
53505 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
53508 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
53509 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
53510 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
53511 Add sendmmsg and internal_sendmmsg.
53512 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
53513 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
53514 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
53516 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
53517 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
53518 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
53520 2011-05-27 Ulrich Drepper <drepper@gmail.com>
53523 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
53524 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
53526 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
53530 * iconvdata/Makefile (tests): Add bug-iconv9.
53531 * iconvdata/bug-iconv9.c: New file.
53533 2011-05-27 Andreas Schwab <schwab@redhat.com>
53536 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
53538 2011-05-25 Jakub Jelinek <jakub@redhat.com>
53540 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53541 (struct user_regs_struct): Change intcs field back to cs.
53543 2011-05-25 Ulrich Drepper <drepper@gmail.com>
53545 * po/ja.po: Update from translation team.
53547 2011-05-23 Ulrich Drepper <drepper@gmail.com>
53550 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
53551 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
53553 2011-05-20 Andreas Schwab <schwab@redhat.com>
53555 * stdlib/longlong.h: Update from GCC.
53557 2011-05-23 Andreas Schwab <schwab@redhat.com>
53559 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
53561 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
53562 Add parameter name.
53563 (__sysconf): Pass it down.
53565 2011-05-22 Ulrich Drepper <drepper@gmail.com>
53568 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
53570 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
53571 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
53572 add in in __libc_use_alloca calls. Adjust callers.
53573 (glob): Use malloc in some situations.
53575 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
53576 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
53579 2011-05-21 Ulrich Drepper <drepper@gmail.com>
53581 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
53582 and CLOCK_BOOTTIME_ALARM.
53585 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
53588 * string/_strerror.c (__strerror_r): Print negative errors as signed
53592 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
53593 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
53594 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
53596 * configure.in: Fix typo in redirection and correct removal of test
53597 files in two cases.
53600 * locale/setlocale.c (new_composite_name): Fix test to check for
53601 identical name of all categories.
53604 * libio/filedoalloc.c (local_isatty): New function.
53605 (_IO_file_doallocate): Use local_isatty.
53606 * stdio-common/perror.c (perror): In case a new stream is used
53607 forward the stream error.
53608 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
53611 2011-05-20 Ulrich Drepper <drepper@gmail.com>
53614 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
53616 * include/alloca.h (extend_alloca_account): Define.
53619 * posix/regex.h: Fix comments with documentation of user-accessible
53620 fields after compilation and describe correct free'ing of pattern
53621 after re_compile_pattern.
53622 Patch by Reuben Thomas <rrt@sc3d.org>.
53624 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
53626 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
53627 and -mno-altivec to prevent the compiler from using Altivec and/or
53628 VSX instructions when the corresponding registers are not available.
53630 2011-05-19 Andreas Schwab <schwab@redhat.com>
53632 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
53634 2011-05-19 Ulrich Drepper <drepper@gmail.com>
53636 * libio/freopen.c (freopen): Use __dup2, not dup2.
53637 * libio/freopen64.c (freopen64): Likewise.
53639 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
53642 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
53643 * math/Makefile (tests): Add test-powl.
53644 (CFLAGS-test-powl.c): Define.
53645 * math/test-powl.c: New file.
53647 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
53649 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
53651 2011-05-17 Ulrich Drepper <drepper@gmail.com>
53654 * iconvdata/gb18030.c: Update to GB18020-2005.
53656 2011-05-16 Ulrich Drepper <drepper@gmail.com>
53658 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
53659 RE_SYNTAX_POSIX_AWK): Update to match recent development.
53660 Patch by Aharon Robbins <arnold@skeeve.com>.
53663 * stdlib/putenv.c (putenv): Don't always create copy of the variable
53667 * misc/pselect.c (__pselect): Handle timeout value errors hidden
53668 through underflows.
53671 * misc/error.c (error_at_line): Ensure file_name and old_file_name
53672 point to strings before performing equality test for error_one_per_line
53676 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
53679 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53680 (struct user_fpregs_struct): Avoid __uint*_t types.
53683 * malloc/mtrace.c (tr_where): Add additional parameter to point to
53684 symbol info. Use it instead of calling _dl_addr locally.
53685 (lock_and_info): New function.
53686 (tr_freehook): Call lock_and_info and pass symbol info as additional
53687 parameter to tr_where.
53688 (tr_mallochook): Likewise.
53689 (tr_reallochook): Likewise.
53690 (tr_memalignhook): Likewise.
53692 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
53693 used and couldn't be at all thread-safe.
53695 2011-05-15 Ulrich Drepper <drepper@gmail.com>
53697 * libio/freopen.c (freopen): Don't close old file descriptor
53698 before the new one is opened. Instead dup the new file descriptor
53699 to the old one after the new stream is created.
53700 * libio/freopen64.c (freopen64): Likewise.
53701 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
53702 * libio/fileops.c (_IO_new_file_close_it): Handle new
53703 _IO_FLAGS2_NOCLOSE flag.
53704 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
53705 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
53706 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
53707 _IO_FLAGS2_NOCLOSE flag.
53708 * include/unistd.h: Add hidden_proto for dup3.
53709 Define __have_dup3.
53710 * io/dup3.c: Define hidden symbol.
53711 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
53714 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
53715 when an incomplete long option is used.
53716 * posix/tst-getopt_long1.c: New file.
53717 * posix/Makefile (tests): Add tst-getopt_long1.
53720 * scripts/config.guess: Update from autoconf-2.68.
53721 * scripts/config.sub: Likewise.
53724 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
53726 (has_cpuclock): ...this. New function.
53727 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
53728 macro here based on has_cpuclock code.
53731 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53732 First byte (not low byte) is now always NUL.
53733 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
53735 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53736 Use non-cancelable interfaces.
53739 * locale/iso-639.def: Add entry for Sorani.
53742 * include/stdlib.h: Move include protection to the right place.
53743 Define abort_msg_s. Declare __abort_msg with it.
53744 * stdlib/abort.c (__abort_msg): Adjust type.
53745 * assert/assert.c (__assert_fail_base): New function. Majority
53746 of code from __assert_fail. Allocate memory for __abort_msg with
53748 (__assert_fail): Now call __assert_fail_base.
53749 * assert/assert-perr.c: Remove bulk of implementation. Use
53750 __assert_fail_base.
53751 * include/assert.hL Declare __assert_fail_base.
53752 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
53754 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
53756 2011-05-14 Ulrich Drepper <drepper@gmail.com>
53760 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
53761 until all modules are registered in the DTV.
53762 * elf/Makefile: Add rules to build and run tst-tls19.
53763 * elf/tst-tls19.c: New file.
53764 * elf/tst-tls19mod1.c: New file.
53765 * elf/tst-tls19mod2.c: New file.
53766 * elf/tst-tls19mod3.c: New file.
53767 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
53770 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
53774 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
53775 two-byte sequence errors.
53776 * iconvdata/Makefile (tests): Add bug-iconv8.
53777 * iconvdata/bug-iconv8.c: New file.
53780 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
53783 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
53786 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
53787 (dummy_getcfa): New function.
53788 (init): Get _Unwind_GetCFA address, use dummy if not found.
53789 (backtrace_helper): In recursion check, also check whether CFA changes.
53790 (__backtrace): Completely initialize arg.
53792 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
53793 storing incomplete byte sequence in state object. Avoid testing for
53794 guaranteed too small input if we know there is enough data available.
53796 2011-05-11 Andreas Schwab <schwab@redhat.com>
53798 * Makeconfig (+link-pie): Indent.
53799 * Rules (binaries-pie): Define if $(have-fpie) and
53801 (binaries-shared): Also filter out $(binaries-pie).
53802 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
53803 * nscd/Makefile (others-pie): Add nscd.
53804 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
53805 ($(objpfx)nscd): Remove command override.
53806 * login/Makefile (others-pie): Add pt_chown.
53807 ($(objpfx)pt_chown): Remove command override.
53808 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
53809 remove command overrides.
53811 2011-05-13 Ulrich Drepper <drepper@gmail.com>
53813 * libio/tst_putwc.c: Fix error messages.
53816 * libio/fileops.c (_IO_new_file_close_it): Always flush when
53817 currently writing and seek to current position when not.
53818 * libio/Makefile (tests): Add bug-fclose1.
53819 * libio/bug-fclose1.c: New file.
53821 2011-05-12 Ulrich Drepper <drepper@gmail.com>
53824 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
53825 don't set DF_1_NODELETE here.
53826 (do_lookup_x): When entering new entry test for copy relocation
53827 and if necessary set DF_1_NODELETE flag.
53828 * elf/tst-unique4.cc: New file.
53829 * elf/tst-unique4.h: New file.
53830 * elf/tst-unique4lib.cc: New file.
53831 * elf/Makefile: Add rules to build and run tst-unique4.
53832 Patch by Piotr Bury <pbury@goahead.com>.
53834 2011-05-11 Ulrich Drepper <drepper@gmail.com>
53837 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
53840 * misc/mntent_r.c (addmntent): Flush the stream after the output
53843 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
53844 (is_trusted_path_normalize): Skip initial colon. Append slash
53845 to empty buffer. Duplicate is_trusted_path code but allow
53846 constructed patch to be prefix.
53847 (is_dst): Allow $ORIGIN followed by /.
53848 (_dl_dst_substitute): Correct clearing of check_for_trusted.
53849 Correct testing of result of is_trusted_path_normalize
53850 (decompose_rpath): Fix warning.
53852 2011-05-10 Ulrich Drepper <drepper@gmail.com>
53855 * grp/initgroups.c (internal_getgrouplist): When we found the service
53856 list through the initgroups entry in nsswitch.conf do not always
53857 continue on a successful lookup. Don't always use the
53858 __nss_group_database value if it is set.
53859 * nss/nsswitch.conf (initgroups): Change action for successful db
53860 lookup to continue for compatibility.
53862 2011-05-09 Ulrich Drepper <drepper@gmail.com>
53865 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
53867 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
53869 * iconvdata/tst-tables.sh: Likewise.
53870 * iconvdata/cp770.c: New file.
53871 * iconvdata/cp771.c: New file.
53872 * iconvdata/cp772.c: New file.
53873 * iconvdata/cp773.c: New file.
53874 * iconvdata/cp774.c: New file.
53875 * iconvdata/testdata/CP770: New file.
53876 * iconvdata/testdata/CP770..UTF8: New file.
53877 * iconvdata/testdata/CP771: New file.
53878 * iconvdata/testdata/CP771..UTF8: New file.
53879 * iconvdata/testdata/CP772: New file.
53880 * iconvdata/testdata/CP772..UTF8: New file.
53881 * iconvdata/testdata/CP773: New file.
53882 * iconvdata/testdata/CP773..UTF8: New file.
53883 * iconvdata/testdata/CP774: New file.
53884 * iconvdata/testdata/CP774..UTF8: New file.
53886 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
53888 * iconvdata/gen-8bit-gap.sh: Likewise.
53889 * iconvdata/gen-8bit.sh: Likewise.
53891 * locale/iso-639.def: Add ary entry.
53894 * locale/C-translit.h.in: Add U20A1 transliteration.
53897 * locale/iso-639.def: Add wae entry.
53898 Patch by Kevin Bortis <bortis@translate-wae.ch>.
53901 * locale/programs/localedef.c (construct_output_path): Use ssize_t
53905 * locale/C-translit.h.in: Add entry for U20B9.
53906 Patch by pravin.d.s@gmail.com.
53908 2011-05-08 Ulrich Drepper <drepper@gmail.com>
53911 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
53912 ENAMETOOLONG use generic getcwd.
53913 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
53914 in rtld. Use *stat64.
53915 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
53916 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
53917 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
53918 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
53919 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
53920 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
53921 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
53922 __fstatat64 macros.
53923 * include/dirent.h: Add libc_hidden_proto for rewinddir.
53924 * dirent/rewinddir.c: Add libc_hidden_def.
53925 * sysdeps/mach/hurd/rewinddir.c: Likewise.
53926 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
53928 * include/dirent.h (__alloc_dir): Add flags parameter.
53929 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
53930 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
53932 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
53933 from fdopendir if O_CLOEXEC is already set.
53935 2011-03-15 Alan Modra <amodra@gmail.com>
53937 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
53938 l_tls_firstbyte_offset non-zero. Save padding offset in
53939 l_tls_firstbyte_offset for later use.
53940 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
53941 freeing static tls block.
53943 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
53945 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
53946 where #ifdef was intended. The intent is to prevent ARG_MAX from
53947 being defined by the kernel headers.
53949 2011-05-07 Ulrich Drepper <drepper@gmail.com>
53952 * resolv/resolv.h: Define RES_NOTLDQUERY.
53953 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
53954 no-tld-query and set RES_NOTLDQUERY.
53955 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
53956 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
53957 modern BIND to search name as TLD unless forbidden.
53959 2011-05-07 Petr Baudis <pasky@suse.cz>
53960 Ulrich Drepper <drepper@gmail.com>
53963 * elf/dl-load.c (fillin_rpath): Move trusted path check...
53964 (is_trusted_path): ...to here.
53965 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
53966 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
53967 using is_trusted_path_normalize() in setuid scripts.
53969 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
53971 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
53972 __BEGIN/__END_DECLS.
53974 2011-05-06 Ulrich Drepper <drepper@gmail.com>
53976 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
53977 NSS_STATUS_NOTFOUND if no record was found.
53979 2011-05-05 Andreas Schwab <schwab@redhat.com>
53981 * sunrpc/Makefile (headers): Add rpc/netdb.h.
53982 (headers-not-in-tirpc): Remove rpc/netdb.h
53983 * resolv/netdb.h: Revert last change.
53985 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
53987 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
53988 circular dependency between libgcc.a and libc.a.
53990 2011-05-05 Andreas Schwab <schwab@redhat.com>
53992 * resolv/netdb.h: Don't include <rpc/netdb.h>.
53993 * nis/Makefile: Don't install rpcsvc/*.
53994 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
53995 instead of <rpc/types.h>.
53996 (MAXHOSTNAMELEN): Define.
53998 2011-05-03 Andreas Schwab <schwab@redhat.com>
54000 * elf/ldconfig.c (add_dir): Don't crash on empty path.
54002 2011-04-28 Maciej Babinski <mbabinski@google.com>
54005 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
54006 gethostbyname4_r when IPv6 results are possible.
54008 2011-05-02 Ulrich Drepper <drepper@gmail.com>
54011 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
54012 _PC_PIPE_BUF handling.
54014 2011-04-30 Bruno Haible <bruno@clisp.org>
54017 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
54018 * resolv/netdb.h (getnameinfo): Change type of flags parameter
54020 * inet/getnameinfo.c (getnameinfo): Likewise.
54022 2011-04-29 Ulrich Drepper <drepper@gmail.com>
54024 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
54025 to groups setting in database lookup.
54026 * nss/nsswitch.conf: Add initgroups entry.
54028 2011-04-22 Ulrich Drepper <drepper@gmail.com>
54031 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
54033 Patch by Eric Blake <eblake@redhat.com>.
54035 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
54037 * sunrpc/Makefile (need-export-routines): Add svc_run.
54038 (routines): Remove svc_run.
54039 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
54040 * sunrpc/clnt_perr.c (clnt_perrno): Export.
54041 * sunrpc/svc_run.c (svc_run): Likewise.
54042 * sunrpc/svc_udp.c (svcudp_create): Likewise.
54044 2011-04-21 Ulrich Drepper <drepper@gmail.com>
54046 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
54047 problem in reallocation in last patch.
54049 2011-04-20 Ulrich Drepper <drepper@gmail.com>
54051 * sunrpc/Makefile: Move inclusion of Rules.
54053 2011-04-19 Ulrich Drepper <drepper@gmail.com>
54055 * nss/nss_files/files-initgroups.c: New file.
54056 * nss/Makefile (libnss_files-routines): Add files-initgroups.
54057 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
54058 _nss_files_initgroups_dyn.
54060 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
54062 * elf/elf.h (R_ARM_IRELATIVE): Define.
54064 2011-04-19 Ulrich Drepper <drepper@gmail.com>
54066 * po/ru.po: Update from translation team.
54068 2011-04-17 Ulrich Drepper <drepper@gmail.com>
54070 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
54073 2011-02-06 Mike Frysinger <vapier@gentoo.org>
54076 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
54077 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
54078 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54079 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54080 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54082 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
54084 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
54086 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54087 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54088 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54090 2011-04-17 Ulrich Drepper <drepper@gmail.com>
54093 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
54095 * stdlib/bug-getcontext.c: New file.
54096 * stdlib/Makefile: Add rules to build and run bug-getcontext.
54098 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54100 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
54101 instructions into .machine "z9-109".
54102 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
54103 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
54105 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54107 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
54108 between environment variables and auxiliary vector.
54110 2011-04-16 Ulrich Drepper <drepper@gmail.com>
54112 * Makefile: Add rules to build linkobj/libc.so.
54113 * include/libc-symbols.h: Define libc_hidden_nolink.
54114 * include/rpc/auth.h: Mark functions which are to be hidden.
54115 * include/rpc/auth_des.h: Likewise.
54116 * include/rpc/auth_unix.h: Likewise.
54117 * include/rpc/clnt.h: Likewise.
54118 * include/rpc/des_crypt.h: Likewise.
54119 * include/rpc/key_prot.h: Likewise.
54120 * include/rpc/pmap_clnt.h: Likewise.
54121 * include/rpc/pmap_prot.h: Likewise.
54122 * include/rpc/pmap_rmt.h: Likewise.
54123 * include/rpc/rpc_msg.h: Likewise.
54124 * include/rpc/svc.h: Likewise.
54125 * include/rpc/svc_auth.h: Likewise.
54126 * include/rpc/xdr.h: Likewise.
54127 * nis/Makefile: Link all DSOs against linkobj/libc.so.
54128 * nss/Makefile: Likewise.
54129 * sunrpc/Makefile: Don't install headers. Build library with normal
54130 entry points. Don't build rpcinfo. Link RPC tests appropriately.
54131 * sunrpc/auth_des.c: Hide exported symbols by default, export some
54132 for the compat linking library. Remove use of INTDEF/INTUSE.
54133 * sunrpc/auth_none.c: Likewise.
54134 * sunrpc/auth_unix.c: Likewise.
54135 * sunrpc/authdes_prot.c: Likewise.
54136 * sunrpc/authuxprot.c: Likewise.
54137 * sunrpc/clnt_gen.c: Likewise.
54138 * sunrpc/clnt_perr.c: Likewise.
54139 * sunrpc/clnt_raw.c: Likewise.
54140 * sunrpc/clnt_simp.c: Likewise.
54141 * sunrpc/clnt_tcp.c: Likewise.
54142 * sunrpc/clnt_udp.c: Likewise.
54143 * sunrpc/clnt_unix.c: Likewise.
54144 * sunrpc/des_crypt.c: Likewise.
54145 * sunrpc/des_soft.c: Likewise.
54146 * sunrpc/get_myaddr.c: Likewise.
54147 * sunrpc/key_call.c: Likewise.
54148 * sunrpc/key_prot.c: Likewise.
54149 * sunrpc/netname.c: Likewise.
54150 * sunrpc/pm_getmaps.c: Likewise.
54151 * sunrpc/pm_getport.c: Likewise.
54152 * sunrpc/pmap_clnt.c: Likewise.
54153 * sunrpc/pmap_prot.c: Likewise.
54154 * sunrpc/pmap_prot2.c: Likewise.
54155 * sunrpc/pmap_rmt.c: Likewise.
54156 * sunrpc/publickey.c: Likewise.
54157 * sunrpc/rpc_cmsg.c: Likewise.
54158 * sunrpc/rpc_common.c: Likewise.
54159 * sunrpc/rpc_dtable.c: Likewise.
54160 * sunrpc/rpc_prot.c: Likewise.
54161 * sunrpc/rpc_thread.c: Likewise.
54162 * sunrpc/rtime.c: Likewise.
54163 * sunrpc/svc.c: Likewise.
54164 * sunrpc/svc_auth.c: Likewise.
54165 * sunrpc/svc_authux.c: Likewise.
54166 * sunrpc/svc_raw.c: Likewise.
54167 * sunrpc/svc_run.c: Likewise.
54168 * sunrpc/svc_simple.c: Likewise.
54169 * sunrpc/svc_tcp.c: Likewise.
54170 * sunrpc/svc_udp.c: Likewise.
54171 * sunrpc/svc_unix.c: Likewise.
54172 * sunrpc/svcauth_des.c: Likewise.
54173 * sunrpc/xcrypt.c: Likewise.
54174 * sunrpc/xdr.c: Likewise.
54175 * sunrpc/xdr_array.c: Likewise.
54176 * sunrpc/xdr_float.c: Likewise.
54177 * sunrpc/xdr_intXX_t.c: Likewise.
54178 * sunrpc/xdr_mem.c: Likewise.
54179 * sunrpc/xdr_rec.c: Likewise.
54180 * sunrpc/xdr_ref.c: Likewise.
54181 * sunrpc/xdr_sizeof.c: Likewise.
54182 * sunrpc/xdr_stdio.c: Likewise.
54184 2011-04-10 Ulrich Drepper <drepper@gmail.com>
54187 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
54188 * sysdeps/ia64/dl-tls.h: Likewise.
54189 * sysdeps/powerpc/dl-tls.h: Likewise.
54190 * sysdeps/s390/dl-tls.h: Likewise.
54191 * sysdeps/sh/dl-tls.h: Likewise.
54192 * sysdeps/sparc/dl-tls.h: Likewise.
54193 * sysdeps/x86_64/dl-tls.h: Likewise.
54194 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
54196 2011-03-14 Andreas Schwab <schwab@redhat.com>
54198 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
54199 rpath element also skip the following colon.
54200 (expand_dynamic_string_token): Add is_path parameter and pass
54201 down to DL_DST_REQUIRED and _dl_dst_substitute.
54202 (decompose_rpath): Call expand_dynamic_string_token with
54203 non-zero is_path. Ignore empty rpaths.
54204 (_dl_map_object_from_fd): Call expand_dynamic_string_token
54207 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
54209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54212 2011-04-09 Ulrich Drepper <drepper@gmail.com>
54215 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
54216 Patch by Filipe David Manana <fdmanana@apache.org>.
54218 2011-04-07 Andreas Schwab <schwab@redhat.com>
54220 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
54221 Maintain aligned stack.
54222 (CHECK_RSP): Remove unused macro.
54224 2011-04-03 Ulrich Drepper <drepper@gmail.com>
54226 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
54227 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
54229 2011-04-02 Ulrich Drepper <drepper@gmail.com>
54231 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
54233 * include/features.h: Mention __USE_XOPEN2K8 in comment.
54235 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
54238 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
54239 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
54240 * sysdeps/x86_64/memmove.c: New file.
54241 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
54242 (memcpy): Renamed to ...
54243 (__new_memcpy): This.
54244 (memcpy): Provide GLIBC_2_14 memcpy.
54245 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
54246 (memcpy): Provide GLIBC_2_2_5 memcpy.
54248 2011-04-01 Ulrich Drepper <drepper@gmail.com>
54251 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
54253 2011-03-30 Andreas Schwab <schwab@redhat.com>
54255 * misc/syncfs.c: New file.
54256 * misc/Makefile (routines): Add syncfs.
54257 * posix/unistd.h: Declare syncfs.
54258 * sysdeps/unix/syscalls.list: Add syncfs.
54260 2011-04-01 Andreas Schwab <schwab@redhat.com>
54262 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
54264 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54265 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54266 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54267 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54268 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54269 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
54270 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54272 2011-04-01 Ulrich Drepper <drepper@gmail.com>
54274 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
54275 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54276 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
54277 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54278 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54279 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54280 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54282 * io/Makefile: Compile fallocate.c, fallocate64.c, and
54283 sync_file_range.c with -fexceptions.
54284 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
54285 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
54286 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
54287 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
54288 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
54289 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54290 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
54291 sync_file_range as cancellation point
54292 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
54293 now a wrapper around __call_sync_file_range with cancellation handling.
54294 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
54295 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
54296 function name to __call_sync_file_range.
54297 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
54298 Add call_sync_file_range.
54300 2011-04-01 Andreas Schwab <schwab@redhat.com>
54302 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54305 2011-04-01 Ulrich Drepper <drepper@gmail.com>
54307 * iconv/iconv.h: Fix typo in comment.
54308 * io/fcntl.h: Likewise.
54309 * libio/stdio.h: Likewise.
54310 * posix/spawn.h: Likewise.
54311 * posix/unistd.h: Likewise.
54312 * stdlib/stdlib.h: Likewise.
54313 * time/time.h: Likewise.
54314 * wcsmbs/wchar.h: Likewise.
54316 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
54317 open_by_handle): Add.
54318 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
54319 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
54320 Augment a few comments.
54321 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54322 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54323 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54324 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54325 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54326 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
54329 * io/fcntl.h (AT_EMPTY_PATH): Define.
54331 2011-03-30 Ulrich Drepper <drepper@gmail.com>
54333 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
54334 * sysdeps/unix/sysv/linux/bits/time.h: New file.
54335 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
54337 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
54338 * Versions.def: Add GLIBC_2.14.
54339 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
54342 2011-03-22 Ulrich Drepper <drepper@gmail.com>
54344 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
54346 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54348 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
54351 * string/test-strncmp.c (do_page_test): New function.
54352 (check2): Likewise.
54353 (test_main): Call check2.
54354 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
54356 2011-03-20 Ulrich Drepper <drepper@gmail.com>
54359 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
54360 Handle cache information in CPU leaf 4.
54361 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54363 2011-03-18 Ulrich Drepper <drepper@gmail.com>
54366 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
54367 character representation.
54368 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
54370 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
54372 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
54373 END(__isnan) to END(__isnanf) to match function entry point/label
54374 EALIGN(__isnanf,...).
54376 2011-03-10 Jakub Jelinek <jakub@redhat.com>
54378 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
54380 2011-03-10 Ulrich Drepper <drepper@gmail.com>
54383 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
54384 copy from the symbol referenced in the relocation to initialize the
54386 Patch by Piotr Bury <pbury@goahead.com>.
54387 * elf/Makefile: Add rules to build and tst-unique3.
54388 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
54389 * elf/tst-unique3.cc: New file.
54390 * elf/tst-unique3.h: New file.
54391 * elf/tst-unique3lib.cc: New file.
54392 * elf/tst-unique3lib2.cc: New file.
54394 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
54396 2011-03-10 Mike Frysinger <vapier@gentoo.org>
54398 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
54399 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
54402 2011-03-06 Ulrich Drepper <drepper@gmail.com>
54404 * elf/dl-load.c (_dl_map_object): If we are looking for the first
54405 to-be-loaded object along a path to loader is ld.so.
54407 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54408 Ulrich Drepper <drepper@gmail.com>
54410 * sysdeps/x86_64/memset.S: After aligning destination, code
54411 branches to different locations depending on the value of
54412 misalignment, when multiarch is enabled. Fix this.
54414 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54416 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
54417 Set _x86_64_preferred_memory_instruction for AMD processsors.
54418 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54419 Set bit_Prefer_SSE_for_memop for AMD processors.
54421 2011-03-04 Ulrich Drepper <drepper@gmail.com>
54423 * libio/fmemopen.c (fmemopen): Optimize a bit.
54425 2011-03-03 Andreas Schwab <schwab@redhat.com>
54427 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
54429 2011-03-03 Roland McGrath <roland@redhat.com>
54431 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
54433 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
54435 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
54436 __bzero_ultra1 instead of __memset_ultra1.
54438 2011-02-23 Andreas Schwab <schwab@redhat.com>
54439 Ulrich Drepper <drepper@gmail.com>
54442 * include/link.h (struct link_map): Add l_orig_initfini.
54443 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
54444 returning unsuccessfully.
54445 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
54446 close of a file loaded at startup, restore the original l_initfini
54448 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
54449 list, store the pointer.
54450 * elf/Makefile ($(objpfx)noload-mem): New rule.
54451 (noload-ENV): Define.
54452 (tests): Add $(objpfx)noload-mem.
54453 * elf/noload.c: Include <memcheck.h>.
54454 (main): Call mtrace. Close all opened handles.
54456 2011-02-17 Andreas Schwab <schwab@redhat.com>
54459 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
54460 dependencies are missing.
54462 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
54464 Fix __if_freereq crash: Unlike the generic version which uses free,
54466 * sysdeps/mach/hurd/ifreq.h: New file.
54468 2011-01-27 Petr Baudis <pasky@suse.cz>
54469 Ulrich Drepper <drepper@gmail.com>
54472 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
54473 to extend_alloca().
54474 * stdio-common/bug23.c: New file.
54475 * stdio-common/Makefile (tests): Add bug23.
54477 2010-09-28 Andreas Schwab <schwab@redhat.com>
54478 Ulrich Drepper <drepper@gmail.com>
54481 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
54482 before performing relro protection. At old place add assertion
54483 to make sure nothing changed.
54485 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
54486 Glauber de Oliveira Costa <glommer@gmail.com>
54488 * elf/elf.h: Add new ARM TLS relocs.
54490 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
54492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54493 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
54495 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
54497 * sysdeps/wordsize-64/tst-writev.c: New file.
54499 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
54501 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
54502 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
54503 insns in _dl_start to prevent a TOC reference before relocs are
54506 2011-02-15 Ulrich Drepper <drepper@gmail.com>
54509 * Makeconfig: Remove RANLIB definition.
54510 * Makerules: Don't use RANLIB.
54511 * aclocal.m4: Remove ranlib test.
54512 * configure.in: No need to check for ranlib.
54513 * elf/rtld-Rules: Don't use RANLIB.
54515 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
54517 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
54519 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
54520 inclusion protection macro.
54522 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
54523 SIGRTMIN and SIGRTMAX and print information in that case only when
54524 SIGRTMIN is defined.
54526 2011-02-11 Jakub Jelinek <jakub@redhat.com>
54528 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
54529 arginfo fn returning -1.
54531 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
54532 and thousands string is zero terminated.
54534 2011-02-03 Andreas Schwab <schwab@redhat.com>
54536 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
54537 sysdeps/unix/sysv/linux/bits/socket.h.
54539 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
54541 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
54542 (__CPU_COUNT): Remove old macros.
54543 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
54544 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
54545 (__CPU_ALLOC, __CPU_FREE): Add macros.
54546 (__sched_cpualloc, __sched_cpufree): Add declarations.
54548 2011-02-05 Ulrich Drepper <drepper@gmail.com>
54550 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
54551 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
54552 * nscd/aicache.c (addhstaiX): Return timeout of added value.
54553 (readdhstai): Return value of addhstaiX call.
54554 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
54555 (addgrbyX): Return value returned by cache_addgr.
54556 (readdgrbyname): Return value returned by addgrbyX.
54557 (readdgrbygid): Likewise.
54558 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
54559 (addpwbyX): Return value returned by cache_addpw.
54560 (readdpwbyname): Return value returned by addhstbyX.
54561 (readdpwbyuid): Likewise.
54562 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
54563 (addservbyX): Return value returned by cache_addserv.
54564 (readdservbyname): Return value returned by addservbyX:
54565 (readdservbyport): Likewise.
54566 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
54567 (addhstbyX): Return value returned by cache_addhst.
54568 (readdhstbyname): Return value returned by addhstbyX.
54569 (readdhstbyaddr): Likewise.
54570 (readdhstbynamev6): Likewise.
54571 (readdhstbyaddrv6): Likewise.
54572 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
54573 (readdinitgroups): Return value returned by addinitgroupsX.
54574 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
54575 (prune_cache): Keep track of timeout value of re-added entries.
54576 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
54577 * nscd/nscd.h: Adjust prototypes of readd* functions.
54579 2011-02-04 Roland McGrath <roland@redhat.com>
54581 * nis/nis_server.c (nis_servstate): Use the right name for 0.
54582 (nis_stats): Likewise.
54583 * nis/nis_modify.c (nis_modify): Likewise.
54584 * nis/nis_remove.c (nis_remove): Likewise.
54585 * nis/nis_add.c (nis_add): Likewise.
54587 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
54589 * posix/fnmatch_loop.c: Add some consts.
54591 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
54593 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
54596 * config.make.in (config-cflags-novzeroupper): Define.
54597 * configure.in: Substitute libc_cv_cc_novzeroupper.
54598 * elf/Makefile (AVX-CFLAGS): Define.
54599 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
54600 (CFLAGS-tst-auditmod4a.c): Likewise.
54601 (CFLAGS-tst-auditmod4b.c): Likewise.
54602 (CFLAGS-tst-auditmod6b.c): Likewise.
54603 (CFLAGS-tst-auditmod6c.c): Likewise.
54604 (CFLAGS-tst-auditmod7b.c): Likewise.
54605 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
54607 2011-02-02 Ulrich Drepper <drepper@gmail.com>
54609 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
54610 function to the callback.
54611 Patch partly by Jiri Olsa <jolsa@redhat.com>.
54613 2011-02-02 Andreas Schwab <schwab@redhat.com>
54615 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
54618 2011-01-19 Ulrich Drepper <drepper@gmail.com>
54621 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
54623 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
54625 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
54628 * elf/Makefile: Add rules to build and run new test.
54629 * elf/tst-initorder.c: New file.
54630 * elf/tst-initorder.exp: New file.
54631 * elf/tst-initordera1.c: New file.
54632 * elf/tst-initordera2.c: New file.
54633 * elf/tst-initordera3.c: New file.
54634 * elf/tst-initordera4.c: New file.
54635 * elf/tst-initorderb1.c: New file.
54636 * elf/tst-initorderb2.c: New file.
54637 * elf/tst-order-a1.c: New file.
54638 * elf/tst-order-a2.c: New file.
54639 * elf/tst-order-a3.c: New file.
54640 * elf/tst-order-a4.c: New file.
54641 * elf/tst-order-b1.c: New file.
54642 * elf/tst-order-b2.c: New file.
54643 * elf/tst-order-main.c: New file.
54644 New test case by George Gensure <werkt0@gmail.com>.
54646 2010-10-01 Andreas Schwab <schwab@redhat.com>
54648 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54649 decoding ACE if AI_CANONIDN.
54651 2011-01-18 Ulrich Drepper <drepper@gmail.com>
54653 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
54655 2011-01-17 Ulrich Drepper <drepper@gmail.com>
54657 * version.h (RELEASE): Bump for 2.13 release.
54658 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
54660 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
54662 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
54664 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
54665 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54666 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54667 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54668 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54669 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54671 * posix/getconf.c: Update copyright year.
54672 * catgets/gencat.c: Likewise.
54673 * csu/version.c: Likewise.
54674 * debug/catchsegv.sh: Likewise.
54675 * debug/xtrace.sh: Likewise.
54676 * elf/ldconfig.c: Likewise.
54677 * elf/ldd.bash.in: Likewise.
54678 * elf/sprof.c (print_version): Likewise.
54679 * iconv/iconv_prog.c: Likewise.
54680 * iconv/iconvconfig.c: Likewise.
54681 * locale/programs/locale.c: Likewise.
54682 * locale/programs/localedef.c: Likewise.
54683 * malloc/memusage.sh: Likewise.
54684 * malloc/mtrace.pl: Likewise.
54685 * nscd/nscd.c (print_version): Likewise.
54686 * nss/getent.c: Likewise.
54688 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
54689 PF_CAIF, and PF_ALG.
54690 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54692 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
54694 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
54695 (modules-names): Use them.
54696 (ifunc-test-modules, ifunc-pie-tests): Define.
54697 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
54698 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
54699 (test-extras): Likewise.
54700 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
54701 $(compile-command.c).
54702 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
54703 (all-built-dso): Define.
54704 (check-textrel.out, check-execstack.out): Depend on it.
54706 * configure.in: Don't override --enable-multi-arch.
54708 2011-01-15 Ulrich Drepper <drepper@gmail.com>
54711 * nscd/hstcache.c (tryagain): Define.
54712 (cache_addhst): Return tryagain not notfound for temporary errors.
54713 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
54716 2011-01-14 Ulrich Drepper <drepper@gmail.com>
54719 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
54720 to make the syscall.
54721 * sysdeps/unix/sysv/linux/setgroups.c: New file.
54724 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
54725 and fall back to matching as normal character if the string ends before
54726 the matching ']' is found. This is what POSIX requires.
54727 * posix/testfnm.c: Adjust test result.
54728 * posix/globtest.sh: Adjust test result. Add new test.
54729 * posix/tst-fnmatch.input: Likewise.
54730 * posix/tst-fnmatch2.c: Add new test.
54732 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
54734 * elf/Makefile (check-execstack): Revert last change. Depend on
54736 (check-execstack.h): New target.
54737 (generated): Add check-execstack.h.
54738 * elf/check-execstack.c: Include "check-execstack.h".
54739 (main): Revert last change.
54740 (handle_file): Return zero if GNU_STACK is absent and
54741 DEFAULT_STACK_PERMS doesn't include PF_X.
54743 2011-01-13 Ulrich Drepper <drepper@gmail.com>
54745 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
54746 in child fails because the descriptor is already closed.
54747 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
54748 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
54749 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
54752 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
54756 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
54757 temporary buffer used to handle multi lookups locally.
54758 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
54760 2011-01-12 Ulrich Drepper <drepper@gmail.com>
54762 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
54765 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
54767 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
54768 alignment for SSE2.
54770 2011-01-12 Ulrich Drepper <drepper@gmail.com>
54773 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
54774 characters. When rounding increased number of integer digits recompute
54776 * stdio-common/tst-grouping.c: New file.
54777 * stdio-common/Makefile: Add rules to build and run tst-grouping.
54779 2011-01-09 Ulrich Drepper <drepper@gmail.com>
54781 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
54782 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
54784 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
54786 * bits/select.h: Likewise.
54788 2011-01-08 Ulrich Drepper <drepper@gmail.com>
54790 * po/ja.po: Update from translation team.
54792 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
54795 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
54796 implementation just like for lxstat, fxstatat, et al.
54798 2010-12-27 Jim Meyering <meyering@redhat.com>
54801 * posix/regexec.c (build_trtable): Return failure indication upon
54802 calloc failure. Otherwise, re_search_internal could infloop on OOM.
54804 2010-12-25 Ulrich Drepper <drepper@gmail.com>
54807 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
54808 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
54809 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
54810 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
54813 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
54816 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
54817 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
54819 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
54821 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
54822 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
54823 script has SORT_BY_INIT_PRIORITY.
54824 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
54825 NO_CTORS_DTORS_SECTIONS is defined.
54826 * elf/soinit.c: Likewise.
54827 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
54828 NO_CTORS_DTORS_SECTIONS is defined.
54829 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
54830 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
54831 * sysdeps/sh/init-first.c: Likewise.
54832 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
54834 2010-12-24 Ulrich Drepper <drepper@gmail.com>
54836 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
54837 always use the slow path.
54839 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
54841 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
54842 similar rule which adds the sysdep directories to the header search in
54843 order to pick up the correct platform stackinfo.h.
54844 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
54845 perform test if it is, otherwise return successfully without testing.
54846 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
54847 DEFAULT_STACK_PERMS define in stackinfo.h.
54848 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
54849 defined in stackinfo.h.
54850 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
54851 DEFAULT_STACK_PERMS defined in stackinfo.h.
54852 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
54853 * sysdeps/ia64/stackinfo.h: Likewise.
54854 * sysdeps/s390/stackinfo.h: Likewise.
54855 * sysdeps/sh/stackinfo.h: Likewise.
54856 * sysdeps/sparc/stackinfo.h: Likewise.
54857 * sysdeps/x86_64/stackinfo.h: Likewise.
54858 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
54859 PF_X for powerpc64. Retain PF_X for powerpc32.
54861 2010-12-19 Ulrich Drepper <drepper@gmail.com>
54863 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
54865 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
54866 GETDENTS_64BIT_ALIGNED.
54868 2010-12-14 Ulrich Drepper <dreper@gmail.com>
54870 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
54872 2010-12-10 Andreas Schwab <schwab@redhat.com>
54874 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
54877 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
54878 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
54880 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
54881 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
54883 2010-12-09 Ulrich Drepper <drepper@gmail.com>
54886 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
54889 2010-12-09 Jakub Jelinek <jakub@redhat.com>
54891 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
54893 2010-12-03 Ulrich Drepper <drepper@gmail.com>
54895 * po/it.po: Update from translation team.
54897 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
54899 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
54902 2010-11-30 Ulrich Drepper <drepper@gmail.com>
54904 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
54906 2010-11-24 Andreas Schwab <schwab@redhat.com>
54908 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
54910 (gaih_getanswer_slice): Likewise.
54912 2010-10-20 Jakub Jelinek <jakub@redhat.com>
54914 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
54916 2010-05-31 Petr Baudis <pasky@suse.cz>
54919 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
54920 silently even in the chroot mode.
54922 2010-11-22 Ulrich Drepper <drepper@gmail.com>
54924 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
54925 last patch a bit. Pretty printing
54927 2010-05-31 Petr Baudis <pasky@suse.cz>
54930 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
54931 initialization of skip_initgroups_dyn.
54933 2010-11-19 Ulrich Drepper <drepper@gmail.com>
54935 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
54936 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54938 2010-11-16 Ulrich Drepper <drepper@gmail.com>
54940 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
54942 2010-11-11 Andreas Schwab <schwab@redhat.com>
54944 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
54945 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
54946 (tst-fnmatch-ENV): Set MALLOC_TRACE.
54947 ($(objpfx)tst-fnmatch-mem): New rule.
54948 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
54949 * posix/tst-fnmatch.c (main): Call mtrace.
54951 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
54953 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54954 Support Intel processor model 6 and model 0x2c.
54956 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
54958 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
54961 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
54964 * string/test-strncasecmp.c (check_result): New function.
54965 (do_one_test): Use it.
54966 (check1): New function.
54967 (test_main): Use it.
54968 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
54969 Support strcasecmp and strncasecmp.
54971 2010-11-08 Ulrich Drepper <drepper@gmail.com>
54974 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
54975 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54977 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
54979 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
54981 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54983 * sysdeps/x86_64/multiarch/bzero.S: New file.
54984 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
54985 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
54986 * sysdeps/x86_64/multiarch/memset.S: New file.
54987 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
54988 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54989 Set bit_Prefer_SSE_for_memop for Intel processors.
54990 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
54992 (index_Prefer_SSE_for_memop): Define.
54993 (HAS_PREFER_SSE_FOR_MEMOP): Define.
54995 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
54997 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
54998 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
55000 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
55003 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55004 (__x86_64_raw_data_cache_size_half): Likewise.
55005 (__x86_64_raw_shared_cache_size): Likewise.
55006 (__x86_64_raw_shared_cache_size_half): Likewise.
55008 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55009 (__x86_64_raw_data_cache_size_half): Likewise.
55010 (__x86_64_raw_shared_cache_size): Likewise.
55011 (__x86_64_raw_shared_cache_size_half): Likewise.
55012 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
55013 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
55014 and __x86_64_raw_shared_cache_size_half. Round
55015 __x86_64_data_cache_size_half, __x86_64_data_cache_size
55016 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
55017 to multiple of 256 bytes.
55019 2010-11-03 Ulrich Drepper <drepper@gmail.com>
55022 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
55023 of inacessible symlinks. Verify result of symlink before returning it.
55024 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55025 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
55027 2010-10-28 Erich Ritz <erichritz@gmail.com>
55029 * math/math.h (isinf): Fix typo in comment.
55031 2010-11-01 Ulrich Drepper <drepper@gmail.com>
55033 * po/da.po: Update from translation team.
55035 2010-10-26 Ulrich Drepper <drepper@gmail.com>
55037 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
55038 is added to the list.
55040 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55041 Ulrich Drepper <drepper@gmail.com>
55043 * elf/dl-object.c (_dl_new_object): Don't append the new object to
55044 the global list here. Move code to...
55045 (_dl_add_to_namespace_list): ...here. New function.
55046 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
55047 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
55048 * elf/dl-load.c (lose): Don't remove the element from the list.
55049 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
55050 (_dl_map_object): Likewise.
55052 2010-10-25 Ulrich Drepper <drepper@gmail.com>
55055 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
55056 into all bytes of SSE register.
55057 Patch by Richard Li <richardpku@gmail.com>.
55059 2010-10-24 Ulrich Drepper <drepper@gmail.com>
55062 * malloc/malloc.c (_int_free): Fill correct number of bytes when
55065 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
55067 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
55068 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
55069 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
55070 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
55073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
55075 2010-10-22 Andreas Schwab <schwab@redhat.com>
55077 * include/dlfcn.h (__RTLD_SECURE): Define.
55078 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
55079 mode & __RTLD_SECURE instead.
55080 (open_path): Rename preloaded parameter to secure.
55081 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
55082 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
55083 * elf/dl-deps.c (openaux): Likewise.
55084 * elf/rtld.c (struct map_args): Remove is_preloaded.
55085 (map_doit): Don't use it.
55086 (dl_main): Likewise.
55087 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
55088 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
55090 2010-09-09 Andreas Schwab <schwab@redhat.com>
55092 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
55093 (sysd-rules-targets): Remove duplicates.
55094 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
55095 rtld-%.$o dependency.
55097 2010-10-18 Andreas Schwab <schwab@redhat.com>
55099 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
55100 _dl_map_object do it.
55102 2010-10-19 Ulrich Drepper <drepper@gmail.com>
55104 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
55105 fast fma builtins, define the macros in the C99 standard.
55106 (FP_FAST_FMAF): Likewise.
55107 (FP_FAST_FMAL): Likewise.
55108 * sysdeps/x86_64/bits/mathdef.h: Likewise.
55110 * bits/mathdef.h: Update copyright year.
55111 * sysdeps/powerpc/bits/mathdef.h: Likewise.
55113 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
55115 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
55116 builtins, define the macros in the C99 standard.
55117 (FP_FAST_FMAF): Likewise.
55118 (FP_FAST_FMAL): Likewise.
55119 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
55121 (FP_FAST_FMAF): Likewise.
55123 2010-10-15 Jakub Jelinek <jakub@redhat.com>
55126 * math/libm-test.inc (fma_test): Some new testcases.
55127 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
55128 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
55129 y and infinite z. Do multiplication by C already in long double.
55130 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
55131 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
55132 y and infinite z. Do bitwise or of inexact bit into u.d.
55133 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
55134 * sysdeps/i386/fpu/s_fmaf.S: Removed.
55135 * sysdeps/i386/fpu/s_fma.S: Removed.
55136 * sysdeps/i386/fpu/s_fmal.S: Removed.
55138 2010-10-16 Jakub Jelinek <jakub@redhat.com>
55141 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
55142 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
55143 computation is not scheduled after fetestexcept. Fix value
55144 of minimum denormal long double.
55146 2010-10-14 Jakub Jelinek <jakub@redhat.com>
55149 * math/libm-test.inc (fma_test): Add some more tests.
55150 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
55153 2010-10-15 Andreas Schwab <schwab@redhat.com>
55155 * scripts/data/localplt-s390-linux-gnu.data: New file.
55156 * scripts/data/localplt-s390x-linux-gnu.data: New file.
55158 2010-10-13 Jakub Jelinek <jakub@redhat.com>
55161 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
55162 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
55164 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
55166 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
55167 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
55168 if one of x and y is very large and the other is subnormal.
55169 * sysdeps/s390/fpu/s_fmaf.c: New file.
55170 * sysdeps/s390/fpu/s_fma.c: New file.
55171 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
55172 * sysdeps/powerpc/fpu/s_fma.S: New file.
55173 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
55174 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
55175 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
55177 2010-10-12 Jakub Jelinek <jakub@redhat.com>
55180 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
55182 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
55183 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
55184 * sysdeps/i386/i686/multiarch/s_fma.c: Include
55185 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
55186 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
55187 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
55188 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
55190 2010-10-12 Ulrich Drepper <drepper@redhat.com>
55193 * posix/regcomp.c (parse_branch): One more memory leak plugged.
55194 * posix/bug-regex31.input: Add test case.
55196 2010-10-11 Ulrich Drepper <drepper@gmail.com>
55198 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
55199 * posix/bug-regex31.input: New file.
55202 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
55203 (parse_sub_exp): Fix last change, use postorder.
55205 * posix/bug-regex31.c: New file.
55206 * posix/Makefile: Add rules to build and run bug-regex31.
55208 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
55211 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
55214 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
55215 to have entries in sys_siglist.
55218 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
55221 2010-10-07 Jakub Jelinek <jakub@redhat.com>
55224 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
55225 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
55226 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
55227 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
55228 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55229 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
55230 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
55231 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
55232 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
55233 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
55234 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
55235 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
55236 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
55237 * math/ftestexcept.c (fetestexcept): Likewise.
55238 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
55239 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
55240 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
55241 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
55242 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
55243 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
55244 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55246 2010-10-11 Ulrich Drepper <drepper@gmail.com>
55249 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
55252 2010-10-06 Ulrich Drepper <drepper@gmail.com>
55254 * string/bug-strstr1.c: New file.
55255 * string/Makefile: Add rules to build and run bug-strstr1.
55257 2010-10-05 Eric Blake <eblake@redhat.com>
55260 * string/str-two-way.h (two_way_long_needle): Always clear memory
55261 when skipping input due to the shift table.
55263 2010-10-03 Ulrich Drepper <drepper@gmail.com>
55266 * malloc/mcheck.c: Handle large requests.
55269 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
55270 for strncmp and strncasecmp.
55271 * string/stratcliff.c: Add tests for strcmp and strncmp.
55272 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
55274 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55276 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
55279 2010-09-30 Andreas Jaeger <aj@suse.de>
55281 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
55282 (CGROUP_SUPER_MAGIC): Define.
55283 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55284 Handle btrfs and cgroup file systems.
55285 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55288 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
55290 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
55291 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
55293 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55296 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
55297 trying to locate the ELF header.
55299 2010-09-27 Andreas Schwab <schwab@redhat.com>
55302 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
55303 Mask out sign-bit copies when constructing f_fsid.
55305 2010-09-24 Petr Baudis <pasky@suse.cz>
55307 * debug/stack_chk_fail_local.c: Add missing licence exception.
55308 * debug/warning-nop.c: Likewise.
55310 2010-09-15 Joseph Myers <joseph@codesourcery.com>
55312 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
55313 implementing getdents64 using getdents syscall, set d_type if
55314 __ASSUME_GETDENTS32_D_TYPE.
55316 2010-09-16 Andreas Schwab <schwab@redhat.com>
55318 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
55319 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
55321 2010-09-21 Ulrich Drepper <drepper@redhat.com>
55324 * posix/unistd.h: Undo change of feature selection for ftruncate from
55327 2010-09-20 Ulrich Drepper <drepper@redhat.com>
55329 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
55332 2010-09-20 Andreas Schwab <schwab@redhat.com>
55334 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
55336 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55338 2010-09-14 Andreas Schwab <schwab@redhat.com>
55340 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
55341 variables after CHECK_SP call.
55342 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
55344 2010-09-13 Andreas Schwab <schwab@redhat.com>
55345 Ulrich Drepper <drepper@redhat.com>
55347 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
55348 re-relocationg ld.so.
55349 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
55350 _dl_init_paths call.
55351 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
55354 2010-09-14 Ulrich Drepper <drepper@redhat.com>
55356 * resolv/res_init.c (__res_vinit): Count the default server we added.
55358 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
55359 Ulrich Drepper <drepper@redhat.com>
55362 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55363 (____longjmp_chk): Use %ebx for saving value across system call.
55366 2010-09-06 Andreas Schwab <schwab@redhat.com>
55368 * manual/Makefile: Don't mix pattern rules with normal rules.
55370 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
55372 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
55374 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
55375 * libio/iofopncook.c (_IO_cookie_init): Likewise.
55376 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
55377 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
55378 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55381 2010-09-04 Ulrich Drepper <drepper@redhat.com>
55384 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
55385 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
55387 2010-09-02 Ulrich Drepper <drepper@redhat.com>
55389 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
55390 * sysdeps/x86_64/addmul_1.S: Likewise.
55391 * sysdeps/x86_64/lshift.S: Likewise.
55392 * sysdeps/x86_64/mul_1.S: Likewise.
55393 * sysdeps/x86_64/rshift.S: Likewise.
55394 * sysdeps/x86_64/sub_n.S: Likewise.
55395 * sysdeps/x86_64/submul_1.S: Likewise.
55397 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
55399 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
55400 Define __sched_param instead of SCHED_* and sched_param when
55401 <bits/sched.h> is included with __need_schedparam defined.
55402 * bits/sched.h [__need_schedparam]
55403 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
55404 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
55405 (__defined_schedparam): Define to 1.
55406 (__sched_param): New structure, identical to sched_param.
55407 (__need_schedparam): Undefine.
55409 2010-08-31 Mike Frysinger <vapier@gentoo.org>
55411 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
55412 (epoll_create1): Declare.
55414 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
55416 2010-08-31 Andreas Schwab <schwab@redhat.com>
55419 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
55420 shifting retval into place.
55422 2010-09-01 Ulrich Drepper <drepper@redhat.com>
55424 * nis/rpcsvc/nis.h: Update copyright notice.
55425 * nis/rpcsvc/nis.x: Likewise.
55426 * nis/rpcsvc/nis_callback.h: Likewise.
55427 * nis/rpcsvc/nis_callback.x: Likewise.
55428 * nis/rpcsvc/nis_object.x: Likewise.
55429 * nis/rpcsvc/nis_tags.h: Likewise.
55430 * nis/rpcsvc/yp.h: Likewise.
55431 * nis/rpcsvc/yp.x: Likewise.
55432 * nis/rpcsvc/ypupd.h: Likewise.
55433 * nis/yp_xdr.c: Likewise.
55434 * nis/ypupdate_xdr.c: Likewise.
55436 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
55437 mainly the body of pmap_getport. Add parameters to specify timeouts.
55438 (pmap_getport): Use __libc_rpc_getport.
55439 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
55440 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
55441 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
55443 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
55445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
55448 2010-08-27 Roland McGrath <roland@redhat.com>
55450 * sysdeps/i386/i686/multiarch/Makefile
55451 (CFLAGS-varshift.c): New variable.
55453 2010-08-27 Ulrich Drepper <drepper@redhat.com>
55455 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
55456 * sysdeps/i386/i686/multiarch/varshift.c: New file.
55458 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
55460 * sysdeps/x86_64/strlen.S: Minimal code improvement.
55462 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
55464 * sysdeps/x86_64/strlen.S: Unroll the loop.
55465 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55466 strlen-sse2 strlen-sse2-bsf.
55467 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
55468 __strlen_no_bsf if bit_Slow_BSF is set.
55469 (__strlen_sse42): Removed.
55470 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
55471 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
55473 2010-08-25 Roland McGrath <roland@redhat.com>
55475 * sysdeps/x86_64/multiarch/varshift.S: File removed.
55476 * sysdeps/x86_64/multiarch/varshift.c: New file.
55477 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
55478 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
55479 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
55480 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55482 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
55484 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55485 strlen-sse2 strlen-sse2-bsf.
55486 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
55487 __strlen_sse2_bsf if bit_Slow_BSF is unset.
55488 (__strlen_sse2): Removed.
55489 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
55490 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
55491 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55492 bit_Slow_BSF for Atom.
55493 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
55494 (index_Slow_BSF): Define.
55495 (HAS_SLOW_BSF): Define.
55497 2010-08-25 Ulrich Drepper <drepper@redhat.com>
55500 * resolv/res_init.c (__res_vinit): When no server address at all
55501 is given default to loopback.
55503 2010-08-24 Roland McGrath <roland@redhat.com>
55505 * configure.in: Remove config-name.h generation.
55506 * configure: Regenerated.
55507 * config-name.in: File removed.
55508 * scripts/config-uname.sh: New file.
55509 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
55510 ($(objdir)config-name.h): New target.
55512 * sunrpc/rpc_parse.h: Avoid nested comment.
55514 2010-08-24 Richard Henderson <rth@redhat.com>
55515 Ulrich Drepper <drepper@redhat.com>
55516 H.J. Lu <hongjiu.lu@intel.com>
55518 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
55519 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
55520 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
55521 Replace _mm_srli_si128 with __m128i_shift_right. Replace
55522 _mm_alignr_epi8 with _mm_loadu_si128.
55523 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
55524 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
55525 (__m128i_shift_right): Removed.
55526 * sysdeps/i386/i686/multiarch/varshift.h: New file.
55527 * sysdeps/i386/i686/multiarch/varshift.S: New file.
55528 * sysdeps/x86_64/multiarch/varshift.h: New file.
55529 * sysdeps/x86_64/multiarch/varshift.S: New file.
55531 2010-08-21 Mike Frysinger <vapier@gentoo.org>
55533 * configure.in: Move assembler checks to before sysdep dir checking.
55535 2010-08-20 Petr Baudis <pasky@suse.cz>
55537 * LICENSES: Sync the sunrpc license.
55539 2010-08-19 Ulrich Drepper <drepper@redhat.com>
55541 * sunrpc/auth_des.c: Update copyright notice once again.
55542 * sunrpc/auth_none.c: Likewise.
55543 * sunrpc/auth_unix.c: Likewise.
55544 * sunrpc/authdes_prot.c: Likewise.
55545 * sunrpc/authuxprot.c: Likewise.
55546 * sunrpc/bindrsvprt.c: Likewise.
55547 * sunrpc/clnt_gen.c: Likewise.
55548 * sunrpc/clnt_perr.c: Likewise.
55549 * sunrpc/clnt_raw.c: Likewise.
55550 * sunrpc/clnt_simp.c: Likewise.
55551 * sunrpc/clnt_tcp.c: Likewise.
55552 * sunrpc/clnt_udp.c: Likewise.
55553 * sunrpc/clnt_unix.c: Likewise.
55554 * sunrpc/des_crypt.c: Likewise.
55555 * sunrpc/des_soft.c: Likewise.
55556 * sunrpc/get_myaddr.c: Likewise.
55557 * sunrpc/getrpcport.c: Likewise.
55558 * sunrpc/key_call.c: Likewise.
55559 * sunrpc/key_prot.c: Likewise.
55560 * sunrpc/openchild.c: Likewise.
55561 * sunrpc/pm_getmaps.c: Likewise.
55562 * sunrpc/pm_getport.c: Likewise.
55563 * sunrpc/pmap_clnt.c: Likewise.
55564 * sunrpc/pmap_prot.c: Likewise.
55565 * sunrpc/pmap_prot2.c: Likewise.
55566 * sunrpc/pmap_rmt.c: Likewise.
55567 * sunrpc/rpc/auth.h: Likewise.
55568 * sunrpc/rpc/auth_unix.h: Likewise.
55569 * sunrpc/rpc/clnt.h: Likewise.
55570 * sunrpc/rpc/des_crypt.h: Likewise.
55571 * sunrpc/rpc/key_prot.h: Likewise.
55572 * sunrpc/rpc/netdb.h: Likewise.
55573 * sunrpc/rpc/pmap_clnt.h: Likewise.
55574 * sunrpc/rpc/pmap_prot.h: Likewise.
55575 * sunrpc/rpc/pmap_rmt.h: Likewise.
55576 * sunrpc/rpc/rpc.h: Likewise.
55577 * sunrpc/rpc/rpc_des.h: Likewise.
55578 * sunrpc/rpc/rpc_msg.h: Likewise.
55579 * sunrpc/rpc/svc.h: Likewise.
55580 * sunrpc/rpc/svc_auth.h: Likewise.
55581 * sunrpc/rpc/types.h: Likewise.
55582 * sunrpc/rpc/xdr.h: Likewise.
55583 * sunrpc/rpc_clntout.c: Likewise.
55584 * sunrpc/rpc_cmsg.c: Likewise.
55585 * sunrpc/rpc_common.c: Likewise.
55586 * sunrpc/rpc_cout.c: Likewise.
55587 * sunrpc/rpc_dtable.c: Likewise.
55588 * sunrpc/rpc_hout.c: Likewise.
55589 * sunrpc/rpc_main.c: Likewise.
55590 * sunrpc/rpc_parse.c: Likewise.
55591 * sunrpc/rpc_parse.h: Likewise.
55592 * sunrpc/rpc_prot.c: Likewise.
55593 * sunrpc/rpc_sample.c: Likewise.
55594 * sunrpc/rpc_scan.c: Likewise.
55595 * sunrpc/rpc_scan.h: Likewise.
55596 * sunrpc/rpc_svcout.c: Likewise.
55597 * sunrpc/rpc_tblout.c: Likewise.
55598 * sunrpc/rpc_util.c: Likewise.
55599 * sunrpc/rpc_util.h: Likewise.
55600 * sunrpc/rpcinfo.c: Likewise.
55601 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
55602 * sunrpc/rpcsvc/key_prot.x: Likewise.
55603 * sunrpc/rpcsvc/klm_prot.x: Likewise.
55604 * sunrpc/rpcsvc/mount.x: Likewise.
55605 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
55606 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
55607 * sunrpc/rpcsvc/rex.x: Likewise.
55608 * sunrpc/rpcsvc/rstat.x: Likewise.
55609 * sunrpc/rpcsvc/rusers.x: Likewise.
55610 * sunrpc/rpcsvc/sm_inter.x: Likewise.
55611 * sunrpc/rpcsvc/spray.x: Likewise.
55612 * sunrpc/rpcsvc/yppasswd.x: Likewise.
55613 * sunrpc/rtime.c: Likewise.
55614 * sunrpc/svc.c: Likewise.
55615 * sunrpc/svc_auth.c: Likewise.
55616 * sunrpc/svc_authux.c: Likewise.
55617 * sunrpc/svc_raw.c: Likewise.
55618 * sunrpc/svc_run.c: Likewise.
55619 * sunrpc/svc_simple.c: Likewise.
55620 * sunrpc/svc_tcp.c: Likewise.
55621 * sunrpc/svc_udp.c: Likewise.
55622 * sunrpc/svc_unix.c: Likewise.
55623 * sunrpc/svcauth_des.c: Likewise.
55624 * sunrpc/xcrypt.c: Likewise.
55625 * sunrpc/xdr.c: Likewise.
55626 * sunrpc/xdr_array.c: Likewise.
55627 * sunrpc/xdr_float.c: Likewise.
55628 * sunrpc/xdr_mem.c: Likewise.
55629 * sunrpc/xdr_rec.c: Likewise.
55630 * sunrpc/xdr_ref.c: Likewise.
55631 * sunrpc/xdr_sizeof.c: Likewise.
55632 * sunrpc/xdr_stdio.c: Likewise.
55634 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
55637 2010-08-19 Andreas Schwab <schwab@redhat.com>
55639 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
55641 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
55643 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
55644 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
55645 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
55646 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
55647 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
55648 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
55649 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
55650 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
55651 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
55652 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
55653 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
55654 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
55655 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
55656 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
55658 2010-07-26 Anton Blanchard <anton@samba.org>
55660 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
55661 * malloc/arena.c (heap_trim): Likewise.
55663 2010-08-16 Ulrich Drepper <drepper@redhat.com>
55665 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
55667 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
55668 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
55670 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
55672 * sysdeps/i386/elf/Makefile: New file.
55674 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
55676 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
55677 from fanotify_init.
55678 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
55679 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55681 2010-08-15 Ulrich Drepper <drepper@redhat.com>
55683 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
55685 * sysdeps/multiarch/strcmp.S: Likewise.
55687 2010-08-14 Ulrich Drepper <drepper@redhat.com>
55689 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55690 strncase_l-nonascii.
55691 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55692 Add strncase_l-ssse3.
55693 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
55694 * sysdeps/x86_64/strcmp.S: Likewise.
55695 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
55696 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
55697 * sysdeps/x86_64/strncase.S: New file.
55698 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
55699 * sysdeps/x86_64/strncase_l.S: New file.
55700 * string/Makefile (strop-tests): Add strncasecmp.
55701 * string/test-strncasecmp.c: New file.
55703 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
55706 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
55707 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
55709 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
55711 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
55713 2010-08-12 Ulrich Drepper <drepper@redhat.com>
55715 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
55716 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
55717 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
55719 2010-05-01 Alan Modra <amodra@gmail.com>
55721 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
55722 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
55723 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
55724 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
55725 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
55726 tidying. Don't tail-call __sigjmp_save for static lib.
55727 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
55729 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
55730 (CALL_MCOUNT): Add eh info, and nop after bl.
55731 (TAIL_CALL_SYSCALL_ERROR): New macro.
55732 (PSEUDO_RET): Use it.
55733 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
55734 Correct save location of integer regs and cr.
55735 (_dl_profile_resolve): Correct cr save location. Delete nops
55736 after bl when SHARED. Reduce cfi size a little by better
55737 placement of cfi directives.
55738 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
55739 make a stack frame. Instead use parm save area as a temp.
55740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
55741 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
55742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
55743 Don't make a stack frame for parent, use parm save area.
55744 Increase child stack frame to 112 bytes. Don't save unused reg,
55745 and adjust reg usage. Set up cfi on error recovery and
55746 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
55747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55748 (__makecontext): Add dummy nop after jump to exit.
55749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
55750 Use correct parm save area and cr save, reduce stack frame.
55751 Correct cfi for possible PSEUDO_RET frame setup.
55752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
55753 Branch to local label emitted by PSEUDO_RET rather than
55756 2010-08-12 Andreas Schwab <schwab@redhat.com>
55759 * locale/programs/locale.c (print_assignment): New function.
55760 (show_locale_vars): Use it.
55762 2010-08-11 Ulrich Drepper <drepper@redhat.com>
55764 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
55766 (struct statfs64): Likewise.
55767 (_STATFS_F_FLAGS): Define.
55768 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
55769 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55770 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
55771 (ST_VALID): Define locally.
55772 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
55773 __statvfs_getflags, use the provided value.
55774 * sysdeps/unix/sysv/linux/kernel-features.h: Define
55775 __ASSUME_STATFS_F_FLAGS.
55777 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
55779 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
55780 Add sys/fanotify.h.
55781 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
55782 fanotify_mask for GLIBC_2.13.
55783 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
55784 fanotify_init and fanotify_mark.
55785 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55786 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
55788 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
55790 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
55791 prlimit64 for GLIBC_2.13.
55792 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
55794 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
55796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
55797 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55798 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
55799 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
55800 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
55802 * sysdeps/unix/sysv/linux/prlimit.c: New file.
55805 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
55806 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
55808 * nss/Makefile: Add rules to build and run tst-nss-test1.
55809 * shlib-versions: Add entry for libnss_test1.
55810 * nss/nss_test1.c: New file.
55811 * nss/tst-nss-test1.c: New file.
55813 * nss/nsswitch.c (__nss_database_custom): Define new variable.
55814 (__nss_configure_lookup): Set appropriate entry in
55815 __nss_configure_lookup to true.
55816 * nss/nsswitch.h: Define enum with indeces of databases in
55817 databases and __nss_database_custom arrays. Declare
55818 __nss_database_custom.
55819 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
55820 to avoid using nscd when custom rules are installed.
55821 * nss/getXXbyYY_r.c: Likewise.
55822 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55824 * nss/nss_files/files-parse.c: Whitespace fixes.
55826 2010-08-09 Ulrich Drepper <drepper@redhat.com>
55829 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
55830 * posix/fnmatch_loop.c: Likewise.
55832 2010-07-17 Andi Kleen <ak@linux.intel.com>
55834 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
55835 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
55836 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
55837 * Versions.def [GLIBC_2.13]: Add.
55839 2010-08-06 Ulrich Drepper <drepper@redhat.com>
55841 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55842 Also fail if tpwd after pwuid call is NULL.
55844 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
55846 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
55847 when converting to ms.
55849 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
55851 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
55852 EOPNOTSUPP errors with ENOTTY.
55853 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
55854 EOPNOTSUPP errors with ENOTTY.
55856 2010-07-31 Ulrich Drepper <drepper@redhat.com>
55858 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55859 Add strcasecmp_l-ssse3.
55860 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
55862 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
55863 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
55864 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
55866 2010-07-30 Ulrich Drepper <drepper@redhat.com>
55868 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
55870 * string/Makefile (strop-tests): Add strcasecmp.
55871 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55872 strcasecmp_l-nonascii.
55873 (gen-as-const-headers): Add locale-defines.sym.
55874 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
55875 * sysdeps/x86_64/strcasecmp.S: New file.
55876 * sysdeps/x86_64/strcasecmp_l.S: New file.
55877 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
55878 * sysdeps/x86_64/locale-defines.sym: New file.
55879 * string/test-strcasecmp.c: New file.
55881 * string/test-strcasestr.c: Test both ends of the range of characters.
55882 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
55884 2010-07-29 Roland McGrath <roland@redhat.com>
55887 * manual/locale.texi (Yes-or-No Questions): Fix example code.
55889 2010-07-27 Ulrich Drepper <drepper@redhat.com>
55891 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
55894 2010-07-27 Andreas Schwab <schwab@redhat.com>
55896 * manual/memory.texi (Malloc Tunable Parameters): Document
55899 2010-07-26 Roland McGrath <roland@redhat.com>
55902 * configure.in (-fgnu89-inline check): Set and substitute
55903 gnu89_inline, not libc_cv_gnu89_inline.
55904 * configure: Regenerated.
55905 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
55907 2010-07-26 Ulrich Drepper <drepper@redhat.com>
55909 * string/test-strnlen.c: New file.
55910 * string/Makefile (strop-tests): Add strnlen.
55911 * string/tester.c (test_strnlen): Add a few more test cases.
55912 * string/tst-strlen.c: Better error reporting.
55914 * sysdeps/x86_64/strnlen.S: New file.
55916 2010-07-24 Ulrich Drepper <drepper@redhat.com>
55918 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
55919 lower-latency instructions.
55921 2010-07-23 Ulrich Drepper <drepper@redhat.com>
55923 * string/test-strcasestr.c: New file.
55924 * string/test-strstr.c: New file.
55925 * string/Makefile (strop-tests): Add strstr and strcasestr.
55926 * string/str-two-way.h: Don't undefine MAX.
55927 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
55929 2010-07-21 Andreas Schwab <schwab@redhat.com>
55931 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55932 strcasestr-nonascii.
55933 (CFLAGS-strcasestr-nonascii.c): Define.
55934 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
55935 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
55936 Remove unused attribute.
55938 2010-07-20 Roland McGrath <roland@redhat.com>
55940 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
55941 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
55942 ld.so.cache was broken. With it, there is no way to disable dsocaps
55943 like LD_HWCAP_MASK can disable hwcaps.
55945 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55947 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
55949 2010-07-16 Ulrich Drepper <drepper@redhat.com>
55951 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
55952 call in strcasestr.
55953 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
55954 __strcasestr_sse42_nonascii.
55955 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
55956 strcasestr-nonascii.c.
55957 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
55959 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
55961 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
55962 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
55963 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
55964 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
55966 2010-07-09 Ulrich Drepper <drepper@redhat.com>
55968 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
55971 2010-07-06 Andreas Schwab <schwab@redhat.com>
55974 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
55977 2010-07-06 Ulrich Drepper <drepper@redhat.com>
55979 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
55980 _PC_PIPE_BUF using F_GETPIPE_SZ.
55982 2010-07-05 Roland McGrath <roland@redhat.com>
55984 * manual/arith.texi (Rounding Functions): Fix rint description
55985 implicit in round description.
55987 2010-07-02 Ulrich Drepper <drepper@redhat.com>
55989 * elf/Makefile: Fix linking for a few tests to make recent linker
55992 2010-06-30 Andreas Schwab <schwab@redhat.com>
55994 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55995 $(common-objpfx)libc_nonshared.a.
55997 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
55999 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
56000 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
56001 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56002 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56003 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
56004 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
56005 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56006 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
56008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
56009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
56010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
56012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
56014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
56015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
56016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
56017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
56019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
56021 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
56022 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
56023 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
56024 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
56025 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
56026 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
56027 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
56028 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
56029 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
56030 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
56031 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
56032 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
56033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
56034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
56035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
56036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
56037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
56038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
56039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
56040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
56041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
56042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
56043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
56044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
56045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
56046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
56048 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
56050 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
56051 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
56052 * string/memmove.c (memmove): Renamed to ...
56053 (MEMMOVE): ...this. Default to memmove.
56054 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
56055 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
56057 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56058 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
56059 mempcpy-ssse3-back memmove-ssse3-back.
56060 * sysdeps/x86_64/multiarch/bcopy.S: New file .
56061 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
56062 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
56063 * sysdeps/x86_64/multiarch/memcpy.S: New file.
56064 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
56065 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
56066 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
56067 * sysdeps/x86_64/multiarch/memmove.c: New file.
56068 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
56069 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
56070 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
56071 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
56072 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
56073 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
56075 (index_Fast_Copy_Backward): Define.
56076 (HAS_ARCH_FEATURE): Define.
56077 (HAS_FAST_REP_STRING): Define.
56078 (HAS_FAST_COPY_BACKWARD): Define.
56080 2010-06-21 Andreas Schwab <schwab@redhat.com>
56082 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56083 Restore proper fallback handling.
56085 2010-06-19 Ulrich Drepper <drepper@redhat.com>
56088 * posix/group_member.c (__group_member): Correct checking loop.
56090 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
56091 OOM in getpwuid_r correctly. Return error number when the caller
56092 should return, otherwise -1.
56093 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
56094 call returning > 0 value.
56095 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
56097 2010-06-07 Andreas Schwab <schwab@redhat.com>
56099 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
56100 libc_nonshared.a from targets in modules-names.
56102 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
56104 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
56107 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
56109 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
56110 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
56111 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
56112 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
56114 2010-06-02 Andreas Schwab <schwab@redhat.com>
56116 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
56118 2010-06-14 Ulrich Drepper <drepper@redhat.com>
56120 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
56122 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56123 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56124 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56125 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56126 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56127 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
56129 2010-06-14 Roland McGrath <roland@redhat.com>
56131 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
56133 2010-06-07 Jakub Jelinek <jakub@redhat.com>
56135 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
56136 __REDIRECT followed by __THROW.
56137 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
56138 * posix/getopt.h (getopt): Likewise.
56140 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56142 * hurd/lookup-at.c (__file_name_lookup_at): Accept
56143 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
56144 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
56146 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
56147 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
56149 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
56151 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
56153 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
56156 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56157 Properly check family and model.
56159 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
56161 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
56163 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
56165 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
56167 2010-05-21 Ulrich Drepper <drepper@redhat.com>
56169 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
56172 2010-05-19 Andreas Schwab <schwab@redhat.com>
56174 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
56177 2010-05-21 Andreas Schwab <schwab@redhat.com>
56179 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
56180 and internal_recvmmsg.
56181 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
56182 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
56183 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
56184 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
56186 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
56187 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56188 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56190 2010-05-20 Andreas Schwab <schwab@redhat.com>
56192 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
56194 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
56196 POWER7 optimizations.
56197 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
56198 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
56200 2010-05-19 Ulrich Drepper <drepper@redhat.com>
56202 * version.h: Update for 2.13 development version.
56204 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
56206 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
56207 exceptions. Return 0.
56209 2010-05-07 Roland McGrath <roland@redhat.com>
56211 * elf/ldconfig.c (main): Add a const.
56213 2010-05-06 Ulrich Drepper <drepper@redhat.com>
56215 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
56216 (args_options): Add no-idn option.
56217 (ahosts_keys_int): Add idn_flags to ai_flags.
56218 (parse_option): Handle 'i' option to clear idn_flags.
56220 * malloc/malloc.c (_int_free): Possible race in the most recently
56221 added check. Only act on the data if no current modification
56224 See ChangeLog.17 for earlier changes.