1 2014-06-25 Joseph Myers <joseph@codesourcery.com>
3 * configure.ac (base_machine): Do not set specially for particular
5 * configure: Regenerated.
6 * sysdeps/powerpc/preconfigure: Move machine and base_machine
7 settings from configure.ac.
8 * sysdeps/i386/preconfigure: New file.
9 * sysdeps/s390/preconfigure: Likewise.
10 * sysdeps/sh/preconfigure: Likewise.
11 * sysdeps/sparc/preconfigure: Likewise.
13 2014-06-25 Roland McGrath <roland@hack.frob.com>
15 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
16 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
17 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
18 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
19 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
20 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
21 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
22 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
23 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
24 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
25 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
26 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
27 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
28 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
29 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
30 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
31 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
32 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
33 * sysdeps/sparc/sparc64/Makefile: ... appended here.
35 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
36 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
37 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
38 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
39 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
40 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
41 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
42 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
43 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
44 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
45 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
46 * sysdeps/sparc/sparc32/sem_post.c: ... here.
47 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
48 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
49 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
50 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
51 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
52 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
53 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
54 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
55 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
56 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
57 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
58 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
59 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
60 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
61 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
62 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
63 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
64 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
65 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
66 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
67 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
68 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
69 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
70 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
71 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
72 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
74 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
75 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
76 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
77 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
78 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
80 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
82 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
83 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
84 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
85 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
86 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
88 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
89 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
90 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
91 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
92 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
93 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
94 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
95 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
97 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
98 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
100 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
101 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
102 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
103 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
105 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
106 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
107 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
108 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
109 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
110 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
111 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
112 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
113 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
114 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
116 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
118 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
119 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
120 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
121 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
122 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
124 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
125 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
126 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
127 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
128 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
129 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
130 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
131 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
133 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
134 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
136 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
137 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
138 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
139 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
141 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
142 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
143 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
144 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
145 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
147 2014-06-25 Joseph Myers <joseph@codesourcery.com>
149 * timezone/checktab.awk: Update from tzcode 2014e.
150 * timezone/private.h: Likewise.
151 * timezone/tzfile.h: Likewise.
152 * timezone/zdump.c: Likewise.
153 * timezone/zic.c: Likewise.
155 * sysdeps/unix/sysv/linux/kernel-features.h
156 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
157 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
158 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
159 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
160 Remove conditional code.
162 2014-06-25 Will Newton <will.newton@linaro.org>
164 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
165 (_dl_arm_cap_flags): Add HWCAP2 values.
166 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
167 (_DL_HWCAP_COUNT): Increase to 37.
168 (_DL_HWCAP_LAST): New define.
169 (_DL_HWCAP2_LAST): New define.
170 (_dl_procinfo): Add support for printing
172 (_dl_string_hwcap): Use _dl_hwcap_string.
174 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
176 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
178 2014-06-25 Joseph Myers <joseph@codesourcery.com>
180 * README: Do not mention ports directory.
182 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
184 * sysdeps/unix/sysv/linux/futimes.c: Do not include
186 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
187 conditional variable definition.
188 (__futimes): Update comment.
189 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
190 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
193 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
194 arguments close to 0.
195 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
197 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
199 * math/auto-libm-test-in: Add more tests of exp10.
200 * math/auto-libm-test-out: Regenerated.
201 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
203 * sysdeps/unix/sysv/linux/kernel-features.h
204 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
205 * sysdeps/unix/sysv/linux/readv.c: Do not include
207 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
208 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
209 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
211 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
213 * sysdeps/unix/sysv/linux/writev.c: Do not include
215 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
216 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
217 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
219 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
222 2014-06-25 Will Newton <will.newton@linaro.org>
224 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
225 comment changes throughout the file. Remove checks
226 for HAVE_*_H definitions that are not required.
227 (__gen_tempname): Call abort if an unknown kind value is
230 2014-06-25 Andreas Schwab <schwab@suse.de>
233 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
234 scalbln, scalblnf, scalblnl in libc.
236 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
239 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
240 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
241 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
243 2014-06-24 Roland McGrath <roland@hack.frob.com>
245 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
246 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
247 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
248 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
250 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
251 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
253 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
254 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
255 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
256 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
257 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
258 * sysdeps/x86/bits/pthreadtypes.h: ... here.
259 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
260 * sysdeps/x86/bits/semaphore.h: ... here.
261 * sysdeps/x86/nptl/elide.h: Moved ...
262 * sysdeps/x86/elide.h: ... here.
263 * sysdeps/x86_64/nptl/Implies: File removed.
264 * sysdeps/i386/nptl/Implies: File removed.
266 2014-06-24 Joseph Myers <joseph@codesourcery.com>
269 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
270 return the argument for normal arguments with exponent below -64.
271 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
273 * math/auto-libm-test-in: Add another test of expm1.
274 * math/auto-libm-test-out: Regenerated.
277 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
278 calling __erfcl for arguments at least 16.
279 * math/auto-libm-test-in: Add more tests of erf.
280 * math/auto-libm-test-out: Regenerated.
282 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
283 individual architectures.
284 * sysdeps/unix/sysv/linux/configure: Regenerated.
285 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
286 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
287 * sysdeps/unix/sysv/linux/powerpc/configure.ac
288 (ldd_rewrite_script): Define variable.
289 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
294 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
295 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
296 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
297 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
298 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
299 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
300 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
301 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
303 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
306 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
307 Rename member __data.d to __data.__elision_data.
309 2014-06-24 Wilco <wdijkstr@arm.com>
311 * NEWS: Add 16918 to fixed bug list.
313 2014-06-24 Wilco <wdijkstr@arm.com>
315 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
317 2014-06-24 Wilco <wdijkstr@arm.com>
319 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
320 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
321 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
322 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
323 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
324 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
325 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
328 2014-06-24 Wilco <wdijkstr@arm.com>
330 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
332 2014-06-24 Wilco <wdijkstr@arm.com>
334 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
335 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
336 * sysdeps/arm/fesetround.c (fesetround): Remove space.
337 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
339 2014-06-24 Wilco <wdijkstr@arm.com>
342 * sysdeps/arm/feupdateenv.c (feupdateenv):
343 Rewrite to reduce FPSCR accesses and fix return value.
345 2014-06-24 Wilco <wdijkstr@arm.com>
347 * sysdeps/arm/fclrexcpt.c (feclearexcept):
348 Optimize to avoid unnecessary FPSCR writes.
349 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
350 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
351 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
352 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
354 2014-06-24 Wilco <wdijkstr@arm.com>
356 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
357 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
358 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
359 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
360 Call libc_fetestexcept_vfp.
361 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
362 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
363 __SOFTFP__ ifdef so that they can be built for softfp.
365 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
367 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
368 argument type signed char.
370 * Makerules (check-abi): Dump diff of symlist if the test
373 2014-06-23 Roland McGrath <roland@hack.frob.com>
375 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
378 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
379 Remove unused variable ST.
381 2014-06-23 Joseph Myers <joseph@codesourcery.com>
385 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
386 small arguments before calling __expm1.
387 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
388 small arguments before calling __expm1f.
389 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
390 small arguments before calling __expm1l.
391 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
393 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
394 * math/auto-libm-test-in: Add more cosh tests. Do not allow
395 spurious underflow for some cosh tests.
396 * math/auto-libm-test-out: Regenerated.
397 * sysdeps/i386/fpu/libm-test-ulps: Update.
400 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
401 (__ieee754_y1): Set errno if return value overflows.
402 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
403 (__ieee754_y1f): Set errno if return value overflows.
404 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
405 (__ieee754_y1l): Set errno if return value overflows.
406 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
407 (__ieee754_y1l): Set errno if return value overflows.
408 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
409 * math/auto-libm-test-out: Regenerated.
411 * math/gen-auto-libm-tests.c: Document use of
412 ignore-zero-inf-sign.
413 (input_flag_type): Add value flag_ignore_zero_inf_sign.
414 (input_flags): Add ignore-zero-inf-sign.
415 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
416 * math/gen-libm-test.pl (generate_testfile): Handle
417 ignore-zero-inf-sign.
418 * math/auto-libm-test-in: Mark some cpow tests with
419 ignore-zero-inf-sign and some with xfail-rounding.
420 * math/auto-libm-test-out: Regenerated.
421 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
422 * sysdeps/i386/fpu/libm-test-ulps: Update.
423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
426 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
427 overflowing or underflowing operations take place with sign of
429 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
430 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
431 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
432 (__ieee754_pow): Recompute overflowing and underflowing results in
433 original rounding mode.
434 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
435 (__powl_helper): Allow negative argument X and scale negated value
436 as needed. Avoid passing value outside [-1, 1] to f2xm1.
437 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
438 overflowing or underflowing operations take place with sign of
440 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
442 * math/auto-libm-test-in: Add more tests of pow.
443 * math/auto-libm-test-out: Regenerated.
444 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
445 (pow_tonearest_test_data): Remove.
446 (pow_test_tonearest): Likewise.
447 (pow_towardzero_test_data): Likewise.
448 (pow_test_towardzero): Likewise.
449 (pow_downward_test_data): Likewise.
450 (pow_test_downward): Likewise.
451 (pow_upward_test_data): Likewise.
452 (pow_test_upward): Likewise.
453 (main): Don't call removed functions.
454 * sysdeps/i386/fpu/libm-test-ulps: Update.
455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
457 2014-06-23 Roland McGrath <roland@hack.frob.com>
459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
633 2014-06-23 Will Newton <will.newton@linaro.org>
634 Wilco <wdijkstr@arm.com>
636 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
637 implementation. Include get-rounding-mode.h.
638 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
639 [!libc_feholdsetround_noex_ctx]: Define
640 libc_feholdsetround_noex_ctx.
641 [!libc_feholdsetround_noexf_ctx]: Define
642 libc_feholdsetround_noexf_ctx.
643 [!libc_feholdsetround_noexl_ctx]: Define
644 libc_feholdsetround_noexl_ctx.
645 (libc_feholdsetround_ctx): New function.
646 (libc_feresetround_ctx): New function.
647 (libc_feholdsetround_noex_ctx): New function.
648 (libc_feresetround_noex_ctx): New function.
650 2014-06-23 Roland McGrath <roland@hack.frob.com>
652 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
653 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
654 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
655 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
656 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
657 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
659 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
660 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
661 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
662 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
663 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
664 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
665 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
666 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
667 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
668 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
669 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
671 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
673 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
674 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
675 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
676 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
677 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
679 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
680 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
681 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
682 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
683 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
684 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
685 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
686 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
688 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
689 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
691 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
692 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
693 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
694 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
696 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
697 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
698 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
699 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
700 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
701 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
702 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
703 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
704 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
705 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
707 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
709 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
710 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
711 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
712 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
713 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
714 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
715 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
716 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
717 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
718 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
719 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
720 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
721 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
723 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
724 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
725 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
726 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
727 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
728 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
730 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
731 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
732 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
733 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
734 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
736 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
737 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
738 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
739 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
740 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
741 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
742 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
743 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
744 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
745 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
746 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
747 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
748 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
749 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
750 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
751 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
752 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
753 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
754 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
755 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
756 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
757 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
758 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
759 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
760 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
761 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
762 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
763 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
765 2014-06-23 Joseph Myers <joseph@codesourcery.com>
767 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
768 (FALLOC_FL_COLLAPSE_RANGE): New macro.
769 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
770 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
771 (IPV6_PMTUDISC_INTERFACE): Likewise.
772 (IPV6_PMTUDISC_OMIT): Likewise.
774 2014-06-23 Andreas Schwab <schwab@suse.de>
776 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
777 Remove unused errout label.
779 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
781 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
782 macro: hardware supports Vector Crypto instructions.
784 2014-06-23 Will Newton <will.newton@linaro.org>
786 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
787 rather than __builtin_expect.
789 * elf/dl-lookup.c (undefined_msg): Remove variable.
790 (_dl_lookup_symbol_x): Replace undefined_msg with string
793 * elf/dl-lookup.c (do_lookup_unique): New function.
794 (do_lookup_x): Move STB_GNU_UNIQUE handling code
795 to a separate function.
797 2014-06-23 Andreas Schwab <schwab@suse.de>
800 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
801 before reading the next line.
803 2014-06-23 Will Newton <will.newton@linaro.org>
805 * test-skeleton.c (signal_handler): Use printf and %m
806 rather than perror. Use printf rather than fprintf to
807 stderr. Use puts rather than fputs to stderr.
810 2014-06-22 Ludovic Courtès <ludo@gnu.org>
812 * nscd/nscd.c (thread_info_t): Remove typedef.
813 (thread_info): Remove variable.
815 2014-06-21 Allan McRae <allan@archlinux.org>
817 * NEWS: Mention CVE-2014-4043.
819 2014-06-20 Roland McGrath <roland@hack.frob.com>
821 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
822 * nptl/smp.h: ... here.
824 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
826 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
827 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
828 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
829 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
831 * nptl/allocatestack.c: Include <stack-aliasing.h>.
832 * nptl/stack-aliasing.h: New file.
833 * sysdeps/i386/i686/stack-aliasing.h: New file.
834 * sysdeps/i386/i686/nptl/Makefile: File removed.
835 * sysdeps/x86_64/stack-aliasing.h: New file.
836 * sysdeps/x86_64/nptl/Makefile
837 (CFLAGS-pthread_create.c): Variable removed.
839 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
840 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
842 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
843 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
846 2014-06-21 Joseph Myers <joseph@codesourcery.com>
848 * sysdeps/unix/sysv/linux/arm/kernel-features.h
849 (__ASSUME_SIGFRAME_V2): Remove macro.
850 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
851 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
852 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
853 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
854 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
855 Declare as function. Remove conditional macro definitions.
856 (__default_rt_sa_restorer): Likewise.
857 (__default_sa_restorer_v1): Remove declaration.
858 (__default_sa_restorer_v2): Likewise.
859 (__default_rt_sa_restorer_v1): Likewise.
860 (__default_rt_sa_restorer_v2): Likewise.
861 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
862 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
863 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
865 2014-06-20 Roland McGrath <roland@hack.frob.com>
867 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
868 (libpthread-routines): Add sysdep.
869 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
870 * sysdeps/unix/sysv/linux/sparc/Versions
871 (libpthread: GLIBC_2.3.3): New version set.
872 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
873 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
874 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
875 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
876 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
877 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
879 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
880 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
881 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
882 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
883 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
884 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
885 * sysdeps/sparc/nptl/sem_init.c: ... here.
886 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
887 * sysdeps/sparc/nptl/sem_post.c: ... here.
888 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
889 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
890 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
891 * sysdeps/sparc/nptl/sem_wait.c: ... here.
892 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
893 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
894 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
895 (libpthread-routines): Add cpu_relax.
896 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
898 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
899 (librt: GLIBC_2.3.3): New version set.
900 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
901 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
902 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
903 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
904 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
905 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
906 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
907 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
909 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
910 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
911 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
912 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
913 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
914 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
915 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
916 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
917 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
918 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
920 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
922 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
924 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
926 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
928 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
930 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
932 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
934 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
936 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
938 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
940 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
942 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
943 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
944 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
945 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
946 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
947 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
948 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
949 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
950 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
951 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
952 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
954 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
955 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
956 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
957 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
958 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
960 2014-06-20 Joseph Myers <joseph@codesourcery.com>
962 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
963 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
964 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
965 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
966 * nscd/nscd.c: Likewise.
967 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
968 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
969 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
970 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
972 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
974 (init_mq_netlink): Remove conditional have_sock_cloexec
975 definitions. Remove code conditional on have_sock_cloexec < 0.
976 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
977 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
978 * sysdeps/unix/sysv/linux/opensock.c: Do not include
980 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
981 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
983 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
985 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
986 Add tests for memset_chk and memset.
988 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
991 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
994 * elf/tst-dl-iter-static.c: New file.
995 * elf/Makefile (tests-static): Add tst-dl-iter-static.
997 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1000 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1002 * sysdeps/unix/sysv/linux/kernel-features.h
1003 (__ASSUME_F_GETOWN_EX): Remove macro.
1004 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1005 <kernel-features.h>.
1006 (miss_F_GETOWN_EX): Remove variable or macro.
1007 (do_fcntl): Do not check miss_F_GETOWN_EX.
1008 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1010 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1012 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1013 [!__ASSUME_AT_RANDOM]: Remove conditional code.
1014 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1016 * sysdeps/unix/sysv/linux/kernel-features.h
1017 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1018 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1019 [ADJ_OFFSET_SS_READ]: Make code unconditional.
1020 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1022 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1025 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1026 Fix calculation of the symbol's value.
1027 * sysdeps/arm/tst-armtlsdescloc.c: New file.
1028 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1029 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1030 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1031 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1032 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1033 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1034 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1035 (modules-names): Add `tst-armtlsdescmod',
1036 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1037 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1038 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1039 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1040 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1041 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1042 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1043 ($(objpfx)tst-armtlsdescloc): New dependency.
1044 ($(objpfx)tst-armtlsdescextnow): Likewise.
1045 ($(objpfx)tst-armtlsdescextlazy): Likewise.
1046 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1048 * sysdeps/arm/configure: Regenerate.
1050 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1052 * include/fcntl.h (__atfct_seterrno): Remove prototype.
1053 (__atfct_seterrno_2): Likewise.
1054 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1055 <kernel-features.h>.
1056 (__ASSUME_ATFCTS): Do not undefine and redefine.
1057 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1058 (__have_atfcts): Remove conditional definition.
1059 (__fxstatat([__NR_fstatat64]: Make code unconditional.
1060 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1061 unreachable if [__ASSUME_ATFCTS].
1062 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1063 not undefine and redefine.
1064 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1065 <kernel-features.h>.
1066 (faccessat) [__NR_faccessat]: Make code unconditional.
1067 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1068 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1069 <kernel-features.h>.
1070 (fchmodat) [__NR_fchmodat]: Make code unconditional.
1071 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1072 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1073 <kernel-features.h>.
1074 (fchownat) [__NR_fchownat]: Make code unconditional.
1075 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1076 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1077 <kernel-features.h>.
1078 (futimesat) [__NR_futimesat]: Make code unconditional.
1079 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1080 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1081 <kernel-features.h>.
1082 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1083 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1084 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1085 <kernel-features.h>.
1086 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1087 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1088 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1089 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1090 <kernel-features.h>.
1091 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1092 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1093 * sysdeps/unix/sysv/linux/linkat.c: Do not include
1094 <kernel-features.h>.
1095 (linkat) [__NR_linkat]: Make code unconditional.
1096 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1097 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
1098 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
1099 <kernel-features.h>.
1100 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
1101 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1102 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
1103 <kernel-features.h>.
1104 (mkdirat) [__NR_mkdirat]: Make code unconditional.
1105 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
1106 * sysdeps/unix/sysv/linux/openat.c: Do not include
1107 <kernel-features.h>.
1108 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
1109 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
1110 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
1111 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
1112 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
1113 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
1114 <kernel-features.h>.
1115 (readlinkat) [__NR_readlinkat]: Make code unconditional.
1116 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
1117 result of INLINE_SYSCALL directly, not via int variable.
1118 * sysdeps/unix/sysv/linux/renameat.c: Do not include
1119 <kernel-features.h>.
1120 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
1121 (renameat) [__NR_renameat]: Make code unconditional.
1122 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
1123 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
1124 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
1125 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
1126 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
1127 (__ASSUME_ATFCTS): Do not undefine and redefine.
1128 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
1129 <kernel-features.h>.
1130 (symlinkat) [__NR_symlinkat]: Make code unconditional.
1131 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1132 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
1133 <kernel-features.h>.
1134 (unlinkat) [__NR_unlinkat]: Make code unconditional.
1135 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1136 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
1137 (__ASSUME_ATFCTS): Do not undefine and redefine.
1138 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1139 <kernel-features.h>.
1140 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1141 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1142 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1143 <kernel-features.h>.
1144 (__xmknodat) [__NR_mknodat]: Make code unconditional.
1145 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1147 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1149 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
1151 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
1154 * posix/regcomp.c (parse_reg_exp): Deallocate partially
1155 constructed tree before returning error.
1156 * posix/bug-regexp36.c: Expand test case.
1158 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1161 * math/libm-test.inc (scalbln_test_date):
1162 Add errno expectations.
1163 * math/w_scalblnf.c: New File.
1164 Add wrapper which checks for setting errno to ERANGE.
1165 Add weak_alias for corresponding scalbln function.
1166 * math/w_scalbln.c: Likewise.
1167 * math/w_scalblnl.c: Likewise.
1168 * math/Makefile (libm-calls): Add w_scalbln.
1169 * sysdeps/ieee754/flt-32/s_scalblnf.c:
1170 Remove weak_alias for corresponding scalbln function.
1171 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1172 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1173 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1174 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1175 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
1176 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1177 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
1178 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1179 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
1180 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
1181 Remove long_double_symbol for scalblnl function in libm, libc.
1182 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
1183 Add wrapper which checks for setting errno to ERANGE.
1184 Add long_double_symbol for scalblnl function in libm, libc.
1185 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
1186 Remove long_double_symbol for scalblnl in libm.
1187 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
1188 Add wrapper which checks for setting errno to ERANGE.
1189 Add long_double_symbol for scalblnl function in libm.
1190 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
1191 Do not use wrapper because of own implementation.
1193 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
1195 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
1196 3 bytes for __pad1 for x32.
1197 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
1199 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
1200 H.J. Lu <hongjiu.lu@intel.com>
1202 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
1203 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
1204 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1205 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1206 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1208 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
1211 * posix/regcomp.c (parse_expression): Deallocate partially
1212 constructed tree before returning error.
1213 * posix/Makefile.c (tests): Add bug-regex36.
1214 (generated): Add bug-regex36.mtrace.
1215 (tests-special): Add $(objpfx)bug-regex36-mem.out
1216 (bug-regex36-ENV): New variable.
1217 ($(objpfx)bug-regex36-mem.out): New rule.
1218 * posix/bug-regex36.c: New file.
1220 2014-06-19 Will Newton <will.newton@linaro.org>
1222 * malloc/malloc.c (systrim): If extra is zero then return
1225 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1227 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
1229 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
1231 * sysdeps/aarch64/strchr.S: New file.
1233 2014-06-18 Joseph Myers <joseph@codesourcery.com>
1236 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
1237 from arguments -2 or below.
1238 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1239 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1241 2014-06-18 Andreas Schwab <schwab@suse.de>
1244 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
1245 of a bracket expr not to run off the end of the string.
1246 * posix/Makefile (tests): Add tst-fnmatch3.
1247 * posix/tst-fnmatch3.c: New file.
1249 2014-06-18 Joseph Myers <joseph@codesourcery.com>
1251 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
1252 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1253 [$(cross-compiling) = no]: Likewise.
1254 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1255 [$(cross-compiling) = no]: Likewise.
1257 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1260 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
1261 double, adjusted for any remainder from the high double.
1262 * math/libm-test.inc (nearbyint): Add tests.
1265 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1267 * nptl/sysdeps/powerpc/Makefile: Moved ...
1268 * sysdeps/powerpc/nptl/Makefile: ... here.
1269 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
1270 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
1271 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
1272 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
1273 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
1274 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
1275 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
1276 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
1277 * nptl/sysdeps/powerpc/tls.h: Moved ...
1278 * sysdeps/powerpc/nptl/tls.h: ... here.
1280 2014-06-16 Joseph Myers <joseph@codesourcery.com>
1283 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
1284 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1285 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
1286 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
1287 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1288 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
1289 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
1290 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1291 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
1293 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
1295 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1297 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
1299 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
1302 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
1305 2014-06-16 Florian Weimer <fweimer@redhat.com>
1308 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
1309 non-executed part of the test.
1311 2014-06-16 Andreas Schwab <schwab@suse.de>
1313 * string/bits/string2.h (strdup, strndup): Update feature guard.
1315 2014-06-14 David S. Miller <davem@davemloft.net>
1317 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1319 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
1321 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
1322 that was previously under [RESET_PID].
1323 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
1325 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
1326 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
1327 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
1328 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1329 (__libc_vfork): New strong alias.
1330 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
1332 2014-06-14 Andi Kleen <ak@linux.intel.com>
1334 * sysdeps/generic/elide.h: New file.
1336 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1338 * Makefile (installed-headers): Adjust path of pthread.h header.
1340 2014-06-13 Roland McGrath <roland@hack.frob.com>
1342 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
1343 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
1344 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
1345 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
1347 * nptl/sysdeps/s390/Makefile: Moved ...
1348 * sysdeps/s390/nptl/Makefile: ... here.
1349 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
1350 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
1351 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
1352 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
1353 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
1354 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
1355 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
1356 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
1357 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
1358 * sysdeps/s390/nptl/pthreaddef.h: ... here.
1359 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
1360 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
1361 * nptl/sysdeps/s390/tls.h: Moved ...
1362 * sysdeps/s390/nptl/tls.h: ... here.
1364 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
1365 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
1367 2014-06-13 David S. Miller <davem@davemloft.net>
1369 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
1370 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
1371 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
1372 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
1373 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
1374 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
1375 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
1376 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
1377 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
1378 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
1379 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
1380 Remove RESET_PID cpp guards.
1381 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
1382 Remove RESET_PID cpp guards.
1383 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
1385 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
1387 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
1390 2014-06-13 Andi Kleen <ak@linux.intel.com>
1392 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
1393 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
1394 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
1395 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
1396 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
1397 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
1398 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
1399 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
1400 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
1401 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
1402 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
1403 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
1404 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
1405 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
1406 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
1407 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
1408 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
1409 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
1410 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
1411 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
1413 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
1414 (pthread_rwlock_rdlock): Add elision.
1415 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
1416 (pthread_rwlock_wrlock): Add elision.
1417 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
1418 (pthread_rwlock_trywrlock): Add elision.
1419 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
1420 (pthread_rwlock_tryrdlock): Add elision.
1421 * nptl/pthread_rwlock_unlock.c: Include elide.h.
1422 (pthread_rwlock_tryrdlock): Add elision unlock.
1423 * nptl/sysdeps/pthread/pthread.h:
1424 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
1425 (PTHREAD_RWLOCK_INITIALIZER,
1426 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
1427 Handle new elision field.
1428 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
1429 * sysdeps/arm/nptl/bits/pthreadtypes.h
1430 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1431 * sysdeps/sh/nptl/bits/pthreadtypes.h
1432 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1433 * sysdeps/tile/nptl/bits/pthreadtypes.h
1434 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1435 * sysdeps/a/nptl/bits/pthreadtypes.h
1436 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1437 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1438 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1439 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1440 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1441 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
1442 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1443 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1444 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1445 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1446 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1447 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1448 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1449 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1450 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1451 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
1452 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1453 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
1454 (elision_init): Set try_xbegin to zero when no RTM.
1455 * sysdeps/x86/nptl/bits/pthreadtypes.h
1456 (pthread_rwlock_t): Change __pad1 to __rwelision.
1457 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1459 2014-06-13 Andi Kleen <ak@linux.intel.com>
1461 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
1462 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
1463 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
1464 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
1466 2014-06-13 Meador Inge <meadori@codesourcery.com>
1469 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
1470 that the cached result has been set before returning it.
1472 2014-06-12 Roland McGrath <roland@hack.frob.com>
1474 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
1475 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
1476 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
1477 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
1478 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
1479 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
1481 * nptl/sysdeps/sparc/Makefile: Moved ...
1482 * sysdeps/sparc/nptl/Makefile: ... here.
1483 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
1484 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
1485 * nptl/sysdeps/sparc/tls.h: Moved ...
1486 * sysdeps/sparc/nptl/tls.h: ... here.
1487 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
1488 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
1489 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
1490 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
1491 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
1492 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
1493 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
1494 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
1495 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
1496 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
1497 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
1498 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
1499 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
1500 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
1501 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
1502 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
1503 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
1504 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
1506 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
1507 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
1509 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
1510 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
1512 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
1513 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
1516 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1518 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
1519 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
1521 * sysdeps/pthread/posix-timer.h: Include <list.h>.
1522 (struct list_links): Type removed.
1523 (struct thread_node, struct timer_node): Replace struct list_links
1524 with struct list_head.
1525 (list_unlink_ip): Likewise.
1526 * sysdeps/pthread/timer_routines.c
1527 (timer_free_list, thread_free_list, thread_active_list): Likewise.
1528 (list_append, list_insbefore): Likewise.
1529 (list_init): Function removed.
1530 (thread_init, init_module): Use INIT_LIST_HEAD instead.
1531 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
1532 * sysdeps/pthread/Makefile: ... here, new file.
1534 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
1535 * sysdeps/nptl/Implies: ... here.
1536 * sysdeps/unix/sysv/linux/Implies: Add nptl.
1537 * nptl/sysdeps/pthread/list.h: Moved ...
1538 * include/list.h: ... here.
1539 * nptl/sysdeps/pthread/createthread.c: Moved ...
1540 * nptl/createthread.c: ... here.
1541 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
1542 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
1543 * nptl/pt-longjmp.c: ... here.
1544 * nptl/sysdeps/pthread/Makefile: Moved ...
1545 * sysdeps/nptl/Makefile: ... here.
1546 * nptl/sysdeps/pthread/Subdirs: Moved ...
1547 * sysdeps/nptl/Subdirs: ... here.
1548 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
1549 * sysdeps/nptl/aio_misc.h: ... here.
1550 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
1551 * sysdeps/nptl/bits/libc-lock.h: ... here.
1552 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
1553 * sysdeps/nptl/bits/libc-lockP.h: ... here.
1554 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
1555 * sysdeps/nptl/bits/stdio-lock.h: ... here.
1556 * nptl/sysdeps/pthread/configure: Moved ...
1557 * sysdeps/nptl/configure: ... here.
1558 * nptl/sysdeps/pthread/configure.ac: Moved ...
1559 * sysdeps/nptl/configure.ac: ... here.
1560 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
1561 * sysdeps/nptl/gai_misc.h: ... here.
1562 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
1563 * sysdeps/nptl/librt-cancellation.c: ... here.
1564 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
1565 * sysdeps/nptl/malloc-machine.h: ... here.
1566 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
1567 * sysdeps/nptl/pthread-functions.h: ... here.
1568 * nptl/sysdeps/pthread/pthread.h: Moved ...
1569 * sysdeps/nptl/pthread.h: ... here.
1570 * nptl/sysdeps/pthread/setxid.h: Moved ...
1571 * sysdeps/nptl/setxid.h: ... here.
1572 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
1573 * sysdeps/nptl/sigfillset.c: ... here.
1574 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
1575 * sysdeps/nptl/tcb-offsets.h: ... here.
1576 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
1577 * sysdeps/nptl/tst-mqueue8x.c: ... here.
1578 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
1579 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
1580 * nptl/sysdeps/pthread/allocalim.h: Moved ...
1581 * sysdeps/pthread/allocalim.h: ... here.
1582 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
1583 * sysdeps/pthread/bits/sigthread.h: ... here.
1584 * nptl/sysdeps/pthread/flockfile.c: Moved ...
1585 * sysdeps/pthread/flockfile.c: ... here.
1586 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
1587 * sysdeps/pthread/ftrylockfile.c: ... here.
1588 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
1589 * sysdeps/pthread/funlockfile.c: ... here.
1590 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
1591 * sysdeps/pthread/posix-timer.h: ... here.
1592 * nptl/sysdeps/pthread/timer_create.c: Moved ...
1593 * sysdeps/pthread/timer_create.c: ... here.
1594 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
1595 * sysdeps/pthread/timer_delete.c: ... here.
1596 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
1597 * sysdeps/pthread/timer_getoverr.c: ... here.
1598 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
1599 * sysdeps/pthread/timer_gettime.c: ... here.
1600 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
1601 * sysdeps/pthread/timer_routines.c: ... here.
1602 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
1603 * sysdeps/pthread/timer_settime.c: ... here.
1604 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
1605 * sysdeps/pthread/tst-timer.c: ... here.
1606 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
1607 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
1609 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
1610 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
1612 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
1613 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
1614 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
1615 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
1616 Update #include target.
1617 * nptl/sysdeps/i386/i686/Makefile: Moved ...
1618 * sysdeps/i386/i686/nptl/Makefile: ... here.
1619 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
1620 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
1621 Update #include target.
1622 * nptl/sysdeps/i386/i686/tls.h: Moved ...
1623 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
1624 * nptl/sysdeps/i386/Makefile: Moved ...
1625 * sysdeps/i386/nptl/Makefile: ... here.
1626 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
1627 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
1628 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
1629 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
1630 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
1631 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
1632 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
1633 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
1634 * sysdeps/i386/nptl/pthreaddef.h: ... here.
1635 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
1636 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
1637 * nptl/sysdeps/i386/tls.h: Moved ...
1638 * sysdeps/i386/nptl/tls.h: ... here.
1640 * sysdeps/sh/Makefile [$(subdir) = csu]
1641 (gen-as-const-headers): Add tcb-offsets.sym.
1642 * nptl/sysdeps/sh/Makefile: File removed.
1643 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
1644 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
1645 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
1646 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
1647 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
1648 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
1649 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
1650 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
1651 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
1652 * sysdeps/sh/nptl/pthreaddef.h: ... here.
1653 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
1654 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
1655 * nptl/sysdeps/sh/tls.h: Moved ...
1656 * sysdeps/sh/nptl/tls.h: ... here.
1657 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
1658 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
1659 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
1660 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
1661 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
1662 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
1663 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
1664 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
1665 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
1666 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
1667 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
1668 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
1669 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
1670 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
1671 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
1672 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
1673 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
1674 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
1675 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
1676 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
1677 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
1678 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
1679 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
1680 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
1681 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
1683 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
1684 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
1686 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
1687 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
1688 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
1689 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
1690 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
1691 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
1692 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
1693 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
1694 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
1695 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
1696 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
1697 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
1698 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
1699 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
1700 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
1701 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
1702 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
1703 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
1704 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
1706 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1708 * posix/spawn_faction_addopen.c: Include string.h.
1710 2014-06-11 Roland McGrath <roland@hack.frob.com>
1712 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
1713 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
1714 * nptl/sysdeps/x86_64/Makefile: Moved ...
1715 * sysdeps/x86_64/nptl/Makefile: ... here.
1716 * nptl/sysdeps/x86_64/configure: Moved ...
1717 * sysdeps/x86_64/nptl/configure: ... here.
1718 * nptl/sysdeps/x86_64/configure.ac: Moved ...
1719 * sysdeps/x86_64/nptl/configure.ac: ... here.
1720 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
1721 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
1722 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
1723 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
1724 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
1725 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
1726 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
1727 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
1728 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
1729 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
1730 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
1731 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
1732 * nptl/sysdeps/x86_64/tls.h: Moved ...
1733 * sysdeps/x86_64/nptl/tls.h: ... here.
1734 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
1735 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
1736 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
1737 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
1739 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
1741 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1745 2014-06-11 Joseph Myers <joseph@codesourcery.com>
1747 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
1749 [POSIX] (off_t): Likewise.
1750 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
1751 [POSIX] (S_ISBLK): Require macro.
1752 [POSIX] (S_ISCHR): Likewise.
1753 [POSIX] (S_ISDIR): Likewise.
1754 [POSIX] (S_ISFIFO): Likewise.
1755 [POSIX] (S_ISREG): Likewise.
1756 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
1758 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
1760 [POSIX] (time_t): Likewise.
1761 [POSIX] (timer_t): Likewise.
1763 2014-06-11 Florian Weimer <fweimer@redhat.com>
1766 * posix/spawn_int.h (struct __spawn_action): Make the path string
1767 non-const to support deallocation.
1768 * posix/spawn_faction_addopen.c
1769 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
1770 * posix/spawn_faction_destroy.c
1771 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
1772 path in all spawn_do_open actions.
1773 * posix/tst-spawn.c (do_test): Exercise the copy operation in
1774 posix_spawn_file_actions_addopen.
1776 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
1778 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
1779 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
1780 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
1781 conditional code always true.
1782 (__libc_vfork): New alias.
1784 2014-06-11 Roland McGrath <roland@hack.frob.com>
1786 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1787 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
1789 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
1791 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1792 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
1794 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1795 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
1797 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1798 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
1800 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1802 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
1803 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
1804 multiarch strcmp for PPC64.
1805 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
1806 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
1807 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
1808 multiarch optimizations.
1809 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1810 (__libc_ifunc_impl_list): Likewise.
1812 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1814 * benchtests/scripts/validate_benchout.py: New script.
1815 * benchtests/Makefile (bench-func): Call it.
1816 * benchtests/scripts/benchout.schema.json: New file.
1818 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
1820 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
1821 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
1822 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
1823 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
1824 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
1825 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1826 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
1827 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
1828 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
1829 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
1830 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
1831 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
1832 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
1833 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
1834 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
1835 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
1836 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
1838 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
1840 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
1842 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
1843 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
1845 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
1847 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
1849 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
1851 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
1853 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
1854 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
1856 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
1858 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
1860 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
1862 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
1864 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
1865 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
1867 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
1869 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
1871 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
1873 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
1875 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
1877 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
1879 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
1880 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
1882 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
1884 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
1886 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
1888 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
1890 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
1892 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
1894 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
1895 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
1897 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
1899 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
1901 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
1903 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
1905 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
1906 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
1908 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
1910 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
1912 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
1913 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
1915 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
1916 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
1918 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
1920 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
1922 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
1924 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
1926 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
1928 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
1930 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
1931 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
1933 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
1935 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
1937 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
1939 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
1940 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
1941 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
1942 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
1943 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
1945 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
1947 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
1948 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
1949 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
1950 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
1951 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
1952 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
1953 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
1954 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
1955 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
1956 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
1957 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
1958 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
1959 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
1961 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
1962 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
1964 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
1965 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
1966 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
1967 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
1969 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
1970 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
1971 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
1972 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
1973 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
1974 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
1975 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
1977 2014-06-10 Wilco <wdijkstr@arm.com>
1979 * math/test-fenv-return.c: New file.
1980 * math/Makefile: Add new test test-fenv-return.
1982 2014-06-10 Joseph Myers <joseph@codesourcery.com>
1985 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
1987 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
1988 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1989 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
1990 0.0L for an argument of 1.0L.
1991 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1993 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
1994 value when x - 1 is zero.
1995 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
1996 * sysdeps/i386/fpu/libm-test-ulps: Update.
1997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1999 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
2002 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2004 2014-06-09 Roland McGrath <roland@hack.frob.com>
2006 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2007 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2009 2014-06-09 Roland McGrath <roland@hack.frob.com>
2011 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2012 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2014 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2015 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2017 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2018 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2020 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2021 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2023 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2024 if not already defined.
2025 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2026 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2027 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2028 (TLS_INIT_TP): Use it.
2029 (TLS_DEFINE_INIT_TP): New macro.
2030 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2032 2014-06-09 Joseph Myers <joseph@codesourcery.com>
2034 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2036 [POSIX] (IXANY): Likewise.
2037 [POSIX] (OLCUC): Likewise.
2038 [POSIX || POSIX2008] (CBAUD): Do not allow.
2039 [POSIX || POSIX2008] (DEFECHO): Likewise.
2040 [POSIX || POSIX2008] (ECHOCTL): Likewise.
2041 [POSIX || POSIX2008] (ECHOKE): Likewise.
2042 [POSIX || POSIX2008] (ECHOPRT): Likewise.
2043 [POSIX || POSIX2008] (EXTA): Likewise.
2044 [POSIX || POSIX2008] (EXTB): Likewise.
2045 [POSIX || POSIX2008] (FLUSHO): Likewise.
2046 [POSIX || POSIX2008] (LOBLK): Likewise.
2047 [POSIX || POSIX2008] (PENDIN): Likewise.
2048 [POSIX || POSIX2008] (SWTCH): Likewise.
2049 [POSIX || POSIX2008] (VDISCARD): Likewise.
2050 [POSIX || POSIX2008] (VDSUSP): Likewise.
2051 [POSIX || POSIX2008] (VLNEXT): Likewise.
2052 [POSIX || POSIX2008] (VREPRINT): Likewise.
2053 [POSIX || POSIX2008] (VSTATUS): Likewise.
2054 [POSIX || POSIX2008] (VWERASE): Likewise.
2055 (B*): Change to B[0123456789]*.
2056 * conform/data/time.h-data [POSIX || UNIX98]
2057 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2058 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2059 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2060 [POSIX] (tm_*): Do not allow.
2062 2014-06-07 Joseph Myers <joseph@codesourcery.com>
2064 * Makefile (install): Don't set LANGUAGE.
2065 * Makefile.in (install): Likewise.
2066 * assert/Makefile (test-assert-ENV): Remove variable.
2067 (test-assert-perr-ENV): Likewise.
2068 * elf/Makefile (neededtest4-ENV): Likewise.
2069 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2070 [$(cross-compiling) = no]: Don't set LANGUAGE.
2071 * io/ftwtest-sh (LANG): Remove variable.
2072 * libio/Makefile (tst-widetext-ENV): Likewise.
2073 * manual/install.texi (Running make install): Don't refer to
2074 environment settings for make install.
2075 * INSTALL: Regenerated.
2076 * nptl/tst-tls6.sh: Don't set LANG.
2077 * posix/globtest.sh (LANG): Remove variable.
2078 * string/Makefile (tester-ENV): Likewise.
2079 (inl-tester-ENV): Likewise.
2080 (noinl-tester-ENV): Likewise.
2081 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2082 [$(cross-compiling) = no]: Don't set LANGUAGE.
2083 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2084 without explicit environment settings.
2086 2014-06-06 Roland McGrath <roland@hack.frob.com>
2088 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2089 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2090 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2091 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2093 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
2095 * crypt/crypt-private.h [DOS]: Add some includes taken from the
2096 other files in the crypt directory.
2097 * crypt/crypt.c: Remove duplicate includes.
2098 * crypt/crypt-entry.c: Likewise.
2099 * crypt/crypt_util.c: Likewise.
2101 2014-06-06 Joseph Myers <joseph@codesourcery.com>
2103 * Makeconfig (run-program-env): New variable.
2104 (run-program-prefix-before-env): Likewise.
2105 (run-program-prefix-after-env): Likewise.
2106 (run-program-prefix): Define in terms of new variables.
2107 (built-program-cmd-before-env): New variable.
2108 (built-program-cmd-after-env): Likewise.
2109 (built-program-cmd): Define in terms of new variables.
2110 (test-program-prefix-before-env): New variable.
2111 (test-program-prefix-after-env): Likewise.
2112 (test-program-prefix): Define in terms of new variables.
2113 (test-program-cmd-before-env): New variable.
2114 (test-program-cmd-after-env): Likewise.
2115 (test-program-cmd): Define in terms of new variables.
2116 * Rules (make-test-out): Use $(run-program-env).
2117 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
2118 (help): Do not mention environment variables. Mention
2119 --timeoutfactor option.
2120 (timeoutfactor): New variable.
2121 (blacklist_exports): Remove function.
2122 (exports): Remove variable.
2123 (command): Do not include ${exports}.
2124 * manual/install.texi (Configuring and compiling): Do not mention
2125 test wrappers preserving environment variables. Mention that last
2126 assignment to a variable must take precedence.
2127 * INSTALL: Regenerated.
2128 * benchtests/Makefile (run-bench): Use $(run-program-env).
2129 * catgets/Makefile ($(objpfx)test1.cat): Use
2130 $(built-program-cmd-before-env), $(run-program-env) and
2131 $(built-program-cmd-after-env).
2132 ($(objpfx)test2.cat): Do not specify environment variables
2134 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
2135 $(run-program-env) and $(built-program-cmd-after-env).
2136 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
2137 $(run-program-env) and $(test-program-cmd-after-env).
2138 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
2140 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
2141 run_program_env and test_program_cmd_after_env arguments.
2142 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
2143 * elf/tst-pathopt.sh: Use run_program_env argument.
2144 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
2145 $(test-wrapper-env) and $(run-program-env).
2146 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
2147 run_program_env arguments.
2148 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
2149 * intl/Makefile ($(objpfx)tst-gettext.out): Use
2150 $(test-program-prefix-before-env), $(run-program-env) and
2151 $(test-program-prefix-after-env).
2152 ($(objpfx)tst-gettext2.out): Likewise.
2153 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
2154 run_program_env and test_program_prefix_after_env arguments.
2155 * intl/tst-gettext2.sh: Likewise.
2156 * intl/tst-gettext4.sh: Do not set environment variables
2158 * intl/tst-gettext6.sh: Likewise.
2159 * intl/tst-translit.sh: Likewise.
2160 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
2161 $(test-program-prefix-before-env), $(run-program-env) and
2162 $(test-program-prefix-after-env).
2163 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
2164 run_program_env and test_program_prefix_after_env arguments.
2165 * math/Makefile (run-regen-ulps): Use $(run-program-env).
2166 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
2167 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
2168 explicitly with each use of ${test_wrapper_env}.
2169 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
2170 $(test-program-prefix-before-env), $(run-program-env) and
2171 $(test-program-prefix-after-env).
2172 * posix/tst-getconf.sh: Do not set environment variables
2174 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
2175 run_program_env and test_program_prefix_after_env arguments.
2176 * stdio-common/tst-printf.sh: Do not set environment variables
2178 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
2179 $(test-program-prefix-before-env), $(run-program-env) and
2180 $(test-program-prefix-after-env).
2181 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
2182 run_program_env and test_program_prefix_after_env arguments.
2183 Split $test calls into $test_pre and $test.
2184 * timezone/Makefile (build-testdata): Use
2185 $(built-program-cmd-before-env), $(run-program-env) and
2186 $(built-program-cmd-after-env).
2188 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2190 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
2191 strlen for non SHARED builds.
2193 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2195 * nptl/allocatestack.c (check_list): Inlined function...
2196 (__reclaim_stacks): ... here.
2198 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
2201 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2204 2014-06-05 Joseph Myers <joseph@codesourcery.com>
2206 * Rules (make-test-out): Include
2207 LOCPATH=$(common-objpfx)localedata in default environment.
2208 * debug/Makefile (tst-chk1-ENV): Remove variable.
2209 (tst-chk2-ENV): Likewise.
2210 (tst-chk3-ENV): Likewise.
2211 (tst-chk4-ENV): Likewise.
2212 (tst-chk5-ENV): Likewise.
2213 (tst-chk6-ENV): Likewise.
2214 (tst-lfschk1-ENV): Likewise.
2215 (tst-lfschk2-ENV): Likewise.
2216 (tst-lfschk3-ENV): Likewise.
2217 (tst-lfschk4-ENV): Likewise.
2218 (tst-lfschk5-ENV): Likewise.
2219 (tst-lfschk6-ENV): Likewise.
2220 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
2221 (tst-iconv7-ENV): Likewise.
2222 * intl/Makefile (LOCPATH-ENV): Likewise.
2223 (tst-codeset-ENV): Likewise.
2224 (tst-gettext3-ENV): Likewise.
2225 (tst-gettext5-ENV): Likewise.
2226 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
2227 (tst-fopenloc-ENV): Likewise.
2228 (tst-fgetws-ENV): Remove variable.
2229 (tst-ungetwc1-ENV): Likewise.
2230 (tst-ungetwc2-ENV): Likewise.
2231 (bug-ungetwc2-ENV): Likewise.
2232 (tst-swscanf-ENV): Likewise.
2233 (bug-ftell-ENV): Likewise.
2234 (tst-fgetwc-ENV): Likewise.
2235 (tst-fseek-ENV): Likewise.
2236 (tst-ftell-partial-wide-ENV): Likewise.
2237 (tst-ftell-active-handler-ENV): Likewise.
2238 (tst-ftell-append-ENV): Likewise.
2239 * posix/Makefile (tst-fnmatch-ENV): Likewise.
2240 (tst-regexloc-ENV): Likewise.
2241 (bug-regex1-ENV): Likewise.
2242 (tst-regex-ENV): Likewise.
2243 (tst-regex2-ENV): Likewise.
2244 (bug-regex5-ENV): Likewise.
2245 (bug-regex6-ENV): Likewise.
2246 (bug-regex17-ENV): Likewise.
2247 (bug-regex18-ENV): Likewise.
2248 (bug-regex19-ENV): Likewise.
2249 (bug-regex20-ENV): Likewise.
2250 (bug-regex22-ENV): Likewise.
2251 (bug-regex23-ENV): Likewise.
2252 (bug-regex25-ENV): Likewise.
2253 (bug-regex26-ENV): Likewise.
2254 (bug-regex30-ENV): Likewise.
2255 (bug-regex32-ENV): Likewise.
2256 (bug-regex33-ENV): Likewise.
2257 (bug-regex34-ENV): Likewise.
2258 (bug-regex35-ENV): Likewise.
2259 (tst-rxspencer-ENV): Likewise.
2260 (tst-rxspencer-no-utf8-ENV): Likewise.
2261 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
2262 (tst-sscanf-ENV): Likewise.
2263 (tst-swprintf-ENV): Likewise.
2264 (tst-swscanf-ENV): Likewise.
2265 (test-vfprintf-ENV): Likewise.
2266 (scanf13-ENV): Likewise.
2267 (bug14-ENV): Likewise.
2268 (tst-grouping-ENV): Likewise.
2269 * stdlib/Makefile (tst-strtod-ENV): Likewise.
2270 (tst-strtod3-ENV): Likewise.
2271 (tst-strtod4-ENV): Likewise.
2272 (tst-strtod5-ENV): Likewise.
2273 (testmb2-ENV): Likewise./
2274 * string/Makefile (tst-strxfrm-ENV): Likewise.
2275 (tst-strxfrm2-ENV): Likewise.
2276 (bug-strcoll1-ENV): Likewise.
2277 (test-strcasecmp-ENV): Likewise.
2278 (test-strncasecmp-ENV): Likewise.
2279 * time/Makefile (tst-strptime-ENV): Likewise.
2280 (tst-ftime_l-ENV): Likewise.
2281 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
2282 (tst-mbrtowc-ENV): Likewise.
2283 (tst-wcrtomb-ENV): Likewise.
2284 (tst-mbrtowc2-ENV): Likewise.
2285 (tst-c16c32-1-ENV): Likewise.
2286 (tst-mbsnrtowcs-ENV): Likewise.
2288 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
2290 * manual/resource.texi (How to get information about the memory
2291 subsystem?): Fix typo.
2292 Reported by Peon de la Parra Ivan <peon@keba.com>
2294 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
2297 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
2298 (pthread_spin_lock): Branch out of spin loop to proper location.
2299 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
2300 (pthread_spin_lock): Likewise.
2302 * nptl/tst-spin4.c: New test.
2303 * nptl/Makefile (tests): Add tst-spin4.
2305 2014-06-03 Andreas Schwab <schwab@suse.de>
2308 * resolv/res_send.c (send_dg): Reload file descriptor after
2311 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
2313 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2315 2014-06-03 Richard Henderson <rth@redhat.com>
2317 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
2318 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
2319 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
2320 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
2321 in the SAVE_PID block.
2322 (__libc_vfork): New alias.
2323 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
2325 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
2326 child in registers, not on the stack. Remove RESET_PID conditionals.
2327 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
2329 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
2331 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2333 2014-06-03 Wilco <wdijkstr@arm.com>
2335 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
2336 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
2337 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2338 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
2339 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
2342 2014-06-03 Wilco <wdijkstr@arm.com>
2344 * sysdeps/aarch64/fpu/math_private.h
2345 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
2346 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
2347 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
2348 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2351 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2353 * crypt/crypt-private.h: Include ufc-crypt.h.
2354 (__b64_from_24bit): Declare extern.
2355 * crypt/crypt_util.c(__b64_from_24bit): New function.
2356 (b64t): New static const variable.
2357 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
2358 (b64t): Remove variable.
2359 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
2360 * crypt/sha256-crypt.c: Include crypt-private.h.
2361 (b64t): Remove variable.
2362 (__sha256_crypt_r): Remove b64_from_24bit and replace
2363 with __b64_from_24bit.
2364 * crypt/sha512-crypt.c: Likewise.
2366 2014-06-02 Roland McGrath <roland@hack.frob.com>
2368 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
2369 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
2370 Label the code __libc_vfork rather than __vfork.
2371 [!NOT_IN_libc] (vfork): Define as weak alias.
2372 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
2373 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
2374 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
2376 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2378 * malloc/malloc.c (malloc_info): Fix format specifier for
2381 2014-06-02 Wilco <wdijkstr@arm.com>
2383 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
2386 2014-06-02 Wilco <wdijkstr@arm.com>
2389 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
2390 Rewrite to reduce FPCR/FPSR accesses.
2392 2014-06-01 David S. Miller <davem@davemloft.net>
2394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2396 2014-05-31 David S. Miller <davem@davemloft.net>
2398 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
2399 to occur in round to nearest mode when |x| >= 2.0
2401 2014-05-30 Richard Henderson <rth@twiddle.net>
2403 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
2404 (PSEUDO_RET_NOERRNO): Remove.
2405 (ret): Don't redefine.
2406 (ret_NOERRNO): Define in terms of ret.
2407 (ret_ERRVAL): Likewise.
2409 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
2410 use of PSEUDO_RET; perform the error check directly.
2412 2014-05-30 Marko Myllynen <myllynen@redhat.com>
2414 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
2417 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2419 * malloc/malloc (malloc_info): Fix formatting.
2421 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2422 Roland McGrath <roland@hack.frob.com>
2424 * malloc/malloc (malloc_info): Also print mmapped statistics.
2426 2014-05-30 Roland McGrath <roland@hack.frob.com>
2428 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
2429 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
2431 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
2433 * malloc/malloc.c (malloc_info): Inline mi_arena.
2435 2014-05-29 Richard Henderson <rth@twiddle.net>
2437 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
2438 Remove comma before expanding ASM_ARGS_##nr.
2439 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
2440 Make _x0 a strict output; make _x8 a strict input; adjust expansion
2442 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
2443 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
2444 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
2445 (ASM_ARGS_1): Add leading comma.
2447 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
2448 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
2449 to __errno_location.
2450 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
2451 Remove the expected plt for __errno_location.
2453 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2454 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
2457 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2458 Always allocate 64 bytes of stack frame. Use ldp/stp to create
2459 it and break it down.
2460 (DOCARGS_0, DOCARGS_1): Do nothing.
2461 (DOCARGS_2): Update to store into the new stack frame.
2462 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
2463 (UNDOCARGS_1): Update to restore from the new stack frame.
2464 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
2465 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
2467 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2468 (SINGLE_THREAD_P): New parameter for result regno.
2469 (PSEUDO): Update to match; use cbz instead of beq.
2471 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2472 Use ENTRY to define the _nocancel entry point. Share the syscall
2473 and syscall error check paths with the cancel path.
2476 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
2477 whitespace; tabs before and after asm mnemonics.
2479 2014-05-29 Eric Wong <normalperson@yhbt.net>
2482 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2483 Call fstat64 or stat64 internally, depending on arguments passed.
2484 Replace stat buffer argument with file descriptor argument.
2485 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
2486 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2487 Pass fd to __internal_statvfs instead of calling fstat64.
2488 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
2489 Pass fd to __internal_statvfs64 instead of calling fstat64.
2490 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
2491 Pass -1 to __internal_statvfs instead of calling stat64.
2492 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
2493 Pass -1 to __internal_statvfs64 instead of calling stat64.
2495 2014-05-28 Roland McGrath <roland@hack.frob.com>
2497 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
2498 that was previously under [RESET_PID].
2499 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
2501 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
2502 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
2504 2014-05-27 Roland McGrath <roland@hack.frob.com>
2506 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
2508 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
2509 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
2511 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
2513 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
2515 2014-05-27 Andreas Schwab <schwab@suse.de>
2517 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
2519 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2520 * elf/rtld.c (init_tls, dl_main): Likewise.
2521 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
2522 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
2523 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
2524 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
2525 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
2526 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
2527 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
2528 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
2529 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
2530 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
2531 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
2532 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
2533 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
2534 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
2535 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
2536 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
2537 * sysdeps/generic/tls.h: Update description.
2539 2014-05-27 Will Newton <will.newton@linaro.org>
2542 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
2543 and restore r2 rather than just restoring.
2545 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2548 * libio/tst-ftell-append.c: New test case.
2549 * libio/Makefile (tests): Add test case.
2550 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
2552 * libio/wfileops.c (do_ftell_wide): Likewise.
2554 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2556 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2558 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
2560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
2561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2562 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
2563 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
2564 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
2565 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
2566 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
2567 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
2568 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
2571 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
2574 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
2575 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
2576 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
2577 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
2578 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
2580 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
2581 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
2583 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
2585 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
2587 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
2588 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
2589 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
2591 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
2592 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
2593 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
2594 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
2596 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
2598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
2599 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
2601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
2602 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
2604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
2605 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
2609 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
2612 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
2616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
2617 conditional [RESET_PID].
2618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2619 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
2621 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
2624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
2626 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2627 (__libc_vfork): New strong alias.
2628 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
2630 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
2633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
2635 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
2636 (__libc_vfork): New strong alias.
2637 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
2639 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
2642 2014-05-26 Carlos O'Donell <carlos@redhat.com>
2644 * malloc/malloc.c (mi_arena): New function.
2645 (malloc_info): Remove nested function mi_arena. Call non-nosted
2648 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2650 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
2652 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
2653 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
2654 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
2655 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
2656 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
2657 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
2658 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
2660 2014-05-26 Andreas Schwab <schwab@suse.de>
2663 * locale/programs/repertoire.c (repertoire_read): Add slash
2664 between I18NPATH element and file name.
2665 * locale/programs/locfile.c (locfile_read): Likewise.
2667 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2669 * nptl/pthread_mutexattr_settype.c
2670 (__pthread_mutexattr_settype):
2671 Disable lock elision for PTHREAD_MUTEX_NORMAL.
2673 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2675 * nptl/tst-mutex5 (do_test):
2676 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
2678 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2680 * benchtests/README: Document 'init' directive.
2681 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
2683 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
2684 (parse_file): Recognize 'init' directive.
2686 2014-05-26 Kyle McMartin <kyle@redhat.com>
2689 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
2690 alignment of struct pthread.
2692 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2695 * nscd/netgroupcache.c (addgetnetgrentX): Look for
2696 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2697 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
2698 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2700 2014-05-25 Richard Henderson <rth@twiddle.net>
2702 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2703 (SINGLE_THREAD_P_PIC): Remove.
2704 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
2705 (SINGLE_THREAD_P_PIC): Remove.
2707 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
2708 branch to syscall error ...
2710 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
2711 from __local_syscall_error to .Lsyscall_error.
2712 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
2713 (SYSCALL_ERROR): Update label name.
2715 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2716 Do not use DOARGS/UNDOARGS.
2717 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
2718 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
2719 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
2720 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
2721 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
2723 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
2726 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
2727 define if !NOT_IN_libc.
2728 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
2729 define with non-default symbol versions.
2731 2014-05-23 Richard Henderson <rth@twiddle.net>
2733 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
2734 (vfork, __vfork): Define via compat_symbol.
2736 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
2737 [!HAVE_IFUNC] (vfork_compat): Remove.
2738 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
2740 2014-05-23 Joseph Myers <joseph@codesourcery.com>
2743 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
2744 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
2747 2014-05-23 Richard Henderson <rth@twiddle.net>
2749 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
2750 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
2751 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
2752 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
2754 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
2755 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
2756 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
2757 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
2758 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
2759 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
2760 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
2761 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
2762 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
2763 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
2764 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
2765 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
2766 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
2767 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
2768 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
2769 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
2770 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
2771 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
2772 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
2773 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
2774 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
2775 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
2776 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
2777 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
2778 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
2779 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
2780 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
2781 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
2782 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
2783 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
2784 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
2785 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
2786 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
2787 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
2788 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
2789 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
2790 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
2791 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
2792 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
2793 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
2794 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
2795 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
2796 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
2797 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
2798 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
2799 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
2800 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
2801 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
2802 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
2803 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
2804 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
2805 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
2806 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
2807 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
2808 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
2809 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
2811 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
2812 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
2813 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
2814 before exiting on error.
2815 (__libc_vfork): New strong alias.
2816 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
2817 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
2819 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
2820 that was previously under [RESET_PID].
2821 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
2823 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
2825 2014-05-23 Joseph Myers <joseph@codesourcery.com>
2828 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
2829 value when x - 1 is zero.
2830 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
2831 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2832 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
2833 0.0L for an argument of 1.0L.
2834 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
2836 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
2837 value when x - 1 is zero.
2838 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
2839 * sysdeps/i386/fpu/libm-test-ulps: Update.
2840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2842 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2844 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
2845 alphasort and versionsort.
2847 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2849 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
2851 [copysignf]: Likewise.
2853 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2855 * crypt/md5-crypt.c: Fix formatting.
2857 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2859 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
2860 (b64_from_24bit): New function.
2862 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2864 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
2865 libc_hidden_builtin_def to ifunc.
2866 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2867 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
2869 2014-05-21 Roland McGrath <roland@hack.frob.com>
2871 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
2872 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
2874 2014-05-21 Joseph Myers <joseph@codesourcery.com>
2876 * nscd/Depend (linuxthreads): Remove.
2878 * resolv/Depend (linuxthreads): Remove.
2879 * rt/Depend (linuxthreads): Remove.
2881 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
2882 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
2883 $(common-objpfx)elf/.
2884 (link-libc-before-gnulib): Likewise.
2885 (elfobjdir): Remove variable.
2886 * Makefile (install): Use $(elf-objpfx) instead of
2887 $(common-objpfx)elf/.
2888 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
2890 (link-libc-deps): Likewise.
2891 ($(common-objpfx)libc.so): Likewise.
2892 ($(common-objpfx)linkobj/libc.so): Likewise.
2893 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
2894 instead of $(common-objpfx)elf/.
2895 (symbolic-link-list): Likewise.
2896 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2897 [$(cross-compiling) = no]: Likewise.
2898 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
2900 (static-gnulib-arch): Likewise.
2901 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2902 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
2903 $(common-objpfx)elf/.
2905 2014-05-21 Richard Henderson <rth@redhat.com>
2907 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2908 (SINGLE_THREAD_P): Use the correct width load. Fold
2909 into the ldr offset.
2911 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
2912 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
2914 2014-05-20 Joseph Myers <joseph@codesourcery.com>
2916 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
2917 (libgcc_s_resume): Use __attribute_used__.
2918 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
2921 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2923 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
2924 optimization when used with float constants.
2926 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2928 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
2931 * locale/nl_langinfo_l.c: Make direct reference to every
2932 _nl_current_CATEGORY symbol.
2933 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
2934 (tests-static): Add tst-langinfo-static.
2935 (tests-special): Add tst-langinfo-static.out.
2936 ($(objpfx)tst-langinfo.out): Redirect output.
2937 ($(objpfx)tst-langinfo-static.out): New.
2938 * localedata/tst-langinfo.sh: Send output to stdout.
2939 * localedata/tst-langinfo-static.c: New file.
2942 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
2943 when the shift amount is modulo the limb size.
2945 2014-05-20 Richard Henderson <rth@redhat.com>
2948 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
2949 Change type of sa_flags from unsigned int to int.
2952 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
2954 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
2956 2014-05-20 Will Newton <will.newton@linaro.org>
2958 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2959 Test the return value of the system call in the nocancel case.
2961 2014-05-20 Will Newton <will.newton@linaro.org>
2962 Yvan Roux <yvan.roux@linaro.org>
2964 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
2965 #include of asm/ptrace.h.
2966 (PTRACE_GET_THREAD_AREA): Remove #undef.
2967 (PTRACE_GETHBPREGS): Likewise.
2968 (PTRACE_SETHBPREGS): Likewise.
2969 (struct user_regs_struct): New structure.
2970 (struct user_fpsimd_struct): New structure.
2971 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
2972 #include of asm/ptrace.h and second #include of sys/user.h.
2973 (PTRACE_GET_THREAD_AREA): Remove #undef.
2974 (PTRACE_GETHBPREGS): Likewise.
2975 (PTRACE_SETHBPREGS): Likewise.
2976 (ELF_NGREG): Use new struct user_regs_struct.
2977 (elf_fpregset_t): Use new struct user_fpsimd_struct.
2979 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2981 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
2982 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
2984 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2987 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
2988 membar to avoid block loads/stores to overlap previous stores.
2990 2014-05-17 Richard Henderson <rth@redhat.com>
2992 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
2993 Create the __##syscall_name##_nocancel entry point.
2994 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
2995 Remove; let the sysdep-cancel.h code create it.
2997 2014-05-17 David S. Miller <davem@davemloft.net>
2999 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3000 Protect with __USE_GNU.
3001 (TIOCSET_TEMPT): Likewise.
3002 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3003 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3004 these are already provided in bits/ioctl-types.h
3006 2014-05-16 Roland McGrath <roland@hack.frob.com>
3008 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3009 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3011 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3012 Use wait4 regardless of [__NR_waitpid].
3014 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3017 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3018 (_FP_NANSIGN_Q): Set the quiet bit.
3020 2014-05-16 Joseph Myers <joseph@codesourcery.com>
3022 * benchtests/Makefile
3023 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3024 not $(common-objpfx)math/libm.so.
3025 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3026 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3027 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3028 $(common-objpfx)dlfcn/libdl.so.
3029 ($(objpfx)tst-audit8): Depend on $(libm), not
3030 $(common-objpfx)math/libm.so.
3031 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3032 not $(common-objpfx)dlfcn/libdl.so.
3034 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3035 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
3036 [$(build-shared) = yes].
3037 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3038 $(common-objpfx)nptl/libpthread.so.
3039 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3040 $(common-objpfx)math/libm.so$(libm.so-version) or
3041 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3042 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3043 $(common-objpfx)dlfcn/libdl.so.
3044 * setjmp/Makefile (link-libm): Remove variable.
3045 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3046 * stdio-common/Makefile (link-libm): Remove variable.
3047 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3048 * stdlib/Makefile (link-libm): Remove variable.
3049 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3050 ($(objpfx)tst-strtod-round): Likewise.
3051 ($(objpfx)tst-tininess): Likewise.
3052 ($(objpfx)tst-strtod-underflow): Likewise.
3053 ($(objpfx)tst-strtod6): Likewise.
3054 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3055 $(libdl), not $(common-objpfx)nptl/libpthread.so and
3056 $(common-objpfx)dlfcn/libdl.so.
3058 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3060 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3061 BSD terminal modes definitions.
3063 2014-05-16 Roland McGrath <roland@hack.frob.com>
3065 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3066 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3068 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
3069 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3070 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3071 Don't do #include_next.
3072 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3073 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3074 Don't do #include_next.
3075 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3076 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3077 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3078 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3080 2014-05-16 Allan McRae <allan@archlinux.org>
3082 * po/sv.po: Update Swedish translation from translation project.
3084 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3087 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
3090 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3091 errno if the TIOCGPTN ioctl fails with an error different than
3093 * login/tst-ptsname.c: New file.
3094 * login/Makefile (tests): Add tst-ptsname.
3097 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
3100 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3103 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
3104 herrno to return EAI_AGAIN.
3106 2014-05-14 Roland McGrath <roland@hack.frob.com>
3108 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
3109 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
3110 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
3111 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
3112 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
3113 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
3114 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
3115 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
3116 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
3117 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
3118 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
3119 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
3120 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
3121 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
3122 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
3123 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
3124 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
3125 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
3126 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
3127 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
3128 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
3129 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
3130 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
3131 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
3132 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
3133 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
3134 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
3135 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
3136 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
3137 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
3138 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
3139 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
3140 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
3141 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
3142 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3144 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
3145 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
3146 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
3147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
3148 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
3149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
3150 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
3151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
3152 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
3153 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
3154 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
3155 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
3156 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
3157 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
3158 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
3159 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
3160 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
3161 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
3162 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
3163 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
3164 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
3165 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
3166 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
3167 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
3168 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
3169 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
3170 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
3171 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3173 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
3174 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
3175 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
3176 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
3177 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
3178 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
3179 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
3180 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
3181 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
3182 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
3183 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
3184 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
3185 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
3186 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
3187 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
3188 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
3189 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
3190 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
3191 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
3192 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3194 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
3195 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
3196 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
3198 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
3199 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
3200 (libpthread-sysdep_routines): Add elision-related stuff here instead.
3201 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
3202 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
3203 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
3204 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
3205 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
3206 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
3207 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
3208 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
3209 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
3210 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
3211 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
3212 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
3213 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
3214 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
3215 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
3216 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
3217 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
3218 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
3219 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
3220 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
3221 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
3222 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
3223 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
3224 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
3225 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
3226 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
3227 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
3228 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
3230 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
3231 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
3233 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
3234 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
3235 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
3236 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
3237 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
3238 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
3240 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
3241 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3243 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
3244 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3246 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
3247 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
3249 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
3250 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
3251 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
3252 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3254 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
3255 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
3256 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
3257 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
3258 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
3259 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
3260 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
3261 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3263 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
3264 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3266 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3268 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
3269 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
3270 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
3271 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
3272 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3274 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3276 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
3278 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
3279 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
3280 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
3281 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
3282 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
3283 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
3285 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
3286 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3288 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
3289 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3291 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
3292 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
3294 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
3295 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
3296 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
3297 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
3299 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
3300 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
3301 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
3302 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
3303 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
3304 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
3305 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
3306 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3308 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
3309 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3311 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3313 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
3314 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
3315 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
3316 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
3317 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3319 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3321 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
3323 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
3324 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
3325 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
3326 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
3327 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
3328 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
3329 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
3330 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
3331 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
3332 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
3334 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
3335 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3337 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
3338 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3340 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
3341 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
3343 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
3344 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
3345 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
3346 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
3347 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
3348 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3350 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
3351 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
3352 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
3353 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
3354 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
3355 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
3356 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
3357 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3359 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
3360 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3362 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3364 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
3365 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
3366 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
3367 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
3368 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3370 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3372 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
3374 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
3375 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
3376 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
3377 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
3378 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
3379 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
3380 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
3381 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
3382 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
3383 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
3384 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
3386 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
3387 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
3389 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
3390 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
3392 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
3393 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
3394 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
3395 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
3396 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
3397 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
3398 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
3399 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
3400 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
3401 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
3402 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
3403 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
3404 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
3405 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
3406 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
3407 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
3408 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
3409 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
3411 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
3412 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
3413 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
3414 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
3416 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
3417 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
3418 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
3419 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
3420 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
3421 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
3422 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
3423 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
3425 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
3426 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
3428 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
3429 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
3430 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
3431 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
3432 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
3433 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
3434 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
3435 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
3436 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
3437 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
3438 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
3439 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
3440 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
3441 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
3442 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
3443 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
3444 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
3446 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
3447 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
3448 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
3449 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
3450 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
3452 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
3453 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
3454 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
3455 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
3456 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
3457 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
3458 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
3459 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
3460 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
3461 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
3463 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
3464 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
3466 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
3467 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3468 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
3469 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
3470 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
3471 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
3472 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
3473 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
3474 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
3475 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
3476 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
3477 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
3478 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
3479 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
3480 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
3482 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
3484 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3486 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3488 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3490 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
3492 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
3494 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3496 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
3498 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
3500 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
3501 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
3502 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
3503 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
3504 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
3505 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
3506 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
3507 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
3508 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
3509 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
3510 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
3511 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
3512 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
3513 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
3514 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3516 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
3517 that was previously under [RESET_PID].
3518 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3519 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
3520 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
3522 * sysdeps/i386/nptl/Implies: New file.
3523 * sysdeps/x86_64/nptl/Implies: New file.
3524 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
3525 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3526 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
3527 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
3529 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
3530 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3531 (__libc_vfork): New strong alias.
3532 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
3533 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
3535 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
3536 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3537 (__libc_vfork): New strong alias.
3538 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
3539 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
3541 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
3542 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3543 (__libc_vfork): New strong alias.
3544 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
3545 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
3546 * nptl/pt-vfork.c: New file.
3547 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
3548 (libpthread: GLIBC_2.20): New version set (empty).
3550 2014-05-14 Will Newton <will.newton@linaro.org>
3552 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
3555 2014-05-14 Joseph Myers <joseph@codesourcery.com>
3558 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
3559 arguments with exponent 65 or above.
3560 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
3561 arguments 0x1p113L or above.
3562 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
3563 to arguments 0x1p107L or above.
3564 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
3565 positive arguments with exponent 65 or above.
3566 * math/auto-libm-test-in: Add more tests of log1p.
3567 * math/auto-libm-test-out: Regenerated.
3570 * math/s_cacos.c (__cacos): Ensure zero real part of result from
3571 non-finite arguments is +0.
3572 * math/s_cacosf.c (__cacosf): Likewise.
3573 * math/s_cacosl.c (__cacosl): Likewise.
3574 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
3575 * sysdeps/i386/fpu/libm-test-ulps: Update.
3576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3579 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
3581 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
3582 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
3583 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
3584 for explicit high bit of mantissa when testing for argument equal
3586 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
3587 * sysdeps/i386/fpu/libm-test-ulps: Update.
3588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3591 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
3592 (__erf): Scale by 16 instead of 8 in potentially underflowing
3593 case. Ensure exception if result actually underflows.
3594 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
3595 (__erff): Scale by 16 instead of 8 in potentially underflowing
3596 case. Ensure exception if result actually underflows.
3597 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
3598 (efx8): Remove variable.
3599 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3600 case. Ensure exception if result actually underflows.
3601 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
3602 (efx8): Remove variable.
3603 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3604 case. Ensure exception if result actually underflows.
3605 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
3606 (efx8): Remove variable.
3607 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3608 case. Ensure exception if result actually underflows.
3609 * math/auto-libm-test-in: Add more tests of erf.
3610 * math/auto-libm-test-out: Regenerated.
3612 2014-05-14 Andreas Schwab <schwab@suse.de>
3614 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
3615 Remove code conditionalized on USE___THREAD.
3617 * config.h.in (HAVE_PT_CHOWN): Define as 0.
3618 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
3621 2014-05-14 Joseph Myers <joseph@codesourcery.com>
3623 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
3624 Define unconditionally.
3625 (__ASSUME_O_CLOEXEC): Likewise.
3626 (__ASSUME_SOCK_CLOEXEC): Likewise.
3627 (__ASSUME_IN_NONBLOCK): Likewise.
3628 (__ASSUME_PIPE2): Likewise.
3629 (__ASSUME_EVENTFD2): Likewise.
3630 (__ASSUME_SIGNALFD4): Likewise.
3631 (__ASSUME_DUP3): Likewise.
3632 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3633 (__ASSUME_DUP3): Do not define.
3634 (__ASSUME_EVENTFD2): Likewise.
3635 (__ASSUME_IN_NONBLOCK): Likewise.
3636 (__ASSUME_O_CLOEXEC): Likewise.
3637 (__ASSUME_PIPE2): Likewise.
3638 (__ASSUME_SIGNALFD4): Likewise.
3639 (__ASSUME_SOCK_CLOEXEC): Likewise.
3640 (__ASSUME_UTIMES): Undefine.
3641 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3642 (__ASSUME_UTIMES): Do not define.
3643 (__ASSUME_O_CLOEXEC): Likewise.
3644 (__ASSUME_SOCK_CLOEXEC): Likewise.
3645 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
3646 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
3648 (__ASSUME_PIPE2): Likewise.
3649 (__ASSUME_EVENTFD2): Likewise.
3650 (__ASSUME_SIGNALFD4): Likewise.
3651 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
3652 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
3654 (__ASSUME_EVENTFD2): Likewise.
3655 (__ASSUME_SIGNALFD4): Likewise.
3656 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3657 (__ASSUME_32BITUIDS): Likewise.
3658 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3659 (__ASSUME_IPC64): Likewise.
3660 (__ASSUME_ST_INO_64_BIT): Likewise.
3661 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
3662 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
3663 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3664 (__ASSUME_UTIMES): Do not define.
3665 (__ASSUME_PSELECT): Likewise.
3666 (__ASSUME_PPOLL): Likewise.
3667 (__ASSUME_O_CLOEXEC): Likewise.
3668 (__ASSUME_SOCK_CLOEXEC): Likewise.
3669 (__ASSUME_IN_NONBLOCK): Likewise.
3670 (__ASSUME_PIPE2): Likewise.
3671 (__ASSUME_EVENTFD2): Likewise.
3672 (__ASSUME_SIGNALFD4): Likewise.
3673 (__ASSUME_DUP3): Likewise.
3674 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3675 (__ASSUME_UTIMES): Likewise.
3676 (__ASSUME_O_CLOEXEC): Likewise.
3677 (__ASSUME_SOCK_CLOEXEC): Likewise.
3678 (__ASSUME_IN_NONBLOCK): Likewise.
3679 (__ASSUME_PIPE2): Likewise.
3680 (__ASSUME_EVENTFD2): Likewise.
3681 (__ASSUME_SIGNALFD4): Likewise.
3682 (__ASSUME_DUP3): Likewise.
3683 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3684 (__ASSUME_UTIMES): Likewise.
3685 (__ASSUME_O_CLOEXEC): Likewise.
3686 (__ASSUME_SOCK_CLOEXEC): Likewise.
3687 (__ASSUME_IN_NONBLOCK): Likewise.
3688 (__ASSUME_PIPE2): Likewise.
3689 (__ASSUME_EVENTFD2): Likewise.
3690 (__ASSUME_SIGNALFD4): Likewise.
3691 (__ASSUME_DUP3): Likewise.
3692 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
3694 (__ASSUME_UTIMES): Likewise.
3695 (__ASSUME_EVENTFD2): Likewise.
3696 (__ASSUME_SIGNALFD4): Likewise.
3697 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3698 (__ASSUME_O_CLOEXEC): Likewise.
3699 (__ASSUME_SOCK_CLOEXEC): Likewise.
3700 (__ASSUME_IN_NONBLOCK): Likewise.
3701 (__ASSUME_PIPE2): Likewise.
3702 (__ASSUME_EVENTFD2): Likewise.
3703 (__ASSUME_SIGNALFD4): Likewise.
3704 (__ASSUME_DUP3): Likewise.
3705 (__ASSUME_UTIMES): Undefine.
3707 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
3708 feclearexcept. Remove symbol versioning code.
3709 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
3710 symbol versioning code.
3711 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
3712 symbol versioning code.
3713 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
3714 feupdateenv. Remove symbol versioning code.
3715 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
3716 fegetexceptflag. Remove symbol versioning code.
3717 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
3718 fesetexceptflag. Remove symbol versioning code.
3719 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
3720 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
3721 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
3722 (__posix_fadvise64_l32): Remove prototype.
3723 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
3726 2014-05-13 Roland McGrath <roland@hack.frob.com>
3728 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
3729 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
3730 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
3731 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
3733 2014-05-13 Sami Kerola <kerolasa@iki.fi>
3735 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
3736 current working directory
3738 2014-05-13 Roland McGrath <roland@hack.frob.com>
3740 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
3741 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
3742 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
3743 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
3744 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
3745 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
3746 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
3747 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
3748 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
3749 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
3750 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
3751 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
3752 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
3753 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
3754 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
3755 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
3756 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
3757 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
3758 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
3759 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
3760 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
3761 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
3762 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
3763 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
3764 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
3765 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
3766 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
3767 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
3768 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
3769 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
3770 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
3771 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
3772 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
3773 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
3774 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
3775 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
3776 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
3777 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
3778 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
3779 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
3780 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
3781 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
3783 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
3784 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
3786 * sysdeps/unix/sysv/linux/arm/Makefile
3787 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3788 Add rt-aeabi_unwind_cpp_pr1.
3789 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
3790 Add nptl-aeabi_unwind_cpp_pr1.
3791 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
3792 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
3793 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
3794 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3795 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
3796 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3798 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
3799 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
3800 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
3801 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
3803 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
3804 Deconditionalize the code that was previously under [RESET_PID].
3805 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
3807 * sysdeps/generic/exit-thread.h: New file.
3808 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
3809 * include/unistd.h (__exit_thread): Remove declaration.
3810 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
3811 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
3812 * csu/libc-start.c: Include <exit-thread.h>.
3813 (LIBC_START_MAIN): Pass no argument to __exit_thread.
3814 * nptl/pthread_create.c: Include <exit-thread.h>.
3815 (start_thread): Call __exit_thread in place of __exit_thread_inline.
3816 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
3817 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
3818 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
3819 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
3820 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
3821 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
3822 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
3823 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
3824 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
3825 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
3826 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
3827 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
3828 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
3829 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
3830 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
3831 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
3833 2014-05-13 Andreas Schwab <schwab@suse.de>
3835 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
3837 2014-05-12 Joseph Myers <joseph@codesourcery.com>
3839 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3840 (__ASSUME_UTIMES): Do not condition on kernel version.
3841 (__ASSUME_PSELECT): Define unconditionally.
3842 (__ASSUME_PPOLL): Likewise.
3843 (__ASSUME_ATFCTS): Likewise.
3844 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
3845 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
3846 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
3847 (__ASSUME_UTIMENSAT): Define unconditionally.
3848 (__ASSUME_PRIVATE_FUTEX): Likewise.
3849 (__ASSUME_FALLOCATE): Likewise.
3850 (__ASSUME_O_CLOEXEC): Likewise.
3851 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
3852 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
3853 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
3854 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
3855 (__ASSUME_IN_NONBLOCK): Likewise.
3856 (__ASSUME_PIPE2): Likewise.
3857 (__ASSUME_EVENTFD2): Likewise.
3858 (__ASSUME_SIGNALFD4): Likewise.
3859 (__ASSUME_DUP3): Likewise.
3860 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3861 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
3862 (__ASSUME_AT_RANDOM): Likewise.
3863 (__ASSUME_PREADV): Likewise.
3864 (__ASSUME_PWRITEV): Likewise.
3865 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
3866 (__ASSUME_F_GETOWN_EX): Define unconditionally.
3867 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
3868 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3869 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
3870 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3871 (__ASSUME_O_CLOEXEC): Define unconditionally.
3872 (__ASSUME_PSELECT): Do not undefine conditionally.
3873 (__ASSUME_PPOLL): Likewise.
3874 (__ASSUME_ATFCTS): Likewise.
3875 (__ASSUME_SET_ROBUST_LIST): Likewise.
3876 (__ASSUME_UTIMENSAT): Likewise.
3877 (__ASSUME_FDATASYNC): Define unconditionally.
3878 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3879 (__ASSUME_SIGFRAME_V2): Likewise.
3880 )__ASSUME_EVENTFD2): Likewise.
3881 (__ASSUME_SIGNALFD4): Likewise.
3882 (__ASSUME_PSELECT): Do not undefine conditionally.
3883 (__ASSUME_PPOLL): Likewise.
3884 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3885 (__ASSUME_PSELECT): Define unconditionally.
3886 (__ASSUME_PPOLL): Likewise.
3887 (__ASSUME_O_CLOEXEC): Likewise.
3888 (__ASSUME_SOCK_CLOEXEC): Likewise.
3889 (__ASSUME_IN_NONBLOCK): Likewise.
3890 (__ASSUME_PIPE2): Likewise.
3891 (__ASSUME_EVENTFD2): Likewise.
3892 (__ASSUME_SIGNALFD4): Likewise.
3893 (__ASSUME_DUP3): Likewise.
3894 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3895 (__ASSUME_O_CLOEXEC): Likewise.
3896 (__ASSUME_SOCK_CLOEXEC): Likewise.
3897 (__ASSUME_IN_NONBLOCK): Likewise.
3898 (__ASSUME_PIPE2): Likewise.
3899 (__ASSUME_EVENTFD2): Likewise.
3900 (__ASSUME_SIGNALFD4): Likewise.
3901 (__ASSUME_DUP3): Likewise.
3902 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3903 (__ASSUME_EVENTFD2): Likewise.
3904 (__ASSUME_SIGNALFD4): Likewise.
3905 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3907 2014-05-12 Andreas Schwab <schwab@suse.de>
3910 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
3911 (_nss_nis_gethostbyname4_r): Return error if item length is larger
3912 than maximum RPC packet size.
3913 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
3914 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
3915 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
3916 (_nss_nis_getservbyport_r): Likewise.
3918 2014-05-12 Will Newton <will.newton@linaro.org>
3920 * malloc/Makefile (tests): Add tst-mallopt.
3921 * malloc/tst-mallopt.c: New file.
3923 2014-05-09 Roland McGrath <roland@hack.frob.com>
3925 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
3926 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
3928 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3930 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
3931 (tst-tlsmod6.so): Likewise.
3933 2014-05-09 Roland McGrath <roland@hack.frob.com>
3935 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
3937 2014-05-09 Joseph Myers <joseph@codesourcery.com>
3940 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
3941 and <dl-procinfo.h>.
3942 (__fegetenv): Save SSE state in envp->__eip if supported.
3943 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
3944 envp->__eip if supported.
3945 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
3946 and <dl-procinfo.h>.
3947 (__fesetenv): Always set __eip, __cs_selector, __opcode,
3948 __data_offset and __data_selector in environment to 0. Set SSE
3950 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3952 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
3954 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
3956 2014-05-09 Will Newton <will.newton@linaro.org>
3958 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
3959 and libc_relro_required for ARM.
3960 * sysdeps/arm/preconfigure: Regenerate.
3962 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
3963 Stefan Liebler <stli@linux.vnet.ibm.com>
3965 * config.make.in (enable-lock-elision): New Makefile variable.
3966 * configure.ac: Likewise.
3967 * configure: Regenerate.
3968 * sysdeps/s390/configure.ac:
3969 Add check for gcc transactions support.
3970 * sysdeps/s390/configure: Regenerate.
3971 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
3972 Build elision files if enabled.
3973 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
3974 Add lock elision support for s390.
3975 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3976 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
3977 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
3978 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3979 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3980 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3981 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3983 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
3985 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
3987 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
3989 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
3990 (__lll_timedlock_elision, __lll_lock_elision)
3991 (__lll_unlock_elision, __lll_trylock_elision)
3992 (lll_timedlock_elision, lll_lock_elision)
3993 (lll_unlock_elision, lll_trylock_elision): Add.
3994 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3995 (pthread_mutex_t): Add lock elision support for s390.
3997 2014-05-14 Wilco <wdijkstr@arm.com>
3999 * sysdeps/arm/fclrexcpt.c: Cleanup.
4000 * sysdeps/arm/fedisblxcpt.c: Cleanup.
4001 * sysdeps/arm/feenablxcpt.c: Cleanup.
4002 * sysdeps/arm/fegetenv.c: Cleanup.
4003 * sysdeps/arm/fegetexcept.c: Cleanup.
4004 * sysdeps/arm/fegetround.c: Cleanup.
4005 * sysdeps/arm/feholdexcpt.c: Cleanup.
4006 * sysdeps/arm/fesetenv.c: Cleanup.
4007 * sysdeps/arm/fesetround.c: Cleanup.
4008 * sysdeps/arm/feupdateenv.c: Cleanup.
4009 * sysdeps/arm/fgetexcptflg.c: Cleanup.
4010 * sysdeps/arm/fraiseexcpt.c: Cleanup.
4011 * sysdeps/arm/fsetexcptflg.c: Cleanup.
4012 * sysdeps/arm/ftestexcept.c: Cleanup.
4013 * sysdeps/arm/get-rounding-mode.h: Cleanup.
4014 * sysdeps/arm/setfpucw.c: Cleanup.
4016 2014-05-09 Will Newton <will.newton@linaro.org>
4018 * sysdeps/arm/armv7/strcmp.S: New file.
4019 * NEWS: Mention addition of ARMv7 optimized strcmp.
4021 2014-05-08 Roland McGrath <roland@hack.frob.com>
4023 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4024 look for %.ac rather than %.in.
4026 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4027 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4028 * sysdeps/mach/hurd/configure: Regenerated.
4029 * sysdeps/unix/sysv/linux/configure: Regenerated.
4031 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4033 2014-05-07 Steve Ellcey <sellcey@mips.com>
4036 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4040 2014-05-07 Andreas Schwab <schwab@suse.de>
4042 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4043 when skipping over non-matching result from nscd.
4045 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
4048 * nptl/sockperf.c (client): Check socket return value.
4051 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4052 nscd security class.
4054 2014-05-06 Roland McGrath <roland@hack.frob.com>
4056 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4057 * sysdeps/arm/unwind.h: ... here.
4059 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
4062 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4065 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4067 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4068 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4069 multiarch strncpy for PPC64.
4070 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4071 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4072 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4073 multiarch optimizations.
4074 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4075 (__libc_ifunc_impl_list): Likewise.
4076 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4077 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4078 multiarch stpncpy for PPC64.
4079 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4080 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4082 2014-05-06 Andreas Schwab <schwab@suse.de>
4085 * gmon/mcount.c (_MCOUNT_DECL): Use
4086 atomic_compare_and_exchange_bool_acq instead of
4087 catomic_compare_and_exchange_bool_acq.
4089 2014-05-05 Roland McGrath <roland@hack.frob.com>
4091 * elf/Makefile (others, install-bin): Remove pldd.
4092 (pldd-modules): Variable removed.
4093 ($(objpfx)pldd): Target removed.
4094 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4095 (others, install-bin): Append pldd here.
4096 ($(objpfx)pldd): New target.
4098 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
4099 to 0, so the first #if test emitted later doesn't see it undefined.
4100 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
4101 * sysdeps/gnu/errlist.c: Regenerated.
4103 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4105 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4106 [libc_hidden_builtin_def]: Define to empty value.
4107 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
4108 [libc_hidden_builtin_def]: Likewise.
4109 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
4110 [libc_hidden_builtin_def]: Likewise.
4111 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
4112 [libc_hidden_builtin_def]: Likewise.
4113 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
4114 __redirect_memcpy and define ifunc as default hidden symbol.
4115 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
4116 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
4118 2014-05-04 Adam Conrad <adconrad@0c3.net>
4120 * locale/iso-4217.def: Reintroduce XDR currency.
4122 2014-05-04 Allan McRae <allan@archlinux.org>
4124 * po/eo.po: Update Esperanto translation from translation project.
4126 2014-05-02 Carlos O'Donell <carlos@redhat.com>
4128 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
4129 and FEATURE_INDEX_MAX to 1.
4130 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
4132 2014-05-01 Steve Ellcey <sellcey@mips.com>
4134 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
4135 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
4136 * iconvdata/big5.c (ONE_DIRECTION): Define.
4137 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
4138 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
4139 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
4140 * iconvdata/cp932.c (ONE_DIRECTION): Define.
4141 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
4142 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
4143 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
4144 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
4145 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
4146 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
4147 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
4148 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
4149 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
4150 * iconvdata/gbk.c (ONE_DIRECTION): Define.
4151 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
4152 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
4153 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
4154 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
4155 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
4156 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
4157 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
4158 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
4159 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
4160 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
4161 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
4162 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
4163 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
4164 * iconvdata/iso646.c (ONE_DIRECTION): Define.
4165 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
4166 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
4167 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
4168 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
4169 * iconvdata/johab.c (ONE_DIRECTION): Define.
4170 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
4171 * iconvdata/sjis.c (ONE_DIRECTION): Define.
4172 * iconvdata/t.61.c (ONE_DIRECTION): Define.
4173 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
4174 * iconvdata/tscii.c (ONE_DIRECTION): Define.
4175 * iconvdata/uhc.c (ONE_DIRECTION): Define.
4176 * iconvdata/unicode.c (ONE_DIRECTION): Define.
4177 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
4178 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
4179 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
4181 2014-05-01 Roland McGrath <roland@hack.frob.com>
4183 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
4184 (_IO_JUMPS_OFFSET): Define to 0.
4186 * nptl/sysdeps/pthread/bits/libc-lock.h
4187 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4188 (__libc_lock_define_initialized_recursive): Always define using
4189 initializer. Modern compilers treat uninitialized (implicit zero) and
4190 explicit zero initializers the same (i.e. put the datum in bss).
4192 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4194 * nscd/nscd-client.h: Include <string.h>.
4196 2014-05-01 David S. Miller <davem@davemloft.net>
4199 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
4200 multiple zero bytes exist at the end of a string.
4201 Reported by Aurelien Jarno <aurelien@aurel32.net>
4203 * string/test-strcmp.c (check): Add explicit test for situations where
4204 there are multiple zero bytes after the first.
4206 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4209 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
4210 when compiling wprintf.
4211 * stdio-common/tstdiomisc.c (t3): New function.
4214 2014-05-01 Steve Ellcey <sellcey@mips.com>
4216 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
4217 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
4218 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
4219 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
4221 2014-05-01 Steve Ellcey <sellcey@mips.com>
4223 * stdlib/longlong.h: Updated from GCC.
4225 2014-05-01 Will Newton <will.newton@linaro.org>
4226 Bernard Ogden <bernie.ogden@linaro.org>
4228 * NEWS: Update fixed bug list.
4231 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
4233 2014-04-30 David S. Miller <davem@davemloft.net>
4235 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
4236 (libc_feholdexcept_setround_sparc_ctx): New function.
4237 (libc_fesetenv_sparc_ctx): Likewise.
4238 (libc_feupdateenv_sparc_ctx): Likewise.
4239 (libc_feholdsetround_sparc_ctx): Likewise.
4240 (libc_feholdexcept_setround_ctx): Define.
4241 (libc_feholdexcept_setroundf_ctx): Likewise.
4242 (libc_feholdexcept_setroundl_ctx): Likewise.
4243 (libc_fesetenv_ctx): Likewise.
4244 (libc_fesetenvf_ctx): Likewise.
4245 (libc_fesetenvl_ctx): Likewise.
4246 (libc_feupdateenv_ctx): Likewise.
4247 (libc_feupdateenvf_ctx): Likewise.
4248 (libc_feupdateenvl_ctx): Likewise.
4249 (libc_feresetround_ctx): Likewise.
4250 (libc_feresetroundf_ctx): Likewise.
4251 (libc_feresetroundl_ctx): Likewise.
4252 (libc_feholdsetround_ctx): Likewise.
4253 (libc_feholdsetroundf_ctx): Likewise.
4254 (libc_feholdsetroundl_ctx): Likewise.
4256 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4257 with __USE_GNU instead of XOPEN cpp guards.
4259 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
4262 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4263 with XOPEN cpp guards.
4265 2014-04-30 Julian Brown <julian@codesourcery.com>
4268 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
4271 2014-04-30 Joseph Myers <joseph@codesourcery.com>
4274 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4276 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
4277 * sysdeps/unix/sysv/linux/configure: Regenerated.
4278 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
4279 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
4280 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
4281 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
4282 * README: Update reference to required Linux kernel version.
4283 * manual/install.texi (Linux): Update reference to required Linux
4284 kernel headers version.
4285 * INSTALL: Regenerated.
4287 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
4289 [POSIX] (limits.h): Likewise.
4290 [POSIX] (math.h): Likewise.
4291 [POSIX] (sys/wait.h): Likewise.
4292 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
4294 [POSIX] (stddef.h): Do not allow header inclusion.
4296 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4298 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
4300 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
4302 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4303 Return immediately after lll_futex_wake.
4305 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4308 * nscd/nscd-client.h (datahead_init_common): Initialize entire
4310 (datahead_init_pos): Call datahead_init_common early.
4311 (datahead_init_neg): Likewise.
4313 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
4314 datahead_init_neg): New functions.
4315 * nscd/aicache.c (addhstaiX): Use them.
4316 * nscd/grpcache.c (cache_addgr): Likewise.
4317 * nscd/hstcache.c (cache_addhst): Likewise.
4318 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4319 * nscd/netgroupcache.c (do_notfound): Likewise.
4320 (addgetnetgrentX): Likewise.
4321 (addinnetgrX): Likewise.
4322 * nscd/pwdcache.c (cache_addpw): Likewise.
4323 * nscd/servicescache.c (cache_addserv): Likewise.
4325 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4326 Atsushi Onoe <atsushi@onoe.org>
4331 * resolv/res_query.c (__libc_res_nsearch): Return if at least
4332 one response is valid.
4333 * resolv/res_send.c (send_dg): Check for validity of other
4334 response if the current response is a referral.
4336 2014-04-29 Steve Ellcey <sellcey@mips.com>
4338 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
4340 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
4343 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
4344 Always divide by positive zero when computing -Inf result.
4345 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4346 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4348 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4350 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
4351 FPSCR if value do not change.
4352 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4353 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
4354 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4355 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4356 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4357 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
4360 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
4362 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
4363 * sysdeps/unix/sysv/linux/hppa: Move directory from
4364 ports/systeps/unix/sysv/linux/hppa.
4365 * README: Update listing for hppa-*-linux-gnu.
4367 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
4370 * manual/stdio.texi (Hook functions): Fix types of stream hook
4373 * socket/sys/socket.h: Fix typo in comment.
4375 2014-04-28 Wilco <wdijkstr@arm.com>
4377 * sysdeps/arm/fenv_private.h: New file.
4378 * sysdeps/arm/math_private.h: New file.
4379 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
4381 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
4383 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
4385 (La_x86_64_retval): Likewise.
4387 2014-04-24 Ian Bolton <ian.bolton@arm.com>
4389 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
4390 fpsr if value didn't change.
4391 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
4392 to fpcr if value didn't change.
4393 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
4394 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
4395 fpsr or fpcr if value didn't change.
4396 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4397 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
4398 fpcr if value didn't change.
4399 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
4400 to fpsr if value didn't change.
4402 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4404 * nptl/tst-sem3.c: Use test-skeleton.c
4405 (main): Rename to do_test. Use return instead of
4407 * nptl/tst-sem4.c: Use test-skeleton.c
4408 (main): Rename to do_test.
4410 2014-04-22 David S. Miller <davem@davemloft.net>
4412 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4413 (struct sigaction): New struct member __glibc_reserved0, change
4414 type of sa_flags to int.
4416 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
4418 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
4419 (COUNT_LEADING_ZEROS_0): Define for AArch64.
4421 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4423 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
4424 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
4426 2014-04-22 Will Newton <will.newton@linaro.org>
4427 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
4429 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
4430 (__longjmp): Add longjmp and longjmp_target SystemTap
4432 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
4433 (__sigsetjmp): Add setjmp SystemTap probe.
4435 2014-04-17 Carlos O'Donell <carlos@redhat.com>
4437 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
4440 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4442 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
4444 * sysdeps/powerpc/fpu/fenv_private.h
4445 (libc_feholdexcept_setroundl_ctx): Define to
4446 libc_feholdexcept_setround_ppc_ctx.
4447 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
4448 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
4449 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
4450 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
4452 2014-04-17 Ian Bolton <ian.bolton@arm.com>
4454 * sysdeps/aarch64/math-tests.h: New file.
4456 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
4458 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
4460 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4461 Check and set bit_AVX2_Usable.
4462 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
4464 (bit_AVX2): Likewise.
4465 (index_AVX2_Usable): Likewise.
4466 (CPUID_AVX2): Likewise.
4467 (HAS_AVX2): Likewise.
4469 2014-04-17 Will Newton <will.newton@linaro.org>
4471 * manual/setjmp.texi (System V contexts): Add note that
4472 calling setcontext on a context created by a call to a
4473 signal handler is undefined. Update text to note that
4474 setcontext from a signal handler is possible but not
4478 * stdlib/tst-setcontext.c: Include signal.h.
4479 (main): Check that the signal stack before and
4480 after swapcontext is the same.
4482 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
4483 Re-implement to restore registers in user code and avoid
4484 rt_sigreturn system call.
4486 2014-04-17 Wilco <wdijkstr@arm.com>
4488 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
4489 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
4490 * math/test-fenv.c: Skip exception trap tests on targets which only
4491 support non-stop mode.
4493 2014-04-17 Ian Bolton <ian.bolton@arm.com>
4494 Wilco Dijkstra <wilco.dijkstra@arm.com>
4496 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
4497 (libc_feholdsetround_aarch64_ctx)
4498 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
4499 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
4500 (libc_feresetround_ctx, libc_feresetroundf_ctx)
4501 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
4502 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
4503 (libc_feresetround_noexl_ctx): Define.
4505 2014-04-16 Richard Henderson <rth@redhat.com>
4507 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
4509 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
4512 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
4513 const from the non-libc, non-ldso copy.
4515 * sysdeps/alpha/libm-test-ulps: Regenerate.
4517 2014-04-16 Ian Bolton <ian.bolton@arm.com>
4518 Wilco Dijkstra <wilco.dijkstra@arm.com>
4520 * sysdeps/aarch64/fpu/math_private.h: New file.
4522 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
4524 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4526 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
4528 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
4529 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
4530 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
4531 Intel MPX bound registers before _dl_profile_fixup.
4532 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
4533 registers after _dl_profile_fixup. Save and restore bound
4534 registers bnd0/bnd1 when calling _dl_call_pltexit.
4535 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
4536 (LR_BND_OFFSET): Likewise.
4537 (LRV_BND0_OFFSET): Likewise.
4538 (LRV_BND1_OFFSET): Likewise.
4540 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4542 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
4544 * sysdeps/mach/hurd/i386/tls.h: ... here.
4545 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
4546 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
4549 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4551 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
4553 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4555 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4557 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4560 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
4561 * sysdeps/s390/configure: Regenerate.
4564 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
4565 Set round-to-nearest internally to reduce error accumulation.
4567 2014-04-16 Alan Modra <amodra@gmail.com>
4571 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
4572 * math/libm-test.inc (frexp_test_data): Add tests.
4573 * NEWS: Update fixed bug list.
4575 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4577 * benchtests/Makefile: Depend on libraries in build directory.
4578 (bench-math): Separate out math tests.
4579 (bench-pthread): Separate out pthread tests.
4580 (bench): Include math and pthread tests.
4582 2014-04-14 Carlos O'Donell <carlos@redhat.com>
4585 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
4586 _dl_debug_initialize.
4588 * configure.ac: Remove SELinux header check.
4589 * configure: Regenerate.
4590 * nscd/selinux.c (perms): Array of const char* to permission names.
4591 (nscd_request_avc_has_perm): Call security_deny_unknown to find
4592 default policy. Call string_to_security_class and string_to_av_perm to
4593 translate strings. Enforce default policy and call avs_has_perm with
4594 results of translated strings.
4596 2014-04-13 David S. Miller <davem@davemloft.net>
4598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4600 2014-04-12 Allan McRae <allan@archlinux.org>
4603 * manual/string.texi (Collation Functions): Fix qsort argument
4605 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4607 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
4609 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
4610 Make the test a no-op if there are no exceptions defined.
4612 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
4614 * elf/Makefile (tests): make tst-dlopen-aout conditional on
4615 enable-hardcoded-path-in-tests
4617 2014-04-11 Will Newton <will.newton@linaro.org>
4619 * benchtests/Makefile (extra-objs): Add json-lib.o.
4620 (bench-func): Tidy up JSON output.
4621 * benchtests/bench-skeleton.c: Include json-lib.h.
4622 (main): Use JSON library functions to do output of
4624 * benchtests/bench-timing-type.c (main): Output the
4625 timing type simply, leaving formatting to the user.
4626 * benchtests/json-lib.c: New file.
4627 * benchtests/json-lib.h: Likewise.
4629 2014-04-11 Torvald Riegel <triegel@redhat.com>
4632 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
4633 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
4634 memory barriers. Add comments.
4635 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
4636 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
4637 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
4638 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
4639 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
4640 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
4642 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4644 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
4645 * sysdeps/s390/s390-64/configure.ac: ... this ...
4646 * sysdeps/s390/configure.ac: ... to here.
4647 * sysdeps/s390/s390-32/configure: Delete file.
4648 * sysdeps/s390/s390-64/configure: Delete file.
4649 * sysdeps/s390/configure: Regenerate.
4651 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
4653 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
4655 2014-04-11 Will Newton <will.newton@linaro.org>
4657 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
4658 to zero if it is not defined elsewhere. (mtrim): Test
4659 the value of MALLOC_DEBUG with #if rather than #ifdef.
4661 2014-04-10 Torvald Riegel <triegel@redhat.com>
4663 * benchtests/pthread_once-inputs: New file.
4664 * benchtests/pthread_once-source.c: New file.
4665 * benchtests/README: Update documentation.
4667 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
4668 H.J. Lu <hongjiu.lu@intel.com>
4670 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
4671 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
4672 * sysdeps/x86_64/configure: Regenerated.
4673 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
4675 (REGISTER_SAVE_RAX): Likewise.
4676 (REGISTER_SAVE_RCX): Likewise.
4677 (REGISTER_SAVE_RDX): Likewise.
4678 (REGISTER_SAVE_RSI): Likewise.
4679 (REGISTER_SAVE_RDI): Likewise.
4680 (REGISTER_SAVE_R8): Likewise.
4681 (REGISTER_SAVE_R9): Likewise.
4682 (REGISTER_SAVE_BND0): Likewise.
4683 (REGISTER_SAVE_BND1): Likewise.
4684 (REGISTER_SAVE_BND2): Likewise.
4685 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
4686 bound registers when calling _dl_fixup.
4688 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4690 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
4691 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
4693 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
4694 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
4695 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
4696 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
4697 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
4698 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
4699 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
4701 2014-04-09 Peter Brett <peter@peter-b.co.uk>
4704 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
4705 pathconf(_PC_NAME_MAX).
4707 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4709 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
4711 (__PTHREAD_SPINS): Move definition to ...
4712 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4713 (__PTHREAD_SPINS): ... here.
4714 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4715 (__PTHREAD_SPIN): Likewise.
4716 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
4717 (__PTHREAD_SPIN): Likewise.
4718 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
4719 (__PTHREAD_SPIN): Likewise.
4720 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
4721 (__PTHREAD_SPIN): Likewise.
4722 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4723 (__PTHREAD_SPIN): Likewise.
4724 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4725 (__PTHREAD_SPIN): Likewise.
4726 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
4727 (__PTHREAD_SPIN): Likewise.
4728 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4729 (__PTHREAD_SPIN): Likewise.
4730 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4731 (__PTHREAD_SPIN): Likewise.
4732 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4733 (__PTHREAD_SPIN): Likewise.
4734 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4735 (__PTHREAD_SPIN): Likewise.
4736 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
4737 (__PTHREAD_SPIN): Likewise.
4739 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
4740 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
4741 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
4742 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
4744 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
4745 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
4746 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
4747 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
4749 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
4750 strlen symbol for non multi-arch builds.
4751 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
4752 missing hidden_def and weak_alias.
4754 2014-04-08 Carlos O'Donell <carlos@redhat.com>
4756 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
4758 2014-04-07 Will Newton <will.newton@linaro.org>
4760 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
4761 and contents. [!_LIBC] Remove #ifndef and contents.
4762 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
4763 * string/memccpy.c (__memccpy): Use ANSI prototype.
4764 * string/memfrob.c (memfrob): Likewise.
4765 * string/strcoll.c (STRCOLL): Likewise.
4766 * string/strlen.c (strlen): Likewise.
4767 * string/strtok.c (STRTOK): Likewise.
4768 * string/strcat.c: Remove unused #include of memcopy.h.
4769 (strcat): Use ANSI prototype.
4770 * string/strchr.c: Remove unused #include of memcopy.h.
4771 (strchr): Use ANSI prototype.
4772 * string/strcmp.c: Remove unused #include of memcopy.h.
4773 (strcmp): Use ANSI prototype.
4774 * string/strcpy.c: Remove unused #include of memcopy.h.
4775 (strcpy): Use ANSI prototype.
4777 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4779 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
4780 * config.make.in (config-extra-cppflags): Set it from
4781 libc_extra_cppflags.
4782 * configure.ac (libc_extra_cflags): Make it accumulate over
4783 configure fragments.
4784 (libc_extra_cppflags): New flag.
4785 * configure. Regenerate.
4786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4787 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
4788 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
4789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4792 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
4793 result for FE_DOWNWARD rounding mode.
4794 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4798 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
4800 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
4801 in function argument name.
4803 2014-04-03 David Svoboda <svoboda@cert.org>
4806 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
4809 2014-04-03 Roland McGrath <roland@hack.frob.com>
4811 * elf/dl-unmap-segments.h: New file.
4812 * sysdeps/generic/ldsodefs.h
4813 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
4814 * elf/dl-close.c: Include <dl-unmap-segments.h>.
4815 * elf/dl-fptr.c: Likewise.
4816 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
4817 * sysdeps/aarch64/tlsdesc.c: Likewise.
4818 * sysdeps/arm/tlsdesc.c: Likewise.
4819 * sysdeps/i386/tlsdesc.c: Likewise.
4820 * sysdeps/tile/dl-runtime.c: Likewise.
4821 * sysdeps/x86_64/tlsdesc.c: Likewise.
4822 * elf/dl-load.h: New file.
4823 * elf/dl-load.c: Include it.
4824 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
4825 Macros moved to dl-load.h.
4826 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
4827 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
4828 Use _dl_unmap_segments in place of __munmap.
4829 Break out segment-mapping loop into ...
4830 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
4832 2014-04-03 Will Newton <will.newton@linaro.org>
4834 * elf/dl-lookup.c (do_lookup_x): Remove comment
4835 referring to nested function and move variable
4836 declarations down to before first use.
4838 2014-04-02 Joseph Myers <joseph@codesourcery.com>
4842 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
4844 * math/s_catanf.c (__catanf): Likewise.
4845 * math/s_catanh.c (__catanh): Likewise.
4846 * math/s_catanhf.c (__catanhf): Likewise.
4847 * math/s_catanhl.c (__catanhl): Likewise.
4848 * math/s_catanl.c (__catanl): Likewise.
4849 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
4850 by positive zero when computing -Inf result.
4851 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
4852 (catanh_test): Likewise.
4853 * sysdeps/i386/fpu/libm-test-ulps: Update.
4854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4857 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
4858 instead of using underflowing value in computing result.
4859 * math/s_clog10.c (__clog10): Likewise.
4860 * math/s_clog10f.c (__clog10f): Likewise.
4861 * math/s_clog10l.c (__clog10l): Likewise.
4862 * math/s_clogf.c (__clogf): Likewise.
4863 * math/s_clogl.c (__clogl): Likewise.
4864 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
4865 (clog10_test): Likewise.
4866 * sysdeps/i386/fpu/libm-test-ulps: Update.
4867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4869 2014-04-02 Alan Modra <amodra@gmail.com>
4872 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
4873 output when value is near a power of two. Use int64_t for lx and
4874 remove casts. Use decimal rather than hex exponent constants.
4875 Don't use long double multiplication when double will suffice.
4876 * math/libm-test.inc (nextafter_test_data): Add tests.
4877 * NEWS: Add 16739 and 16786 to bug list.
4879 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
4881 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
4883 2014-04-01 Will Newton <will.newton@linaro.org>
4885 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
4886 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
4888 2014-04-01 Florian Weimer <fweimer@redhat.com>
4891 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
4892 * nptl/tst-setuid2.c: New file.
4893 * nptl/Makefile (xtests): Add tst-setuid2.
4895 2014-04-01 Alan Modra <amodra@gmail.com>
4898 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
4900 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4904 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
4905 set errno as appropriate.
4906 * math/w_scalbf.c (__scalbf): Likewise.
4907 * math/w_scalbl.c (__scalbl): Likewise.
4908 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
4909 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
4910 * math/libm-test.inc (scalb_test_data): Add errno expectations.
4914 * math/w_atan2.c: Include <errno.h>.
4915 (__atan2): Set errno for result underflowing to zero.
4916 * math/w_atan2f.c: Include <errno.h>.
4917 (__atan2f): Set errno for result underflowing to zero.
4918 * math/w_atan2l.c: Include <errno.h>.
4919 (__atan2l): Set errno for result underflowing to zero.
4920 * math/auto-libm-test-in: Don't allow missing errno for some atan2
4922 * math/auto-libm-test-out: Regenerated.
4924 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4926 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4927 Encode instruction correctly in little endian.
4928 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4930 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4932 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4934 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4937 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4940 * sysdeps/unix/sysv/linux/kernel-features.h
4941 [__sparc__ && !__arch64__ && !__sparc_v9__]
4942 (__ASSUME_SET_ROBUST_LIST): Do not define.
4943 [__sparc__ && !__arch64__ && !__sparc_v9__]
4944 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4945 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
4947 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4948 (__ASSUME_FUTEX_LOCK_PI): Undefine.
4949 (__ASSUME_REQUEUE_PI): Likewise.
4950 (__ASSUME_SET_ROBUST_LIST): Likewise.
4951 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4952 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
4954 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4955 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
4957 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
4959 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
4961 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4962 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
4964 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
4965 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
4969 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4970 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
4971 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
4973 2014-03-31 Will Newton <will.newton@linaro.org>
4975 * benchtests/Makefile (bench): Add ffs and ffsll to list
4977 * benchtests/ffs-inputs: New file.
4978 * benchtests/ffsll-inputs: Likewise.
4980 2014-03-29 Joseph Myers <joseph@codesourcery.com>
4983 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
4984 too large before casting to int.
4985 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
4986 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
4987 * math/libm-test.inc (scalb_test_data): Add more tests.
4989 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4991 * benchtests/Makefile (DETAILED_OPT): New make option.
4992 (bench-func): Run benchmark program with -d if DETAILED_OPT is
4994 * benchtests/bench-skeleton.c: Include stdbool.h.
4995 (main): Store and print timings per input.
4996 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
4997 member to each argument value.
4998 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
4999 (_print_arg_data): Initialize per-input timing to 0.
5001 * benchtests/Makefile (timing-type): New binary.
5002 (bench-clean): Also remove bench-timing-type.
5003 (bench): New target for timing-type.
5004 (bench-func): Print output in JSON format.
5005 * benchtests/bench-skeleton.c (main): Print output in JSON
5007 * benchtests/bench-timing-type.c: New file.
5008 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5009 (TIMING_PRINT_STATS): Remove.
5010 * benchtests/scripts/bench.py (_print_arg_data): Store variant
5013 * benchtests/bench-modf.c: Remove.
5014 * benchtests/modf-inputs: New inputs file.
5016 2014-03-28 Joseph Myers <joseph@codesourcery.com>
5019 * math/s_clog10.c (M_PI_LOG10E): New macro.
5020 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5021 imaginary parts are 0.
5022 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5023 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5024 imaginary parts are 0.
5025 * math/s_clog10l.c (M_PI_LOG10El): New macro.
5026 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5027 imaginary parts are 0.
5028 * math/libm-test.inc (clog10_test_data): Update expected results
5029 for when real and imaginary parts are 0.
5031 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
5033 * elf/dl-load.c: Finish conversion of __builtin_expect into
5036 2014-03-27 Joseph Myers <joseph@codesourcery.com>
5039 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5040 1+x for argument with exponent below -67.
5041 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5043 * math/auto-libm-test-in: Add more tests of exp.
5044 * math/auto-libm-test-out: Regenerated.
5046 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5049 * inet/getnetgrent_r.c (get_nonempty_val): New function.
5050 (nscd_getnetgrent): Use it.
5053 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5056 2014-03-27 Andi Kleen <ak@linux.intel.com>
5058 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5059 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5060 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5061 (lll_robust_unlock): Remove out of line section. Use cfi
5063 (LLL_STUB_UNWIND_INFO*): Remove.
5064 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5065 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5066 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5067 (lll_robust_unlock): Remove out of line section. Use cfi
5069 (LLL_STUB_UNWIND_INFO*): Remove.
5071 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5074 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5077 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
5079 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5081 2014-03-26 Joseph Myers <joseph@codesourcery.com>
5084 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5086 * math/test-fenv-preserve.c: New file.
5087 * math/Makefile (tests): Add test-fenv-preserve.
5089 2014-03-26 Will Newton <will.newton@linaro.org>
5091 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5093 2014-03-25 Roland McGrath <roland@hack.frob.com>
5095 * scripts/versionlist.awk: Partition the version sets and emit all
5096 GLIBC_* (sorted) before all others (sorted).
5098 2014-03-25 Joseph Myers <joseph@codesourcery.com>
5100 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
5101 GLIBC_2.2.5 version.
5103 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5105 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
5108 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
5111 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5113 2014-03-25 Andreas Schwab <schwab@suse.de>
5115 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
5116 label to be used after in6ailist is initialized.
5118 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5120 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5121 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5123 2014-03-25 Joseph Myers <joseph@codesourcery.com>
5127 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
5129 (fp_formats): Update initializers.
5130 (init_fp_formats): Initialize new field.
5131 (output_for_one_input_case): Allow underflow for results up to
5133 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
5134 * math/auto-libm-test-in: Don't mark some underflows from asin and
5136 * math/auto-libm-test-out: Regenerated.
5137 * sysdeps/i386/fpu/libm-test-ulps: Update.
5138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5140 2014-03-25 Andreas Schwab <schwab@suse.de>
5142 * libio/Makefile (tst-ftell-partial-wide-ENV)
5143 (tst-ftell-active-handler-ENV): Define.
5145 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
5147 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
5149 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5151 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
5153 2014-03-24 Joseph Myers <joseph@codesourcery.com>
5155 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
5156 * sysdeps/x86_64/fpu/multiarch/e_exp.c
5157 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5159 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5162 * elf/dl-load.c (open_verify): Add mode parameter.
5163 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
5164 (open_path): Change from boolean 'secure' to complete flag 'mode'
5165 (_dl_map_object): Adjust.
5166 * elf/Makefile (tests): Add tst-dlopen-aout.
5167 * elf/tst-dlopen-aout.c: New test.
5169 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5172 * sysdeps/unix/sysv/linux/s390/bits/stat.h
5173 (struct stat): Rename member pad0 to __glibc_reserved0.
5176 * sysdeps/s390/s390-32/bits/wordsize.h
5177 (__WORDSIZE32_SIZE_ULONG): New define.
5178 * sysdeps/s390/s390-64/bits/wordsize.h
5179 (__WORDSIZE32_SIZE_ULONG): Likewise.
5180 * sysdeps/generic/stdint.h (SIZE_MAX):
5181 Define as UL if __WORDSIZE32_SIZE_ULONG.
5184 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
5185 (__glibc_reserved0): New variable.
5186 (sa_flags): Change type to int.
5188 * posix/Makefile (before-compile): Use += before-compile instead
5191 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5192 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5194 2014-03-20 Andreas Schwab <schwab@suse.de>
5197 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
5198 non-matching result from nscd.
5200 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5202 * scripts/bench.py: Moved to ...
5203 * benchtests/scripts/bench.py: ... here.
5204 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
5206 2014-03-24 Andreas Schwab <schwab@suse.de>
5209 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
5210 alloca_account and account alloca use for struct in6ailist.
5212 2014-03-24 Joseph Myers <joseph@codesourcery.com>
5215 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
5216 rounding mode to recompute results that overflow to infinity or
5218 * math/auto-libm-test-in: Don't mark tests as expected to fail for
5220 * math/auto-libm-test-out: Regenerated.
5221 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
5222 (ccosh_test): Likewise.
5223 (csin_test_data): Use plus_oflow.
5224 (csin_test): Use ALL_RM_TEST.
5225 (csinh_test_data): Use plus_oflow.
5226 (csinh_test): Use ALL_RM_TEST.
5227 * sysdeps/i386/fpu/libm-test-ulps: Update.
5228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5230 2014-03-21 Joseph Myers <joseph@codesourcery.com>
5232 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
5233 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
5234 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
5237 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
5239 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
5240 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
5241 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5242 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
5244 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
5245 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
5247 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
5248 * sysdeps/i386/fpu/libm-test-ulps: Update.
5249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5251 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5253 * scripts/bench.pl: Remove file.
5254 * scripts/bench.py: New benchmark script.
5255 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
5256 * benchtests/README: Mention python dependency.
5257 * scripts/pylintrc: New file.
5258 * scripts/pylint: New file.
5260 * bits/mathdef.h: Use #ifdef instead of #if.
5261 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
5262 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5263 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
5264 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5265 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
5266 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5268 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5269 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5271 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
5272 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
5273 and strpbrk-ppc64 objects.
5274 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5275 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
5276 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
5277 multiarch strpbrk for POWER7.
5278 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
5279 multiarch strpbrk for PPC64.
5280 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
5282 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
5285 2014-03-20 Joseph Myers <joseph@codesourcery.com>
5287 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
5288 (atan_test): Likewise.
5289 (atanh_test_data): Use NO_TEST_INLINE for two tests.
5290 (atanh_test): Use ALL_RM_TEST.
5291 (atan2_test_data): Likewise.
5292 (cabs_test): Likewise.
5293 (cacosh_test): Likewise.
5294 (carg_test): Likewise.
5295 (casin_test): Likewise.
5296 (casinh_test): Likewise.
5297 (cbrt_test): Likewise.
5298 (csqrt_test): Likewise.
5299 (erf_test): Likewise.
5300 (erfc_test): Likewise.
5301 (pow10_test): Likewise.
5302 (exp2_test): Likewise.
5303 (hypot_test): Likewise.
5304 (j0_test): Likewise.
5305 (j1_test): Likewise.
5306 (lgamma_test): Likewise.
5307 (gamma_test): Likewise.
5308 (sincos_test): Likewise.
5309 (tanh_test): Likewise.
5310 (y0_test): Likewise.
5311 (y1_test): Likewise.
5312 * sysdeps/i386/fpu/libm-test-ulps: Update.
5313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5315 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5317 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
5318 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
5319 and strcspn-ppc64 objects.
5320 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5321 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
5322 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
5323 multiarch strcspn for POWER7.
5324 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
5325 multiarch strcspn for PPC64.
5326 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
5328 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
5331 2014-03-20 Joseph Myers <joseph@codesourcery.com>
5333 * math/gen-libm-test.pl (generate_testfile): Expect only function
5334 name as argument to AUTO_TESTS_* and pass results for all rounding
5335 modes to parse_args.
5336 (parse_auto_input): Separate inputs of automatic tests from
5337 outputs before storing in %auto_tests.
5338 * math/libm-test.inc (acos_test_data): Update call to
5340 (acos_test): Use ALL_RM_TEST.
5341 (acos_tonearest_test_data): Remove.
5342 (acos_test_tonearest): Likewise.
5343 (acos_towardzero_test_data): Likewise.
5344 (acos_test_towardzero): Likewise.
5345 (acos_downward_test_data): Likewise.
5346 (acos_test_downward): Likewise.
5347 (acos_upward_test_data): Likewise.
5348 (acos_test_upward): Likewise.
5349 (acosh_test_data): Update call to AUTO_TESTS_f_f.
5350 (asin_test_data): Likewise.
5351 (asin_test): Use ALL_RM_TEST.
5352 (asin_tonearest_test_data): Remove.
5353 (asin_test_tonearest): Likewise.
5354 (asin_towardzero_test_data): Likewise.
5355 (asin_test_towardzero): Likewise.
5356 (asin_downward_test_data): Likewise.
5357 (asin_test_downward): Likewise.
5358 (asin_upward_test_data): Likewise.
5359 (asin_test_upward): Likewise.
5360 (asinh_test_data): Update call to AUTO_TESTS_f_f.
5361 (atan_test_data): Likewise.
5362 (atanh_test_data): Likewise.
5363 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
5364 (cabs_test_data): Update call to AUTO_TESTS_c_f.
5365 (carg_test_data): Likewise.
5366 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
5367 (ccos_test_data): Update call to AUTO_TESTS_c_c.
5368 (ccosh_test_data): Likewise.
5369 (cexp_test_data): Likewise.
5370 (clog_test_data): Likewise.
5371 (clog10_test_data): Likewise.
5372 (cos_test_data): Update call to AUTO_TESTS_f_f.
5373 (cos_test): Use ALL_RM_TEST.
5374 (cos_tonearest_test_data): Remove.
5375 (cos_test_tonearest): Likewise.
5376 (cos_towardzero_test_data): Likewise.
5377 (cos_test_towardzero): Likewise.
5378 (cos_downward_test_data): Likewise.
5379 (cos_test_downward): Likewise.
5380 (cos_upward_test_data): Likewise.
5381 (cos_test_upward): Likewise.
5382 (cosh_test_data): Update call to AUTO_TESTS_f_f.
5383 (cosh_test): Use ALL_RM_TEST.
5384 (cosh_tonearest_test_data): Remove.
5385 (cosh_test_tonearest): Likewise.
5386 (cosh_towardzero_test_data): Likewise.
5387 (cosh_test_towardzero): Likewise.
5388 (cosh_downward_test_data): Likewise.
5389 (cosh_test_downward): Likewise.
5390 (cosh_upward_test_data): Likewise.
5391 (cosh_test_upward): Likewise.
5392 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
5393 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
5394 (ctan_test_data): Likewise.
5395 (ctan_test): Use ALL_RM_TEST.
5396 (ctan_tonearest_test_data): Remove.
5397 (ctan_test_tonearest): Likewise.
5398 (ctan_towardzero_test_data): Likewise.
5399 (ctan_test_towardzero): Likewise.
5400 (ctan_downward_test_data): Likewise.
5401 (ctan_test_downward): Likewise.
5402 (ctan_upward_test_data): Likewise.
5403 (ctan_test_upward): Likewise.
5404 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
5405 (ctanh_test): Use ALL_RM_TEST.
5406 (ctanh_tonearest_test_data): Remove.
5407 (ctanh_test_tonearest): Likewise.
5408 (ctanh_towardzero_test_data): Likewise.
5409 (ctanh_test_towardzero): Likewise.
5410 (ctanh_downward_test_data): Likewise.
5411 (ctanh_test_downward): Likewise.
5412 (ctanh_upward_test_data): Likewise.
5413 (ctanh_test_upward): Likewise.
5414 (erf_test_data): Update call to AUTO_TESTS_f_f.
5415 (erfc_test_data): Likewise.
5416 (exp_test_data): Likewise.
5417 (exp_test): Use ALL_RM_TEST.
5418 (exp_tonearest_test_data): Remove.
5419 (exp_test_tonearest): Likewise.
5420 (exp_towardzero_test_data): Likewise.
5421 (exp_test_towardzero): Likewise.
5422 (exp_downward_test_data): Likewise.
5423 (exp_test_downward): Likewise.
5424 (exp_upward_test_data): Likewise.
5425 (exp_test_upward): Likewise.
5426 (exp10_test_data): Update call to AUTO_TESTS_f_f.
5427 (exp10_test): Use ALL_RM_TEST.
5428 (exp10_tonearest_test_data): Remove.
5429 (exp10_test_tonearest): Likewise.
5430 (exp10_towardzero_test_data): Likewise.
5431 (exp10_test_towardzero): Likewise.
5432 (exp10_downward_test_data): Likewise.
5433 (exp10_test_downward): Likewise.
5434 (exp10_upward_test_data): Likewise.
5435 (exp10_test_upward): Likewise.
5436 (exp2_test_data): Update call to AUTO_TESTS_f_f.
5437 (expm1_test_data): Likewise.
5438 (expm1_test): Use ALL_RM_TEST.
5439 (expm1_tonearest_test_data): Remove.
5440 (expm1_test_tonearest): Likewise.
5441 (expm1_towardzero_test_data): Likewise.
5442 (expm1_test_towardzero): Likewise.
5443 (expm1_downward_test_data): Likewise.
5444 (expm1_test_downward): Likewise.
5445 (expm1_upward_test_data): Likewise.
5446 (expm1_test_upward): Likewise.
5447 (fma_test_data): Update call to AUTO_TESTS_fff_f.
5448 (fma_test): Use ALL_RM_TEST.
5449 (fma_towardzero_test_data): Remove.
5450 (fma_test_towardzero): Likewise.
5451 (fma_downward_test_data): Likewise.
5452 (fma_test_downward): Likewise.
5453 (fma_upward_test_data): Likewise.
5454 (fma_test_upward): Likewise.
5455 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
5456 (j0_test_data): Update call to AUTO_TESTS_f_f.
5457 (j1_test_data): Likewise.
5458 (jn_test_data): Update call to AUTO_TESTS_if_f.
5459 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
5460 (log_test_data): Update call to AUTO_TESTS_f_f.
5461 (log10_test_data): Likewise.
5462 (log1p_test_data): Likewise.
5463 (log2_test_data): Likewise.
5464 (pow_test_data): Update call to AUTO_TESTS_ff_f.
5465 (pow_tonearest_test_data): Likewise.
5466 (sin_test_data): Update call to AUTO_TESTS_f_f.
5467 (sin_test): Use ALL_RM_TEST.
5468 (sin_tonearest_test_data): Remove.
5469 (sin_test_tonearest): Likewise.
5470 (sin_towardzero_test_data): Likewise.
5471 (sin_test_towardzero): Likewise.
5472 (sin_downward_test_data): Likewise.
5473 (sin_test_downward): Likewise.
5474 (sin_upward_test_data): Likewise.
5475 (sin_test_upward): Likewise.
5476 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
5477 (sinh_test_data): Update call to AUTO_TESTS_f_f.
5478 (sinh_test): Use ALL_RM_TEST.
5479 (sinh_tonearest_test_data): Remove.
5480 (sinh_test_tonearest): Likewise.
5481 (sinh_towardzero_test_data): Likewise.
5482 (sinh_test_towardzero): Likewise.
5483 (sinh_downward_test_data): Likewise.
5484 (sinh_test_downward): Likewise.
5485 (sinh_upward_test_data): Likewise.
5486 (sinh_test_upward): Likewise.
5487 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
5488 (sqrt_test): Use ALL_RM_TEST.
5489 (sqrt_tonearest_test_data): Remove.
5490 (sqrt_test_tonearest): Likewise.
5491 (sqrt_towardzero_test_data): Likewise.
5492 (sqrt_test_towardzero): Likewise.
5493 (sqrt_downward_test_data): Likewise.
5494 (sqrt_test_downward): Likewise.
5495 (sqrt_upward_test_data): Likewise.
5496 (sqrt_test_upward): Likewise.
5497 (tan_test_data): Update call to AUTO_TESTS_f_f.
5498 (tan_test): Use ALL_RM_TEST.
5499 (tan_tonearest_test_data): Remove.
5500 (tan_test_tonearest): Likewise.
5501 (tan_towardzero_test_data): Likewise.
5502 (tan_test_towardzero): Likewise.
5503 (tan_downward_test_data): Likewise.
5504 (tan_test_downward): Likewise.
5505 (tan_upward_test_data): Likewise.
5506 (tan_test_upward): Likewise.
5507 (tanh_test_data): Update call to AUTO_TESTS_f_f.
5508 (tgamma_test_data): Likewise.
5509 (y0_test_data): Likewise.
5510 (y1_test_data): Likewise.
5511 (yn_test_data): Update call to AUTO_TESTS_if_f.
5512 (main): Do not call removed functions.
5514 2014-03-19 Joseph Myers <joseph@codesourcery.com>
5516 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
5517 (ldexp_test_data): Remove.
5518 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
5520 (scalb_test): Use ALL_RM_TEST.
5522 2014-03-19 Andreas Schwab <schwab@suse.de>
5524 * nscd/nscd.service: Also invalidate netgroup cache on reload.
5526 2014-03-19 Joseph Myers <joseph@codesourcery.com>
5529 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5530 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
5531 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
5532 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5533 (__ASSUME_PREADV): Undefine.
5534 (__ASSUME_PWRITEV): Likewise.
5536 2014-03-18 Roland McGrath <roland@hack.frob.com>
5538 * bits/mman-linux.h: Add comment about non-Linux use.
5539 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
5540 bits/mman-linux.h resting place.
5542 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
5543 * bits/mman-linux.h: ... here.
5545 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5547 * conform/conformtest.pl: Add standard definition when calling C
5548 preprocessor on data files.
5549 (checknamespace): Remove unused variable.
5551 2014-03-18 Joseph Myers <joseph@codesourcery.com>
5553 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
5554 minus_oflow, plus_uflow and minus_uflow in expected results.
5555 * math/libm-test.inc (scalbn_test_data): Add more tests of
5556 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
5558 (scalbn_test): Use ALL_RM_TEST.
5559 (scalbln_test_data): Add more tests of negative arguments. Use
5560 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
5561 (scalbln_test): Use ALL_RM_TEST.
5563 2014-03-18 Roland McGrath <roland@hack.frob.com>
5565 * scripts/abilist.awk: Ignore symbols marked with .hidden.
5567 2014-03-18 Will Newton <will.newton@linaro.org>
5569 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
5572 2014-03-18 Joseph Myers <joseph@codesourcery.com>
5574 * Makerules [!subdir] (check-abi): Exit with error status if a
5577 2014-03-17 Joseph Myers <joseph@codesourcery.com>
5579 * math/libm-test.inc (nearbyint_test_data): Include all tests used
5580 for rint. Include results for all rounding modes.
5581 (nearbyint_test): Use ALL_RM_TEST.
5582 (rint_test_data): Include all tests used for nearbyint.
5584 2014-03-17 Will Newton <will.newton@linaro.org>
5586 * nptl/sysdeps/pthread/pthread.h: Revert previous
5589 * sysdeps/generic/ldsodefs.h: Revert previous
5592 * libio/genops.c: Revert previous change.
5593 * libio/libioP.h: Likewise.
5594 * stdio-common/vfprintf.c: Likewise.
5596 * sysdeps/generic/math_private.h: Revert previous
5599 * sysdeps/generic/math_private.h: Check whether
5600 HAVE_RM_CTX is defined with #ifdef rather
5603 * argp/argp-fmtstream.h: Check whether
5604 __STRICT_ANSI__ is defined with #ifdef rather
5606 * argp/argp.h: Likewise.
5608 * libio/genops.c: Check whether
5609 _IO_JUMPS_OFFSET is defined with #ifdef rather
5611 * libio/libioP.h: Likewise.
5612 * stdio-common/vfprintf.c: Likewise.
5614 * sysdeps/generic/ldsodefs.h: Check whether
5615 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
5618 * nptl/sysdeps/pthread/pthread.h: Check
5619 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
5622 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5624 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
5626 * libio/tst-ftell-active-handler.c (do_append_test): Add a
5630 * libio/fileops.c (_IO_file_open): Seek to end of file but
5631 don't cache the offset.
5632 (get_file_offset): Remove function.
5633 (do_ftell): Use cached offset when available.
5634 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
5635 don't cache the offset.
5636 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
5638 (do_one_test): Call it.
5639 (do_ftell_test): Fix up expected old offset for a+ mode.
5640 * libio/wfileops.c (do_ftell_wide): Used cached offset when
5643 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
5644 up test status with function return status.
5645 (do_write_test): Likewise.
5646 (do_append_test): Likewise.
5648 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
5649 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
5652 2014-03-17 Joseph Myers <joseph@codesourcery.com>
5654 * math/gen-libm-test.pl (parse_args): Handle results specified for
5655 each rounding mode separately.
5656 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
5657 tests and results from lrint_tonearest_test_data,
5658 lrint_towardzero_test_data, lrint_downward_test_data and
5659 lrint_upward_test_data.
5660 (lrint_test): Use ALL_RM_TEST.
5661 (lrint_tonearest_test_data): Remove.
5662 (lrint_test_tonearest): Likewise.
5663 (lrint_towardzero_test_data): Likewise.
5664 (lrint_test_towardzero): Likewise.
5665 (lrint_downward_test_data): Likewise.
5666 (lrint_test_downward): Likewise.
5667 (lrint_upward_test_data): Likewise.
5668 (lrint_test_upward): Likewise.
5669 (llrint_test_data): Merge in per-rounding-mode tests and results
5670 from llrint_tonearest_test_data, llrint_towardzero_test_data,
5671 llrint_downward_test_data and llrint_upward_test_data.
5672 (llrint_test): Use ALL_RM_TEST.
5673 (llrint_tonearest_test_data): Remove.
5674 (llrint_test_tonearest): Likewise.
5675 (llrint_towardzero_test_data): Likewise.
5676 (llrint_test_towardzero): Likewise.
5677 (llrint_downward_test_data): Likewise.
5678 (llrint_test_downward): Likewise.
5679 (llrint_upward_test_data): Likewise.
5680 (llrint_test_upward): Likewise.
5681 (rint_test_data): Merge in per-rounding-mode tests and results
5682 from rint_tonearest_test_data, rint_towardzero_test_data,
5683 rint_downward_test_data and rint_upward_test_data. Add
5684 per-rounding-mode results for tests not in those arrays.
5685 (rint_test): Use ALL_RM_TEST.
5686 (rint_tonearest_test_data): Remove.
5687 (rint_test_tonearest): Likewise.
5688 (rint_towardzero_test_data): Likewise.
5689 (rint_test_towardzero): Likewise.
5690 (rint_downward_test_data): Likewise.
5691 (rint_test_downward): Likewise.
5692 (rint_upward_test_data): Likewise.
5693 (rint_test_upward): Likewise.
5694 (main): Don't call removed functions.
5696 2014-03-14 Roland McGrath <roland@hack.frob.com>
5698 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
5699 "Compiled on ..." crapola. It is anti-useful.
5701 2014-03-14 Joseph Myers <joseph@codesourcery.com>
5703 * scripts/evaluate-test.sh: Handle fourth argument to determine
5704 whether test run should stop on failure.
5705 * Makeconfig (stop-on-test-failure): New variable.
5706 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
5707 $(stop-on-test-failure).
5708 * Makefile (tests): Give a summary of results from testing and
5709 exit with failure status if they include an ERROR or FAIL.
5711 * manual/install.texi (Configuring and compiling): Mention
5712 stop-on-test-failure=y.
5713 * INSTALL: Regenerated.
5715 2014-03-14 Roland McGrath <roland@hack.frob.com>
5717 * scripts/versionlist.awk: New file.
5718 * Makerules [$(build-shared) = yes]
5719 (postclean-generated): Add Versions.def, not Versions.def.v and
5721 ($(common-objpfx)Versions.def.v.i): Target removed.
5722 ($(common-objpfx)Versions.def): New target.
5723 ($(common-objpfx)Versions.all): Depend on that rather that
5724 $(common-objpfx)Versions.def.v.
5725 * Versions.def: File removed.
5727 * Makeconfig (+gccwarn): Add -Wundef.
5728 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
5729 a dl-sysdep.h breaking its contract.
5730 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
5731 * include/stackinfo.h: New file.
5732 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
5733 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
5734 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
5735 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
5736 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
5737 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
5738 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5739 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5740 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5741 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5742 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5743 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
5744 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5745 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5746 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5748 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5751 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
5753 * math/libm-test.inc (round_test_data): Add more tests.
5756 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
5758 * math/libm-test.inc (nearbyint_test_data): Add more tests.
5761 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
5763 * math/libm-test.inc (ceil_test_data): Add more tests.
5765 * math/libm-test.inc (trunc_test_data): Add more tests related to
5768 2014-03-14 Roland McGrath <roland@hack.frob.com>
5770 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
5771 with #if rather than #ifdef.
5772 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
5774 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
5776 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
5777 first. Disable AVX-512 GCC support if assembler doesn't support
5779 * sysdeps/x86_64/configure: Regenerated.
5781 2014-03-13 Carlos O'Donell <carlos@redhat.com>
5783 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
5784 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
5785 (__old_pthread_attr_setstack): Likewise.
5786 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
5787 [!_STACK_GROWS_DOWN]: Likewise.
5789 2014-03-13 Mike Frysinger <vapier@gentoo.org>
5791 * config.make.in (have-bash2): Delete.
5792 * configure.ac (libc_cv_have_bash2): Delete.
5793 * configure: Regenerate.
5794 * elf/Makefile (common-ldd-rewrite): Rename to ...
5795 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
5796 (sh-ldd-rewrite): Delete.
5797 (bash-ldd-rewrite): Delete.
5798 (have-bash2): Delete checks.
5799 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
5802 * config.make.in (have-ksh): Delete.
5804 * configure.ac (libc_cv_have_ksh): Delete.
5805 * configure: Regenerate.
5807 * elf/Makefile: Delete $(have-ksh) check.
5808 ($(objpfx)sotruss): Change KSH to BASH.
5809 * elf/sotruss.ksh: Rename to ...
5810 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
5811 function style to match POSIX. Drop ksh vim mode setting.
5813 * manual/time.texi (Specifying the Time Zone with TZ): Change
5814 Tuesday to Thursday.
5816 * debug/tst-longjmp_chk2.c: Update header comment.
5817 (stackoverflow_handler): Add comment. Call assert on pass value.
5819 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
5821 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
5822 (HAVE_AVX512_ASM_SUPPORT): Likewise.
5823 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
5824 (La_x86_64_vector): Add zmm.
5825 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
5826 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
5827 ($(objpfx)tst-audit10): New target.
5828 ($(objpfx)tst-audit10.out): Likewise.
5829 (tst-audit10-ENV): New.
5830 (AVX512-CFLAGS): Likewise.
5831 (CFLAGS-tst-audit10.c): Likewise.
5832 (CFLAGS-tst-auditmod10a.c): Likewise.
5833 (CFLAGS-tst-auditmod10b.c): Likewise.
5834 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
5835 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
5836 * sysdeps/x86_64/configure: Regenerated.
5837 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
5838 AVX-512 zmm register support.
5839 (_dl_x86_64_save_sse): Likewise.
5840 (_dl_x86_64_restore_sse): Likewise.
5841 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
5842 size vector registers.
5843 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
5844 (ZMM_SIZE): Likewise.
5845 * sysdeps/x86_64/tst-audit10.c: New file.
5846 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
5847 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
5849 2014-03-13 Roland McGrath <roland@hack.frob.com>
5851 * configure.ac (HAVE_EHDR_START): New check.
5852 * configure: Regenerated.
5853 * config.h.in (HAVE_EHDR_START): New #undef.
5854 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
5855 assuming the lowest-addressed segment maps the start of the file.
5857 2014-03-13 Joseph Myers <joseph@codesourcery.com>
5859 * INSTALL: Regenerated.
5861 2014-03-13 Will Newton <will.newton@linaro.org>
5863 * manual/setjmp.texi (System V contexts): Improve
5864 clarity and grammar of documentation.
5866 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
5869 * elf/Makefile (tests): Add tst-pie2.
5870 (tests-pie): Add tst-pie2.
5871 * elf/tst-pie2.c: New file.
5872 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
5874 * elf/rtld.c (map_doit): Load executable as lt_executable.
5875 (dl_main): Likewise.
5877 2014-03-12 Joseph Myers <joseph@codesourcery.com>
5880 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5881 (__ASSUME_PSELECT): Undefine.
5883 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5886 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
5887 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
5889 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
5890 selector for static builds.
5892 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5895 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
5898 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5900 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
5901 IFUNC selector for static builds.
5903 2014-03-11 Joseph Myers <joseph@codesourcery.com>
5905 * sysdeps/mips/math_private.h [__mips_hard_float]
5906 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
5907 libc_feresetround_mips_ctx.
5908 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
5909 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
5910 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
5913 * math/s_nextafter.c (__nextafter): Do not return value from
5914 overflowing computation.
5915 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5916 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
5917 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5919 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5921 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5922 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
5924 2014-03-11 Roland McGrath <roland@hack.frob.com>
5926 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
5927 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
5928 Move sfi_sp use from the load-multiple (that no longer sets sp) to
5929 the new mov targetting sp.
5931 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5934 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
5935 Define it for static builds as well.
5936 (NO_BZERO_IMPL): Likewise.
5938 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5940 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
5941 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
5942 multiarch strspn for PPC64.
5943 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
5944 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
5945 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5946 (__libc_ifunc_impl_list): Likewise.
5947 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
5948 multiarch optimizations
5949 * string/strspn.c (strspn): Using macro to redefine symbol name.
5951 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5952 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5954 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
5955 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
5956 multiarch strncat for PPC64.
5957 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
5958 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
5959 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5960 (__libc_ifunc_impl_list): Likewise.
5961 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
5962 multiarch optimizations
5964 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5967 * nscd/nscd.service: Make service type forking.
5969 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5971 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
5972 sign in non default rounding modes.
5973 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5975 2014-03-08 Joseph Myers <joseph@codesourcery.com>
5977 * math/libm-test.inc (ALL_RM_TEST): New macro.
5978 (ceil_test): Use ALL_RM_TEST.
5979 (cimag_test): Likewise.
5980 (conj_test): Likewise.
5981 (copysign_test): Likewise.
5982 (cproj_test): Likewise.
5983 (creal_test): Likewise.
5984 (fabs_test): Likewise.
5985 (floor_test): Likewise.
5986 (fmax_test): Likewise.
5987 (fmin_test): Likewise.
5988 (fmod_test): Likewise.
5989 (fpclassify_test): Likewise.
5990 (frexp_test): Likewise.
5991 (ilogb_test): Likewise.
5992 (isfinite_test): Likewise.
5993 (finite_test): Likewise.
5994 (isgreater_test): Likewise.
5995 (isgreaterequal_test): Likewise.
5996 (isinf_test): Likewise.
5997 (isless_test): Likewise.
5998 (islessequal_test): Likewise.
5999 (islessgreater_test): Likewise.
6000 (isnan_test): Likewise.
6001 (isnormal_test): Likewise.
6002 (issignaling_test): Likewise.
6003 (isunordered_test): Likewise.
6004 (logb_test): Likewise.
6005 (logb_downward_test_data): Remove.
6006 (logb_test_downward): Likewise.
6007 (lround_test): Use ALL_RM_TEST.
6008 (llround_test): Likewise.
6009 (modf_test): Likewise.
6010 (nexttoward_test): Likewise.
6011 (remainder_test): Likewise.
6012 (drem_test): Likewise.
6013 (remainder_tonearest_test_data): Likewise.
6014 (remainder_test_tonearest): Likewise.
6015 (drem_test_tonearest): Likewise.
6016 (remainder_towardzero_test_data): Likewise.
6017 (remainder_test_towardzero): Likewise.
6018 (drem_test_towardzero): Likewise.
6019 (remainder_downward_test_data): Likewise.
6020 (remainder_test_downward): Likewise.
6021 (drem_test_downward): Likewise.
6022 (remainder_upward_test_data): Likewise.
6023 (remainder_test_upward): Likewise.
6024 (drem_test_upward): Likewise.
6025 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
6026 (round_test): Use ALL_RM_TEST.
6027 (signbit_test): Likewise.
6028 (trunc_test): Likewise.
6029 (significand_test): Likewise.
6030 (main): Don't call removed functions.
6032 2014-03-07 Joseph Myers <joseph@codesourcery.com>
6035 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6037 (ILL_ILLOPN): Likewise.
6038 (ILL_ILLADR): Likewise.
6039 (ILL_ILLTRP): Likewise.
6040 (ILL_PRVOPC): Likewise.
6041 (ILL_PRVREG): Likewise.
6042 (ILL_COPROC): Likewise.
6043 (ILL_BADSTK): Likewise.
6044 (FPE_INTDIV): Likewise.
6045 (FPE_INTOVF): Likewise.
6046 (FPE_FLTDIV): Likewise.
6047 (FPE_FLTOVF): Likewise.
6048 (FPE_FLTUND): Likewise.
6049 (FPE_FLTRES): Likewise.
6050 (FPE_FLTINV): Likewise.
6051 (FPE_FLTSUB): Likewise.
6052 (SEGV_MAPERR): Likewise.
6053 (SEGV_ACCERR): Likewise.
6054 (BUS_ADRALN): Likewise.
6055 (BUS_ADRERR): Likewise.
6056 (BUS_OBJERR): Likewise.
6057 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6058 (TRAP_TRACE): Likewise.
6059 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6061 (CLD_KILLED): Likewise.
6062 (CLD_DUMPED): Likewise.
6063 (CLD_TRAPPED): Likewise.
6064 (CLD_STOPPED): Likewise.
6065 (CLD_CONTINUED): Likewise.
6066 (POLL_IN): Likewise.
6067 (POLL_OUT): Likewise.
6068 (POLL_MSG): Likewise.
6069 (POLL_ERR): Likewise.
6070 (POLL_PRI): Likewise.
6071 (POLL_HUP): Likewise.
6072 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6074 (ILL_ILLOPN): Likewise.
6075 (ILL_ILLADR): Likewise.
6076 (ILL_ILLTRP): Likewise.
6077 (ILL_PRVOPC): Likewise.
6078 (ILL_PRVREG): Likewise.
6079 (ILL_COPROC): Likewise.
6080 (ILL_BADSTK): Likewise.
6081 (FPE_INTDIV): Likewise.
6082 (FPE_INTOVF): Likewise.
6083 (FPE_FLTDIV): Likewise.
6084 (FPE_FLTOVF): Likewise.
6085 (FPE_FLTUND): Likewise.
6086 (FPE_FLTRES): Likewise.
6087 (FPE_FLTINV): Likewise.
6088 (FPE_FLTSUB): Likewise.
6089 (SEGV_MAPERR): Likewise.
6090 (SEGV_ACCERR): Likewise.
6091 (BUS_ADRALN): Likewise.
6092 (BUS_ADRERR): Likewise.
6093 (BUS_OBJERR): Likewise.
6094 (BUS_MCEERR_AR): Likewise.
6095 (BUS_MCEERR_AO): Likewise.
6096 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6097 (TRAP_TRACE): Likewise.
6098 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6100 (CLD_KILLED): Likewise.
6101 (CLD_DUMPED): Likewise.
6102 (CLD_TRAPPED): Likewise.
6103 (CLD_STOPPED): Likewise.
6104 (CLD_CONTINUED): Likewise.
6105 (POLL_IN): Likewise.
6106 (POLL_OUT): Likewise.
6107 (POLL_MSG): Likewise.
6108 (POLL_ERR): Likewise.
6109 (POLL_PRI): Likewise.
6110 (POLL_HUP): Likewise.
6111 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
6112 (ILL_ILLOPN): Likewise.
6113 (ILL_ILLADR): Likewise.
6114 (ILL_ILLTRP): Likewise.
6115 (ILL_PRVOPC): Likewise.
6116 (ILL_PRVREG): Likewise.
6117 (ILL_COPROC): Likewise.
6118 (ILL_BADSTK): Likewise.
6119 (FPE_INTDIV): Likewise.
6120 (FPE_INTOVF): Likewise.
6121 (FPE_FLTDIV): Likewise.
6122 (FPE_FLTOVF): Likewise.
6123 (FPE_FLTUND): Likewise.
6124 (FPE_FLTRES): Likewise.
6125 (FPE_FLTINV): Likewise.
6126 (FPE_FLTSUB): Likewise.
6127 (SEGV_MAPERR): Likewise.
6128 (SEGV_ACCERR): Likewise.
6129 (BUS_ADRALN): Likewise.
6130 (BUS_ADRERR): Likewise.
6131 (BUS_OBJERR): Likewise.
6132 (BUS_MCEERR_AR): Likewise.
6133 (BUS_MCEERR_AO): Likewise.
6134 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6135 (TRAP_TRACE): Likewise.
6136 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6138 (CLD_KILLED): Likewise.
6139 (CLD_DUMPED): Likewise.
6140 (CLD_TRAPPED): Likewise.
6141 (CLD_STOPPED): Likewise.
6142 (CLD_CONTINUED): Likewise.
6143 (POLL_IN): Likewise.
6144 (POLL_OUT): Likewise.
6145 (POLL_MSG): Likewise.
6146 (POLL_ERR): Likewise.
6147 (POLL_PRI): Likewise.
6148 (POLL_HUP): Likewise.
6149 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
6151 (ILL_ILLOPN): Likewise.
6152 (ILL_ILLADR): Likewise.
6153 (ILL_ILLTRP): Likewise.
6154 (ILL_PRVOPC): Likewise.
6155 (ILL_PRVREG): Likewise.
6156 (ILL_COPROC): Likewise.
6157 (ILL_BADSTK): Likewise.
6158 (ILL_BADIADDR): Likewise.
6159 (ILL_BREAK): Likewise.
6160 (FPE_INTDIV): Likewise.
6161 (FPE_INTOVF): Likewise.
6162 (FPE_FLTDIV): Likewise.
6163 (FPE_FLTOVF): Likewise.
6164 (FPE_FLTUND): Likewise.
6165 (FPE_FLTRES): Likewise.
6166 (FPE_FLTINV): Likewise.
6167 (FPE_FLTSUB): Likewise.
6168 (FPE_DECOVF): Likewise.
6169 (FPE_DECDIV): Likewise.
6170 (FPE_DECERR): Likewise.
6171 (FPE_INVASC): Likewise.
6172 (FPE_INVDEC): Likewise.
6173 (SEGV_MAPERR): Likewise.
6174 (SEGV_ACCERR): Likewise.
6175 (SEGV_PSTKOVF): Likewise.
6176 (BUS_ADRALN): Likewise.
6177 (BUS_ADRERR): Likewise.
6178 (BUS_OBJERR): Likewise.
6179 (BUS_MCEERR_AR): Likewise.
6180 (BUS_MCEERR_AO): Likewise.
6181 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6182 (TRAP_TRACE): Likewise.
6183 (TRAP_BRANCH): Likewise.
6184 (TRAP_HWBKPT): Likewise.
6185 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6187 (CLD_KILLED): Likewise.
6188 (CLD_DUMPED): Likewise.
6189 (CLD_TRAPPED): Likewise.
6190 (CLD_STOPPED): Likewise.
6191 (CLD_CONTINUED): Likewise.
6192 (POLL_IN): Likewise.
6193 (POLL_OUT): Likewise.
6194 (POLL_MSG): Likewise.
6195 (POLL_ERR): Likewise.
6196 (POLL_PRI): Likewise.
6197 (POLL_HUP): Likewise.
6198 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
6199 (ILL_ILLOPN): Likewise.
6200 (ILL_ILLADR): Likewise.
6201 (ILL_ILLTRP): Likewise.
6202 (ILL_PRVOPC): Likewise.
6203 (ILL_PRVREG): Likewise.
6204 (ILL_COPROC): Likewise.
6205 (ILL_BADSTK): Likewise.
6206 (FPE_INTDIV): Likewise.
6207 (FPE_INTOVF): Likewise.
6208 (FPE_FLTDIV): Likewise.
6209 (FPE_FLTOVF): Likewise.
6210 (FPE_FLTUND): Likewise.
6211 (FPE_FLTRES): Likewise.
6212 (FPE_FLTINV): Likewise.
6213 (FPE_FLTSUB): Likewise.
6214 (SEGV_MAPERR): Likewise.
6215 (SEGV_ACCERR): Likewise.
6216 (BUS_ADRALN): Likewise.
6217 (BUS_ADRERR): Likewise.
6218 (BUS_OBJERR): Likewise.
6219 (BUS_MCEERR_AR): Likewise.
6220 (BUS_MCEERR_AO): Likewise.
6221 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6222 (TRAP_TRACE): Likewise.
6223 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6225 (CLD_KILLED): Likewise.
6226 (CLD_DUMPED): Likewise.
6227 (CLD_TRAPPED): Likewise.
6228 (CLD_STOPPED): Likewise.
6229 (CLD_CONTINUED): Likewise.
6230 (POLL_IN): Likewise.
6231 (POLL_OUT): Likewise.
6232 (POLL_MSG): Likewise.
6233 (POLL_ERR): Likewise.
6234 (POLL_PRI): Likewise.
6235 (POLL_HUP): Likewise.
6236 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
6237 (ILL_ILLOPN): Likewise.
6238 (ILL_ILLADR): Likewise.
6239 (ILL_ILLTRP): Likewise.
6240 (ILL_PRVOPC): Likewise.
6241 (ILL_PRVREG): Likewise.
6242 (ILL_COPROC): Likewise.
6243 (ILL_BADSTK): Likewise.
6244 (FPE_INTDIV): Likewise.
6245 (FPE_INTOVF): Likewise.
6246 (FPE_FLTDIV): Likewise.
6247 (FPE_FLTOVF): Likewise.
6248 (FPE_FLTUND): Likewise.
6249 (FPE_FLTRES): Likewise.
6250 (FPE_FLTINV): Likewise.
6251 (FPE_FLTSUB): Likewise.
6252 (SEGV_MAPERR): Likewise.
6253 (SEGV_ACCERR): Likewise.
6254 (BUS_ADRALN): Likewise.
6255 (BUS_ADRERR): Likewise.
6256 (BUS_OBJERR): Likewise.
6257 (BUS_MCEERR_AR): Likewise.
6258 (BUS_MCEERR_AO): Likewise.
6259 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6260 (TRAP_TRACE): Likewise.
6261 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6263 (CLD_KILLED): Likewise.
6264 (CLD_DUMPED): Likewise.
6265 (CLD_TRAPPED): Likewise.
6266 (CLD_STOPPED): Likewise.
6267 (CLD_CONTINUED): Likewise.
6268 (POLL_IN): Likewise.
6269 (POLL_OUT): Likewise.
6270 (POLL_MSG): Likewise.
6271 (POLL_ERR): Likewise.
6272 (POLL_PRI): Likewise.
6273 (POLL_HUP): Likewise.
6274 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
6275 (ILL_ILLOPN): Likewise.
6276 (ILL_ILLADR): Likewise.
6277 (ILL_ILLTRP): Likewise.
6278 (ILL_PRVOPC): Likewise.
6279 (ILL_PRVREG): Likewise.
6280 (ILL_COPROC): Likewise.
6281 (ILL_BADSTK): Likewise.
6282 (FPE_INTDIV): Likewise.
6283 (FPE_INTOVF): Likewise.
6284 (FPE_FLTDIV): Likewise.
6285 (FPE_FLTOVF): Likewise.
6286 (FPE_FLTUND): Likewise.
6287 (FPE_FLTRES): Likewise.
6288 (FPE_FLTINV): Likewise.
6289 (FPE_FLTSUB): Likewise.
6290 (SEGV_MAPERR): Likewise.
6291 (SEGV_ACCERR): Likewise.
6292 (BUS_ADRALN): Likewise.
6293 (BUS_ADRERR): Likewise.
6294 (BUS_OBJERR): Likewise.
6295 (BUS_MCEERR_AR): Likewise.
6296 (BUS_MCEERR_AO): Likewise.
6297 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6298 (TRAP_TRACE): Likewise.
6299 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6301 (CLD_KILLED): Likewise.
6302 (CLD_DUMPED): Likewise.
6303 (CLD_TRAPPED): Likewise.
6304 (CLD_STOPPED): Likewise.
6305 (CLD_CONTINUED): Likewise.
6306 (POLL_IN): Likewise.
6307 (POLL_OUT): Likewise.
6308 (POLL_MSG): Likewise.
6309 (POLL_ERR): Likewise.
6310 (POLL_PRI): Likewise.
6311 (POLL_HUP): Likewise.
6312 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
6313 (ILL_ILLOPN): Likewise.
6314 (ILL_ILLADR): Likewise.
6315 (ILL_ILLTRP): Likewise.
6316 (ILL_PRVOPC): Likewise.
6317 (ILL_PRVREG): Likewise.
6318 (ILL_COPROC): Likewise.
6319 (ILL_BADSTK): Likewise.
6320 (ILL_DBLFLT): Likewise.
6321 (ILL_HARDWALL): Likewise.
6322 (FPE_INTDIV): Likewise.
6323 (FPE_INTOVF): Likewise.
6324 (FPE_FLTDIV): Likewise.
6325 (FPE_FLTOVF): Likewise.
6326 (FPE_FLTUND): Likewise.
6327 (FPE_FLTRES): Likewise.
6328 (FPE_FLTINV): Likewise.
6329 (FPE_FLTSUB): Likewise.
6330 (SEGV_MAPERR): Likewise.
6331 (SEGV_ACCERR): Likewise.
6332 (BUS_ADRALN): Likewise.
6333 (BUS_ADRERR): Likewise.
6334 (BUS_OBJERR): Likewise.
6335 (BUS_MCEERR_AR): Likewise.
6336 (BUS_MCEERR_AO): Likewise.
6337 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6338 (TRAP_TRACE): Likewise.
6339 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6341 (CLD_KILLED): Likewise.
6342 (CLD_DUMPED): Likewise.
6343 (CLD_TRAPPED): Likewise.
6344 (CLD_STOPPED): Likewise.
6345 (CLD_CONTINUED): Likewise.
6346 (POLL_IN): Likewise.
6347 (POLL_OUT): Likewise.
6348 (POLL_MSG): Likewise.
6349 (POLL_ERR): Likewise.
6350 (POLL_PRI): Likewise.
6351 (POLL_HUP): Likewise.
6352 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
6353 (ILL_ILLOPN): Likewise.
6354 (ILL_ILLADR): Likewise.
6355 (ILL_ILLTRP): Likewise.
6356 (ILL_PRVOPC): Likewise.
6357 (ILL_PRVREG): Likewise.
6358 (ILL_COPROC): Likewise.
6359 (ILL_BADSTK): Likewise.
6360 (FPE_INTDIV): Likewise.
6361 (FPE_INTOVF): Likewise.
6362 (FPE_FLTDIV): Likewise.
6363 (FPE_FLTOVF): Likewise.
6364 (FPE_FLTUND): Likewise.
6365 (FPE_FLTRES): Likewise.
6366 (FPE_FLTINV): Likewise.
6367 (FPE_FLTSUB): Likewise.
6368 (SEGV_MAPERR): Likewise.
6369 (SEGV_ACCERR): Likewise.
6370 (BUS_ADRALN): Likewise.
6371 (BUS_ADRERR): Likewise.
6372 (BUS_OBJERR): Likewise.
6373 (BUS_MCEERR_AR): Likewise.
6374 (BUS_MCEERR_AO): Likewise.
6375 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6376 (TRAP_TRACE): Likewise.
6377 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6379 (CLD_KILLED): Likewise.
6380 (CLD_DUMPED): Likewise.
6381 (CLD_TRAPPED): Likewise.
6382 (CLD_STOPPED): Likewise.
6383 (CLD_CONTINUED): Likewise.
6384 (POLL_IN): Likewise.
6385 (POLL_OUT): Likewise.
6386 (POLL_MSG): Likewise.
6387 (POLL_ERR): Likewise.
6388 (POLL_PRI): Likewise.
6389 (POLL_HUP): Likewise.
6390 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
6391 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6394 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
6395 before #include of <time.h>.
6396 [!__USE_XOPEN2K] (__need_timespec): Likewise.
6397 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
6398 (test-xfail-UNIX98/sched.h/conform): Likewise.
6400 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
6402 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
6403 error absence of trapping exception support.
6404 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6406 2014-03-07 Joseph Myers <joseph@codesourcery.com>
6408 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
6409 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
6410 * timezone/Makefile (testdata): Move definition above include of
6412 (test-zones): New variable.
6413 (tests-special): Add zone files.
6414 (build-testdata): Use $(evaluate-test).
6416 * elf/Makefile (tests-special): Rename tests to end with .out.
6417 ($(objpfx)noload-mem): Likewise.
6418 ($(objpfx)tst-leaks1-mem): Likewise.
6419 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
6420 * iconv/Makefile (xtests-special): Change test-iconvconfig to
6421 $(objpfx)test-iconvconfig.out.
6422 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
6423 set -e inside subshell and redirect output to file.
6424 * iconvdata/Makefile (generated): Rename tests to end with .out.
6426 (tests-special): Rename tests to end with .out.
6427 ($(objpfx)mtrace-tst-loading): Likewise.
6428 * intl/Makefile (generated): Likewise.
6429 (tests-special): Likewise.
6430 ($(objpfx)mtrace-tst-gettext): Likewise.
6431 * misc/Makefile (generated): Likewise.
6432 (tests-special): Likewise.
6433 ($(objpfx)tst-error1-mem): Likewise.
6434 * nptl/Makefile (tests-special): Likewise.
6435 ($(objpfx)tst-stack3-mem): Likewise.
6436 (generated): Likewise.
6437 * posix/Makefile (generated): Likewise.
6438 (tests-special): Likewise.
6439 (xtests-special): Likewise.
6440 ($(objpfx)tst-fnmatch-mem): Likewise.
6441 ($(objpfx)bug-regex2-mem): Likewise.
6442 ($(objpfx)bug-regex14-mem): Likewise.
6443 ($(objpfx)bug-regex21-mem): Likewise.
6444 ($(objpfx)bug-regex31-mem): Likewise.
6445 ($(objpfx)tst-vfork3-mem): Likewise.
6446 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6447 ($(objpfx)tst-pcre-mem): Likewise.
6448 ($(objpfx)tst-boost-mem): Likewise.
6449 ($(objpfx)bug-ga2-mem): Likewise.
6450 ($(objpfx)bug-glob2-mem): Likewise.
6451 * resolv/Makefile (generate): Likewise.
6452 (tests-special): Likewise.
6453 (xtests-special): Likewise.
6454 (generated): Likewise.
6455 ($(objpfx)mtrace-tst-leaks): Likewise.
6456 ($(objpfx)mtrace-tst-leaks2): Likewise.
6458 * scripts/merge-test-results.sh: New file.
6459 * Makefile (tests-special-notdir): New variable.
6460 (tests): Run merge-test-results.sh.
6462 * Rules (tests-special-notdir): New variable.
6463 (xtests-special-notdir): Likewise.
6464 (tests): Run merge-test-results.sh
6467 * Makeconfig (test-xfail-name): New variable.
6468 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
6469 compute variable name for expected failures.
6470 * conform/Makefile (conformtest-headers-data): New variable.
6471 (conformtest-standards): Likewise.
6472 (conformtest-headers-ISO): Likewise.
6473 (conformtest-headers-ISO99): Likewise.
6474 (conformtest-headers-ISO11): Likewise.
6475 (conformtest-headers-POSIX): Likewise.
6476 (conformtest-headers-XPG3): Likewise.
6477 (conformtest-headers-XPG4): Likewise.
6478 (conformtest-headers-UNIX98): Likewise.
6479 (conformtest-headers-XOPEN2K): Likewise.
6480 (conformtest-headers-POSIX2008): Likewise.
6481 (conformtest-headers-XOPEN2K8): Likewise.
6482 (conformtest-header-list-base): Likewise.
6483 (conformtest-header-list-tests): Likewise.
6484 (conformtest-header-base): Likewise.
6485 (conformtest-header-tests): Likewise.
6486 (tests-special): Add $(conformtest-header-list-tests). If
6487 [$(fast-check) && !$(cross-compiling)], add
6488 $(conformtest-header-tests) instead of
6489 $(objpfx)run-conformtest.out.
6490 (generated): Add $(conformtest-header-list-base). If
6491 [$(fast-check) && !$(cross-compiling)], add
6492 $(conformtest-header-base). Remove previous setting.
6493 ($(conformtest-header-list-tests)): New target.
6494 (test-xfail-run-conformtest): Remove variable.
6495 ($(objpfx)run-conformtest.out): Remove target.
6496 (test-xfail-ISO11/complex.h/conform): New variable.
6497 (test-xfail-ISO11/stdalign.h/conform): Likewise.
6498 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6499 (test-xfail-XPG3/varargs.h/conform): Likewise.
6500 (test-xfail-XPG4/varargs.h/conform): Likewise.
6501 (test-xfail-UNIX98/varargs.h/conform): Likewise.
6502 (test-xfail-XPG4/ndbm.h/conform): Likewise.
6503 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
6504 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
6505 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
6506 (test-xfail-XPG3/fcntl.h/conform): Likewise.
6507 (test-xfail-XPG3/ftw.h/conform): Likewise.
6508 (test-xfail-XPG3/grp.h/conform): Likewise.
6509 (test-xfail-XPG3/langinfo.h/conform): Likewise.
6510 (test-xfail-XPG3/limits.h/conform): Likewise.
6511 (test-xfail-XPG3/pwd.h/conform): Likewise.
6512 (test-xfail-XPG3/search.h/conform): Likewise.
6513 (test-xfail-XPG3/signal.h/conform): Likewise.
6514 (test-xfail-XPG3/stdio.h/conform): Likewise.
6515 (test-xfail-XPG3/stdlib.h/conform): Likewise.
6516 (test-xfail-XPG3/string.h/conform): Likewise.
6517 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
6518 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
6519 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
6520 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
6521 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
6522 (test-xfail-XPG3/sys/types.h/conform): Likewise.
6523 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
6524 (test-xfail-XPG3/termios.h/conform): Likewise.
6525 (test-xfail-XPG3/time.h/conform): Likewise.
6526 (test-xfail-XPG3/unistd.h/conform): Likewise.
6527 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
6528 (test-xfail-XPG4/fcntl.h/conform): Likewise.
6529 (test-xfail-XPG4/langinfo.h/conform): Likewise.
6530 (test-xfail-XPG4/netdb.h/conform): Likewise.
6531 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
6532 (test-xfail-XPG4/signal.h/conform): Likewise.
6533 (test-xfail-XPG4/stdio.h/conform): Likewise.
6534 (test-xfail-XPG4/stdlib.h/conform): Likewise.
6535 (test-xfail-XPG4/stropts.h/conform): Likewise.
6536 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
6537 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
6538 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
6539 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
6540 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
6541 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
6542 (test-xfail-XPG4/sys/time.h/conform): Likewise.
6543 (test-xfail-XPG4/sys/types.h/conform): Likewise.
6544 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
6545 (test-xfail-XPG4/termios.h/conform): Likewise.
6546 (test-xfail-XPG4/ucontext.h/conform): Likewise.
6547 (test-xfail-XPG4/unistd.h/conform): Likewise.
6548 (test-xfail-XPG4/utmpx.h/conform): Likewise.
6549 (test-xfail-POSIX/sched.h/conform): Likewise.
6550 (test-xfail-POSIX/signal.h/conform): Likewise.
6551 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6552 (test-xfail-POSIX/tar.h/conform): Likewise.
6553 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
6554 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
6555 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6556 (test-xfail-UNIX98/netdb.h/conform): Likewise.
6557 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
6558 (test-xfail-UNIX98/sched.h/conform): Likewise.
6559 (test-xfail-UNIX98/signal.h/conform): Likewise.
6560 (test-xfail-UNIX98/stdio.h/conform): Likewise.
6561 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6562 (test-xfail-UNIX98/stropts.h/conform): Likewise.
6563 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
6564 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
6565 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
6566 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
6567 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
6568 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6569 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
6570 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
6571 (test-xfail-UNIX98/unistd.h/conform): Likewise.
6572 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6573 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
6574 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
6575 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6576 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
6577 (test-xfail-XOPEN2K/math.h/conform): Likewise.
6578 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6579 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
6580 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
6581 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
6582 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
6583 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
6584 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
6585 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
6586 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
6587 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
6588 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
6589 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
6590 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
6591 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
6592 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
6593 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6594 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
6595 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
6596 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
6597 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
6598 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6599 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6600 (test-xfail-POSIX2008/signal.h/conform): Likewise.
6601 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
6602 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6603 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
6604 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
6605 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
6606 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
6607 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6608 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
6609 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
6610 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
6611 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
6612 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
6613 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
6614 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
6615 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
6616 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
6617 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
6618 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
6619 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
6620 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
6621 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6622 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6623 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
6624 (conformtest-cc-flags): Likewise.
6625 ($(conformtest-header-tests): New target.
6626 * conform/check-header-lists.sh: New file.
6627 * conform/run-conformtest.sh: Remove.
6629 * conform/conformtest.pl: Allow ' and \ in values given for
6631 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
6633 [POSIX] (sys/types.h): Likewise.
6634 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
6636 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
6638 * conform/data/signal.h-data (SIGIO): Remove expectation.
6639 [XPG3] (SIGBUS): Do not expect.
6640 [POSIX || XPG3] (SIGPOLL): Likewise.
6641 [POSIX || XPG3] (SIGPROF): Likewise.
6642 [POSIX || XPG3] (SIGSYS): Likewise.
6643 [XPG3] (SIGTRAP): Likewise.
6644 [POSIX || XPG3] (SIGURG): Likewise.
6645 [POSIX || XPG3] (SIGVTALRM): Likewise.
6646 [POSIX || XPG3] (SIGXCPU): Likewise.
6647 [POSIX || XPG3] (SIGXFSZ): Likewise.
6648 [POSIX] (SA_SIGINFO): Expect.
6649 [XPG3] (siginfo_t): Do not expect type or contents.
6650 [POSIX] (si_pid): Do not expect element.
6651 [POSIX] (si_uid): Likewise.
6652 [POSIX] (si_addr): Likewise.
6653 [POSIX] (si_status): Likewise.
6654 [POSIX] (si_band): Likewise.
6655 [XPG4] (si_value): Likewise.
6656 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
6657 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
6658 [POSIX || XPG3] (ILL_ILLADR): Likewise.
6659 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
6660 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
6661 [POSIX || XPG3] (ILL_PRVREG): Likewise.
6662 [POSIX || XPG3] (ILL_COPROC): Likewise.
6663 [POSIX || XPG3] (ILL_BADSTK): Likewise.
6664 [POSIX || XPG3] (FPE_INTDIV): Likewise.
6665 [POSIX || XPG3] (FPE_INTOVF): Likewise.
6666 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
6667 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
6668 [POSIX || XPG3] (FPE_FLTUND): Likewise.
6669 [POSIX || XPG3] (FPE_FLTRES): Likewise.
6670 [POSIX || XPG3] (FPE_FLTINV): Likewise.
6671 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
6672 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
6673 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
6674 [POSIX || XPG3] (BUS_ADRALN): Likewise.
6675 [POSIX || XPG3] (BUS_ADRERR): Likewise.
6676 [POSIX || XPG3] (BUS_OBJERR): Likewise.
6677 [POSIX || XPG3] (CLD_EXITED): Likewise.
6678 [POSIX || XPG3] (CLD_KILLED): Likewise.
6679 [POSIX || XPG3] (CLD_DUMPED): Likewise.
6680 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
6681 [POSIX || XPG3] (CLD_STOPPED): Likewise.
6682 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
6683 [POSIX || XPG3] (POLL_IN): Likewise.
6684 [POSIX || XPG3] (POLL_OUT): Likewise.
6685 [POSIX || XPG3] (POLL_MSG): Likewise.
6686 [POSIX || XPG3] (POLL_ERR): Likewise.
6687 [POSIX || XPG3] (POLL_PRI): Likewise.
6688 [POSIX || XPG3] (POLL_HUP): Likewise.
6689 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
6690 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
6691 (SIG*): Do not allow.
6692 [XPG3] (si_*): Likewise.
6693 [XPG3] (SI_*): Likewise.
6694 [XPG3 || XPG4] (sigev_*): Likewise.
6695 [XPG3 || XPG4] (SIGEV_*): Likewise.
6696 [XPG3 || XPG4] (sival_*): Likewise.
6697 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
6698 [POSIX || XPG3] (BUS_*): Likewise.
6699 [POSIX || XPG3] (CLD_*): Likewise.
6700 [POSIX || XPG3] (FPE_*): Likewise.
6701 [POSIX || XPG3] (ILL_*): Likewise.
6702 [POSIX || XPG3] (POLL_*): Likewise.
6703 [POSIX || XPG3] (SEGV_*): Likewise.
6704 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
6705 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
6706 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
6707 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
6708 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
6709 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
6710 Specify type and value.
6711 (TVERSLEN): Likewise.
6712 (REGTYPE): Likewise.
6713 (AREGTYPE): Likewise.
6714 (LNKTYPE): Likewise.
6715 (SYMTYPE): Likewise.
6716 (CHRTYPE): Likewise.
6717 (BLKTYPE): Likewise.
6718 (DIRTYPE): Likewise.
6719 (FIFOTYPE): Likewise.
6720 (CONTTYPE): Likewise.
6725 (TUWRITE): Likewise.
6728 (TGWRITE): Likewise.
6731 (TOWRITE): Likewise.
6733 [POSIX] (TSVTX): Expect constant.
6735 2014-03-06 Joseph Myers <joseph@codesourcery.com>
6737 * Makefile (tests): Change dependencies to ....
6738 (tests-special): ... additions to this variable.
6739 (tests): Depend on $(tests-special).
6740 * Makerules (check-abi-list): New variable.
6741 (check-abi): Depend on $(check-abi-list).
6742 [$(subdir) = elf] (tests-special): Add
6743 $(objpfx)check-abi-libc.out.
6744 [$(build-shared) = yes && subdir] (tests-special): Add
6746 [$(build-shared) = yes && subdir] (tests): Do not depend on
6748 * Rules (tests): Depend on $(tests-special).
6749 (xtests): Depend on $(xtests-special).
6750 * catgets/Makefile (tests): Change dependencies to ....
6751 (tests-special): ... additions to this variable.
6752 * conform/Makefile (tests): Change dependencies to ....
6753 (tests-special): ... additions to this variable.
6754 * elf/Makefile (tests): Change dependencies to ....
6755 (tests-special): ... additions to this variable.
6756 * grp/Makefile (tests): Change dependencies to ....
6757 (tests-special): ... additions to this variable.
6758 * iconv/Makefile (xtests): Change dependencies to ....
6759 (xtests-special): ... additions to this variable.
6760 * iconvdata/Makefile (tests): Change dependencies to ....
6761 (tests-special): ... additions to this variable.
6762 * intl/Makefile (tests): Change dependencies to ....
6763 (tests-special): ... additions to this variable. Also add
6764 $(objpfx)tst-gettext.out.
6765 * io/Makefile (tests): Change dependencies to ....
6766 (tests-special): ... additions to this variable.
6767 * libio/Makefile (tests): Change dependencies to ....
6768 (tests-special): ... additions to this variable.
6769 * malloc/Makefile (tests): Change dependencies to ....
6770 (tests-special): ... additions to this variable.
6771 * misc/Makefile (tests): Change dependencies to ....
6772 (tests-special): ... additions to this variable.
6773 * nptl/Makefile (tests): Change dependencies to ....
6774 (tests-special): ... additions to this variable.
6775 * nptl_db/Makefile (tests): Change dependencies to ....
6776 (tests-special): ... additions to this variable.
6777 * posix/Makefile (tests): Change dependencies to ....
6778 (tests-special): ... additions to this variable.
6779 (xtests): Change dependencies to ....
6780 (xtests-special): ... additions to this variable.
6781 * resolv/Makefile (tests): Change dependencies to ....
6782 (tests-special): ... additions to this variable.
6783 (xtests): Change dependencies to ....
6784 (xtests-special): ... additions to this variable.
6785 * stdio-common/Makefile (tests): Change dependencies to ....
6786 (tests-special): ... additions to this variable.
6787 (do-tst-unbputc): Remove target.
6788 (do-tst-printf): Likewise.
6789 * stdlib/Makefile (tests): Change dependencies to ....
6790 (tests-special): ... additions to this variable.
6791 * string/Makefile (tests): Change dependencies to ....
6792 (tests-special): ... additions to this variable.
6793 * sysdeps/x86/Makefile (tests): Change dependencies to ....
6794 (tests-special): ... additions to this variable.
6796 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
6798 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
6800 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
6801 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
6803 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
6804 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
6805 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
6806 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
6807 * conform/data/libgen.h-data [XPG3]: Likewise.
6808 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
6809 * conform/data/ndbm.h-data [XPG3]: Likewise.
6810 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6811 * conform/data/netdb.h-data [XPG3]: Likewise.
6812 * conform/data/netinet/in.h-data [XPG3]: Likewise.
6813 * conform/data/poll.h-data [XPG3]: Likewise.
6814 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6815 * conform/data/strings.h-data [XPG3]: Likewise.
6816 * conform/data/stropts.h-data [XPG3]: Likewise.
6817 * conform/data/sys/mman.h-data [XPG3]: Likewise.
6818 * conform/data/sys/resource.h-data [XPG3]: Likewise.
6819 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
6821 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
6822 * conform/data/sys/time.h-data [XPG3]: Likewise.
6823 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
6824 * conform/data/sys/uio.h-data [XPG3]: Likewise.
6825 * conform/data/sys/un.h-data [XPG3]: Likewise.
6826 * conform/data/syslog.h-data [XPG3]: Likewise.
6827 * conform/data/ucontext.h-data [XPG3]: Likewise.
6828 * conform/data/utmpx.h-data [XPG3]: Likewise.
6829 * conform/data/varargs.h-data [UNIX98]: Enable file.
6831 * manual/Makefile (INSTALL_INFO): Remove variable setting.
6833 * math/libm-test.inc (struct test_f_f_data): Move expected results
6834 into structure for each rounding mode.
6835 (struct test_ff_f_data): Likewise.
6836 (struct test_ff_f_data_nexttoward): Likewise.
6837 (struct test_fi_f_data): Likewise.
6838 (struct test_fl_f_data): Likewise.
6839 (struct test_if_f_data): Likewise.
6840 (struct test_fff_f_data): Likewise.
6841 (struct test_c_f_data): Likewise.
6842 (struct test_f_f1_data): Likewise.
6843 (struct test_fF_f1_data): Likewise.
6844 (struct test_ffI_f1_data): Likewise.
6845 (struct test_c_c_data): Likewise.
6846 (struct test_cc_c_data): Likewise.
6847 (struct test_f_i_data): Likewise.
6848 (struct test_ff_i_data): Likewise.
6849 (struct test_f_l_data): Likewise.
6850 (struct test_f_L_data): Likewise.
6851 (struct test_fFF_11_data): Likewise.
6853 (RM_FE_DOWNWARD): Likewise.
6854 (RM_FE_TONEAREST): Likewise.
6855 (RM_FE_TOWARDZERO): Likewise.
6856 (RM_FE_UPWARD): Likewise.
6857 (RUN_TEST_LOOP_f_f): Update references to expected results.
6858 (RUN_TEST_LOOP_2_f): Likewise.
6859 (RUN_TEST_LOOP_fff_f): Likewise.
6860 (RUN_TEST_LOOP_c_f): Likewise.
6861 (RUN_TEST_LOOP_f_f1): Likewise.
6862 (RUN_TEST_LOOP_fF_f1): Likewise.
6863 (RUN_TEST_LOOP_fI_f1): Likewise.
6864 (RUN_TEST_LOOP_ffI_f1): Likewise.
6865 (RUN_TEST_LOOP_c_c): Likewise.
6866 (RUN_TEST_LOOP_cc_c): Likewise.
6867 (RUN_TEST_LOOP_f_i): Likewise.
6868 (RUN_TEST_LOOP_f_i_tg): Likewise.
6869 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6870 (RUN_TEST_LOOP_f_b): Likewise.
6871 (RUN_TEST_LOOP_f_b_tg): Likewise.
6872 (RUN_TEST_LOOP_f_l): Likewise.
6873 (RUN_TEST_LOOP_f_L): Likewise.
6874 (RUN_TEST_LOOP_fFF_11): Likewise.
6875 * math/gen-libm-test.pl (parse_args): Output four copies of
6876 expected results for each test.
6878 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6879 (__ASSUME_UTIMES): Remove.
6880 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6881 (__ASSUME_UTIMES): Likewise.
6883 * math/gen-auto-libm-tests.c: Update comment on output format.
6884 (output_for_one_input_case): Generate before-rounding and
6885 after-rounding information as conditions on output flags not
6886 floating-point format.
6887 * math/auto-libm-test-out: Regenerated.
6888 * math/gen-libm-test.pl (cond_value): New function.
6889 (or_cond_value): Use cond_value.
6890 (generate_testfile): Handle conditional exceptions.
6892 2014-03-05 Joseph Myers <joseph@codesourcery.com>
6894 * math/libm-test.inc (max_valid_error): New variable.
6895 (init_max_error): Take new argument specifying whether function
6896 results are exactly determined. Set max_valid_error and bound
6897 other variables for errors based on this argument.
6898 (set_max_error): Do not record results above max_valid_error.
6899 (check_float_internal): Only accept errors of up to 0.5ulps if
6900 also at most max_valid_error.
6901 (START): Take new argument EXACT and pass it to init_max_error.
6902 (acos_test): Update call to START.
6903 (acos_test_tonearest): Likewise.
6904 (acos_test_towardzero): Likewise.
6905 (acos_test_downward): Likewise.
6906 (acos_test_upward): Likewise.
6907 (acosh_test): Likewise.
6908 (asin_test): Likewise.
6909 (asin_test_tonearest): Likewise.
6910 (asin_test_towardzero): Likewise.
6911 (asin_test_downward): Likewise.
6912 (asin_test_upward): Likewise.
6913 (asinh_test): Likewise.
6914 (atan_test): Likewise.
6915 (atanh_test): Likewise.
6916 (atan2_test): Likewise.
6917 (cabs_test): Likewise.
6918 (cacos_test): Likewise.
6919 (cacosh_test): Likewise.
6920 (carg_test): Likewise.
6921 (casin_test): Likewise.
6922 (casinh_test): Likewise.
6923 (catan_test): Likewise.
6924 (catanh_test): Likewise.
6925 (cbrt_test): Likewise.
6926 (ccos_test): Likewise.
6927 (ccosh_test): Likewise.
6928 (ceil_test): Likewise.
6929 (cexp_test): Likewise.
6930 (cimag_test): Likewise.
6931 (clog_test): Likewise.
6932 (clog10_test): Likewise.
6933 (conj_test): Likewise.
6934 (copysign_test): Likewise.
6935 (cos_test): Likewise.
6936 (cos_test_tonearest): Likewise.
6937 (cos_test_towardzero): Likewise.
6938 (cos_test_downward): Likewise.
6939 (cos_test_upward): Likewise.
6940 (cosh_test): Likewise.
6941 (cosh_test_tonearest): Likewise.
6942 (cosh_test_towardzero): Likewise.
6943 (cosh_test_downward): Likewise.
6944 (cosh_test_upward): Likewise.
6945 (cpow_test): Likewise.
6946 (cproj_test): Likewise.
6947 (creal_test): Likewise.
6948 (csin_test): Likewise.
6949 (csinh_test): Likewise.
6950 (csqrt_test): Likewise.
6951 (ctan_test): Likewise.
6952 (ctan_test_tonearest): Likewise.
6953 (ctan_test_towardzero): Likewise.
6954 (ctan_test_downward): Likewise.
6955 (ctan_test_upward): Likewise.
6956 (ctanh_test): Likewise.
6957 (ctanh_test_tonearest): Likewise.
6958 (ctanh_test_towardzero): Likewise.
6959 (ctanh_test_downward): Likewise.
6960 (ctanh_test_upward): Likewise.
6961 (erf_test): Likewise.
6962 (erfc_test): Likewise.
6963 (exp_test): Likewise.
6964 (exp_test_tonearest): Likewise.
6965 (exp_test_towardzero): Likewise.
6966 (exp_test_downward): Likewise.
6967 (exp_test_upward): Likewise.
6968 (exp10_test): Likewise.
6969 (exp10_test_tonearest): Likewise.
6970 (exp10_test_towardzero): Likewise.
6971 (exp10_test_downward): Likewise.
6972 (exp10_test_upward): Likewise.
6973 (pow10_test): Likewise.
6974 (exp2_test): Likewise.
6975 (expm1_test): Likewise.
6976 (expm1_test_tonearest): Likewise.
6977 (expm1_test_towardzero): Likewise.
6978 (expm1_test_downward): Likewise.
6979 (expm1_test_upward): Likewise.
6980 (fabs_test): Likewise.
6981 (fdim_test): Likewise.
6982 (floor_test): Likewise.
6983 (fma_test): Likewise.
6984 (fma_test_towardzero): Likewise.
6985 (fma_test_downward): Likewise.
6986 (fma_test_upward): Likewise.
6987 (fmax_test): Likewise.
6988 (fmin_test): Likewise.
6989 (fmod_test): Likewise.
6990 (fpclassify_test): Likewise.
6991 (frexp_test): Likewise.
6992 (hypot_test): Likewise.
6993 (ilogb_test): Likewise.
6994 (isfinite_test): Likewise.
6995 (finite_test): Likewise.
6996 (isgreater_test): Likewise.
6997 (isgreaterequal_test): Likewise.
6998 (isinf_test): Likewise.
6999 (isless_test): Likewise.
7000 (islessequal_test): Likewise.
7001 (islessgreater_test): Likewise.
7002 (isnan_test): Likewise.
7003 (isnormal_test): Likewise.
7004 (issignaling_test): Likewise.
7005 (isunordered_test): Likewise.
7006 (j0_test): Likewise.
7007 (j1_test): Likewise.
7008 (jn_test): Likewise.
7009 (ldexp_test): Likewise.
7010 (lgamma_test): Likewise.
7011 (gamma_test): Likewise.
7012 (lrint_test): Likewise.
7013 (lrint_test_tonearest): Likewise.
7014 (lrint_test_towardzero): Likewise.
7015 (lrint_test_downward): Likewise.
7016 (lrint_test_upward): Likewise.
7017 (llrint_test): Likewise.
7018 (llrint_test_tonearest): Likewise.
7019 (llrint_test_towardzero): Likewise.
7020 (llrint_test_downward): Likewise.
7021 (llrint_test_upward): Likewise.
7022 (log_test): Likewise.
7023 (log10_test): Likewise.
7024 (log1p_test): Likewise.
7025 (log2_test): Likewise.
7026 (logb_test): Likewise.
7027 (logb_test_downward): Likewise.
7028 (lround_test): Likewise.
7029 (llround_test): Likewise.
7030 (modf_test): Likewise.
7031 (nearbyint_test): Likewise.
7032 (nextafter_test): Likewise.
7033 (nexttoward_test): Likewise.
7034 (pow_test): Likewise.
7035 (pow_test_tonearest): Likewise.
7036 (pow_test_towardzero): Likewise.
7037 (pow_test_downward): Likewise.
7038 (pow_test_upward): Likewise.
7039 (remainder_test): Likewise.
7040 (drem_test): Likewise.
7041 (remainder_test_tonearest): Likewise.
7042 (drem_test_tonearest): Likewise.
7043 (remainder_test_towardzero): Likewise.
7044 (drem_test_towardzero): Likewise.
7045 (remainder_test_downward): Likewise.
7046 (drem_test_downward): Likewise.
7047 (remainder_test_upward): Likewise.
7048 (drem_test_upward): Likewise.
7049 (remquo_test): Likewise.
7050 (rint_test): Likewise.
7051 (rint_test_tonearest): Likewise.
7052 (rint_test_towardzero): Likewise.
7053 (rint_test_downward): Likewise.
7054 (rint_test_upward): Likewise.
7055 (round_test): Likewise.
7056 (scalb_test): Likewise.
7057 (scalbn_test): Likewise.
7058 (scalbln_test): Likewise.
7059 (signbit_test): Likewise.
7060 (sin_test): Likewise.
7061 (sin_test_tonearest): Likewise.
7062 (sin_test_towardzero): Likewise.
7063 (sin_test_downward): Likewise.
7064 (sin_test_upward): Likewise.
7065 (sincos_test): Likewise.
7066 (sinh_test): Likewise.
7067 (sinh_test_tonearest): Likewise.
7068 (sinh_test_towardzero): Likewise.
7069 (sinh_test_downward): Likewise.
7070 (sinh_test_upward): Likewise.
7071 (sqrt_test): Likewise.
7072 (sqrt_test_tonearest): Likewise.
7073 (sqrt_test_towardzero): Likewise.
7074 (sqrt_test_downward): Likewise.
7075 (sqrt_test_upward): Likewise.
7076 (tan_test): Likewise.
7077 (tan_test_tonearest): Likewise.
7078 (tan_test_towardzero): Likewise.
7079 (tan_test_downward): Likewise.
7080 (tan_test_upward): Likewise.
7081 (tanh_test): Likewise.
7082 (tgamma_test): Likewise.
7083 (trunc_test): Likewise.
7084 (y0_test): Likewise.
7085 (y1_test): Likewise.
7086 (yn_test): Likewise.
7087 (significand_test): Likewise.
7089 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7090 individual tests in comment.
7091 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7092 (prev_max_error): New variable.
7093 (prev_real_max_error): Likewise.
7094 (prev_imag_max_error): Likewise.
7095 (compare_ulp_data): Don't refer to test names in comment.
7096 (find_test_ulps): Remove function.
7097 (find_function_ulps): Likewise.
7098 (find_complex_function_ulps): Likewise.
7099 (init_max_error): Take function name as argument. Look up ulps
7101 (print_ulps): Remove function.
7102 (print_max_error): Use prev_max_error instead of calling
7104 (print_complex_max_error): Use prev_real_max_error and
7105 prev_imag_max_error instead of calling find_complex_function_ulps.
7106 (check_float_internal): Take max_ulp parameter instead of calling
7107 find_test_ulps. Don't call print_ulps.
7108 (check_float): Update call to check_float_internal.
7109 (check_complex): Update calls to check_float_internal.
7110 (START): Pass argument to init_max_error.
7111 * math/gen-libm-test.pl (%results): Don't include "kind"
7113 (parse_ulps): Don't handle ulps of individual tests.
7114 (print_ulps_file): Likewise.
7115 (output_ulps): Likewise.
7116 * math/README.libm-test: Update.
7117 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
7119 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
7120 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
7121 * sysdeps/arm/libm-test-ulps: Likewise.
7122 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7123 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7124 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
7125 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7126 * sysdeps/microblaze/libm-test-ulps: Likewise.
7127 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7128 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7129 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7130 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7131 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7132 * sysdeps/sh/libm-test-ulps: Likewise.
7133 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7134 * sysdeps/tile/libm-test-ulps: Likewise.
7135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7137 2014-03-04 Joseph Myers <joseph@codesourcery.com>
7139 * math/libm-test.inc (print_complex_max_error): Check separately
7140 whether real and imaginary errors are within allowed range and
7141 pass 0 to print_complex_function_ulps instead of value within
7144 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7146 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
7148 (get_handles_fopen): Likewise.
7149 (do_write_test): Likewise.
7151 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
7153 * libio/fileops.c (do_ftell): Use cached offset when
7155 * libio/iofwide.c (do_ftell_wide): Likewise.
7156 * libio/iofdopen.c (_IO_new_fdopen): Don't use
7158 * libio/wfileops.c (_IO_fwide): Don't cache offset.
7161 * libio/libioP.h (get_file_offset): New function.
7162 * libio/fileops.c (get_file_offset): Likewise.
7163 (do_ftell): Likewise.
7164 (_IO_new_file_seekoff): Split out ftell logic.
7165 * libio/wfileops.c (do_ftell_wide): Likewise.
7166 (_IO_wfile_seekoff): Split out ftell logic.
7167 * libio/tst-ftell-active-handler.c: New test case.
7168 * libio/Makefile (tests): Add it.
7170 2014-03-03 Roland McGrath <roland@hack.frob.com>
7172 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
7173 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
7175 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7178 * nscd/connections.c (nscd_init): Call do_exit.
7179 (start_threads): Call do_exit and notify_parent.
7180 (begin_drop_privileges): Call do_exit.
7181 (finish_drop_privileges): Likewise.
7182 * nscd/selinux.c (preserve_capabilities): Likewise.
7183 (install_real_capabilities): Likewise.
7184 (nscd_selinux_enabled): Likewise.
7185 (avc_create_thread): Likewise.
7186 (avc_alloc_lock): Likewise.
7187 (nscd_avc_init): Likewise.
7188 * nscd/nscd.c (parent_fd): New static variable.
7189 (main): Create a pipe between parent and child processes.
7190 Skip closing parent_fd.
7191 (monitor_child): New function.
7192 (do_exit): Likewise.
7193 (notify_parent): Likewise.
7194 * nscd/nscd.h (notify_parent): Likewise.
7195 (do_exit): Likewise.
7197 2014-03-03 Carlos O'Donell <carlos@redhat.com>
7199 * malloc/malloc.c (__libc_calloc): Revert last change.
7201 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7205 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7207 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
7208 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
7210 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7211 (__libc_ifunc_impl_list): Likewise.
7212 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
7213 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
7214 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
7215 * string/strrchr.c: Define STRRCHR.
7217 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
7219 * benchtest/bench-strtok.c (simple_strtok): Delete.
7220 (strtok_string): Use as benchmark.
7221 * string/strtok (STRTOK): New macro.
7223 2014-02-28 Carlos O'Donell <carlos@redhat.com>
7225 * manual/threads.texi: Add header and standard comments to all
7228 * elf/dl-lookup.c (check_match): New function.
7229 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
7230 (do_lookup_x): Remove nested function check_match. Use non-nested
7231 function check_match.
7233 2014-02-28 Roland McGrath <roland@hack.frob.com>
7235 * csu/Makefile (generated, before-compile): Use += rather than =.
7236 * catgets/Makefile (generated, generated-dirs): Likewise.
7237 * debug/Makefile (generated): Likewise.
7238 * dlfcn/Makefile (generated): Likewise.
7239 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
7240 * iconvdata/Makefile (before-compile, generated): Likewise.
7241 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
7242 * libio/Makefile (generated): Likewise.
7243 * malloc/Makefile (generated): Likewise.
7244 * manual/Makefile (generated, generated-dirs): Likewise.
7245 * misc/Makefile (generated): Likewise.
7246 * posix/Makefile (generated): Likewise.
7247 * resolv/Makefile (generated): Likewise.
7248 * sunrpc/Makefile (generated, generated-dirs): Likewise.
7249 * timezone/Makefile (generated, generated-dirs): Likewise.
7251 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
7253 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7255 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7256 power8 implementation.
7257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
7258 file: POWER8 llround ifunc implementation.
7259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
7260 (__lllround): Add POWER8 implementation.
7261 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
7262 POWER8 llround implementation.
7264 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
7265 power8 implementation.
7266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
7267 file: POWER8 llrint ifunc implementation.
7268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
7269 Add POWER8 implementation.
7270 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
7271 POWER8 llrint implementation.
7273 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
7274 power8 implementation.
7275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
7276 file: POWER8 finite ifunc implementation.
7277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
7278 Add POWER8 implementation.
7279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
7281 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
7282 POWER8 finite implementation.
7283 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
7285 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
7286 power8 implementation.
7287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
7288 file: POWER8 isinf ifunc implementation.
7289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
7290 POWER8 implementation.
7291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
7293 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
7294 isinf implementation.
7295 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
7297 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
7298 (INIT_ARCH): Add hwcap2 initialization.
7299 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7300 power8 implementation.
7301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
7302 file: POWER8 isnan ifunc implementation.
7303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
7304 POWER8 implementation.
7305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
7307 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
7308 isnan implementation.
7309 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
7311 2014-02-27 Joey Ye <joey.ye@arm.com>
7313 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7314 (_FP_NANFRAC_Q): Set to zero.
7316 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7319 * math/auto-libm-test-in: New test inputs.
7320 * math/auto-libm-test-out: Regenerate.
7321 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
7324 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7326 2014-02-27 Joseph Myers <joseph@codesourcery.com>
7328 * scripts/evaluate-test.sh: Take new argument indicating whether
7329 failure is expected.
7330 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
7331 indicating whether failure is expected.
7332 * conform/Makefile (test-xfail-run-conformtest): New variable.
7333 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
7335 * posix/Makefile (test-xfail-annexc): New variable.
7336 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
7338 2014-02-26 Joseph Myers <joseph@codesourcery.com>
7340 * argp/Makefile: Include Makeconfig immediately after defining
7342 * assert/Makefile: Likewise.
7343 * benchtests/Makefile: Likewise.
7344 * catgets/Makefile: Likewise.
7345 * conform/Makefile: Likewise.
7346 * crypt/Makefile: Likewise.
7347 * csu/Makefile: Likewise.
7348 (all): Remove target.
7349 * ctype/Makefile: Include Makeconfig immediately after defining
7351 * debug/Makefile: Likewise.
7352 * dirent/Makefile: Likewise.
7353 * dlfcn/Makefile: Likewise.
7354 * gmon/Makefile: Likewise.
7355 * gnulib/Makefile: Likewise.
7356 * grp/Makefile: Likewise.
7357 * gshadow/Makefile: Likewise.
7358 * hesiod/Makefile: Likewise.
7359 * hurd/Makefile: Likewise.
7360 (all): Remove target.
7361 * iconvdata/Makefile: Include Makeconfig immediately after
7363 * inet/Makefile: Likewise.
7364 * intl/Makefile: Likewise.
7365 * io/Makefile: Likewise.
7366 * libio/Makefile: Likewise.
7367 (all): Remove target.
7368 * locale/Makefile: Include Makeconfig immediately after defining
7370 * login/Makefile: Likewise.
7371 * mach/Makefile: Likewise.
7372 (all): Remove target.
7373 * malloc/Makefile: Include Makeconfig immediately after defining
7375 (all): Remove target.
7376 * manual/Makefile: Include Makeconfig immediately after defining
7378 * math/Makefile: Likewise.
7379 * misc/Makefile: Likewise.
7380 * nis/Makefile: Likewise.
7381 * nss/Makefile: Likewise.
7382 * po/Makefile: Likewise.
7383 (all): Remove target.
7384 * posix/Makefile: Include Makeconfig immediately after defining
7386 * pwd/Makefile: Likewise.
7387 * resolv/Makefile: Likewise.
7388 * resource/Makefile: Likewise.
7389 * rt/Makefile: Likewise.
7390 * setjmp/Makefile: Likewise.
7391 * shadow/Makefile: Likewise.
7392 * signal/Makefile: Likewise.
7393 * socket/Makefile: Likewise.
7394 * soft-fp/Makefile: Likewise.
7395 * stdio-common/Makefile: Likewise.
7396 * stdlib/Makefile: Likewise.
7397 * streams/Makefile: Likewise.
7398 * string/Makefile: Likewise.
7399 * sunrpc/Makefile: Likewise.
7400 (all): Remove target.
7401 * sysvipc/Makefile: Include Makeconfig immediately after defining
7403 * termios/Makefile: Likewise.
7404 * time/Makefile: Likewise.
7405 * timezone/Makefile: Likewise.
7406 (all): Remove target.
7407 * wcsmbs/Makefile: Include Makeconfig immediately after defining
7409 * wctype/Makefile: Likewise.
7411 2014-02-26 Steve Ellcey <sellcey@mips.com>
7413 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
7414 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
7415 (libc_feholdexcept_setround_mips): Ditto.
7416 (libc_feholdsetround): New.
7417 (libc_feholdsetroundf): New.
7418 (libc_feholdsetroundl): New.
7419 (libc_feupdateenv_test_mips): New.
7420 (libc_feupdateenv_test): New.
7421 (libc_feupdateenv_testf): New.
7422 (libc_feupdateenv_testl): New.
7423 (libc_feresetround): New.
7424 (libc_feresetroundf): New.
7425 (libc_feresetroundl): New.
7426 (libc_fetestexcept_mips): New.
7427 (libc_fetestexcept): New.
7428 (libc_fetestexceptf): New.
7429 (libc_fetestexceptl): New.
7431 (libc_feholdexcept_setround_mips_ctx): New.
7432 (libc_feholdexcept_setround_ctx): New.
7433 (libc_feholdexcept_setroundf_ctx): New.
7434 (libc_feholdexcept_setroundl_ctx): New.
7435 (libc_fesetenv_mips_ctx): New.
7436 (libc_fesetenv_ctx): New.
7437 (libc_fesetenv_ctxf): New.
7438 (libc_fesetenv_ctxl): New.
7439 (libc_feupdateenv_mips_ctx): New.
7440 (libc_feupdateenv_ctx): New.
7441 (libc_feupdateenvf_ctx): New.
7442 (libc_feupdateenvl_ctx): New.
7443 (libc_feholdsetround_mips_ctx): New.
7444 (libc_feholdsetround_ctx): New.
7445 (libc_feholdsetroundf_ctx): New.
7446 (libc_feholdsetroundl_ctx): New.
7447 (libc_feresetround_mips_ctx): New.
7448 (libc_feresetround_ctx): New.
7449 (libc_feresetroundf_ctx): New.
7450 (libc_feresetroundl_ctx): New.
7452 2014-02-26 Carlos O'Donell <carlos@redhat.com>
7454 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
7456 * manual/ipc.texi: New file.
7457 * manual/Makefile (chapters): Add ipc.
7458 * manual/job.texi: Add "Inter-Process Communication" to next.
7459 * manual/process.texi: Add "Inter-Process Communication" to prev.
7461 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7463 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7465 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
7467 * malloc/malloc.c (__libc_calloc): Simplify implementation.
7469 * manual/arith.texi: Fix spaces after sentences.
7470 * manual/charset.texi: Likewise.
7471 * manual/errno.texi: Likewise.
7472 * manual/install.texi: Likewise.
7473 * manual/llio.texi: Likewise.
7474 * manual/locale.texi: Likewise.
7475 * manual/maint.texi: Likewise.
7476 * manual/math.texi: Likewise.
7477 * manual/memory.texi: Likewise.
7478 * manual/message.texi: Likewise.
7479 * manual/probes.texi: Likewise.
7480 * manual/resource.texi: Likewise.
7481 * manual/signal.texi: Likewise.
7482 * manual/socket.texi: Likewise.
7483 * manual/stdio.texi: Likewise.
7484 * manual/string.texi: Likewise.
7485 * manual/time.texi: Likewise.
7486 * manual/users.texi: Likewise.
7488 2014-02-25 Carlos O'Donell <carlos@redhat.com>
7491 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
7492 _DEFAULT_SOURCE is defined.
7494 2014-02-25 Ulrich Drepper <drepper@gmail.com>
7495 Carlos O'Donell <carlos@redhat.com>
7498 * elf/dl-tls.c (_dl_count_modids): New function.
7499 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
7500 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
7501 audit library and increment generation counter.
7502 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
7503 * elf/tst-audit9.c: New file.
7504 * elf/tst-auditmod9a.c: New file.
7505 * elf/tst-auditmod9b.c: New file.
7506 * elf/Makefile: Add rules to build and run tst-audit9.
7508 2014-02-25 Florian Weimer <fweimer@redhat.com>
7511 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
7513 2014-02-25 Will Newton <will.newton@linaro.org>
7515 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
7516 (__longjmp): Restore sp and lr before restoring callee
7517 saved registers. Add longjmp and longjmp_target
7518 SystemTap probe point.
7519 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
7520 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
7521 Define to zero to match jmpbuf layout.
7522 * sysdeps/arm/setjmp.S: Include stap-probe.h.
7523 (__sigsetjmp): Save sp and lr before saving callee
7524 saved registers. Add setjmp SystemTap probe point.
7526 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7528 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7530 2014-02-24 Andreas Schwab <schwab@suse.de>
7533 * elf/pldd.c (wait_for_ptrace_stop): New function.
7534 (main): Call it after attaching.
7536 2014-02-22 Roland McGrath <roland@hack.frob.com>
7538 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
7539 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
7540 Versions files is now verboten.
7541 * hurd/Versions (libc: GLIBC_2.0):
7542 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
7543 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
7544 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
7545 * mach/Versions: Likewise.
7547 * csu/Versions: Remove unused %include.
7548 * resolv/Versions: Likewise.
7550 2014-02-21 Joseph Myers <joseph@codesourcery.com>
7552 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
7553 ($(objpfx)check-local-headers.out): Likewise.
7554 ($(objpfx)begin-end-check.out): Likewise.
7555 * Makerules (check-abi-%.out): Likewise.
7556 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
7557 ($(objpfx)test2.cat): Likewise.
7558 ($(objpfx)de/libc.cat): Likewise.
7559 ($(objpfx)test-gencat.out): Likewise.
7560 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
7561 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
7562 ($(objpfx)noload-mem): Likewise.
7563 ($(objpfx)tst-pathopt.out): Likewise.
7564 ($(objpfx)tst-rtld-load-self.out): Likewise.
7565 ($(objpfx)tst-array1-cmp.out): Likewise.
7566 ($(objpfx)tst-array1-static-cmp.out): Likewise.
7567 ($(objpfx)tst-array2-cmp.out): Likewise.
7568 ($(objpfx)tst-array3-cmp.out): Likewise.
7569 ($(objpfx)tst-array4-cmp.out): Likewise.
7570 ($(objpfx)tst-array5-cmp.out): Likewise.
7571 ($(objpfx)tst-array5-static-cmp.out): Likewise.
7572 ($(objpfx)check-textrel.out): Likewise.
7573 ($(objpfx)check-execstack.out): Likewise.
7574 ($(objpfx)check-localplt.out): Likewise.
7575 ($(objpfx)order2-cmp.out): Likewise.
7576 ($(objpfx)tst-leaks1-mem): Likewise.
7577 ($(objpfx)tst-leaks1-static-mem): Likewise.
7578 ($(objpfx)tst-initorder-cmp.out): Likewise.
7579 ($(objpfx)tst-initorder2-cmp.out): Likewise.
7580 ($(objpfx)tst-unused-dep.out): Likewise.
7581 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
7582 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
7583 * iconv/Makefile (test-iconvconfig): Likewise.
7584 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
7585 ($(objpfx)iconv-test.out): Likewise.
7586 ($(objpfx)tst-tables.out): Likewise.
7587 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
7588 ($(objpfx)tst-gettext.out): Likewise.
7589 ($(objpfx)tst-translit.out): Likewise.
7590 ($(objpfx)tst-gettext2.out): Likewise.
7591 ($(objpfx)tst-gettext4.out): Likewise.
7592 ($(objpfx)tst-gettext6.out): Likewise.
7593 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
7594 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
7595 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
7596 ($(objpfx)tst-fopenloc-mem.out): Likewise.
7597 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
7598 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
7599 * posix/Makefile ($(objpfx)globtest.out): Likewise.
7600 ($(objpfx)wordexp-tst.out): Likewise.
7601 ($(objpfx)annexc.out): Likewise.
7602 ($(objpfx)tst-fnmatch-mem): Likewise.
7603 ($(objpfx)bug-regex2-mem): Likewise.
7604 ($(objpfx)bug-regex14-mem): Likewise.
7605 ($(objpfx)bug-regex21-mem): Likewise.
7606 ($(objpfx)bug-regex31-mem): Likewise.
7607 ($(objpfx)tst-vfork3-mem): Likewise.
7608 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7609 ($(objpfx)tst-pcre-mem): Likewise.
7610 ($(objpfx)tst-boost-mem): Likewise.
7611 ($(objpfx)tst-getconf.out): Likewise.
7612 ($(objpfx)bug-ga2-mem): Likewise.
7613 ($(objpfx)bug-glob2-mem): Likewise.
7614 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
7615 ($(objpfx)mtrace-tst-leaks2): Likewise.
7616 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
7617 ($(objpfx)tst-printf.out): Likewise.
7618 ($(objpfx)tst-setvbuf1.out): Likewise.
7619 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
7620 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
7621 ($(objpfx)tst-fmtmsg.out): Likewise.
7622 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
7623 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
7625 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
7626 * bits/sigaction.h [__USE_MISC]: Likewise.
7627 * bits/waitstatus.h: Update #endif comments.
7628 * ctype/ctype.h: Likewise.
7629 * dirent/dirent.h: Likewise.
7630 [__USE_MISC]: Remove redundant conditionals.
7631 * grp/grp.h: Update #endif comments.
7632 [__USE_GNU]: Remove redundant conditionals.
7633 [__USE_MISC]: Likewise.
7634 * inet/netinet/in.h [__USE_GNU]: Likewise.
7635 * io/sys/stat.h [__USE_MISC]: Likewise.
7636 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
7637 * libio/bits/stdio.h: Update #endif comments.
7638 [__USE_MISC]: Remove redundant conditionals.
7639 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
7640 * libio/stdio.h: Update #endif comments.
7641 [__USE_MISC]: Remove redundant conditionals.
7642 * math/bits/math-finite.h [__USE_MISC]: Likewise.
7643 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
7644 * math/math.h: Update #else and #endif comments.
7645 [__USE_MISC]: Remove redundant conditionals.
7646 * misc/sys/uio.h: Update #endif comments.
7647 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
7648 * posix/glob.h [__USE_MISC]: Likewise.
7649 * posix/sys/types.h: Update #endif comments.
7650 [__USE_MISC]: Remove redundant conditionals.
7651 * posix/sys/wait.h: Update #endif comments.
7652 [__USE_MISC]: Remove redundant conditionals.
7653 * posix/unistd.h: Update #endif comments.
7654 [__USE_MISC]: Remove redundant conditionals.
7655 * pwd/pwd.h [__USE_GNU]: Likewise.
7656 [__USE_MISC]: Likewise.
7657 * resolv/netdb.h [__USE_GNU]: Likewise.
7658 * signal/signal.h: Update #endif comments.
7659 [__USE_MISC]: Remove redundant conditionals.
7660 * stdlib/stdlib.h: Update #else and #endif comments.
7661 [__USE_MISC]: Remove redundant conditionals.
7662 [__USE_GNU]: Likewise.
7663 * string/bits/string2.h [__USE_MISC]: Likewise.
7664 * string/string.h: Update #endif comments.
7665 [__USE_MISC]: Remove redundant conditionals.
7666 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
7668 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
7669 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
7670 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
7672 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
7674 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
7676 [__USE_MISC]: Remove redundant conditionals.
7677 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
7678 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
7679 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
7680 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
7681 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
7683 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
7684 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
7686 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
7687 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
7689 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
7691 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
7692 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
7694 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
7696 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
7697 * sysdeps/x86/bits/string.h: Update #endif comments.
7698 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
7700 * time/sys/time.h: Update #endif comments.
7701 * time/time.h: Likewise.
7702 [__USE_MISC]: Remove redundant conditionals.
7704 2014-02-21 Yury Gribov <y.gribov@samsung.com>
7707 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
7709 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
7711 * Versions.def (librt): Add GLIBC_2.17.
7713 2014-02-21 Adam Conrad <adconrad@0c3.net>
7715 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
7716 synonym for _SYS_AUXV_H to allow direct inclusion.
7717 * sysdeps/sparc/bits/hwcap.h: Likewise.
7718 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
7719 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
7720 * sysdeps/sparc/sysdep.h: Likewise.
7722 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7724 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
7726 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7728 * benchtests/bench-strrchr.c: Print length instead of position.
7730 2014-02-20 Joseph Myers <joseph@codesourcery.com>
7733 * sysdeps/unix/sysv/linux/kernel-features.h
7734 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
7735 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
7736 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
7737 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
7739 [__i386__ || __powerpc__ || __sh__ || __sparc__]
7740 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7741 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
7742 (__ASSUME_SENDMMSG): Define instead of using previous
7743 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
7744 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7745 (__ASSUME_SENDMMSG_SYSCALL): Define.
7746 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7747 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
7749 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7750 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7752 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7753 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7755 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
7756 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7757 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7758 [__ASSUME_SENDMMSG]: Change conditionals to
7759 [__ASSUME_SENDMMSG_SOCKETCALL].
7760 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7761 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
7763 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7764 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
7766 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
7767 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7768 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7769 [!__ASSUME_SENDMMSG]: Change conditional to
7770 [!__ASSUME_SENDMMSG_SOCKETCALL].
7771 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7772 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7776 * sysdeps/unix/sysv/linux/kernel-features.h
7777 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
7778 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
7779 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
7780 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
7781 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7782 [__i386__ || __sparc__]
7783 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7784 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
7785 (__ASSUME_RECVMMSG): Define instead of using previous
7786 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
7787 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7788 (__ASSUME_RECVMMSG_SYSCALL): Define.
7789 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7790 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7792 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7793 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7795 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7796 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7798 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
7799 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7800 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7801 [__ASSUME_RECVMMSG]: Change condition to
7802 [__ASSUME_RECVMMSG_SOCKETCALL].
7803 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7804 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7806 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7807 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7808 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7810 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
7811 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7812 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7813 [!__ASSUME_RECVMMSG]: Change condition to
7814 [!__ASSUME_RECVMMSG_SOCKETCALL].
7815 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7816 (__ASSUME_RECVMMSG_SYSCALL): Define.
7819 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
7820 __powerpc__ || __s390__ || __sh__ || __sparc__]
7821 (__ASSUME_SOCKETCALL): Define.
7822 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
7823 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
7824 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
7825 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
7826 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7827 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7828 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
7829 (__ASSUME_ACCEPT4): Define instead of using previous
7830 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
7831 __powerpc__ || __sparc__ || __s390__)] condition.
7832 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7833 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7834 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
7835 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7836 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7837 [!__ASSUME_ACCEPT4]: Change condition to
7838 [!__ASSUME_ACCEPT4_SOCKETCALL].
7839 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7840 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
7841 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
7842 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7843 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
7844 __ASSUME_ACCEPT4_SYSCALL.
7845 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
7846 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
7847 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7848 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
7849 __ASSUME_ACCEPT4_SYSCALL.
7850 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
7851 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7852 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7853 [__ASSUME_ACCEPT4]: Change condition to
7854 [__ASSUME_ACCEPT4_SOCKETCALL].
7855 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7856 (__ASSUME_SOCKETCALL): Define.
7857 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
7858 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7859 (__ASSUME_SOCKETCALL): Define.
7860 (__ASSUME_ACCEPT4): Remove.
7861 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
7863 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7864 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
7866 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7867 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7869 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
7871 (HWCAP_ARM_LPAE): Likewise.
7872 (HWCAP_ARM_EVTSTRM): Likewise.
7873 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
7874 Add vpfd32, lpae and evtstrm.
7875 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
7878 2014-02-19 Joseph Myers <joseph@codesourcery.com>
7880 * math/auto-libm-test-in: Add tests of clog10.
7881 * math/auto-libm-test-out: Regenerated.
7882 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
7883 * sysdeps/i386/fpu/libm-test-ulps: Update.
7884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7886 2014-02-18 Andreas Schwab <schwab@suse.de>
7889 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
7890 Store non-zero if the second buffer was newly allocated.
7891 (send_dg): Likewise.
7892 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
7893 to send_vc and send_dg.
7894 (res_nsend): Pass NULL for ansp2_malloced.
7895 * resolv/res_query.c (__libc_res_nquery): Add parameter
7896 answerp2_malloced and pass it down to __libc_res_nsend.
7897 (res_nquery): Pass additional NULL to __libc_res_nquery.
7898 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
7899 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
7900 second answer buffer if answerp2_malloced was set.
7901 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
7902 (__libc_res_nquerydomain): Add parameter
7903 answerp2_malloced and pass it down to __libc_res_nquery.
7904 (res_nquerydomain): Pass additional NULL to
7905 __libc_res_nquerydomain.
7906 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
7907 additional NULL to __libc_res_nsend and __libc_res_nquery.
7908 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
7909 additional NULL to __libc_res_nsearch.
7910 (_nss_dns_gethostbyname4_r): Revert last change. Use new
7911 parameter of __libc_res_nsearch to check for separately allocated
7913 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
7915 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
7916 additional NULL to __libc_res_nquery.
7917 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
7919 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
7920 * include/resolv.h: Update prototypes of __libc_res_nquery,
7921 __libc_res_nsearch, __libc_res_nsend.
7923 2014-02-18 Joseph Myers <joseph@codesourcery.com>
7925 * math/auto-libm-test-in: Add tests of fma.
7926 * math/auto-libm-test-out: Regenerated.
7927 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
7928 (fma_towardzero_test_data): Likewise.
7929 (fma_downward_test_data): Likewise.
7930 (fma_upward_test_data): Likewise.
7931 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
7933 (rounding_modes): Add values for new field.
7934 (func_calc_method): Add value mpfr_fff_f.
7935 (func_calc_desc): Add mpfr_fff_f union field.
7936 (test_function): Add field exact_args.
7937 (FUNC): Add macro argument EXACT_ARGS.
7938 (FUNC_mpfr_f_f): Update call to FUNC.
7939 (FUNC_mpfr_f_f): Likewise.
7940 (FUNC_mpfr_ff_f): Likewise.
7941 (FUNC_mpfr_if_f): Likewise.
7942 (FUNC_mpc_c_f): Likewise.
7943 (FUNC_mpc_c_c): Likewise.
7944 (test_functions): Add fma. Update calls to FUNC.
7945 (handle_input_arg): Add argument exact_args.
7946 (add_test): Update call to handle_input_arg.
7947 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
7948 (output_for_one_input_case): Update call to calc_generic_results.
7949 Recalculate exact zero results in each rounding mode.
7951 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
7952 non-negative before setting low bit.
7953 * math/auto-libm-test-in: Mark one asin test possibly having
7955 * math/auto-libm-test-out: Regenerated.
7956 * sysdeps/i386/fpu/libm-test-ulps: Update.
7957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7959 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
7961 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
7962 * sysdeps/unix/sysv/linux/microblaze: Move directory from
7963 ports/sysdeps/unix/sysv/linux/microblaze.
7964 * README: Add missing listing for microblaze*-*-linux-gnu.
7966 2014-02-16 Mike Frysinger <vapier@gentoo.org>
7968 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
7969 * sysdeps/unix/sysv/linux/ia64: Move directory from
7970 ports/sysdeps/unix/sysv/linux/ia64.
7971 * README: Update listing for ia64-*-linux-gnu.
7973 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
7974 Joseph Myers <joseph@codesourcery.com>
7976 * Makeconfig (test-name): New variable.
7977 (evaluate-test): Likewise.
7978 * Makerules (do-test-clean): Remove .test-result files.
7979 (common-mostlyclean): Likewise.
7980 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
7981 * scripts/evaluate-test.sh: New file.
7983 2014-02-14 Joseph Myers <joseph@codesourcery.com>
7985 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
7986 separate $(objpfx)tst-fopenloc-cmp.out and
7987 $(objpfx)tst-fopenloc-mem.out targets.
7988 (tests): Update dependencies.
7989 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
7990 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
7991 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
7992 (tst-rxspencer-no-utf8-ARGS): New variable.
7993 (tst-rxspencer-no-utf8-ENV): Likewise.
7994 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
7995 instead of $(objpfx)tst-rxspencer-mem.
7996 ($(objpfx)tst-rxspencer-mem): Change target to
7997 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
7998 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
7999 * posix/tst-rxspencer-no-utf8.c: New file.
8001 * elf/Makefile ($(objpfx)order.out): Remove rule.
8002 [$(run-built-tests) = yes] (tests): Depend on
8003 $(objpfx)order-cmp.out.
8004 ($(objpfx)order-cmp.out): New rule.
8005 [$(run-built-tests) = yes] (tests): Depend on
8006 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8007 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8008 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8009 $(objpfx)tst-array5-static-cmp.out.
8010 ($(objpfx)tst-array1.out): Remove rule.
8011 ($(objpfx)tst-array1-cmp.out): New rule.
8012 ($(objpfx)tst-array1-static.out): Remove rule.
8013 ($(objpfx)tst-array1-static-cmp.out): New rule.
8014 ($(objpfx)tst-array2.out): Remove rule.
8015 ($(objpfx)tst-array2-cmp.out): New rule.
8016 ($(objpfx)tst-array3.out): Remove rule.
8017 ($(objpfx)tst-array3-cmp.out): New rule.
8018 ($(objpfx)tst-array4.out): Remove rule.
8019 ($(objpfx)tst-array4-cmp.out): New rule.
8020 ($(objpfx)tst-array5.out): Remove rule.
8021 ($(objpfx)tst-array5-cmp.out): New rule.
8022 ($(objpfx)tst-array5-static.out): Remove rule.
8023 ($(objpfx)tst-array5-static-cmp.out): New rule.
8024 [$(run-built-tests) = yes] (tests): Depend on
8025 $(objpfx)order2-cmp.out.
8026 ($(objpfx)order2.out): Remove rule.
8027 ($(objpfx)order2-cmp.out): New rule.
8028 ($(objpfx)tst-initorder.out): Remove rule.
8029 [$(run-built-tests) = yes] (tests): Depend on
8030 $(objpfx)tst-initorder-cmp.out.
8031 ($(objpfx)tst-initorder-cmp.out): New rule.
8032 ($(objpfx)tst-initorder2.out): Remove rule.
8033 [$(run-built-tests) = yes] (tests): Depend on
8034 $(objpfx)tst-initorder2-cmp.out.
8035 ($(objpfx)tst-initorder2-cmp.out): New rule.
8036 [$(run-built-tests) = yes] (tests): Depend on
8037 $(objpfx)tst-unused-dep-cmp.out.
8038 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8039 ($(objpfx)tst-unused-dep-cmp.out): New rule.
8040 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8041 on $(objpfx)tst-setvbuf1-cmp.out.
8042 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8043 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8044 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8045 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8046 ($(objpfx)tst-svc.out): Remove rule.
8047 ($(objpfx)tst-svc-cmp.out): New rule.
8049 2014-02-13 Joseph Myers <joseph@codesourcery.com>
8051 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8052 * ctype/ctype.h [__USE_MISC]: Likewise.
8053 * dirent/dirent.h [__USE_MISC]: Likewise.
8054 * grp/grp.h [__USE_MISC]: Likewise.
8055 * io/fcntl.h [__USE_MISC]: Likewise.
8056 * io/sys/stat.h [__USE_MISC]: Likewise.
8057 * libio/stdio.h [__USE_MISC]: Likewise.
8058 * posix/unistd.h [__USE_MISC]: Likewise.
8059 * pwd/pwd.h [__USE_MISC]: Likewise.
8060 * stdlib.h [__USE_MISC]: Likewise.
8061 * string/bits/string2.h [__USE_MISC]: Likewise.
8062 * string/string.h [__USE_MISC]: Likewise.
8063 * time/time.h [__USE_MISC]: Likewise.
8065 2014-02-13 Andreas Schwab <schwab@suse.de>
8068 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8069 second answer buffer if it was separately allocated.
8071 2014-02-12 Joseph Myers <joseph@codesourcery.com>
8073 * sysdeps/mips/math-tests.h: Include <features.h>.
8074 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8075 (ROUNDING_TESTS_long_double): Do not define.
8076 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8077 (EXCEPTION_TESTS_long_double): Likewise.
8078 * sysdeps/mips/mips64/libm-test-ulps: Update.
8080 * include/features.h (__USE_BSD): Remove macro definitions.
8081 (__USE_SVID): Likewise.
8082 (_BSD_SOURCE): Likewise.
8083 (_SVID_SOURCE): Likewise.
8084 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8085 from definition of _DEFAULT_SOURCE.
8086 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8088 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8089 * bits/mman.h [__USE_BSD]: Likewise.
8090 * bits/termios.h [__USE_BSD]: Likewise.
8091 * bits/waitstatus.h [__USE_BSD]: Likewise.
8092 * ctype/ctype.h [__USE_SVID]: Likewise.
8093 * dirent/dirent.h [__USE_BSD]: Likewise.
8094 * grp/grp.h [__USE_SVID]: Likewise.
8095 [__USE_BSD]: Likewise.
8096 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
8097 * io/fcntl.h [__USE_BSD]: Likewise.
8098 * io/ftw.h [__USE_BSD]: Likewise.
8099 * io/sys/stat.h [__USE_BSD]: Likewise.
8100 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
8101 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
8102 * libio/stdio.h [__USE_SVID]: Likewise.
8103 [__USE_BSD]: Likewise.
8104 * math/math.h [__USE_SVID]: Likewise.
8105 [__USE_BSD]: Likewise.
8106 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
8107 * misc/bits/syslog.h [__USE_BSD]: Likewise.
8108 * misc/search.h [__USE_SVID]: Likewise.
8109 * misc/sys/mman.h [__USE_BSD]: Likewise.
8110 * misc/sys/syslog.h [__USE_BSD]: Likewise.
8111 * misc/sys/uio.h [__USE_BSD]: Likewise.
8112 * posix/bits/unistd.h [__USE_BSD]: Likewise.
8113 * posix/glob.h [__USE_BSD]: Likewise.
8114 * posix/regex.h [__USE_BSD]: Likewise.
8115 * posix/sys/types.h [__USE_BSD]: Likewise.
8116 [__USE_SVID]: Likewise.
8117 * posix/sys/utsname.h [__USE_SVID]: Likewise.
8118 * posix/sys/wait.h [__USE_BSD]: Likewise.
8119 [__USE_SVID]: Likewise.
8120 * posix/unistd.h [__USE_BSD]: Likewise.
8121 [__USE_SVID]: Likewise.
8122 * pwd/pwd.h [__USE_SVID]: Likewise.
8123 * resolv/netdb.h [__USE_BSD]: Likewise.
8124 * setjmp/setjmp.h [__USE_BSD]: Likewise.
8125 * signal/signal.h [__USE_BSD]: Likewise.
8126 [__USE_SVID]: Likewise.
8127 * socket/sys/socket.h [__USE_BSD]: Likewise.
8128 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
8129 * stdlib/stdlib.h [__USE_BSD]: Likewise.
8130 [__USE_SVID]: Likewise.
8131 * string/bits/string2.h [__USE_BSD]: Likewise.
8132 [__USE_SVID]: Likewise.
8133 * string/bits/string3.h [__USE_BSD]: Likewise.
8134 * string/endian.h [__USE_BSD]: Likewise.
8135 * string/string.h [__USE_SVID]: Likewise.
8136 [__USE_BSD]: Likewise.
8137 * string/strings.h [__USE_BSD]: Likewise.
8138 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
8139 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
8140 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
8141 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
8142 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
8143 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
8145 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
8147 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
8148 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
8150 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
8151 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
8153 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
8155 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
8156 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
8157 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
8159 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
8161 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
8162 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
8163 * termios/termios.h [__USE_BSD]: Likewise.
8164 * time/sys/time.h [__USE_BSD]: Likewise.
8165 * time/time.h [__USE_BSD]: Likewise.
8166 [__USE_SVID]: Likewise.
8168 * Makefile (subdir_targets): Remove subdir_lint.out.
8170 * stdio-common/Makefile (do-tst-unbputc): Remove target.
8171 (do-tst-printf): Likewise.
8172 (tests): Depend directly on $(objpfx)tst-unbputc.out and
8173 $(objpfx)tst-printf.out.
8175 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
8177 * Makerules (check-abi-%): Change target to
8178 $(objpfx)check-abi-%.out.
8179 (check-abi target): Update dependencies.
8180 (check-abi-pattern variable): Redirect output of diff to $@.
8181 (check-abi variable): Likewise.
8182 * elf/Makefile (check-abi): Update dependencies.
8184 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
8186 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
8187 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
8189 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
8190 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
8191 value has largest subnormal exponent.
8192 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
8193 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
8194 * sysdeps/aarch64/soft-fp/sfp-machine.h
8195 (_FP_TININESS_AFTER_ROUNDING): New macro.
8196 * sysdeps/alpha/soft-fp/sfp-machine.h
8197 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8198 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8200 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
8201 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8202 * sysdeps/mips/soft-fp/sfp-machine.h
8203 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8204 * sysdeps/powerpc/soft-fp/sfp-machine.h
8205 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8206 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8208 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8209 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8210 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8211 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8212 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8215 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
8218 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
8221 2014-02-12 Richard Henderson <rth@redhat.com>
8223 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
8224 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
8225 * sysdeps/unix/sysv/linux/alpha: Move directory from
8226 ports/sysdeps/unix/sysv/linux/alpha.
8227 * README: Update listing for alpha-*-linux-gnu.
8229 2014-02-11 Joseph Myers <joseph@codesourcery.com>
8231 * include/features.h: Update comment documenting feature test
8233 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
8235 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
8236 (_SVID_SOURCE): Likewise.
8237 (_DEFAULT_SOURCE): Update description of default features.
8238 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
8240 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
8241 (S_ISVTX): Likewise.
8242 * manual/math.texi (Mathematical Constants): Likewise.
8243 * manual/signal.texi (Interrupted Primitives): Likewise.
8244 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
8245 * math/test-matherr.c (_SVID_SOURCE): Do not define.
8246 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
8247 Don't refer to _SVID_SOURCE in warning text.
8249 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8251 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
8253 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
8254 * sysdeps/mips/dl-lookup.c: Remove.
8255 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
8257 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8260 * math/auto-libm-test-in: Add testcase for expl.
8261 * math/auto-libm-test-out: Regenerate.
8262 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
8263 calculation of unsafe.
8264 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
8266 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
8268 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
8269 * sysdeps/unix/sysv/linux/aarch64: Move directory from
8270 ports/sysdeps/unix/sysv/linux/aarch64.
8271 * README: Update listing for aarch64*-*-linux-gnu.
8273 2014-02-11 Will Newton <will.newton@linaro.org>
8275 * manual/probes.texi (Mathematical Function Probes): Use
8276 "triggered" instead of "hit".
8278 * manual/probes.texi (Internal Probes): Add documentation
8279 of setjmp, longjmp and longjmp_target probes.
8281 * include/stap-probe.h: Add comment about probe argument
8284 * malloc/mtrace.c (attribute_hidden): Remove unused macro
8285 definition. (tr_where, tr_freehook, tr_mallochook,
8286 tr_reallochook, tr_memalignhook): Use ANSI protoype.
8288 2014-02-11 David S. Miller <davem@davemloft.net>
8290 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
8291 processing int_tests.
8293 2014-02-10 Joseph Myers <joseph@codesourcery.com>
8295 * sysdeps/mips: Move directory from ports/sysdeps/mips.
8296 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
8297 * sysdeps/unix/sysv/linux/mips: Move directory from
8298 ports/sysdeps/unix/sysv/linux/mips.
8299 * README: Update listing for mips-*-linux-gnu and
8302 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
8304 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
8305 * sysdeps/unix/sysv/linux/m68k: Move directory from
8306 ports/sysdeps/unix/sysv/linux/m68k.
8307 * README: Update listing for m68k-*-linux-gnu.
8309 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
8311 * sysdeps/tile: Move directory from ports/sysdeps/tile.
8312 * sysdeps/unix/sysv/linux/generic: Move directory from
8313 ports/sysdeps/unix/sysv/linux/generic.
8314 * sysdeps/unix/sysv/linux/tile: Move directory from
8315 ports/sysdeps/unix/sysv/linux/tile.
8316 * README: Update listing for tile*-*-linux-gnu.
8318 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
8320 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
8322 * benchtests/bench-memmem.c (simple_memmem): Likewise.
8323 * catgets/open_catalog.c (__open_catalog): Likewise.
8324 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
8325 * debug/confstr_chk.c: Likewise.
8326 * debug/fread_chk.c (__fread_chk): Likewise.
8327 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
8328 * debug/getgroups_chk.c: Likewise.
8329 * debug/mbsnrtowcs_chk.c: Likewise.
8330 * debug/mbsrtowcs_chk.c: Likewise.
8331 * debug/mbstowcs_chk.c: Likewise.
8332 * debug/memcpy_chk.c: Likewise.
8333 * debug/memmove_chk.c: Likewise.
8334 * debug/mempcpy_chk.c: Likewise.
8335 * debug/memset_chk.c: Likewise.
8336 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8337 * debug/strcat_chk.c (__strcat_chk): Likewise.
8338 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
8339 * debug/strncat_chk.c (__strncat_chk): Likewise.
8340 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
8341 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
8342 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
8343 * debug/wcpncpy_chk.c: Likewise.
8344 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8345 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
8346 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
8347 * debug/wcsncpy_chk.c: Likewise.
8348 * debug/wcsnrtombs_chk.c: Likewise.
8349 * debug/wcsrtombs_chk.c: Likewise.
8350 * debug/wcstombs_chk.c: Likewise.
8351 * debug/wmemcpy_chk.c: Likewise.
8352 * debug/wmemmove_chk.c: Likewise.
8353 * debug/wmempcpy_chk.c: Likewise.
8354 * debug/wmemset_chk.c: Likewise.
8355 * dirent/scandirat.c (SCANDIRAT): Likewise.
8356 * dlfcn/dladdr1.c (dladdr1): Likewise.
8357 * dlfcn/dladdr.c (dladdr): Likewise.
8358 * dlfcn/dlclose.c (dlclose_doit): Likewise.
8359 * dlfcn/dlerror.c (__dlerror): Likewise.
8360 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
8361 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8362 * dlfcn/dlopen.c (dlopen_doit): Likewise.
8363 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
8364 * dlfcn/dlsym.c (dlsym_doit): Likewise.
8365 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
8366 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
8367 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
8369 * elf/dl-conflict.c: Likewise.
8370 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
8371 * elf/dl-dst.h: Likewise.
8372 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
8373 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
8374 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
8375 * elf/dl-init.c (call_init, _dl_init): Likewise.
8376 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
8377 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
8378 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
8380 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
8382 * elf/dl-minimal.c (__libc_memalign): Likewise.
8383 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
8384 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8385 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
8386 * elf/dl-sym.c (do_sym): Likewise.
8387 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
8388 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
8389 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
8390 * elf/dl-writev.h (_dl_writev): Likewise.
8391 * elf/ldconfig.c (search_dir): Likewise.
8392 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
8393 (dl_main): Likewise.
8394 * elf/setup-vdso.h (setup_vdso): Likewise.
8395 * grp/compat-initgroups.c (compat_call): Likewise.
8396 * grp/fgetgrent.c (fgetgrent): Likewise.
8397 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
8398 * grp/putgrent.c (putgrent): Likewise.
8399 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8401 * hurd/hurdinit.c: Likewise.
8402 * iconvdata/8bit-gap.c (struct): Likewise.
8403 * iconvdata/ansi_x3.110.c : Likewise.
8404 * iconvdata/big5.c : Likewise.
8405 * iconvdata/big5hkscs.c : Likewise.
8406 * iconvdata/cp1255.c: Likewise.
8407 * iconvdata/cp1258.c : Likewise.
8408 * iconvdata/cp932.c : Likewise.
8409 * iconvdata/euc-cn.c: Likewise.
8410 * iconvdata/euc-jisx0213.c : Likewise.
8411 * iconvdata/euc-jp.c: Likewise.
8412 * iconvdata/euc-jp-ms.c : Likewise.
8413 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
8414 * iconvdata/gb18030.c : Likewise.
8415 * iconvdata/gbbig5.c (const): Likewise.
8416 * iconvdata/gbgbk.c: Likewise.
8417 * iconvdata/gbk.c : Likewise.
8418 * iconvdata/ibm1364.c : Likewise.
8419 * iconvdata/ibm930.c : Likewise.
8420 * iconvdata/ibm932.c: Likewise.
8421 * iconvdata/ibm933.c : Likewise.
8422 * iconvdata/ibm935.c : Likewise.
8423 * iconvdata/ibm937.c : Likewise.
8424 * iconvdata/ibm939.c : Likewise.
8425 * iconvdata/ibm943.c: Likewise.
8426 * iconvdata/iso_11548-1.c: Likewise.
8427 * iconvdata/iso-2022-cn.c : Likewise.
8428 * iconvdata/iso-2022-cn-ext.c : Likewise.
8429 * iconvdata/iso-2022-jp-3.c: Likewise.
8430 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
8431 * iconvdata/iso-2022-kr.c : Likewise.
8432 * iconvdata/iso646.c (gconv_end): Likewise.
8433 * iconvdata/iso_6937-2.c : Likewise.
8434 * iconvdata/iso_6937.c : Likewise.
8435 * iconvdata/iso8859-1.c: Likewise.
8436 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
8437 * iconvdata/shift_jisx0213.c : Likewise.
8438 * iconvdata/sjis.c : Likewise.
8439 * iconvdata/t.61.c : Likewise.
8440 * iconvdata/tcvn5712-1.c : Likewise.
8441 * iconvdata/tscii.c: Likewise.
8442 * iconvdata/uhc.c : Likewise.
8443 * iconvdata/unicode.c (gconv_end): Likewise.
8444 * iconvdata/utf-16.c (gconv_end): Likewise.
8445 * iconvdata/utf-32.c (gconv_end): Likewise.
8446 * iconvdata/utf-7.c (base64): Likewise.
8447 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8448 * iconv/gconv_close.c (__gconv_close): Likewise.
8449 * iconv/gconv_open.c (__gconv_open): Likewise.
8450 * iconv/gconv_simple.c (internal_ucs4_loop_single)
8451 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
8452 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
8453 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
8454 (ucs4le_internal_loop_single): Likewise.
8455 * iconv/iconv.c (iconv): Likewise.
8456 * iconv/iconv_close.c: Likewise.
8457 * iconv/loop.c (SINGLE): Likewise.
8458 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
8459 * include/atomic.h: Likewise.
8460 * inet/inet6_option.c (option_alloc): Likewise.
8461 * intl/bindtextdom.c (set_binding_values): Likewise.
8462 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
8463 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8464 * intl/localealias.c (read_alias_file): Likewise.
8465 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8466 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
8467 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
8468 * libio/fmemopen.c (fmemopen): Likewise.
8469 * libio/iofgets.c (_IO_fgets): Likewise.
8470 * libio/iofgets_u.c (fgets_unlocked): Likewise.
8471 * libio/iofgetws.c (fgetws): Likewise.
8472 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8473 * libio/iogetdelim.c (_IO_getdelim): Likewise.
8474 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
8475 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
8476 * locale/findlocale.c (_nl_find_locale): Likewise.
8477 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8478 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
8480 * locale/setlocale.c (setlocale): Likewise.
8481 * login/programs/pt_chown.c (main): Likewise.
8482 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
8483 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
8484 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
8485 (mmap, mmap64, mremap, munmap): Likewise.
8486 * math/e_exp2l.c: Likewise.
8487 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
8488 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
8489 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
8490 * math/s_catan.c (__catan): Likewise.
8491 * math/s_catanf.c (__catanf): Likewise.
8492 * math/s_catanh.c (__catanh): Likewise.
8493 * math/s_catanhf.c (__catanhf): Likewise.
8494 * math/s_catanhl.c (__catanhl): Likewise.
8495 * math/s_catanl.c (__catanl): Likewise.
8496 * math/s_ccosh.c (__ccosh): Likewise.
8497 * math/s_ccoshf.c (__ccoshf): Likewise.
8498 * math/s_ccoshl.c (__ccoshl): Likewise.
8499 * math/s_cexp.c (__cexp): Likewise.
8500 * math/s_cexpf.c (__cexpf): Likewise.
8501 * math/s_cexpl.c (__cexpl): Likewise.
8502 * math/s_clog10.c (__clog10): Likewise.
8503 * math/s_clog10f.c (__clog10f): Likewise.
8504 * math/s_clog10l.c (__clog10l): Likewise.
8505 * math/s_clog.c (__clog): Likewise.
8506 * math/s_clogf.c (__clogf): Likewise.
8507 * math/s_clogl.c (__clogl): Likewise.
8508 * math/s_csin.c (__csin): Likewise.
8509 * math/s_csinf.c (__csinf): Likewise.
8510 * math/s_csinh.c (__csinh): Likewise.
8511 * math/s_csinhf.c (__csinhf): Likewise.
8512 * math/s_csinhl.c (__csinhl): Likewise.
8513 * math/s_csinl.c (__csinl): Likewise.
8514 * math/s_csqrt.c (__csqrt): Likewise.
8515 * math/s_csqrtf.c (__csqrtf): Likewise.
8516 * math/s_csqrtl.c (__csqrtl): Likewise.
8517 * math/s_ctan.c (__ctan): Likewise.
8518 * math/s_ctanf.c (__ctanf): Likewise.
8519 * math/s_ctanh.c (__ctanh): Likewise.
8520 * math/s_ctanhf.c (__ctanhf): Likewise.
8521 * math/s_ctanhl.c (__ctanhl): Likewise.
8522 * math/s_ctanl.c (__ctanl): Likewise.
8523 * math/w_pow.c: Likewise.
8524 * math/w_powf.c: Likewise.
8525 * math/w_powl.c: Likewise.
8526 * math/w_scalb.c (sysv_scalb): Likewise.
8527 * math/w_scalbf.c (sysv_scalbf): Likewise.
8528 * math/w_scalbl.c (sysv_scalbl): Likewise.
8529 * misc/error.c (error_tail): Likewise.
8530 * misc/pselect.c (__pselect): Likewise.
8531 * nis/nis_callback.c (__nis_create_callback): Likewise.
8532 * nis/nis_call.c (__nisfind_server): Likewise.
8533 * nis/nis_creategroup.c (nis_creategroup): Likewise.
8534 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
8535 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
8536 * nis/nis_getservlist.c (nis_getservlist): Likewise.
8537 * nis/nis_lookup.c (nis_lookup): Likewise.
8538 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
8539 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
8540 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
8541 * nis/nis_xdr.c (xdr_endpoint): Likewise.
8542 * nis/nss_compat/compat-grp.c (getgrent_next_file)
8543 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
8544 * nis/nss_compat/compat-initgroups.c (add_group)
8545 (internal_getgrent_r): Likewise.
8546 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
8547 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
8548 * nis/nss_compat/compat-spwd.c (getspent_next_file)
8549 (internal_getspnam_r): Likewise.
8550 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
8551 (_nss_nis_getaliasbyname_r): Likewise.
8552 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
8553 (_nss_nis_getntohost_r): Likewise.
8554 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
8555 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
8556 (_nss_nis_getgrgid_r): Likewise.
8557 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
8558 (internal_nis_gethostent_r, internal_gethostbyname2_r)
8559 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
8560 (_nss_nis_gethostbyname4_r): Likewise.
8561 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
8562 (initgroups_netid): Likewise.
8563 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
8564 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
8565 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
8566 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
8567 (_nss_nis_getprotobynumber_r): Likewise.
8568 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
8569 (_nss_nis_getsecretkey): Likewise.
8570 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
8571 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
8572 (_nss_nis_getpwuid_r): Likewise.
8573 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
8574 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
8575 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
8576 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
8577 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
8578 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
8579 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
8581 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
8582 (_nss_nisplus_getntohost_r): Likewise.
8583 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
8584 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
8585 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
8586 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
8588 * nis/nss_nisplus/nisplus-initgroups.c
8589 (_nss_nisplus_initgroups_dyn): Likewise.
8590 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
8591 (_nss_nisplus_getnetbyaddr_r): Likewise.
8592 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
8593 (_nss_nisplus_getprotobynumber_r): Likewise.
8594 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
8595 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
8596 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
8598 * nis/nss_nisplus/nisplus-service.c
8599 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
8600 (_nss_nisplus_getservbyport_r): Likewise.
8601 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
8602 (_nss_nisplus_getspnam_r): Likewise.
8603 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
8605 * nscd/aicache.c (addhstaiX): Likewise.
8606 * nscd/cache.c (cache_search, prune_cache): Likewise.
8607 * nscd/connections.c (register_traced_file, send_ro_fd)
8608 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
8609 (main_loop_epoll): Likewise.
8610 * nscd/grpcache.c (addgrbyX): Likewise.
8611 * nscd/hstcache.c (addhstbyX): Likewise.
8612 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8613 * nscd/mem.c (gc, mempool_alloc): Likewise.
8614 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
8615 (addinnetgrX): Likewise.
8616 * nscd/nscd-client.h (__nscd_acquire_maplock)
8617 (__nscd_drop_map_ref): Likewise.
8618 * nscd/nscd_getai.c (__nscd_getai): Likewise.
8619 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8620 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
8622 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
8623 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8624 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
8625 (__nscd_get_map_ref): Likewise.
8626 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
8627 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
8629 * nscd/pwdcache.c (addpwbyX): Likewise.
8630 * nscd/selinux.c (preserve_capabilities): Likewise.
8631 * nscd/servicescache.c (addservbyX): Likewise.
8632 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
8633 * posix/fnmatch.c (fnmatch): Likewise.
8634 * posix/getopt.c (_getopt_internal_r): Likewise.
8635 * posix/glob.c (glob, glob_in_dir): Likewise.
8636 * posix/wordexp.c (exec_comm_child): Likewise.
8637 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
8638 (getanswer_r, gaih_getanswer_slice): Likewise.
8639 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
8640 * resolv/res_init.c: Likewise.
8641 * resolv/res_mkquery.c (res_nmkquery): Likewise.
8642 * resolv/res_query.c (__libc_res_nquery): Likewise.
8643 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
8645 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
8646 * stdio-common/perror.c (perror): Likewise.
8647 * stdio-common/printf_fp.c (___printf_fp): Likewise.
8648 * stdio-common/tmpnam.c (tmpnam): Likewise.
8649 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8650 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
8651 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8653 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8654 * stdlib/putenv.c (putenv): Likewise.
8655 * stdlib/setenv.c (__add_to_environ): Likewise.
8656 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8657 * stdlib/strtol_l.c (INTERNAL): Likewise.
8658 * string/memmem.c (memmem): Likewise.
8659 * string/strerror.c (strerror): Likewise.
8660 * string/strnlen.c (__strnlen): Likewise.
8661 * string/test-memmem.c (simple_memmem): Likewise.
8662 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
8663 * sunrpc/pm_getport.c (__get_socket): Likewise.
8664 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
8665 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8666 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
8667 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
8669 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8670 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8671 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
8672 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
8673 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
8674 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
8676 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
8678 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
8679 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8680 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8681 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8682 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8683 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
8684 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8685 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
8686 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
8687 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8688 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8689 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
8691 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
8693 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
8695 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
8696 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8697 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
8698 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
8699 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8700 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
8701 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8702 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
8703 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
8704 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
8705 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
8706 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8707 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8708 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
8709 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8710 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8712 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
8714 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
8716 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
8718 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8719 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8720 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
8722 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
8723 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
8724 * sysdeps/posix/opendir.c (__opendirat): Likewise.
8725 * sysdeps/posix/sleep.c: Likewise.
8726 * sysdeps/posix/tempname.c: Likewise.
8727 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
8728 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8730 * sysdeps/powerpc/powerpc32/dl-machine.h
8731 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
8732 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8733 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8734 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
8735 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
8737 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
8738 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
8739 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8740 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
8741 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8742 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
8743 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
8744 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
8745 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8746 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
8747 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
8748 (elf_machine_lazy_rel): Likewise.
8749 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8750 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
8751 (elf_machine_lazy_rel): Likewise.
8752 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
8753 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
8754 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
8755 * sysdeps/unix/grantpt.c (grantpt): Likewise.
8756 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
8757 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
8758 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
8759 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8761 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8762 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8763 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
8764 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
8765 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8766 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8767 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
8768 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
8769 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
8770 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8771 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8773 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
8774 (__posix_fallocate64_l64): Likewise.
8775 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
8776 (posix_fallocate): Likewise.
8777 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8779 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8780 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
8781 (getifaddrs_internal): Likewise.
8782 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
8783 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
8784 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8785 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8786 * sysdeps/unix/sysv/linux/posix_fallocate64.c
8787 (__posix_fallocate64_l64): Likewise.
8788 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8790 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
8791 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8792 (__get_clockfreq): Likewise.
8793 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
8794 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
8795 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
8796 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8797 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8798 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
8799 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8800 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
8802 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
8803 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
8804 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8805 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
8806 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8807 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
8808 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
8810 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8811 (posix_fallocate): Likewise.
8812 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8813 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8814 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
8815 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
8816 (elf_machine_rela, elf_machine_rela_relative)
8817 (elf_machine_lazy_rel): Likewise.
8818 * time/asctime.c (asctime_internal): Likewise.
8819 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
8820 * time/tzset.c (__tzset_parse_tz): Likewise.
8821 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8822 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8823 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
8824 * wcsmbs/wcsmbsload.h: Likewise.
8827 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
8829 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
8830 (arena_get2): Remove THREAD_STATS conditionals.
8831 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
8832 (__malloc_stats, int): Likewise.
8834 2014-02-08 Mike Frysinger <vapier@gentoo.org>
8836 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
8837 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
8839 * manual/setjmp.texi: Fix typos/grammar errors.
8841 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
8842 Only return early when n is <= 0. Delete unused return statement.
8844 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
8845 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
8846 * debug/tst-longjmp_chk3.c: New file.
8848 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
8849 (test_main): Replace code with set_fortify_handler call.
8850 * debug/test-strcpy_chk.c: Likewise.
8851 * debug/tst-chk1.c: Likewise.
8852 * debug/tst-longjmp_chk.c: Likewise.
8853 * test-skeleton.c: Include fcntl.h & paths.h
8854 (set_fortify_handler): Define.
8856 * debug/tst-longjmp_chk.c: Add header comment and include
8858 (do_test): Mark static.
8859 (TEST_FUNCTION): Define.
8861 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
8862 (IP_PMTUDISC_INTERFACE): Likewise.
8863 (IP_MULTICAST_IF): Likewise.
8864 (IP_MULTICAST_TTL): Likewise.
8865 (IP_MULTICAST_LOOP): Likewise.
8866 (IP_ADD_MEMBERSHIP): Likewise.
8867 (IP_DROP_MEMBERSHIP): Likewise.
8868 (IP_UNBLOCK_SOURCE): Likewise.
8869 (IP_BLOCK_SOURCE): Likewise.
8870 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
8871 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
8872 (IP_MSFILTER): Likewise.
8873 (MCAST_JOIN_GROUP): Likewise.
8874 (MCAST_BLOCK_SOURCE): Likewise.
8875 (MCAST_UNBLOCK_SOURCE): Likewise.
8876 (MCAST_LEAVE_GROUP): Likewise.
8877 (MCAST_JOIN_SOURCE_GROUP): Likewise.
8878 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8879 (MCAST_MSFILTER): Likewise.
8880 (IP_MULTICAST_ALL): Likewise.
8881 (IP_UNICAST_IF): Likewise.
8883 * timezone/Makefile: Delete $(have-ksh) check.
8884 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
8885 * timezone/tzselect.ksh: Add +x mode bits.
8887 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
8888 (ANON_INODE_FS_MAGIC): Likewise.
8889 (BDEVFS_MAGIC): Likewise.
8890 (BINFMTFS_MAGIC): Likewise.
8891 (BTRFS_TEST_MAGIC): Likewise.
8892 (CRAMFS_MAGIC_WEND): Likewise.
8893 (DEBUGFS_MAGIC): Likewise.
8894 (ECRYPTFS_SUPER_MAGIC): Likewise.
8895 (EXT3_SUPER_MAGIC): Likewise.
8896 (EXT4_SUPER_MAGIC): Likewise.
8897 (FUTEXFS_SUPER_MAGIC): Likewise.
8898 (HOSTFS_SUPER_MAGIC): Likewise.
8899 (HUGETLBFS_MAGIC): Likewise.
8900 (MINIX3_SUPER_MAGIC): Likewise.
8901 (MTD_INODE_FS_MAGIC): Likewise.
8902 (NILFS_SUPER_MAGIC): Likewise.
8903 (OPENPROM_SUPER_MAGIC): Likewise.
8904 (PIPEFS_MAGIC): Likewise.
8905 (PSTOREFS_MAGIC): Likewise.
8906 (QNX6_SUPER_MAGIC): Likewise.
8907 (RAMFS_MAGIC): Likewise.
8908 (REISERFS_SUPER_MAGIC_STRING): Likewise.
8909 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
8910 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
8911 (SECURITYFS_MAGIC): Likewise.
8912 (SELINUX_MAGIC): Likewise.
8913 (SMACK_MAGIC): Likewise.
8914 (SOCKFS_MAGIC): Likewise.
8915 (SQUASHFS_MAGIC): Likewise.
8916 (STACK_END_MAGIC): Likewise.
8917 (TMPFS_MAGIC): Likewise.
8918 (USBDEVICE_SUPER_MAGIC): Likewise.
8919 (V9FS_MAGIC): Likewise.
8920 (XENFS_SUPER_MAGIC): Likewise.
8921 (CRAMFS_MAGIC): Fix typo in comment.
8922 (EXT2_SUPER_MAGIC): Update comment.
8923 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
8925 2014-02-08 Joseph Myers <joseph@codesourcery.com>
8927 * sysdeps/arm: Move directory from ports/sysdeps/arm.
8928 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
8929 * sysdeps/unix/sysv/linux/arm: Move directory from
8930 ports/sysdeps/unix/sysv/linux/arm.
8931 * README: Update listing for arm-*-linux-gnueabi.
8933 * README: Remove mention of am33.
8935 2014-02-07 Roland McGrath <roland@hack.frob.com>
8937 * bits/sigset.h (__sigemptyset): Use a statement expression rather
8938 than the comma operator, to avoid "rhs of comma has no effect"
8940 (__sigfillset, __sigandset, __sigorset): Likewise.
8941 * include/signal.h (__sigemptyset): Likewise.
8942 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
8944 2014-02-07 Allan McRae <allan@archlinux.org>
8946 * version.h (RELEASE): Set to "development".
8947 (VERSION): Set to "2.19.90"
8948 * NEWS: Add 2.20 section.
8950 2014-02-06 Carlos O'Donell <carlos@redhat.com>
8953 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
8955 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8957 * manual/contrib.texi: Update entry for Carlos O'Donell,
8958 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
8960 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
8962 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
8964 * sysdeps/unix/sysv/linux/kernel-features.h
8965 [__LINUX_KERNEL_VERSION >= 0x020621]
8966 (__ASSUME_PROC_PID_TASK_COMM): Define.
8968 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8971 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
8972 conversion when destination buffer does not have enough space.
8973 * libio/tst-ftell-partial-wide.c: New test case.
8974 * libio/Makefile (tests): Add tst-ftell-partial-wide.
8976 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
8977 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
8978 Leonard and Allan McRae.
8980 2014-02-04 David S. Miller <davem@davemloft.net>
8982 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
8985 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9014 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9016 * nptl/shlib-versions: Change powerpc*le start to 2.17.
9017 * shlib-versions: Likewise.
9019 2014-02-04 Roland McGrath <roland@hack.frob.com>
9020 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9022 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9023 (abilist-pattern): New variable, set to %-le.abilist.
9025 * Makerules (abilist-pattern): New variable.
9026 (vpath): Use $(abilist-pattern) in place of %.abilist.
9027 (check-abi-% pattern rule): Likewise.
9028 (check-abi, update-abi): Likewise.
9030 2014-02-04 Eric Wong <normalperson@yhbt.net>
9032 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9034 2014-02-03 Carlos O'Donell <carlos@redhat.com>
9036 * manual/startup.texi: Add next, previous, and top entries for
9037 the `Program Arguments' and `Environment Variables' nodes.
9039 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
9041 * manual/macros.texi: Add comments before MTASC-safety macros.
9043 * manual/users.texi: Document MTASC-safety properties.
9045 * manual/threads.texi (pthread_key_create, pthread_key_delete)
9046 (pthread_getspecific, pthread_setspecific): Format with
9047 @deftypefun, and add @safety note.
9048 * manual/signal.texi: Move comments that analyze the above
9049 functions to their home place.
9051 2014-02-03 Allan McRae <allan@archlinux.org>
9053 * po/sl.po: Update Slovenian translation from translation project.
9055 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
9057 * manual/time.texi (timegm): Add missing blank after @c.
9058 Reported by Joseph Myers <joseph@codesourcery.com>.
9060 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
9062 * manual/check-safety.sh: New.
9063 * manual/Makefile ($(objpfx)stamp-summary): Run it.
9065 * manual/terminal.texi: Document MTASC-safety properties.
9067 * manual/filesys.texi: Document MTASC-safety properties.
9069 * manual/errno.texi: Document MTASC-safety properties.
9071 * manual/intro.texi: Document safety identifiers and
9074 * manual/string.texi (wcstok): Fix prototype.
9075 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9077 * manual/time.texi: Document MTASC-safety properties.
9079 * manual/string.texi: Document MTASC-safety properties.
9081 * manual/threads.texi: Document MTASC-safety properties.
9083 * manual/stdio.texi: Document MTASC-safety properties.
9085 * manual/syslog.texi: Document MTASC-safety properties.
9087 * manual/sysinfo.texi: Document MTASC-safety properties.
9089 * manual/startup.texi: Document MTASC-safety properties.
9091 * manual/socket.texi: Document MTASC-safety properties.
9093 * manual/signal.texi: Document MTASC-safety properties.
9095 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
9097 * manual/setjmp.texi: Document MTASC-safety properties.
9099 * manual/search.texi: Document MTASC-safety properties.
9101 * manual/resource.texi: Document MTASC-safety properties.
9103 * manual/process.texi: Document MTASC-safety properties.
9105 * manual/platform.texi: Document MTASC-safety properties.
9107 * manual/pipe.texi: Document MTASC-safety properties.
9109 * manual/pattern.texi: Document MTASC-safety properties.
9111 * manual/message.texi: Document MTASC-safety properties.
9114 * manual/memory.texi: Document MTASC-safety properties.
9116 * manual/math.texi: Document MTASC-safety properties.
9118 * manual/locale.texi: Document MTASC-safety properties.
9120 * manual/llio.texi: Document MTASC-safety properties.
9122 * manual/libdl.texi: New.
9124 * manual/lang.texi: Document MTASC-safety properties.
9126 * manual/job.texi: Document MTASC-safety properties.
9128 * manual/getopt.texi: Document MTASC-safety properties.
9130 * manual/ctype.texi: Document MTASC-safety properties.
9132 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
9135 * csu/libc-tls.c (static_map): Remove variable.
9136 (__libc_setup_tls): Use main executable's link map for TLS data.
9137 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
9138 casing for LM_ID_BASE and GL(dl_nns).
9139 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
9140 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
9141 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
9142 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
9143 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
9145 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
9148 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
9150 * manual/debug.texi: Document MTASC-safety properties.
9152 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
9155 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
9156 of __x86_64__ when disabling x87 inline functions.
9158 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
9160 * manual/charset.texi: Document MTASC-safety properties.
9162 * manual/crypt.texi: Document MTASC-safety properties.
9164 * manual/conf.texi: Document MTASC-safety properties.
9166 * manual/arith.texi: Document MTASC-safety properties.
9168 * manual/argp.texi: Document MTASC-safety properties.
9170 * manual/macros.texi: Introduce macros to document multi
9171 thread, asynchronous signal and asynchronous cancellation
9173 * manual/intro.texi: Introduce the properties themselves.
9175 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9177 * sysdeps/sh/sh4/Makefile: New file.
9179 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
9181 * math/gen-libm-test.pl ($srcdir): New variable.
9182 ($auto_input): Use it.
9184 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9187 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
9188 access beyond array bounds when parsing netgroups file.
9190 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
9191 the old buffer before realloc.
9193 2014-01-27 Allan McRae <allan@archlinux.org>
9195 * po/fr.po: Update French translation from translation project.
9197 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9199 * sysdeps/sh/libm-test-ulps: Regenerate.
9201 2014-01-24 David S. Miller <davem@davemloft.net>
9203 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
9205 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9207 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
9208 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
9210 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9213 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
9214 string pointers after reallocation.
9216 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9218 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
9219 __SH4A__ instead of __SH_FPU_ANY__.
9221 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9223 * sysdeps/sh/fpu_control.h: New file.
9224 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
9225 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
9226 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
9227 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
9228 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
9229 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
9230 * sysdeps/sh/sys/ucontext.h: Remove.
9231 * sysdeps/sh/sys: Remove directory.
9233 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9235 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
9236 s390/sys/ucontext.h.
9237 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
9238 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
9240 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
9243 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
9245 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9248 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9249 Adjust the vDSO correctly for internal calls.
9250 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9252 2014-01-20 Allan McRae <allan@archlinux.org>
9254 * po/ca.po: Update Catalan translation from translation project.
9256 2014-01-16 Mike Frysinger <vapier@gentoo.org>
9258 * sysdeps/s390/sotruss-lib.c: New file.
9260 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9263 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
9264 (__GI___gettimeofday): Alias for a different internal symbol to avoid
9265 local calls issues by not having a PLT stub required for IFUNC calls.
9266 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
9268 2014-01-16 Joseph Myers <joseph@codesourcery.com>
9270 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
9271 * math/test-fpucw-static.c: Likewise.
9273 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9276 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
9278 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9280 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
9281 implementation for powerpc.
9283 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
9286 * sysdeps/posix/system.c (__libc_system): Do not enable
9287 asynchronous cancellation.
9289 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9292 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
9293 handling only for numbers special also in the IEEE case.
9295 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9297 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9299 2014-01-11 Allan McRae <allan@archlinux.org>
9301 * po/bg.po: Update Bulgarian translation from translation project.
9303 * po/de.po: Update German translation from translation project.
9305 2014-01-10 Roland McGrath <roland@hack.frob.com>
9307 * sysdeps/generic/gcc-compat.h: New file.
9309 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9311 * benchtests/asin-inputs: Correct slow inputs.
9312 * benchtests/acos-inputs: Likewise.
9314 2014-01-10 Allan McRae <allan@archlinux.org>
9316 * po:sv.po: Update Swedish translation from translation project.
9318 * po/vi.po: Update Vietnamese translation from translation project.
9320 * po/eo.po: Update Esperanto translation from translation project.
9322 * po/cs.po: Update Czech translation from translation project.
9324 * po/nl.po: Update Dutch translation from translation project.
9326 * po/pl.po: Update Polish translation from translation project.
9328 * po/ru.po: Update Russian translation from translation project.
9330 * po/uk.po: Update Ukrainian translation from translation project.
9332 2014-01-08 Brooks Moses <bmoses@google.com>
9334 * elf/dl-load.c: Fix comment typo.
9336 2014-01-08 Carlos O'Donell <carlos@redhat.com>
9338 * po/header.pot: Rename to...
9339 * po/pot.header: ... this.
9340 * po/Makefile: Use pot.header.
9342 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
9343 Maxim Kuvyrkov <maxim@kugelworks.com>
9346 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
9347 SRC and DEST against LEN.
9349 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9352 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
9354 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
9356 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9358 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9360 2014-01-08 Joseph Myers <joseph@codesourcery.com>
9363 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
9364 for large positive arguments.
9366 2014-01-07 Joseph Myers <joseph@codesourcery.com>
9368 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9370 * math/auto-libm-test-in: Mark various tests with
9371 xfail-rounding:ldbl-128ibm.
9372 * math/auto-libm-test-out: Regenerated.
9375 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9376 Increase overflow threshold.
9378 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
9381 * stdio-common/vfprintf.c: Check for integer overflow.
9383 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9385 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
9386 the first argument and return value of __tls_get_addr_internal.
9388 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9390 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9391 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
9393 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9395 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
9396 * sysdeps/s390/rtld-global-offsets.sym: New file.
9397 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
9399 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
9400 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
9401 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9403 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
9404 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9408 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9410 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
9411 halfs of GPRs for high_gprs contexts.
9412 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
9413 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
9415 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
9417 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
9419 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
9420 for high GPRs (uc_high_gprs) and for future extensions
9422 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
9423 for future extensions (__reserved).
9424 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
9426 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
9427 SC_HIGHGPRS offset definition.
9428 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
9429 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
9431 * Versions.def: Add GLIBC_2.19 for libpthread.
9432 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
9433 siglongjmp for libpthread with GLIBC_2.19 symver.
9434 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
9435 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
9436 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
9437 * sysdeps/s390/__longjmp.c: New file.
9438 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
9439 * sysdeps/s390/longjmp.c: New file.
9440 * sysdeps/s390/setjmp.S: New file.
9441 * sysdeps/s390/sigjmp.S: New file.
9442 * sysdeps/s390/v1-longjmp.c: New file.
9443 * sysdeps/s390/v1-setjmp.h: New file.
9444 * sysdeps/s390/v1-sigjmp.c: New file.
9445 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
9446 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
9448 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
9449 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
9450 versioned symbols for ____longjmp_chk.
9451 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9453 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9457 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9461 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
9462 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
9463 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
9464 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
9465 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
9466 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
9467 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
9468 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
9469 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
9470 * sysdeps/s390/rtld-__longjmp.c: New file.
9471 * sysdeps/s390/rtld-setjmp.S: New file.
9473 2014-01-06 Joseph Myers <joseph@codesourcery.com>
9476 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9477 Return -__logl (x) for small positive arguments without evaluating
9480 2014-01-06 Mike Frysinger <vapier@gentoo.org>
9482 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
9484 (__ptrace_peeksiginfo_args): ... this.
9485 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9486 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9487 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9489 2014-01-06 Allan McRae <allan@archlinux.org>
9491 * inet/netinet/in.h: Fix typo in comment.
9493 2014-01-05 Andreas Jaeger <aj@suse.de>
9495 * sysdeps/i386/fpu/libm-test-ulps: Update.
9497 2014-01-05 Allan McRae <allan@archlinux.org>
9499 * po/libc.pot: Regenerated.
9501 * malloc/memusagestat.c: Fix gettext call formatting.
9503 2014-01-04 Sami Kerola <kerolasa@iki.fi>
9505 * nscd/nscd.c: Improve usage() output.
9507 2014-01-04 Mike Frysinger <vapier@gentoo.org>
9509 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
9510 * sysdeps/unix/sysv/linux/configure: Regenerated.
9511 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
9512 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
9514 2014-01-03 Joseph Myers <joseph@codesourcery.com>
9517 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9518 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
9520 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9522 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
9523 extra tokens at end of #undef directive.
9524 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
9525 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
9526 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9528 2014-01-03 Joseph Myers <joseph@codesourcery.com>
9530 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9532 * math/auto-libm-test-in: Mark various tests with
9533 xfail-rounding:ldbl-128ibm.
9534 * math/auto-libm-test-out: Regenerated.
9536 2014-01-02 Joseph Myers <joseph@codesourcery.com>
9539 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
9540 numbers with subnormal high part when calculating exponent.
9543 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
9547 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
9549 (__ieee754_acoshl): Use __log1pl not __log1p.
9551 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
9553 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
9554 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
9555 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
9556 (grow_heap, heap_trim, _int_new_arena, get_free_list)
9557 (reused_arena, arena_get2): Convert to GNU style.
9558 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
9559 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
9560 (memalign_check, __malloc_set_state): Likewise.
9561 * malloc/mallocbug.c (main): Likewise.
9562 * malloc/malloc.c (__malloc_assert, malloc_init_state)
9563 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
9564 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
9565 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
9566 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
9567 (__posix_memalign, malloc_info): Likewise.
9568 * malloc/malloc.h: Likewise.
9569 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
9570 (mallochook, memalignhook, reallochook, mabort): Likewise.
9571 * malloc/mcheck.h: Likewise.
9572 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
9573 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
9574 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
9575 * malloc/morecore.c (__default_morecore): Likewise.
9576 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
9577 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
9578 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
9579 (print_and_abort): Likewise.
9580 * malloc/obstack.h: Likewise.
9581 * malloc/set-freeres.c (__libc_freeres): Likewise.
9582 * malloc/tst-mallocstate.c (main): Likewise.
9583 * malloc/tst-mtrace.c (main): Likewise.
9584 * malloc/tst-realloc.c (do_test): Likewise.
9586 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9589 * nscd/netgroupcache.c (do_notfound): New function.
9590 (addgetnetgrentX): Use it.
9593 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
9594 NSS_STATUS_NOTFOUND.
9596 2014-01-01 Joseph Myers <joseph@codesourcery.com>
9598 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9601 2014-01-01 Allan McRae <allan@archlinux.org>
9603 * scripts/update-copyrights: Update configure input file suffix.
9605 * NEWS: Update copyright year.
9606 * catgets/gencat.c: Likewise.
9607 * csu/version.c: Likewise.
9608 * debug/catchsegv.sh: Likewise.
9609 * debug/pcprofiledump.c: Likewise.
9610 * debug/xtrace.sh: Likewise.
9611 * elf/ldconfig.c: Likewise.
9612 * elf/ldd.bash.in: Likewise.
9613 * elf/pldd.c: Likewise.
9614 * elf/sotruss.ksh: Likewise.
9615 * elf/sprof.c: Likewise.
9616 * iconv/iconv_prog.c: Likewise.
9617 * iconv/iconvconfig.c: Likewise.
9618 * locale/programs/locale.c: Likewise.
9619 * locale/programs/localedef.c: Likewise.
9620 * login/programs/pt_chown.c: Likewise.
9621 * malloc/memusage.sh: Likewise.
9622 * malloc/memusagestat.c: Likewise.
9623 * malloc/mtrace.pl: Likewise.
9624 * manual/libc.texinfo: Likewise.
9625 * nscd/nscd.c: Likewise.
9626 * nss/getent.c: Likewise.
9627 * nss/makedb.c: Likewise.
9628 * posix/getconf.c: Likewise.
9629 * scripts/test-installation.pl: Likewise.
9631 * All files with FSF copyright notices: Update copyright dates
9632 using scripts/update-copyrights.
9633 * intl/plural.c: Regenerated.
9634 * locale/programs/charmap-kw.h: Likewise.
9635 * locale/programs/locfile-kw.h: Likewise.
9637 2013-12-31 Mike Frysinger <vapier@gentoo.org>
9639 * sysdeps/unix/sysv/linux/configure: Regenerated.
9640 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
9641 the linux/fanotify.h header.
9642 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
9643 HAVE_LINUX_FANOTIFY_H is defined.
9645 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9647 * benchtests/cos-inputs: New inputs.
9648 * benchtests/sin-inputs: Likewise.
9650 * benchtests/atan-inputs: New inputs. Fix name of multiple
9651 precision fallback inputs.
9653 * benchtests/atanh-inputs: New inputs.
9654 * benchtests/tanh-inputs: Likewise.
9656 * benchtests/acosh-inputs: New inputs.
9657 * benchtests/asinh-inputs: Likewise.
9659 * benchtests/cosh-inputs: New inputs.
9660 * benchtests/sinh-inputs: Likewise.
9662 * benchtests/acos-inputs: Add more inputs.
9663 * benchtests/asin-inputs: Likewise.
9665 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
9668 * manual/arith.texi: Fix spelling.
9669 * manual/charset.texi: Likewise.
9670 * manual/errno.texi: Likewise.
9671 * manual/filesys.texi: Likewise.
9672 * manual/lang.texi: Likewise.
9673 * manual/llio.texi: Likewise.
9674 * manual/locale.texi: Likewise.
9675 * manual/message.texi: Likewise.
9676 * manual/resource.texi: Likewise.
9677 * manual/search.texi: Likewise.
9678 * manual/setjmp.texi: Likewise.
9679 * manual/stdio.texi: Likewise.
9680 * manual/string.texi: Likewise.
9681 * manual/sysinfo.texi: Likewise.
9682 * manual/time.texi: Likewise.
9684 2013-12-27 Carlos O'Donell <carlos@redhat.com>
9686 * po/sl.po: New file.
9688 2013-12-27 Mike Frysinger <vapier@gentoo.org>
9690 * .gitignore: Add core/.gdbinit/.gdb_history.
9692 2013-12-27 Allan McRae <allan@archlinux.org>
9695 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
9696 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
9698 2013-12-24 Brooks Moses <bmoses@google.com>
9700 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
9701 all compilers that claim C++98 compliance, not just GCC.
9702 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
9705 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9707 * NEWS: Restore accidentally deleted bug-fix entries.
9709 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9710 Ondřej Bílka <neleai@seznam.cz>
9713 * malloc/malloc.c (_int_free): Perform sanity check only if we
9716 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
9719 * manual/stdio.texi (String Input Conversions): Clarify that character
9720 classes are not supported.
9722 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9724 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9726 2013-12-22 Joseph Myers <joseph@codesourcery.com>
9729 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9730 Calculate results for small negative arguments directly rather
9731 than using reflection formula with special underflow handling.
9733 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
9734 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
9735 sysdeps/unix/bsd/bsd4.4/syscalls.list.
9736 (fchflags): Likewise.
9738 (setlogin): Likewise.
9739 (sigaltstack): Likewise.
9742 (sigsetmask): Likewise.
9744 (waitpid): Likewise.
9745 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
9746 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
9748 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
9749 * sysdeps/unix/bsd/Makefile: ... here.
9750 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
9751 * sysdeps/unix/bsd/Versions: ... here.
9752 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
9753 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
9754 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
9755 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
9756 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
9757 * sysdeps/unix/bsd/sigblock.c: ... here.
9758 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
9759 * sysdeps/unix/bsd/sigsetmask.c: ... here.
9760 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
9761 * sysdeps/unix/bsd/sigvec.c: ... here.
9762 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
9763 * sysdeps/unix/bsd/tcdrain.c: ... here.
9764 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
9765 * sysdeps/unix/bsd/tcgetattr.c: ... here.
9766 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
9767 * sysdeps/unix/bsd/tcsetattr.c: ... here.
9768 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
9769 * sysdeps/unix/bsd/wait.c: ... here.
9770 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
9771 * sysdeps/unix/bsd/wait3.c: ... here.
9772 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
9773 * sysdeps/unix/bsd/waitpid.c: ... here.
9775 2013-12-21 Joseph Myers <joseph@codesourcery.com>
9778 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
9779 round-to-nearest for [!USE_AS_EXPM1L].
9780 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9781 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
9782 more tests of exp and exp10. Expect some exp10 tests to miss
9783 exceptions or fail in directed rounding modes.
9784 * math/auto-libm-test-out: Regenerated.
9785 * math/libm-test.inc (exp10_tonearest_test_data): New array.
9786 (exp10_test_tonearest): New function.
9787 (exp10_towardzero_test_data): New array.
9788 (exp10_test_towardzero): New function.
9789 (exp10_downward_test_data): New array.
9790 (exp10_test_downward): New function.
9791 (exp10_upward_test_data): New array.
9792 (exp10_test_upward): New function.
9793 (main): Call the new functions.
9794 * sysdeps/i386/fpu/libm-test-ulps: Update.
9795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9797 2013-12-20 Joseph Myers <joseph@codesourcery.com>
9799 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9800 asinh, atan, atan2, atanh, cbrt, cos and cosh.
9801 * math/auto-libm-test-out: Regenerated.
9802 * math/libm-test.inc (acosh_test_data): Add more tests.
9803 (atanh_test_data): Likewise.
9804 (ceil_test_data): Likewise.
9805 (copysign_test_data): Likewise.
9806 * sysdeps/i386/fpu/libm-test-ulps: Update.
9807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9809 * timezone/checktab.awk: Update from tzcode 2013i.
9810 * timezone/private.h: Likewise.
9811 * timezone/scheck.c: Likewise.
9812 * timezone/tzfile.h: Likewise.
9813 * timezone/tzselect.ksh: Likewise.
9814 * timezone/zdump.c: Likewise.
9815 * timezone/zic.c: Likewise.
9817 * math/auto-libm-test-in: Add tests of cpow.
9818 * math/auto-libm-test-out: Regenerated.
9819 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
9820 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9822 (func_calc_desc): Add mpc_cc_c union field.
9823 (test_functions): Add cpow.
9824 (special_fill_2pi): New function.
9825 (special_real_inputs): Add 2pi.
9826 (calc_generic_results): Handle mpc_cc_c.
9827 * sysdeps/i386/fpu/libm-test-ulps: Update.
9828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9830 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
9831 csqrt, ctan and ctanh.
9832 * math/auto-libm-test-out: Regenerated.
9833 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9834 (TEST_COND_x86): Likewise.
9835 (ccos_test_data): Use AUTO_TESTS_c_c.
9836 (ccosh_test_data): Likewise.
9837 (cexp_test_data): Likewise.
9838 (clog_test_data): Likewise.
9839 (csqrt_test_data): Likewise.
9840 (ctan_test_data): Likewise.
9841 (ctan_tonearest_test_data): Likewise.
9842 (ctan_towardzero_test_data): Likewise.
9843 (ctan_downward_test_data): Likewise.
9844 (ctan_upward_test_data): Likewise.
9845 (ctanh_test_data): Likewise.
9846 (ctanh_tonearest_test_data): Likewise.
9847 (ctanh_towardzero_test_data): Likewise.
9848 (ctanh_downward_test_data): Likewise.
9849 (ctanh_upward_test_data): Likewise.
9850 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9852 (func_calc_desc): Add mpc_c_c union field.
9853 (FUNC_mpc_c_c): New macro.
9854 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
9855 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
9857 (special_fill_min_subnorm_p120): New function.
9858 (special_real_inputs): Add min_subnorm_p120.
9859 (calc_generic_results): Handle mpc_c_c.
9860 * sysdeps/i386/fpu/libm-test-ulps: Update.
9861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9863 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9865 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
9866 (do_sin_slow): New functions.
9867 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
9868 (cslow2, csloww1, csloww2): Use the new functions.
9870 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
9871 Use M to change sign of result instead of X. Assume X is
9873 (csloww1): Likewise.
9877 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
9882 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
9884 (sloww1): Don't adjust sign of DX.
9885 (csloww1): Likewise.
9886 (sloww2): Use X directly and don't adjust sign of DX.
9887 (csloww2): Likewise.
9889 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9891 * math/auto-libm-test-in: Add tests of cabs and carg.
9892 * math/auto-libm-test-out: Regenerated.
9893 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
9894 (carg_test_data): Likewise.
9895 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9897 (func_calc_desc): Add mpc_c_f union field.
9898 (test_functions): Add cabs and carg.
9899 (calc_generic_results): Handle mpc_c_f.
9901 * sysdeps/powerpc/powerpc32/libgcc-compat.S
9902 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
9903 as a macro and a compat symbol.
9904 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9905 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9906 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9907 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9908 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
9909 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
9911 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
9913 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
9915 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
9917 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
9919 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
9921 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
9922 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
9925 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9927 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9929 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9931 * manual/texinfo.tex: Update to version 2013-11-26.10 with
9932 trailing whitespace removed.
9933 * scripts/config.guess: Update to version 2013-11-29.
9934 * scripts/config.sub: Update to version 2013-10-01.
9936 * math/auto-libm-test-in: Add tests of sincos.
9937 * math/auto-libm-test-out: Regenerated.
9938 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
9939 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9941 (func_calc_desc): Add mpfr_f_11 union field.
9942 (test_functions): Add sincos.
9943 (calc_generic_results): Handle mpfr_f_11.
9944 * sysdeps/i386/fpu/libm-test-ulps: Update.
9945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9947 2013-12-19 Andreas Schwab <schwab@suse.de>
9949 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
9951 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9952 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
9953 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
9955 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9957 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
9958 * sysdeps/i386/fpu/libm-test-ulps: Update.
9959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9962 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9963 round-to-nearest mode when using frndint.
9964 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
9965 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9966 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9968 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
9970 * math/auto-libm-test-out: Regenerated.
9971 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
9972 (TEST_COND_x86): Likewise.
9973 (expm1_tonearest_test_data): New array.
9974 (expm1_test_tonearest): New function.
9975 (expm1_towardzero_test_data): New array.
9976 (expm1_test_towardzero): New function.
9977 (expm1_downward_test_data): New array.
9978 (expm1_test_downward): New function.
9979 (expm1_upward_test_data): New array.
9980 (expm1_test_upward): New function.
9981 (main): Run the new test functions.
9982 * sysdeps/i386/fpu/libm-test-ulps: Update.
9983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9985 * include/features.h: Update comment documenting feature test
9986 macros. Mention _DEFAULT_SOURCE in comment.
9987 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
9988 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
9989 _BSD_SOURCE and _SVID_SOURCE.
9990 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
9991 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
9992 !_SVID_SOURCE]: Likewise.
9993 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9994 (__USE_POSIX_IMPLICITLY): Define.
9995 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9996 (_POSIX_SOURCE): Undefine and redefine.
9997 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9998 (_POSIX_C_SOURCE): Likewise.
9999 * manual/creature.texi (_DEFAULT_SOURCE): Document.
10000 (Feature Test Macros): Update documentation of default features.
10002 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10004 * benchtests/Makefile: Add bench-strtok.
10005 * benchtests/bench-strtok.c: New file: strtok benchtest.
10007 2013-12-19 Allan McRae <allan@archlinux.org>
10009 * manual/install.texi: Suppress menu for plain text output.
10010 * INSTALL: Regenerated.
10012 2013-12-18 Brooks Moses <bmoses@google.com>
10015 * misc/getauxval.c: Include errno.h.
10016 (__getauxval): Set errno to ENOENT if the requested type is not
10018 * misc/sys/auxv.h (getauxval): Document that it may set errno;
10019 don't declare with __attribute_const__.
10020 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10021 * manual/startup.texi: Document that getauxval sets errno.
10023 2013-12-18 Joseph Myers <joseph@codesourcery.com>
10025 * math/auto-libm-test-in: Add tests of jn and yn.
10026 * math/auto-libm-test-out: Regenerated.
10027 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10028 (yn_test_data): Likewise.
10029 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10031 (func_calc_desc): Add mpfr_if_f union field.
10032 (FUNC_mpfr_if_f): New macro.
10033 (test_functions): Add jn and yn.
10034 (calc_generic_results): Assert type of second input for
10035 mpfr_ff_f. Handle mpfr_if_f.
10036 (output_for_one_input_case): Disable all checking for arguments
10037 fitting floating-point types in case of an integer argument.
10038 * sysdeps/i386/fpu/libm-test-ulps: Update.
10039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10042 Don't expect fegetround reference in libm.so.
10044 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10046 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10047 $(config-cflags-nofma).
10049 2013-12-18 Joseph Myers <joseph@codesourcery.com>
10051 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10052 * math/auto-libm-test-out: Regenerated.
10055 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10056 to determine exponent and adjust argument to have exponent of -1.
10057 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10059 * math/auto-libm-test-out: Regenerated.
10060 * sysdeps/i386/fpu/libm-test-ulps: Update.
10061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10063 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
10065 * manual/probes.texi: Remove cases when per-thread arenas are
10068 2013-12-18 Andreas Schwab <schwab@suse.de>
10070 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10071 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10072 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10073 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10074 * sysdeps/i386/i686/multiarch/Makefile: Update.
10075 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10077 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10079 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10080 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10082 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
10085 Support TZ transition times < 00:00:00.
10086 This is needed for version-3 tz-format files; it supports time
10087 stamps past 2037 for America/Godthab (the only entry in the tz
10088 database for which this change is relevant).
10089 * manual/time.texi (TZ Variable): Document transition times
10090 from -167:59:59 through -00:00:01.
10091 * time/tzset.c (tz_rule): Time of day is now signed.
10092 (__tzset_parse_tz): Parse negative time of day.
10094 Document TZ transition times >= 25:00:00.
10095 * manual/time.texi (TZ Variable): Document transition times from
10096 25:00:00 through 167:59:59. These are already supported, and this
10097 support will help with version-3 tz-format files.
10099 * manual/time.texi (TZ Variable): Modernize North America example
10100 to reflect current (i.e., 2007-and-later) daylight saving rules.
10102 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
10104 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10106 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
10107 * sysdeps/unix/bsd/bits/stat.h: Likewise.
10108 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
10109 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10110 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
10111 * sysdeps/unix/bsd/bsdstat.h: Likewise.
10112 * sysdeps/unix/bsd/clock.c: Likewise.
10113 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
10114 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
10115 * sysdeps/unix/bsd/init-posix.c: Likewise.
10116 * sysdeps/unix/bsd/poll.c: Likewise.
10117 * sysdeps/unix/bsd/ptsname.c: Likewise.
10118 * sysdeps/unix/bsd/seekdir.c: Likewise.
10119 * sysdeps/unix/bsd/setegid.c: Likewise.
10120 * sysdeps/unix/bsd/seteuid.c: Likewise.
10121 * sysdeps/unix/bsd/setgid.c: Likewise.
10122 * sysdeps/unix/bsd/setrgid.c: Likewise.
10123 * sysdeps/unix/bsd/setruid.c: Likewise.
10124 * sysdeps/unix/bsd/setsid.c: Likewise.
10125 * sysdeps/unix/bsd/setuid.c: Likewise.
10126 * sysdeps/unix/bsd/sigaction.c: Likewise.
10127 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
10128 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
10129 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10130 * sysdeps/unix/bsd/telldir.c: Likewise.
10131 * sysdeps/unix/bsd/times.c: Likewise.
10132 * sysdeps/unix/bsd/usleep.c: Likewise.
10134 * misc/Makefile (install-lib): Remove libbsd-compat.a.
10135 ($(objpfx)libbsd-compat.a): Remove rule.
10137 * include/features.h (__FAVOR_BSD): Do not define.
10138 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
10139 features conflicting with POSIX.
10140 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
10141 (_BSD_SOURCE): Remove description of not being a subset of other
10142 feature test macros.
10143 * manual/job.texi (getpgrp): Do not document BSD version.
10144 (getpgid): Do not document by reference to BSD getpgrp.
10145 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
10146 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
10147 * signal/signal.h [__FAVOR_BSD]: Likewise.
10148 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
10149 instead of making contents conditional on [__FAVOR_BSD].
10150 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
10152 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10154 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10156 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10159 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
10160 values below 2**-450, not 2**-500.
10161 * math/auto-libm-test-in: Don't allow spurious underflow from
10163 * math/auto-libm-test-out: Regenerated.
10167 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
10168 values of ha and hb and sort them after adjusting subnormal
10170 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10172 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
10173 values of ea and eb and sort them after adjusting subnormal
10175 * math/auto-libm-test-in: Do not expect some hypot tests of
10176 subnormals to fail. Add more hypot tests.
10177 * math/auto-libm-test-out: Regenerated.
10179 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10182 * sysdeps/sh/s_fma.c: New file.
10183 * sysdeps/sh/s_fmaf.c: New file.
10184 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
10186 * sysdeps/sh/Implies: Add sh/soft-fp.
10188 2013-12-16 Roland McGrath <roland@hack.frob.com>
10190 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
10191 level of indirection to members `objname', `errstring', `malloced'.
10192 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
10193 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
10194 it as the __longjmp argument (just pass 1 instead).
10195 (_dl_catch_error): Initialize C with argument pointers and address of
10196 volatile local ERRCODE rather than copying values out of C at return.
10198 2013-12-16 Joseph Myers <joseph@codesourcery.com>
10200 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
10201 * math/auto-libm-test-out: Regenerated.
10202 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
10203 (hypot_test_data): Likewise.
10204 (pow_test_data): Likewise.
10205 (pow_tonearest_test_data): Likewise.
10206 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10208 (func_calc_desc): Add mpfr_ff_f union field.
10209 (FUNC_mpfr_ff_f): New macro.
10210 (test_functions): Add atan2, hypot and pow.
10211 (special_fill_min): New function.
10212 (special_fill_minus_min): Likewise.
10213 (special_fill_min_subnorm): Likewise.
10214 (special_fill_minus_min_subnorm): Likewise.
10215 (special_real_inputs): Add min, -min, min_subnorm and
10217 (calc_generic_results): Handle mpfr_ff_f.
10218 * sysdeps/i386/fpu/libm-test-ulps: Update.
10219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10221 2013-12-16 Will Newton <will.newton@linaro.org>
10223 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
10224 (Aligned Memory Blocks): Add documentation for aligned_alloc
10225 and suggest it as an alternative to posix_memalign.
10226 (Hooks for Malloc): Document __memalign_hook is also called
10227 for aligned_alloc. (Summary of Malloc): Add summary for
10228 aligned alloc. Document __memalign_hook is also called
10231 2013-12-16 Will Newton <will.newton@linaro.org>
10233 * manual/memory.texi (Malloc Examples): Clarify default
10234 alignment documentation. Suggest posix_memalign rather
10235 than memalign or valloc.
10236 (Aligned Memory Blocks): Remove suggestion to use memalign
10237 or valloc. Remove obsolete comment about BSD.
10238 Document memalign errno values and mark the function obsolete.
10239 Document posix_memalign returned error codes. Mark valloc
10240 as obsolete. (Hooks for Malloc): __memalign_hook is also
10241 called for posix_memalign and valloc.
10242 (Summary of Malloc): Add posix_memalign to function summary.
10243 __memalign_hook is also called for posix_memalign and valloc.
10245 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10247 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
10251 (sloww): Use mynumber union. Expand ternary operator into
10252 if-else statements.
10253 (cslow): use mynumber union.
10255 2013-12-16 Allan McRae <allan@archlinux.org>
10257 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
10258 * configure: Regenerated.
10260 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
10263 * configure.ac: Added --enable-maintainer-mode. Check for
10264 autoconf when enabled.
10265 * configure: Regenerated.
10267 * nscd/nscd.service: New file.
10268 * nscd/nscd.tmpfiles: New file.
10270 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
10273 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
10274 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
10275 * sysdeps/x86_64/multiarch/strstr.c: ... here.
10276 (strstr): Add __strstr_sse2_unaligned ifunc.
10277 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
10278 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
10279 (strcasestr): Remove __strcasestr_sse42 ifunc.
10280 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
10281 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10282 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10284 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10286 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
10287 * sysdeps/sh/bits/fenv.h: ... here.
10288 * sysdeps/sh/sh4/fpu/bits: Remove directory.
10290 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10292 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
10294 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
10295 hypotf multiarch implementations.
10296 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
10297 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
10298 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
10299 multiarch hypot for PPC64.
10300 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
10301 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
10302 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
10303 multiarch hypotf for PPC64.
10305 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
10306 modff multiarch implementations.
10307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
10308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
10309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
10310 multiarch modf for PPC64.
10311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
10312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
10313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
10314 multiarch modff for PPC64.
10316 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
10317 and logl multiarch implementations.
10318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
10319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
10320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
10321 multiarch logb for PPC64.
10322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
10323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
10324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
10325 multiarch logb for PPC64.
10326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
10327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
10328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
10329 multiarch logb for PPC64.
10331 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
10332 isinff multiarch implementation.
10333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
10335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
10336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
10337 multiarch isinf for PPC64.
10338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
10340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
10341 multiarch isinff for PPC64.
10343 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
10344 finitef multiarch implementation.
10345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
10347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
10348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
10349 multiarch finite for PPC64.
10350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
10352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
10353 multiarch finitef for PPC64.
10355 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
10356 lrint multiarch implementation.
10357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
10359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
10360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
10361 multiarch llrint for PPC64.
10362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
10363 multiarch lrint for PPC64.
10365 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
10366 copysignf multiarch implementation.
10367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
10369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
10371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
10372 multiarch copysign for PPC64.
10373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
10374 multiarch copysignf for PPC64.
10376 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
10377 multiarch implementation.
10378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
10380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
10382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
10384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
10386 multiarch llround for PPC64.
10387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
10388 multiarch trunc for PPC64.
10389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
10390 multiarch truncf for PPC64.
10392 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
10393 multiarch implementation.
10394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
10396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
10398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
10400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
10402 multiarch llround for PPC64.
10403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
10404 multiarch round for PPC64.
10405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
10406 multiarch roundf for PPC64.
10408 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
10409 multiarch implementation.
10410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
10412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
10414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
10416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
10418 multiarch llround for PPC64.
10419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
10420 multiarch floor for PPC64.
10421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
10422 multiarch floorf for PPC64.
10424 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
10425 multiarch implementation.
10426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
10428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
10430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
10432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
10434 multiarch llround for PPC64.
10435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
10436 multiarch ceil for PPC64.
10437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
10438 multiarch ceilf for PPC64.
10440 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10441 multiarch implementation.
10442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
10444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
10446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
10448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
10449 multiarch llround for PPC64.
10450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
10451 multiarch lround for PPC64.
10453 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10454 multiarch implementation.
10455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
10456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
10457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
10459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
10461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
10462 multiarch isnan for PPC64.
10463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
10464 multiarch isnanf for PPC64.
10466 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
10467 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
10468 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
10469 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
10470 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
10471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10473 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
10474 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10475 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10476 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10478 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
10479 multiarch implementations.
10480 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10481 (__libc_ifunc_impl_list): Likewise.
10482 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10483 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
10484 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
10485 multiarch stpcpy for PPC64.
10487 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
10488 multiarch implementations.
10489 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10490 (__libc_ifunc_impl_list): Likewise.
10491 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
10492 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
10493 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
10494 multiarch strcpy for PPC64.
10496 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
10497 redefine function name.
10498 (_wordcopy_fwd_dest_aligned): Likewise.
10499 (_wordcopy_bwd_aligned): Likewise.
10500 (_wordcopy_bwd_dest_aligned): Likewise.
10501 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
10502 multiarch implementations.
10503 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10504 (__libc_ifunc_impl_list): Likewise.
10505 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
10506 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
10507 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
10508 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
10509 multiarch wcscpy for PPC64.
10511 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
10512 multiarch implementations.
10513 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10514 (__libc_ifunc_impl_list): Likewise.
10515 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
10516 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
10517 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
10518 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
10519 multiarch wcscpy for PPC64.
10521 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
10522 multiarch implementations.
10523 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10524 (__libc_ifunc_impl_list): Likewise.
10525 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
10526 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
10527 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
10528 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
10529 multiarch wcsrchr for PPC64.
10531 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
10532 multiarch implementations.
10533 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10534 (__libc_ifunc_impl_list): Likewise.
10535 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
10536 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
10537 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
10538 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
10539 multiarch wcschr for PPC64.
10541 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
10542 multiarch implementations.
10543 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10544 (__libc_ifunc_impl_list): Likewise.
10545 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
10546 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
10547 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
10548 multiarch strchrnul for PPC64.
10550 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
10552 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10553 (__libc_ifunc_impl_list): Likewise.
10554 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
10555 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
10556 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
10557 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
10560 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
10562 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10563 (__libc_ifunc_impl_list): Likewise.
10564 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
10565 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
10566 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
10567 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
10570 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
10571 multiarch implementations.
10572 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10573 (__libc_ifunc_impl_list): Likewise.
10574 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
10575 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
10576 strncasecmp for PPC64.
10577 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
10578 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
10579 multiarch strncasecmp_l for PPC64.
10581 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
10582 multiarch implementations.
10583 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10584 (__libc_ifunc_impl_list): Likewise.
10585 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
10586 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
10587 multiarch strcasecmp for PPC64.
10588 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
10590 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
10591 multiarch strcasecmp_l for PPC64.
10593 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
10595 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10596 (__libc_ifunc_impl_list): Likewise.
10597 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
10598 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
10599 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
10602 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
10604 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10605 (__libc_ifunc_impl_list): Likewise.
10606 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
10607 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
10608 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
10611 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
10613 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10614 (__libc_ifunc_impl_list): Likewise.
10615 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
10616 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
10617 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
10618 rawmemrchr for PPC64.
10620 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
10622 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10623 (__libc_ifunc_impl_list): Likewise.
10624 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
10625 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
10626 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
10629 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
10631 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10632 (__libc_ifunc_impl_list): Likewise.
10633 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
10634 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
10635 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
10638 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
10640 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10641 (__libc_ifunc_impl_list): Likewise.
10642 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
10643 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
10644 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
10647 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
10648 avoid cretion of __bzero symbol.
10649 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
10651 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
10653 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
10655 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
10656 multiarch implementations.
10657 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10658 (__libc_ifunc_impl_list): Likewise.
10659 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
10660 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
10661 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
10662 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
10664 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
10665 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
10666 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
10667 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
10668 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
10670 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
10672 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
10673 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
10675 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10676 (__libc_ifunc_impl_list): Likewise.
10677 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
10678 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
10679 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
10680 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
10683 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
10684 multiarch for POWER/PPC64.
10685 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10686 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
10687 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
10688 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
10689 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
10690 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
10691 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
10692 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
10693 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
10696 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
10697 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
10698 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
10699 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
10700 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
10701 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
10702 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
10703 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
10704 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
10705 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
10706 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
10707 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
10708 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
10709 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
10710 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
10711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
10712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
10713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
10714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
10715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
10716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
10717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
10719 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10721 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
10723 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10725 * benchtests/Makefile (bench): Add exp2 and log2.
10726 (LDLIBS-bench-exp2): Add -lm.
10727 (LDLIBS-bench-log2): Likewise.
10728 * benchtests/exp2-inputs: New inputs file.
10729 * benchtests/log2-inputs: New inputs file.
10730 * benchtests/log-inputs: Add new inputs.
10731 * benchtests/tan-inputs: Likewise.
10733 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10735 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
10737 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
10738 (csloww2): ... from here.
10740 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
10741 instead of structures.
10742 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
10743 (POLYNOMIAL): Likewise.
10744 (TAYLOR_SLOW): Likewise.
10750 (sloww1); Likewise.
10751 (sloww2): Likewise.
10752 (bsloww1): Likewise.
10753 (bsloww2): Likewise.
10754 (cslow2): Likewise.
10755 (csloww): Likewise.
10756 (csloww1): Likewise.
10757 (csloww2): Likewise.
10759 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
10761 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
10762 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
10763 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
10764 * malloc/hooks.c (realloc_check): Likewise.
10766 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
10767 * malloc/arena.c: Remove PER_THREAD conditional.
10768 [!PER_THREAD]: Remove code.
10769 (ptmalloc_unlock_all2): Likewise.
10770 (ptmalloc_init): Likewise.
10771 (_int_new_arena): Likewise.
10772 (arena_get2): Likewise.
10773 * malloc/hooks.c (__malloc_get_state): Likewise.
10774 (__malloc_set_state): Likewise.
10775 * malloc/malloc.c: Likewise.
10776 (struct malloc_state): Likewise.
10777 (struct malloc_par): Likewise.
10778 (__libc_realloc): Likewise.
10779 (__libc_mallopt): Likewise.
10781 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10783 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
10785 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
10787 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
10788 macro to a function. Check for zero perturb_byte.
10789 (_int_malloc, _int_free): Remove zero perturb_byte checks.
10791 * malloc/malloc.c: (force_reg): Remove.
10792 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
10793 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
10794 force_reg by atomic_forced_read.
10795 * malloc/arena.c (ptmalloc_init): Likewise.
10796 * malloc/hooks.c (top_check): Likewise.
10798 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10800 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10802 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
10804 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10806 2013-12-08 Joseph Myers <joseph@codesourcery.com>
10808 * math/auto-libm-test-in: Add tests of lgamma.
10809 * math/auto-libm-test-out: Regenerated.
10810 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
10811 (M_LOG_2_SQRT_PIl): Likewise.
10812 (lgamma_test_data): Use AUTO_TESTS_f_f1.
10813 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10815 (func_calc_desc): Add mpfr_f_f1 union field.
10816 (ARGS1): New macro.
10824 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
10825 (test_functions): Add lgamma.
10826 (calc_generic_results): Handle mpfr_f_f1.
10827 * sysdeps/i386/fpu/libm-test-ulps: Update.
10828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10830 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10832 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
10833 __mpn_add_n for PowerPC64/POWER7.
10834 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
10835 __mpn_sub_n for PowerPC64/POWER7.
10837 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
10838 __mpn_addmul_1 for PowerPC64.
10839 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
10840 __mpn_submul_1 for PowerPC64.
10841 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
10843 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
10846 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
10849 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
10851 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10853 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
10855 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
10856 add multiarch folders.
10857 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
10858 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
10859 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
10860 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
10861 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
10862 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
10863 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
10864 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
10865 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
10866 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
10867 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
10868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
10869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
10870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
10871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
10872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
10873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
10875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10876 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
10877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
10879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
10881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
10882 multiarch __ieee754_hypot for PowerPC32.
10883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
10885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
10887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
10888 multiarch __ieee754_hypotf for PowerPC32.
10890 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
10891 long_double_symbol only if __logbl is defined.
10892 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
10893 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
10894 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
10895 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
10896 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
10897 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
10898 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
10899 path for implementation.
10900 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
10901 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
10902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
10903 logb, and logbl multiarch implementations for PowerPC32.
10904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
10906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
10908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
10909 multiarch logb for PowerPC32.
10910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
10912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
10914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
10915 multiarch logbf for PowerPC32.
10916 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
10917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
10919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
10920 multiarch logbl implementation for PowerPC32.
10922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
10923 and modff multiarch implementations.
10924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
10926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
10928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
10929 multiarch modf for PowerPC32.
10930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
10932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
10934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
10935 multiarch modff for PowerPC32.
10937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
10938 and lrintf multiarch implementations.
10939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
10941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
10943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
10944 multiarch lrint for PowerPC32.
10945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
10946 file: multiarch lrintf for PowerPC32.
10948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
10949 and lroundf multiarch implementations.
10950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
10952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
10954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
10956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
10957 multiarch lround for PowerPC32.
10958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
10959 file: multiarch lroundf for PowerPC32.
10961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10962 copysign and copysignf multiarch implementations.
10963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
10965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
10967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
10968 file: multiarch copysign for PowerPC32.
10969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
10970 file: multiarch copysignf for PowerPC32.
10972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
10973 and truncf multiarch implementations.
10974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
10976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
10978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10979 multiarch trunc for PowerPC32.
10980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
10982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
10984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
10985 multiarch truncf for PowerPC32.
10987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
10988 and roundf multiarch implementations.
10989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
10991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
10993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
10994 multiarch round for PowerPC32.
10995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
10997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
10999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11000 multiarch roundf for PowerPC32.
11002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11003 and floorf multiarch implementations.
11004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11009 multiarch floor for PowerPC32.
11010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11015 multiarch floorf for PowerPC32.
11017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11018 and ceilf multiarch implementations.
11019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11024 multiarch ceil for PowerPC32.
11025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11030 multiarch ceilf for PowerPC32.
11032 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11034 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11035 FINITEF is defined.
11036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11037 and finitef multiarch implementations.
11038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11043 multiarch finite for PowerPC32.
11044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11047 file: multiarch finitef for PowerPC32.
11049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11050 and isinff multiarch implementations.
11051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11056 multiarch isinf for PowerPC32.
11057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11060 multiarch isinff for PowerPC32.
11062 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11063 alias when __isnan is defined.
11064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11065 and isnanf multiarch implementations.
11066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11075 multiarch isnan for PowerPC32.
11076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11081 multiarch isnanf for PowerPC32.
11083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11084 and sqrtf multiarch implementations.
11085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11090 multiarch sqrt for PowerPC32.
11091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
11096 multiarch sqrtf for PowerPC32.
11098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
11099 and llroundf multiarch implementations.
11100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
11102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
11104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
11106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
11107 file: multiarch llround for PowerPC32.
11108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
11109 file: multiarch llroundf for PowerPC32.
11111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
11112 multiarch PowerPC32 fpu implementations.
11113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
11115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
11117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
11118 multiarch llrint for PowerPC32.
11119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
11121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
11123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
11126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
11128 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
11130 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
11132 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
11134 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
11135 multiarch wordcopy for PPC32.
11136 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11138 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11139 (__libc_ifunc_impl_list): Likewise.
11140 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
11141 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
11142 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
11143 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
11144 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
11145 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
11147 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
11148 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
11150 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
11152 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
11154 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
11155 multiarch wcscpy for PPC32.
11156 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11158 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11159 (__libc_ifunc_impl_list): Likewise.
11160 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11161 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11162 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
11163 sysdeps/powerpc/power6/wcscpy.c.
11165 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
11166 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
11168 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
11170 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
11172 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
11173 multiarch wcsrchr for PPC32.
11174 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11176 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11177 (__libc_ifunc_impl_list): Likewise.
11178 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11179 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11180 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
11181 sysdeps/powerpc/power6/wcsrchr.c.
11183 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
11185 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
11187 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
11188 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
11189 multiarch wcschr for PPc32.
11190 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11192 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11193 (__libc_ifunc_impl_list): Likewise.
11194 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
11195 * sysdeps/powerpc/power6/wcschr.c: ... to here.
11196 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
11197 sysdeps/powerpc/power6/wcschr.c.
11199 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
11200 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
11202 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
11203 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
11204 file: multiarch strchr for PPC32.
11205 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
11207 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11208 (__libc_ifunc_impl_list): Likewise.
11210 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
11212 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
11214 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
11216 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
11217 multiarch strchrnul for PPC32.
11218 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
11220 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11221 (__libc_ifunc_impl_list): Likewise.
11223 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
11225 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
11226 multiarch strncasecmp for PPC32.
11227 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
11229 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
11230 multiarch strncasecmp_l for PPC32.
11231 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
11232 strncasecmp multiarch objects.
11233 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11234 (__libc_ifunc_impl_list): Likewise.
11236 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
11238 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
11239 multiarch strncasecmp for PPC32.
11240 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11242 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
11243 multiarch strcasecmp_l for PPC32.
11244 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
11246 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11247 (__libc_ifunc_impl_list): Likewise.
11249 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
11251 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
11253 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
11254 multiarch strncmp for PPC32.
11255 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
11257 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11258 (__libc_ifunc_impl_list): Likewise.
11260 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
11261 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
11263 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
11264 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
11265 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
11267 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11268 (__libc_ifunc_impl_list): Likewise.
11270 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
11272 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
11274 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
11275 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
11277 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11278 (__libc_ifunc_impl_list): Likewise.
11280 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
11282 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
11284 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
11285 multiarch rawmemchr for PPC32.
11286 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
11288 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11289 (__libc_ifunc_impl_list): Likewise.
11291 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
11293 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
11295 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
11296 file: memrchr multiarch for PPC32.
11297 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
11299 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11300 (__libc_ifunc_impl_list): Likewise.
11302 * string/memchr.c (__memchr): Using macro to redefine symbol name.
11303 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
11305 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
11306 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
11307 multiarch memchr for PPC32.
11308 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
11310 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11311 (__libc_ifunc_impl_list): Likewise.
11313 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
11314 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
11316 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
11318 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
11319 file: multiarch mempcpy for PPC32.
11320 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
11322 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11323 (__libc_ifunc_impl_list): Likewise.
11325 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
11326 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
11327 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
11328 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
11329 multiarch bzero for PPC32.
11330 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
11332 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
11334 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
11335 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
11336 file: multiarch memset for PPC32.
11337 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
11338 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
11339 memset multiarch objects.
11340 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11341 (__libc_ifunc_impl_list): Likewise.
11343 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
11345 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
11346 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
11348 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
11349 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
11351 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11352 (__libc_ifunc_impl_list): Likewise.
11354 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
11355 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
11356 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
11358 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
11360 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
11362 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
11363 multiarch memcpy for PPC32.
11364 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
11366 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11367 (__libc_ifunc_impl_list): Likewise.
11369 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
11370 support multiarch for POWER/PPC32.
11371 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
11373 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
11375 Implies file to make multiarch folder appers before the fpu and
11376 default folder for power4 configuration.
11378 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11380 * scripts/bench.pl: Append volatile keyword to type.
11382 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11384 * sysdeps/sh/sotruss-lib.c: New file.
11385 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
11387 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11389 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11391 2013-12-05 Joseph Myers <joseph@codesourcery.com>
11394 * math/w_tgamma.c: Include <errno.h>.
11395 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
11396 * math/w_tgammaf.c: Include <errno.h>.
11397 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
11398 * math/w_tgammal.c: Include <errno.h>.
11399 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
11400 * math/auto-libm-test-in: Do not allow missing errno on tgamma
11401 underflow. Add more tgamma tests.
11402 * math/auto-libm-test-out: Regenerated.
11403 * sysdeps/i386/fpu/libm-test-ulps: Update.
11404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11406 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
11407 sin, sinh, tan, tanh, tgamma, y0 and y1.
11408 * math/auto-libm-test-out: Regenerated.
11409 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11410 (TEST_COND_x86): Likewise.
11411 (M_E2l): Remove macro.
11413 (M_2_SQRT_PIl): Likewise.
11414 (M_SQRT_PIl): Likewise.
11415 (M_1_DIV_El): Likewise.
11416 (log_test_data): Use AUTO_TESTS_f_f.
11417 (log10_test_data): Likewise.
11418 (log1p_test_data): Likewise.
11419 (log2_test_data): Likewise.
11420 (sin_test_data): Likewise.
11421 (sin_tonearest_test_data): Likewise.
11422 (sin_towardzero_test_data): Likewise.
11423 (sin_downward_test_data): Likewise.
11424 (sin_upward_test_data): Likewise.
11425 (sinh_test_data): Likewise.
11426 (sinh_tonearest_test_data): Likewise.
11427 (sinh_towardzero_test_data): Likewise.
11428 (sinh_downward_test_data): Likewise.
11429 (sinh_upward_test_data): Likewise.
11430 (tan_test_data): Likewise.
11431 (tan_tonearest_test_data): Likewise.
11432 (tan_towardzero_test_data): Likewise.
11433 (tan_downward_test_data): Likewise.
11434 (tan_upward_test_data): Likewise.
11435 (tanh_test_data): Likewise.
11436 (tgamma_test_data): Likewise.
11437 (y0_test_data): Likewise.
11438 (y1_test_data): Likewise.
11439 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
11440 (special_real_inputs): Add pi/4.
11441 * sysdeps/i386/fpu/libm-test-ulps: Update.
11442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11444 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11446 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
11447 "longjmp_target" static probes.
11448 (__longjmp): Rename to __longjmp_symbol.
11449 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11450 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
11451 on which longjmp to generate.
11452 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11453 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
11455 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11456 (__sigjmp_save): Rename to __sigjmp_save_symbol.
11457 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11458 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
11459 and __sigjmp_save_symbol based on which sigsetjmp to generated.
11460 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
11461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
11462 __longjmp_symbol based on which __longjmp to generate.
11463 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
11465 (setjmp): Rename to setjmp_symbol.
11466 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11467 (_setjmp): Rename to _setjmp_symbol.
11468 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11469 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
11470 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
11471 which setjmp to generate.
11472 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
11473 "longjmp_target" static probes.
11475 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11477 * benchtests/README: Add note about output arguments.
11478 * benchtests/bench-sincos.c: Remove file.
11479 * benchtests/sincos-inputs: New file.
11480 * scripts/bench.pl: Identify output arguments and define
11481 static variables for them.
11483 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
11486 * Makefile (INSTALL): Add install-plain.texi as the primary
11488 * manual/install-plain.texi: New file.
11489 * manual/install.texi: Include node directive only for
11490 non-plaintext output.
11492 2013-12-04 Joseph Myers <joseph@codesourcery.com>
11494 * stdlib/longlong.h: Update from GCC.
11498 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
11499 * math/w_j0f.c (y0f): Likewise.
11500 * math/w_j0l.c (__y0l): Likewise.
11501 * math/w_j1.c (y1): Likewise.
11502 * math/w_j1f.c (y1f): Likewise.
11503 * math/w_j1l.c (__y1l): Likewise
11504 * math/w_jn.c (yn): Likewise.
11505 * math/w_jnf.c (ynf): Likewise.
11506 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
11507 Bessel function pole errors in _POSIX_ mode. Use NAN as return
11508 value for Bessel function domain errors outside _SVID_ mode.
11509 Adjust sign of return value for yn (negative integer, 0).
11510 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
11511 by zero in return for negative x and set sign appropriately for
11513 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
11514 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11515 * math/libm-test.inc (y0_test_data): Add more tests and adjust
11516 expectations in error cases.
11517 (y1_test_data): Likewise.
11518 (yn_test_data): Likewise.
11519 * sysdeps/i386/fpu/libm-test-ulps: Update.
11520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11522 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11524 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
11525 "64" to "64-v1". Add "64-v2".
11526 (abi-64-options): Rename to ...
11527 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
11528 (abi-64-condition): Rename to ...
11529 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
11530 (abi-64-ld-soname): Rename to ...
11531 (abi-64-v1-ld-soname): ... this.
11532 (abi-64-v2-options): Define.
11533 (abi-64-v2-condition): Likewise.
11534 (abi-64-v2-ld-soname): Likewise.
11535 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
11536 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
11537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
11538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
11539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
11541 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11542 Alan Modra <amodra@gmail.com>
11544 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
11545 New versions for use with the ELFv2 ABI.
11546 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
11547 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
11549 (struct La_ppc64v2_retval): Likewise.
11550 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
11551 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
11552 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
11553 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
11554 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
11555 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11556 Do not save or restore CR.
11557 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
11558 (_dl_profile_resolve): Do no save or restore CR. Support extended
11559 return values for ELFv2 ABI. Fix location of FPR return registers.
11560 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
11561 updated values for _CALL_ELF == 2.
11562 (La_regs, La_retval, int_retval): Likewise.
11564 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11566 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
11567 (FRAME_MIN_SIZE_PARM): Likewise.
11568 (FRAME_BACKCHAIN): Likewise.
11569 (FRAME_CR_SAVE): Likewise.
11570 (FRAME_LR_SAVE): Likewise.
11571 (FRAME_TOC_SAVE): Likewise.
11572 (FRAME_PARM_SAVE): Likewise.
11573 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
11574 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
11575 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11576 (call_mcount_parm_offset): New macro.
11577 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
11578 (PROF): Use symbolic stack frame offsets.
11579 (TAIL_CALL_SYSCALL_ERROR): Likewise.
11580 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
11581 Redefine in terms of FRAME_MIN_SIZE.
11582 (_dl_runtime_resolve): Use symbolic stack frame offsets.
11583 (_dl_profile_resolve): Likewise. Update comment.
11584 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
11585 symbols stack frame offsets.
11586 (__sigsetjmp): Likewise.
11587 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
11588 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
11589 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
11590 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
11592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
11593 (FRAME_BACKCHAIN): Remove.
11594 (FRAME_CR_SAVE): Likewise.
11595 (FRAME_LR_SAVE): Likewise.
11596 (FRAME_COMPILER_DW): Likewise.
11597 (FRAME_LINKER_DW): Likewise.
11598 (FRAME_TOC_SAVE): Likewise.
11599 (FRAME_PARM_SAVE): Likewise.
11600 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
11601 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
11602 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
11604 (CHECK_SP): Use symbolic stack frame offsets.
11605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
11606 zone" instead of caller's parameter save area for temp storage.
11607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11608 Likewise. Also, use symbolic stack frame offsets.
11609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
11610 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
11611 our own stack frame instead of the caller's.
11612 (__socket): Use symbolic stack frame offsets.
11614 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11615 Alan Modra <amodra@gmail.com>
11617 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
11619 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
11620 (PPC64_LOCAL_ENTRY_OFFSET): Define.
11621 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
11623 (elf_machine_fixup_plt): Call it.
11624 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
11626 (elf_machine_rela): Update call to elf_machine_plt_conflict.
11627 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11628 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
11629 r2 before calling target.
11631 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11632 Alan Modra <amodra@gmail.com>
11634 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
11635 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
11636 versions of macros to support ELFv2 ABI.
11637 (LOCALENTRY): New macro.
11638 (ENTRY, EALIGN): Use it.
11639 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
11640 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
11641 fall through into ENTRY entry point.
11642 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
11643 Only define if _CALL_ELF != 2.
11645 (elf_machine_matches_host): Verify ABI version matches.
11646 (RTLD_START): Use LOCALENTRY.
11647 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
11648 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
11649 (PLT_ENTRY_WORDS): New macro.
11650 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
11651 (elf_machine_runtime_setup): Support ELFv2 ABI.
11652 (elf_machine_fixup_plt): Likewise.
11653 (elf_machine_plt_conflict): Likewise.
11654 (resolve_ifunc): Likewise.
11655 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11656 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
11659 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
11660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11661 (makecontext): Support ELFv2 ABI.
11662 * elf/elf.h (EF_PPC64_ABI): Define.
11664 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11666 * sysdeps/powerpc/powerpc64/sysdep.h
11667 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
11668 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
11669 (ENTRY) [ASSEMBLER]: ... but instead here ...
11670 (EALIGN) [ASSEMBLER]: ... and here.
11671 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
11672 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
11673 (ENTRY_2) [!ASSEMBLER]: Use it.
11674 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
11675 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
11676 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11677 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
11678 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
11679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
11680 Use PPC64_LOAD_FUNCPTR.
11682 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
11684 2013-12-04 Alan Modra <amodra@gmail.com>
11686 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
11687 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
11688 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
11689 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
11691 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
11692 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
11693 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
11694 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
11695 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
11696 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
11698 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11701 (__makecontext): Fix incorrect CFI when backtracing out of
11702 context created via makecontext.
11703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
11704 (__setcontext): Fix incorrect CFI during switch to new context.
11705 (__novec_setcontext): Likewise.
11707 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
11710 * time/strptime_l.c (__strptime_internal): Allow modifiers
11712 * time/tst-strptime.c (day_tests): Add testcase.
11714 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11716 * scripts/bench.pl: Skip over blank lines.
11718 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
11721 * manual/time.texi (Calendar Time): Clarify what timezone functions
11724 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11726 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11728 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
11730 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
11732 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11733 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11734 * debug/memset_chk.c (__memset_chk): Likewise.
11735 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
11736 * debug/strncpy_chk.c: Likewise.
11738 2013-12-03 Joseph Myers <joseph@codesourcery.com>
11742 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
11743 (__ieee754_exp): For possibly underflowing results, check size of
11744 result and force underflow exception if required.
11745 * math/auto-libm-test-in: Add more tests of exp.
11746 * math/auto-libm-test-out: Regenerated.
11747 * sysdeps/i386/fpu/libm-test-ulps: Update.
11748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11751 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
11752 * math/w_exp2f.c (__exp2f): Likewise.
11753 * math/w_exp2l.c (__exp2l): Likewise.
11754 * math/auto-libm-test-in: Do not allow missing errno on exp2
11756 * math/auto-libm-test-out: Regenerated.
11758 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
11761 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
11762 handle filename validation.
11763 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
11766 2013-12-03 Joseph Myers <joseph@codesourcery.com>
11769 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
11770 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
11771 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
11773 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
11774 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
11775 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11776 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
11777 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11778 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
11779 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11780 * math/auto-libm-test-in: Don't allow missing errno from erfc.
11781 Add more erfc tests.
11782 * math/auto-libm-test-out: Regenerated.
11783 * sysdeps/i386/fpu/libm-test-ulps: Update.
11784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11786 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
11787 exp2, expm1, j0 and j1.
11788 * math/auto-libm-test-out: Regenerated.
11789 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
11790 (erfc_test_data): Likewise.
11791 (exp_test_data): Likewise.
11792 (exp_tonearest_test_data): Likewise.
11793 (exp_towardzero_test_data): Likewise.
11794 (exp_downward_test_data): Likewise.
11795 (exp_upward_test_data): Likewise.
11796 (exp10_test_data): Likewise.
11797 (exp2_test_data): Likewise.
11798 (expm1_test_data): Likewise.
11799 (j0_test_data): Likewise.
11800 (j1_test_data): Likewise.
11801 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
11802 (input_flag_type): Add flag_xfail_rounding.
11803 (input_flags): Add xfail-rounding.
11804 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
11805 (output_for_one_input_case): Handle flag_xfail_rounding.
11806 * sysdeps/i386/fpu/libm-test-ulps: Update.
11807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11809 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
11812 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
11815 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11818 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
11819 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
11820 (STAP_PROBE0): New macro.
11821 (STAP_PROBE1): Likewise.
11822 (STAP_PROBE2): Likewise.
11823 (STAP_PROBE3): Likewise.
11824 (STAP_PROBE4): Likewise.
11826 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
11828 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
11830 2013-12-02 Steve Ellcey <sellcey@mips.com>
11832 * benchtests/Makefile (bench): Add sqrt.
11833 (LDLIBS-bench-sqrt): New.
11834 * benchtests/sqrt-input: New.
11836 2013-12-02 Pavel Simerda <psimerda@redhat.com>
11838 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
11839 (GAIH_EAI): Likewise.
11840 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
11841 (gaih_inet): Likewise.
11842 (getaddrinfo): Don't use GAIH_EAI.
11844 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
11845 (struct gaih): Remove definition.
11847 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11849 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
11850 Use HERRNOP directly.
11852 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11854 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11856 2013-11-30 Joseph Myers <joseph@codesourcery.com>
11858 * math/gen-auto-libm-tests.c (test_functions): Add more
11859 single-argument functions.
11860 (special_fill_pi_2): New function.
11861 (special_fill_minus_pi_2): Likewise.
11862 (special_fill_pi_6): Likewise.
11863 (special_fill_minus_pi_6): Likewise.
11864 (special_fill_pi_3): Likewise.
11865 (special_fill_2pi_3): Likewise.
11866 (special_fill_e): Likewise.
11867 (special_fill_1_e): Likewise.
11868 (special_fill_e_minus_1): Likewise.
11869 (special_real_inputs): Add more special inputs.
11870 (output_for_one_input_case): Do not require ERANGE on underflow to
11871 zero if round-to-nearest result does not underflow to zero, unless
11872 exact results required.
11873 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
11874 atan, atanh, cbrt, cos and cosh.
11875 * math/auto-libm-test-out: Regenerated.
11876 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
11877 (acos_tonearest_test_data): Likewise.
11878 (acos_towardzero_test_data): Likewise.
11879 (acos_downward_test_data): Likewise.
11880 (acos_upward_test_data): Likewise.
11881 (acosh_test_data): Likewise.
11882 (asin_test_data): Likewise.
11883 (asin_tonearest_test_data): Likewise.
11884 (asin_towardzero_test_data): Likewise.
11885 (asin_upward_test_data): Likewise.
11886 (asinh_test_data): Likewise.
11887 (atan_test_data): Likewise.
11888 (atanh_test_data): Likewise.
11889 (cbrt_test_data): Likewise.
11890 (cos_test_data): Likewise.
11891 (cos_tonearest_test_data): Likewise.
11892 (cos_towardzero_test_data): Likewise.
11893 (cos_downward_test_data): Likewise.
11894 (cos_upward_test_data): Likewise.
11895 (cosh_test_data): Likewise.
11896 (cosh_tonearest_test_data): Likewise.
11897 (cosh_towardzero_test_data): Likewise.
11898 (cosh_downward_test_data): Likewise.
11899 (cosh_upward_test_data): Likewise.
11900 * sysdeps/i386/fpu/libm-test-ulps: Update.
11901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11903 2013-11-29 Joseph Myers <joseph@codesourcery.com>
11906 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
11907 * math/w_exp10f.c (__exp10f): Likewise.
11908 * math/w_exp10l.c (__exp10l): Likewise.
11909 * math/libm-test.inc (exp10_test_data): Add more tests and expect
11910 errno settings in existing tests.
11913 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
11914 precision control set to double precision.
11915 * sysdeps/i386/fpu/w_sqrt.c: New file.
11916 * math/auto-libm-test-in: Add more tests.
11917 * math/auto-libm-test-out: Update.
11919 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
11920 (sqrt_test_tonearest): New function.
11921 (sqrt_towardzero_test_data): New variable.
11922 (sqrt_test_towardzero): New function.
11923 (sqrt_downward_test_data): New variable.
11924 (sqrt_test_downward): New function.
11925 (sqrt_upward_test_data): New variable.
11926 (sqrt_test_upward): New function.
11927 (main): Call the new functions.
11929 * math/gen-auto-libm-tests.c: New file.
11930 * math/auto-libm-test-in: Likewise.
11931 * math/auto-libm-test-out: New generated file.
11932 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
11934 (%beautify): Add generated representations of zero.
11935 (top level): Set $auto_input and call parse_auto_input.
11936 (beautify): Remove trailing "f" from hex float constants.
11937 (parse_args): Handle XFAIL_TEST.
11938 (convert_condition): New function.
11939 (or_value): Likewise.
11940 (or_cond_value): Likewise.
11941 (generate_testfile): Handle AUTO_TESTS_* lines.
11942 (parse_auto_input): New function.
11943 * math/libm-test.inc (XFAIL_TEST): New macro.
11944 (ERRNO_UNCHANGED): Update value.
11945 (ERRNO_EDOM): Likewise.
11946 (ERRNO_ERANGE): Likewise.
11947 (IGNORE_RESULT): Likewise.
11948 (TEST_COND_flt_32): New macro.
11949 (TEST_COND_dbl_64): Likewise.
11950 (TEST_COND_ldbl_96_intel): Likewise.
11951 (TEST_COND_ldbl_96_m68k): Likewise.
11952 (TEST_COND_ldbl_128): Likewise.
11953 (TEST_COND_ldbl_128ibm): Likewise.
11954 (TEST_COND_long32): Likewise.
11955 (TEST_COND_long64): Likewise.
11956 (TEST_COND_before_rounding): Likewise.
11957 (TEST_COND_after_rounding): Likewise.
11958 (enable_test): Handle XFAIL_TEST flag.
11959 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
11960 with finite results.
11961 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
11962 auto-libm-test-out.
11964 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11965 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11968 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
11969 __tls_get_addr_internal instead of __tls_get_offset in order to
11970 avoid GOT pointer dependency. Make rtld export
11971 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
11972 __tls_get_addr since we are a __tls_get_offset platform.
11973 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11974 GOT pointer being set up before.
11975 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
11977 2013-11-28 Joseph Myers <joseph@codesourcery.com>
11979 * manual/math.texi (Errors in Math Functions): Document accuracy
11983 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
11984 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
11985 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11986 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11987 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11988 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11989 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11990 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11991 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11992 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11993 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11994 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11995 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11996 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11997 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11998 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12000 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12001 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12002 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12003 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12004 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12006 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12008 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12010 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12011 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12012 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12013 atomic-feupdateenv and flt-rounds.
12014 * sysdeps/powerpc/nofpu/Versions (libc): Add
12015 __atomic_feholdexcept, __atomic_feclearexcept,
12016 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12017 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12018 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12019 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12020 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12025 * manual/arith.texi (FP Exceptions): Document that exceptions may
12026 not be raised when matherr is used.
12027 (Math Error Reporting): Document overflow in directed rounding
12028 modes. Document that errno may not be set when finite values are
12029 returned on overflow. Document intent to set errno on underflow
12030 only for underflow to zero.
12033 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12034 round-to-nearest then adjust result for other rounding modes.
12035 * include/fenv.h (fegetround): Use libm_hidden_proto.
12036 * math/fegetround.c (fegetround): Use libm_hidden_def.
12037 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12038 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12039 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12040 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12042 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12043 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12044 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12045 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12047 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12050 * nss/Versions (libnss_files): Add
12051 _nss_files_gethostbyname3_r.
12052 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12054 (HOST_DB_LOOKUP): Remove macro.
12055 (_nss_files_gethostbyname_r): Implement function without the
12056 HOST_DB_LOOKUP macro.
12057 (_nss_files_gethostbyname2_r): Likewise.
12059 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
12061 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12063 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
12065 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12066 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12069 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12071 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12072 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12073 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12074 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12075 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12076 __fe_nomask_env_priv and attribute_hidden.
12077 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12078 (libc_feupdateenv_test_ppc): Likewise.
12079 (libc_feresetround_ppc): Likewise.
12080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12081 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12082 compat_symbol macro.
12083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12084 (__fe_nomask_env): Likewise.
12085 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12087 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12089 * string/Makefile: Remove ifunc tests.
12090 * string/test-string.h: Define TEST_IFUNC.
12091 * string/test-bcopy-ifunc.c: Remove.
12092 * string/test-bzero-ifunc.c: Likewise.
12093 * string/test-memccpy-ifunc.c: Likewise.
12094 * string/test-memchr-ifunc.c: Likewise.
12095 * string/test-memcmp-ifunc.c: Likewise.
12096 * string/test-memcpy-ifunc.c: Likewise.
12097 * string/test-memmem-ifunc.c: Likewise.
12098 * string/test-memmove-ifunc.c: Likewise.
12099 * string/test-mempcpy-ifunc.c: Likewise.
12100 * string/test-memrchr-ifunc.c: Likewise.
12101 * string/test-memset-ifunc.c: Likewise.
12102 * string/test-rawmemchr-ifunc.c: Likewise.
12103 * string/test-stpcpy-ifunc.c: Likewise.
12104 * string/test-stpncpy-ifunc.c: Likewise.
12105 * string/test-strcasecmp-ifunc.c: Likewise.
12106 * string/test-strcasestr-ifunc.c: Likewise.
12107 * string/test-strcat-ifunc.c: Likewise.
12108 * string/test-strchr-ifunc.c: Likewise.
12109 * string/test-strchrnul-ifunc.c: Likewise.
12110 * string/test-strcmp-ifunc.c: Likewise.
12111 * string/test-strcpy-ifunc.c: Likewise.
12112 * string/test-strcspn-ifunc.c: Likewise.
12113 * string/test-strlen-ifunc.c: Likewise.
12114 * string/test-strncasecmp-ifunc.c: Likewise.
12115 * string/test-strncat-ifunc.c: Likewise.
12116 * string/test-strncmp-ifunc.c: Likewise.
12117 * string/test-strncpy-ifunc.c: Likewise.
12118 * string/test-strnlen-ifunc.c: Likewise.
12119 * string/test-strpbrk-ifunc.c: Likewise.
12120 * string/test-strrchr-ifunc.c: Likewise.
12121 * string/test-strspn-ifunc.c: Likewise.
12122 * string/test-strstr-ifunc.c: Likewise.
12124 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12126 * benchtests/Makefile: Remove ifunc tests.
12127 * benchtests/bench-string.h: Define TEST_IFUNC.
12128 * benchtests/bench-bcopy-ifunc.c: Remove.
12129 * benchtests/bench-bzero-ifunc.c: Likewise.
12130 * benchtests/bench-memccpy-ifunc.c: Likewise.
12131 * benchtests/bench-memchr-ifunc.c: Likewise.
12132 * benchtests/bench-memcmp-ifunc.c: Likewise.
12133 * benchtests/bench-memcpy-ifunc.c: Likewise.
12134 * benchtests/bench-memmem-ifunc.c: Likewise.
12135 * benchtests/bench-memmove-ifunc.c: Likewise.
12136 * benchtests/bench-mempcpy-ifunc.c: Likewise.
12137 * benchtests/bench-memrchr-ifunc.c: Likewise.
12138 * benchtests/bench-memset-ifunc.c: Likewise.
12139 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
12140 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
12141 * benchtests/bench-stpcpy-ifunc.c: Likewise.
12142 * benchtests/bench-stpncpy-ifunc.c: Likewise.
12143 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
12144 * benchtests/bench-strcasestr-ifunc.c: Likewise.
12145 * benchtests/bench-strcat-ifunc.c: Likewise.
12146 * benchtests/bench-strchr-ifunc.c: Likewise.
12147 * benchtests/bench-strchrnul-ifunc.c: Likewise.
12148 * benchtests/bench-strcmp-ifunc.c: Likewise.
12149 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
12150 * benchtests/bench-strcpy-ifunc.c: Likewise.
12151 * benchtests/bench-strcspn-ifunc.c: Likewise.
12152 * benchtests/bench-strlen-ifunc.c: Likewise.
12153 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
12154 * benchtests/bench-strncat-ifunc.c: Likewise.
12155 * benchtests/bench-strncmp-ifunc.c: Likewise.
12156 * benchtests/bench-strncpy-ifunc.c: Likewise.
12157 * benchtests/bench-strnlen-ifunc.c: Likewise.
12158 * benchtests/bench-strpbrk-ifunc.c: Likewise.
12159 * benchtests/bench-strrchr-ifunc.c: Likewise.
12160 * benchtests/bench-strsep-ifunc.c: Likewise.
12161 * benchtests/bench-strspn-ifunc.c: Likewise.
12162 * benchtests/bench-strstr-ifunc.c: Likewise.
12164 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12166 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
12168 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12170 * resolv/netdb.h: Use __glibc_reserved instead __unused.
12171 * rt/aio.h: Likewise.
12172 * sysdeps/gnu/bits/utmp.h: Likewise.
12173 * sysdeps/gnu/bits/utmpx.h: Likewise.
12174 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12175 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
12176 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
12177 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
12178 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
12179 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
12180 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
12181 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
12182 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
12183 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12184 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12185 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12186 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
12187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
12188 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12189 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
12190 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12191 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12192 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12193 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
12194 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
12195 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
12196 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
12197 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12198 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12199 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12200 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
12201 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12202 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12203 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12204 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
12205 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
12206 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
12207 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12208 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12209 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
12210 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12211 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12212 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12213 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
12214 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12215 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12217 2013-11-25 Carlos O'Donell <carlos@redhat.com>
12220 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
12221 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
12223 2013-11-25 Joseph Myers <joseph@codesourcery.com>
12225 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
12226 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12229 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12231 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
12232 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
12233 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
12234 (__fesetround): Remove define.
12235 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
12236 rounding and exceptions handling.
12237 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
12238 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
12239 (__fe_nomask_env): Likewise.
12240 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
12241 __fegetround instead of fegetround.
12242 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12243 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12245 2013-11-21 Roland McGrath <roland@hack.frob.com>
12247 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
12250 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
12252 2013-11-21 Meador Inge <meadori@codesourcery.com>
12255 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
12256 (encrypt_r): Likewise.
12257 * malloc/obstack.h (obstack_free): Likewise.
12258 * posix/unistd.h (encrypt): Likewise.
12260 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
12262 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
12263 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
12264 DL_CALL_DT_FINI() that call the functions directly.
12265 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
12266 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
12267 * elf/dl-fini.c: Likewise.
12269 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
12271 * malloc/hooks.c (memalign_check): Add alignment rounding.
12272 * malloc/malloc.c (_mid_memalign): New function.
12273 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
12274 Implement by calling _mid_memalign.
12275 * manual/probes.texi (Memory Allocation Probes): Remove
12276 memory_valloc_retry and memory_pvalloc_retry.
12278 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12280 * locale/programs/locarchive.c (open_archive): Add const
12281 qualifier to ARCHIVEFNAME and copy default fname to
12285 * libio/tst-widetext.input: Rename Oriya to Odia.
12286 * locale/iso-639.def: Likewise.
12288 * manual/probes.texi (Mathematical Function Probes): Add
12289 documentation for sin, cos, asin and acos probes.
12290 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
12291 (__sin32): Add slowasin probe.
12292 (__cos32): Add slowacos probe.
12293 (__mpsin): Add slowsin probe.
12294 (__mpcos): Add slowcos probe.
12296 2013-11-19 Joseph Myers <joseph@codesourcery.com>
12299 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
12300 thread-local __sim_exceptions_thread and global
12301 __sim_exceptions_global.
12302 (__sim_disabled_exceptions): Change to thread-local
12303 __sim_disabled_exceptions_thread and global
12304 __sim_disabled_exceptions_global.
12305 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12306 and global __sim_round_mode_global.
12307 (__simulate_exceptions): Use thread-local floating-point state and
12308 set global state from it as needed.
12309 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
12310 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
12311 __sim_round_mode_thread.
12312 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
12313 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
12314 and global __sim_exceptions_global.
12315 (__sim_disabled_exceptions): Change to thread-local
12316 __sim_disabled_exceptions_thread and global
12317 __sim_disabled_exceptions_global.
12318 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12319 and global __sim_round_mode_global.
12320 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
12321 (SIM_SET_GLOBAL): Likewise.
12322 * sysdeps/powerpc/soft-fp/sfp-machine.h
12323 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
12324 __sim_round_mode_thread.
12325 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
12326 __sim_disabled_exceptions_thread.
12327 (__sim_exceptions): Change to __sim_exceptions_thread.
12328 (__sim_disabled_exceptions): Change to
12329 __sim_disabled_exceptions_thread.
12330 (__sim_round_mode): Change to __sim_round_mode_thread.
12331 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
12332 thread-local floating-point state and set global state from it as
12334 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
12335 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
12336 (__sim_disabled_exceptions): Remove extern declaration.
12337 (feenableexcept): Use thread-local floating-point state and set
12338 global state from it as needed.
12339 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
12340 extern declaration.
12341 (__sim_disabled_exceptions): Likewise.
12342 (__sim_round_mode): Likewise.
12343 (__fegetenv): Use thread-local floating-point state.
12344 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
12345 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12346 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
12347 floating-point state and set global state from it as needed.
12348 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
12349 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12350 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
12352 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12353 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
12355 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
12356 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
12357 Use __sim_round_mode_thread.
12358 * math/test-fenv-tls.c: New file.
12359 * math/Makefile (tests): Add test-fenv-tls.
12360 ($(objpfx)test-fenv-tls): Depend on
12361 $(common-objpfx)nptl/libpthread.so.
12363 2013-11-19 Andreas Schwab <schwab@suse.de>
12365 * locale/programs/locale.c (show_info): Decode wordarray elements.
12366 * locale/categories.def (LC_MONETARY): Add element for
12367 _NL_MONETARY_CRNCYSTR.
12368 * locale/C-monetary.c (conversion_rate): New variable.
12369 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
12372 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
12374 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
12375 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
12377 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12379 * elf/Makefile (tst-auxv): New test.
12380 * elf/tst-auxv.c: New
12381 * elf/rtld.c (dl_main): Adjust AT_EXECFN
12383 2013-11-18 Joseph Myers <joseph@codesourcery.com>
12385 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
12386 (hidden_proto): Caller changed.
12387 (hidden_tls_proto): New macro.
12388 (libc_hidden_tls_proto): Likewise.
12389 (rtld_hidden_tls_proto): Likewise.
12390 (libm_hidden_tls_proto): Likewise.
12391 (libresolv_hidden_tls_proto): Likewise.
12392 (librt_hidden_tls_proto): Likewise.
12393 (libdl_hidden_tls_proto): Likewise.
12394 (libnss_files_hidden_tls_proto): Likewise.
12395 (libnsl_hidden_tls_proto): Likewise.
12396 (libnss_nisplus_hidden_tls_proto): Likewise.
12397 (libutil_hidden_tls_proto): Likewise.
12399 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
12402 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
12403 (decompose_rpath): Defer expansion to fillin_rpath.
12404 (_dl_init_paths): Pass linkmap to fillin_rpath.
12406 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12408 * benchtests/Makefile: Add strsep.
12409 * benchtests/bench-strsep.c: New file: strsep benchtest.
12410 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
12412 2013-11-18 Andreas Schwab <schwab@suse.de>
12414 * locale/programs/locale.c (show_info) [case byte]: Check for
12415 '\377' instead of '\177'.
12416 * locale/C-monetary.c (not_available): Always use "\377".
12417 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
12418 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
12419 detect unavailable sign_posn locale elements.
12420 * locale/localeconv.c (__localeconv): For grouping and
12421 mon_grouping handle "\177" and "\377" like no grouping.
12422 (INT_ELEM): New macro. Use it to set all numeric members.
12423 * locale/programs/ld-monetary.c (monetary_read)
12424 <tok_mon_grouping>: Normalize single -1 to the empty string.
12425 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
12428 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
12431 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
12432 when we match (nil).
12433 * stdio-common/tst-sscanf.c (struct test): Add testcase.
12435 2013-11-16 Joseph Myers <joseph@codesourcery.com>
12437 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
12438 (NO_TEST_INLINE): Update value.
12439 (ERRNO_UNCHANGED): Likewise.
12440 (ERRNO_EDOM): Likewise.
12441 (ERRNO_ERANGE): Likewise.
12442 (IGNORE_RESULT): Likewise.
12443 (check_float_internal): Check signs of NaN results if
12444 TEST_NAN_SIGN used.
12445 (check_complex): Pass TEST_NAN_SIGN flag through to second
12446 check_float_internal call.
12447 (copysign_test_data): Add tests with quiet NaNs as second
12448 argument. Use TEST_NAN_SIGN.
12449 (fabs_test_data): Add test of negative quiet NaN argument. Use
12451 (signbit_test_data): Add tests of quiet NaN argument.
12452 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
12454 * math/gen-libm-test.pl (show_exceptions): Take extra argument
12456 (parse_args): Handle function results specified as IGNORE.
12457 * math/libm-test.inc (IGNORE_RESULT): New macro.
12458 (check_float_internal): Do not check numerical result if flag
12460 (check_complex): Pass through IGNORE_RESULT to second
12461 check_float_internal call.
12462 (check_int): Do not check numerical result if flag IGNORE_RESULT
12464 (check_long): Likewise.
12465 (check_bool): Likewise.
12466 (check_longlong): Likewise.
12467 (lrint_test_data): Add tests of infinite and NaN arguments.
12468 (lrint_tonearest_test_data): Likewise.
12469 (lrint_towardzero_test_data): Likewise.
12470 (lrint_downward_test_data): Likewise.
12471 (lrint_upward_test_data): Likewise.
12472 (llrint_test_data): Likewise.
12473 (llrint_tonearest_test_data): Likewise.
12474 (llrint_towardzero_test_data): Likewise.
12475 (llrint_downward_test_data): Likewise.
12476 (llrint_upward_test_data): Likewise.
12477 (lround_test_data): Likewise.
12478 (llround_test_data): Likewise.
12480 * math/libm-test.inc (NO_TEST_INLINE): New macro.
12481 (ERRNO_UNCHANGED): Update value.
12482 (ERRNO_EDOM): Likewise.
12483 (ERRNO_ERANGE): Likewise.
12484 (NO_TEST_INLINE_FLOAT): New macro.
12485 (NO_TEST_INLINE_DOUBLE): Likewise.
12486 (enable_test): New function.
12487 (RUN_TEST_f_f): Check enable_test before running test.
12488 (RUN_TEST_2_f): Likewise.
12489 (RUN_TEST_fff_f): Likewise.
12490 (RUN_TEST_c_f): Likewise.
12491 (RUN_TEST_f_f1): Likewise.
12492 (RUN_TEST_fF_f1): Likewise.
12493 (RUN_TEST_fI_f1): Likewise.
12494 (RUN_TEST_ffI_f1): Likewise.
12495 (RUN_TEST_c_c): Likewise.
12496 (RUN_TEST_cc_c): Likewise.
12497 (RUN_TEST_f_i): Likewise.
12498 (RUN_TEST_f_i_tg): Likewise.
12499 (RUN_TEST_ff_i_tg): Likewise.
12500 (RUN_TEST_f_b): Likewise.
12501 (RUN_TEST_f_b_tg): Likewise.
12502 (RUN_TEST_f_l): Likewise.
12503 (RUN_TEST_f_L): Likewise.
12504 (RUN_TEST_fFF_11): Likewise.
12505 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
12507 (cosh_test_data): Likewise.
12508 (exp_test_data): Likewise.
12509 (expm1_test_data): Likewise.
12510 (hypot_test_data): Likewise.
12511 (pow_test_data): Likewise.
12512 (sinh_test_data): Likewise.
12513 (tanh_test_data): Likewise.
12514 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
12517 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
12518 tests with quiet NaN input and output.
12519 (acosh_test_data): Likewise.
12520 (asin_test_data): Likewise.
12521 (asinh_test_data): Likewise.
12522 (atan_test_data): Likewise.
12523 (atanh_test_data): Likewise.
12524 (atan2_test_data): Likewise.
12525 (cbrt_test_data): Likewise.
12526 (cos_test_data): Likewise.
12527 (cosh_test_data): Likewise.
12528 (erf_test_data): Likewise.
12529 (erfc_test_data): Likewise.
12530 (exp_test_data): Likewise.
12531 (exp10_test_data): Likewise.
12532 (exp2_test_data): Likewise.
12533 (expm1_test_data): Likewise.
12534 (hypot_test_data): Likewise.
12535 (j0_test_data): Likewise.
12536 (j1_test_data): Likewise.
12537 (jn_test_data): Likewise.
12538 (lgamma_test_data): Likewise.
12539 (log_test_data): Likewise.
12540 (log10_test_data): Likewise.
12541 (log1p_test_data): Likewise.
12542 (log2_test_data): Likewise.
12543 (pow_test_data): Likewise.
12544 (scalb_test_data): Likewise.
12545 (sin_test_data): Likewise.
12546 (sincos_test_data): Likewise.
12547 (sinh_test_data): Likewise.
12548 (tan_test_data): Likewise.
12549 (tanh_test_data): Likewise.
12550 (tgamma_test_data): Likewise.
12551 (y0_test_data): Likewise.
12552 (y1_test_data): Likewise.
12553 (yn_test_data): Likewise.
12556 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
12557 argument being NaN and avoid computations with second argument in
12559 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12560 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12561 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12563 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
12565 * locale/iso-639.def: Add Chitwani Tharu (the).
12567 2013-11-14 Andreas Schwab <schwab@suse.de>
12569 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
12570 word instead of empty string.
12572 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12575 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
12576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12577 (__fe_nomask_env): Likewise.
12579 2013-11-13 Steve Ellcey <sellcey@mips.com>
12581 * benchtests/bench-timing.h: Include time.h.
12583 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
12586 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
12588 * sysdeps/unix/sysv/linux/configure: Regenerated.
12590 2013-11-13 Joseph Myers <joseph@codesourcery.com>
12593 * stdlib/strtod_l.c (round_and_return): Do not consider
12594 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
12595 exponent one less than half the least subnormal exponent.
12596 * stdlib/test-strtod-round-data: Add more tests.
12597 * stdlib/tst-strtod-round.c (tests): Regenerated.
12599 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12602 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
12603 (__fe_mask_env): Likewise.
12604 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
12605 libm_hidden_proto and add function prototype.
12606 (__fe_mask_env): Add function prototype.
12607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12608 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
12609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
12610 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
12611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12612 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
12614 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12616 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
12617 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
12619 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12621 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
12622 of htab_find_slot().
12624 2013-11-11 David S. Miller <davem@davemloft.net>
12627 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
12628 symbol in the non-vis3 case in static builds.
12629 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
12630 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
12631 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
12632 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
12634 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12637 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
12640 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12642 * benchtests/Makefile: Add bench-strtod.
12643 * benchtests/bench-strtod.c: New file: strtod benchtest
12645 2013-11-11 Andreas Schwab <schwab@suse.de>
12648 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
12649 terminating NUL in key length.
12651 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12653 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12654 Add artificial ODP entry for vDSO symbol for PPC64.
12655 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
12656 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
12658 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
12661 * nss/getent.c (services_keys): Recognize services starting with digit.
12663 2013-11-06 David S. Miller <davem@davemloft.net>
12666 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
12667 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
12669 2013-11-06 Will Newton <will.newton@linaro.org>
12671 * manual/memory.texi (Malloc Examples): Remove register
12672 keyword from examples.
12674 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
12676 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
12678 2013-11-04 Joseph Myers <joseph@codesourcery.com>
12681 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
12682 depending on [__GCC_IEC_559 > 0].
12683 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
12684 depending on [__GCC_IEC_559_COMPLEX > 0].
12686 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
12688 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
12691 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
12693 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
12695 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
12698 * malloc/malloc (malloc_info): Do not handle first bin as
12701 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
12703 * locale/iso-639.def: Add Central Nahuatl (nhn).
12705 2013-11-01 Bruno Haible <bruno@clisp.org>
12708 * manual/math.texi (BSD Random): Specify range upper bound as
12711 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
12713 * locale/iso-639.def: Add Meadow Mari (mhr).
12715 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
12717 [BZ #14752], [BZ #15763]
12718 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
12720 * rt/tst_shm.c: Add test for escaping directory.
12722 2013-10-31 Andreas Schwab <schwab@suse.de>
12725 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
12726 followed by 'x' as part of digit sequence.
12727 * stdio-common/tst-sscanf.c (double_tests2): New tests.
12729 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
12732 * configure.ac: allow GNU Make 4.0 and greater.
12733 * configure: Regenerated.
12735 2013-10-30 Will Newton <will.newton@linaro.org>
12738 * malloc/hooks.c (memalign_check): Limit alignment to the
12739 maximum representable power of two.
12740 * malloc/malloc.c (__libc_memalign): Likewise.
12741 * malloc/tst-memalign.c (do_test): Add test for very
12742 large alignment values.
12743 * malloc/tst-posix_memalign.c (do_test): Likewise.
12745 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
12748 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
12749 (munmap_chunk): Likewise.
12750 (mremap_chunk): Likewise.
12752 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
12755 * stdlib/div.c (div): Remove obsolete code.
12756 * stdlib/ldiv.c (ldiv): Likewise.
12757 * stdlib/lldiv.c (lldiv): Likewise.
12759 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12762 * nss/nss_files/files-XXX.c (get_contents_ret): New
12764 (get_contents): New function.
12765 (internal_getent): Use it. Expand size of LINEBUFLEN.
12767 2013-10-30 Mike Frysinger <vapier@gentoo.org>
12769 * configure.in: Moved to ...
12770 * configure.ac: ... here. Change reference to configure.in
12772 * sysdeps/arm/preconfigure.ac: ... here.
12773 configure.in to configure.ac.
12774 * sysdeps/gnu/configure.in: Moved to ...
12775 * sysdeps/gnu/configure.ac: ... here.
12776 * sysdeps/i386/configure.in: Moved to ...
12777 * sysdeps/i386/configure.ac: ... here.
12778 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
12779 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
12780 * sysdeps/mach/configure.in: Moved to ...
12781 * sysdeps/mach/configure.ac: ... here.
12782 * sysdeps/mach/hurd/configure.in: Moved to ...
12783 * sysdeps/mach/hurd/configure.ac: ... here.
12784 * sysdeps/powerpc/configure.in: Moved to ...
12785 * sysdeps/powerpc/configure.ac: ... here.
12786 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
12787 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
12788 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
12789 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
12790 * sysdeps/s390/s390-32/configure.in: Moved to ...
12791 * sysdeps/s390/s390-32/configure.ac: ... here.
12792 * sysdeps/s390/s390-64/configure.in: Moved to ...
12793 * sysdeps/s390/s390-64/configure.ac: ... here.
12794 * sysdeps/sh/configure.in: Moved to ...
12795 * sysdeps/sh/configure.ac: ... here.
12796 * sysdeps/sparc/configure.in: Moved to ...
12797 * sysdeps/sparc/configure.ac: ... here.
12798 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
12799 * sysdeps/unix/sysv/linux/configure.ac: ... here.
12800 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
12801 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
12802 * sysdeps/x86_64/configure.in: Moved to ...
12803 * sysdeps/x86_64/configure.ac: ... here.
12804 * sysdeps/x86_64/preconfigure.in: Moved to ...
12805 * sysdeps/x86_64/preconfigure.ac: ... here.
12806 * aclocal.m4: Change reference to configure.in to configure.ac.
12807 * config.h.in: Likewise.
12808 * manual/install.texi: Likewise.
12809 * manual/maint.texi: Likewise.
12810 * Makefile: Likewise.
12811 * malloc/Makefile: Likewise.
12812 * nscd/Makefile: Likewise.
12813 * Makeconfig: Change reference to configure.in and
12814 preconfigure.in to configure.ac and preconfigure.ac
12816 * INSTALL: Regenerated.
12817 * configure: Likewise.
12818 * sysdeps/gnu/configure: Likewise.
12819 * sysdeps/i386/configure: Likewise.
12820 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
12821 * sysdeps/mach/configure: Likewise.
12822 * sysdeps/mach/hurd/configure: Likewise.
12823 * sysdeps/powerpc/configure: Likewise.
12824 * sysdeps/powerpc/powerpc32/configure: Likewise.
12825 * sysdeps/powerpc/powerpc64/configure: Likewise.
12826 * sysdeps/s390/s390-32/configure: Likewise.
12827 * sysdeps/s390/s390-64/configure: Likewise.
12828 * sysdeps/sh/configure: Likewise.
12829 * sysdeps/sparc/configure: Likewise.
12830 * sysdeps/unix/sysv/linux/configure: Likewise.
12831 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
12832 * sysdeps/x86_64/configure: Likewise.
12833 * sysdeps/x86_64/preconfigure: Likewise.
12835 2013-10-29 Andreas Schwab <schwab@suse.de>
12837 * stdio-common/Makefile (tst-swscanf-ENV): Define.
12839 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12841 * benchtests/pow-inputs: Add new inputs.
12843 * benchtests/exp-inputs: Add new inputs.
12845 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
12846 conditional check for return value.
12847 (__cos32): Likewise.
12849 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12851 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
12852 to provide a boost for large inputs with word alignment.
12853 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
12854 implementation based on optimized PPC64 strcpy.
12855 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
12856 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
12857 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
12858 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
12860 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12863 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
12865 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12868 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
12869 * time/tst-strptime.c (day_tests): Add testcase.
12871 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12874 * manual/pattern.texi: Acknowledge that fnmatch can fail.
12876 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
12879 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
12880 MAP_FAILED on error.
12882 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12885 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
12886 heap for large requests.
12888 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
12891 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
12892 result if the result has no associated interface.
12893 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
12894 interface for all 127.X.Y.Z addresses.
12896 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
12898 * locale/iso-639.def: Add Ligurian (lij)
12900 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
12903 * sunrpc/rpc_main.c: Document rpcgen -5.
12905 2013-10-19 Michael Stahl <mstahl@redhat.com>
12907 * elf/rtld.c (do_preload): Print the reason why preloading failed.
12909 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12912 * posix/glob.c: Match only directories when trailing slash is present.
12913 * posix/tst-gnuglob.c (my_opendir): Do not open files.
12914 (main): Add testcase.
12916 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12919 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
12921 2013-10-18 Carlos O'Donell <carlos@redhat.com>
12923 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
12924 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
12925 AUTH_DES and cindex for FIPS 140-2.
12926 (DES Encryption): Add cindex FIPS 46-3.
12928 * locale/locarchive.h (struct locarhandle): Add fname.
12929 * locale/programs/localedef.c (main): Pass ARGV[remaining]
12930 if an optional argument was specified to --list-archive,
12932 * locale/programs/locarchive.c (show_archive_content): Take new
12933 argument fname and pass it via ah.fname to open_archive.
12934 * locale/programs/localedef.h: Update decl.
12935 (open_archive): If AH->fname is non-null, open that file
12936 rather than the default file name, and don't ignore ENOENT.
12937 (create_archive): Set AH.fname to NULL.
12938 (delete_locales_from_archive): Likewise.
12939 (add_locales_to_archive): Likewise.
12940 * locale/programs/locfile.c (write_all_categories): Likewise.
12942 2013-10-18 Joseph Myers <joseph@codesourcery.com>
12943 Aldy Hernandez <aldyh@redhat.com>
12945 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
12946 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
12947 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
12948 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
12949 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
12950 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
12951 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
12952 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
12953 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
12954 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
12955 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
12956 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
12957 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
12958 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
12959 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
12961 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
12963 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
12965 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
12967 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
12968 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
12970 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
12971 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
12972 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
12973 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
12975 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
12976 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
12977 * sysdeps/powerpc/preconfigure: Likewise.
12978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12980 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
12981 Replace contents of file by #include of <fenv_libc.h>.
12982 * sysdeps/powerpc/soft-fp/sfp-machine.h
12983 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
12985 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
12986 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
12987 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
12988 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
12989 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
12990 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
12991 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
12992 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
12993 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
12994 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
12995 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
12996 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
12997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12998 Allow copysignl PLT reference to be missing.
13000 2013-10-18 Richard Sandiford <richard@codesourcery.com>
13001 Joseph Myers <joseph@codesourcery.com
13004 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13006 (add_to_tablewc): Assert sequence of wide characters is nonempty.
13008 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13010 * elf/tst-tls-dlinfo.c: Don't include tls.h.
13011 * elf/tst-tls1.c: Likewise.
13012 * elf/tst-tls10.h: Likewise.
13013 * elf/tst-tls14.c: Likewise.
13014 * elf/tst-tls2.c: Likewise.
13015 * elf/tst-tls3.c: Likewise.
13016 * elf/tst-tls4.c: Likewise.
13017 * elf/tst-tls5.c: Likewise.
13018 * elf/tst-tls6.c: Likewise.
13019 * elf/tst-tls7.c: Likewise.
13020 * elf/tst-tls8.c: Likewise.
13021 * elf/tst-tls9.c: Likewise.
13022 * elf/tst-tlsmod1.c: Likewise.
13023 * elf/tst-tlsmod13.c: Likewise.
13024 * elf/tst-tlsmod13a.c: Likewise.
13025 * elf/tst-tlsmod14a.c: Likewise.
13026 * elf/tst-tlsmod16a.c: Likewise.
13027 * elf/tst-tlsmod16b.c: Likewise.
13028 * elf/tst-tlsmod2.c: Likewise.
13029 * elf/tst-tlsmod3.c: Likewise.
13030 * elf/tst-tlsmod4.c: Likewise.
13031 * elf/tst-tlsmod5.c: Likewise.
13032 * elf/tst-tlsmod6.c: Likewise.
13034 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
13037 * malloc/malloc.c: remove checks for statistics.
13039 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
13042 * inet/inet_net.c (inet_network): Detect additional invalid strings.
13043 * inet/tst-network.c: Add testcase.
13045 2013-10-17 Andreas Schwab <schwab@suse.de>
13048 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13049 to determine canonical name.
13051 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
13053 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13054 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13055 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13056 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13057 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13058 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13059 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13060 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13061 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13062 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13063 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13064 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13065 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13066 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13067 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13068 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13069 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13070 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13071 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13072 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13073 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13074 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13075 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13076 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13077 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13078 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13079 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13080 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13081 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13082 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13083 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13084 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13085 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13086 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13087 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13088 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13089 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13090 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13091 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13092 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13093 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13094 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13095 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13096 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13097 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13098 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13099 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13100 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13101 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13102 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13103 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13104 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13105 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13106 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13107 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13108 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13109 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13110 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13112 2013-10-17 Joseph Myers <joseph@codesourcery.com>
13115 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
13116 make result into a quiet NaN.
13118 2013-10-16 Joseph Myers <joseph@codesourcery.com>
13120 * soft-fp/adddf3.c: Fix horizontal whitespace.
13121 * soft-fp/addsf3.c: Likewise.
13122 * soft-fp/addtf3.c: Likewise.
13123 * soft-fp/divdf3.c: Likewise.
13124 * soft-fp/divsf3.c: Likewise.
13125 * soft-fp/divtf3.c: Likewise.
13126 * soft-fp/double.h: Likewise.
13127 * soft-fp/eqdf2.c: Likewise.
13128 * soft-fp/eqsf2.c: Likewise.
13129 * soft-fp/eqtf2.c: Likewise.
13130 * soft-fp/extenddftf2.c: Likewise.
13131 * soft-fp/extended.h: Likewise.
13132 * soft-fp/extendsfdf2.c: Likewise.
13133 * soft-fp/extendsftf2.c: Likewise.
13134 * soft-fp/extendxftf2.c: Likewise.
13135 * soft-fp/fixdfdi.c: Likewise.
13136 * soft-fp/fixdfsi.c: Likewise.
13137 * soft-fp/fixdfti.c: Likewise.
13138 * soft-fp/fixsfdi.c: Likewise.
13139 * soft-fp/fixsfsi.c: Likewise.
13140 * soft-fp/fixsfti.c: Likewise.
13141 * soft-fp/fixtfdi.c: Likewise.
13142 * soft-fp/fixtfsi.c: Likewise.
13143 * soft-fp/fixtfti.c: Likewise.
13144 * soft-fp/fixunsdfdi.c: Likewise.
13145 * soft-fp/fixunsdfsi.c: Likewise.
13146 * soft-fp/fixunsdfti.c: Likewise.
13147 * soft-fp/fixunssfdi.c: Likewise.
13148 * soft-fp/fixunssfsi.c: Likewise.
13149 * soft-fp/fixunssfti.c: Likewise.
13150 * soft-fp/fixunstfdi.c: Likewise.
13151 * soft-fp/fixunstfsi.c: Likewise.
13152 * soft-fp/fixunstfti.c: Likewise.
13153 * soft-fp/floatdidf.c: Likewise.
13154 * soft-fp/floatdisf.c: Likewise.
13155 * soft-fp/floatditf.c: Likewise.
13156 * soft-fp/floatsidf.c: Likewise.
13157 * soft-fp/floatsisf.c: Likewise.
13158 * soft-fp/floatsitf.c: Likewise.
13159 * soft-fp/floattidf.c: Likewise.
13160 * soft-fp/floattisf.c: Likewise.
13161 * soft-fp/floattitf.c: Likewise.
13162 * soft-fp/floatundidf.c: Likewise.
13163 * soft-fp/floatundisf.c: Likewise.
13164 * soft-fp/floatunditf.c: Likewise.
13165 * soft-fp/floatunsidf.c: Likewise.
13166 * soft-fp/floatunsisf.c: Likewise.
13167 * soft-fp/floatunsitf.c: Likewise.
13168 * soft-fp/floatuntidf.c: Likewise.
13169 * soft-fp/floatuntisf.c: Likewise.
13170 * soft-fp/floatuntitf.c: Likewise.
13171 * soft-fp/fmadf4.c: Likewise.
13172 * soft-fp/fmasf4.c: Likewise.
13173 * soft-fp/fmatf4.c: Likewise.
13174 * soft-fp/gedf2.c: Likewise.
13175 * soft-fp/gesf2.c: Likewise.
13176 * soft-fp/getf2.c: Likewise.
13177 * soft-fp/ledf2.c: Likewise.
13178 * soft-fp/lesf2.c: Likewise.
13179 * soft-fp/letf2.c: Likewise.
13180 * soft-fp/muldf3.c: Likewise.
13181 * soft-fp/mulsf3.c: Likewise.
13182 * soft-fp/multf3.c: Likewise.
13183 * soft-fp/negdf2.c: Likewise.
13184 * soft-fp/negsf2.c: Likewise.
13185 * soft-fp/negtf2.c: Likewise.
13186 * soft-fp/op-1.h: Likewise.
13187 * soft-fp/op-2.h: Likewise.
13188 * soft-fp/op-4.h: Likewise.
13189 * soft-fp/op-8.h: Likewise.
13190 * soft-fp/op-common.h: Likewise.
13191 * soft-fp/quad.h: Likewise.
13192 * soft-fp/single.h: Likewise.
13193 * soft-fp/soft-fp.h: Likewise.
13194 * soft-fp/sqrtdf2.c: Likewise.
13195 * soft-fp/sqrtsf2.c: Likewise.
13196 * soft-fp/sqrttf2.c: Likewise.
13197 * soft-fp/subdf3.c: Likewise.
13198 * soft-fp/subsf3.c: Likewise.
13199 * soft-fp/subtf3.c: Likewise.
13200 * soft-fp/truncdfsf2.c: Likewise.
13201 * soft-fp/trunctfdf2.c: Likewise.
13202 * soft-fp/trunctfsf2.c: Likewise.
13203 * soft-fp/trunctfxf2.c: Likewise.
13204 * soft-fp/unorddf2.c: Likewise.
13205 * soft-fp/unordsf2.c: Likewise.
13206 * soft-fp/unordtf2.c: Likewise.
13208 2013-10-15 Joseph Myers <joseph@codesourcery.com>
13210 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
13211 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
13213 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
13215 * elf/dl-libc.c: Clear initfini list after freeing.
13217 2013-10-14 Joseph Myers <joseph@codesourcery.com>
13219 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
13220 * soft-fp/addsf3.c: Likewise.
13221 * soft-fp/addtf3.c: Likewise.
13222 * soft-fp/divdf3.c: Likewise.
13223 * soft-fp/divsf3.c: Likewise.
13224 * soft-fp/divtf3.c: Likewise.
13225 * soft-fp/double.h: Likewise.
13226 * soft-fp/eqdf2.c: Likewise.
13227 * soft-fp/eqsf2.c: Likewise.
13228 * soft-fp/eqtf2.c: Likewise.
13229 * soft-fp/extenddftf2.c: Likewise.
13230 * soft-fp/extended.h: Likewise.
13231 * soft-fp/extendsfdf2.c: Likewise.
13232 * soft-fp/extendsftf2.c: Likewise.
13233 * soft-fp/extendxftf2.c: Likewise.
13234 * soft-fp/fixdfdi.c: Likewise.
13235 * soft-fp/fixdfsi.c: Likewise.
13236 * soft-fp/fixdfti.c: Likewise.
13237 * soft-fp/fixsfdi.c: Likewise.
13238 * soft-fp/fixsfsi.c: Likewise.
13239 * soft-fp/fixsfti.c: Likewise.
13240 * soft-fp/fixtfdi.c: Likewise.
13241 * soft-fp/fixtfsi.c: Likewise.
13242 * soft-fp/fixtfti.c: Likewise.
13243 * soft-fp/fixunsdfdi.c: Likewise.
13244 * soft-fp/fixunsdfsi.c: Likewise.
13245 * soft-fp/fixunsdfti.c: Likewise.
13246 * soft-fp/fixunssfdi.c: Likewise.
13247 * soft-fp/fixunssfsi.c: Likewise.
13248 * soft-fp/fixunssfti.c: Likewise.
13249 * soft-fp/fixunstfdi.c: Likewise.
13250 * soft-fp/fixunstfsi.c: Likewise.
13251 * soft-fp/fixunstfti.c: Likewise.
13252 * soft-fp/floatdidf.c: Likewise.
13253 * soft-fp/floatdisf.c: Likewise.
13254 * soft-fp/floatditf.c: Likewise.
13255 * soft-fp/floatsidf.c: Likewise.
13256 * soft-fp/floatsisf.c: Likewise.
13257 * soft-fp/floatsitf.c: Likewise.
13258 * soft-fp/floattidf.c: Likewise.
13259 * soft-fp/floattisf.c: Likewise.
13260 * soft-fp/floattitf.c: Likewise.
13261 * soft-fp/floatundidf.c: Likewise.
13262 * soft-fp/floatundisf.c: Likewise.
13263 * soft-fp/floatunsidf.c: Likewise.
13264 * soft-fp/floatunsisf.c: Likewise.
13265 * soft-fp/floatuntidf.c: Likewise.
13266 * soft-fp/floatuntisf.c: Likewise.
13267 * soft-fp/floatuntitf.c: Likewise.
13268 * soft-fp/fmadf4.c: Likewise.
13269 * soft-fp/fmasf4.c: Likewise.
13270 * soft-fp/fmatf4.c: Likewise.
13271 * soft-fp/gedf2.c: Likewise.
13272 * soft-fp/gesf2.c: Likewise.
13273 * soft-fp/getf2.c: Likewise.
13274 * soft-fp/ledf2.c: Likewise.
13275 * soft-fp/lesf2.c: Likewise.
13276 * soft-fp/letf2.c: Likewise.
13277 * soft-fp/muldf3.c: Likewise.
13278 * soft-fp/mulsf3.c: Likewise.
13279 * soft-fp/multf3.c: Likewise.
13280 * soft-fp/negdf2.c: Likewise.
13281 * soft-fp/negsf2.c: Likewise.
13282 * soft-fp/negtf2.c: Likewise.
13283 * soft-fp/op-1.h: Likewise.
13284 * soft-fp/op-2.h: Likewise.
13285 * soft-fp/op-4.h: Likewise.
13286 * soft-fp/op-8.h: Likewise.
13287 * soft-fp/op-common.h: Likewise.
13288 * soft-fp/quad.h: Likewise.
13289 * soft-fp/single.h: Likewise.
13290 * soft-fp/soft-fp.h: Likewise.
13291 * soft-fp/sqrtdf2.c: Likewise.
13292 * soft-fp/sqrtsf2.c: Likewise.
13293 * soft-fp/sqrttf2.c: Likewise.
13294 * soft-fp/subdf3.c: Likewise.
13295 * soft-fp/subsf3.c: Likewise.
13296 * soft-fp/subtf3.c: Likewise.
13297 * soft-fp/truncdfsf2.c: Likewise.
13298 * soft-fp/trunctfdf2.c: Likewise.
13299 * soft-fp/trunctfsf2.c: Likewise.
13300 * soft-fp/trunctfxf2.c: Likewise.
13301 * soft-fp/unorddf2.c: Likewise.
13302 * soft-fp/unordsf2.c: Likewise.
13303 * soft-fp/unordtf2.c: Likewise.
13305 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
13308 * misc/error.c (error_tail): Fix possible buffer overflow.
13310 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
13313 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
13316 2013-10-14 P. J. McDermott <pj@pehjota.net>
13319 * elf/ldd.bash.in (try_trace): New function. Delete previous code
13320 testing pipefail option.
13322 2013-10-12 Joseph Myers <joseph@codesourcery.com>
13324 * soft-fp/double.h: Indent preprocessor directives inside #if.
13325 * soft-fp/extended.h: Likewise.
13326 * soft-fp/op-2.h: Likewise.
13327 * soft-fp/op-4.h: Likewise.
13328 * soft-fp/op-common.h: Likewise.
13329 * soft-fp/quad.h: Likewise.
13330 * soft-fp/single.h: Likewise.
13331 * soft-fp/soft-fp.h: Likewise.
13333 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
13335 * iconv/iconv_prog.c: Fix typos.
13336 * stdio-common/psiginfo-data.h: Likewise.
13338 2013-10-12 Reuben Thomas <rrt@sc3d.org>
13341 * locale/setlocale.c: Fix typo.
13343 2013-10-12 Joseph Myers <joseph@codesourcery.com>
13346 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
13347 signaling NaN arguments.
13348 * soft-fp/unordsf2.c (__unordsf2): Likewise.
13349 * soft-fp/unordtf2.c (__unordtf2): Likewise.
13352 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
13353 unordered operands.
13354 * soft-fp/gesf2.c (__gesf2): Likewise.
13355 * soft-fp/getf2.c (__getf2): Likewise.
13356 * soft-fp/ledf2.c (__ledf2): Likewise.
13357 * soft-fp/lesf2.c (__lesf2): Likewise.
13358 * soft-fp/letf2.c (__letf2): Likewise.
13360 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
13361 * soft-fp/eqsf2.c (__eqsf2): Likewise.
13362 * soft-fp/eqtf2.c (__eqtf2): Likewise.
13363 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
13364 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
13365 * soft-fp/fixdfti.c (__fixdfti): Likewise.
13366 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
13367 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
13368 * soft-fp/fixsfti.c (__fixsfti): Likewise.
13369 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
13370 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
13371 * soft-fp/fixtfti.c (__fixtfti): Likewise.
13372 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
13373 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
13374 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
13375 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
13376 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
13377 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
13378 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
13379 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
13380 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
13381 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
13382 * soft-fp/floatdisf.c (__floatdisf): Likewise.
13383 * soft-fp/floatsisf.c (__floatsisf): Likewise.
13384 * soft-fp/floattidf.c (__floattidf): Likewise.
13385 * soft-fp/floattisf.c (__floattisf): Likewise.
13386 * soft-fp/floattitf.c (__floattitf): Likewise.
13387 * soft-fp/floatundidf.c (__floatundidf): Likewise.
13388 * soft-fp/floatundisf.c (__floatundisf): Likewise.
13389 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
13390 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
13391 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
13392 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
13393 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
13394 * soft-fp/gesf2.c (__gesf2): Likewise.
13395 * soft-fp/getf2.c (__getf2): Likewise.
13396 * soft-fp/ledf2.c (__ledf2): Likewise.
13397 * soft-fp/lesf2.c (__lesf2): Likewise.
13398 * soft-fp/letf2.c (__letf2): Likewise.
13400 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
13401 Undefine and redefine.
13402 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
13403 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
13404 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
13405 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
13406 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13407 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
13408 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13409 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
13410 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13411 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
13412 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13413 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
13414 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13415 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
13416 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13419 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
13420 without decrementing exponent if mantissa >= that for the
13421 denominator, not >.
13422 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
13423 denominator, not >. Decrement exponent in < case instead of
13424 incrementing in >= case.
13425 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
13426 without decrementing exponent if mantissa >= that for the
13427 denominator, not >.
13429 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
13430 computing saturated result for unsigned overflow.
13432 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13433 Jeff Law <law@redhat.com>
13435 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
13436 (atan2Mp): Add systemtap probe marker.
13437 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
13438 (__ieee754_log): Add systemtap probe marker.
13439 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
13440 (atanMp): Add systemtap probe marker.
13441 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
13442 (tanMp): Add systemtap probe marker.
13443 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
13444 (__slowexp): Add systemtap probe marker.
13445 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
13446 (__slowpow): Add systemtap probe marker.
13447 * manual/probes.texi: Document probes.
13449 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
13452 * libio/fileops.c (_IO_new_file_write): Return count of bytes
13454 (_IO_new_file_xsputn): Don't return EOF if nothing has been
13456 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
13457 written to buffer but not flushed.
13458 * libio/iofwrite_u.c: Likewise.
13459 * libio/iopadn.c: Return bytes returned even if EOF was
13461 * libio/iowpadn.c: Likewise.
13462 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
13463 if _IO_padn does not write the whole buffer.
13464 [!COMPILE_WPRINTF] (PAD): Likewise.
13466 2013-10-10 David S. Miller <davem@davemloft.net>
13468 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
13471 2013-10-10 Joseph Myers <joseph@codesourcery.com>
13473 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
13474 instead of FSF address.
13475 * soft-fp/fixdfti.c: Likewise.
13476 * soft-fp/fixsfti.c: Likewise.
13477 * soft-fp/fixtfti.c: Likewise.
13478 * soft-fp/fixunsdfti.c: Likewise.
13479 * soft-fp/fixunssfti.c: Likewise.
13480 * soft-fp/fixunstfti.c: Likewise.
13481 * soft-fp/floattidf.c: Likewise.
13482 * soft-fp/floattisf.c: Likewise.
13483 * soft-fp/floattitf.c: Likewise.
13484 * soft-fp/floatuntidf.c: Likewise.
13485 * soft-fp/floatuntisf.c: Likewise.
13486 * soft-fp/floatuntitf.c: Likewise.
13487 * soft-fp/trunctfxf2.c: Likewise.
13489 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
13490 * soft-fp/fixdfti.c: Likewise.
13491 * soft-fp/fixsfti.c: Likewise.
13492 * soft-fp/fixtfti.c: Likewise.
13493 * soft-fp/fixunsdfti.c: Likewise.
13494 * soft-fp/fixunssfti.c: Likewise.
13495 * soft-fp/fixunstfti.c: Likewise.
13496 * soft-fp/floattidf.c: Likewise.
13497 * soft-fp/floattisf.c: Likewise.
13498 * soft-fp/floattitf.c: Likewise.
13499 * soft-fp/floatuntidf.c: Likewise.
13500 * soft-fp/floatuntisf.c: Likewise.
13501 * soft-fp/floatuntitf.c: Likewise.
13502 * soft-fp/trunctfxf2.c: Likewise.
13504 2013-10-10 David S. Miller <davem@davemloft.net>
13506 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13508 2013-10-10 Joseph Myers <joseph@codsourcery.com>
13510 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13511 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
13512 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
13513 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
13514 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
13515 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
13516 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
13518 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
13519 for NaNs before doing comparisons on argument.
13520 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13523 2013-10-10 Will Newton <will.newton@linaro.org>
13525 * malloc/hooks.c (memalign_check): Ensure the value of bytes
13526 passed to _int_memalign does not overflow.
13528 2013-10-10 Torvald Riegel <triegel@redhat.com>
13530 * scripts/bench.pl: Add include-sources directive.
13531 * benchtests/README: Update documentation.
13533 2013-10-10 Joseph Myers <joseph@codesourcery.com>
13535 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
13536 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
13537 instead of FP_INIT_ROUNDMODE.
13538 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
13539 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
13542 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
13543 copy class of input value.
13544 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
13545 not handle exceptions.
13546 * soft-fp/negsf2.c (__negsf2): Likewise.
13547 * soft-fp/negtf2.c (__negtf2): Likewise.
13548 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
13550 2013-10-09 Joseph Myers <joseph@codesourcery.com>
13552 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
13553 semicolon. From Linux kernel.
13555 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
13557 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
13559 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
13562 * manual/socket.texi: Added statement about buffer
13563 for gethostbyname2_r.
13565 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
13567 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
13568 Use .p2align directive instead, throughout.
13569 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13570 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13571 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13572 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13573 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13574 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13575 * sysdeps/x86_64/strchr.S: Likewise.
13576 * sysdeps/x86_64/strrchr.S: Likewise.
13578 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13580 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
13582 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
13584 * sysdeps/generic/math_private.h (__mpsin1): Remove
13586 (__mpcos1): Likewise.
13587 (__mpsin): New argument __range_reduce.
13588 (__mpcos): Likewise.
13589 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13590 (slow): Use __mpsin and __mpcos.
13594 (sloww1): Likewise.
13595 (sloww2): Likewise.
13596 (bsloww): Likewise.
13597 (bsloww1): Likewise.
13598 (bsloww2): Likewise.
13599 (cslow2): Likewise.
13600 (csloww): Likewise.
13601 (csloww1): Likewise.
13602 (csloww2): Likewise.
13603 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
13604 range_reduce. Merge in __mpsin1.
13605 (__mpcos): Likewise.
13606 (__mpsin1): Remove.
13607 (__mpcos1): Likewise.
13609 2013-10-07 Joseph Myers <joseph@codesourcery.com>
13611 * locale/loadlocale.c (_nl_intern_locale_data): Use
13613 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
13614 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
13615 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
13616 obstack data is appropriately aligned.
13617 (obstack_int32_grow_fast): Likewise.
13618 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
13619 * locale/programs/locfile.c (add_locale_uint32): Likewise.
13620 (add_locale_uint32_array): Likewise.
13622 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13624 * benchtests/Makefile: Remove ARGLIST and RET variables.
13625 ($(objpfx)bench-%.c): Pass only function name to the script.
13626 * benchtests/README: Update documentation.
13627 * benchtests/acos-inputs: Add new directives.
13628 * benchtests/acosh-inputs: Likewise.
13629 * benchtests/asin-inputs: Likewise.
13630 * benchtests/asinh-inputs: Likewise.
13631 * benchtests/atan-inputs: Likewise.
13632 * benchtests/atanh-inputs: Likewise.
13633 * benchtests/cos-inputs: Likewise.
13634 * benchtests/cosh-inputs: Likewise.
13635 * benchtests/exp-inputs: Likewise.
13636 * benchtests/log-inputs: Likewise.
13637 * benchtests/pow-inputs: Likewise.
13638 * benchtests/rint-inputs: Likewise.
13639 * benchtests/sin-inputs: Likewise.
13640 * benchtests/sinh-inputs: Likewise.
13641 * benchtests/tan-inputs: Likewise.
13642 * benchtests/tanh-inputs: Likewise.
13643 * scripts/bench.pl: Add support for new directives.
13645 2013-10-07 Alan Modra <amodra@gmail.com>
13647 * README: Fix careless merge.
13649 2013-10-05 Alan Modra <amodra@gmail.com>
13651 * NEWS: Mention powerpc64le support and bugs fixed.
13652 * README: Both big-endian and little-endian powerpc64 supported.
13654 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13656 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
13657 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
13658 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
13659 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
13661 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
13663 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
13666 2013-10-04 Joseph Myers <joseph@codesourcery.com>
13668 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
13669 Move -mhard-float appending from
13670 ports/sysdeps/powerpc/powerpc32/Makefile.
13671 [$(with-fp) = yes] (ASFLAGS): Likewise.
13672 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
13673 * sysdeps/powerpc/nofpu: Move directory from
13674 ports/sysdeps/powerpc/nofpu.
13675 * sysdeps/powerpc/soft-fp: Move directory from
13676 ports/sysdeps/powerpc/soft-fp.
13677 * sysdeps/powerpc/powerpc32/405: Move directory from
13678 ports/sysdeps/powerpc/powerpc32/405.
13679 * sysdeps/powerpc/powerpc32/440: Move directory from
13680 ports/sysdeps/powerpc/powerpc32/440.
13681 * sysdeps/powerpc/powerpc32/464: Move directory from
13682 ports/sysdeps/powerpc/powerpc32/464.
13683 * sysdeps/powerpc/powerpc32/476: Move directory from
13684 ports/sysdeps/powerpc/powerpc32/476.
13685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
13686 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
13687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
13688 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
13689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
13690 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
13691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
13692 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
13693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
13694 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
13695 * README: Update for powerpc-*-linux-gnu software floating point
13698 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
13699 case to powerpc/powerpc32*.
13700 * sysdeps/unix/sysv/linux/configure: Regenerated.
13702 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
13703 (_FPU_MASK_OM): Define as 0x04.
13704 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
13705 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
13707 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
13709 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
13711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
13712 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
13715 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
13718 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
13719 and setcontext_e500.
13721 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
13723 * locale/iso-3166.def: Update iso-1366.def and related occurrences
13725 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13727 * manual/threads.texi (Default Thread Attributes): Fix typo.
13729 2013-10-04 Will Newton <will.newton@linaro.org>
13731 * malloc/Makefile: Add tst-memalign.
13732 * malloc/tst-memalign.c: New file.
13734 * malloc/tst-posix_memalign.c: Add comments.
13735 (do_test): Add comments and call free on all potentially
13736 allocated pointers. Add space after cast.
13738 * malloc/tst-pvalloc.c: Add comments.
13739 (do_test): Add comments and call free on all potentially
13740 allocated pointers. Remove duplicate check for NULL pointer.
13741 Add space after cast.
13743 * malloc/tst-valloc.c: Add comments.
13744 (do_test): Add comments and call free on all potentially
13745 allocated pointers. Remove duplicate check for NULL pointer.
13746 Add space after cast.
13748 2013-10-04 Alan Modra <amodra@gmail.com>
13750 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13751 Use stdint types in rather than __attribute__((mode())).
13752 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13754 2013-10-04 Alan Modra <amodra@gmail.com>
13756 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13757 Correct handling of unaligned relocs for little-endian.
13758 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13760 2013-10-04 Alan Modra <amodra@gmail.com>
13762 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
13763 * configure: Regenerate.
13764 * nptl/shlib-versions: Powerpc*le starts at 2.18.
13765 * shlib-versions: Likewise.
13767 2013-10-04 Alan Modra <amodra@gmail.com>
13769 * string/tester.c (test_memrchr): Increment reported test cycle.
13771 2013-10-04 Alan Modra <amodra@gmail.com>
13773 * string/test-memcpy.c (do_one_test): When reporting errors, print
13774 string address and don't overrun end of string.
13776 2013-10-04 Alan Modra <amodra@gmail.com>
13778 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
13779 insrdi. Make better use of reg selection to speed exit slightly.
13780 Schedule entry path a little better. Remove useless "are we done"
13781 checks on entry to main loop. Handle wrapping around zero address.
13782 Correct main loop count. Handle single left-over word from main
13783 loop inline rather than by using loop_small. Remove extra word
13784 case in loop_small caused by wrong loop count. Add little-endian
13786 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13787 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
13789 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13790 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
13791 support. Avoid rlwimi.
13792 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
13794 2013-10-04 Alan Modra <amodra@gmail.com>
13796 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
13797 insrdi. Formatting.
13798 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
13799 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13800 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13801 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13802 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13803 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
13805 2013-10-04 Alan Modra <amodra@gmail.com>
13807 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
13808 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13809 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13810 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
13811 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13812 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13813 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13814 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13815 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
13816 use of regs. Use power7 mtocrf. Tidy function tails.
13818 2013-10-04 Alan Modra <amodra@gmail.com>
13820 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
13821 Formatting. Consistently use rXXX register defines or rN defines.
13822 Use early exit labels that avoid restoring unused non-volatile regs.
13823 Make cr field use more consistent with rWORDn compares. Rename
13824 regs used as shift registers for unaligned loop, using rN defines
13825 for short lifetime/multiple use regs.
13826 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13827 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
13828 addi 1,1,64 to pop stack frame. Simplify return value code.
13829 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13831 2013-10-04 Alan Modra <amodra@gmail.com>
13833 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
13834 support. Correct typos, formatting. Optimize tail. Use insrdi
13835 rather than rlwimi.
13836 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
13837 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
13838 little-endian support. Correct typos.
13839 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
13840 rather than rlwimi.
13841 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
13842 in loop and entry code to keep "and." results.
13843 (strchr): Add little-endian support. Comment. Move cntlzd
13845 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
13847 2013-10-04 Alan Modra <amodra@gmail.com>
13849 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
13850 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
13851 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13852 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
13854 2013-10-04 Alan Modra <amodra@gmail.com>
13856 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
13857 (rTMP): Define as r11.
13858 (strcmp): Add little-endian support. Optimise tail.
13859 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
13860 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13861 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13862 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13863 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13864 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13865 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13867 2013-10-04 Alan Modra <amodra@gmail.com>
13869 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
13870 little-endian support. Remove unnecessary "are we done" tests.
13871 Handle "s" wrapping around zero and extremely large "size".
13872 Correct main loop count. Handle single left-over word from main
13873 loop inline rather than by using small_loop. Correct comments.
13874 Delete "zero" tail, use "end_max" instead.
13875 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
13877 2013-10-04 Alan Modra <amodra@gmail.com>
13879 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
13880 support. Don't branch over align.
13881 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
13882 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
13883 support. Rearrange tmp reg use to suit. Comment.
13884 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
13886 2013-10-04 Alan Modra <amodra@gmail.com>
13888 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
13890 2013-10-04 Alan Modra <amodra@gmail.com>
13892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
13893 conditional form of branch and link when obtaining pc.
13894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13896 2013-10-04 Alan Modra <amodra@gmail.com>
13898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
13900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
13901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
13903 2013-10-04 Alan Modra <amodra@gmail.com>
13905 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
13906 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
13907 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13908 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
13909 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13910 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13911 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
13912 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13913 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13914 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
13916 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13917 Alistair Popple <alistair@ozlabs.au.ibm.com>
13918 Alan Modra <amodra@gmail.com>
13921 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
13922 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
13923 _dl_hwcap access for little-endian.
13924 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
13925 destroy vmx regs when saving unaligned.
13926 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
13927 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
13928 destroy vmx regs when saving unaligned.
13930 2013-10-04 Alan Modra <amodra@gmail.com>
13932 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
13933 Don't use a union to pack hi/low value.
13935 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13937 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
13939 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13940 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
13941 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13942 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13943 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13945 2013-10-04 Alan Modra <amodra@gmail.com>
13947 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
13948 constants to usual value for .cst8 section, and remove redundant
13950 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
13951 constant for 0x1p52. Load little-endian words of double from
13952 correct stack offsets.
13954 2013-10-04 Alan Modra <amodra@gmail.com>
13956 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
13957 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
13958 words of double from correct stack offsets.
13959 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13960 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
13961 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13962 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13963 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13964 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13965 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13966 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13967 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13968 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13969 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13970 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13971 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13972 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13973 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13974 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
13975 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13977 2013-10-04 Alan Modra <amodra@gmail.com>
13979 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
13980 64-bit int/double union.
13981 (_FPU_SETCW): Likewise.
13982 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
13983 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
13985 2013-10-04 Alan Modra <amodra@gmail.com>
13987 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
13988 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
13990 2013-10-04 Alan Modra <amodra@gmail.com>
13992 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
13993 use vector int constants.
13994 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
13996 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13998 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
13999 array with long long.
14000 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14001 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14002 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14003 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14004 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14005 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14006 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14007 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14008 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14009 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14010 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14011 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14012 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14014 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14016 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14017 (__signbit): Likewise. Correct for little-endian.
14018 (__signbitl): Call __signbit.
14019 (lrint): Correct for little-endian.
14020 (lrintf): Call lrint.
14022 2013-10-04 Alan Modra <amodra@gmail.com>
14024 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14025 union 32-bit int array member with 64-bit int array.
14026 (t515, tm256): Double rather than long double.
14027 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14029 2013-10-04 Alan Modra <amodra@gmail.com>
14031 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14033 (IEEE854_LONG_DOUBLE_BIAS): Delete.
14034 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14035 version of math_ldbl.h.
14037 2013-10-04 Alan Modra <amodra@gmail.com>
14039 [BZ #15734], [BZ #15735]
14040 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14041 all uses of ieee875 long double macros and unions. Simplify test
14042 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
14043 ldbl_extract_mantissa value for ix,iy exponents. Properly
14044 normalize after ldbl_extract_mantissa, and don't add hidden bit
14045 already handled. Don't treat low word of ieee854 mantissa like
14046 low word of IBM long double and mask off bit when testing for
14048 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14049 all uses of ieee875 long double macros and unions. Simplify tests
14050 for 0.0L and inf. Correct double adjustment of k. Delete dead code
14051 adjusting ha,hb. Simplify code setting kld. Delete two600 and
14052 two1022, instead use their values. Recognise that tests for large
14053 "a" and small "b" are mutually exclusive. Rename vars. Comment.
14054 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14055 Rewrite all uses of ieee875 long double macros and unions. Simplify
14056 test for 0.0L and nan. Correct negation.
14057 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14058 ieee875 long double macros and unions. Correct output for large
14059 magnitude x. Correct absolute value calculation.
14060 (__erfcl): Likewise.
14061 * math/libm-test.inc: Add tests for errors discovered in IBM long
14062 double versions of fmodl, remainderl, erfl and erfcl.
14064 2013-10-04 Alan Modra <amodra@gmail.com>
14066 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14067 all uses of ieee854 long double macros and unions. Simplify tests
14068 for long doubles that are fully specified by the high double.
14069 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14071 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14072 Remove dead code too.
14073 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14074 (__ieee754_ynl): Likewise.
14075 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14076 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14077 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14078 Remove dead code too.
14079 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14080 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14081 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14082 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14084 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14086 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14087 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14088 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14089 Comment on variable precision.
14090 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14091 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14093 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14094 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14095 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14096 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14097 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
14099 2013-10-04 Alan Modra <amodra@gmail.com>
14101 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
14102 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
14103 all uses of ieee854 long double macros and unions.
14104 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14105 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14106 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
14107 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
14108 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
14109 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14111 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
14112 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14113 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
14114 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14115 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14116 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14117 Simplify sign and nan test too.
14118 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
14119 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14120 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
14121 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14123 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14124 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
14126 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14127 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14128 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
14129 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
14130 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
14131 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
14133 2013-10-04 Alan Modra <amodra@gmail.com>
14135 * stdio-common/printf_size.c (__printf_size): Don't use
14136 union ieee854_long_double in fpnum union.
14137 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
14138 signbit macro to retrieve sign from long double.
14139 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
14140 retrieve sign from long double.
14141 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
14142 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
14143 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
14144 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14145 * math/test-misc.c (main): Don't use union ieee854_long_double.
14147 2013-10-04 Alan Modra <amodra@gmail.com>
14150 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
14151 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
14152 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
14153 calculation. Remove unnecessary test for denormal exponent.
14154 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
14155 Correct handling of denormals. Avoid undefined shift behaviour.
14156 Correct normalisation of low mantissa when low double is denormal.
14157 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
14158 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
14159 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
14160 Correct normalisation of low mantissa. Test for overflow of high
14161 mantissa and normalise.
14162 (ldbl_nearbyint): Use more readable constant for two52.
14163 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
14164 (__mpn_construct_long_double): Fix test for overflow of high
14165 mantissa and correct normalisation. Avoid undefined shift.
14167 2013-10-04 Alan Modra <amodra@gmail.com>
14169 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14170 (union ibm_extended_long_double): Define as an array of ieee754_double.
14171 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
14172 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
14173 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
14174 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14175 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14176 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
14177 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14178 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14179 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14180 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
14181 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14183 2013-10-03 Joseph Myers <joseph@codesourcery.com>
14185 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
14186 page size instead of calling getpagesize.
14188 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
14189 (LOCFILE_ALIGN_MASK): Likewise.
14190 (LOCFILE_ALIGN_UP): Likewise.
14191 (LOCFILE_ALIGNED_P): Likewise.
14192 * locale/programs/ld-collate.c (collate_output): Use the new
14193 macros instead of __alignof__ (int32_t).
14194 * locale/weight.h (findidx): Likewise.
14196 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
14199 * manual/string.texi: Fix strncat and wcsncat.
14201 2013-10-03 Brooks Moses <bmoses@google.com>
14204 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
14205 * Makerules: ...here, and adjust associated comments.
14207 2013-10-02 Will Newton <will.newton@linaro.org>
14209 * malloc/Makefile: Add tst-pvalloc.
14210 * malloc/tst-pvalloc.c: New file.
14212 2013-10-02 Will Newton <will.newton@linaro.org>
14214 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
14215 improve test coverage.
14217 2013-10-02 Will Newton <will.newton@linaro.org>
14219 * malloc/Makefile: Add tst-posix_memalign.
14220 * malloc/tst-posix_memalign.c: New file.
14222 2013-10-01 Eric Blake <eblake@redhat.com>
14224 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
14225 Use __THROWNL rather than __THROW on static functions.
14227 2013-09-30 Petr Machata <pmachata@redhat.com>
14229 * elf/elf.h (R_AARCH64_ABS16): New macro.
14230 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
14231 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
14232 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
14233 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
14234 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
14235 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
14236 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
14237 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
14238 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
14239 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
14240 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
14241 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
14242 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
14243 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
14244 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
14245 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
14246 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
14247 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
14248 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
14249 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
14250 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
14251 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
14252 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
14253 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
14254 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
14255 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
14256 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
14257 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
14258 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
14259 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
14260 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
14261 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
14262 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
14263 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
14264 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
14265 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
14266 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
14267 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
14268 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
14269 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
14270 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
14271 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
14272 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
14273 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
14274 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
14275 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
14276 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
14277 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
14278 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
14279 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
14280 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
14281 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
14282 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
14283 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
14284 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
14285 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
14286 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
14287 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
14288 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
14289 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
14290 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
14291 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
14292 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
14293 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
14294 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
14295 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
14296 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
14297 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
14298 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
14299 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
14300 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
14301 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
14302 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
14303 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
14304 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
14305 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
14306 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
14307 (R_AARCH64_TLSDESC_LDR): Likewise.
14308 (R_AARCH64_TLSDESC_ADD): Likewise.
14309 (R_AARCH64_TLSDESC_CALL): Likewise.
14311 2013-09-30 Andreas Schwab <schwab@suse.de>
14314 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
14315 the nss database lookup.
14316 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14317 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14319 2013-09-28 Mike Frysinger <vapier@gentoo.org>
14321 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
14323 2013-09-28 P. J. McDermott <pj@pehjota.net>
14325 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
14326 ${Bash-specific parameter/pattern/string} parameter expansion.
14327 * sysdeps/unix/make-syscalls.sh: Likewise.
14329 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14331 * sysdeps/sh/stackguard-macros.h: New file.
14333 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
14335 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14336 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
14337 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
14338 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
14339 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14340 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
14342 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14344 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
14345 Fix thread ID register.
14347 2013-09-25 Joseph Myers <joseph@codesourcery.com>
14349 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
14350 [POSIX || UNIX98]: Require rather than permitting all symbols from
14352 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
14353 element of struct sched_param.
14354 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
14355 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
14356 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
14357 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
14360 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
14362 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
14363 argument calculation.
14365 2013-09-24 Joseph Myers <joseph@codesourcery.com>
14367 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
14369 [POSIX] (pthread_attr_t): Do not require type.
14370 [POSIX] (pthread_cond_t): Likewise.
14371 [POSIX] (pthread_condattr_t): Likewise.
14372 [POSIX] (pthread_key_t): Likewise.
14373 [POSIX] (pthread_mutex_t): Likewise.
14374 [POSIX] (pthread_mutexattr_t): Likewise.
14375 [POSIX] (pthread_once_t): Likewise.
14376 [POSIX] (pthread_t): Likewise.
14377 [POSIX-based standards] (pthread_atfork): Expect function.
14379 2013-09-24 Joseph Myers <joseph@codesourcery.com>
14380 Richard Sandiford <richard@codesourcery.com>
14382 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
14383 (swap_endianness_p): New extern variable.
14384 (set_big_endian): New inline function.
14385 (maybe_swap_uint32): Likewise.
14386 (maybe_swap_uint32_array): Likewise.
14387 (maybe_swap_uint32_obstack): Likewise.
14388 * locale/programs/locfile.c: Include <stdbool.h>.
14389 (swap_endianness_p): New variable.
14390 (add_locale_uint32): Call maybe_swap_uint32.
14391 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
14392 (write_locale_data): Call maybe_swap_uint32_array.
14393 * locale/programs/ld-collate.c (obstack_int32_grow): Call
14395 (obstack_int32_grow_fast): Likewise.
14396 (output_weightwc): Call maybe_swap_uint32_obstack.
14397 (collate_output): Likewise.
14398 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
14399 (OPT_LITTLE_ENDIAN): Likewise.
14400 (options): Add --little-endian and --big-endian options.
14401 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
14402 * locale/programs/locarchive.c: Include "locfile.h".
14406 (create_archive): Use the new macros to access fields of
14407 structures directly mapped from or written to locale archives.
14408 (oldlocrecentcmp): Likewise.
14409 (enlarge_archive): Likewise.
14410 (insert_name): Likewise.
14411 (add_alias): Likewise.
14412 (add_locale): Likewise.
14413 (delete_locales_from_archive): Likewise.
14414 (show_archive_content): Likewise.
14415 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
14418 2013-09-24 Roland McGrath <roland@hack.frob.com>
14420 * manual/freemanuals.texi: Updated from (newly) canonical copy at
14421 http://www.gnu.org/doc/freemanuals.texi.
14422 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
14424 2013-09-24 Will Newton <will.newton@linaro.org>
14426 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
14429 2013-09-23 Joseph Myers <joseph@codesourcery.com>
14431 * locale/hashval.h (compute_hashval): Interpret bytes of key as
14434 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
14436 * manual/threads.texi (POSIX Threads): Fix a typo.
14438 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14441 * string/tst-strcoll-overflow.c: New test case.
14442 * string/Makefile (xtests): Add tst-strcoll-overflow.
14443 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
14444 cache if string sizes may cause integer overflow.
14447 * string/strcoll_l.c (coll_seq): New members rule, idx,
14448 save_idx and back_us.
14449 (get_next_seq_nocache): New function.
14450 (do_compare_nocache): New function.
14451 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
14454 2013-09-23 Carlos O'Donell <carlos@redhat.com>
14457 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
14458 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
14459 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
14462 * elf/Makefile (tests): Add tst-ptrguard1.
14463 (tests-static): Add tst-ptrguard1-static.
14464 (tst-ptrguard1-ARGS): Define.
14465 (tst-ptrguard1-static-ARGS): Define.
14466 * elf/tst-ptrguard1.c: New file.
14467 * elf/tst-ptrguard1-static.c: New file.
14468 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
14469 * sysdeps/i386/stackguard-macros.h: Likewise.
14470 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14471 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14472 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14473 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14474 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14475 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14477 2013-09-23 Hector Marco <hecmargi@upv.es>
14478 Ismael Ripoll <iripoll@disca.upv.es>
14479 Carlos O'Donell <carlos@redhat.com>
14482 * sysdeps/generic/stackguard-macros.h: Define
14483 __pointer_chk_guard_local and POINTER_CHK_GUARD.
14484 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
14485 Define __pointer_chk_guard_local.
14486 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
14487 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
14489 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
14492 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
14494 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
14496 * include/string.h (__ffs): Declare as hidden.
14497 * string/ffs.c (__ffs): Define as hidden.
14498 * sysdeps/i386/ffs.c (__ffs): Likewise.
14499 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14500 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
14501 * sysdeps/s390/ffs.c (__ffs): Likewise.
14502 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
14504 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
14506 * NEWS: Mention malloc probes.
14508 * malloc/arena.c (new_heap): New memory_heap_new probe.
14509 (grow_heap): New memory_heap_more probe.
14510 (shrink_heap): New memory_heap_less probe.
14511 (heap_trim): New memory_heap_free probe.
14512 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
14513 (systrim): New memory_sbrk_less probe.
14514 * manual/probes.texi: Document them.
14516 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
14517 * manual/probes.texi: Document it.
14519 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
14520 (__libc_realloc): Add memory_realloc_retry probe.
14521 (__libc_memalign): Add memory_memalign_retry probe.
14522 (__libc_valloc): Add memory_valloc_retry probe.
14523 (__libc_pvalloc): Add memory_pvalloc_retry probe.
14524 (__libc_calloc): Add memory_calloc_retry probe.
14525 * manual/probes.texi: Document them.
14527 * malloc/arena.c (get_free_list): Add probe
14528 memory_arena_reuse_free_list.
14529 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
14530 and memory_arena_reuse.
14531 (arena_get2) [!PER_THREAD]: Likewise.
14532 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
14533 memory_arena_reuse_realloc.
14534 * manual/probes.texi: Document them.
14536 * malloc/malloc.c (__libc_free): Add
14537 memory_mallopt_free_dyn_thresholds probe.
14538 (__libc_mallopt): Add multiple memory_mallopt probes.
14539 * manual/probes.texi: Document them.
14541 * malloc/malloc.c: Include stap-probe.h.
14542 (__libc_mallopt): Add memory_mallopt probe.
14543 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
14544 * manual/probes.texi: New.
14545 * manual/Makefile (chapters): Add probes.
14546 * manual/threads.texi: Set next node.
14548 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
14550 [BZ #15963, #13985]
14551 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
14552 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
14553 Add `Chinese' to `nan' entry name.
14555 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14557 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
14558 (POLYNOMIAL): Likewise.
14559 (TAYLOR_SINCOS): Likewise.
14560 (TAYLOR_SLOW): Likewise.
14561 (__sin): Use TAYLOR_SINCOS.
14563 (slow): Use TAYLOR_SLOW.
14565 (bsloww): Likewise.
14566 (csloww): Likewise.
14568 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14570 * stdlib/strtod_l.c: Fix buffer overrun.
14572 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14574 * benchtests/Makefile (bench): Add sincos.
14575 * benchtests/bench-sincos.c: New file.
14577 * math/libm-test.inc (cos_test_data): New test inputs.
14578 (sin_test_data): Likewise.
14580 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
14586 (sloww1): Likewise.
14587 (sloww2): Likewise.
14588 (bsloww1): Likewise.
14589 (bsloww2): Likewise.
14590 (cslow2): Likewise.
14591 (csloww1): Likewise.
14592 (csloww2): Likewise.
14594 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
14599 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
14603 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
14605 * config.h.in (HAVE_MIPS_NAN2008): New macro.
14606 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
14607 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
14608 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
14609 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
14610 * elf/cache.c (print_entry): Handle the new cache flags.
14612 2013-09-18 Joseph Myers <joseph@codesourcery.com>
14613 Aldy Hernandez <aldyh@redhat.com>
14615 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
14616 Change condition to [_SOFT_FLOAT].
14617 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
14618 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
14619 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
14620 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
14621 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
14622 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
14623 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
14624 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
14625 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
14626 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
14627 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
14628 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
14629 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
14630 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
14631 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
14632 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
14635 2013-09-18 Joseph Myers <joseph@codesourcery.com>
14637 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
14638 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14639 (__longjmp): Use LOAD_GP to load saved GPRs.
14640 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
14641 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14642 (__sigsetjmp): Use SAVE_GP to save GPRs.
14644 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
14645 Do not append -msoft-float.
14646 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
14648 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14650 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
14652 2013-09-17 Joseph Myers <joseph@codesourcery.com>
14655 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
14656 (_FPU_GETCW): Use initial "__" on variable and field names but not
14657 on macro parameter name.
14658 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
14659 parentheses around reference to macro parameter.
14661 2013-09-13 Richard Sandiford <richard@codesourcery.com>
14663 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
14665 (ctype_startup): Use uint32_t in cast and sizeof for
14668 2013-09-11 Jia Liu <proljc@gmail.com>
14670 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
14672 [__FreeBSD__]: Likewise.
14674 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
14676 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14677 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
14678 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
14679 (strchr): Remove __strchr_sse42 ifunc selection.
14680 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
14681 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
14683 2013-09-11 Will Newton <will.newton@linaro.org>
14685 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
14686 parameter to RES. Remove hardcoded 1000 value.
14687 * benchtests/bench-skeleton.c (main): Pass RES parameter
14688 to TIMING_INIT and multiply result by 1000.
14690 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14692 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14694 2013-09-11 Andreas Schwab <schwab@suse.de>
14696 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
14698 (O_TMPFILE) [__USE_GNU]: Define.
14699 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
14702 2013-09-11 Will Newton <will.newton@linaro.org>
14705 * malloc/malloc.c (__libc_memalign): Check the value of bytes
14708 2013-09-11 Will Newton <will.newton@linaro.org>
14711 * malloc/malloc.c (__libc_valloc): Check the value of bytes
14714 2013-09-11 Will Newton <will.newton@linaro.org>
14717 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
14720 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
14722 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
14723 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14724 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14725 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14726 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14728 2013-09-10 Allan McRae <allan@archlinux.org>
14731 * manual/arith.texi (Parsing of Floats): Clarify
14735 * manual/install.texi (Running make install): Mention
14737 * INSTALL: Regenerated.
14739 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14741 * csu/init-first.c (_init): Remove the !SHARED condition around
14742 FPU control word initialization.
14743 * elf/dl-support.c (_dl_fpu_control): New variable.
14744 (_dl_aux_init) <AT_FPUCW>: Initialize it.
14745 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
14746 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
14747 * math/test-fpucw-static.c: New file.
14748 * math/test-fpucw-ieee.c: New file.
14749 * math/test-fpucw-ieee-static.c: New file.
14750 * math/Makefile (tests): Add `test-fpucw-ieee' and
14752 (tests-static): New variable.
14753 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
14755 [($(build-shared),yes)]
14756 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
14758 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
14761 2013-09-09 Allan McRae <allan@archlinux.org>
14764 * manual/string.texi (Collation Functions): Fix typo in
14766 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
14769 * stdlib/isomac.c (get_null_defines): Fix memory leak.
14772 * libio/memstream.c (open_memstream): Fix memory leak.
14773 * libio/wmemstream.c (open_wmemstream): Likewise.
14776 * nscd/netgroupcache.c: Fix nesting of ifdefs.
14778 2013-09-09 Will Newton <will.newton@linaro.org>
14780 * malloc/Makefile: Add tst-realloc to tests.
14781 * malloc/tst-realloc.c: New file.
14783 2013-09-09 Allan McRae <allan@archlinux.org>
14786 * COPYING: Update from GNU website to fix FSF address.
14787 * COPYING.LIB: Likewise.
14789 2013-09-06 David S. Miller <davem@davemloft.net>
14791 * po/zh_TW.po: Update Chinese (traditional) translation from
14792 translation project.
14794 2013-09-06 Richard Sandiford <richard@codesourcery.com>
14795 Joseph Myers <joseph@codesourcery.com>
14797 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
14799 (obstack_chunk_alloc): New macro.
14800 (obstack_chunk_free): Likewise.
14801 (record_offset): New function.
14802 (init_locale_data): Likewise.
14803 (align_locale_data): Likewise.
14804 (add_locale_empty): Likewise.
14805 (add_locale_raw_data): Likewise.
14806 (add_locale_raw_obstack): Likewise.
14807 (add_locale_string): Likewise.
14808 (add_locale_wstring): Likewise.
14809 (add_locale_uint32): Likewise.
14810 (add_locale_uint32_array): Likewise.
14811 (add_locale_char): Likewise.
14812 (start_locale_structure): Likewise.
14813 (end_locale_structure): Likewise.
14814 (start_locale_prelude): Likewise.
14815 (end_locale_prelude): Likewise.
14816 (write_locale_data): Take locale_file structure rather than an
14818 * locale/programs/locfile.h: Include "obstack.h".
14819 (struct locale_file): Change to store locale file contents instead
14821 (init_locale_data): New prototype.
14822 (align_locale_data): Likewise.
14823 (add_locale_empty): Likewise.
14824 (add_locale_raw_data): Likewise.
14825 (add_locale_raw_obstack): Likewise.
14826 (add_locale_string): Likewise.
14827 (add_locale_wstring): Likewise.
14828 (add_locale_uint32): Likewise.
14829 (add_locale_uint32_array): Likewise.
14830 (add_locale_char): Likewise.
14831 (start_locale_structure): Likewise.
14832 (end_locale_structure): Likewise.
14833 (start_locale_prelude): Likewise.
14834 (end_locale_prelude): Likewise.
14835 (write_locale_data): Update prototype.
14836 * locale/programs/3level.h (struct TABLE): Remove result field.
14837 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
14838 Use new locale_file interface.
14839 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
14840 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
14841 * locale/programs/ld-address.c (address_output): Use new
14842 locale_file interface.
14843 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
14845 (collate_finish): Don't call collseq_table_finalize.
14846 (collate_output): Use new locale_file interface.
14847 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
14849 (NO_FINALIZE): Change to NO_ADD_LOCALE.
14850 (TABLE): Move defines earlier in file.
14851 (ELEMENT): Likewise.
14852 (DEFAULT): Likewise.
14853 (wctrans_table_add): Move macro and inline function earlier in
14855 (struct wctype_table): Move type earlier in file.
14856 (add_locale_wctype_table): New static prototype.
14857 (struct locale_ctype_t): Use logical types instead of struct iovec
14858 pointers for members.
14859 (ctype_output): Use new locale_file interface.
14860 (wctype_table_finalize): Change to add_locale_wctype_table. Use
14861 new locale_file interface.
14862 (allocate_arrays): Update for use of new locale_file interface.
14863 * locale/programs/ld-identification.c (identification_output): Use
14864 new locale_file interface.
14865 * locale/programs/ld-measurement.c (measurement_output): Likewise.
14866 * locale/programs/ld-messages.c (messages_output): Likewise.
14867 * locale/programs/ld-monetary.c (monetary_output): Likewise.
14868 * locale/programs/ld-name.c (name_output): Likewise.
14869 * locale/programs/ld-numeric.c (numeric_output): Likewise.
14870 * locale/programs/ld-paper.c (paper_output): Likewise.
14871 * locale/programs/ld-telephone.c (telephone_output): Likewise.
14872 * locale/programs/ld-time.c (time_output): Likewise.
14874 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14876 * benchtests/Makefile: Add memrchr benchmark.
14877 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
14878 benchmark as memrchr.
14879 * benchtests/bench-memrchr-ifunc.c: New file.
14880 * benchtests/bench-memrchr.c: New file.
14882 2013-09-06 Will Newton <will.newton@linaro.org>
14884 * benchtests/Makefile (string-bench): Add memcpy.
14886 2013-09-05 Carlos O'Donell <carlos@redhat.com>
14887 Cong Wang <amwang@redhat.com>
14890 * sysdeps/unix/sysv/linux/bits/in.h
14891 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
14892 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
14893 before __USE_KERNEL_IPV6_DEFS uses.
14894 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
14896 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
14897 sockaddr_in6, or ipv6_mreq.
14899 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14901 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
14902 memory access for final bytes in some large inputs.
14903 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
14905 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14907 * string/test-memrchr.c: New file.
14908 * string/test-memrchr-ifunc.c: New file.
14909 * string/Makefile: Add new memrchr testcase.
14911 2013-09-05 Mike Frysinger <vapier@gentoo.org>
14913 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
14914 fanotify_init returns EPERM.
14916 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14918 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
14920 (top level): Treat second token from macro or constant entries for
14921 allowed headers as allowed.
14922 * include/complex.h: Condition internal declarations on
14924 * include/fenv.h: Condition include of <stdbool.h> and internal
14925 declarations on [!_ISOMAC].
14927 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
14930 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
14932 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14934 * configure.in (--enable-versioning): Remove configure option.
14935 (libc_cv_asm_symver_directive): Remove configure test.
14936 (libc_cv_ld_version_script_option): Likewise.
14937 (VERSIONING): Remove variable and AC_SUBST.
14938 (DO_VERSIONING): Remove AC_DEFINE.
14939 * configure: Regenerated.
14940 * config.h.in (DO_VERSIONING): Remove macro.
14941 * Makerules [$(versioning) = yes]: Change conditionals to
14942 [$(build-shared) = yes].
14943 * config.make.in (versioning): Remove variable.
14944 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
14945 [$(build-shared) = yes].
14946 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
14947 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
14948 * elf/Makefile [$(versioning) = yes]: Change conditionals to
14949 [$(build-shared) = yes].
14950 * extra-lib.mk [$(versioning) = yes]: Likewise.
14951 * hurd/Makefile [$(versioning) = yes]: Likewise.
14952 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
14954 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
14956 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14957 [SHARED && !NO_HIDDEN].
14958 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
14960 [SHARED && DO_VERSIONING]: Likewise..
14961 * libio/Makefile [$(versioning) = yes]: Change conditionals to
14962 [$(build-shared) = yes].
14963 * manual/install.texi (--disable-versioning): Remove
14965 * INSTALL: Regenerated.
14966 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
14968 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
14969 [$(build-shared) = yes].
14970 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
14971 * sysdeps/i386/i686/multiarch/strstr-c.c
14972 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14973 [SHARED && !NO_HIDDEN].
14974 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
14975 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
14976 * sysdeps/powerpc/powerpc32/dl-machine.c
14977 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
14978 * sysdeps/powerpc/powerpc32/sysdep.h
14979 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
14980 to [SHARED && PIC && !NO_HIDDEN].
14981 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
14982 conditional to [SHARED].
14984 2013-09-04 Will Newton <will.newton@linaro.org>
14986 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
14987 * benchtests/bench-string.h: Include bench-timing.h instead
14988 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
14989 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
14990 call to HP_TIMING_DIFF_INIT.
14991 * benchtests/bench-memccpy.c: Use bench-timing.h macros
14992 instead of hp-timing.h macros.
14993 * benchtests/bench-memchr.c: Likewise.
14994 * benchtests/bench-memcmp.c: Likewise.
14995 * benchtests/bench-memcpy.c: Likewise.
14996 * benchtests/bench-memmem.c: Likewise.
14997 * benchtests/bench-memmove.c: Likewise.
14998 * benchtests/bench-memset.c: Likewise.
14999 * benchtests/bench-rawmemchr.c: Likewise.
15000 * benchtests/bench-strcasecmp.c: Likewise.
15001 * benchtests/bench-strcasestr.c: Likewise.
15002 * benchtests/bench-strcat.c: Likewise.
15003 * benchtests/bench-strchr.c: Likewise.
15004 * benchtests/bench-strcmp.c: Likewise.
15005 * benchtests/bench-strcpy.c: Likewise.
15006 * benchtests/bench-strcpy_chk.c: Likewise.
15007 * benchtests/bench-strlen.c: Likewise.
15008 * benchtests/bench-strncasecmp.c: Likewise.
15009 * benchtests/bench-strncat.c: Likewise.
15010 * benchtests/bench-strncmp.c: Likewise.
15011 * benchtests/bench-strncpy.c: Likewise.
15012 * benchtests/bench-strnlen.c: Likewise.
15013 * benchtests/bench-strpbrk.c: Likewise.
15014 * benchtests/bench-strrchr.c: Likewise.
15015 * benchtests/bench-strspn.c: Likewise.
15016 * benchtests/bench-strstr.c: Likewise.
15018 2013-09-04 Will Newton <will.newton@linaro.org>
15020 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15022 2013-09-03 Joseph Myers <joseph@codesourcery.com>
15025 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15026 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15027 * math/libm-test.inc (lgamma_test_data): Add more tests.
15028 * sysdeps/i386/fpu/libm-test-ulps: Update.
15029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15031 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
15033 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15034 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15036 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15037 Add strcmp-sse2-unaligned
15038 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15040 2013-09-02 Mike Frysinger <vapier@gentoo.org>
15042 * Versions.def (libc): Add GLIBC_2.19.
15044 2013-09-02 Mike Frysinger <vapier@gentoo.org>
15046 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15047 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15049 2013-09-02 Joseph Myers <joseph@codesourcery.com>
15052 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15053 intermediate calculations in recurrence.
15054 (__ieee754_ynf): Likewise.
15055 * math/libm-test.inc (jn_test_data): Do not allow spurious
15056 underflow exception. Add more tests.
15057 (yn_test_data): Add more tests.
15058 * sysdeps/i386/fpu/libm-test-ulps: Update.
15059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15061 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
15063 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15065 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15067 * csu/init-first.c: Fix then/than typos.
15068 * locale/programs/ld-collate.c: Likewise.
15069 * locale/programs/linereader.h: Likewise.
15070 * manual/charset.texi: Likewise.
15071 * manual/filesys.texi: Likewise.
15072 * manual/stdio.texi: Likewise.
15073 * manual/string.texi: Likewise.
15074 * stdlib/fmtmsg.c: Likewise.
15075 * sysdeps/i386/stpncpy.S: Likewise.
15076 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15077 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15078 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15079 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15081 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15083 * elf/dl-open.c: Fix typos.
15084 * iconvdata/gbbig5.c: Likewise.
15085 * iconvdata/iso-2022-jp.c: Likewise.
15086 * iconv/gconv_int.h: Likewise.
15087 * iconv/loop.c: Likewise.
15088 * nis/rpcsvc/nis.h: Likewise.
15089 * resolv/ns_name.c: Likewise.
15090 * stdio-common/vfscanf.c: Likewise.
15091 * streams/stropts.h: Likewise.
15092 * sunrpc/rpc_thread.c: Likewise.
15093 * sysdeps/i386/strpbrk.S: Likewise.
15094 * sysdeps/ieee754/k_standard.c: Likewise.
15095 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15096 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15097 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
15098 * sysdeps/mach/hurd/profil.c: Likewise.
15099 * sysdeps/s390/dl-procinfo.h: Likewise.
15100 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
15101 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15102 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
15103 * sysdeps/x86_64/dl-trampoline.S: Likewise.
15104 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15106 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15108 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
15109 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
15111 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
15113 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
15114 aix specific files.
15115 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
15116 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
15117 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
15118 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
15119 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
15120 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
15121 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
15122 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
15124 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15125 Roland McGrath <roland@hack.frob.com>
15127 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
15128 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15130 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15132 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
15133 __executable_start symbol instead of _start.
15135 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15137 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
15138 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
15140 * sysdeps/gnu/ldsodefs.h: ... this new file.
15142 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
15143 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
15144 instead of ELFOSABI_LINUX.
15146 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
15147 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
15148 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
15149 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
15151 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
15152 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
15153 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
15155 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15156 (ibm_extended_long_double): Add ieee_nan member.
15157 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
15158 (do_test): New function.
15160 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
15162 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
15163 functions, renamed from truncdfsf_test, trunctfsf_test,
15165 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
15167 (do_test): Run all these.
15169 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
15171 * argp/argp-help.c: Fix typos.
15172 * argp/argp-parse.c: Likewise.
15173 * debug/backtracesyms.c: Likewise.
15174 * elf/elf.h: Likewise.
15175 * malloc/malloc.c: Likewise.
15176 * nis/nis_print.c: Likewise.
15177 * resolv/res_comp.c: Likewise.
15178 * stdlib/stdlib.h: Likewise.
15179 * sunrpc/clnt_tcp.c: Likewise.
15180 * sunrpc/clnt_udp.c: Likewise.
15181 * sunrpc/clnt_unix.c: Likewise.
15182 * sysdeps/unix/bsd/ptsname.c: Likewise.
15183 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15184 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
15185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
15187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
15189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15191 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15193 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15195 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
15196 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15198 2013-08-27 Mike Frysinger <vapier@gentoo.org>
15201 * dlfcn/Makefile (tests): Add bug-dl-leaf.
15202 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
15203 ($(objpfx)bug-dl-leaf): New rule.
15204 ($(objpfx)bug-dl-leaf.so): Likewise.
15205 ($(objpfx)bug-dl-leaf.out): Likewise.
15206 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
15207 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
15208 * dlfcn/bug-dl-leaf.c: New test.
15209 * dlfcn/bug-dl-leaf-lib.c: Likewise.
15210 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
15211 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
15212 (dlclose): Likewise.
15213 (dlmopen): Likewise.
15215 2013-08-27 Roland McGrath <roland@hack.frob.com>
15217 * include/netdb.h [!_ISOMAC]:
15218 Don't include <tls.h>.
15219 (h_errno, __libc_h_errno): Move declaration and macros out of
15222 * include/resolv.h [_RESOLV_H_]:
15223 Don't include <tls.h>.
15224 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
15225 * resolv/res_libc.c: Don't include <tls.h>.
15226 (_res): Use __attribute__ ((nocommon)) in place of
15227 __attribute__ ((section (".bss"))).
15229 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
15230 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
15232 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
15234 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
15235 only under [SIOCGIFCONF && SIOCGIFNETMASK].
15237 * resolv/res_mkquery.c: Include <sys/time.h>.
15239 * inet/ifreq.c: Moved to ...
15240 * sysdeps/unix/ifreq.c: ... here.
15241 * inet/ifreq.c: New file, true stub version.
15243 * socket/sa_len.c: New file.
15244 * socket/Makefile (aux): Add it.
15245 * sysdeps/unix/sysv/linux/Makefile
15246 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
15247 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
15248 and #include <socket/sa_len.c>.
15249 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
15250 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
15252 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
15253 * bits/socket.h: ... here.
15255 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
15256 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
15257 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
15259 2013-08-27 Andreas Schwab <schwab@suse.de>
15262 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
15263 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
15264 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
15265 * string/test-strcasecmp.c (test_main): Run tests in several
15267 * string/test-strncasecmp.c (test_main): Likewise.
15269 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
15270 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
15271 to __strcasecmp_nonascii and __strncasecmp_nonascii.
15272 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
15273 (__strncasecmp_ssse3) [PIC]: Likewise.
15275 2013-08-26 Roland McGrath <roland@hack.frob.com>
15277 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
15279 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
15280 instead of explicitly declaring xdecrypt.
15281 * nis/nss_nis/nis-publickey.c: Likewise.
15283 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15286 * nscd/aicache.c: Include res_hconf.h.
15287 (addhstaiX): Initialize res_hconf.
15289 2013-08-26 Andreas Schwab <schwab@suse.de>
15291 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
15292 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
15294 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15296 * nscd/aicache.c (addhstaiX): Fix indentation.
15298 2013-08-25 Mike Frysinger <vapier@gentoo.org>
15300 * configure.ac: Quote $build_pt_chown test.
15301 * configure: Regenerated.
15303 2013-08-23 Joseph Myers <joseph@codesourcery.com>
15306 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
15307 * math/s_cexpf.c (__cexpf): Likewise.
15308 * math/s_cexpl.c (__cexpl): Likewise.
15309 * math/libm-test.inc (cexp_test_data): Correct expected return
15310 value for NaN + i0. Add another test.
15312 2013-08-22 David S. Miller <davem@davemloft.net>
15314 * po/ca.po: Update Catalan translation from translation project.
15315 * po/uk.po: Add Ukrainian translations from translation project.
15317 2013-08-21 Joseph Myers <joseph@codesourcery.com>
15320 * math/s_fdim.c (__fdim): Check for infinite arguments if result
15321 is infinite, not alongside NaN test.
15322 * math/s_fdimf.c (__fdimf): Likewise.
15323 * math/s_fdiml.c (__fdiml): Likewise.
15324 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
15325 errno is unchanged.
15327 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
15329 * argp/argp-help.c: Fix typos.
15330 * crypt/speeds.c: Likewise.
15331 * csu/check_fds.c: Likewise.
15332 * elf/dl-load.c: Likewise.
15333 * elf/dl-open.c: Likewise.
15334 * elf/reldep3.c: Likewise.
15335 * elf/reldep.c: Likewise.
15336 * elf/sprof.c: Likewise.
15337 * iconv/iconv_charmap.c: Likewise.
15338 * iconv/skeleton.c: Likewise.
15339 * iconv/strtab.c: Likewise.
15340 * io/lockf64.c: Likewise.
15341 * libio/libioP.h: Likewise.
15342 * resolv/gai_notify.c: Likewise.
15343 * resolv/ns_name.c: Likewise.
15344 * resolv/ns_samedomain.c: Likewise.
15345 * resolv/res_send.c: Likewise.
15346 * stdlib/random.c: Likewise.
15347 * sunrpc/rpc/xdr.h: Likewise.
15348 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
15349 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15350 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15351 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15352 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15353 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15354 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15355 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15356 * sysdeps/mach/hurd/check_fds.c: Likewise.
15357 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15358 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15359 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15360 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15361 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15362 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15363 * sysdeps/pthread/aio_notify.c: Likewise.
15364 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
15365 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
15366 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
15367 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15368 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15370 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15372 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
15373 version if bit_Slow_SSE4_2 is set.
15374 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15375 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15377 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15380 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
15381 trampoline stack frame information.
15382 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
15383 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
15384 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
15385 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
15386 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
15387 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15388 (_libc_vdso_platform_setup): Initialize the signal trampolines.
15389 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
15391 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
15392 interrupting a syscall and set with option SA_SIGINFO.
15394 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15397 * math/s_cproj.c (__cproj): Only return an infinity if one part of
15398 argument is infinite.
15399 * math/s_cprojf.c (__cprojf): Likewise.
15400 * math/s_cprojl.c (__cprojl): Likewise.
15401 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
15402 * math/libm-test.inc (cproj_test_data): Add more tests.
15404 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
15406 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
15407 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
15408 size. Use __ffs to determine corresponding shift.
15410 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15411 Roland McGrath <roland@hack.frob.com>
15413 * Makefile (INSTALL): Remove trailing blank lines from output of
15416 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15418 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
15419 Align 32 bit compat elf_greg to 8 bytes.
15421 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
15423 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
15425 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15427 * string/strcoll_l.c (coll_seq): New structure.
15428 (get_next_seq_cached): New function.
15429 (get_next_seq): New function.
15430 (do_compare): New function.
15431 (STRCOLL): Use GNU style definition. Simplify implementation
15432 by using get_next_seq, get_next_seq_cached and do_compare.
15434 2013-08-16 Florian Weimer <fweimer@redhat.com>
15438 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
15440 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
15442 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
15443 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
15444 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
15446 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
15447 GETDENTS_64BIT_ALIGNED.
15448 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15449 * manual/filesys.texi (Reading/Closing Directory): Document
15450 ENAMETOOLONG return value of readdir_r. Recommend readdir more
15452 * manual/conf.texi (Limits for Files): Add portability note to
15453 NAME_MAX, PATH_MAX.
15454 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
15456 2013-08-13 Andreas Schwab <schwab@suse.de>
15459 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
15461 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
15462 LDBL_MAX_EXP >= 16384]: Add tests for it.
15464 2013-08-12 David S. Miller <davem@davemloft.net>
15466 * version.h (RELEASE): Set to "development".
15467 (VERSION): Set to "2.18.90".
15468 * NEWS: Add 2.19 section.
15470 2013-08-03 David S. Miller <davem@davemloft.net>
15472 * po/ko.po: Update Korean translation from translation project.
15474 2013-08-01 David S. Miller <davem@davemloft.net>
15476 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
15477 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15480 2013-07-30 David S. Miller <davem@davemloft.net>
15482 * po/fr.po: Update French translation from translation project.
15484 2013-07-28 David S. Miller <davem@davemloft.net>
15486 * po/cs.po: Update Czech translation from translation project.
15488 * po/sv.po: Update Swedish translation from translation project.
15490 2013-07-27 David S. Miller <davem@davemloft.net>
15492 * po/eo.po: Update Esperanto translation from translation project.
15494 * po/vi.po: Update Vietnamese translation from translation project.
15496 * po/de.po: Update German translation from translation project.
15498 2013-07-26 David S. Miller <davem@davemloft.net>
15500 * po/bg.po: Update Bulgarian translation from translation project.
15502 * po/nl.po: Update Dutch translation from translation project.
15503 * po/pl.po: Update Polish translation from translation project.
15504 * po/ru.po: Update Russian translation from translation project.
15506 2013-07-24 David S. Miller <davem@davemloft.net>
15508 * po/libc.pot: Update.
15510 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15512 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
15513 variable page size.
15514 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
15515 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
15516 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
15518 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15520 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
15522 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15523 Andreas Schwab <schwab@suse.de>
15524 Roland McGrath <roland@hack.frob.com>
15525 Joseph Myers <joseph@codesourcery.com>
15526 Carlos O'Donell <carlos@redhat.com>
15529 * config.h.in: Define HAVE_PT_CHOWN.
15530 * config.make.in (build-pt-chown): New variable.
15531 * configure.in (--enable-pt_chown): New configure option.
15532 * configure: Regenerate.
15533 * login/Makefile: Include Makeconfig. Build pt_chown only if
15534 build-pt-chown is enabled.
15535 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
15536 pt_chown to fix pty ownership.
15537 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
15539 * manual/install.texi (Configuring and compiling): Mention
15540 --enable-pt_chown. Add @findex for grantpt.
15541 * INSTALL: Regenerate.
15543 2013-07-20 David S. Miller <davem@davemloft.net>
15545 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
15546 difference between 32-bit and 64-bit.
15548 2013-07-15 Carlos O'Donell <carlos@redhat.com>
15551 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
15552 Avoid system header dependency with -ffreestanding.
15553 ($(objpfx)bits/syscall%d): Likewise.
15555 2013-07-13 David S. Miller <davem@davemloft.net>
15557 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
15558 underflows from atanl/atan2l due to bug 15319.
15559 (casinh_test_data): Likewise.
15561 2013-07-07 David S. Miller <davem@davemloft.net>
15563 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15565 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
15567 * sysdeps/i386/fpu/libm-test-ulps: Update.
15568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15570 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15572 * configure.in (--enable-lock-elision): Fix message text.
15573 * INSTALL: Regenerate.
15574 * configure: Regenerate.
15576 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15578 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15580 2013-07-03 Andreas Jaeger <aj@suse.de>
15582 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
15584 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
15585 (ptrace_peeksiginfo_args): Add.
15586 (__ptrace_peeksiginfo_flags): Add.
15587 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15588 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15589 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15591 2013-07-03 Allan McRae <allan@archlinux.org>
15593 * sysdeps/i386/fpu/libm-test-ulps: Update.
15595 2013-07-02 David S. Miller <davem@davemloft.net>
15597 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15599 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
15601 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15603 2013-07-02 Joseph Myers <joseph@codesourcery.com>
15605 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15608 2013-07-02 Andi Kleen <ak@linux.intel.com>
15610 * config.h.in (ENABLE_LOCK_ELISION): Add.
15611 * configure.in (--enable-lock-elision): Add option.
15612 * manual/install.texi: Document --enable lock elision.
15613 * configure: Regenerate
15614 * INSTALL: Regenerate.
15616 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
15618 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
15619 SSE4.2 strcasecmp for libc.a.
15620 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15622 2013-07-02 Joseph Myers <joseph@codesourcery.com>
15625 * soft-fp/op-common.h (_FP_FMA): New macro.
15626 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
15627 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
15628 (_FP_MUL_MEAT_1_imm): ... here.
15629 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
15630 (_FP_MUL_MEAT_1_wide): ... here.
15631 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
15632 (_FP_MUL_MEAT_1_hard): ... here.
15633 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
15634 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
15635 (_FP_MUL_MEAT_2_wide): ... here.
15636 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
15637 (_FP_MUL_MEAT_2_wide_3mul): ... here.
15638 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
15639 (_FP_MUL_MEAT_2_gmp): ... here.
15640 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
15641 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
15642 (_FP_MUL_MEAT_4_wide): ... here.
15643 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
15644 (_FP_MUL_MEAT_4_gmp): ... here.
15645 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
15646 (_FP_WFRACBITS_DW_S): Likewise.
15647 (_FP_WFRACXBITS_DW_S): Likewise.
15648 (_FP_HIGHBIT_DW_S): Likewise.
15649 (FP_FMA_S): Likewise.
15650 (_FP_FRAC_HIGH_DW_S): Likewise.
15651 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
15652 (_FP_WFRACBITS_DW_D): Likewise.
15653 (_FP_WFRACXBITS_DW_D): Likewise.
15654 (_FP_HIGHBIT_DW_D): Likewise.
15655 (FP_FMA_D): Likewise.
15656 (_FP_FRAC_HIGH_DW_D): Likewise.
15657 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
15658 (_FP_WFRACBITS_DW_E): Likewise.
15659 (_FP_WFRACXBITS_DW_E): Likewise.
15660 (_FP_HIGHBIT_DW_E): Likewise.
15661 (FP_FMA_E): Likewise.
15662 (_FP_FRAC_HIGH_DW_E): Likewise.
15663 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
15664 (_FP_WFRACBITS_DW_Q): Likewise.
15665 (_FP_WFRACXBITS_DW_Q): Likewise.
15666 (_FP_HIGHBIT_DW_Q): Likewise.
15667 (FP_FMA_Q): Likewise.
15668 (_FP_FRAC_HIGH_DW_Q): Likewise.
15669 * soft-fp/fmasf4.c: New file.
15670 * soft-fp/fmadf4.c: Likewise.
15671 * soft-fp/fmatf4.c: Likewise.
15673 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15675 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15676 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
15678 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
15680 (index_Slow_SSE4_2): Likewise.
15681 (index_Prefer_PMINUB_for_stringop): Likewise.
15682 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
15683 bit_Slow_SSE4_2 is set.
15684 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15685 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15687 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15689 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
15690 rtld_global._dl_hwcap2.
15691 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
15693 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
15694 POWER8 feature descriptions defined in _dl_hwcap2.
15695 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
15696 string handling for POWER8 feature bits.
15697 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
15698 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
15699 _dl_powerpc_cap_flags.
15700 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
15701 * sysdeps/powerpc/rtld-global-offsets.sym
15702 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
15703 _dl_hwcap2 in the rtld_global_ro structure.
15705 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15707 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
15708 hardware capabilities in support of AT_HWCAP2.
15709 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
15710 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
15712 (_dl_show_auxv): Add support for calling _dl_procinfo to display
15713 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
15714 explicitly the unknown a_type display mechanism is used.
15715 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
15716 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
15718 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
15719 to macro prototype for AT_HWCAP2 support.
15720 * sysdeps/i386/dl-procinfo.h: Likewise.
15721 * sysdeps/s390/dl-procinfo.h: Likewise.
15722 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
15723 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
15724 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
15725 return -1 for unknown a_type display fallback.
15726 * sysdeps/sparc/dl-procinfo.h: Likewise.
15727 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
15728 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
15730 2013-06-28 Joseph Myers <joseph@codesourcery.com>
15732 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
15733 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
15735 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
15738 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
15739 mprotect making __stack_prot writable.
15741 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
15742 Joseph Myers <joseph@codesourcery.com>
15744 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
15745 as being properly aligned.
15747 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
15749 * dlfcn/modstatic5.c: New file.
15750 * dlfcn/tststatic5.c: New file.
15751 * dlfcn/Makefile (tests): Add tststatic5.
15752 (tests-static): Likewise.
15753 (modules-names): Add modstatic5.
15754 (tststatic5-ENV): New variable.
15755 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
15758 * elf/dl-support.c (_dl_main_map): New variable.
15759 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
15760 (_dl_nns, _dl_load_adds): Set to 1.
15761 (_dl_initial_searchlist): Refer to _dl_main_map.
15762 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
15763 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
15764 call to _dl_get_origin.
15765 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
15767 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
15768 * dlfcn/modstatic3.c: New file.
15769 * dlfcn/tststatic3.c: New file.
15770 * dlfcn/tststatic4.c: New file.
15771 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
15772 (tests-static): Likewise.
15773 (modules-names): Add modstatic3.
15774 (tststatic3-ENV, tststatic4-ENV): New variables.
15775 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
15776 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
15778 2013-06-26 Joseph Myers <joseph@codesourcery.com>
15780 * configure.in (CC): Require GCC version 4.4 or later.
15781 * configure: Regenerated.
15782 * manual/install.texi (Tools for Compilation): Update GCC version
15784 * INSTALL: Regenerated.
15786 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15789 * string/test-memcmp.c (check2): New.
15790 (main): Call check2.
15792 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
15794 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
15797 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
15799 (dl_open_worker) [!SHARED]: ... here.
15801 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15803 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
15805 2013-06-25 Richard Henderson <rth@redhat.com>
15807 * locale/programs/locarchive.c: Include <libc-internal.h>
15809 2013-06-25 Joseph Myers <joseph@codesourcery.com>
15811 * manual/texinfo.tex: Update to version 2013-06-21.17, with
15812 trailing whitespace removed.
15814 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15817 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
15818 * locale/programs/locarchive.c: Include libc-mmap.h.
15819 (prepare_address_space): Take two new outputs (the mmap base and len).
15820 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
15822 (create_archive): Declare new mmap base and len values for
15823 prepare_address_space, and store the result in ah.
15824 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
15825 (enlarge_archive): If ah->mmap_base is not NULL, use that and
15826 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15827 Declare new mmap base and len values for
15828 prepare_address_space, and store the result in new_ah.
15829 (open_archive): Declare new mmap base and len values for
15830 prepare_address_space, and store the result in ah.
15831 (close_archive): If ah->mmap_base is not NULL, use that and
15832 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15833 * sysdeps/generic/libc-mmap.h: New file.
15835 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15837 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
15838 (ALIGN_UP): Likewise.
15839 (PTR_ALIGN_DOWN): Likewise.
15840 (PTR_ALIGN_UP): Likewise.
15842 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15844 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
15845 entry mapped to PPC_PLATFORM_POWER8.
15846 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
15848 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
15849 (_dl_string_platform): Add case for exporting platform position for
15851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
15852 search path to sysdeps/powerpc/powerpc32/power8 directory.
15853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
15854 search path to sysdeps/powerpc/powerpc64/power8 directory.
15855 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
15856 power7 directories.
15857 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
15858 power7 directories.
15860 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15862 * INSTALL: Regenerate.
15864 * nscd/connections.c (nscd_init): Fix comment.
15866 2013-06-22 Joseph Myers <joseph@codesourcery.com>
15868 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
15871 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
15872 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
15874 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15876 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
15878 (DL_DST_REQ_STATIC): Remove macro.
15880 2013-06-21 Joseph Myers <joseph@codesourcery.com>
15883 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
15884 with a shift of 0 bits.
15886 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15888 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
15891 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15894 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
15896 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15898 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
15899 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
15900 accepts -fno-tree-loop-distribute-patterns.
15901 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
15902 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
15904 * string/memset.c (memset): Likewise.
15905 * string/test-memmove.c (simple_memmove): Disable loop transformation
15907 * string/test-memset.c (simple_memset): Likewise.
15908 * benchtests/bench-memmove.c (simple_memmove): Likewise.
15909 * benchtests/bench-memset.c (simple_memset): Likewise.
15910 * configure: Regenerated.
15912 2013-06-20 Joseph Myers <joseph@codesourcery.com>
15914 * math/test-misc.c (main): Ignore fesetround failure when failures
15915 of subsequent rounding tests would be ignored.
15918 * math/fedisblxcpt.c (fedisableexcept): Return 0.
15919 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
15920 * math/fegetenv.c (__fegetenv): Return 0.
15921 * math/fegetexcept.c (fegetexcept): Return 0.
15922 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
15924 * math/feholdexcpt.c (feholdexcept): Return 0.
15925 * math/fesetenv.c (__fesetenv): Return 0.
15926 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
15927 argument FE_TONEAREST.
15928 * math/feupdateenv.c (__feupdateenv): Return 0.
15929 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
15931 2013-06-18 Roland McGrath <roland@hack.frob.com>
15933 * elf/rtld-Rules (rtld-compile-command.S): New variable.
15934 (rtld-compile-command.s, rtld-compile-command.c): New variables.
15935 ($(objpfx)rtld-%.os rules): Use them.
15937 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15939 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
15942 2013-06-17 Roland McGrath <roland@hack.frob.com>
15944 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
15945 length of target pattern, then descending length of dependency pattern.
15946 * configure.in (AWK): Require gawk 3.1.2 or newer.
15947 * manual/install.texi (Tools for Compilation): Say that we do.
15948 * configure: Regenerated.
15950 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
15951 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
15952 * scripts/sysd-rules.awk: ... this new script.
15953 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
15954 than a glob-style pattern.
15956 2013-06-17 Joseph Myers <joseph@codesourcery.com>
15958 * math/test-misc.c (main): Do not treat incorrectly rounded
15959 conversions as failure unless ROUNDING_TESTS passes.
15961 2013-06-15 Joseph Myers <joseph@codesourcery.com>
15964 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
15965 restore exception state around main square root computation, then
15966 check for inexactness explicitly.
15968 * math/libm-test.inc (fma_test_data): Add another test.
15970 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15972 * manual/threads.texi (Non-POSIX Extensions): New document
15973 node. Document pthread_getattr_default_np and
15974 pthread_setattr_default_np.
15976 * Versions.def (libpthread): Add GLIBC_2.18.
15977 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
15978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15982 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15984 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15986 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
15988 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15990 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15992 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15994 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15997 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15999 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16000 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16002 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16003 H.J. Lu <hjl.tools@gmail.com>
16006 * sysdeps/x86_64/rtld-memset.c: Remove file.
16007 * sysdeps/x86_64/rtld-memset.S: New file.
16009 2013-06-14 Joseph Myers <joseph@codesourcery.com>
16011 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16012 (test_in_one_mode): Take arguments for whether the rounding mode
16013 is supported for each floating-point type.
16014 (do_test): Pass new arguments to test_in_one_mode using
16017 2013-06-13 Roland McGrath <roland@hack.frob.com>
16019 * posix/tst-waitid.c (do_test): Distinguish different instances of
16020 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
16021 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16022 before entering the kernel for waitpid.
16024 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16026 * NEWS: Fix note on clock function precision. Text by Roland
16029 2013-06-13 Roland McGrath <roland@hack.frob.com>
16031 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16032 it into place only when and if the sanity check passes.
16034 2013-06-13 Joseph Myers <joseph@codesourcery.com>
16036 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16037 output for whether conversion result is exact. Take argument
16038 indicating whether type is IBM long double.
16039 (round_for_all): Change need_exact field to ibm_ld.
16040 * stdlib/tst-strtod-round.c (struct exactness): New type.
16041 (struct test): Change bool ld_ok field to struct exactness exact.
16042 (TEST): Update all definitions for change to field.
16043 (tests): Regenerate array contents.
16044 (test_in_one_mode): Take pointer to new field instead of old ld_ok
16045 field value. Check for IBM long double here.
16046 (do_test): Update calls to test_in_one_mode.
16048 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16051 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16052 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16054 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16057 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16058 generated by the compiler on loop optimizations.
16059 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16060 general definitions.
16062 2013-06-12 Joseph Myers <joseph@codesourcery.com>
16064 * math/bug-nextafter.c: Include <math-tests.h>.
16065 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16067 * math/bug-nexttoward.c: Include <math-tests.h>.
16068 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16070 * math/test-misc.c: Include <math-tests.h>.
16071 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16074 2013-06-12 Andreas Jaeger <aj@suse.de>
16076 * po/ia.po: Update Interlingua translation from translation
16079 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16081 * include/fenv.h: Include stdbool.h.
16082 (struct rm_ctx): New structure.
16083 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16085 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16086 (SET_RESTORE_ROUNDF): Likewise.
16087 (SET_RESTORE_ROUNDL): Likewise.
16088 (SET_RESTORE_ROUND_NOEX): Likewise.
16089 (SET_RESTORE_ROUND_NOEXF): Likewise.
16090 (SET_RESTORE_ROUND_NOEXL): Likewise.
16091 (SET_RESTORE_ROUND_53BIT): Likewise.
16092 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16093 (libc_feresetround_noexf_ctx): Likewise.
16094 (libc_feresetround_noexl_ctx): Likewise.
16095 (libc_feholdsetround_53bit_ctx): Likewise.
16096 (libc_feresetround_53bit_ctx): Likewise.
16097 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
16098 (libc_feholdexcept_setround_sse_ctx): New function.
16099 (libc_fesetenv_sse_ctx): Likewise.
16100 (libc_feupdateenv_sse_ctx): Likewise.
16101 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
16102 (libc_feholdexcept_setround_387_ctx): Likewise.
16103 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
16104 (libc_feholdsetround_387_prec_ctx): Likewise.
16105 (libc_feholdsetround_387_ctx): Likewise.
16106 (libc_feholdsetround_387_53bit_ctx): Likewise.
16107 (libc_feholdsetround_sse_ctx): Likewise.
16108 (libc_feresetround_sse_ctx): Likewise.
16109 (libc_feresetround_387_ctx): Likewise.
16110 (libc_feupdateenv_387_ctx): Likewise.
16111 (libc_feholdexcept_setroundf_ctx): Define macro.
16112 (libc_fesetenvf_ctx): Likewise.
16113 (libc_feupdateenvf_ctx): Likewise.
16114 (libc_feholdsetroundf_ctx): Likewise.
16115 (libc_feresetroundf_ctx): Likewise.
16116 (libc_feholdexcept_setround_ctx): Likewise.
16117 (libc_fesetenv_ctx): Likewise.
16118 (libc_feupdateenv_ctx): Likewise.
16119 (libc_feholdsetround_ctx): Likewise.
16120 (libc_feresetround_ctx): Likewise.
16121 (libc_feholdexcept_setroundl_ctx): Likewise.
16122 (libc_feupdateenvl_ctx): Likewise.
16123 (libc_feholdsetroundl_ctx): Likewise.
16124 (libc_feresetroundl_ctx): Likewise.
16125 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
16126 (libc_feresetround_53bit_ctx): Likewise.
16128 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16130 * locale/iso-639.def: Convert to UTF-8.
16132 2013-06-11 Joseph Myers <joseph@codesourcery.com>
16134 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
16135 (EXCEPTION_TESTS_double): Likewise.
16136 (EXCEPTION_TESTS_long_double): Likewise.
16137 (EXCEPTION_TESTS): Likewise.
16138 * math/libm-test.inc (test_exceptions): Only test exceptions if
16139 EXCEPTION_TESTS (FLOAT).
16141 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16143 * benchtests/Makefile (string-bench): Add strcpy_chk and
16145 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
16146 * benchtests/bench-stpcpy_chk.c: New file.
16147 * benchtests/bench-strcpy_chk-ifunc.c: New file.
16148 * benchtests/bench-strcpy_chk.c: New file.
16149 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
16151 (do_test): Likewise.
16153 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16155 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
16156 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
16157 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
16158 with tabs where appropriate.
16159 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
16161 [PPC_PLATFORM_PPC440]: Likewise.
16162 [PPC_PLATFORM_PPC464]: Likewise.
16163 [PPC_PLATFORM_PPC476]: Likewise.
16164 (_dl_string_platform): Add support for detecting ppc405, ppc440,
16165 ppc464, and ppc476 platform strings merging from ports/
16168 2013-06-11 Andreas Schwab <schwab@suse.de>
16171 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
16172 (from_ucs4_idx): Regenerate.
16173 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
16174 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
16175 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
16176 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
16177 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
16178 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
16179 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
16180 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
16181 from FROM_LOOP and TO_LOOP specific macros.
16182 (BODY): Handle combining characters.
16183 * iconvdata/BIG5HKSCS.irreversible: Update.
16184 * iconvdata/BIG5HKSCS.precomposed: New file.
16185 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
16187 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
16189 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16191 * include/sys/time.h: Fix indentation and add copyright header.
16193 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
16194 (do_test): Likewise.
16195 * string/test-memchr.c (do_one_test): Likewise.
16196 (do_test): Likewise.
16197 * string/test-memcmp.c (do_one_test): Likewise.
16198 (do_test): Likewise.
16199 * string/test-memcpy.c (do_one_test): Likewise.
16200 (do_test): Likewise.
16201 * string/test-memmem.c (do_one_test): Likewise.
16202 (do_test): Likewise.
16203 (do_random_tests): Likewise.
16204 * string/test-memmove.c (do_one_test): Likewise.
16205 (do_test): Likewise.
16206 * string/test-memset.c (do_one_test): Likewise.
16207 (do_test): Likewise.
16208 * string/test-rawmemchr.c (do_one_test): Likewise.
16209 (do_test): Likewise.
16210 * string/test-strcasecmp.c (do_one_test): Likewise.
16211 (do_test): Likewise.
16212 * string/test-strcasestr.c (do_one_test): Likewise.
16213 (do_test): Likewise.
16214 * string/test-strcat.c (do_one_test): Likewise.
16215 (do_test): Likewise.
16216 * string/test-strchr.c (do_one_test): Likewise.
16217 (do_test): Likewise.
16218 * string/test-strcmp.c (do_one_test): Likewise.
16219 (do_test): Likewise.
16220 * string/test-strcpy.c (do_one_test): Likewise.
16221 (do_test): Likewise.
16222 * string/test-string.h: Likewise.
16223 (test_init): Likewise.
16224 * string/test-strlen.c (do_one_test): Likewise.
16225 (do_test): Likewise.
16226 * string/test-strncasecmp.c (do_one_test): Likewise.
16227 (do_test): Likewise.
16228 * string/test-strncat.c (do_one_test): Likewise.
16229 (do_test): Likewise.
16230 * string/test-strncmp.c (do_one_test): Likewise.
16231 (do_test_limit): Likewise.
16232 (do_test): Likewise.
16233 * string/test-strncpy.c (do_one_test): Likewise.
16234 (do_test): Likewise.
16235 * string/test-strnlen.c (do_one_test): Likewise.
16236 (do_test): Likewise.
16237 * string/test-strpbrk.c (do_one_test): Likewise.
16238 (do_test): Likewise.
16239 * string/test-strrchr.c (do_one_test): Likewise.
16240 (do_test): Likewise.
16241 * string/test-strspn.c (do_one_test): Likewise.
16242 (do_test): Likewise.
16243 * string/test-strstr.c (do_one_test): Likewise.
16244 (do_test): Likewise.
16246 * benchtests/Makefile (string-bench): Add string benchmarks.
16247 * benchtests/bench-bcopy-ifunc.c: New file.
16248 * benchtests/bench-bcopy.c: New file.
16249 * benchtests/bench-bzero-ifunc.c: New file.
16250 * benchtests/bench-bzero.c: New file.
16251 * benchtests/bench-memccpy-ifunc.c: New file.
16252 * benchtests/bench-memccpy.c: New file.
16253 * benchtests/bench-memchr-ifunc.c: New file.
16254 * benchtests/bench-memchr.c: New file.
16255 * benchtests/bench-memcmp-ifunc.c: New file.
16256 * benchtests/bench-memcmp.c: New file.
16257 * benchtests/bench-memmem-ifunc.c: New file.
16258 * benchtests/bench-memmem.c: New file.
16259 * benchtests/bench-memmove-ifunc.c: New file.
16260 * benchtests/bench-memmove.c: New file.
16261 * benchtests/bench-mempcpy-ifunc.c: New file.
16262 * benchtests/bench-mempcpy.c: New file.
16263 * benchtests/bench-memset-ifunc.c: New file.
16264 * benchtests/bench-memset.c: New file.
16265 * benchtests/bench-rawmemchr-ifunc.c: New file.
16266 * benchtests/bench-rawmemchr.c: New file.
16267 * benchtests/bench-stpcpy-ifunc.c: New file.
16268 * benchtests/bench-stpcpy.c: New file.
16269 * benchtests/bench-stpncpy-ifunc.c: New file.
16270 * benchtests/bench-stpncpy.c: New file.
16271 * benchtests/bench-strcasecmp-ifunc.c: New file.
16272 * benchtests/bench-strcasecmp.c: New file.
16273 * benchtests/bench-strcasestr-ifunc.c: New file.
16274 * benchtests/bench-strcasestr.c: New file.
16275 * benchtests/bench-strcat-ifunc.c: New file.
16276 * benchtests/bench-strcat.c: New file.
16277 * benchtests/bench-strchr-ifunc.c: New file.
16278 * benchtests/bench-strchr.c: New file.
16279 * benchtests/bench-strchrnul-ifunc.c: New file.
16280 * benchtests/bench-strchrnul.c: New file.
16281 * benchtests/bench-strcmp-ifunc.c: New file.
16282 * benchtests/bench-strcmp.c: New file.
16283 * benchtests/bench-strcpy-ifunc.c: New file.
16284 * benchtests/bench-strcpy.c: New file.
16285 * benchtests/bench-strcspn-ifunc.c: New file.
16286 * benchtests/bench-strcspn.c: New file.
16287 * benchtests/bench-strlen-ifunc.c: New file.
16288 * benchtests/bench-strlen.c: New file.
16289 * benchtests/bench-strncasecmp-ifunc.c: New file.
16290 * benchtests/bench-strncasecmp.c: New file.
16291 * benchtests/bench-strncat-ifunc.c: New file.
16292 * benchtests/bench-strncat.c: New file.
16293 * benchtests/bench-strncmp-ifunc.c: New file.
16294 * benchtests/bench-strncmp.c: New file.
16295 * benchtests/bench-strncpy-ifunc.c: New file.
16296 * benchtests/bench-strncpy.c: New file.
16297 * benchtests/bench-strnlen-ifunc.c: New file.
16298 * benchtests/bench-strnlen.c: New file.
16299 * benchtests/bench-strpbrk-ifunc.c: New file.
16300 * benchtests/bench-strpbrk.c: New file.
16301 * benchtests/bench-strrchr-ifunc.c: New file.
16302 * benchtests/bench-strrchr.c: New file.
16303 * benchtests/bench-strspn-ifunc.c: New file.
16304 * benchtests/bench-strspn.c: New file.
16305 * benchtests/bench-strstr-ifunc.c: New file.
16306 * benchtests/bench-strstr.c: New file.
16308 * benchtests/Makefile: Disable parallel execution of targets.
16309 (string-bench): Add memcpy.
16310 (benchset): New variable to store a list of benchmark sets.
16311 (bench-func): Renamed from bench.
16312 (bench-set): New target.
16313 (bench): Depend on bench-func and bench-set.
16314 * benchtests/README: Add section on benchmark sets.
16315 * benchtests/bench-memcpy-ifunc.c: New file.
16316 * benchtests/bench-memcpy.c: New file.
16317 * benchtests/bench-string.h: New file.
16319 2013-06-11 Andreas Schwab <schwab@suse.de>
16322 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
16323 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
16324 values in the triple.
16325 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
16326 terminator in the group key.
16328 2013-06-11 Andreas Jaeger <aj@suse.de>
16330 * po/zh_TW.po: Update Chinese (traditional) translation from
16331 translation project.
16333 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16335 * include/time.h (__clock_gettime): Add libc_hidden_proto.
16336 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
16337 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
16338 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16339 (clock_getcpuclockid): Likewise.
16340 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
16341 Add weak_alias and libc_hidden_def.
16342 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
16343 * rt/clock_gettime.c (clock_gettime): Rename to
16344 __clock_gettime. Add weak_alias and libc_hidden_def.
16345 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
16346 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
16347 __clock_nanosleep. Add weak_alias and libc_hidden_def.
16348 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
16349 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
16351 * rt/clock_settime.c (clock_settime): Rename to
16352 __clock_settime. Add weak_alias and libc_hidden_def.
16353 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
16355 2013-06-10 Joseph Myers <joseph@codesourcery.com>
16357 * mach/err_boot.sub: Remove trailing whitespace.
16358 * mach/err_ipc.sub: Likewise.
16359 * mach/err_mach.sub: Likewise.
16361 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
16362 (ROUNDING_TESTS_double): Likewise.
16363 (ROUNDING_TESTS_long_double): Likewise.
16364 (ROUNDING_TESTS): Likewise.
16365 * math/libm-test.inc: Include <math-tests.h>.
16366 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
16367 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16368 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16369 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16371 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16373 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
16376 2013-06-08 Joseph Myers <joseph@codesourcery.com>
16378 * sysdeps/gnu/errlist.awk: Do not generate space at end of
16379 otherwise empty TRANS lines.
16380 * sysdeps/gnu/errlist.c: Regenerated.
16382 * catgets/gencat.c (error_print): Use (void) in function
16384 * crypt/crypt_util.c (__init_des): Likewise.
16385 * crypt/speeds.c (Stop): Likewise.
16387 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
16388 * inet/ruserpass.c (token): Likewise.
16389 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
16390 * intl/localealias.c (extend_alias_table): Likewise.
16391 * intl/plural-exp.c (init_germanic_plural): Likewise.
16392 * libio/fcloseall.c (__fcloseall): Likewise.
16393 * libio/genops.c (_IO_flush_all): Likewise.
16394 (_IO_flush_all_linebuffered): Likewise.
16395 (_IO_cleanup): Likewise.
16396 (_IO_iter_begin): Likewise.
16397 (_IO_iter_end): Likewise.
16398 (_IO_list_lock): Likewise.
16399 (_IO_list_unlock): Likewise.
16400 (_IO_list_resetlock): Likewise.
16401 * libio/getchar.c (getchar): Likewise.
16402 * libio/getchar_u.c (getchar_unlocked): Likewise.
16403 * libio/getwchar.c (getwchar): Likewise.
16404 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
16405 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
16406 * login/getpt.c (__getpt): Likewise.
16407 * login/tst-utmp.c (main): Likewise.
16408 * malloc/hooks.c (__malloc_check_init): Likewise.
16409 * malloc/malloc.c (__malloc_stats): Likewise.
16410 * malloc/mtrace.c (tr_break): Likewise.
16411 (mtrace): Likewise.
16412 (muntrace): Likewise.
16413 * misc/fstab.c (endfsent): Likewise.
16414 * misc/getclktck.c (__getclktck): Likewise.
16415 * misc/getdtsz.c (__getdtablesize): Likewise.
16416 * misc/gethostid.c (gethostid): Likewise.
16417 * misc/getpagesize.c (__getpagesize): Likewise.
16418 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
16419 (__get_nprocs): Likewise.
16420 (__get_phys_pages): Likewise.
16421 (__get_avphys_pages): Likewise.
16422 * misc/getttyent.c (getttyent): Likewise.
16423 (setttyent): Likewise.
16424 (endttyent): Likewise.
16425 * misc/getusershell.c (getusershell): Likewise.
16426 (endusershell): Likewise.
16427 (setusershell): Likewise.
16428 (initshells): Likewise.
16429 * misc/hsearch.c (__hdestroy): Likewise.
16430 * misc/sync.c (sync): Likewise.
16431 * misc/syslog.c (closelog_internal): Likewise.
16432 (closelog): Likewise.
16433 * misc/ttyslot.c (ttyslot): Likewise.
16434 * misc/vhangup.c (vhangup): Likewise.
16435 * posix/fork.c (__fork): Likewise.
16436 * posix/getegid.c (__getegid): Likewise.
16437 * posix/geteuid.c (__geteuid): Likewise.
16438 * posix/getgid.c (__getgid): Likewise.
16439 * posix/getpid.c (__getpid): Likewise.
16440 * posix/getppid.c (__getppid): Likewise.
16441 * posix/getuid.c (__getuid): Likewise.
16442 * posix/pause.c (pause): Likewise.
16443 * posix/setpgrp.c (setpgrp): Likewise.
16444 * posix/setsid.c (__setsid): Likewise.
16445 * posix/test-vfork.c (noop): Likewise.
16446 * resolv/gethnamaddr.c (_endhtent): Likewise.
16447 (_gethtent): Likewise.
16448 (ht_endhostent): Likewise.
16449 (gethostent): Likewise.
16450 (dns_service): Likewise.
16451 * stdlib/drand48.c (drand48): Likewise.
16452 * stdlib/lrand48.c (lrand48): Likewise.
16453 * stdlib/mrand48.c (mrand48): Likewise.
16454 * stdlib/rand.c (rand): Likewise.
16455 * stdlib/random.c (__random): Likewise.
16456 * stdlib/setenv.c (clearenv): Likewise.
16457 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
16458 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
16459 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
16460 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
16461 (__get_nprocs): Likewise.
16462 (__get_phys_pages): Likewise.
16463 (__get_avphys_pages): Likewise.
16464 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
16465 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
16466 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
16467 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
16468 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
16469 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
16470 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
16471 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
16472 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
16473 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
16474 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
16475 * sysdeps/mach/hurd/sync.c (sync): Likewise.
16476 * sysdeps/posix/clock.c (clock): Likewise.
16477 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
16478 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
16479 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
16480 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16481 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
16482 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16483 (__get_nprocs_conf): Likewise.
16484 (__get_phys_pages): Likewise.
16485 (__get_avphys_pages): Likewise.
16486 * time/clock.c (clock): Likewise.
16487 * time/tzset.c (__tzname_max): Likewise.
16489 2013-06-07 Joseph Myers <joseph@codesourcery.com>
16491 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
16492 (__bswap_32): Do not use "register".
16493 * crypt/crypt.c (_ufc_doit_r): Likewise.
16494 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16495 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16496 * gmon/gmon.c (__monstartup): Likewise.
16497 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
16498 * hurd/hurdmalloc.c (more_memory): Likewise.
16499 (malloc): Likewise.
16501 (realloc): Likewise.
16502 (malloc_fork_prepare): Likewise.
16503 (malloc_fork_parent): Likewise.
16504 (malloc_fork_child): Likewise.
16505 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
16506 (_svcauth_des): Likewise.
16507 * inet/inet_lnaof.c (inet_lnaof): Likewise.
16508 * inet/inet_net.c (inet_network): Likewise.
16509 * inet/inet_netof.c (inet_netof): Likewise.
16510 * inet/rcmd.c (__validuser2_sa): Likewise.
16511 * io/fts.c (fts_open): Likewise.
16512 (fts_load): Likewise.
16513 (fts_close): Likewise.
16514 (fts_read): Likewise.
16515 (fts_children): Likewise.
16516 (fts_build): Likewise.
16517 (fts_stat): Likewise.
16518 (fts_sort): Likewise.
16519 (fts_alloc): Likewise.
16520 (fts_lfree): Likewise.
16521 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
16522 (_IO_file_xsgetn): Likewise.
16523 (_IO_file_xsgetn_mmap): Likewise.
16524 * libio/iofopncook.c (_IO_cookie_read): Likewise.
16525 (_IO_cookie_write): Likewise.
16526 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
16527 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
16528 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
16529 * malloc/obstack.c (_obstack_begin): Likewise.
16530 (_obstack_begin_1): Likewise.
16531 (_obstack_newchunk): Likewise.
16532 (_obstack_allocated_p): Likewise.
16533 (obstack_free): Likewise.
16534 (_obstack_memory_used): Likewise.
16535 * misc/getttyent.c (getttynam): Likewise.
16536 (getttyent): Likewise.
16539 * misc/getusershell.c (initshells): Likewise.
16540 * misc/syslog.c (__vsyslog_chk): Likewise.
16541 * misc/ttyslot.c (ttyslot): Likewise.
16542 * nis/nis_hash.c (__nis_hash): Likewise.
16543 * posix/fnmatch_loop.c (FCT): Likewise.
16544 * posix/getconf.c (print_all): Likewise.
16546 * posix/getopt.c (exchange): Likewise.
16547 * posix/glob.c (globfree): Likewise.
16548 (prefix_array): Likewise.
16549 (__glob_pattern_type): Likewise.
16550 * resolv/arpa/nameser.h (NS_GET16): Likewise.
16551 (NS_GET32): Likewise.
16552 (NS_PUT16): Likewise.
16553 (NS_PUT32): Likewise.
16554 * resolv/gethnamaddr.c (getanswer): Likewise.
16555 (gethostbyname2): Likewise.
16556 (gethostbyaddr): Likewise.
16557 (_gethtent): Likewise.
16558 (_gethtbyname2): Likewise.
16559 (_gethtbyaddr): Likewise.
16560 * resolv/ns_print.c (dst_s_get_int16): Likewise.
16561 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16562 * resolv/res_init.c (__res_vinit): Likewise.
16563 (net_mask): Likewise.
16564 * resolv/res_mkquery.c (outchar): Likewise.
16566 * stdio-common/printf_fp.c (outchar): Likewise.
16568 * stdio-common/printf_fphex.c (outchar): Likewise.
16570 * stdio-common/printf_size.c (outchar): Likewise.
16572 * stdio-common/test_rdwr.c (main): Likewise.
16573 * stdio-common/tfformat.c (matches): Likewise.
16574 * stdio-common/vfprintf.c (outchar): Likewise.
16575 (printf_unknown): Likewise.
16576 (buffered_vfprintf): Likewise.
16577 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16578 * stdio-common/xbug.c (AppendToBuffer): Likewise.
16579 (ReadFile): Likewise.
16580 * stdlib/qsort.c (SWAP): Likewise.
16581 (_quicksort): Likewise.
16582 * stdlib/setenv.c (__add_to_environ): Likewise.
16583 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16584 * stdlib/strtol_l.c (__strtol_l): Likewise.
16585 * stdlib/tst-strtod.c (main): Likewise.
16586 * stdlib/tst-strtol.c (main): Likewise.
16587 * stdlib/tst-strtoll.c (main): Likewise.
16588 * string/bits/string2.h (__strcmp_cc): Likewise.
16589 (__strcmp_cg): Likewise.
16590 (__strcspn_c1): Likewise.
16591 (__strcspn_c2): Likewise.
16592 (__strcspn_c3): Likewise.
16593 (__strspn_c1): Likewise.
16594 (__strspn_c2): Likewise.
16595 (__strspn_c3): Likewise.
16596 (__strsep_1c): Likewise.
16597 (__strsep_2c): Likewise.
16598 (__strsep_3c): Likewise.
16599 * string/memccpy.c (__memccpy): Likewise.
16600 * string/stpcpy.c (__stpcpy): Likewise.
16601 * string/strcmp.c (strcmp): Likewise.
16602 * string/strrchr.c (strrchr): Likewise.
16603 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
16605 * sysdeps/mach/hurd/getcwd.c
16606 (_hurd_canonicalize_directory_name_internal): Likewise.
16607 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
16608 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
16609 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
16610 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
16611 Likewise, in both definitions.
16612 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
16614 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
16615 64] (__bswap_64): Likewise.
16616 * time/test_time.c (main): Likewise.
16617 * time/tzfile.c (__tzfile_read): Likewise.
16618 (__tzfile_compute): Likewise.
16619 * time/tzset.c (__tzset_parse_tz): Likewise.
16620 (tzset_internal): Likewise.
16621 (compute_change): Likewise.
16622 * wcsmbs/wcscat.c (__wcscat): Likewise.
16623 * wcsmbs/wcschr.c (wcschr): Likewise.
16624 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
16625 * wcsmbs/wcscspn.c (wcscspn): Likewise.
16626 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
16627 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
16628 * wcsmbs/wcsspn.c (wcsspn): Likewise.
16629 * wcsmbs/wcsstr.c (wcsstr): Likewise.
16630 * wcsmbs/wmemchr.c (wmemchr): Likewise.
16631 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16632 * wcsmbs/wmemset.c (wmemset): Likewise.
16634 2013-06-06 Joseph Myers <joseph@codesourcery.com>
16636 * scripts/config.guess: Update to version 2013-05-16.
16637 * scripts/config.sub: Update to version 2013-04-24.
16638 * scripts/install-sh: Update to version 2011-11-20.07.
16639 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
16640 * scripts/move-if-change: Update to version 2012-01-06 07:23.
16642 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
16644 * debug/fgetws_u_chk.c: Fix leading whitespaces.
16645 * elf/sln.c: Likewise.
16646 * hurd/hurd/ioctl.h: Likewise.
16647 * hurd/hurdmalloc.c: Likewise.
16648 * hurd/xattr.c: Likewise.
16649 * include/shlib-compat.h: Likewise.
16650 * inet/ruserpass.c: Likewise.
16651 * libio/iofgets_u.c: Likewise.
16652 * libio/iofgetws_u.c: Likewise.
16653 * locale/programs/ld-identification.c: Likewise.
16654 * locale/programs/ld-time.c: Likewise.
16655 * mach/msg-destroy.c: Likewise.
16656 * nss/nss_files/files-netgrp.c: Likewise.
16657 * resolv/res_data.c: Likewise.
16658 * soft-fp/op-1.h: Likewise.
16659 * soft-fp/op-2.h: Likewise.
16660 * soft-fp/op-4.h: Likewise.
16661 * soft-fp/op-common.h: Likewise.
16662 * stdio-common/printf_fphex.c: Likewise.
16663 * stdlib/strtod_l.c: Likewise.
16664 * sunrpc/rpc/clnt.h: Likewise.
16665 * sysdeps/generic/framestate.c: Likewise.
16666 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16667 * sysdeps/i386/bsd-setjmp.S: Likewise.
16668 * sysdeps/i386/__longjmp.S: Likewise.
16669 * sysdeps/i386/setjmp.S: Likewise.
16670 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16671 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16672 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16673 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16674 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16675 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16676 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16677 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16678 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16679 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16680 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16681 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16682 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16683 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16684 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16685 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16686 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16687 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
16688 * sysdeps/ieee754/support.c: Likewise.
16689 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16690 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
16691 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
16692 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
16693 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
16694 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
16695 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
16696 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
16697 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
16698 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
16699 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
16700 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
16701 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
16702 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
16703 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
16704 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
16705 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16708 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
16710 * posix/transbug.c: Remove executable mode.
16712 2013-06-05 Joseph Myers <joseph@codesourcery.com>
16714 * crypt/speeds.c: Remove trailing whitespace.
16715 * dlfcn/default.c: Likewise.
16716 * elf/ifuncdep2.c: Likewise.
16717 * elf/ifuncmain1.c: Likewise.
16718 * elf/ifuncmain1vis.c: Likewise.
16719 * elf/testobj.h: Likewise.
16720 * elf/tst-stackguard1.c: Likewise.
16721 * gmon/sys/gmon.h: Likewise.
16722 * hurd/hurdmsg.c: Likewise.
16723 * hurd/new-fd.c: Likewise.
16724 * hurd/ports-get.c: Likewise.
16725 * iconvdata/ibm1008_420.c: Likewise.
16726 * inet/tst-getni1.c: Likewise.
16727 * inet/tst-getni2.c: Likewise.
16728 * libio/ioungetc.c: Likewise.
16729 * libio/wfiledoalloc.c: Likewise.
16730 * manual/libm-err-tab.pl: Likewise.
16731 * math/w_dremf.c: Likewise.
16732 * misc/ftruncate.c: Likewise.
16733 * posix/bug-glob2.c: Likewise.
16734 * posix/tst-pcre.c: Likewise.
16735 * posix/wait4.c: Likewise.
16736 * resolv/README: Likewise.
16737 * resolv/res_debug.h: Likewise.
16738 * resolv/tst-inet_ntop.c: Likewise.
16739 * setjmp/bug269-setjmp.c: Likewise.
16740 * soft-fp/extended.h: Likewise.
16741 * soft-fp/op-1.h: Likewise.
16742 * soft-fp/op-2.h: Likewise.
16743 * soft-fp/op-4.h: Likewise.
16744 * soft-fp/op-8.h: Likewise.
16745 * soft-fp/testit.c: Likewise.
16746 * stdio-common/bug16.c: Likewise.
16747 * stdlib/random.c: Likewise.
16748 * sunrpc/rpcsvc/rquota.x: Likewise.
16749 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
16750 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16751 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16752 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16753 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16754 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16755 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16756 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16757 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16758 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16759 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16760 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16761 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16762 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16763 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16764 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16765 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16766 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16767 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16768 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16769 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16770 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16771 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16772 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16773 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16774 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16775 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16776 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16777 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16778 * sysdeps/ieee754/s_lib_version.c: Likewise.
16779 * sysdeps/mach/hurd/check_fds.c: Likewise.
16780 * sysdeps/mach/hurd/getsockname.c: Likewise.
16781 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
16782 * sysdeps/mach/hurd/recvfrom.c: Likewise.
16783 * sysdeps/powerpc/bits/link.h: Likewise.
16784 * sysdeps/powerpc/dl-procinfo.c: Likewise.
16785 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
16786 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
16787 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
16788 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16789 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16790 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
16791 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16792 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
16793 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16794 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
16795 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16796 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
16797 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16798 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16799 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16800 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16801 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16802 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16803 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16804 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16805 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
16806 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16807 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16808 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
16809 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16810 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16811 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16812 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16813 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16814 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16815 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16816 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16817 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16818 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
16819 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16820 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
16821 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16822 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16823 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
16824 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
16825 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
16826 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
16827 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
16828 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16829 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
16830 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
16831 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16832 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
16833 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
16834 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16835 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16836 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16837 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16838 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
16839 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16840 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16841 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16842 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
16843 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16844 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
16845 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
16846 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
16847 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16848 * sysdeps/powerpc/sysdep.h: Likewise.
16849 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16850 * sysdeps/s390/s390-64/sub_n.S: Likewise.
16851 * sysdeps/sh/dl-trampoline.S: Likewise.
16852 * sysdeps/sh/memset.S: Likewise.
16853 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
16854 * sysdeps/sh/strlen.S: Likewise.
16855 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
16856 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
16857 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
16858 * sysdeps/sparc/sparc32/rem.S: Likewise.
16859 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16860 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
16861 * sysdeps/sparc/sparc32/strchr.S: Likewise.
16862 * sysdeps/sparc/sparc32/udiv.S: Likewise.
16863 * sysdeps/sparc/sparc32/urem.S: Likewise.
16864 * sysdeps/sparc/sparc64/add_n.S: Likewise.
16865 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16866 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
16867 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
16868 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
16869 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
16870 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16871 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
16872 * sysdeps/unix/bsd/times.c: Likewise.
16873 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
16874 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
16875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16878 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
16879 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16880 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
16881 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
16882 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
16883 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
16884 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16885 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
16886 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16887 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16888 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16889 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16890 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
16891 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
16892 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
16893 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
16894 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
16895 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16896 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
16897 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
16898 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16899 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
16900 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16901 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
16902 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
16903 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
16904 * sysdeps/x86_64/strcspn.S: Likewise.
16906 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16908 * locale/C-translit.h: Revert #include <stdint.h> because this is a
16909 generated file. Regenerate properly from gen-translit.pl.
16910 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
16911 locale/C-translit.h.
16913 2013-06-05 Andreas Schwab <schwab@suse.de>
16916 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
16917 week as 6 instead of -1.
16918 * time/tst-strptime.c (day_tests): Add test case.
16920 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16922 * sysdeps/generic/math_private.h
16923 (libc_feholdexcept_setround_53bit): Replace with
16924 libc_feholdsetround_53bit.
16925 (libc_feupdateenv_53bit): Replace with
16926 libc_feresetround_53bit.
16927 (SET_RESTORE_ROUND_53BIT): Adjust.
16929 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16931 * string/test-strchrnul.c: Add copyright header.
16933 * posix/tst-getaddrinfo4.c: Increase test timeout.
16935 2013-06-03 Carlos O'Donell <carlos@redhat.com>
16938 * math/libm-test.inc (MAX_EXP): Remove
16940 (ulp): Use MIN_EXP - MANT_DIG.
16941 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
16943 2013-05-31 Carlos O'Donell <carlos@redhat.com>
16945 * po/be.po: Revert last change.
16946 * po/zh_CN.po: Likewise.
16947 * po/header.pot: Likewise.
16949 2013-05-31 Joseph Myers <joseph@codesourcery.com>
16951 * Makefile ($(common-objpfx)linkobj/libc.so): Define
16952 link-libc-deps to empty as target-specific variable.
16953 * Makerules (link-libc-args): New variable.
16954 (libc-for-link): Likewise.
16955 (link-libc-deps): Likewise.
16956 (lib%.so): Depend on $(link-libc-deps). Link with
16958 (build-module): Link with $(link-libc-args).
16959 (build-module-asneeded): Likewise.
16960 (build-module-helper-objlist): Filter out $(link-libc-deps) from
16962 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
16963 target-specific variable.
16964 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
16965 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
16966 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
16968 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
16970 ($(objpfx)libpcprofile.so): Likewise.
16971 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
16973 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
16974 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
16975 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
16977 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
16978 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
16979 * login/Makefile ($(objpfx)libutil.so): Likewise.
16980 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
16981 * math/Makefile ($(objpfx)libm.so): Likewise.
16982 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
16983 $(objpfx)libnsl.so): Define libc-for-link as target-specific
16984 variable instead of depending directly on libc.
16985 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
16986 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
16988 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
16990 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
16991 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
16992 ($(objpfx)libanl.so): Likewise.
16993 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
16995 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
16997 * sysdeps/i386/fpu/Makefile: Remove file.
16998 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
16999 ($(objpfx)libm.so): Remove dependency on ld.so.
17001 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
17004 * nis/yp_xdr.c (XDRMAXNAME): Define.
17005 (XDRMAXRECORD): Define.
17006 (xdr_domainname): Use XDRMAXNAME.
17007 (xdr_mapname): Likewise.
17008 (xdr_peername): Likewise.
17009 (xdr_keydat): Use XDRMAXRECORD.
17010 (xdr_valdat): Likewise.
17012 2013-05-30 Jeff Law <law@redhat.com>
17015 * manual/errno.texi (ESTALE): Update to account for more than
17016 just NFS file systems.
17017 * sysdeps/gnu/errlist.c: Regenerated.
17019 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17022 * elf/Makefile (tests): Add tst-null-argv.
17023 (modules-names): Add tst-null-argv-lib.
17024 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17025 (tst-null-argv-ENV): Set environment for tst-null-argv.
17026 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17027 (RTLD_PROGNAME): New macro.
17028 * elf/tst-null-argv.c: New test case.
17029 * elf/tst-null-argv-lib.c: Library for test case.
17030 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17031 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17032 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17033 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17034 * elf/dl-init.c (call_init): Likewise.
17035 (_dl_init): Likewise.
17036 * elf/dl-load.c (print_search_path): Likewise.
17037 (_dl_map_object): Likewise.
17038 * elf/dl-lookup.c (do_lookup_x): Likewise.
17039 (add_dependency): Likewise.
17040 (_dl_lookup_symbol_x): Likewise.
17041 (_dl_debug_bindings): Likewise.
17042 * elf/dl-open.c (_dl_show_scope): Likewise.
17043 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17044 * elf/dl-version.c (match_symbol): Likewise.
17045 (_dl_check_map_versions): Likewise.
17046 * elf/rtld.c (dl_main): Likewise.
17047 (print_unresolved): Use RTLD_PROGNAME.
17048 (print_missing_version): Likewise.
17049 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17050 (elf_machine_rela): Likewise.
17051 * sysdeps/powerpc/powerpc32/dl-machine.c
17052 (__process_machine_rela): Likewise.
17053 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17055 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17057 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17059 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17060 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17062 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17064 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17066 2013-05-28 Carlos O'Donell <carlos@redhat.com>
17068 * po/be.po: Add descriptive title.
17069 * po/zh_CN.po: Likewise.
17070 * po/header.pot: Likewise.
17072 2013-05-28 Mike Frysinger <vapier@gentoo.org>
17074 * locale/programs/locarchive.c (create_archive): Inlucde fname in
17076 (enlarge_archive): Likewise.
17078 2013-05-28 Ben North <ben@redfrontdoor.org>
17080 * manual/arith.texi (frexp): It is the magnitude of the return
17081 value which lies in [0.5, 1), not the return value itself.
17083 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17085 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17087 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
17089 * stdio-common/bug26.c (main): Correct fscanf template.
17091 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17092 declare _dl_skip_args.
17094 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17097 * manual/platform.texi: Add missing @end deftypefun.
17099 2013-05-24 Joseph Myers <joseph@codesourcery.com>
17102 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17103 bit of mantissa of 2^16382.
17104 * math/libm-test.inc (hypot_test_data): Add more tests.
17106 * math/libm-test.inc: Add drem and pow10 to list of tested
17108 (pow10_test): New function.
17109 (drem_test): Likewise.
17110 (drem_test_tonearest): Likewise.
17111 (drem_test_towardzero): Likewise.
17112 (drem_test_downward): Likewise.
17113 (drem_test_upward): Likewise.
17114 (main): Call the new functions.
17116 * math/libm-test.inc (finite_test_data): Remove.
17117 (finite_test): Run tests from isfinite_test_data.
17118 (gamma_test_data): Remove.
17119 (gamma_test): Run tests from lgamma_test_data.
17120 * sysdeps/i386/fpu/libm-test-ulps: Update.
17121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17123 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17125 * manual/platform.texi: Add PowerPC PPR function set documentation.
17126 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
17129 2013-05-24 Carlos O'Donell <carlos@redhat.com>
17131 * math/libm-test.inc (MAX_EXP): Define.
17133 (ulp): New function.
17134 (check_float_internal): Use ULPDIFF.
17135 (cpow_test): Disable failing test.
17136 (check_ulp): Test ulp() implemetnation.
17137 (main): Call check_ulp before starting tests.
17139 2013-05-24 Joseph Myers <joseph@codesourcery.com>
17141 * math/gen-libm-test.pl (generate_testfile): Do not handle
17142 START_DATA and END_DATA.
17143 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
17145 (acos_tonearest_test_data): Likewise.
17146 (acos_towardzero_test_data): Likewise.
17147 (acos_downward_test_data): Likewise.
17148 (acos_upward_test_data): Likewise.
17149 (acosh_test_data): Likewise.
17150 (asin_test_data): Likewise.
17151 (asin_tonearest_test_data): Likewise.
17152 (asin_towardzero_test_data): Likewise.
17153 (asin_downward_test_data): Likewise.
17154 (asin_upward_test_data): Likewise.
17155 (asinh_test_data): Likewise.
17156 (atan_test_data): Likewise.
17157 (atanh_test_data): Likewise.
17158 (atan2_test_data): Likewise.
17159 (cabs_test_data): Likewise.
17160 (cacos_test_data): Likewise.
17161 (cacosh_test_data): Likewise.
17162 (carg_test_data): Likewise.
17163 (casin_test_data): Likewise.
17164 (casinh_test_data): Likewise.
17165 (catan_test_data): Likewise.
17166 (catanh_test_data): Likewise.
17167 (cbrt_test_data): Likewise.
17168 (ccos_test_data): Likewise.
17169 (ccosh_test_data): Likewise.
17170 (ceil_test_data): Likewise.
17171 (cexp_test_data): Likewise.
17172 (cimag_test_data): Likewise.
17173 (clog_test_data): Likewise.
17174 (clog10_test_data): Likewise.
17175 (conj_test_data): Likewise.
17176 (copysign_test_data): Likewise.
17177 (cos_test_data): Likewise.
17178 (cos_tonearest_test_data): Likewise.
17179 (cos_towardzero_test_data): Likewise.
17180 (cos_downward_test_data): Likewise.
17181 (cos_upward_test_data): Likewise.
17182 (cosh_test_data): Likewise.
17183 (cosh_tonearest_test_data): Likewise.
17184 (cosh_towardzero_test_data): Likewise.
17185 (cosh_downward_test_data): Likewise.
17186 (cosh_upward_test_data): Likewise.
17187 (cpow_test_data): Likewise.
17188 (cproj_test_data): Likewise.
17189 (creal_test_data): Likewise.
17190 (csin_test_data): Likewise.
17191 (csinh_test_data): Likewise.
17192 (csqrt_test_data): Likewise.
17193 (ctan_test_data): Likewise.
17194 (ctan_tonearest_test_data): Likewise.
17195 (ctan_towardzero_test_data): Likewise.
17196 (ctan_downward_test_data): Likewise.
17197 (ctan_upward_test_data): Likewise.
17198 (ctanh_test_data): Likewise.
17199 (ctanh_tonearest_test_data): Likewise.
17200 (ctanh_towardzero_test_data): Likewise.
17201 (ctanh_downward_test_data): Likewise.
17202 (ctanh_upward_test_data): Likewise.
17203 (erf_test_data): Likewise.
17204 (erfc_test_data): Likewise.
17205 (exp_test_data): Likewise.
17206 (exp_tonearest_test_data): Likewise.
17207 (exp_towardzero_test_data): Likewise.
17208 (exp_downward_test_data): Likewise.
17209 (exp_upward_test_data): Likewise.
17210 (exp10_test_data): Likewise.
17211 (exp2_test_data): Likewise.
17212 (expm1_test_data): Likewise.
17213 (fabs_test_data): Likewise.
17214 (fdim_test_data): Likewise.
17215 (finite_test_data): Likewise.
17216 (floor_test_data): Likewise.
17217 (fma_test_data): Likewise.
17218 (fma_towardzero_test_data): Likewise.
17219 (fma_downward_test_data): Likewise.
17220 (fma_upward_test_data): Likewise.
17221 (fmax_test_data): Likewise.
17222 (fmin_test_data): Likewise.
17223 (fmod_test_data): Likewise.
17224 (fpclassify_test_data): Likewise.
17225 (frexp_test_data): Likewise.
17226 (gamma_test_data): Likewise.
17227 (hypot_test_data): Likewise.
17228 (ilogb_test_data): Likewise.
17229 (isfinite_test_data): Likewise.
17230 (isgreater_test_data): Likewise.
17231 (isgreaterequal_test_data): Likewise.
17232 (isinf_test_data): Likewise.
17233 (isless_test_data): Likewise.
17234 (islessequal_test_data): Likewise.
17235 (islessgreater_test_data): Likewise.
17236 (isnan_test_data): Likewise.
17237 (isnormal_test_data): Likewise.
17238 (issignaling_test_data): Likewise.
17239 (isunordered_test_data): Likewise.
17240 (j0_test_data): Likewise.
17241 (j1_test_data): Likewise.
17242 (jn_test_data): Likewise.
17243 (ldexp_test_data): Likewise.
17244 (lgamma_test_data): Likewise.
17245 (lrint_test_data): Likewise.
17246 (lrint_tonearest_test_data): Likewise.
17247 (lrint_towardzero_test_data): Likewise.
17248 (lrint_downward_test_data): Likewise.
17249 (lrint_upward_test_data): Likewise.
17250 (llrint_test_data): Likewise.
17251 (llrint_tonearest_test_data): Likewise.
17252 (llrint_towardzero_test_data): Likewise.
17253 (llrint_downward_test_data): Likewise.
17254 (llrint_upward_test_data): Likewise.
17255 (log_test_data): Likewise.
17256 (log10_test_data): Likewise.
17257 (log1p_test_data): Likewise.
17258 (log2_test_data): Likewise.
17259 (logb_test_data): Likewise.
17260 (logb_downward_test_data): Likewise.
17261 (lround_test_data): Likewise.
17262 (llround_test_data): Likewise.
17263 (modf_test_data): Likewise.
17264 (nearbyint_test_data): Likewise.
17265 (nextafter_test_data): Likewise.
17266 (nexttoward_test_data): Likewise.
17267 (pow_test_data): Likewise.
17268 (pow_tonearest_test_data): Likewise.
17269 (pow_towardzero_test_data): Likewise.
17270 (pow_downward_test_data): Likewise.
17271 (pow_upward_test_data): Likewise.
17272 (remainder_test_data): Likewise.
17273 (remainder_tonearest_test_data): Likewise.
17274 (remainder_towardzero_test_data): Likewise.
17275 (remainder_downward_test_data): Likewise.
17276 (remainder_upward_test_data): Likewise.
17277 (remquo_test_data): Likewise.
17278 (rint_test_data): Likewise.
17279 (rint_tonearest_test_data): Likewise.
17280 (rint_towardzero_test_data): Likewise.
17281 (rint_downward_test_data): Likewise.
17282 (rint_upward_test_data): Likewise.
17283 (round_test_data): Likewise.
17284 (scalb_test_data): Likewise.
17285 (scalbn_test_data): Likewise.
17286 (scalbln_test_data): Likewise.
17287 (signbit_test_data): Likewise.
17288 (sin_test_data): Likewise.
17289 (sin_tonearest_test_data): Likewise.
17290 (sin_towardzero_test_data): Likewise.
17291 (sin_downward_test_data): Likewise.
17292 (sin_upward_test_data): Likewise.
17293 (sincos_test_data): Likewise.
17294 (sinh_test_data): Likewise.
17295 (sinh_tonearest_test_data): Likewise.
17296 (sinh_towardzero_test_data): Likewise.
17297 (sinh_downward_test_data): Likewise.
17298 (sinh_upward_test_data): Likewise.
17299 (sqrt_test_data): Likewise.
17300 (tan_test_data): Likewise.
17301 (tan_tonearest_test_data): Likewise.
17302 (tan_towardzero_test_data): Likewise.
17303 (tan_downward_test_data): Likewise.
17304 (tan_upward_test_data): Likewise.
17305 (tanh_test_data): Likewise.
17306 (tgamma_test_data): Likewise.
17307 (trunc_test_data): Likewise.
17308 (y0_test_data): Likewise.
17309 (y1_test_data): Likewise.
17310 (yn_test_data): Likewise.
17311 (significand_test_data): Likewise.
17313 * math/gen-libm-test.pl (@functions): Remove variable.
17314 (generate_testfile): Don't handle START and END lines.
17315 * math/libm-test.inc (START): New macro.
17317 (END_COMPLEX): Likewise.
17318 (acos_test): Use END macro without arguments.
17319 (acos_test_tonearest): Likewise.
17320 (acos_test_towardzero): Likewise.
17321 (acos_test_downward): Likewise.
17322 (acos_test_upward): Likewise.
17323 (acosh_test): Likewise.
17324 (asin_test): Likewise.
17325 (asin_test_tonearest): Likewise.
17326 (asin_test_towardzero): Likewise.
17327 (asin_test_downward): Likewise.
17328 (asin_test_upward): Likewise.
17329 (asinh_test): Likewise.
17330 (atan_test): Likewise.
17331 (atanh_test): Likewise.
17332 (atan2_test): Likewise.
17333 (cabs_test): Likewise.
17334 (cacos_test): Use END_COMPLEX macro without arguments.
17335 (cacosh_test): Likewise.
17336 (carg_test): Use END macro without arguments.
17337 (casin_test): Use END_COMPLEX macro without arguments.
17338 (casinh_test): Likewise.
17339 (catan_test): Likewise.
17340 (catanh_test): Likewise.
17341 (cbrt_test): Use END macro without arguments.
17342 (ccos_test): Use END_COMPLEX macro without arguments.
17343 (ccosh_test): Likewise.
17344 (ceil_test): Use END macro without arguments.
17345 (cexp_test): Use END_COMPLEX macro without arguments.
17346 (cimag_test): Use END macro without arguments.
17347 (clog_test): Use END_COMPLEX macro without arguments.
17348 (clog10_test): Likewise.
17349 (conj_test): Likewise.
17350 (copysign_test): Use END macro without arguments.
17351 (cos_test): Likewise.
17352 (cos_test_tonearest): Likewise.
17353 (cos_test_towardzero): Likewise.
17354 (cos_test_downward): Likewise.
17355 (cos_test_upward): Likewise.
17356 (cosh_test): Likewise.
17357 (cosh_test_tonearest): Likewise.
17358 (cosh_test_towardzero): Likewise.
17359 (cosh_test_downward): Likewise.
17360 (cosh_test_upward): Likewise.
17361 (cpow_test): Use END_COMPLEX macro without arguments.
17362 (cproj_test): Likewise.
17363 (creal_test): Use END macro without arguments.
17364 (csin_test): Use END_COMPLEX macro without arguments.
17365 (csinh_test): Likewise.
17366 (csqrt_test): Likewise.
17367 (ctan_test): Likewise.
17368 (ctan_test_tonearest): Likewise.
17369 (ctan_test_towardzero): Likewise.
17370 (ctan_test_downward): Likewise.
17371 (ctan_test_upward): Likewise.
17372 (ctanh_test): Likewise.
17373 (ctanh_test_tonearest): Likewise.
17374 (ctanh_test_towardzero): Likewise.
17375 (ctanh_test_downward): Likewise.
17376 (ctanh_test_upward): Likewise.
17377 (erf_test): Use END macro without arguments.
17378 (erfc_test): Likewise.
17379 (exp_test): Likewise.
17380 (exp_test_tonearest): Likewise.
17381 (exp_test_towardzero): Likewise.
17382 (exp_test_downward): Likewise.
17383 (exp_test_upward): Likewise.
17384 (exp10_test): Likewise.
17385 (exp2_test): Likewise.
17386 (expm1_test): Likewise.
17387 (fabs_test): Likewise.
17388 (fdim_test): Likewise.
17389 (finite_test): Likewise.
17390 (floor_test): Likewise.
17391 (fma_test): Likewise.
17392 (fma_test_towardzero): Likewise.
17393 (fma_test_downward): Likewise.
17394 (fma_test_upward): Likewise.
17395 (fmax_test): Likewise.
17396 (fmin_test): Likewise.
17397 (fmod_test): Likewise.
17398 (fpclassify_test): Likewise.
17399 (frexp_test): Likewise.
17400 (gamma_test): Likewise.
17401 (hypot_test): Likewise.
17402 (ilogb_test): Likewise.
17403 (isfinite_test): Likewise.
17404 (isgreater_test): Likewise.
17405 (isgreaterequal_test): Likewise.
17406 (isinf_test): Likewise.
17407 (isless_test): Likewise.
17408 (islessequal_test): Likewise.
17409 (islessgreater_test): Likewise.
17410 (isnan_test): Likewise.
17411 (isnormal_test): Likewise.
17412 (issignaling_test): Likewise.
17413 (isunordered_test): Likewise.
17414 (j0_test): Likewise.
17415 (j1_test): Likewise.
17416 (jn_test): Likewise.
17417 (ldexp_test): Likewise.
17418 (lgamma_test): Likewise.
17419 (lrint_test): Likewise.
17420 (lrint_test_tonearest): Likewise.
17421 (lrint_test_towardzero): Likewise.
17422 (lrint_test_downward): Likewise.
17423 (lrint_test_upward): Likewise.
17424 (llrint_test): Likewise.
17425 (llrint_test_tonearest): Likewise.
17426 (llrint_test_towardzero): Likewise.
17427 (llrint_test_downward): Likewise.
17428 (llrint_test_upward): Likewise.
17429 (log_test): Likewise.
17430 (log10_test): Likewise.
17431 (log1p_test): Likewise.
17432 (log2_test): Likewise.
17433 (logb_test): Likewise.
17434 (logb_test_downward): Likewise.
17435 (lround_test): Likewise.
17436 (llround_test): Likewise.
17437 (modf_test): Likewise.
17438 (nearbyint_test): Likewise.
17439 (nextafter_test): Likewise.
17440 (nexttoward_test): Likewise.
17441 (pow_test): Likewise.
17442 (pow_test_tonearest): Likewise.
17443 (pow_test_towardzero): Likewise.
17444 (pow_test_downward): Likewise.
17445 (pow_test_upward): Likewise.
17446 (remainder_test): Likewise.
17447 (remainder_test_tonearest): Likewise.
17448 (remainder_test_towardzero): Likewise.
17449 (remainder_test_downward): Likewise.
17450 (remainder_test_upward): Likewise.
17451 (remquo_test): Likewise.
17452 (rint_test): Likewise.
17453 (rint_test_tonearest): Likewise.
17454 (rint_test_towardzero): Likewise.
17455 (rint_test_downward): Likewise.
17456 (rint_test_upward): Likewise.
17457 (round_test): Likewise.
17458 (scalb_test): Likewise.
17459 (scalbn_test): Likewise.
17460 (scalbln_test): Likewise.
17461 (signbit_test): Likewise.
17462 (sin_test): Likewise.
17463 (sin_test_tonearest): Likewise.
17464 (sin_test_towardzero): Likewise.
17465 (sin_test_downward): Likewise.
17466 (sin_test_upward): Likewise.
17467 (sincos_test): Likewise.
17468 (sinh_test): Likewise.
17469 (sinh_test_tonearest): Likewise.
17470 (sinh_test_towardzero): Likewise.
17471 (sinh_test_downward): Likewise.
17472 (sinh_test_upward): Likewise.
17473 (sqrt_test): Likewise.
17474 (tan_test): Likewise.
17475 (tan_test_tonearest): Likewise.
17476 (tan_test_towardzero): Likewise.
17477 (tan_test_downward): Likewise.
17478 (tan_test_upward): Likewise.
17479 (tanh_test): Likewise.
17480 (tgamma_test): Likewise.
17481 (trunc_test): Likewise.
17482 (y0_test): Likewise.
17483 (y1_test): Likewise.
17484 (yn_test): Likewise.
17485 (significand_test): Likewise.
17487 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
17490 * libio/genops.c (_IO_no_init): Initialize wide struct info.
17492 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
17495 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
17496 __ppc_mdoio and __ppc_mdoom.
17497 * manual/platform.texi: Document new functions __ppc_yield,
17498 __ppc_mdoio and __ppc_mdoom.
17500 2013-05-22 Carlos O'Donell <carlos@redhat.com>
17502 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
17503 (main): Mention "tls" pseudo-hwcap is legacy.
17504 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
17506 2013-05-22 Joseph Myers <joseph@codesourcery.com>
17508 * math/gen-libm-test.pl (parse_args): Output only string of
17509 arguments as text for test name, not full call or descriptions of
17510 tests for extra outputs.
17511 (generate_testfile): Do not pass function name to parse_args.
17512 Generate this_func variable from START.
17513 * math/libm-test.inc (struct test_f_f_data): Rename test_name
17515 (struct test_ff_f_data): Likewise.
17516 (test_ff_f_data_nexttoward): Likewise.
17517 (struct test_fi_f_data): Likewise.
17518 (struct test_fl_f_data): Likewise.
17519 (struct test_if_f_data): Likewise.
17520 (struct test_fff_f_data): Likewise.
17521 (struct test_c_f_data): Likewise.
17522 (struct test_f_f1_data): Likewise. Remove field extra_name.
17523 (struct test_fF_f1_data): Likewise.
17524 (struct test_ffI_f1_data): Likewise.
17525 (struct test_c_c_data): Rename test_name field to arg_str.
17526 (struct test_cc_c_data): Likewise.
17527 (struct test_f_i_data): Likewise.
17528 (struct test_ff_i_data): Likewise.
17529 (struct test_f_l_data): Likewise.
17530 (struct test_f_L_data): Likewise.
17531 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
17533 (COMMON_TEST_SETUP): New macro.
17534 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
17535 (COMMON_TEST_CLEANUP): Likewise.
17536 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
17537 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
17539 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
17540 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
17542 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
17543 (RUN_TEST_fff_f): Take argument string. Call new setup and
17545 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
17546 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
17548 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
17549 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
17551 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17552 (RUN_TEST_fF_f1): Take argument string. Call new setup and
17554 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17555 (RUN_TEST_fI_f1): Take argument string. Call new setup and
17557 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17558 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
17560 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17561 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
17563 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
17564 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
17566 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
17567 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
17569 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
17570 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
17572 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
17573 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
17575 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
17576 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
17578 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
17579 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
17581 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
17582 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
17584 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
17585 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
17587 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
17588 (RUN_TEST_fFF_11): Take argument string. Call new setup and
17590 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
17592 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17594 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
17595 to _sifields.sigfault.
17596 (si_addr_lsb): Define new macro.
17597 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17598 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17599 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
17601 2013-05-03 Carlos O'Donell <carlos at redhat.com>
17604 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
17606 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
17608 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
17609 loading the domain.
17611 2013-05-22 Joseph Myers <joseph@codesourcery.com>
17613 * math/gen-libm-test.pl (parse_args): Do not include expected
17614 result in test name.
17615 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
17616 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17617 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17618 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17619 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17622 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17624 * benchtests/Makefile: Sort function entries.
17626 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
17627 tanh, asinh, acosh, atanh.
17628 * benchtests/acos-inputs: New file.
17629 * benchtests/acosh-inputs: New file.
17630 * benchtests/asin-inputs: New file.
17631 * benchtests/asinh-inputs: New file.
17632 * benchtests/atanh-inputs: New file.
17633 * benchtests/cosh-inputs: New file.
17634 * benchtests/log-inputs: New file.
17635 * benchtests/sinh-inputs: New file.
17636 * benchtests/tanh-inputs: New file.
17638 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
17641 * posix/tst-getaddrinfo4.c: New test.
17642 * posix/Makefile (tests): Add it.
17644 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17647 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
17648 when no services were used.
17649 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
17650 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
17652 2013-05-21 Andreas Schwab <schwab@suse.de>
17655 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
17656 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
17658 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
17659 redundant variable declarations and reallocation of buffer when
17660 parsing as IPv6 address. Always set NSS status when called from
17661 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
17662 buffer too small. Correct computation of needed size.
17663 * nss/Makefile (tests): Add test-digits-dots.
17664 * nss/test-digits-dots.c: New test.
17666 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17668 * benchtests/Makefile: Remove instructions for adding
17670 * benchtests/README: New file to explain how to execute and
17671 enhance the benchmark tests.
17673 2013-05-21 Andreas Schwab <schwab@suse.de>
17676 * setjmp/Makefile (tests): Add tst-sigsetjmp.
17677 * setjmp/tst-sigsetjmp.c: New test.
17679 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
17681 * sysdeps/x86_64/memset.S (memset): New implementation.
17682 (__bzero): Likewise.
17683 (__memset_tail): New function.
17685 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
17687 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
17688 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
17689 __memcpy_sse2_unaligned ifunc selection.
17690 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17691 Add memcpy-sse2-unaligned.S.
17692 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17693 Add: __memcpy_sse2_unaligned.
17695 2013-05-19 Joseph Myers <joseph@codesourcery.com>
17698 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17699 math_force_eval before restoring floating-point envrionment.
17700 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
17701 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
17703 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
17705 (__nearbyintl): Use math_force_eval before restoring
17706 floating-point environment.
17707 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
17709 * math/gen-libm-test.pl (special_functions): Remove.
17710 (parse_args): Don't handle TEST_extra. Handle functions with no
17712 * math/libm-test.inc (struct test_sincos_data): Replace with
17713 struct test_fFF_11_data.
17714 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
17715 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
17716 (sincos_test_data): Change element type to struct
17717 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
17718 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
17719 RUN_TEST_LOOP_sincos.
17720 * math/README.libm-test: Don't mention special handling of
17721 individual functions.
17722 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
17723 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17724 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17725 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17726 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17729 * math/gen-libm-test.pl (get_variable): Remove function.
17730 (parse_args): Don't show pointer parameters to call in test
17731 names. Use "extra output N" in test names for extra outputs
17732 rather than naming variables.
17734 2013-05-18 Joseph Myers <joseph@codesourcery.com>
17737 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
17738 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
17739 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
17741 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
17743 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
17746 * math/gen-libm-test.pl (@tests): Remove variable.
17747 ($count): Likewise.
17748 (new_test): Remove function.
17749 (show_exceptions): New function.
17750 (special_functions): Use show_exceptions instead of new_test.
17751 (parse_args): Likewise.
17752 (generate_testfile): Pass only function name in generated call to
17753 print_max_error or print_complex_max_error.
17754 (get_ulps): Do not handle complex tests specially.
17755 (output_test): Rename to ...
17756 (get_all_ulps_for_test): ... this. Return a string rather than
17757 printing to a file. Require ulps to be present.
17758 (output_ulps): Generate arrays rather than #defines.
17759 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
17760 (struct ulp_data): New type.
17761 (BUILD_COMPLEX_ULP): Remove macro.
17762 (compare_ulp_data): New function.
17763 (find_ulps): Likewise.
17764 (find_test_ulps): Likewise.
17765 (find_function_ulps): Likewise.
17766 (find_complex_function_ulps): Likewise.
17767 (print_max_error): Determine allowed ulps using
17768 find_function_ulps.
17769 (print_complex_max_error): Determine allowed ulps using
17770 find_complex_function_ulps.
17771 (check_float_internal): Determine max ulps using find_test_ulps.
17772 (check_float): Do not take max_ulp parameter. Update call to
17773 check_float_internal.
17774 (check_complex): Likewise.
17775 (check_int): Do not take max_ulp parameter.
17776 (check_long): Likewise.
17777 (check_bool): Likewise.
17778 (check_longlong): Likewise.
17779 (struct test_f_f_data): Remove max_ulp field.
17780 (struct test_ff_f_data): Likewise.
17781 (struct test_ff_f_data_nexttoward): Likewise.
17782 (struct test_fi_f_data): Likewise.
17783 (struct test_fl_f_data): Likewise.
17784 (struct test_if_f_data): Likewise.
17785 (struct test_fff_f_data): Likewise.
17786 (struct test_c_f_data): Likewise.
17787 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
17788 (struct test_fF_f1_data): Likewise.
17789 (struct test_ffI_f1_data): Likewise.
17790 (struct test_c_c_data): Remove max_ulp field.
17791 (struct test_cc_c_data): Likewise.
17792 (struct test_f_i_data): Likewise.
17793 (struct test_ff_i_data): Likewise.
17794 (struct test_f_l_data): Likewise.
17795 (struct test_f_L_data): Likewise.
17796 (struct test_sincos_data): Likewise.
17797 (RUN_TEST_f_f): Do not handle ulps.
17798 (RUN_TEST_LOOP_f_f): Likewise.
17799 (RUN_TEST_2_f): Likewise.
17800 (RUN_TEST_LOOP_2_f): Likewise.
17801 (RUN_TEST_fff_f): Likewise.
17802 (RUN_TEST_LOOP_fff_f): Likewise.
17803 (RUN_TEST_c_f): Likewise.
17804 (RUN_TEST_LOOP_c_f): Likewise.
17805 (RUN_TEST_f_f1): Likewise.
17806 (RUN_TEST_LOOP_f_f1): Likewise.
17807 (RUN_TEST_fF_f1): Likewise.
17808 (RUN_TEST_LOOP_fF_f1): Likewise.
17809 (RUN_TEST_fI_f1): Likewise.
17810 (RUN_TEST_LOOP_fI_f1): Likewise.
17811 (RUN_TEST_ffI_f1): Likewise.
17812 (RUN_TEST_LOOP_ffI_f1): Likewise.
17813 (RUN_TEST_c_c): Likewise.
17814 (RUN_TEST_LOOP_c_c): Likewise.
17815 (RUN_TEST_cc_c): Likewise.
17816 (RUN_TEST_LOOP_cc_c): Likewise.
17817 (RUN_TEST_f_i): Likewise.
17818 (RUN_TEST_LOOP_f_i): Likewise.
17819 (RUN_TEST_f_i_tg): Likewise.
17820 (RUN_TEST_LOOP_f_i_tg): Likewise.
17821 (RUN_TEST_ff_i_tg): Likewise.
17822 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17823 (RUN_TEST_f_b): Likewise.
17824 (RUN_TEST_LOOP_f_b): Likewise.
17825 (RUN_TEST_f_b_tg): Likewise.
17826 (RUN_TEST_LOOP_f_b_tg): Likewise.
17827 (RUN_TEST_f_l): Likewise.
17828 (RUN_TEST_LOOP_f_l): Likewise.
17829 (RUN_TEST_f_L): Likewise.
17830 (RUN_TEST_LOOP_f_L): Likewise.
17831 (RUN_TEST_sincos): Likewise.
17832 (RUN_TEST_LOOP_sincos): Likewise.
17834 2013-05-17 Joseph Myers <joseph@codesourcery.com>
17838 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
17839 main case of finite arguments, set rounding mode to FE_TONEAREST
17840 and discard exceptions.
17841 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
17843 (remainder_tonearest_test_data): New variable.
17844 (remainder_test_tonearest): New function.
17845 (remainder_towardzero_test_data): New variable.
17846 (remainder_test_towardzero): New function.
17847 (remainder_downward_test_data): New variable.
17848 (remainder_test_downward): New function.
17849 (remainder_upward_test_data): New variable.
17850 (remainder_test_upward): New function.
17851 (main): Call the new test functions.
17853 * math/libm-test.inc (struct test_f_f1_data): Remove field
17855 (struct test_fF_f1_data): Likewise.
17856 (struct test_ffI_f1_data): Likewise.
17857 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
17858 based on value of EXTRA_EXPECTED.
17859 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17860 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
17861 EXTRA_VAR based on value of EXTRA_EXPECTED.
17862 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17863 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
17864 EXTRA_VAR based on value of EXTRA_EXPECTED.
17865 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17866 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
17867 EXTRA_VAR based on value of EXTRA_EXPECTED.
17868 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17869 * math/gen-libm-test.pl (parse_args): Don't output initializers
17870 for extra output values.
17872 * math/libm-test.inc (check_int): Expect result to be exactly
17873 equal to expected value and do not handle ulps.
17874 (check_long): Likewise.
17875 (check_longlong): Likewise.
17877 * math/libm-test.inc (ceil_test_data): Test for "inexact"
17879 (cimag_test_data): Likewise.
17880 (conj_test_data): Likewise.
17881 (copysign_test_data): Likewise.
17882 (cproj_test_data): Likewise.
17883 (creal_test_data): Likewise.
17884 (fabs_test_data): Likewise.
17885 (fdim_test_data): Likewise.
17886 (finite_test_data): Likewise.
17887 (floor_test_data): Likewise.
17888 (fmax_test_data): Likewise.
17889 (fmin_test_data): Likewise.
17890 (fmod_test_data): Likewise.
17891 (fpclassify_test_data): Likewise.
17892 (frexp_test_data): Likewise.
17893 (ilogb_test_data): Likewise.
17894 (isfinite_test_data): Likewise.
17895 (isgreater_test_data): Likewise.
17896 (isgreaterequal_test_data): Likewise.
17897 (isinf_test_data): Likewise.
17898 (isless_test_data): Likewise.
17899 (islessequal_test_data): Likewise.
17900 (islessgreater_test_data): Likewise.
17901 (isnan_test_data): Likewise.
17902 (isnormal_test_data): Likewise.
17903 (issignaling_test_data): Likewise.
17904 (isunordered_test_data): Likewise.
17905 (ldexp_test_data): Likewise.
17906 (lrint_test_data): Likewise.
17907 (lrint_test_data) [TEST_FLOAT]: Disable one test.
17908 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
17909 (lrint_tonearest_test_data): Test for "inexact" exceptions.
17910 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17911 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
17912 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17914 (lrint_towardzero_test_data): Test for "inexact" exceptions.
17915 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17916 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
17917 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
17919 (lrint_downward_test_data): Test for "inexact" exceptions.
17920 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17921 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
17922 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17924 (lrint_upward_test_data): Test for "inexact" exceptions.
17925 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
17927 (llrint_test_data): Test for "inexact" exceptions.
17928 (llrint_test_data) [TEST_FLOAT]: Disable one test.
17929 (llrint_tonearest_test_data): Test for "inexact" exceptions.
17930 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17931 (llrint_towardzero_test_data): Test for "inexact" exceptions.
17932 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17933 (llrint_downward_test_data): Test for "inexact" exceptions.
17934 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17935 (llrint_upward_test_data): Test for "inexact" exceptions.
17936 (logb_test_data): Likewise.
17937 (logb_downward_test_data): Likewise.
17938 (nextafter_test_data): Likewise.
17939 (nexttoward_test_data): Likewise.
17940 (remainder_test_data): Likewise.
17941 (remquo_test_data): Likewise.
17942 (scalbn_test_data): Likewise.
17943 (scalbln_test_data): Likewise.
17944 (signbit_test_data): Likewise.
17945 (sqrt_test_data): Likewise.
17946 (significand_test_data): Likewise.
17948 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17951 * benchtests/bench-modf.c (struct args): Mark arg0 as
17953 * scripts/bench.pl: Mark members of struct args as volatile.
17955 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17958 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
17959 negative infinity on POWER6 or lower.
17960 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
17962 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17965 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
17966 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
17967 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
17968 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
17969 (_FP_SETQNAN): New macro.
17970 (_FP_SETQNAN_SEMIRAW): Likewise.
17971 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
17972 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
17973 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
17974 (FP_EXTEND): Use _FP_FRAC_SNANP.
17975 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
17976 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
17978 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17980 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17983 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17985 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
17986 with DIVIDE_BY_ZERO_EXCEPTION.
17987 (gamma_test_data): Likewise.
17988 (lgamma_test_data): Likewise.
17989 (log_test_data): Likewise.
17990 (log10_test_data): Likewise.
17991 (log2_test_data): Likewise.
17992 (tgamma_test_data): Likewise.
17994 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
17995 (acos_test_tonearest): Likewise.
17996 (acos_test_towardzero): Likewise.
17997 (acos_test_downward): Likewise.
17998 (acos_test_upward): Likewise.
17999 (acosh_test): Likewise.
18000 (asin_test): Likewise.
18001 (asin_test_tonearest): Likewise.
18002 (asin_test_towardzero): Likewise.
18003 (asin_test_downward): Likewise.
18004 (asin_test_upward): Likewise.
18005 (asinh_test): Likewise.
18006 (atan_test): Likewise.
18007 (atanh_test): Likewise.
18008 (atan2_test): Likewise.
18009 (cabs_test): Likewise.
18010 (cacos_test): Likewise.
18011 (cacosh_test): Likewise.
18012 (casin_test): Likewise.
18013 (casinh_test): Likewise.
18014 (catan_test): Likewise.
18015 (catanh_test): Likewise.
18016 (cbrt_test): Likewise.
18017 (ccos_test): Likewise.
18018 (ccosh_test): Likewise.
18019 (cexp_test): Likewise.
18020 (clog_test): Likewise.
18021 (clog10_test): Likewise.
18022 (cos_test): Likewise.
18023 (cos_test_tonearest): Likewise.
18024 (cos_test_towardzero): Likewise.
18025 (cos_test_downward): Likewise.
18026 (cos_test_upward): Likewise.
18027 (cosh_test): Likewise.
18028 (cosh_test_tonearest): Likewise.
18029 (cosh_test_towardzero): Likewise.
18030 (cosh_test_downward): Likewise.
18031 (cosh_test_upward): Likewise.
18032 (cpow_test): Likewise.
18033 (csin_test): Likewise.
18034 (csinh_test): Likewise.
18035 (csqrt_test): Likewise.
18036 (ctan_test): Likewise.
18037 (ctan_test_tonearest): Likewise.
18038 (ctan_test_towardzero): Likewise.
18039 (ctan_test_downward): Likewise.
18040 (ctan_test_upward): Likewise.
18041 (ctanh_test): Likewise.
18042 (ctanh_test_tonearest): Likewise.
18043 (ctanh_test_towardzero): Likewise.
18044 (ctanh_test_downward): Likewise.
18045 (ctanh_test_upward): Likewise.
18046 (erf_test): Likewise.
18047 (erfc_test): Likewise.
18048 (exp_test): Likewise.
18049 (exp_test_tonearest): Likewise.
18050 (exp_test_towardzero): Likewise.
18051 (exp_test_downward): Likewise.
18052 (exp_test_upward): Likewise.
18053 (exp10_test): Likewise.
18054 (exp2_test): Likewise.
18055 (expm1_test): Likewise.
18056 (fmod_test): Likewise.
18057 (gamma_test): Likewise.
18058 (hypot_test): Likewise.
18059 (j0_test): Likewise.
18060 (j1_test): Likewise.
18061 (jn_test): Likewise.
18062 (lgamma_test): Likewise.
18063 (log_test): Likewise.
18064 (log10_test): Likewise.
18065 (log1p_test): Likewise.
18066 (log2_test): Likewise.
18067 (logb_test_downward): Likewise.
18068 (pow_test): Likewise.
18069 (pow_test_tonearest): Likewise.
18070 (pow_test_towardzero): Likewise.
18071 (pow_test_downward): Likewise.
18072 (pow_test_upward): Likewise.
18073 (remainder_test): Likewise.
18074 (remquo_test): Likewise.
18075 (sin_test): Likewise.
18076 (sin_test_tonearest): Likewise.
18077 (sin_test_towardzero): Likewise.
18078 (sin_test_downward): Likewise.
18079 (sin_test_upward): Likewise.
18080 (sincos_test): Likewise.
18081 (sinh_test): Likewise.
18082 (sinh_test_tonearest): Likewise.
18083 (sinh_test_towardzero): Likewise.
18084 (sinh_test_downward): Likewise.
18085 (sinh_test_upward): Likewise.
18086 (sqrt_test): Likewise.
18087 (tan_test): Likewise.
18088 (tan_test_tonearest): Likewise.
18089 (tan_test_towardzero): Likewise.
18090 (tan_test_downward): Likewise.
18091 (tan_test_upward): Likewise.
18092 (tanh_test): Likewise.
18093 (tgamma_test): Likewise.
18094 (y0_test): Likewise.
18095 (y1_test): Likewise.
18096 (yn_test): Likewise.
18098 * math/gen-libm-test.pl (adjust_arg): Remove function.
18099 (special_function): Remove argument $in_func. Only handle
18100 generating output for tables of tests, not inside functions.
18101 (parse_args): Likewise.
18102 (generate_testfile): Remove variable $in_func. Update call to
18104 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
18105 (MINUS_ZERO_INIT): Rename macro to minus_zero.
18106 (PLUS_INFTY_INIT): Rename macro to plus_infty.
18107 (MINUS_INFTY_INIT): Rename macro to minus_infty.
18108 (QNAN_VALUE_INIT): Rename macro to qnan_value.
18109 (MAX_VALUE_INIT): Rename macro to max_value.
18110 (MIN_VALUE_INIT): Rename macro to min_value.
18111 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
18112 (plus_zero): Remove variable.
18113 (minus_zero): Likewise.
18114 (plus_infty): Likewise.
18115 (minus_infty): Likewise.
18116 (qnan_value): Likewise.
18117 (max_value): Likewise.
18118 (min_value): Likewise.
18119 (min_subnorm_value): Likewise.
18121 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18123 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
18124 uint64_t or uint32_t usage.
18125 * crypt/sha256-block.c: Likewise.
18126 * crypt/sha256-crypt.c: Likewise.
18127 * crypt/sha256.c: Likewise.
18128 * crypt/sha512-block.c: Likewise.
18129 * crypt/sha512-crypt.c: Likewise.
18130 * crypt/sha512.c: Likewise.
18131 * debug/backtrace-tst.c: Likewise.
18132 * debug/pcprofiledump.c: Likewise.
18133 * elf/cache.c: Likewise.
18134 * elf/dl-cache.c: Likewise.
18135 * elf/dl-misc.c: Likewise.
18136 * elf/dl-profile.c: Likewise.
18137 * elf/dl-support.c: Likewise.
18138 * elf/ldconfig.c: Likewise.
18139 * elf/sprof.c: Likewise.
18140 * iconv/dummy-repertoire.c: Likewise.
18141 * iconv/iconv_charmap.c: Likewise.
18142 * iconv/skeleton.c: Likewise.
18143 * iconvdata/8bit-generic.c: Likewise.
18144 * iconvdata/cp737.h: Likewise.
18145 * iconvdata/cp775.h: Likewise.
18146 * iconvdata/ibm1008.h: Likewise.
18147 * iconvdata/ibm1025.h: Likewise.
18148 * iconvdata/ibm1046.h: Likewise.
18149 * iconvdata/ibm1097.h: Likewise.
18150 * iconvdata/ibm1112.h: Likewise.
18151 * iconvdata/ibm1122.h: Likewise.
18152 * iconvdata/ibm1123.h: Likewise.
18153 * iconvdata/ibm1124.h: Likewise.
18154 * iconvdata/ibm1129.h: Likewise.
18155 * iconvdata/ibm1130.h: Likewise.
18156 * iconvdata/ibm1132.h: Likewise.
18157 * iconvdata/ibm1133.h: Likewise.
18158 * iconvdata/ibm1137.h: Likewise.
18159 * iconvdata/ibm1140.h: Likewise.
18160 * iconvdata/ibm1141.h: Likewise.
18161 * iconvdata/ibm1142.h: Likewise.
18162 * iconvdata/ibm1143.h: Likewise.
18163 * iconvdata/ibm1144.h: Likewise.
18164 * iconvdata/ibm1145.h: Likewise.
18165 * iconvdata/ibm1146.h: Likewise.
18166 * iconvdata/ibm1147.h: Likewise.
18167 * iconvdata/ibm1148.h: Likewise.
18168 * iconvdata/ibm1149.h: Likewise.
18169 * iconvdata/ibm1153.h: Likewise.
18170 * iconvdata/ibm1154.h: Likewise.
18171 * iconvdata/ibm1155.h: Likewise.
18172 * iconvdata/ibm1156.h: Likewise.
18173 * iconvdata/ibm1157.h: Likewise.
18174 * iconvdata/ibm1158.h: Likewise.
18175 * iconvdata/ibm1160.h: Likewise.
18176 * iconvdata/ibm1161.h: Likewise.
18177 * iconvdata/ibm1162.h: Likewise.
18178 * iconvdata/ibm1163.h: Likewise.
18179 * iconvdata/ibm1164.h: Likewise.
18180 * iconvdata/ibm1166.h: Likewise.
18181 * iconvdata/ibm1167.h: Likewise.
18182 * iconvdata/ibm12712.h: Likewise.
18183 * iconvdata/ibm1390.h: Likewise.
18184 * iconvdata/ibm1399.h: Likewise.
18185 * iconvdata/ibm16804.h: Likewise.
18186 * iconvdata/ibm4517.h: Likewise.
18187 * iconvdata/ibm4899.h: Likewise.
18188 * iconvdata/ibm4909.h: Likewise.
18189 * iconvdata/ibm4971.h: Likewise.
18190 * iconvdata/ibm5347.h: Likewise.
18191 * iconvdata/ibm803.h: Likewise.
18192 * iconvdata/ibm856.h: Likewise.
18193 * iconvdata/ibm901.h: Likewise.
18194 * iconvdata/ibm902.h: Likewise.
18195 * iconvdata/ibm9030.h: Likewise.
18196 * iconvdata/ibm9066.h: Likewise.
18197 * iconvdata/ibm921.h: Likewise.
18198 * iconvdata/ibm922.h: Likewise.
18199 * iconvdata/ibm9448.h: Likewise.
18200 * iconvdata/isiri-3342.h: Likewise.
18201 * iconvdata/jis0201.h: Likewise.
18202 * include/link.h: Likewise.
18203 * include/netdb.h: Likewise.
18204 * inet/check_native.c: Likewise.
18205 * inet/check_pf.c: Likewise.
18206 * inet/getipv4sourcefilter.c: Likewise.
18207 * inet/getnameinfo.c: Likewise.
18208 * inet/getsourcefilter.c: Likewise.
18209 * inet/htonl.c: Likewise.
18210 * inet/setipv4sourcefilter.c: Likewise.
18211 * inet/setsourcefilter.c: Likewise.
18212 * inet/test-inet6_opt.c: Likewise.
18213 * inet/tst-network.c: Likewise.
18214 * locale/C-collate.c: Likewise.
18215 * locale/C-ctype.c: Likewise.
18216 * locale/C-time.c: Likewise.
18217 * locale/C-translit.h: Likewise.
18218 * locale/loadarchive.c: Likewise.
18219 * locale/programs/3level.h: Likewise.
18220 * locale/programs/charmap.c: Likewise.
18221 * locale/programs/charmap.h: Likewise.
18222 * locale/programs/ld-address.c: Likewise.
18223 * locale/programs/ld-collate.c: Likewise.
18224 * locale/programs/ld-ctype.c: Likewise.
18225 * locale/programs/ld-identification.c: Likewise.
18226 * locale/programs/ld-measurement.c: Likewise.
18227 * locale/programs/ld-messages.c: Likewise.
18228 * locale/programs/ld-monetary.c: Likewise.
18229 * locale/programs/ld-name.c: Likewise.
18230 * locale/programs/ld-numeric.c: Likewise.
18231 * locale/programs/ld-paper.c: Likewise.
18232 * locale/programs/ld-telephone.c: Likewise.
18233 * locale/programs/ld-time.c: Likewise.
18234 * locale/programs/linereader.c: Likewise.
18235 * locale/programs/locale.c: Likewise.
18236 * locale/programs/locarchive.c: Likewise.
18237 * locale/programs/locfile.h: Likewise.
18238 * locale/programs/repertoire.c: Likewise.
18239 * locale/programs/simple-hash.c: Likewise.
18240 * locale/programs/simple-hash.h: Likewise.
18241 * malloc/memusage.c: Likewise.
18242 * malloc/memusagestat.c: Likewise.
18243 * nis/nis_defaults.c: Likewise.
18244 * nis/nis_hash.c: Likewise.
18245 * nis/nis_print.c: Likewise.
18246 * nis/nis_xdr.c: Likewise.
18247 * nscd/connections.c: Likewise.
18248 * nscd/hstcache.c: Likewise.
18249 * nscd/nscd_gethst_r.c: Likewise.
18250 * nscd/nscd_getserv_r.c: Likewise.
18251 * nscd/nscd_helper.c: Likewise.
18252 * nscd/servicescache.c: Likewise.
18253 * nss/makedb.c: Likewise.
18254 * nss/nss_db/db-XXX.c: Likewise.
18255 * nss/nss_db/db-initgroups.c: Likewise.
18256 * nss/nss_db/db-netgrp.c: Likewise.
18257 * nss/nss_files/files-network.c: Likewise.
18258 * nss/nss_files/files-parse.c: Likewise.
18259 * posix/bug-regex5.c: Likewise.
18260 * posix/fnmatch_loop.c: Likewise.
18261 * posix/regcomp.c: Likewise.
18262 * posix/regexec.c: Likewise.
18263 * posix/tst-rfc3484-2.c: Likewise.
18264 * posix/tst-rfc3484-3.c: Likewise.
18265 * posix/tst-rfc3484.c: Likewise.
18266 * resolv/nss_dns/dns-canon.c: Likewise.
18267 * resolv/nss_dns/dns-network.c: Likewise.
18268 * resolv/res_init.c: Likewise.
18269 * resolv/res_mkquery.c: Likewise.
18270 * resolv/tst-aton.c: Likewise.
18271 * stdlib/cxa_atexit.c: Likewise.
18272 * stdlib/cxa_finalize.c: Likewise.
18273 * stdlib/gen-fpioconst.c: Likewise.
18274 * stdlib/strtol_l.c: Likewise.
18275 * string/tst-endian.c: Likewise.
18276 * sunrpc/auth_des.c: Likewise.
18277 * sunrpc/clnt_udp.c: Likewise.
18278 * sunrpc/rtime.c: Likewise.
18279 * sunrpc/svcauth_des.c: Likewise.
18280 * sunrpc/xdr.c: Likewise.
18281 * sunrpc/xdr_intXX_t.c: Likewise.
18282 * sunrpc/xdr_rec.c: Likewise.
18283 * sysdeps/generic/ldconfig.h: Likewise.
18284 * sysdeps/generic/ldsodefs.h: Likewise.
18285 * sysdeps/generic/memusage.h: Likewise.
18286 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18287 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
18288 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
18289 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18290 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18291 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18292 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18293 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18294 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18295 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18296 * sysdeps/posix/getaddrinfo.c: Likewise.
18297 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18298 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18299 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18300 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18301 * sysdeps/powerpc/test-gettimebase.c: Likewise.
18302 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18303 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
18304 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
18305 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18306 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
18307 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18308 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18309 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
18310 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
18311 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
18312 * sysdeps/x86_64/dl-tls.h: Likewise.
18313 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
18314 * time/alt_digit.c: Likewise.
18315 * time/era.c: Likewise.
18316 * wcsmbs/tst-c16c32-1.c: Likewise.
18318 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18320 * math/libm-test.inc (struct test_sincos_data): New type.
18321 (RUN_TEST_LOOP_sincos): New macro.
18322 (sincos_test_data): New variable.
18323 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
18325 2013-05-16 Richard Henderson <rth@redhat.com>
18327 * math/atest-exp2.c (LIMB64): New macro.
18328 (CONSTSZ): New macro.
18329 (mp_exp1, mp_exp_m1, mp_log2): New variables.
18331 (print_mpn_fp): ... to function scope.
18332 (read_mpn_hex): Remove.
18333 (get_log2): Remove.
18334 (exp2_mpn): Use mp_log2.
18335 (main): Use mp_exp1.
18337 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18339 * math/libm-test.inc: Remove comment about not testing "inexact"
18341 (INEXACT_EXCEPTION): New macro.
18342 (NO_INEXACT_EXCEPTION): Likewise.
18343 (INVALID_EXCEPTION_OK): Update value.
18344 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18345 (OVERFLOW_EXCEPTION_OK): Likewise.
18346 (UNDERFLOW_EXCEPTION_OK): Likewise.
18347 (IGNORE_ZERO_INF_SIGN): Likewise.
18348 (ERRNO_UNCHANGED): Likewise.
18349 (ERRNO_EDOM): Likewise.
18350 (ERRNO_ERANGE): Likewise.
18351 (test_exceptions): Handle testing "inexact" exceptions.
18352 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
18353 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
18354 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
18355 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
18357 (rint_towardzero_test_data): Likewise.
18358 (rint_downward_test_data): Likewise.
18359 (rint_upward_test_data): Likewise.
18361 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
18362 with OVERFLOW_EXCEPTION.
18363 (exp10_test_data): Likewise.
18364 (exp2_test_data): Likewise.
18365 (expm1_test_data): Likewise.
18366 (lgamma_test_data): Likewise.
18367 (pow_test_data): Likewise.
18368 (tgamma_test_data): Likewise.
18369 (yn_test_data): Remove duplicate test of overflow.
18371 * math/libm-test.inc (struct test_cc_c_data): New type.
18372 (RUN_TEST_LOOP_cc_c): New macro.
18373 (cpow_test_data): New variable.
18374 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
18376 * math/libm-test.inc (struct test_f_L_data): New type.
18377 (RUN_TEST_LOOP_f_L): New macro.
18378 (llrint_test_data): New variable.
18379 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
18380 (llrint_tonearest_test_data): New variable.
18381 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
18382 (llrint_towardzero_test_data): New variable.
18383 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
18384 (llrint_downward_test_data): New variable.
18385 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
18386 (llrint_upward_test_data): New variable.
18387 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
18388 (llround_test_data): New variable.
18389 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
18391 2013-05-13 Peter Collingbourne <pcc@google.com>
18393 * math/atest-exp2.c (get_log2): Remove const attribute.
18395 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18397 * math/libm-test.inc (struct test_f_l_data): New type.
18398 (RUN_TEST_LOOP_f_l): New macro.
18399 (lrint_test_data): New variable.
18400 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
18401 (lrint_tonearest_test_data): New variable.
18402 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
18403 (lrint_towardzero_test_data): New variable.
18404 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
18405 (lrint_downward_test_data): New variable.
18406 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
18407 (lrint_upward_test_data): New variable.
18408 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
18409 (lround_test_data): New variable.
18410 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
18412 2013-05-15 Peter Collingbourne <pcc@google.com>
18414 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
18415 (EXTRACT_WORDS64) Use where appropriate.
18416 (INSERT_WORDS64) Likewise.
18418 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
18419 constraints with x constraints.
18420 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
18422 * malloc/obstack.c (_obstack_compat): Add initializer.
18424 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
18426 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
18427 si_trapno and add si_addr_lsb to _sifields.sigfault.
18428 (si_trapno): Remove macro.
18429 (si_addr_lsb): Define new macro.
18430 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18432 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18434 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
18435 instead of TEST_f_l.
18436 (llrint_test_tonearest): Likewise.
18437 (llrint_test_towardzero): Likewise.
18438 (llrint_test_downward): Likewise.
18439 (llrint_test_upward): Likewise.
18440 (llround_test): Likewise.
18442 * math/libm-test.inc (struct test_f_i_data): Add comment.
18443 (RUN_TEST_LOOP_f_b): New macro.
18444 (RUN_TEST_LOOP_f_b_tg): Likewise.
18445 (finite_test_data): New variable.
18446 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
18447 (isfinite_test_data): New variable.
18448 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18449 (isinf_test_data): New variable.
18450 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18451 (isnan_test_data): New variable.
18452 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18453 (isnormal_test_data): New variable.
18454 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18455 (issignaling_test_data): New variable.
18456 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18457 (signbit_test_data): New variable.
18458 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18460 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
18461 with INVALID_EXCEPTION.
18462 (acosh_test_data): Likewise.
18463 (asin_test_data): Likewise.
18464 (atanh_test_data): Likewise.
18465 (fmod_test_data): Likewise.
18466 (log_test_data): Likewise.
18467 (log10_test_data): Likewise.
18468 (log2_test_data): Likewise.
18469 (pow_test_data): Likewise.
18470 (sqrt_test_data): Likewise.
18471 (y0_test_data): Likewise.
18472 (y1_test_data): Likewise.
18473 (yn_test_data): Likewise.
18475 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
18478 * math/libm-test.inc (struct test_ff_i_data): New type.
18479 (RUN_TEST_LOOP_ff_i_tg): New macro.
18480 (isgreater_test_data): New variable.
18481 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18482 (isgreaterequal_test_data): New variable.
18483 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18484 (isless_test_data): New variable.
18485 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18486 (islessequal_test_data): New variable.
18487 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18488 (islessgreater_test_data): New variable.
18489 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18490 (isunordered_test_data): New variable.
18491 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18493 2013-05-14 David S. Miller <davem@davemloft.net>
18495 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18497 2013-05-14 Joseph Myers <joseph@codesourcery.com>
18499 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
18501 * math/libm-test.inc (struct test_fF_f1_data): Change type of
18503 (struct test_f_i_data): Change type of max_ulp to int.
18505 * math/libm-test.inc (test_ffI_f1_data): New type.
18506 (RUN_TEST_LOOP_ffI_f1): New macro.
18507 (remquo_test_data): New variable.
18508 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
18510 * setjmp/tst-setjmp-fp.c: New file.
18511 * setjmp/Makefile (tests): Add tst-setjmp-fp.
18512 (link-libm): New variable.
18513 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
18515 * math/libm-test.inc (struct test_f_i_data): New type.
18516 (RUN_TEST_LOOP_f_i): New macro.
18517 (RUN_TEST_LOOP_f_i_tg): Likewise.
18518 (fpclassify_test_data): New variable.
18519 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
18520 (ilogb_test_data): New variable.
18521 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
18523 * math/libm-test.inc (scalbln_test): Correct function name in END
18526 * math/libm-test.inc (struct test_f_f1_data): Add comment.
18527 (RUN_TEST_LOOP_fI_f1): New macro.
18528 (frexp_test_data): New variable.
18529 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
18531 * math/libm-test.inc (struct test_fF_f1_data): New type.
18532 (RUN_TEST_LOOP_fF_f1): New macro.
18533 (modf_test_data): New variable.
18534 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
18536 * math/libm-test.inc (struct test_f_f1_data): New type.
18537 (RUN_TEST_LOOP_f_f1): New macro.
18538 (gamma_test_data): New variable.
18539 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18540 (lgamma_test_data): New variable.
18541 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18543 2013-05-13 Carlos O'Donell <carlos@redhat.com>
18545 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
18546 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
18547 (main): Comment "tls" pseudo-hwcap.
18549 2013-05-13 Joseph Myers <joseph@codesourcery.com>
18551 * math/libm-test.inc (struct test_fl_f_data): New type.
18552 (RUN_TEST_LOOP_fl_f): New variable.
18553 (scalbln_test_data): New variable.
18554 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
18556 * math/libm-test.inc (struct test_fi_f_data): New type.
18557 (RUN_TEST_LOOP_fi_f): New macro.
18558 (ldexp_test_data): New variable.
18559 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
18560 (scalbn_test_data): New variable.
18561 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
18563 * math/libm-test.inc (struct test_c_f_data): New type.
18564 (RUN_TEST_LOOP_c_f): New macro.
18565 (cabs_test_data): New variable.
18566 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
18567 (carg_test_data): New variable.
18568 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
18569 (cimag_test_data): New variable.
18570 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
18571 (creal_test_data): New variable.
18572 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
18574 * math/libm-test.inc (struct test_if_f_data): New type.
18575 (RUN_TEST_LOOP_if_f): New macro.
18576 (jn_test_data): New variable.
18577 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
18578 (yn_test_data): New variable.
18579 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
18581 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
18583 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18585 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
18586 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
18588 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18590 * benchtests/Makefile (CPPFLAGS-nonlib): Add
18591 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
18592 (bench-deps): Add bench-timing.h.
18593 * benchtests-bench-skeleton.c: Include bench-timing.h.
18594 (main): Use TIMING_* macros instead of clock_gettime.
18595 * benchtests/bench-timing.h: New file.
18598 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
18599 Renamed from _LIB_VERSION.
18600 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
18602 2013-05-12 Joseph Myers <joseph@codesourcery.com>
18604 * math/libm-test.inc (struct test_fff_f_data): New type.
18605 (RUN_TEST_LOOP_fff_f): New macro.
18606 (fma_test_data): New variable.
18607 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
18608 (fma_towardzero_test_data): New variable.
18609 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
18610 (fma_downward_test_data): New variable.
18611 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
18612 (fma_upward_test_data): New variable.
18613 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
18615 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
18616 (struct test_c_c_data): New type.
18617 (RUN_TEST_LOOP_c_c): New macro.
18618 (cacos_test_data): New variable.
18619 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
18620 (cacosh_test_data): New variable.
18621 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
18622 (casin_test_data): New variable.
18623 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
18624 (casinh_test_data): New variable.
18625 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
18626 (catan_test_data): New variable.
18627 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
18628 (catanh_test_data): New variable.
18629 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
18630 (ccos_test_data): New variable.
18631 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
18632 (ccosh_test_data): New variable.
18633 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
18634 (cexp_test_data): New variable.
18635 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
18636 (clog_test_data): New variable.
18637 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
18638 (clog10_test_data): New variable.
18639 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
18640 (conj_test_data): New variable.
18641 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
18642 (cproj_test_data): New variable.
18643 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
18644 (csin_test_data): New variable.
18645 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
18646 (csinh_test_data): New variable.
18647 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
18648 (csqrt_test_data): New variable.
18649 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
18650 (ctan_test_data): New variable.
18651 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
18652 (ctan_tonearest_test_data): New variable.
18653 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18654 (ctan_towardzero_test_data): New variable.
18655 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18656 (ctan_downward_test_data): New variable.
18657 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18658 (ctan_upward_test_data): New variable.
18659 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18660 (ctanh_test_data): New variable.
18661 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
18662 (ctanh_tonearest_test_data): New variable.
18663 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18664 (ctanh_towardzero_test_data): New variable.
18665 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18666 (ctanh_downward_test_data): New variable.
18667 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18668 (ctanh_upward_test_data): New variable.
18669 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18670 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
18673 * math/libm-test.inc (struct test_ff_f_data): New type.
18674 (struct test_ff_f_data_nexttoward): Likewise.
18675 (RUN_TEST_LOOP_2_f): New macro.
18676 (RUN_TEST_LOOP_ff_f): Likewise.
18677 (atan2_test_data): New variable.
18678 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
18679 (copysign_test_data): New variable.
18680 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
18681 (fdim_test_data): New variable.
18682 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
18683 (fmax_test_data): New variable.
18684 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
18685 (fmin_test_data): New variable.
18686 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
18687 (fmod_test_data): New variable.
18688 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
18689 (hypot_test_data): New variable.
18690 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
18691 (nextafter_test_data): New variable.
18692 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
18693 (nexttoward_test_data): New variable.
18694 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
18695 (pow_test_data): New variable.
18696 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
18697 (pow_tonearest_test_data): New variable.
18698 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
18699 (pow_towardzero_test_data): New variable.
18700 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
18701 (pow_downward_test_data): New variable.
18702 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
18703 (pow_upward_test_data): New variable.
18704 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
18705 (remainder_test_data): New variable.
18706 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
18707 (scalb_test_data): New variable.
18708 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
18709 * sysdeps/i386/fpu/libm-test-ulps: Update.
18711 2013-05-11 Joseph Myers <joseph@codesourcery.com>
18713 * math/libm-test.inc (fma_test): Use max_value instead of local
18715 (nextafter_test): Likewise.
18717 * math/libm-test.inc (acos_towardzero_test_data): New variable.
18718 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18719 (acos_downward_test_data): New variable.
18720 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18721 (acos_upward_test_data): New variable.
18722 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18723 (acosh_test_data): New variable.
18724 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
18725 (asin_test_data): New variable.
18726 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
18727 (asin_tonearest_test_data): New variable.
18728 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18729 (asin_towardzero_test_data): New variable.
18730 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18731 (asin_downward_test_data): New variable.
18732 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18733 (asin_upward_test_data): New variable.
18734 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18735 (asinh_test_data): New variable.
18736 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
18737 (atan_test_data): New variable.
18738 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
18739 (atanh_test_data): New variable.
18740 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
18741 (cbrt_test_data): New variable.
18742 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
18743 (ceil_test_data): New variable.
18744 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
18745 (cos_test_data): New variable.
18746 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
18747 (cos_tonearest_test_data): New variable.
18748 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18749 (cos_towardzero_test_data): New variable.
18750 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18751 (cos_downward_test_data): New variable.
18752 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18753 (cos_upward_test_data): New variable.
18754 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18755 (cosh_test_data): New variable.
18756 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
18757 (cosh_tonearest_test_data): New variable.
18758 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18759 (cosh_towardzero_test_data): New variable.
18760 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18761 (cosh_downward_test_data): New variable.
18762 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18763 (cosh_upward_test_data): New variable.
18764 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18765 (erf_test_data): New variable.
18766 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
18767 (erfc_test_data): New variable.
18768 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
18769 (exp_test_data): New variable.
18770 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
18771 (exp_tonearest_test_data): New variable.
18772 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18773 (exp_towardzero_test_data): New variable.
18774 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18775 (exp_downward_test_data): New variable.
18776 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18777 (exp_upward_test_data): New variable.
18778 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18779 (exp10_test_data): New variable.
18780 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
18781 (exp2_test_data): New variable.
18782 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
18783 (expm1_test_data): New variable.
18784 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
18785 (fabs_test_data): New variable.
18786 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
18787 (floor_test_data): New variable.
18788 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
18789 (j0_test_data): New variable.
18790 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
18791 (j1_test_data): New variable.
18792 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
18793 (log_test_data): New variable.
18794 (log_test): Run tests with RUN_TEST_LOOP_f_f.
18795 (log10_test_data): New variable.
18796 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
18797 (log1p_test_data): New variable.
18798 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
18799 (log2_test_data): New variable.
18800 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
18801 (logb_test_data): New variable.
18802 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
18803 (logb_downward_test_data): New variable.
18804 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18805 (nearbyint_test_data): New variable.
18806 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
18807 (rint_test_data): New variable.
18808 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
18809 (rint_tonearest_test_data): New variable.
18810 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18811 (rint_towardzero_test_data): New variable.
18812 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18813 (rint_downward_test_data): New variable.
18814 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18815 (rint_upward_test_data): New variable.
18816 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18817 (round_test_data): New variable.
18818 (round_test): Run tests with RUN_TEST_LOOP_f_f.
18819 (sin_test_data): New variable.
18820 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
18821 (sin_tonearest_test_data): New variable.
18822 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18823 (sin_towardzero_test_data): New variable.
18824 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18825 (sin_downward_test_data): New variable.
18826 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18827 (sin_upward_test_data): New variable.
18828 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18829 (sinh_test_data): New variable.
18830 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
18831 (sinh_tonearest_test_data): New variable.
18832 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18833 (sinh_towardzero_test_data): New variable.
18834 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18835 (sinh_downward_test_data): New variable.
18836 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18837 (sinh_upward_test_data): New variable.
18838 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18839 (sqrt_test_data): New variable.
18840 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
18841 (tan_test_data): New variable.
18842 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
18843 (tan_tonearest_test_data): New variable.
18844 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18845 (tan_towardzero_test_data): New variable.
18846 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18847 (tan_downward_test_data): New variable.
18848 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18849 (tan_upward_test_data): New variable.
18850 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18851 (tanh_test_data): New variable.
18852 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
18853 (tgamma_test_data): New variable.
18854 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
18855 (trunc_test_data): New variable.
18856 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
18857 (y0_test_data): New variable.
18858 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
18859 (y1_test_data): New variable.
18860 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
18861 (significand_test_data): New variable.
18862 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
18864 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
18867 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
18869 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
18871 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
18873 2013-05-10 Andreas Jaeger <aj@suse.de>
18876 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
18877 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
18879 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18881 * math/gen-libm-test.pl (adjust_arg): New function.
18882 (special_functions): Handle generating output in both functions
18884 (parse_args): Likewise.
18885 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
18886 $in_func argument to parse_args.
18887 * math/libm-test.inc (struct test_f_f_data): New type.
18888 (IF_ROUND_INIT_): New macro.
18889 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
18890 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18891 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18892 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18893 (ROUND_RESTORE_): Likewise.
18894 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
18895 (ROUND_RESTORE_FE_TONEAREST): Likewise.
18896 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
18897 (ROUND_RESTORE_FE_UPWARD): Likewise.
18898 (RUN_TEST_LOOP_f_f): New macro.
18899 (acos_test_data): New variable.
18900 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
18901 (acos_tonearest_test_data): New variable.
18902 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18904 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18906 * benchtests/bench-skeleton.c (startup): Fix coding style.
18908 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18911 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
18912 negative infinity argument.
18913 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
18914 negative infinity argument.
18915 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
18916 negative infinity argument.
18917 * math/libm-test.inc (tgamma_test): Expect errno to be set for
18920 2013-05-10 Florian Weimer <fweimer@redhat.com>
18922 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
18923 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
18924 * iconv/iconv_prog.c (main): Likewise.
18925 * locale/programs/charmap-dir.c (charmap_readdir)
18926 (fopen_uncompressed): Likewise.
18927 * locale/programs/locfile.c (siblings_uncached)
18928 (write_locale_data): Use lstat64 instead of lstat.
18929 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
18932 2013-05-10 Andreas Jaeger <aj@suse.de>
18935 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
18937 Include <locale.h>.
18939 2013-05-09 Carlos O'Donell <carlos@redhat.com>
18941 * elf/dl-close.c (_dl_close_worker): Add comments.
18943 2013-05-09 Joseph Myers <joseph@codesourcery.com>
18946 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
18948 (__ieee754_rem_pio2l): Update comments.
18951 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
18953 (__ieee754_rem_pio2l): Update comments.
18955 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
18956 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
18958 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
18961 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
18962 (M_PI_34_LOG10El): Likewise.
18963 (M_PI2_LOG10El): Likewise.
18964 (M_PI4_LOG10El): Likewise.
18965 (M_PI_LOG10El): Likewise.
18967 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18969 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18971 2013-05-08 Joseph Myers <joseph@codesourcery.com>
18973 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
18974 (MINUS_ZERO_INIT): Likewise.
18975 (PLUS_INFTY_INIT): Likewise.
18976 (MINUS_INFTY_INIT): Likewise.
18977 (QNAN_VALUE_INIT): Likewise.
18978 (MAX_VALUE_INIT): Likewise.
18979 (MIN_VALUE_INIT): Likewise.
18980 (MIN_SUBNORM_VALUE_INIT): Likewise.
18981 (plus_zero): Initialize with PLUS_ZERO_INIT.
18982 (minus_zero): Initialize with MINUS_ZERO_INIT.
18983 (plus_infty): Initialize with PLUS_INFTY_INIT.
18984 (minus_infty): Initialize with MINUS_INFTY_INIT.
18985 (qnan_value): Initialize with QNAN_VALUE_INIT.
18986 (max_value): Initialize with MAX_VALUE_INIT.
18987 (min_value): Initialize with MIN_VALUE_INIT.
18988 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
18990 * math/libm-test.inc (RUN_TEST_if_f): New macro.
18991 (jn_test): Use TEST_if_f instead of TEST_ff_f.
18992 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
18993 (yn_test): Use TEST_if_f instead of TEST_ff_f.
18995 * math/libm-test.inc (RUN_TEST_f_f): New macro.
18996 (RUN_TEST_2_f): Likewise.
18997 (RUN_TEST_ff_f): Likewise.
18998 (RUN_TEST_fi_f): Likewise.
18999 (RUN_TEST_fl_f): Likewise.
19000 (RUN_TEST_fff_f): Likewise.
19001 (RUN_TEST_c_f): Likewise.
19002 (RUN_TEST_f_f1): Likewise.
19003 (RUN_TEST_fF_f1): Likewise.
19004 (RUN_TEST_fI_f1): Likewise.
19005 (RUN_TEST_ffI_f1): Likewise.
19006 (RUN_TEST_c_c): Likewise.
19007 (RUN_TEST_cc_c): Likewise.
19008 (RUN_TEST_f_i): Likewise.
19009 (RUN_TEST_f_i_tg): Likewise.
19010 (RUN_TEST_ff_i_tg): Likewise.
19011 (RUN_TEST_f_b): Likewise.
19012 (RUN_TEST_f_b_tg): Likewise.
19013 (RUN_TEST_f_l): Likewise.
19014 (RUN_TEST_f_L): Likewise.
19015 (RUN_TEST_sincos): Likewise.
19016 * math/gen-libm-test.pl (new_test): Take new argument to indicate
19017 whether to show exceptions. Do not include ");\n" in return
19019 (special_functions): Output call to RUN_TEST_sincos instead of
19020 check_float calls. Update calls to new_test.
19021 (parse_args): Output call to single RUN_TEST_* macro instead of
19022 check_* calls and other assignments. Update calls to new_test.
19028 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19029 input to result for tgamma overflow.
19030 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19031 (gamma_coeff): New variable.
19032 (NCOEFF): New macro.
19033 (gamma_positive): New function.
19034 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19035 underflow here. Use gamma_positive instead of exp (lgamma) for
19037 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19038 (gamma_coeff): New variable.
19039 (NCOEFF): New macro.
19040 (gammaf_positive): New function.
19041 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19042 underflow here. Use gamma_positive instead of exp (lgamma) for
19044 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19045 (gamma_coeff): New variable.
19046 (NCOEFF): New macro.
19047 (gammal_positive): New function.
19048 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19049 underflow here. Use gamma_positive instead of exp (lgamma) for
19051 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19052 (gamma_coeff): New variable.
19053 (NCOEFF): New macro.
19054 (gammal_positive): New function.
19055 (__ieee754_gammal_r): Handle positive infinity, overflow and
19056 underflow here. Handle NaN the same as positive infinity. Remove
19057 check x < 0xffffffff for negative integers. Use gamma_positive
19058 instead of exp (lgamma) for other arguments.
19059 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19060 (gamma_coeff): New variable.
19061 (NCOEFF): New macro.
19062 (gammal_positive): New function.
19063 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19064 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19065 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19066 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19067 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19068 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19069 * sysdeps/generic/math_private.h (__gamma_productf): New
19071 (__gamma_product): Likewise.
19072 (__gamma_productl): Likewise.
19073 * math/Makefile (libm-calls): Add gamma_product.
19074 * math/libm-test.inc (tgamma_test): Add more tests.
19075 * sysdeps/i386/fpu/libm-test-ulps: Update.
19076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19078 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
19080 * benchtests/bench-skeleton.c (main): Preheat CPU.
19082 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
19084 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19086 2013-05-07 Roland McGrath <roland@hack.frob.com>
19088 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19089 and _dl_skip_args_internal.
19091 2013-05-07 Carlos O'Donell <carlos@redhat.com>
19093 * manual/message.texi (Message Translation): Talk about users.
19094 Message to key mapping impacts design.
19096 2013-05-06 Roland McGrath <roland@hack.frob.com>
19098 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
19100 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
19102 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
19103 * sysdeps/wordsize-64/glob64.c: ... here.
19105 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
19106 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
19109 * debug/getlogin_r_chk.c: Moved to ...
19110 * login/getlogin_r_chk.c: ... here.
19111 * debug/Makefile (routines): Move getlogin_r_chk to ...
19112 * login/Makefile (routines): ... here.
19113 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
19114 * login/Versions (libc: GLIBC_2.4): ... here.
19116 * io/poll.c (__poll): Renamed from poll.
19117 Add libc_hidden_def.
19118 (poll): Define as weak alias.
19120 * debug/ptsname_r_chk.c: Moved to ...
19121 * login/ptsname_r_chk.c: ... here.
19122 * debug/Makefile (routines): Move ptsname_r_chk to ...
19123 * login/Makefile (routines): ... here.
19124 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
19125 * login/Versions (libc: GLIBC_2.4): ... here.
19127 * posix/getlogin.c: Moved to ...
19128 * login/getlogin.c: ... here.
19129 * posix/getlogin_r.c: Moved to ...
19130 * login/getlogin_r.c: ... here.
19131 * posix/getlogin_r.c: Moved to ...
19132 * login/getlogin_r.c: ... here.
19133 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
19134 * login/Makefile (routines): ... here.
19135 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
19136 * login/Versions (libc: GLIBC_2.0): ... here.
19138 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
19139 (setrlimit): Define as weak alias.
19141 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
19142 Call __ names for open, ftruncate, and close.
19143 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
19144 (truncate): Define as weak alias.
19146 2013-05-06 Joseph Myers <joseph@codesourcery.com>
19148 * math/gen-libm-test.pl (parse_args): Initialize x before each
19149 test of frexp, modf and remquo.
19151 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
19152 test signgam value.
19154 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19158 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
19160 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19162 2013-05-06 Roland McGrath <roland@hack.frob.com>
19164 * elf/dl-writev.h: New file.
19165 * elf/dl-misc.c: Include it.
19166 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
19167 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
19169 2013-05-04 Joseph Myers <joseph@codesourcery.com>
19171 * math/libm-test.inc (noXFails): Remove variable.
19172 (noXPasses): Likewise.
19173 (BUILD_COMPLEX_INT): Remove macro.
19174 (print_screen): Remove xfail argument.
19175 (print_screen_max_error): Likewise.
19176 (update_stats): Likewise.
19177 (print_max_error): Likewise. Update calls to other affected
19179 (print_complex_max_error): Likewise.
19180 (test_single_exception): Update calls to print_screen.
19181 (test_single_errno): Likewise.
19182 (check_float_internal): Remove xfail argument. Update calls to
19183 other affected functions.
19184 (check_float): Likewise.
19185 (check_complex): Likewise.
19186 (check_int): Likewise.
19187 (check_long): Likewise.
19188 (check_bool): Likewise.
19189 (check_longlong): Likewise.
19190 (main): Don't print noXFails and noXPasses.
19191 * math/gen-libm-test.pl (top level): Don't mention expected
19192 failure handling in comment.
19193 (new_test): Don't handle expected failures.
19194 (parse_args): Don't mention expected failure handling in comment.
19195 (generate_testfile): Don't handle expected failures.
19196 (parse_ulps): Likewise.
19197 (print_ulps_file): Likewise.
19198 (get_failure): Remove function.
19199 (output_test): Don't handle expected failures.
19200 * make/README.libm-test: Don't mention expected failure handling.
19202 * math/libm-test.inc (plus_zero): Make const. Add initializer.
19203 (minus_zero): Likewise.
19204 (plus_infty): Likewise.
19205 (minus_infty): Likewise.
19206 (qnan_value): Likewise.
19207 (max_value): Likewise.
19208 (min_value): Likewise.
19209 (min_subnorm_value): Likewise.
19210 (initialize): Do not initialize those variables dynamically.
19212 2013-05-03 Roland McGrath <roland@hack.frob.com>
19214 * io/open.c (__open_2): Moved to ...
19215 * io/open_2.c: ... this new file.
19216 * io/open64.c (__open64_2): Moved to ...
19217 * io/open64_2.c: ... this new file.
19218 * io/openat.c (__openat_2): Moved to ...
19219 * io/openat_2.c: ... this new file.
19220 * io/openat64.c (__openat64_2): Moved to ...
19221 * io/openat64_2.c: ... this new file.
19222 * io/Makefile (routines): Add them.
19223 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
19224 * sysdeps/unix/sysv/linux/open_2.c: File removed.
19225 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
19226 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
19227 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
19228 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
19229 (__openat64): Add hidden_ver.
19230 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
19231 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
19233 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
19234 Separately conditionalize setting of GLRO(dl_sysinfo) so
19235 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
19236 as well, but the actual setting is only under [NEED_DL_SYSINFO].
19238 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19240 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
19241 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
19243 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
19244 * sysdeps/unix/sysv/linux/powerpc/init-first.c
19245 (_libc_vdso_platform_setup): Add __vdso_time initialization.
19246 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
19247 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
19249 2013-05-03 Joseph Myers <joseph@codesourcery.com>
19251 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
19252 test signgam value.
19254 * math/libm-test.inc (hypot_test): Do not use
19255 IGNORE_ZERO_INF_SIGN.
19257 2013-05-03 Andreas Jaeger <aj@suse.de>
19259 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
19261 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
19262 (PF_MAX): Adjust for VSOCK change.
19264 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19266 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19268 2013-05-02 Carlos O'Donell <carlos@redhat.com>
19271 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
19272 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
19273 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
19275 2013-05-02 David S. Miller <davem@davemloft.net>
19277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19279 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
19281 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
19283 2013-05-01 Roland McGrath <roland@hack.frob.com>
19285 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
19287 2013-05-01 Richard Smith <richard@metafoo.co.uk>
19290 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
19291 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19292 Use __attribute__ ((__gnu_inline__)).
19293 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19294 Don't use __attribute__ ((__gnu_inline__)).
19296 2013-05-01 Joseph Myers <joseph@codesourcery.com>
19299 * math/s_catan.c (__catan): Handle small real or imaginary part of
19300 input specially to avoid spurious underflow.
19301 * math/s_catanf.c (__catanf): Likewise.
19302 * math/s_catanh.c (__catanh): Likewise.
19303 * math/s_catanhf.c (__catanhf): Likewise.
19304 * math/s_catanhl.c (__catanhl): Likewise.
19305 * math/s_catanl.c (__catanl): Likewise.
19306 * math/libm-test.inc (catan_test): Add more tests.
19307 (catanh_test): Likewise.
19308 * sysdeps/i386/fpu/libm-test-ulps: Update.
19309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19311 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19315 2013-04-30 Joseph Myers <joseph@codesourcery.com>
19318 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
19319 accurately for denominator in atan2.
19320 * math/s_catanf.c (__catanf): Likewise.
19321 * math/s_catanh.c (__catanh): Likewise.
19322 * math/s_catanhf.c (__catanhf): Likewise.
19323 * math/s_catanhl.c (__catanhl): Likewise.
19324 * math/s_catanl.c (__catanl): Likewise.
19325 * math/libm-test.inc (catan_test): Add more tests.
19326 (catanh_test): Likewise.
19327 * sysdeps/i386/fpu/libm-test-ulps: Update.
19328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19330 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19332 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
19334 * benchtests/Makefile (bench): Remove slow benchmarks.
19335 * benchtests/atan-inputs: Add slow benchmark inputs.
19336 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
19337 (BENCH_FUNC): Accept variant offset.
19339 * benchtests/bench-skeleton.c (main): Run benchmark for each
19341 * benchtests/cos-inputs: Add slow benchmark inputs.
19342 * benchtests/exp-inputs: Likewise.
19343 * benchtests/pow-inputs: Likewise.
19344 * benchtests/sin-inputs: Likewise.
19345 * benchtests/slowatan-inputs: Remove.
19346 * benchtests/slowatan.c: Remove.
19347 * benchtests/slowcos-inputs: Remove.
19348 * benchtests/slowcos.c: Remove.
19349 * benchtests/slowexp-inputs: Remove.
19350 * benchtests/slowexp.c: Remove.
19351 * benchtests/slowpow-inputs: Remove.
19352 * benchtests/slowpow.c: Remove.
19353 * benchtests/slowsin-inputs: Remove.
19354 * benchtests/slowsin.c: Remove.
19355 * benchtests/slowtan-inputs: Remove.
19356 * benchtests/slowtan.c: Remove.
19357 * benchtests/tan-inputs: Add slow benchmark inputs.
19358 * scripts/bench.pl: Parse comments and directives.
19360 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
19362 ($(objpfx)bench-%.c): Remove *-ITER.
19363 * benchtests/bench-modf.c: Remove definition of ITER.
19364 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
19365 (main): Loop for DURATION seconds instead of fixed number of
19367 * scripts/bench.pl: Don't expect iterations in parameters.
19369 2013-04-29 Roland McGrath <roland@hack.frob.com>
19371 * io/fchdir.c (__fchdir): Renamed from fchdir.
19372 (fchdir): Define as weak alias.
19374 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19376 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
19377 (ERRNO_EDOM): Likewise.
19378 (ERRNO_ERANGE): Likewise.
19379 (noErrnoTests): New variable.
19380 (init_max_error): Set errno to 0.
19381 (test_single_errno): New function.
19382 (test_errno): Likewise.
19383 (check_float_internal): Call test_errno. Set errno to 0.
19384 (check_complex): Refer to errno tests in comment.
19385 (check_int): Call test_errno. Set errno to 0.
19386 (check_long): Likewise.
19387 (check_bool): Likewise.
19388 (check_longlong): Likewise.
19389 (cos_test): Use ERRNO_* flags for errno tests instead of
19391 (expm1_test): Likewise.
19392 (fmod_test): Likewise.
19393 (ilogb_test): Likewise.
19394 (lgamma_test): Likewise.
19395 (pow_test): Likewise.
19396 (remainder_test): Likewise.
19397 (sin_test): Likewise.
19398 (tan_test): Likewise.
19399 (yn_test): Likewise.
19400 (initialize): Set errno to 0.
19401 (main): Print number of errno tests.
19402 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
19404 2013-04-29 Andreas Jaeger <aj@suse.de>
19407 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
19411 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
19412 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
19416 * stdlib/random.c (__initstate): Return NULL if
19420 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
19421 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
19424 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19426 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19428 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19430 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
19431 of individual tests.
19432 (casin_test): Likewise.
19433 (casinh_test): Likewise.
19435 2013-04-27 Joseph Myers <joseph@codesourcery.com>
19438 * math/s_catan.c (__catan): Handle arguments with large real or
19439 imaginary part separately without squaring.
19440 * math/s_catanf.c (__catanf): Likewise.
19441 * math/s_catanh.c (__catanh): Likewise.
19442 * math/s_catanhf.c (__catanhf): Likewise.
19443 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19445 (__catanhl): Handle arguments with large real or imaginary part
19446 separately without squaring.
19447 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19449 (__catanl): Handle arguments with large real or imaginary part
19450 separately without squaring.
19451 * math/libm-test.inc (catan_test): Add more tests.
19452 (catanh_test): Likewise.
19453 * sysdeps/i386/fpu/libm-test-ulps: Update.
19454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19456 2013-04-27 Andreas Jaeger <aj@suse.de>
19459 * stdlib/stdlib.h: Update guards for qecvt.
19460 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
19463 2013-04-27 Allan McRae <allan@archlinux.org>
19465 * sysdeps/i386/fpu/libm-test-ulps: Update.
19467 2013-04-26 Joseph Myers <joseph@codesourcery.com>
19470 * math/s_catan.c: Include <float.h>.
19471 (__catan): Ensure underflow exception occurs for underflowed
19473 * math/s_catanf.c: Include <float.h>.
19474 (__catanf): Ensure underflow exception occurs for underflowed
19476 * math/s_catanh.c: Include <float.h>.
19477 (__catanh): Ensure underflow exception occurs for underflowed
19479 * math/s_catanhf.c: Include <float.h>.
19480 (__catanhf): Ensure underflow exception occurs for underflowed
19482 * math/s_catanhl.c: Include <float.h>.
19483 (__catanhl): Ensure underflow exception occurs for underflowed
19485 * math/s_catanl.c: Include <float.h>.
19486 (__catanl): Ensure underflow exception occurs for underflowed
19488 * math/libm-test.inc (catan_test): Add more tests.
19489 (catanh_test): Likewise.
19492 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
19493 underflowed result.
19494 * math/s_ccoshf.c (__ccoshf): Likewise.
19495 * math/s_ccoshl.c (__ccoshl): Likewise.
19496 * math/s_csin.c (__csin): Likewise.
19497 * math/s_csinf.c (__csinf): Likewise.
19498 * math/s_csinh.c (__csinh): Likewise.
19499 * math/s_csinhf.c (__csinhf): Likewise.
19500 * math/s_csinhl.c (__csinhl): Likewise.
19501 * math/s_csinl.c (__csinl): Likewise.
19502 * math/libm-test.inc (ccos_test): Add more tests.
19503 (ccosh_test): Likewise.
19504 (csin_test): Likewise.
19505 (csinh_test): Likewise.
19507 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19509 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
19510 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
19511 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
19512 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
19513 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
19514 powerpc/power5+/fpu folders.
19515 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
19518 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19520 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19522 2013-04-25 Joseph Myers <joseph@codesourcery.com>
19524 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
19525 additions to variable.
19526 [$(config-machine) = x86_64] (modules-names): Likewise.
19527 ($(objpfx)tst-audit3): Remove dependency.
19528 ($(objpfx)tst-audit3.out): Likewise.
19529 ($(objpfx)tst-audit4): Likewise.
19530 ($(objpfx)tst-audit4.out): Likewise.
19531 ($(objpfx)tst-audit5): Likewise.
19532 ($(objpfx)tst-audit5.out): Likewise.
19533 ($(objpfx)tst-audit6): Likewise.
19534 ($(objpfx)tst-audit6.out): Likewise.
19535 ($(objpfx)tst-audit7): Likewise.
19536 ($(objpfx)tst-audit7.out): Likewise.
19537 (tst-audit3-ENV): Remove variable.
19538 (tst-audit4-ENV): Likewise.
19539 (tst-audit5-ENV): Likewise.
19540 (tst-audit6-ENV): Likewise.
19541 (tst-audit7-ENV): Likewise.
19542 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
19543 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
19544 addition to variable.
19545 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
19546 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
19547 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
19548 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
19549 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
19550 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
19551 tst-audit3, tst-audit4 and tst-audit5.
19552 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
19553 tst-audit6 and tst-audit7.
19554 [$(subdir) = elf] (modules-names): Add audit modules for those
19556 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
19557 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
19558 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
19559 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
19560 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
19561 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
19562 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
19563 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
19564 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
19565 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
19566 [$(subdir) = elf] (tst-audit3-ENV): New variable.
19567 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
19568 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
19569 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
19570 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
19571 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
19573 [$(subdir) = elf && $(config-cflags-avx) = yes]
19574 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
19575 [$(subdir) = elf && $(config-cflags-avx) = yes]
19576 (CFLAGS-tst-auditmod4a.c): Likewise.
19577 [$(subdir) = elf && $(config-cflags-avx) = yes]
19578 (CFLAGS-tst-auditmod4b.c): Likewise.
19579 [$(subdir) = elf && $(config-cflags-avx) = yes]
19580 (CFLAGS-tst-auditmod6b.c): Likewise.
19581 [$(subdir) = elf && $(config-cflags-avx) = yes]
19582 (CFLAGS-tst-auditmod6c.c): Likewise.
19583 [$(subdir) = elf && $(config-cflags-avx) = yes]
19584 (CFLAGS-tst-auditmod7b.c): Likewise.
19585 * elf/tst-audit3.c: Move to ...
19586 * sysdeps/x86_64/tst-audit3.c: ... here.
19587 * elf/tst-audit4.c: Move to ...
19588 * sysdeps/x86_64/tst-audit4.c: ... here.
19589 * elf/tst-audit5.c: Move to ...
19590 * sysdeps/x86_64/tst-audit5.c: ... here.
19591 * elf/tst-audit6.c: Move to ...
19592 * sysdeps/x86_64/tst-audit6.c: ... here.
19593 * elf/tst-audit7.c: Move to ...
19594 * sysdeps/x86_64/tst-audit7.c: ... here.
19595 * elf/tst-auditmod3a.c: Move to ...
19596 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
19597 * elf/tst-auditmod3b.c: Move to ...
19598 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
19599 * elf/tst-auditmod4a.c: Move to ...
19600 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
19601 * elf/tst-auditmod4b.c: Move to ...
19602 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
19603 * elf/tst-auditmod5a.c: Move to ...
19604 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
19605 * elf/tst-auditmod5b.c: Move to ...
19606 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
19607 * elf/tst-auditmod6a.c: Move to ...
19608 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
19609 * elf/tst-auditmod6b.c: Move to ...
19610 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
19611 * elf/tst-auditmod6c.c: Move to ...
19612 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
19613 * elf/tst-auditmod7a.c: Move to ...
19614 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
19615 * elf/tst-auditmod7b.c: Move to ...
19616 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
19618 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
19621 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
19622 define unconditionally.
19623 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
19624 define unconditionally.
19625 (INT8_C, INT16_C, etc.): Likewise.
19627 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
19629 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
19630 __ehdr_start with hidden visibility.
19632 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
19634 2013-04-24 Carlos O'Donell <carlos@redhat.com>
19636 * math/libm-test.inc (cos_test): Use accurate hex constants.
19637 (sincost_test): Likewise.
19639 2013-04-24 Joseph Myers <joseph@codesourcery.com>
19641 * math/libm-test.inc (catan_test): Add more tests.
19642 (catanh_test): Likewise.
19644 * math/s_catanf.c (__catanf): Use suffixed floating-point
19646 * math/s_catanhf.c (__catanhf): Likewise.
19647 * math/s_catanhl.c (__catanhl): Likewise.
19648 * math/s_catanl.c (__catanl): Likewise.
19651 * math/s_catan.c (__catan): Calculate imaginary part of result
19652 with log1p not log unless computing log of number close to 0.
19653 * math/s_catanf.c (__catanf): Likewise.
19654 * math/s_catanl.c (__catanl): Likewise.
19655 * math/s_catanh.c (__catanh): Calculate real part of result with
19656 log1p not log unless computing log of number close to 0.
19657 * math/s_catanhf.c (__catanhf): Likewise.
19658 * math/s_catanhl.c (__catanhl): Likewise.
19659 * math/libm-test.inc (catan_test): Add more tests.
19660 (catanh_test): Likewise.
19661 * sysdeps/i386/fpu/libm-test-ulps: Update.
19662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19664 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19666 * benchtests/Makefile: Mention files in which fast and slow
19667 paths of math functions are implemented.
19669 2013-04-23 Roland McGrath <roland@hack.frob.com>
19671 * sysdeps/posix/timespec_get.c: New file.
19673 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19675 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
19677 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
19679 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
19680 powerpc/power5/fpu folders.
19681 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
19682 * benchtests/Makefile: Add modf testcase.
19683 * benchtests/bench-modf.c: New file: Benchmark test for mo
19685 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19688 * time/Makefile (tests): Add tst-strptime-whitespace.
19689 * time/strptime_l.c (get_number): Use ISSPACE.
19690 (__strptime_internal): Likewise.
19691 * time/tst-strptime-whitespace.c: New test case.
19693 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
19695 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
19697 (_nss_files_init): Set it here.
19699 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
19701 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
19702 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
19705 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
19707 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
19709 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19711 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
19714 2013-04-21 David S. Miller <davem@davemloft.net>
19716 * po/ru.po: Update Russion translation from translation project.
19718 2013-04-17 Adam Conrad <adconrad@0c3.net>
19720 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
19723 2013-04-17 Carlos O'Donell <carlos@redhat.com>
19725 * configure.in: Remove i386 configure warning. Remove i386 case.
19726 * configure: Regenerate.
19727 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
19728 Add example to error message.
19729 * sysdeps/i386/configure: Regenerate.
19731 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19733 * benchtests/Makefile (bench): Add cos, tan, slowcos and
19735 * benchtests/cos-inputs: New file.
19736 * benchtests/slowcos-inputs: New file.
19737 * benchtests/slowcos.c: New file.
19738 * benchtests/slowtan-inputs: New file.
19739 * benchtests/slowtan.c: New file.
19740 * benchtests/tan-inputs: New file.
19742 2013-04-16 Roland McGrath <roland@hack.frob.com>
19744 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
19747 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19749 * benchtests/Makefile: Include cppflags-iterator.mk to add
19750 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
19752 * Makefile.in (bench-clean): New target.
19753 * benchtests/Makefile (bench-clean): Likewise.
19755 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
19757 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
19759 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
19761 * stdio-common/tstdiomisc.c: Fix coding-style violation.
19763 2013-04-15 Andreas Schwab <schwab@suse.de>
19765 * nscd/grpcache.c (cache_addgr): Properly check for short write.
19766 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19767 * nscd/pwdcache.c (cache_addpw): Likewise.
19768 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
19771 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19773 * benchtests/Makefile (bench): Write all output to
19774 bench-out.tmp together.
19776 2013-04-15 Andreas Schwab <schwab@suse.de>
19778 * nscd/nscd.c (main): Don't fork again after closing files.
19780 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19782 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
19784 * benchtests/Rules (bench-deps): Collect dependencies into a
19785 single variable. Add Makefile to dependencies.
19786 ($(objpfx)bench-%.c): Depend on bench-deps.
19788 2013-04-12 Roland McGrath <roland@hack.frob.com>
19789 Xavier Roche <roche+kml2@exalead.com>
19792 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
19793 just that it's a file descriptor.
19794 * manual/llio.texi (Synchronizing AIO Operations): Update description
19795 for EBADF error from aio_fsync.
19797 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19799 * Rules (bench): Move target definition...
19800 * benchtests/Makefile: ... here.
19802 2013-04-11 Carlos O'Donell <carlos@redhat.com>
19804 * math/libm-test.inc (cos_test): Fix PI/2 test.
19805 (sincos_test): Likewise.
19806 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19807 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19809 2013-04-11 Andreas Schwab <schwab@suse.de>
19812 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
19813 accept exponent character only when digits were seen.
19814 * stdio-common/Makefile (tests): Add bug26.
19815 * stdio-common/bug26.c: New file.
19818 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
19821 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19823 * Makeconfig (rtld-prefix): Define built linker prefix.
19824 * Rules (run-bench): Use it.
19825 * math/Makefile (run-regen-ulps): Likewise.
19827 * Rules (bench): Remove eval.
19829 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19830 Roland McGrath <roland@hack.frob.com>
19831 Ondrej Bilka <neleai@seznam.cz>
19834 * time/getdate.c: Include ctype.h and alloca.h.
19835 (__getdate_r): Trim leading and trailing spaces of input.
19836 * time/tst-getdate.c (tests): Add tests with leading and
19839 2013-04-08 Roland McGrath <roland@hack.frob.com>
19842 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
19843 when computing value.
19845 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19847 * math/README.libm-test (How can I generate "libm-test-ulps"?):
19848 Use testrun.sh to run libm tests.
19851 * elf/dl-open.c (dl_open_worker): memset all of seen array.
19853 2013-04-06 Marko Myllynen <myllynen@redhat.com>
19856 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
19858 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19860 * Makefile.in (regen-ulps): New target.
19861 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
19862 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
19863 [ifneq (no,$(PERL)] (regen-ulps): New target.
19864 [ifeq (no,$(PERL)] (regen-ulps): New target.
19865 * math/libm-test.inc (ulps_file_name): Define.
19866 (output_dir): New variable.
19867 (options): Add "output-dir" option.
19868 (parse_opt): Handle 'o' case.
19869 (main): If output_dir is non-NULL use it as a prefix
19871 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
19873 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19875 [BZ #10060, #10062]
19876 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
19877 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
19878 fail configure if __sync_val_compare_and_swap is not inlined.
19879 * sysdeps/i386/configure: Regenerate.
19880 * configure.in: Build for i686 when configured for i386.
19881 * configure: Regenerate.
19882 * README: Remove i386 reference.
19884 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19886 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
19887 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19889 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
19891 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
19892 (lmsnanval): New variables.
19893 (F): Add conversion tests.
19894 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
19895 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
19897 * stdio-common/tstdiomisc.c (F): Properly collect individual
19900 [BZ #14686, #15336]
19901 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
19902 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19903 Instead, use input NaN values or generate a qNaN by arithmetic
19904 operation. Also fix bugs to comply with the standard.
19905 * math/libm-test.inc (remainder_test): Add more tests.
19907 [BZ #15335, #15342]
19908 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
19909 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
19910 input NaN values or generate a qNaN by arithmetic operation.
19912 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
19915 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
19918 2013-04-03 Joseph Myers <joseph@codesourcery.com>
19921 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
19922 underflowed result.
19923 * math/s_cexpf.c (__cexpf): Likewise.
19924 * math/s_cexpl.c (__cexpl): Likewise.
19925 * math/libm-test.inc (cexp_test): Add more tests.
19927 2013-04-03 Andreas Schwab <schwab@suse.de>
19930 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
19931 order arrays from heap if bigger than alloca cutoff.
19933 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
19935 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
19936 (SNAN_TESTS_double): Refer to GCC PR56831.
19937 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
19940 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19942 * Rules (bench): Move bench.out after the run is complete.
19944 * Rules (bench): Echo currently running benchmark.
19946 * benchtests/Makefile (bench): Add atan and slowatan.
19947 * benchtests/atan-inputs: New file.
19948 * benchtests/slowatan-inputs: New file.
19949 * benchtests/slowatan.c: New file.
19951 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
19952 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
19956 * sysdeps/unix/sysv/linux/kernel-features.h
19957 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
19958 __ASSUME_XFS_RESTRICTED_CHOWN.
19959 * sysdeps/unix/sysv/linux/pathconf.c
19960 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19961 Save and restore errno.
19963 2013-04-02 Joseph Myers <joseph@codesourcery.com>
19966 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19967 arguments using __kernel_casinh.
19968 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
19969 arguments using __kernel_casinhf.
19970 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
19971 arguments using __kernel_casinhl.
19972 * math/libm-test.inc (cacosh_test): Add more tests.
19973 * sysdeps/i386/fpu/libm-test-ulps: Update.
19974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19976 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19978 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
19979 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
19981 * bench/Makefile (bench): Add sin and slowsin.
19982 * benchtests/sin-inputs: New file.
19983 * benchtests/slowsin-inputs: New file.
19984 * benchtests/slowsin.c: New file.
19986 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
19987 (bench): Add slowexp and slowpow.
19988 (exp-ITER): Increase iterations.
19989 (pow-ITER): Likewise.
19990 * benchtests/exp-inputs: Change input.
19991 * benchtests/pow-inputs: Likewise.
19992 * benchtests/slowexp-inputs: New file.
19993 * benchtests/slowexp.c: New file.
19994 * benchtests/slowpow-inputs: New file.
19995 * benchtests/slowpow.c: New file.
19997 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19999 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20001 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20002 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20003 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20004 * benchtests/Makefile: Add rint benchtest.
20005 * benchtests/rint-inputs: Input for rint benchtest.
20007 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
20009 * Versions.def (libm): Add GLIBC_2.18.
20010 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20011 hidden libm prototypes.
20012 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20013 * math/Makefile (libm-calls): Add s_issignaling.
20014 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20015 __issignalingf, __issignalingl. Adjust all libm.abilist files.
20016 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20018 * math/math.h [__USE_GNU] (issignaling): New macro.
20019 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20020 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20021 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20022 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20023 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20024 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20025 * manual/arith.texi (issignaling): New section.
20026 * manual/libm-err-tab.pl (@all_functions): Update comment.
20027 * math/gen-libm-test.pl (parse_args): Apply special handling for
20029 * math/libm-test.inc (print_float, issignaling_test): New
20031 (check_float_internal): Add issignaling checks.
20032 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20033 default definition.
20034 * sysdeps/powerpc/math-tests.h: New file.
20035 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20037 * math/test-snan.c (TEST_FUNC): Likewise.
20039 2013-03-30 David S. Miller <davem@davemloft.net>
20041 * po/de.po: Update from translation team.
20043 2013-03-30 Joseph Myers <joseph@codesourcery.com>
20046 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20047 imaginary part less than 1.0 and real part less than 0.5
20049 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20050 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20051 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20052 (cacos_test): Add more tests.
20053 (casin_test): Likewise.
20054 (casinh_test): Likewise.
20055 * sysdeps/i386/fpu/libm-test-ulps: Update.
20056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20058 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20060 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20061 ONE with its value.
20063 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20064 (__pow_mp): Replace ONE and MONE with their values.
20065 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20066 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20067 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20068 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20069 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20070 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20072 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20074 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20075 (__pow_mp): Replace ZERO and MZERO with their values.
20076 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20077 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20078 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20079 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20080 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20081 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20084 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20086 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20088 2013-03-28 Roland McGrath <roland@hack.frob.com>
20090 * include/stdlib.h [!SHARED] (__call_tls_dtors):
20091 Declare with __attribute__ ((weak)).
20092 * stdlib/exit.c (__libc_atexit) [!SHARED]:
20093 Call __call_tls_dtors only if it's not NULL.
20095 2013-03-28 Roland McGrath <roland@hack.frob.com>
20097 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
20098 didn't do it already, then set _dl_phdr and _dl_phnum based on the
20099 magic __ehdr_start linker symbol if it's defined.
20100 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
20101 them up here if it was already done.
20103 * elf/dl-support.c (_dl_phdr): Make pointer to const.
20104 (_dl_aux_init): Use const in cast when setting it.
20105 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
20106 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
20107 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
20109 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
20111 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
20112 * csu/libc-tls.c: Nor here.
20113 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
20115 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
20116 (__libc_message): Never call vsyslog.
20118 2013-03-28 Alan Modra <amodra@gmail.com>
20120 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
20122 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
20125 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20128 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
20130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20132 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20135 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20136 Don't add gid passed as argument.
20138 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
20140 2013-03-27 Joseph Myers <joseph@codesourcery.com>
20143 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20144 imaginary part between 1.0 and 1.5 and real part less than 0.5
20146 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20147 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20148 * math/libm-test.inc (cacos_test): Add more tests.
20149 (casin_test): Likewise.
20150 (casinh_test): Likewise.
20151 * sysdeps/i386/fpu/libm-test-ulps: Update.
20152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20154 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20156 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
20159 (denorm): Likewise.
20160 (__dbl_mp): Likewise.
20161 (add_magnitudes): Likewise.
20162 (sub_magnitudes): Likewise.
20170 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
20172 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
20173 (__dubcos): Likewise.
20174 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
20175 (__ieee754_acos): Likewise.
20176 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20177 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
20178 (__exp1): Likewise.
20179 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20180 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20182 (my_log2): Likewise.
20183 (checkint): Likewise.
20184 * sysdeps/ieee754/dbl-64/e_remainder.c
20185 (__ieee754_remainder): Likewise.
20186 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20187 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20188 (bsloww): Likewise.
20189 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20191 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20192 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
20193 MANTISSA_STORE_T to store computations on mantissa. Use
20194 macros for rounding and division.
20195 (denorm): Likewise.
20196 (__dbl_mp): Likewise.
20197 (add_magnitudes): Likewise.
20198 (sub_magnitudes): Likewise.
20201 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20202 powers of two in terms of TWOPOW macro.
20203 (mp_no): Make type of mantissa as MANTISSA_T.
20204 [!RADIXI]: Define RADIXI.
20205 [!TWO52]: Define TWO52.
20206 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20208 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20210 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
20211 llroundl symbol when building for PPC32.
20213 2013-03-24 Mark H Weaver <mhw@netris.org>
20215 * manual/arith.texi (Normalization Functions): Fix prototypes for
20216 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
20218 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20221 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
20222 high value to check if expl overflow.
20223 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
20224 to check for underflow and overflow.
20225 * math/libm-test.inc: Add exp test.
20227 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
20230 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
20233 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20235 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
20238 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
20240 * math/gen-libm-test.pl (parse_args, special_functions): Properly
20241 wrap blocks consisting of several statements.
20243 * sysdeps/generic/math-tests.h: New file.
20244 * sysdeps/i386/fpu/math-tests.h: Likewise.
20245 * math/test-snan.c: Include it.
20246 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
20248 2013-03-21 Joseph Myers <joseph@codesourcery.com>
20251 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
20252 (__ieee754_j0l): Do not improve calculations using cos of twice
20253 input for inputs above LDBL_MAX / 2.0L.
20254 (__ieee754_y0l): Likewise.
20255 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
20256 (__ieee754_j1l): Do not improve calculations using cos of twice
20257 input for inputs above LDBL_MAX / 2.0L.
20258 (__ieee754_y1l): Likewise.
20259 * math/libm-test.inc (j0_test): Add another test.
20260 (j1_test): Likewise.
20261 (y0_test): Likewise.
20262 (y1_test): Likewise.
20263 * sysdeps/i386/fpu/libm-test-ulps: Update.
20265 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20267 * Rules ($(objpfx)bench-%.c): Include code from a C source
20270 2013-03-21 Joseph Myers <joseph@codesourcery.com>
20273 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20274 imaginary part 1.0 and real part less than 0.5 specially.
20275 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20276 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20277 * math/libm-test.inc (cacos_test): Add more tests.
20278 (casin_test): Likewise.
20279 (casinh_test): Likewise.
20280 * sysdeps/i386/fpu/libm-test-ulps: Update.
20281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20283 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20285 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
20286 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
20288 2013-03-20 Joseph Myers <joseph@codesourcery.com>
20290 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
20291 * config.make.in (config-cflags-sse4): Remove variable.
20292 (config-cflags-avx): Likewise.
20293 (config-cflags-sse2avx): Likewise.
20294 (config-cflags-novzeroupper): Likewise.
20295 (config-asflags-i686): Likewise.
20296 (have-mfma4): Likewise.
20297 (have-as-vis3): Likewise.
20299 * configure.in (MIG): Do not AC_SUBST.
20300 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
20301 (libc_cv_cc_sse4): Do not AC_SUBST.
20302 (libc_cv_cc_avx): Likewise.
20303 (libc_cv_cc_sse2avx): Likewise.
20304 (libc_cv_cc_novzeroupper): Likewise.
20305 (libc_cv_cc_fma4): Likewise.
20306 (libc_cv_as_i686): Likewise.
20307 (libc_cv_sparc_as_vis3): Likewise.
20308 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
20310 (config-asflags-i686): Likewise.
20311 (config-cflags-avx): Likewise.
20312 (config-cflags-sse2avx): Likewise.
20313 (have-mfma4): Likewise.
20314 (config-cflags-novzeroupper): Likewise.
20315 * sysdeps/mach/configure.in (MIG): Likewise.
20316 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
20317 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
20319 (config-cflags-avx): Likewise.
20320 (config-cflags-sse2avx): Likewise.
20321 (have-mfma4): Likewise.
20322 (config-cflags-novzeroupper): Likewise.
20323 * configure: Regenerated.
20324 * sysdeps/i386/configure: Likewise.
20325 * sysdeps/mach/configure: Likewise.
20326 * sysdeps/sparc/configure: Likewise.
20327 * sysdeps/x86_64/configure: Likewise.
20329 2013-03-20 Roland McGrath <roland@hack.frob.com>
20332 * locale/programs/localedef.c (options): Put N_ translation marker
20333 on argument names, not just descriptions.
20335 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20337 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
20339 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
20342 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
20344 2013-03-19 Roland McGrath <roland@hack.frob.com>
20346 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
20347 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
20348 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
20349 [!BEFORE_ABORT] (before_abort): New function.
20350 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
20351 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
20352 (writev_for_fatal): New function.
20353 (WRITEV_FOR_FATAL): New macro; call that.
20354 (backtrace_and_maps): New function.
20355 (BEFORE_ABORT): New macro; call that.
20356 (struct str_list): Type removed.
20357 (__libc_message, __libc_fatal): Functions removed.
20358 Include <sysdeps/posix/libc_fatal.c> instead.
20360 2013-03-19 Joseph Myers <joseph@codesourcery.com>
20362 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
20364 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
20367 2013-03-19 Andreas Schwab <schwab@suse.de>
20369 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
20370 * sysdeps/gnu/configure: Regenerate.
20372 * configure.in: Substitute libc_cv_rtlddir.
20373 * configure: Regenerate.
20374 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
20375 * Makeconfig (rtlddir, inst_rtlddir): New variables.
20376 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
20377 * elf/Makefile (install-others, CFLAGS-interp.c)
20378 (ldso_install, common-ldd-rewrite): Likewise.
20379 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
20380 $(inst_slibdir)/$(rtld-installed-name).
20381 * scripts/rellns-sh: Add -p option.
20382 * Makerules (make-shlib-link): Use rellns-sh to get relative name
20385 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20387 * manual/nptl.texi: Renamed to ...
20388 * manual/threads.texi: ... this.
20389 * manual/Makefile (chapters): Update.
20391 2013-03-18 Roland McGrath <roland@hack.frob.com>
20394 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
20395 on argument names, not just descriptions.
20396 * malloc/memusagestat.c (options): Likewise.
20397 * nss/getent.c (options): Likewise.
20399 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
20402 * iconv/iconv_prog.c (options): Put N_ translation marker
20403 on argument names, not just descriptions.
20404 * iconv/iconvconfig.c (options): Likewise.
20406 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
20408 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
20409 implementation which is faster on all x86_64 architectures.
20410 Tested on AMD, Intel Nehalem, SNB, IVB.
20411 * sysdeps/x86_64/strnlen.S: Likewise.
20413 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20414 Remove all multiarch strlen and strnlen versions.
20415 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20416 Remove strlen and strnlen related parts.
20418 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
20419 Inline strlen part.
20420 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20422 * sysdeps/x86_64/multiarch/strlen.S: Remove.
20423 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
20424 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
20425 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
20426 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20427 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
20429 2013-03-17 Carlos O'Donell <carlos@redhat.com>
20431 * manual/memory.texi (Malloc Tunable Parameters):
20432 Sort parameters alphabetically. Add comments for missing entries.
20434 2013-03-17 David S. Miller <davem@davemloft.net>
20436 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20438 2013-03-16 Joseph Myers <joseph@codesourcery.com>
20441 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
20442 for arguments at most half maximum finite value.
20443 * math/libm-test.inc (j0_test): Add more tests.
20444 (j1_test): Likewise.
20445 (y0_test): Likewise.
20446 (y1_test): Likewise.
20447 * sysdeps/i386/fpu/libm-test-ulps: Update.
20448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20451 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
20452 1 / x and functions P and Q for arguments above 0x1p256L.
20453 (__ieee754_y0l): Likewise.
20454 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20455 (__ieee754_y1l): Likewise.
20456 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
20457 (j1_test): Likewise.
20458 (y0_test): Likewise.
20459 (y1_test): Likewise.
20461 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
20463 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
20466 2013-03-15 Roland McGrath <roland@hack.frob.com>
20468 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
20469 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
20470 zero since it's initialized to EXEC_PAGESIZE.
20472 * sysdeps/unix/sysv/linux/ldsodefs.h
20473 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
20474 * sysdeps/generic/ldsodefs.h: ... here.
20476 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
20478 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
20480 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
20482 * math/test-snan.c: Renamed from
20483 sysdeps/powerpc/fpu/test-powerpc-snan.c.
20484 * math/Makefile (tests): Add test-snan.
20485 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
20488 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
20489 SUFFIX. Initialize qNaN_var with __builtin_nan family of
20491 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
20492 __builtin_nan family of functions.
20493 * math/libm-test.inc (initialize): Initialize qnan_value with
20494 __builtin_nan family of functions.
20495 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
20497 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
20499 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
20500 storage class. Initialize qNaN_var and sNaN_var with
20501 __builtin_nan and __builtin_nans families of functions,
20504 * math/libm-test.inc (acosh_test): Also test with qNaN input.
20505 (sqrt_test): Remove duplicate test with qNaN input.
20506 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
20507 (round_test, signbit_test, significand_test): Note missing +/-Inf
20508 as well as qNaN tests.
20510 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
20511 qNaN_var. Fix a few strings, too.
20512 * math/libm-test.inc (nan_value): Rename to qnan_value.
20513 * math/gen-libm-test.pl (%beautify): Adjust to that.
20514 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
20515 * math/test-misc.c (main): Likewise.
20516 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
20517 to __qnan_bytes, and __qnan_union, respectively.
20518 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
20520 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
20521 and lqnanval, respectively.
20522 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
20523 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
20524 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
20525 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
20527 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
20528 * math/test-misc.c (main) [__x86_64__]: Enable test for long
20531 * math/test-misc.c (main): Fix copy'n'pastos.
20532 * misc/tst-efgcvt.c (special): Likewise.
20534 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
20535 Remove declarations.
20537 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20539 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
20540 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
20541 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
20542 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
20544 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20546 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
20547 macro to return vdso values correctly in IFUNC implementations.
20548 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20549 Optimization by using IFUNC.
20551 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20552 Richard Henderson <rth@redhat.com>
20553 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20555 * Makefile.in (bench): New target.
20556 * NEWS: Mention the benchmark framework.
20557 * Rules (bench): Likewise.
20558 (binaries-bench): Generate binaries for functions to
20560 * benchtests/Makefile: New makefile for benchmark tests.
20561 * benchtests/bench-skeleton.c: New skeleton file for benchmark
20563 * benchtests/exp-inputs: New input file for EXP function.
20564 * benchtests/pow-inputs: New input file for POW function.
20565 * scripts/bench.pl: New script to generate source files for
20566 benchmark programs.
20568 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20570 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20571 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
20572 computations on mantissa. Use macros for rounding and
20574 (denorm): Likewise.
20575 (__dbl_mp): Likewise.
20576 (add_magnitudes): Likewise.
20577 (sub_magnitudes): Likewise.
20580 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20581 powers of two in terms of TWOPOW macro.
20582 (mp_no): Make type of mantissa as MANTISSA_T.
20583 [!RADIXI]: Define RADIXI.
20584 [!TWO52]: Define TWO52.
20585 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20587 * manual/nptl.texi (cindex): Modify threads to pthreads.
20589 2013-03-15 Joseph Myers <joseph@codesourcery.com>
20591 * sysdeps/x86_64/preconfigure: Regenerated.
20593 2013-03-14 Joseph Myers <joseph@codesourcery.com>
20596 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
20598 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
20599 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
20601 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
20602 * math/libm-test.inc (j0_test): Do not allow one spurious
20603 underflow exception.
20604 (y1_test): Likewise.
20606 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20608 * manual/Makefile (chapters): Add nptl.
20609 * manual/debug.texi (Debugging Support): Add link to Threads
20611 * manual/nptl.texi: New file.
20613 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
20615 2013-03-14 Petr Baudis <pasky@ucw.cz>
20617 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
20618 for non-NULL pointer before the memory validity test. Pointed
20619 out by Holger Brunck <holger.brunck@keymile.com>.
20621 2013-03-13 Andreas Schwab <schwab@suse.de>
20623 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
20626 2013-03-13 Joseph Myers <joseph@codesourcery.com>
20628 * timezone/zic.c: Update from tzcode 2013b.
20630 2013-03-12 Carlos O'Donell <carlos@redhat.com>
20632 * manual/install.texi (Configuring and compiling):
20633 Mention i686 and i586.
20634 * INSTALL: Regenerate.
20636 2013-03-12 Roland McGrath <roland@hack.frob.com>
20638 * sysdeps/init_array/elf-init.c: New file.
20640 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
20641 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
20643 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
20644 __gmon_start__ as global, but as static with a .preinit_array pointer.
20645 * sysdeps/init_array/gmon-start.c: New file. Use that.
20646 * sysdeps/init_array/crti.S: New file, empty except for comments.
20647 * sysdeps/init_array/crtn.S: Likewise.
20649 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
20651 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
20653 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20654 Remove Prefer_SSE_for_memop.
20655 * sysdeps/x86_64/multiarch/init-arch.h: Remove
20656 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
20657 HAS_PREFER_SSE_FOR_MEMOP.
20658 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20660 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20661 Remove bzero, memset ifunc support.
20662 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
20663 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
20664 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20665 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20667 2013-03-11 Andreas Schwab <schwab@suse.de>
20670 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
20672 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
20673 (GLIBC_2.16): Remove pthread_atfork.
20675 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
20677 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
20678 (ptestcases.h): Likewise.
20680 2013-03-08 Roland McGrath <roland@hack.frob.com>
20682 * Makeconfig ($(common-objpfx)config.status): Depend on
20683 sysdeps/*/preconfigure{,.in} too.
20685 2013-03-08 Joseph Myers <joseph@codesourcery.com>
20687 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
20688 (__free_hook): Use void * instead of __malloc_ptr_t.
20689 (__malloc_hook): Likewise.
20690 (__realloc_hook): Likewise.
20691 (__memalign_hook): Likewise.
20692 (__after_morecore_hook): Likewise.
20693 * malloc/arena.c (save_malloc_hook): Likewise.
20694 (save_free_hook): Likewise.
20695 * malloc/hooks.c (malloc_hook_ini): Likewise.
20696 (realloc_hook_ini): Likewise.
20697 (memalign_hook_ini): Likewise.
20698 * malloc/malloc.c (malloc_hook_ini): Likewise.
20699 (realloc_hook_ini): Likewise.
20700 (memalign_hook_ini): Likewise.
20701 (__free_hook): Likewise.
20702 (__malloc_hook): Likewise.
20703 (__realloc_hook): Likewise.
20704 (__memalign_hook): Likewise.
20705 (__libc_malloc): Likewise.
20706 (__libc_free): Likewise.
20707 (__libc_realloc): Likewise.
20708 (__libc_memalign): Likewise.
20709 (__libc_valloc): Likewise.
20710 (__libc_pvalloc): Likewise.
20711 (__libc_calloc): Likewise.
20712 (__posix_memalign): Likewise.
20713 * malloc/morecore.c (__sbrk): Likewise.
20714 (__default_morecore): Likewise.
20716 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
20718 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
20719 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
20720 __malloc_ptrdiff_t.
20722 * malloc/malloc.h (__malloc_size_t): Remove macro.
20723 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
20725 (old_memalign_hook): Likewise.
20726 (old_realloc_hook): Likewise.
20727 (struct hdr): Likewise.
20729 (mallochook): Likewise.
20730 (memalignhook): Likewise.
20731 (reallochook): Likewise.
20732 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
20733 (tr_old_realloc_hook): Likewise.
20734 (tr_old_memalign_hook): Likewise.
20735 (tr_mallochook): Likewise.
20736 (tr_reallochook): Likewise.
20737 (tr_memalignhook): Likewise.
20739 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20741 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
20742 default_ldbl_pack and using as default implementation.
20743 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
20745 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
20746 redundant definition.
20747 (ldbl_insert_mantissa): Likewise.
20748 (ldbl_canonicalize): Likewise.
20749 (ldbl_nearbyint): Likewise.
20750 (ldbl_pack): Rename to ldbl_pack_ppc.
20751 (ldbl_unpack): Rename to ldbl_unpack_ppc.
20752 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
20753 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
20755 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20757 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
20758 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
20759 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
20760 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
20761 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
20762 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
20763 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
20764 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
20766 2013-03-07 Andreas Jaeger <aj@suse.de>
20768 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20771 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20773 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
20774 Include mpa.h and declare __MPEXP.
20775 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
20776 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20777 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20778 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
20779 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20780 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20781 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
20783 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
20784 (__slowpow): Use long double EXPL and LOGL functions to
20786 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20787 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20788 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
20789 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20790 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20791 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
20793 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
20794 intermediate variable to calculate exponent.
20796 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20800 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
20801 [!NO__SQR]: Define __sqr.
20802 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
20803 and NO__SQR. Remove all code except __mul and __sqr. Include
20804 sysdeps/ieee754/dbl-64/mpa.c.
20805 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20808 * posix/Makefile (tests): Add tst-pathconf.
20809 * posix/tst-pathconf.c: New test case.
20810 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
20812 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
20814 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
20816 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
20818 2013-03-06 Andreas Jaeger <aj@suse.de>
20820 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
20821 definition via __MAP_ANONYMOUS.
20823 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
20824 it's not part of Linux headers.
20826 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
20827 (MAP_HUGE_MASK): Define.
20829 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20831 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20832 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20834 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20835 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20837 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20838 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20840 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20842 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20843 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
20844 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
20845 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
20846 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
20847 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
20849 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20852 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20853 Handle f2fs and efivarfs.
20855 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
20858 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
20859 (EFIVARFS_MAGIC): Add.
20860 (F2FS_LINK_MAX): Add.
20862 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20864 * stdio-common/vfprintf.c: Replace __builtin_expect with
20867 2013-03-06 Joseph Myers <joseph@codesourcery.com>
20870 * sysdeps/generic/bp-sym.h: Remove file.
20871 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
20872 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
20873 <bp-sym.h> and <bp-asm.h>.
20874 (__longjmp): Don't use BP_SYM.
20875 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
20877 (memcpy): Don't use BP_SYM.
20878 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
20879 <bp-sym.h> and <bp-asm.h>.
20880 (memcpy): Don't use BP_SYM.
20881 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
20883 (memcpy): Don't use BP_SYM.
20884 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
20886 (memset): Don't use BP_SYM.
20887 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20888 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20889 (__bzero): Don't use BP_SYM.
20890 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20891 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20892 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
20893 <bp-sym.h> and <bp-asm.h>.
20894 (memcmp): Don't use BP_SYM. Remove comment about bounded
20896 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
20897 <bp-sym.h> and <bp-asm.h>.
20898 (memcpy): Don't use BP_SYM.
20899 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
20900 <bp-sym.h> and <bp-asm.h>.
20901 (memset): Don't use BP_SYM.
20902 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20903 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20904 (__bzero): Don't use BP_SYM.
20905 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20906 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20907 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
20908 <bp-sym.h> and <bp-asm.h>.
20909 (strncmp): Don't use BP_SYM. Remove comment about bounded
20911 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
20912 <bp-sym.h> and <bp-asm.h>.
20913 (memcpy): Don't use BP_SYM.
20914 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
20915 <bp-sym.h> and <bp-asm.h>.
20916 (memset): Don't use BP_SYM.
20917 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20918 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20919 (__bzero): Don't use BP_SYM.
20920 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20921 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20922 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
20923 <bp-sym.h> and <bp-asm.h>.
20924 (__memchr): Don't use BP_SYM.
20925 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
20926 <bp-sym.h> and <bp-asm.h>.
20927 (memcmp): Don't use BP_SYM. Remove comment about bounded
20929 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
20930 <bp-sym.h> and <bp-asm.h>.
20931 (memcpy): Don't use BP_SYM.
20932 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
20933 <bp-sym.h> and <bp-asm.h>.
20934 (__mempcpy): Don't use BP_SYM.
20935 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
20936 <bp-sym.h> and <bp-asm.h>.
20937 (__memrchr): Don't use BP_SYM.
20938 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
20939 <bp-sym.h> and <bp-asm.h>.
20940 (memset): Don't use BP_SYM.
20941 (__bzero): Likewise.
20942 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
20943 <bp-sym.h> and <bp-asm.h>.
20944 (__rawmemchr): Don't use BP_SYM.
20945 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
20946 <bp-sym.h> and <bp-asm.h>.
20947 (__STRCMP): Don't use BP_SYM.
20948 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
20949 <bp-sym.h> and <bp-asm.h>.
20950 (strchr): Don't use BP_SYM.
20951 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
20952 <bp-sym.h> and <bp-asm.h>.
20953 (__strchrnul): Don't use BP_SYM.
20954 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
20955 <bp-sym.h> and <bp-asm.h>.
20956 (strlen): Don't use BP_SYM.
20957 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
20958 <bp-sym.h> and <bp-asm.h>.
20959 (strncmp): Don't use BP_SYM. Remove comment about bounded
20961 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
20962 <bp-sym.h> and <bp-asm.h>.
20963 (__strnlen): Don't use BP_SYM.
20964 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
20965 <bp-sym.h> and <bp-asm.h>.
20966 (__GI__setjmp): Don't use BP_SYM.
20967 (_setjmp): Likewise.
20968 (__sigsetjmp): Likewise.
20969 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
20970 (L(start_addresses)): Don't use BP_SYM.
20971 (_start): Likewise.
20972 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
20974 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
20975 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
20976 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20977 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20978 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
20980 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
20981 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
20982 about bounded pointers.
20983 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20984 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20985 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
20987 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20988 about bounded pointers. Remove GKM FIXME comments.
20989 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20990 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
20992 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
20993 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
20994 Remove GKM FIXME comments.
20995 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20996 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20997 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
20999 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21000 about bounded pointers. Remove GKM FIXME comment.
21001 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21003 (strncmp): Don't use BP_SYM. Remove comment about bounded
21005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21006 <bp-sym.h> and <bp-asm.h>.
21007 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21009 <bp-sym.h> and <bp-asm.h>.
21010 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21013 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21015 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21018 2013-03-05 David S. Miller <davem@davemloft.net>
21020 * po/es.po: Update from translation team.
21022 2013-03-05 Andreas Jaeger <aj@suse.de>
21024 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21025 <bits/mman-linux.h>.
21026 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21028 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21029 <bits/mman-linux.h> to end of file.
21030 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21032 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21033 <bits/mman-linux.h> to end of file.
21034 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21036 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21037 <bits/mman-linux.h> to end of file.
21039 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21040 (MCL_CURRENT, MCL_FUTURE): Define here.
21042 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21045 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21047 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21049 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21051 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21052 fourth parameter needed for rt_sigprocmask syscall.
21053 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21054 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21055 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21056 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21057 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21058 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21060 2013-03-04 Joseph Myers <joseph@codesourcery.com>
21063 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21064 comment about bounded pointers.
21065 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21066 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21068 2013-03-04 Andreas Jaeger <aj@suse.de>
21070 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21071 common definitions.
21073 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21074 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21075 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21076 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21077 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21078 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21080 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21083 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21084 __ieee754_sqrl instead of __sqrl.
21086 2013-03-01 Joseph Myers <joseph@codesourcery.com>
21088 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21089 * sysdeps/powerpc/fpu_control.h: ... here.
21090 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21091 * sysdeps/powerpc/bits/fenvinline.h: ... here.
21092 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21093 * sysdeps/powerpc/bits/mathinline.h: ... here.
21095 2013-03-01 Roland McGrath <roland@hack.frob.com>
21097 * elf/dl-hwcaps.c (_dl_important_hwcaps):
21098 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
21099 to just [NEED_DL_SYSINFO_DSO].
21100 * elf/dl-support.c: Likewise.
21101 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21102 * elf/rtld.c (dl_main): Likewise.
21103 * elf/setup-vdso.h (setup_vdso): Likewise.
21104 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
21105 * sysdeps/unix/sysv/linux/dl-sysdep.c
21106 (_dl_discover_osversion): Likewise.
21108 2013-03-01 Carlos O'Donell <carlos@redhat.com>
21110 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
21111 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21113 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
21115 * NEWS: Mention libm performance improvements and non-x86 PI
21118 * csu/libc-start.c (__pthread_initialize_minimal): Change
21119 function arguments.
21120 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21122 2013-02-28 Joseph Myers <joseph@codesourcery.com>
21125 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
21126 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
21127 <bp-sym.h> and <bp-asm.h>.
21128 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21129 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
21131 (memcpy): Don't use BP_SYM.
21132 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
21134 (__mpn_add_n): Don't use BP_SYM.
21135 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
21136 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
21138 (__mpn_addmul_1): Don't use BP_SYM.
21139 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21140 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
21142 (_setjmp): Don't use BP_SYM.
21143 (__novmx_setjmp): Likewise.
21144 (__GI__setjmp): Likewise.
21145 (__vmx_setjmp): Likewise.
21146 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
21148 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
21149 (__bzero): Don't use BP_SYM.
21150 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21151 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21152 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
21153 <bp-sym.h> and <bp-asm.h>.
21154 (memcpy): Don't use BP_SYM.
21155 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
21156 <bp-sym.h> and <bp-asm.h>.
21157 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21158 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
21159 <bp-sym.h> and <bp-asm.h>.
21160 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21161 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
21163 (__mpn_lshift): Don't use BP_SYM.
21164 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21165 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
21167 (memset): Don't use BP_SYM.
21168 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21169 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21170 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
21172 (__mpn_mul_1): Don't use BP_SYM.
21173 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21174 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
21175 <bp-sym.h> and <bp-asm.h>.
21176 (memcmp): Don't use BP_SYM.
21177 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
21178 <bp-sym.h> and <bp-asm.h>.
21179 (memcpy): Don't use BP_SYM.
21180 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
21181 <bp-sym.h> and <bp-asm.h>.
21182 (memset): Don't use BP_SYM.
21183 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
21184 <bp-sym.h> and <bp-asm.h>.
21185 (strncmp): Don't use BP_SYM.
21186 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
21187 <bp-sym.h> and <bp-asm.h>.
21188 (memcpy): Don't use BP_SYM.
21189 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
21190 <bp-sym.h> and <bp-asm.h>.
21191 (memset): Don't use BP_SYM.
21192 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
21193 <bp-sym.h> and <bp-asm.h>.
21194 (__memchr): Don't use BP_SYM.
21195 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
21196 <bp-sym.h> and <bp-asm.h>.
21197 (memcmp): Don't use BP_SYM.
21198 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
21199 <bp-sym.h> and <bp-asm.h>.
21200 (memcpy): Don't use BP_SYM.
21201 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
21202 <bp-sym.h> and <bp-asm.h>.
21203 (__mempcpy): Don't use BP_SYM.
21204 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
21205 <bp-sym.h> and <bp-asm.h>.
21206 (__memrchr): Don't use BP_SYM.
21207 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
21208 <bp-sym.h> and <bp-asm.h>.
21209 (memset): Don't use BP_SYM.
21210 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
21211 <bp-sym.h> and <bp-asm.h>.
21212 (__rawmemchr): Don't use BP_SYM.
21213 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
21214 <bp-sym.h> and <bp-asm.h>.
21215 (__STRCMP): Don't use BP_SYM.
21216 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
21217 <bp-sym.h> and <bp-asm.h>.
21218 (strchr): Don't use BP_SYM.
21219 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
21220 <bp-sym.h> and <bp-asm.h>.
21221 (__strchrnul): Don't use BP_SYM.
21222 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
21223 <bp-sym.h> and <bp-asm.h>.
21224 (strlen): Don't use BP_SYM.
21225 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
21226 <bp-sym.h> and <bp-asm.h>.
21227 (strncmp): Don't use BP_SYM.
21228 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
21229 <bp-sym.h> and <bp-asm.h>.
21230 (__strnlen): Don't use BP_SYM.
21231 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
21233 (__mpn_rshift): Don't use BP_SYM.
21234 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21235 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
21236 <bp-sym.h> and <bp-asm.h>.
21237 (__sigsetjmp): Don't use BP_SYM.
21238 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
21239 (L(start_addresses)): Don't use BP_SYM.
21240 (_start): Likewise.
21241 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
21243 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
21244 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21245 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21246 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
21248 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
21249 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21250 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21251 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
21253 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21255 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21256 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
21258 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
21260 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21261 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21262 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
21264 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21266 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
21268 (strncmp): Don't use BP_SYM,
21269 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
21271 (__mpn_sub_n): Don't use BP_SYM.
21272 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21273 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
21275 (__mpn_submul_1): Don't use BP_SYM.
21276 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
21278 <bp-sym.h> and <bp-asm.h>.
21279 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
21281 <bp-sym.h> and <bp-asm.h>.
21282 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21285 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21287 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
21288 Use ZK to minimize writes to Z.
21289 (sub_magnitudes): Simplify code a bit.
21290 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
21291 Use ZK to minimize writes to Z.
21292 (sub_magnitudes): Simplify code a bit.
21294 2013-02-27 Roland McGrath <roland@hack.frob.com>
21296 * csu/gmon-start.c: Add special exception to license text.
21298 2013-02-27 Richard Henderson <rth@redhat.com>
21300 * scripts/config.guess: Update from config.git.
21301 * scripts/config.sub: Likewise.
21303 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21305 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
21307 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
21309 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
21311 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
21313 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
21315 2013-02-26 Roland McGrath <roland@hack.frob.com>
21317 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
21318 [$(build-shared = yes].
21320 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21322 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
21323 (__mul): Reduce iterations for calculating mantissa.
21325 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
21327 (__mpranred): Likewise.
21330 * malloc/memusagestat.c (main): Draw graphs for heap and stack
21331 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
21333 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
21335 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
21336 Define __attribute__.
21338 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21340 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
21342 * posix/regex_internal.h (__attribute): Remove.
21343 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
21344 (re_string_context_at): Likewise.
21345 (bitset_not): Use __attribute__ and mark function as possibly
21347 (bitset_merge): Likewise.
21348 (bitset_mask): Likewise.
21349 (re_string_char_size_at): Likewise.
21350 (re_string_wchar_at): Likewise.
21351 (re_string_elem_size_at): Likewise.
21353 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21355 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
21359 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
21363 (denorm): Likewise.
21364 (__dbl_mp): Likewise.
21365 (add_magnitudes): Likewise.
21366 (sub_magnitudes): Likewise.
21370 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
21373 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
21376 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
21379 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
21380 up changes with default code.
21381 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
21384 2013-02-24 Allan McRae <allan@archlinux.org>
21386 * manual/socket.texi (The Internet Namespace): Order menu items
21387 to match that in the file.
21389 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
21390 node listing of the info page menu.
21392 2013-02-21 Joseph Myers <joseph@codesourcery.com>
21395 * sysdeps/i386/bp-asm.h: Remove file.
21396 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21397 (PARMS): Do not use macros from bp-asm.h.
21401 (__mpn_add_n): Do not use BP_SYM
21402 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
21404 (PARMS): Do not use macros from bp-asm.h.
21407 (__mpn_addmul_1): Do not use BP_SYM
21408 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
21410 (PARMS): Do not use macros from bp-asm.h.
21411 (SIGMSK): Likewise.
21412 (_setjmp): Likewise. Do not use BP_SYM.
21413 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
21415 (PARMS): Do not use macros from bp-asm.h.
21416 (SIGMSK): Likewise.
21417 (setjmp): Likewise. Do not use BP_SYM.
21418 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
21420 (PARMS): Do not use macros from bp-asm.h.
21421 (__frexp): Do not use BP_SYM.
21423 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
21425 (PARMS): Do not use macros from bp-asm.h.
21426 (__frexpf): Do not use BP_SYM.
21427 (frexpf): Likewise.
21428 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
21430 (PARMS): Do not use macros from bp-asm.h.
21431 (__frexpl): Do not use BP_SYM.
21432 (frexpl): Likewise.
21433 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
21435 (PARMS): Do not use macros from bp-asm.h.
21436 (__remquo): Do not use BP_SYM.
21437 (remquo): Likewise.
21438 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
21440 (PARMS): Do not use macros from bp-asm.h.
21441 (__remquof): Do not use BP_SYM.
21442 (remquof): Likewise.
21443 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
21445 (PARMS): Do not use macros from bp-asm.h.
21446 (__remquol): Do not use BP_SYM.
21447 (remquol): Likewise.
21448 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
21450 (PARMS): Do not use macros from bp-asm.h.
21453 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
21454 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
21456 (PARMS): Do not use macros from bp-asm.h.
21457 (strlen): Do not use BP_SYM.
21458 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
21460 (PARMS): Do not use macros from bp-asm.h.
21464 (__mpn_add_n): Do not use BP_SYM.
21465 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
21467 (PARMS): Do not use macros from bp-asm.h.
21470 (__mpn_addmul_1): Do not use BP_SYM.
21471 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
21474 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
21476 (PARMS): Do not use macros from bp-asm.h.
21479 (__mpn_lshift): Do not use BP_SYM.
21480 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
21482 (PARMS): Do not use macros from bp-asm.h.
21486 (memcpy): Likewise. Do not use BP_SYM.
21487 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
21488 libc_hidden_def and weak_alias.
21489 (mempcpy): Do not use BP_SYM in weak_alias.
21490 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
21492 (PARMS): Do not use macros from bp-asm.h.
21495 [!BZERO_P] (CHR): Likewise.
21496 (memset): Likewise. Do not use BP_SYM.
21497 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
21499 (PARMS): Do not use macros from bp-asm.h.
21502 (__mpn_mul_1): Do not use BP_SYM.
21503 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
21505 (PARMS): Do not use macros from bp-asm.h.
21508 (__mpn_rshift): Do not use BP_SYM.
21509 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
21511 (PARMS): Do not use macros from bp-asm.h.
21514 (strchr): Likewise. Do not use BP_SYM.
21515 (index): Do not use BP_SYM in weak_alias.
21516 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
21518 (PARMS): Do not use macros from bp-asm.h.
21521 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
21522 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
21524 (PARMS): Do not use macros from bp-asm.h.
21525 (strlen): Do not use BP_SYM.
21526 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
21528 (PARMS): Do not use macros from bp-asm.h.
21532 (__mpn_sub_n): Do not use BP_SYM.
21533 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
21535 (PARMS): Do not use macros from bp-asm.h.
21538 (__mpn_submul_1): Do not use BP_SYM.
21539 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
21541 (PARMS): Do not use macros from bp-asm.h.
21545 (__mpn_add_n): Do not use BP_SYM.
21546 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
21549 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
21551 (PARMS): Do not use macros from bp-asm.h.
21554 (memcmp): Do not use BP_SYM.
21555 (bcmp): Do not use BP_SYM in weak_alias.
21556 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
21558 (PARMS): Do not use macros from bp-asm.h.
21562 (memcpy): Likewise. Do not use BP_SYM.
21563 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
21565 (PARMS): Do not use macros from bp-asm.h.
21569 (memmove): Likewise. Do not use BP_SYM.
21570 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
21572 (PARMS): Do not use macros from bp-asm.h.
21576 (__mempcpy): Likewise. Do not use BP_SYM.
21577 (mempcpy): Do not use BP_SYM in weak_alias.
21578 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
21580 (PARMS): Do not use macros from bp-asm.h.
21583 [!BZERO_P] (CHR): Likewise.
21584 (memset): Likewise. Do not use BP_SYM.
21585 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
21587 (PARMS): Do not use macros from bp-asm.h.
21589 (strcmp): Do not use BP_SYM.
21590 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
21592 (PARMS): Do not use macros from bp-asm.h.
21595 [USE_AS_STRTOK_R] (SAVE): Likewise.
21596 (FUNCTION): Likewise. Do not use BP_SYM.
21597 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
21599 (strtok_r): Likewise.
21600 (__GI___strtok_r): Likewise.
21601 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21602 (PARMS): Do not use macros from bp-asm.h.
21605 (__mpn_lshift): Do not use BP_SYM.
21606 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21607 (PARMS): Do not use macros from bp-asm.h.
21610 (__memchr): Do not use BP_SYM.
21611 (memchr): Do not use BP_SYM in weak_alias.
21612 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21613 (PARMS): Do not use macros from bp-asm.h.
21616 (memcmp): Do not use BP_SYM.
21617 (bcmp): Do not use BP_SYM in weak_alias.
21618 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
21619 (PARMS): Do not use macros from bp-asm.h.
21622 (__mpn_mul_1): Do not use BP_SYM.
21623 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
21625 (PARMS): Do not use macros from bp-asm.h.
21628 (__rawmemchr): Do not use BP_SYM.
21629 (rawmemchr): Do not use BP_SYM in weak_alias.
21630 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21631 (PARMS): Do not use macros from bp-asm.h.
21634 (__mpn_rshift): Do not use BP_SYM.
21635 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21636 (PARMS): Do not use macros from bp-asm.h.
21637 (SIGMSK): Likewise.
21638 (__sigsetjmp): Likewise. Do not use BP_SYM.
21639 * sysdeps/i386/start.S: Do not include "bp-sym.h".
21640 (_start): Do not use BP_SYM.
21641 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
21642 (PARMS): Do not use macros from bp-asm.h.
21645 (__stpcpy): Likewise. Do not use BP_SYM.
21646 (stpcpy): Do not use BP_SYM in weak_alias.
21647 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
21649 (PARMS): Do not use macros from bp-asm.h.
21653 (__stpncpy): Likewise. Do not use BP_SYM.
21654 (stpncpy): Do not use BP_SYM in weak_alias.
21655 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21656 (PARMS): Do not use macros from bp-asm.h.
21659 (strchr): Likewise. Do not use BP_SYM.
21660 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
21662 (PARMS): Do not use macros from bp-asm.h.
21665 (__strchrnul): Likewise. Do not use BP_SYM.
21666 (strchrnul): Do not use BP_SYM in weak_alias.
21667 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
21669 (PARMS): Do not use macros from bp-asm.h.
21671 (strcspn): Do not use BP_SYM.
21672 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
21674 (PARMS): Do not use macros from bp-asm.h.
21677 (strpbrk): Likewise. Do not use BP_SYM.
21678 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
21680 (PARMS): Do not use macros from bp-asm.h.
21683 (strrchr): Likewise. Do not use BP_SYM.
21684 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
21685 (PARMS): Do not use macros from bp-asm.h.
21687 (strspn): Do not use BP_SYM.
21688 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
21689 (PARMS): Do not use macros from bp-asm.h.
21693 (FUNCTION): Likewise. Do not use BP_SYM.
21694 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
21696 (strtok_r): Likewise.
21697 (__GI___strtok_r): Likewise.
21698 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21699 (PARMS): Do not use macros from bp-asm.h.
21703 (__mpn_sub_n): Do not use BP_SYM.
21704 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
21706 (PARMS): Do not use macros from bp-asm.h.
21709 (__mpn_submul_1): Do not use BP_SYM.
21710 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
21712 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
21714 (PARMS): Do not use macros from bp-asm.h.
21719 (__clone): Do not use BP_SYM.
21720 (clone): Do not use BP_SYM in weak_alias.
21721 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
21723 (PARMS): Do not use macros from bp-asm.h.
21725 (__mmap64): Do not use BP_SYM.
21726 (mmap64): Do not use BP_SYM in weak_alias.
21727 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21728 <bp-sym.h> and <bp-asm.h>.
21729 (PARMS): Do not use macros from bp-asm.h.
21730 (__posix_fadvise64_l64): Do not use BP_SYM.
21731 * sysdeps/unix/sysv/linux/i386/semtimedop.S
21732 (PARMS): Do not use macros from bp-asm.h.
21734 (semtimedop): Do not use BP_SYM.
21735 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
21738 2013-02-21 Allan McRae <allan@archlinux.org>
21740 * manual/message.texi (Charset conversion in gettext):
21741 Move @end statement to beginning of line.
21743 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21745 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
21747 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21750 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
21751 (denorm): Likewise.
21752 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
21753 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
21755 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21757 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
21758 tail-call to the resolved function if pltexit isn't needed.
21760 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21762 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
21763 or Y being zero as being unlikely.
21764 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21767 2013-02-20 Carlos O'Donell <carlos@redhat.com>
21769 * manual/nss.texi (System Databases and Name Service Switch):
21770 Remove frobnicate @pxref.
21772 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21774 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21775 __attribute__ ((unused)) to __attribute__ ((__unused__)).
21777 2013-02-20 Petr Machata <pmachata@redhat.com>
21779 * elf/elf.h (R_ARM_TARGET1): New macro.
21780 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
21781 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
21782 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
21783 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
21784 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
21785 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
21786 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
21787 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
21788 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
21789 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
21790 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
21791 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
21792 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
21793 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
21794 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
21795 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
21796 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
21797 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
21798 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
21799 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
21800 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
21801 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
21802 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
21803 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
21804 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
21805 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
21806 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
21807 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
21808 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
21809 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
21810 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
21811 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
21812 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
21813 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
21814 (R_ARM_THM_GOT_BREL12): Likewise.
21815 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
21816 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
21817 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
21818 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
21819 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
21820 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
21821 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
21822 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
21823 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
21825 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21827 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21828 __attribute_used__ to __attribute__ ((unused)).
21830 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21832 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
21834 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
21835 comment formatting.
21836 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
21838 2013-02-19 Joseph Myers <joseph@codesourcery.com>
21841 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
21843 (ENTER): Remove both macro definitions.
21845 (CHECK_BOUNDS_LOW): Likewise.
21846 (CHECK_BOUNDS_HIGH): Likewise.
21847 (CHECK_BOUNDS_BOTH): Likewise.
21848 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
21849 (RETURN_BOUNDED_POINTER): Likewise.
21850 (RETURN_NULL_BOUNDED_POINTER): Likewise.
21851 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
21852 (POP_ERRNO_LOCATION_RETURN): Likewise.
21853 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
21854 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21855 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
21857 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21858 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
21859 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
21860 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
21861 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
21862 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
21863 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
21864 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
21865 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
21866 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
21867 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
21868 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
21869 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21870 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
21872 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21873 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
21875 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21876 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
21877 * sysdeps/i386/i586/memset.S (memset): Likewise.
21878 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
21879 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21880 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
21882 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21883 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
21884 Change uses of L(2) to L(out).
21885 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
21886 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
21887 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
21888 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21889 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
21891 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21892 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
21894 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21895 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
21896 (RETURN): Do not use macro LEAVE.
21897 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
21898 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
21899 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
21900 * sysdeps/i386/i686/memset.S (memset): Likewise.
21901 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
21902 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
21903 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21904 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
21906 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21907 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
21908 L(1_2) and L(1_3) into L(1).
21909 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21910 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
21911 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21912 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
21913 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21914 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
21915 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
21916 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21917 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
21919 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
21920 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21921 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
21922 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
21923 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
21924 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21925 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
21926 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
21927 * sysdeps/i386/strcspn.S (strcspn): Likewise.
21928 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
21929 * sysdeps/i386/strrchr.S (strrchr): Likewise.
21930 * sysdeps/i386/strspn.S (strspn): Likewise.
21931 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
21933 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21934 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
21935 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21936 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
21937 L(1_3) into L(1_1).
21938 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
21939 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21940 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
21942 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21944 2013-02-19 Jakub Jelinek <jakub@redhat.com>
21946 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
21949 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21951 * math/atest-exp.c (exp_mpn): Remove ROUND.
21952 * math/atest-exp2.c (exp_mpn): Likewise.
21953 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
21955 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
21956 * stdlib/tst-tls-atexit-lib.c: Likewise.
21957 * stdlib/tst-tls-atexit.c: Likewise.
21959 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21961 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
21962 and __attribute_alloc_size__.
21964 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21966 * include/programs/xmalloc.h: Change __attribute_alloc_size to
21967 __attribute_alloc_size__.
21968 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21969 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
21971 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21973 * include/programs/xmalloc.h: New file.
21974 * catgets/gencat.c: Include it.
21975 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
21976 * elf/pldd.c: Likewise.
21977 * iconv/iconv_charmap.c: Likewise.
21978 * iconv/iconvconfig.c: Likewise.
21979 * iconv/strtab.c: Likewise.
21980 * locale/programs/locale.c: Likewise.
21981 * locale/programs/localedef.h: Likewise.
21982 * locale/programs/simple-hash.c: Likewise.
21983 * nscd/nscd.h: Likewise.
21984 * nss/makedb.c: Likewise.
21985 * sysdeps/generic/ldconfig.h: Likewise.
21987 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21989 * Versions.def: Add GLIBC_2.18.
21990 * include/link.h (struct link_map): New member l_tls_dtor_count.
21991 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
21992 (__call_tls_dtors): Likewise.
21993 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
21994 __cxa_thread_atexit_impl.
21995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22001 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22003 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22004 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22006 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22008 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22009 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22011 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22012 (tests): Add test case tst-tls-atexit.
22013 (modules-names): Add shared library for tst-tls-atexit.
22014 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
22015 (GLIBC_PRIVATE): Add __call_tls_dtors.
22016 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22018 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22019 * stdlib/tst-tls-atexit.c: New test case.
22020 * stdlib/tst-tls-atexit-lib.c: New test case.
22022 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
22024 * elf/Versions (ld): Add _dl_find_dso_for_object.
22025 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22026 * elf/dl-open.c (_dl_find_dso_for_object): New function.
22027 (dl_open_worker): Use _dl_find_dso_for_object.
22028 * elf/dl-sym.c (do_sym): Likewise.
22029 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22031 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22033 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22034 Syntactic changes only.
22035 (_dl_runtime_profile): Do a tail-call to the resolved function.
22037 2013-02-17 Joseph Myers <joseph@codesourcery.com>
22040 * sysdeps/x86_64/bp-asm.h: Remove file.
22041 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22042 <bp-sym.h> and <bp-asm.h>.
22043 (__clone): Do not use BP_SYM.
22044 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22045 <bp-sym.h> and <bp-asm.h>.
22046 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22047 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22049 (_setjmp): Do not use BP_SYM.
22050 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22052 (setjmp): Do not use BP_SYM.
22053 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22055 (mempcpy): Do not use BP_SYM in weak_alias.
22056 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22058 (strchr): Do not use BP_SYM.
22059 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22061 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22062 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22063 (_start): Do not use BP_SYM.
22064 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22066 (strcat): Do not use BP_SYM.
22067 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22069 (STRCMP): Do not use BP_SYM.
22070 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22072 (STRCPY): Do not use BP_SYM.
22073 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22075 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22077 (FUNCTION): Do not use BP_SYM.
22078 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22080 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22082 2013-02-17 Andreas Jaeger <aj@suse.de>
22084 * time/Versions: Sort entries.
22085 * string/Versions: Likewise.
22086 * resolv/Versions: Likewise.
22087 * posix/Versions: Likewise.
22088 * iconv/Versions: Likewise.
22089 * elf/Versions: Likewise.
22090 * wcsmbs/Versions: Likewise.
22092 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22094 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22095 loop termination condition.
22097 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
22098 variable to calculate EZ.
22101 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
22102 the lower precision input.
22104 2013-02-15 Joseph Myers <joseph@codesourcery.com>
22107 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
22108 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
22109 (run-via-rtld-prefix): Do not handle %-bp tests.
22110 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
22111 (all-object-suffixes): Remove .ob.
22112 (bppfx): Remove variable.
22113 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
22114 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
22115 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
22116 [$(build-bounded) = yes] (libtype.ob): Likewise.
22117 * Makerules (elide-routines.ob): Remove variable.
22118 (do-tests-clean): Do not handle *-bp.out.
22119 (common-mostlyclean): Do not handle *-bp and *-bp.out.
22120 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
22121 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
22122 (tests): Do not include $(tests-bp.out).
22123 (xtests): Do not include $(xtests-bp.out).
22124 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
22125 [$(build-bounded) = yes] ($(addprefix
22126 $(objpfx),$(binaries-bounded))): Remove rule.
22127 ($(objpfx)%-bp.out): Remove rule.
22128 * config.make.in (build-bounded): Remove variable.
22129 * crypt/Makefile [$(build-bounded) = yes]
22130 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
22131 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
22132 append to variable.
22133 [$(build-bounded) = yes] (install-lib): Likewise.
22134 [$(build-bounded) = yes] (generated): Likewise.
22135 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
22137 * intl/Makefile [$(build-bounded) = yes]
22138 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
22139 * math/Makefile [$(build-bounded) = yes]
22140 ($(tests:%=$(objpfx)%-bp): Likewise.
22141 * misc/Makefile [$(build-bounded) = yes]
22142 ($(objpfx)tst-tsearch-bp): Likewise.
22143 * nptl/Makeconfig (bounded-thread-library): Remove variable.
22144 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
22146 * string/Makefile (o-objects.ob): Remove variable.
22147 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
22148 (CFLAGS-.ob): Remove variable.
22149 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
22150 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
22151 both definitions of variable.
22152 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
22153 (ASFLAGS-.ob): Remove variable.
22155 2013-02-14 Joseph Myers <joseph@codesourcery.com>
22158 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
22159 Remove __BOUNDED_POINTERS__ from condition.
22160 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
22161 * string/bits/string2.h [!__NO_STRING_INLINES &&
22162 !__BOUNDED_POINTERS__]: Likewise.
22163 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
22165 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
22166 Remove conditional code.
22167 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
22168 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
22169 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
22173 * csu/libc-start.c: Do not include <bp-sym.h>.
22174 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
22175 * elf/dl-open.c: Do not include <bp-sym.h>.
22176 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
22177 * math/fegetenv.c: Do not include <bp-sym.h>.
22178 (fegetenv): Do not use BP_SYM in versioned symbols.
22179 * nptl/sysdeps/pthread/bits/libc-lockP.h
22180 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
22182 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22183 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
22184 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22185 (__pthread_mutex_destroy): Likewise.
22186 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22187 (__pthread_mutex_lock): Likewise.
22188 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22189 (__pthread_mutex_trylock): Likewise.
22190 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22191 (__pthread_mutex_unlock): Likewise.
22192 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22193 (__pthread_mutexattr_init): Likewise.
22194 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22195 (__pthread_mutexattr_destroy): Likewise.
22196 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22197 (__pthread_mutexattr_settype): Likewise.
22198 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22199 (__pthread_rwlock_init): Likewise.
22200 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22201 (__pthread_rwlock_destroy): Likewise.
22202 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22203 (__pthread_rwlock_rdlock): Likewise.
22204 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22205 (__pthread_rwlock_tryrdlock): Likewise.
22206 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22207 (__pthread_rwlock_wrlock): Likewise.
22208 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22209 (__pthread_rwlock_trywrlock): Likewise.
22210 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22211 (__pthread_rwlock_unlock): Likewise.
22212 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22213 (__pthread_key_create): Likewise.
22214 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22215 (__pthread_setspecific): Likewise.
22216 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22217 (__pthread_getspecific): Likewise.
22218 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
22220 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22221 (_pthread_cleanup_push_defer): Likewise.
22222 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22223 (_pthread_cleanup_pop_restore): Likewise.
22224 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22225 (pthread_setcancelstate): Likewise.
22226 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
22228 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
22229 (memchr): Do not use BP_SYM in weak_alias.
22230 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
22231 (fegetenv): Do not use BP_SYM in versioned symbols.
22232 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
22233 (fesetenv): Do not use BP_SYM in versioned symbols.
22234 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22235 (feupdateenv): Do not use BP_SYM in versioned symbols.
22236 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22237 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22238 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
22239 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
22240 (open64): Do not use BP_SYM in weak_alias.
22241 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
22242 (fegetenv): Do not use BP_SYM in versioned symbols.
22243 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
22244 (fesetenv): Do not use BP_SYM in versioned symbols.
22245 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22246 (feupdateenv): Do not use BP_SYM in versioned symbols.
22247 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
22248 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
22249 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
22250 (feraiseexcept): Do not use BP_SYM in versioned symbols.
22251 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22252 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22253 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
22255 (__libc_start_main): Do not use BP_SYM.
22257 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22259 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
22260 redundant return line.
22262 (denorm): Likewise.
22263 (dbl_mp): Likewise.
22264 (sub_magnitudes): Likewise.
22270 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
22272 (denorm): Likewise.
22273 (dbl_mp): Likewise.
22274 (sub_magnitudes): Likewise.
22281 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
22283 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22284 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
22287 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
22288 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
22289 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
22290 of __mul for squares.
22291 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
22293 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
22295 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
22296 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22298 2013-02-13 Joseph Myers <joseph@codesourcery.com>
22301 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
22303 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
22304 prototype or function definition. Rename ubp_* variables and
22305 parameters. Remove argv definitions conditional on
22306 [__BOUNDED_POINTERS__].
22307 * debug/backtrace.c (__backtrace): Do not use __unbounded.
22308 * elf/dl-runtime.c (_dl_fixup): Likewise.
22309 * include/set-hooks.h (RUN_HOOK): Likewise.
22310 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
22312 * string/strcpy.c (strcpy): Do not use __unbounded.
22313 * sysdeps/generic/frame.h (struct layout): Likewise.
22314 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
22315 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
22316 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
22317 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
22318 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
22319 (__backtrace): Likewise.
22320 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
22322 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22323 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22324 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22326 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
22327 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
22328 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22329 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22330 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
22331 Do not use __unbounded.
22332 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
22333 Rename __unboundedrlimits parameter to rlimits in prototype.
22334 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
22335 Do not use __unbounded.
22336 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
22337 not use __ptrvalue.
22338 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22339 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
22340 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22341 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
22342 __ptrvalue or __unbounded.
22343 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
22344 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
22346 (__new_msgctl): Do not use __ptrvalue.
22347 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
22349 (__libc_msgrcv): Do not use __ptrvalue.
22350 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
22351 startup_info): Do not use __unbounded.
22352 (__libc_start_main): Likewise. Rename ubp_* variables and
22353 parameters. Remove argv definitions conditional on
22354 [__BOUNDED_POINTERS__].
22355 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
22357 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
22359 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
22361 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
22363 (__new_shmctl): Do not use __ptrvalue.
22364 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22365 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22367 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22368 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
22369 (__libc_sigaction): Likewise.
22370 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
22371 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
22373 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22375 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
22377 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
22379 * string/mempcpy.c: Implement by calling memcpy.
22381 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22383 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
22385 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
22388 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
22389 values in the mantissa.
22391 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
22392 minimize writes to Z.
22393 (sub_magnitudes): Simplify code a bit.
22395 2013-02-12 Roland McGrath <roland@hack.frob.com>
22397 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
22398 from the message. The linker prefixes all warnings with that already.
22400 2013-02-12 Andreas Schwab <schwab@suse.de>
22403 * posix/regexec.c (extend_buffers): Add parameter min_len.
22404 (check_matching): Pass minimum needed length.
22405 (clean_state_log_if_needed): Likewise.
22406 (get_subexp): Likewise.
22407 * posix/Makefile (tests): Add bug-regex34.
22408 (bug-regex34-ENV): Define.
22409 * posix/bug-regex34.c: New file.
22412 * posix/regcomp.c (parse_bracket_exp): When looking up collating
22413 elements compare against the byte sequence of it, not its name.
22414 * posix/Makefile (tests): Add bug-regex35.
22415 (bug-regex35-ENV): Define.
22416 * posix/bug-regex35.c: New file.
22418 2013-02-11 Tom de Vries <tom@codesourcery.com>
22420 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
22422 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
22423 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
22424 (CHECK_EOL): Add undef.
22426 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
22428 * bits/stdlib-bsearch.h: New file.
22429 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
22430 * stdlib/stdlib.h: Likewise.
22432 2013-02-11 Roland McGrath <roland@hack.frob.com>
22434 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
22435 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
22437 * manual/search.texi (Array Search Function): Add missing const in
22439 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
22440 declaration to use rlim_t.
22441 (Basic Scheduling Functions): Remove erroneous const from
22442 sched_getparam prototype. Remove erroneous * from
22443 sched_get_priority_max and sched_get_priority_min prototypes.
22444 (Resource Usage): Fix summary @comment on vtimes to refer to
22445 sys/vtimes.h rather than vtimes.h.
22446 Add missing *s in vtimes prototype.
22447 (Limits on Resources): Fix ulimit prototype to return long int.
22448 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
22449 prototypes to use long int rather than double.
22450 (BSD Random): Fix initstate and setstate to use char *, not void *.
22451 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
22452 prototype to make second argument 'struct aiocb64 *const[]'.
22453 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
22454 (Status of AIO Operations): Remove erroneous const in aio_return and
22455 aio_return64 prototypes.
22456 (Synchronizing I/O): Fix sync prototype to return void.
22457 * manual/startup.texi (Suboptions): Remove an erroneous const in
22458 getsubopt prototype.
22459 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
22460 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
22461 use size_t rather than int.
22462 (Scanning All Users): Likewise for getpwent_r.
22463 (Setting Groups): Add missing const to setgroups prototype.
22464 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
22465 * manual/socket.texi (Host Names): Fix gethostbyaddr and
22466 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
22467 'const void *' rather than 'const char *'.
22468 (Host Address Functions): Likewise for inet_ntop.
22469 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
22470 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
22471 ssize_t for return value.
22472 (Sending Data): Likewise for send, sendto, sendmsg.
22473 (Socket Option Functions): Add a missing const in setsockopt prototype.
22474 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
22475 use wchar_t for the argument.
22476 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
22477 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
22479 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
22480 double/float/long double for second argument.
22481 Fix return types of significand, significandf, significandl.
22482 * manual/filesys.texi (Setting Permissions): Use mode_t for second
22483 argument in fchmod prototype.
22484 (File Owner): Use uid_t and gid_t in fchown prototype.
22485 (File Times): Add const to utimes, futimes, and lutimes prototypes.
22486 (Making Special Files): Use mode_t and dev_t in mknod prototype.
22487 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
22488 use 'const struct dirent **' as argument types to CMP function pointer
22490 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
22491 (File Times): Fix summary magic @comment for struct utimbuf and utime
22492 to refer to utime.h, not time.h.
22493 * manual/string.texi (Argz Functions): Add missing const in
22494 argz_extract and argz_next prototypes.
22495 (Finding Tokens in a String): Likewise for basename.
22496 (String/Array Comparison): Fix typo in wcscasecmp prototype.
22497 (Copying and Concatenation): Fix typo in wmemmove prototype.
22498 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
22499 (Signal Stack): Remove erroneous const in sigstack prototype.
22500 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
22502 (Simple Calendar Time): Likewise for stime.
22503 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
22505 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
22506 say sys/sysctl.h instead.
22507 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
22508 and vsyslog prototypes.
22510 2013-02-11 Tom de Vries <tom@codesourcery.com>
22512 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
22515 2013-02-11 Roland McGrath <roland@hack.frob.com>
22517 * misc/sys/mman.h: Fix typo in mremap comment.
22519 2013-02-08 Roland McGrath <roland@hack.frob.com>
22521 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
22522 the '\0' terminator.
22524 2013-02-08 Joseph Myers <joseph@codesourcery.com>
22527 * debug/segfault.c: Don't include <bp-checks.h>.
22528 * sysdeps/generic/bp-checks.h: Remove file.
22529 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
22530 (__GETDENTS): Don't use CHECK_N.
22531 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
22532 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22533 (__getgroups): Don't use CHECK_N.
22534 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
22535 (setgroups): Don't use CHECK_N.
22536 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
22537 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
22538 (__libc_msgrcv): Don't use CHECK_N.
22539 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
22540 (__libc_msgsnd): Don't use CHECK_N.
22541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
22543 (__libc_pread): Don't use CHECK_N.
22544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
22545 include <bp-checks.h>.
22546 (__libc_pread64): Don't use CHECK_N.
22547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
22548 include <bp-checks.h>.
22549 (__libc_pwrite): Don't use CHECK_N.
22550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
22551 include <bp-checks.h>.
22552 (__libc_pwrite64): Don't use CHECK_N.
22553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
22555 (__libc_pread): Don't use CHECK_N.
22556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
22557 include <bp-checks.h>.
22558 (__libc_pread64): Don't use CHECK_N.
22559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
22560 include <bp-checks.h>.
22561 (__libc_pwrite): Don't use CHECK_N.
22562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
22563 include <bp-checks.h>.
22564 (__libc_pwrite64): Don't use CHECK_N.
22565 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
22566 (do_pread): Don't use CHECK_N.
22567 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
22568 (do_pread64): Don't use CHECK_N.
22569 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
22570 (do_pwrite): Don't use CHECK_N.
22571 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
22572 (do_pwrite64): Don't use CHECK_N.
22573 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
22574 (__libc_readv): Don't use CHECK_N.
22575 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
22576 (semop): Don't use CHECK_N.
22577 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
22579 (semtimedop): Don't use CHECK_N.
22580 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
22581 (__libc_pread): Don't use CHECK_N.
22582 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
22584 (__libc_pread64): Don't use CHECK_N.
22585 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
22587 (__libc_pwrite): Don't use CHECK_N.
22588 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
22590 (__libc_pwrite64): Don't use CHECK_N.
22591 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
22593 (__libc_msgrcv): Don't use CHECK_N.
22594 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
22595 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
22596 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
22597 (__libc_writev): Don't use CHECK_N.
22599 2013-02-08 Roland McGrath <roland@hack.frob.com>
22601 * string/strcpy.c: Removed unused variable.
22603 * Makeconfig (+sysdep-includes): Define with := rather than =.
22604 Use an existing include/ subdir of each sysdeps dir before it.
22606 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22608 * nscd/connection.c (register_traced_file): Comment function.
22609 [HAVE_INOTIFY] (union __inev): Define.
22610 [HAVE_INOTIFY] (inotify_check_files): New function.
22611 [HAVE_INOTIFY] (clear_db_cache): Likewise.
22612 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
22614 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
22616 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22618 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
22619 loaded if not already and that a failure is permanent.
22621 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22624 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
22625 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
22627 2013-02-08 Joseph Myers <joseph@codesourcery.com>
22630 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
22631 (CHECK_1_NULL_OK): Likewise.
22632 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
22633 (__fxstat): Do not use CHECK_1.
22634 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
22636 (___fxstat64): Do not use CHECK_1.
22637 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
22639 (__fxstatat): Do not use CHECK_1.
22640 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
22642 (__fxstatat64): Do not use CHECK_1.
22643 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
22645 (__fxstat): Do not use CHECK_1.
22646 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
22648 (__fxstatat): Do not use CHECK_1.
22649 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22651 (__getresgid): Do not use CHECK_1.
22652 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22654 (__getresuid): Do not use CHECK_1.
22655 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
22657 (__lxstat): Do not use CHECK_1.
22658 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22660 (__old_msgctl): Do not use CHECK_1.
22661 (__new_msgctl): Likewise.
22662 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
22664 (__new_setrlimit): Do not use CHECK_1.
22665 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22667 (__old_shmctl): Do not use CHECK_1.
22668 (__new_shmctl): Likewise.
22669 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
22671 (__xstat): Do not use CHECK_1.
22672 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
22673 (__lxstat): Do not use CHECK_1.
22674 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
22676 (___lxstat64): Do not use CHECK_1.
22677 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
22678 (__old_msgctl): Do not use CHECK_1.
22679 (__new_msgctl): Likewise.
22680 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
22682 (__gettimeofday): Do not use CHECK_1.
22683 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
22684 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
22685 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
22687 (__gettimeofday): Do not use CHECK_1.
22688 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
22689 (__old_shmctl): Do not use CHECK_1_NULL_OK.
22690 (__new_shmctl): Do not use CHECK_1.
22691 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
22693 (do_sigtimedwait): Do not use CHECK_1.
22694 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
22696 (do_sigwaitinfo): Do not use CHECK_1.
22697 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
22699 (msgctl): Do not use CHECK_1.
22700 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
22702 (shmctl): Do not use CHECK_1.
22703 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
22704 (ustat): Do not use CHECK_1.
22705 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
22707 (__fxstat): Do not use CHECK_1.
22708 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
22710 (__fxstatat): Do not use CHECK_1.
22711 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
22713 (__lxstat): Do not use CHECK_1.
22714 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
22716 (__xstat): Do not use CHECK_1.
22717 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
22718 (__xstat): Do not use CHECK_1.
22719 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
22720 (___xstat64): Do not use CHECK_1.
22723 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
22725 (CHECK_BOUNDS_HIGH): Likewise.
22726 * string/strcpy.c: Do not include <bp-checks.h>.
22727 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
22729 2013-02-07 Roland McGrath <roland@hack.frob.com>
22731 * nscd/nscd-client.h (__nscd_drop_map_ref):
22732 Add __attribute__ ((unused)).
22733 * nis/nss-nisplus.h (niserr2nss): Likewise.
22735 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
22736 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
22738 * csu/libc-tls.c (init_static_tls, init_slotinfo):
22739 Remove inline keyword.
22740 * include/rounding-mode.h (round_away): Likewise.
22741 * libio/wfileops.c (adjust_wide_data): Likewise.
22742 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
22743 (__m128i_strloadu_tolower): Likewise.
22744 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
22745 (__m128i_strloadu_tolower): Likewise.
22746 * time/mktime.c (ydhms_diff): Likewise.
22747 * locale/elem-hash.h (elem_hash): Likewise.
22748 * locale/setlocale.c (setdata): Likewise.
22749 * posix/regex_internal.h (re_string_char_size_at): Likewise.
22750 (re_string_wchar_at): Likewise.
22751 (bitset_not, bitset_merge, bitset_mask): Likewise.
22752 [!(__GNUC__ > 3)] (inline): Remove macro.
22753 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
22754 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
22755 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
22756 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22757 * string/memcmp.c (memcmp_bytes): Likewise.
22758 * locale/programs/locarchive.c (compute_hashval): Likewise.
22759 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
22760 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
22761 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
22762 * nss/getent.c (print_rpc, print_protocols): Likewise.
22763 (print_passwd, print_group, print_aliases): Likewise.
22764 * nis/nss-nisplus.h (niserr2nss): Likewise.
22765 * nscd/connections.c (restart_p): Likewise.
22766 Change return type to bool.
22768 2013-02-05 Roland McGrath <roland@hack.frob.com>
22770 * Makeconfig (all-Depend-files): Add existing
22771 $(sorted-subdirs:=/Depend) files.
22772 (all-subdirs): Remove nss.
22773 * sysdeps/unix/inet/Subdirs: Add it here instead.
22774 * hesiod/Depend: New file.
22776 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
22777 instead of calling alloca.
22779 * io/lseek.c (__lseek): Rename to __libc_lseek.
22780 Define __lseek as an alias.
22782 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
22784 2013-02-04 Carlos O'Donell <carlos@redhat.com>
22786 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
22787 else clause and remove check for non-standard endianness.
22789 2013-02-04 David S. Miller <davem@davemloft.net>
22791 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22793 2013-02-04 Joseph Myers <joseph@codesourcery.com>
22796 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
22797 (__ubp_memchr): Remove prototype.
22798 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
22799 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22800 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
22801 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22802 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
22804 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
22805 (__ubp_memchr): Likewise.
22806 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
22807 (__ubp_memchr): Likewise.
22808 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
22809 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
22810 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
22811 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
22813 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22814 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
22815 (__getcwd): Do not use CHECK_STRING.
22816 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22818 (__real_chown): Do not use CHECK_STRING.
22819 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
22821 (fchownat): Do not use CHECK_STRING.
22822 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
22824 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22826 (__lchown): Do not use CHECK_STRING.
22827 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22828 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22829 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22830 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22832 include <bp-checks.h>.
22833 (truncate64): Do not use CHECK_STRING.
22834 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22836 (__real_chown): Do not use CHECK_STRING.
22837 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22839 (__lchown): Do not use CHECK_STRING.
22840 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22842 (__chown): Do not use CHECK_STRING.
22843 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
22845 (truncate64): Do not use CHECK_STRING.
22846 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
22848 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
22849 (__xmknod): Do not use CHECK_STRING.
22850 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22852 (__xmknodat): Do not use CHECK_STRING.
22853 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22854 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22856 2013-02-04 Andreas Schwab <schwab@suse.de>
22859 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
22860 * include/netdb.h: Likewise for h_errno.
22861 * elf/tst-stackguard1.c: Include <tls.h>.
22863 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
22865 * elf/link.h (struct link_map): Extend the l_addr comment.
22866 * include/link.h (struct link_map): Likewise.
22868 2013-02-01 Joseph Myers <joseph@codesourcery.com>
22871 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
22872 (BOUNDED_1): Remove macro.
22873 * debug/backtrace.c: Don't include <bp-checks.h>.
22874 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
22875 (__backtrace): Likewise.
22876 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
22878 (__backtrace): Don't use BOUNDED_1.
22879 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
22881 (__backtrace): Don't use BOUNDED_1.
22882 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
22883 (__backtrace): Don't use BOUNDED_1.
22884 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
22885 (shmat): Don't use BOUNDED_N.
22887 2013-01-31 Joseph Myers <joseph@codesourcery.com>
22890 * sysdeps/generic/bp-start.h: Remove file.
22891 * csu/libc-start.c: Don't include <bp-start.h>.
22892 (LIBC_START_MAIN): Set up __environ directly instead of using
22893 INIT_ARGV_and_ENVIRON.
22894 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
22898 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
22900 (CHECK_FCNTL): Likewise.
22901 (CHECK_N_PAGES): Likewise.
22904 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
22906 (CHECK_SIGSET_NULL_OK): Likewise.
22907 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
22909 (sigpending): Don't use CHECK_SIGSET.
22910 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
22912 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22913 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
22915 (do_sigsuspend): Don't use CHECK_SIGSET.
22916 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
22918 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
22919 (do_sigwait): Don't use CHECK_SIGSET.
22920 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
22922 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
22923 include <bp-checks.h>.
22924 (sigpending): Don't use CHECK_SIGSET.
22925 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
22926 include <bp-checks.h>.
22927 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22928 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
22930 (sigpending): Don't use CHECK_SIGSET.
22931 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
22933 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22936 * sysdeps/generic/bp-semctl.h: Remove file.
22937 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
22938 <bp-checks.h> and <bp-semctl.h>.
22939 (__old_semctl): Don't use CHECK_SEMCTL.
22940 (__new_semctl): Likewise.
22941 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
22943 (__old_semctl): Don't use CHECK_SEMCTL.
22944 (__new_semctl): Likewise.
22945 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
22946 <bp-checks.h> and <bp-semctl.h>.
22947 (__old_semctl): Don't use CHECK_SEMCTL.
22948 (__new_semctl): Likewise.
22949 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
22950 <bp-checks.h> and <bp-semctl.h>.
22951 (semctl): Don't use CHECK_SEMCTL.
22954 * Makerules (elide-bp-thunks): Remove variable.
22955 (elide-routines.oS): Don't use $(elide-bp-thunks).
22956 (elide-routines.os): Likewise.
22957 (elide-routines.o): Likewise.
22958 (elide-routines.op): Likewise.
22959 (elide-routines.og): Likewise.
22960 (objects): Don't use $(bp-thunks).
22961 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
22963 (common-generated): Do not add s-proto-bp.d.
22964 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
22967 Do not generate makefile rules for bounded-pointer thunks.
22968 * sysdeps/generic/bp-thunks.h: Remove file.
22969 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
22970 * sysdeps/unix/s-proto-bp.S: Likewise.
22973 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
22974 parts of result separately when argument is not close to line from
22975 -i to i and one part of argument is small.
22976 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22977 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22978 * math/libm-test.inc (cacos_test): Add more tests.
22979 (casin_test): Likewise.
22980 (casinh_test): Likewise.
22981 * sysdeps/i386/fpu/libm-test-ulps: Update.
22982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22984 2013-01-31 David S. Miller <davem@davemloft.net>
22986 * po/de.po: Update from translation team.
22988 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
22990 * time/tzfile.c: Include stdint.h for SIZE_MAX.
22992 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
22994 * configure.in (_AC_PROG_CC_C89): New definition.
22995 * configure: Regenerate.
22997 * configure.in (AC_PROG_CPP): New definition.
22998 * configure: Regenerate.
23000 2013-01-23 Joseph Myers <joseph@codesourcery.com>
23002 * debug/tst-backtrace.h: New file.
23003 * debug/tst-backtrace2.c: Include tst-backtrace.h.
23004 (ret): Remove variable.
23006 (FAIL): Remove macro.
23007 (NO_INLINE): Likewise.
23008 (fn1): Use match function instead of strstr.
23009 * debug/tst-backtrace3.c: Include tst-backtrace.h.
23010 (ret): Remove variable.
23012 (FAIL): Remove macro.
23013 (NO_INLINE): Likewise.
23014 (fn): Use match function instead of strstr.
23015 * debug/tst-backtrace4.c: Include tst-backtrace.h.
23016 (ret): Remove variable.
23018 (FAIL): Remove macro.
23019 (NO_INLINE): Likewise.
23020 (handle_signal): Use match function instead of strstr.
23021 * debug/tst-backtrace5.c: Include tst-backtrace.h.
23022 (ret): Remove variable.
23024 (FAIL): Remove macro.
23025 (NO_INLINE): Likewise.
23026 (handle_signal): Use match function instead of strstr.
23028 2013-01-23 Roland McGrath <roland@hack.frob.com>
23030 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23032 2013-01-23 David S. Miller <davem@davemloft.net>
23034 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23035 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23036 argument of CAS if possible.
23037 * sysdeps/sparc/sparc64/bits/atomic.h
23038 (__arch_compare_and_exchange_val_32_acq): Likewise.
23039 (__arch_compare_and_exchange_val_64_acq): Likewise.
23041 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
23043 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23044 * sysdeps/posix/ulimit.c: ... this.
23045 Include <limits.h>.
23046 * sysdeps/unix/bsd/ulimit.c: Remove file.
23048 2013-01-23 Adam Conrad <adconrad@0c3.net>
23050 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23051 (LDFLAGS-tst-array5): Likewise.
23053 2013-01-23 Joseph Myers <joseph@codesourcery.com>
23056 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23057 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23058 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23059 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23061 2013-01-21 David S. Miller <davem@davemloft.net>
23063 * sysdeps/sparc/backtrace.c: New file.
23064 * sysdeps/sparc/sparc32/backtrace.h: New file.
23065 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23066 * sysdeps/sparc/sparc64/backtrace.h: New file.
23067 * sysdeps/sparc/sparc64/backtrace.c: Delete.
23068 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23071 2013-01-21 Andreas Schwab <schwab@suse.de>
23074 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23077 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
23079 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23081 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23083 2013-01-18 Joseph Myers <joseph@codesourcery.com>
23084 Mark Mitchell <mark@codesourcery.com>
23085 Tom de Vries <tom@codesourcery.com>
23086 Paul Pluzhnikov <ppluzhnikov@google.com>
23088 * debug/tst-backtrace2.c: New file.
23089 * debug/tst-backtrace3.c: Likewise.
23090 * debug/tst-backtrace4.c: Likewise.
23091 * debug/tst-backtrace5.c: Likewise.
23092 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23093 (CFLAGS-tst-backtrace3.c): Likewise.
23094 (CFLAGS-tst-backtrace4.c): Likewise.
23095 (CFLAGS-tst-backtrace5.c): Likewise.
23096 (LDFLAGS-tst-backtrace2): Likewise.
23097 (LDFLAGS-tst-backtrace3): Likewise.
23098 (LDFLAGS-tst-backtrace4): Likewise.
23099 (LDFLAGS-tst-backtrace5): Likewise.
23100 (tests): Add new tests tst-backtrace2, tst-backtrace3,
23101 tst-backtrace4 and tst-backtrace5.
23103 2013-01-18 Anton Blanchard <anton@samba.org>
23104 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23106 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
23107 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
23108 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
23109 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
23110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23111 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
23112 "+r" and remove output regs list as redundant. Add explicit inline
23113 asm to specify register of return val to work around compiler codegen
23114 bug. Remove (int) cast on return value. Add return type parameter to
23115 use in macro so that this macro does not truncate return value for
23117 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
23118 pass to INTERNAL_VSYSCALL_NCS.
23119 (INLINE_VSYSCALL): Add 'long int' as return type to
23120 INTERNAL_VSYSCALL_NCS macro invocation.
23121 (INTERNAL_VSYSCALL): Add 'long int' as return type to
23122 INTERNAL_VSYSCALL_NCS macro invocation.
23123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23125 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23128 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
23129 Fix application of SIMD FP exception mask.
23131 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
23132 mp_no from a power of two.
23133 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
23134 __mpexp_twomm1. Use __pow_mp.
23136 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
23139 2013-01-17 David S. Miller <davem@davemloft.net>
23141 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23143 2013-01-17 Joseph Myers <joseph@codesourcery.com>
23146 * include/complex.h: Condition contents on [!_COMPLEX_H].
23147 (__kernel_casinhf): New prototype.
23148 (__kernel_casinh): Likewise.
23149 (__kernel_casinhl): Likewise.
23150 * math/Makefile (libm_calls): Add k_casinh.
23151 * math/k_casinh.c: New file.
23152 * math/k_casinhf.c: Likewise.
23153 * math/k_casinhl.c: Likewise.
23154 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
23155 finite nonzero arguments.
23156 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
23157 finite nonzero arguments.
23158 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
23159 finite nonzero arguments.
23160 * math/s_casinh.c: Do not include <float.h>.
23161 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
23162 * math/s_casinhf.c: Do not include <float.h>.
23163 (__casinhf): Move code for finite nonzero arguments to
23165 * math/s_casinhl.c: Do not include <float.h>.
23166 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
23168 (__casinhl): Move code for finite nonzero arguments to
23170 * math/libm-test.inc (cacos_test): Add more tests.
23171 * sysdeps/i386/fpu/libm-test-ulps: Update.
23172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23174 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
23176 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
23177 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
23178 [!HAVE_MREMAP]: Remove [defined linux] case.
23179 * malloc/arena.c: Do not include <malloc-sysdep.h>.
23181 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23183 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
23185 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
23187 * elf/elf.h (R_386_SIZE32): New relocation.
23188 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
23190 (elf_machine_rela): Likewise.
23191 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23192 R_X86_64_SIZE64 and R_X86_64_SIZE32.
23194 2013-01-17 Joseph Myers <joseph@codesourcery.com>
23196 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
23197 (FP_FAST_FMA): Do not define.
23198 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
23199 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
23200 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
23201 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
23202 !_SOFT_FLOAT]: Likewise.
23203 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
23204 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
23206 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
23207 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
23208 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
23209 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
23210 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
23211 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
23214 2013-01-16 Andreas Schwab <schwab@suse.de>
23217 * include/stdlib.h (__mktemp): Add declaration.
23218 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
23219 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
23221 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23223 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
23225 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23226 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
23227 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
23229 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
23230 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
23232 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
23234 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
23235 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
23236 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
23238 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
23239 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
23241 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23243 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
23245 2013-01-15 David S. Miller <davem@davemloft.net>
23247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23248 trunc{,f} to libm-sysdep_routes.
23249 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
23252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
23253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
23255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
23257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
23258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
23259 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
23260 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
23261 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
23262 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
23263 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
23264 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
23266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23267 nearbyint{,f} to libm-sysdep_routes.
23268 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
23271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
23273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
23275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
23277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
23278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
23279 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
23281 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
23282 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
23284 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
23285 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
23286 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
23288 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23289 libc_feholdexcept and libc_fesetenv.
23291 2013-01-15 Mike Frysinger <vapier@gentoo.org>
23293 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
23295 2013-01-14 David S. Miller <davem@davemloft.net>
23297 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
23298 (SPARC_ASM_VIS2_IFUNC): Likewise.
23299 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
23300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
23301 use of 'siam' instruction.
23302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
23304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
23306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
23308 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
23309 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
23310 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
23311 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
23312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
23314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
23316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
23318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
23320 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
23321 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
23322 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
23323 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
23324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
23326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23330 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23331 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23332 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23333 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
23335 routines to libm-sysdep_routines.
23336 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23339 fdim/fdimf to libm-sysdep_routines.
23340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
23342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
23343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
23345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
23346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
23347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
23348 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
23349 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
23350 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
23351 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
23353 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23355 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
23356 to optimize copies.
23358 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
23359 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23360 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23362 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
23363 local variable MPTWO.
23364 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23367 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23369 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
23372 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23374 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
23376 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23378 * manual/pattern.texi (glob_t): Document gl_flags.
23379 (glob64_t): Likewise.
23381 2013-01-11 David S. Miller <davem@davemloft.net>
23383 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
23384 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
23385 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
23386 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
23387 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
23388 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
23389 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
23390 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
23391 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
23392 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
23393 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
23394 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
23395 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
23397 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23398 sparc V9 rather than using V8 code.
23399 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23400 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23402 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23404 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
23407 2013-01-11 Roland McGrath <roland@hack.frob.com>
23409 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
23410 not in the main loop.
23411 * configure: Regenerated.
23413 2013-01-11 Joseph Myers <joseph@codesourcery.com>
23415 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
23416 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
23418 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
23419 [!__GLIBC_HAVE_LONG_LONG] case.
23420 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
23421 condition to just #else.
23422 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
23423 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
23424 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
23425 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
23427 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
23428 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23429 #elif condition to just #else.
23430 * sysdeps/unix/sysv/linux/sys/sysmacros.h
23431 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
23432 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23433 #elif condition to just #else.
23435 2013-01-11 Steve Ellcey <sellcey@mips.com>
23437 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
23438 (EF_MIPS_ARCH_64): Fix value.
23439 (EF_MIPS_ARCH_32R2): New.
23440 (EF_MIPS_ARCH_64R2): New.
23442 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
23444 * Makeconfig (+link-pie-before-libc): New.
23445 (+link-pie-after-libc): Likewise.
23446 (+link-pie-tests): Likewise.
23447 (+link-pie): Rewritten.
23448 (link-before-libc): Remove $(config-LDFLAGS).
23449 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
23450 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
23451 (config-LDFLAGS): Renamed to ...
23452 (rtld-LDFLAGS): This.
23453 (rtld-tests-LDFLAGS): New macro.
23454 (link-libc-rpath-link): Likewise.
23455 (link-libc-tests-rpath-link): Likewise.
23456 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23457 (link-libc): Prepand $(link-libc-rpath-link).
23458 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
23459 (test-program-prefix): New macro.
23460 (test-via-rtld-prefix): Likewise.
23461 (test-program-cmd): Likewise.
23462 (host-test-program-cmd): Likewise.
23463 * Makefile ($(common-objpfx)testrun.sh): Replace
23464 $(run-program-prefix) with $(test-program-prefix).
23465 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
23467 ($(common-objpfx)shlib.lds): Likewise.
23468 (build-module-helper): Likewise.
23469 ($(common-objpfx)format.lds): Likewise.
23470 * Rules (binaries-pie-tests): New.
23471 (binaries-pie-notests): Likewise.
23472 (binaries-pie): Rewritten.
23473 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
23474 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
23475 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
23476 (make-test-out): Replace $(host-built-program-cmd) with
23477 $(host-test-program-cmd).
23478 * config.make.in (build-hardcoded-path-in-tests): New variable.
23479 * configure.in (--enable-hardcoded-path-in-tests): New configure
23481 (hardcoded_path_in_tests): New AC_SUBST.
23482 * configure: Regenerated.
23483 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
23484 $(built-program-cmd) with $(test-program-cmd).
23485 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
23486 (test_program_cmd): This.
23487 * elf/Makefile ($(objpfx)order.out): Run test with
23488 $(test-program-prefix).
23489 ($(objpfx)order2.out): Likewise.
23490 ($(objpfx)tst-initorder.out): Likewise.
23491 ($(objpfx)tst-initorder2.out): Likewise.
23492 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
23493 $(test-program-cmd).
23494 ($(objpfx)tst-array1-static.out): Likewise.
23495 ($(objpfx)tst-array2.out): Likewise.
23496 ($(objpfx)tst-array3.out): Likewise.
23497 ($(objpfx)tst-array4.out): Likewise.
23498 ($(objpfx)tst-array5.out): Likewise.
23499 ($(objpfx)tst-array5-static.out): Likewise.
23500 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
23501 $(test-program-cmd).
23502 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
23503 $(run-program-prefix) with $(test-program-prefix).
23504 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
23505 (test_program_prefix): This.
23506 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
23507 $(run-program-prefix) with $(test-program-prefix).
23508 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
23509 (test_program_prefix): This.
23510 * iconvdata/tst-tables.sh: Likewise.
23511 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
23512 $(run-program-prefix) with $(test-program-prefix).
23513 ($(objpfx)tst-translit.out): Likewise.
23514 ($(objpfx)tst-gettext2.out): Likewise.
23515 ($(objpfx)tst-gettext4.out): Likewise.
23516 ($(objpfx)tst-gettext6.out): Likewise.
23517 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
23518 (test_program_prefix): This.
23519 * intl/tst-gettext2.sh: Likewise.
23520 * intl/tst-gettext4.sh Likewise.
23521 * intl/tst-gettext6.sh: Likewise.
23522 * intl/tst-translit.sh: Likewise.
23523 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
23524 with $(test-program-cmd).
23525 * libio/Makefile ($(objpfx)test-freopen.out): Replace
23526 $(run-program-prefix) with $(test-program-prefix).
23527 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
23528 (test_program_prefix): This.
23529 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
23530 $(run-program-prefix) with $(test-program-prefix).
23531 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
23532 (test_program_prefix): This.
23533 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
23534 * posix/Makefile ($(objpfx)globtest.out): Replace
23535 $(run-via-rtld-prefix) and $(test-wrapper) with
23536 $(test-program-prefix) and $(test-via-rtld-prefix).
23537 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
23538 $(test-program-prefix).
23539 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
23540 $(host-test-program-cmd).
23541 (tst-spawn-ARGS): Likewise.
23542 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
23543 $(test-program-prefix).
23544 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
23545 (test_via_rtld_prefix): This.
23546 (test_wrapper): Renamed to ...
23547 (test_program_prefix): This.
23548 (run_program_prefix): Replaced by test_program_prefix.
23549 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
23550 (test_program_prefix): This.
23551 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
23552 with $(host-test-program-cmd).
23553 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
23554 $(run-program-prefix) with $(test-program-prefix).
23555 ($(objpfx)tst-printf.out): Likewise.
23556 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
23557 $(test-program-cmd).
23558 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
23559 (test_program_prefix): This.
23560 * stdio-common/tst-unbputc.sh: Likewise.
23561 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
23562 $(run-program-prefix) with $(test-program-prefix).
23563 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
23564 (test_program_prefix): This.
23565 * string/Makefile ($(objpfx)tst-svc.out): Replace
23566 $(built-program-cmd) with $(test-program-cmd).
23568 2013-01-11 Andreas Jaeger <aj@suse.de>
23571 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
23572 value. Sync with Linux 3.7.
23574 2013-01-10 David S. Miller <davem@davemloft.net>
23576 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
23577 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23578 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23580 2013-01-10 Roland McGrath <roland@hack.frob.com>
23582 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
23584 * configure: Regenerated.
23586 2013-01-10 David S. Miller <davem@davemloft.net>
23588 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23589 sparc V9 rather than using V8 code.
23590 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23591 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23593 2013-01-10 Roland McGrath <roland@hack.frob.com>
23595 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
23596 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
23597 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
23598 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
23599 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
23600 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
23601 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
23602 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
23603 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
23604 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
23605 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
23606 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
23607 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
23608 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
23609 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
23610 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
23611 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
23612 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
23613 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
23614 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
23615 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
23616 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
23617 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
23618 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
23619 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
23620 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
23621 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
23623 2013-01-10 David S. Miller <davem@davemloft.net>
23625 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23627 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23629 * posix/Makefile (tests-static): New variable.
23630 (tests): Add $(tests-static).
23631 (tst-exec-static-ARGS): New variable.
23632 (tst-spawn-static-ARGS): Likewise.
23633 * posix/tst-exec-static.c: New file.
23634 * posix/tst-spawn-static.c: Likewise.
23635 * posix/tst-exec.c: Support run directly.
23636 * posix/tst-spawn.c: Likewise.
23638 2013-01-10 Joseph Myers <joseph@codesourcery.com>
23640 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
23642 * math/bits/mathcalls.h (llrint): Likewise.
23643 (llround): Likewise.
23644 * stdlib/stdlib.h (struct drand48_data): Likewise.
23645 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
23646 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
23647 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
23649 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
23651 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
23652 (elf_greg_t): Likewise.
23653 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
23654 (__jmp_buf): Likewise.
23655 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
23657 (llrint): Likewise, for all definitions.
23658 (llrintl): Likewise.
23660 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
23661 Remove [__GNUC__] condition.
23662 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
23663 condition to just [__USE_ISOC99].
23664 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
23666 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23669 * sysdeps/unix/sysv/linux/x86/bits/environments.h
23670 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
23672 (_POSIX_V6_ILP32_OFF32): Likewise.
23673 (_XBS5_ILP32_OFF32): Likewise.
23674 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
23675 (__ILP32_OFFBIG_LDFLAGS): Likewise.
23677 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23679 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
23681 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
23682 doubles __mpexp_twomm1. Adjust usage.
23683 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
23686 2013-01-10 Andreas Schwab <schwab@suse.de>
23689 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
23690 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
23692 2013-01-09 David S. Miller <davem@davemloft.net>
23695 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
23696 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
23697 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
23698 (TCP_FASTOPEN): Define.
23699 (tcp_repair_opt): New structure.
23700 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
23702 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
23703 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
23704 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
23705 (tcp_cookie_transactions): New structure.
23707 2013-01-09 Anton Blanchard <anton@samba.org>
23709 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
23710 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
23711 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
23712 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
23714 2013-01-09 Joseph Myers <joseph@codesourcery.com>
23716 * include/features.h (__USE_ANSI): Remove.
23718 2013-01-09 Roland McGrath <roland@hack.frob.com>
23720 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
23722 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
23724 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
23726 * sysdeps/s390/fpu/libm-test-ulps: Update.
23728 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23730 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
23734 (denorm): Likewise.
23735 (__mp_dbl): Likewise.
23736 (__dbl_mp): Likewise.
23737 (add_magnitudes): Likewise.
23738 (sub_magnitudes): Likewise.
23744 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
23748 (denorm): Likewise.
23749 (__mp_dbl): Likewise.
23750 (__dbl_mp): Likewise.
23751 (add_magnitudes): Likewise.
23752 (sub_magnitudes): Likewise.
23758 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
23762 (denorm): Likewise.
23763 (__mp_dbl): Likewise.
23764 (__dbl_mp): Likewise.
23765 (add_magnitudes): Likewise.
23766 (sub_magnitudes): Likewise.
23773 2013-01-08 Joseph Myers <joseph@codesourcery.com>
23775 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
23776 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
23777 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
23778 2 && __USE_EXTERN_INLINES]: Likewise.
23780 2013-01-08 Andreas Jaeger <aj@suse.de>
23783 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
23785 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23786 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23788 2013-01-07 Anton Blanchard <anton@samba.org>
23790 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
23791 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23792 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
23793 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23794 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23795 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23796 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
23797 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23798 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23799 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23800 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23801 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23802 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23803 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23804 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23805 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23806 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23807 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23808 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23809 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23810 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23811 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
23812 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23813 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23814 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
23815 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23816 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23817 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23818 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
23819 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23820 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23821 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23822 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23823 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23824 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23825 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23826 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23827 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23828 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
23829 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23830 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
23831 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23832 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23834 2013-01-07 Joseph Myers <joseph@codesourcery.com>
23836 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
23837 (__MALLOC_PMT): Likewise.
23838 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
23839 [__GNUC__], only on [_LIBC].
23840 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23841 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
23842 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23843 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
23844 forward declaration.
23845 (realloc_hook_ini): Likewise.
23846 (memalign_hook_ini): Likewise.
23847 (__libc_memalign): Do not use __MALLOC_PMT in variable
23849 (__libc_valloc): Likewise.
23850 (__libc_pvalloc): Likewise.
23851 (__libc_calloc): Likewise.
23852 (__posix_memalign): Likewise.
23855 * math/s_casinh.c: Include <float.h>.
23856 (__casinh): Do not do computation with squaring and square root
23857 for large arguments.
23858 * math/s_casinhf.c: Include <float.h>.
23859 (__casinhf): Do not do computation with squaring and square root
23860 for large arguments.
23861 * math/s_casinhl.c: Include <float.h>.
23862 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
23863 (__casinhl): Do not do computation with squaring and square root
23864 for large arguments.
23865 * math/libm-test.inc (casin_test): Add more tests.
23866 (casinh_test): Likewise.
23867 * sysdeps/i386/fpu/libm-test-ulps: Update.
23868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23870 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
23872 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
23873 (__x86_64_raw_data_cache_size): Likewise.
23874 (__x86_64_data_cache_size_half): Likewise.
23875 (__x86_64_raw_data_cache_size_half): Likewise.
23876 (__x86_64_shared_cache_size): Likewise.
23877 (__x86_64_raw_shared_cache_size): Likewise.
23878 (__x86_64_shared_cache_size_half): Likewise.
23879 (__x86_64_raw_shared_cache_size_half): Likewise.
23880 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
23882 (__x86_data_cache_size): This.
23883 (__x86_64_raw_data_cache_size): Renamed to ...
23884 (__x86_raw_data_cache_size): This.
23885 (__x86_64_data_cache_size_half): Renamed to ...
23886 (__x86_data_cache_size_half): This.
23887 (__x86_64_raw_data_cache_size_half): Renamed to ...
23888 (__x86_raw_data_cache_size_half): This.
23889 (__x86_64_shared_cache_size): Renamed to ...
23890 (__x86_shared_cache_size): This.
23891 (__x86_64_raw_shared_cache_size): Renamed to ...
23892 (__x86_raw_shared_cache_size): This.
23893 (__x86_64_shared_cache_size_half): Renamed to ...
23894 (__x86_shared_cache_size_half): This.
23895 (__x86_64_raw_shared_cache_size_half): Renamed to ...
23896 (__x86_raw_shared_cache_size_half): This.
23897 * sysdeps/x86_64/memcpy.S: Updated.
23898 * sysdeps/x86_64/memset.S: Likewise.
23899 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23900 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23901 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23903 2013-01-04 David S. Miller <davem@davemloft.net>
23905 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23907 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
23909 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
23910 1 to avoid redefinition warning.
23911 (__USE_GNU): Don't define.
23912 (init_signaling_nan): Protoize.
23914 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23916 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23918 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
23919 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
23920 (__cpymn): Likewise.
23921 (norm): Remove commented code.
23922 (denorm): Likewise.
23923 (__mp_dbl): Likewise.
23925 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
23926 (__cpymn): Likewise.
23927 (norm): Remove commented code.
23928 (denorm): Likewise.
23929 (__mp_dbl): Likewise.
23932 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
23933 mp_no value for 1.0 and 2.0.
23934 (norm): Use RADIXI instead of radixi.d.
23935 (denorm): Likewise.
23936 (__mul): Use 0.0 instead of zero.d.
23937 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
23938 mp_no value for 1.0 and 2.0.
23939 (norm): Use RADIXI instead of radixi.d.
23940 (denorm): Likewise.
23941 (__mul): Use 0.0 instead of zero.d.
23943 2013-01-04 Joseph Myers <joseph@codesourcery.com>
23946 * math/s_casinh.c (__casinh): Reduce finite argument to first
23947 quadrant then set signs of results at the end.
23948 * math/s_casinhf.c (__casinhf): Likewise.
23949 * math/s_casinhl.c (__casinhl): Likewise.
23950 * math/libm-test.inc (casin_test): Add more tests.
23951 (casinh_test): Likewise.
23952 * sysdeps/i386/fpu/libm-test-ulps: Update.
23953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23955 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23957 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
23959 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
23961 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
23963 (denorm): Likewise.
23964 (__mp_dbl): Likewise.
23967 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
23968 and adjust the header comment.
23970 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
23971 variable name from declaration.
23973 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
23975 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23976 Initialize COMMON_CPUID_INDEX_7 element.
23977 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
23978 (CPUID_RTM): Likewise.
23979 (HAS_RTM): Likewise.
23980 (COMMON_CPUID_INDEX_7): New enum.
23982 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
23985 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
23986 size is zero, record memory as freed.
23988 2013-01-03 Andreas Jaeger <aj@suse.de>
23990 * po/ia.po: Add new Interlingua translation.
23992 2012-01-03 Allan McRae <allan@archlinux.org>
23994 * locale/programs/localedef.c: Fix description of '--posix' flag.
23996 2013-01-02 Joseph Myers <joseph@codesourcery.com>
23998 * NEWS: Update dates in second copyright notice.
23999 * README: Update copyright dates in example.
24000 * manual/libc.texinfo: Update copyright dates.
24001 * scripts/test-installation.pl: Update copyright date in --version
24004 * hurd/ctty-input.c: Fix copyright notice formatting.
24005 * hurd/ctty-output.c: Likewise.
24006 * hurd/dtable.c: Likewise.
24007 * hurd/hurd-raise.c: Likewise.
24008 * hurd/hurdprio.c: Likewise.
24009 * hurd/msgportdemux.c: Likewise.
24010 * misc/sys/file.h: Likewise.
24011 * misc/sys/ioctl.h: Likewise.
24012 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24013 * sysdeps/mach/hurd/chdir.c: Likewise.
24014 * sysdeps/mach/hurd/fchdir.c: Likewise.
24015 * sysdeps/mach/hurd/rename.c: Likewise.
24016 * sysdeps/mach/hurd/rmdir.c: Likewise.
24017 * sysdeps/mach/hurd/seekdir.c: Likewise.
24018 * sysdeps/mach/hurd/setsid.c: Likewise.
24019 * sysdeps/posix/wait3.c: Likewise.
24021 * All files with FSF copyright notices: Update copyright dates
24022 using scripts/update-copyrights.
24023 * intl/plural.c: Regenerated.
24024 * locale/programs/charmap-kw.h: Likewise.
24025 * locale/programs/locfile-kw.h: Likewise.
24027 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24029 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24032 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24033 calculation loop and add branch prediction.
24035 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24036 check access beyond bounds of m1np.
24038 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24040 (__inv): Remove local variable MPTWO to use the global
24042 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24043 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24045 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24046 MP3HALFS static const.
24048 2013-01-01 David S. Miller <davem@davemloft.net>
24050 * po/ca.po: Update from translation team.
24052 2013-01-01 Joseph Myers <joseph@codesourcery.com>
24054 * scripts/update-copyrights: New file.
24055 * Makeconfig: Reformat copyright notice.
24056 * ctype/ctype.h: Likewise.
24057 * debug/swprintf_chk.c: Likewise.
24058 * elf/dl-cache.c: Likewise.
24059 * elf/dl-debug.c: Likewise.
24060 * elf/dl-object.c: Likewise.
24061 * grp/initgroups.c: Likewise.
24062 * hurd/Makefile: Likewise.
24063 * hurd/hurd/signal.h: Likewise.
24064 * hurd/hurdfault.c: Likewise.
24065 * hurd/hurdioctl.c: Likewise.
24066 * hurd/hurdlookup.c: Likewise.
24067 * hurd/intr-msg.c: Likewise.
24068 * iconv/gconv_open.c: Likewise.
24069 * libio/swprintf.c: Likewise.
24070 * locale/lc-ctype.c: Likewise.
24071 * locale/nl_langinfo.c: Likewise.
24072 * mach/Machrules: Likewise.
24073 * mach/Makefile: Likewise.
24074 * malloc/obstack.h: Likewise.
24075 * manual/Makefile: Likewise.
24076 * manual/tsort.awk: Likewise.
24077 * misc/bits/stab.def: Likewise.
24078 * nis/nis_print_group_entry.c: Likewise.
24079 * nis/nis_table.c: Likewise.
24080 * nis/nss_compat/compat-pwd.c: Likewise.
24081 * nis/nss_compat/compat-spwd.c: Likewise.
24082 * po/Makefile: Likewise.
24083 * posix/fnmatch.c: Likewise.
24084 * posix/regex.h: Likewise.
24085 * resolv/Makefile: Likewise.
24086 * resolv/nss_dns/dns-network.c: Likewise.
24087 * resolv/res_hconf.c: Likewise.
24088 * scripts/gen-sorted.awk: Likewise.
24089 * soft-fp/soft-fp.h: Likewise.
24090 * stdio-common/printf.h: Likewise.
24091 * stdlib/monetary.h: Likewise.
24092 * stdlib/random.c: Likewise.
24093 * stdlib/random_r.c: Likewise.
24094 * sysdeps/generic/Makefile: Likewise.
24095 * sysdeps/gnu/Makefile: Likewise.
24096 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24097 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24098 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24099 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24100 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24101 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24102 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24103 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24104 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24105 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24106 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24107 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24108 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24109 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24110 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
24111 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24112 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24113 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24114 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24115 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24116 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24117 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24118 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24119 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24120 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
24121 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24122 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24123 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
24124 * sysdeps/mach/hurd/errnos.awk: Likewise.
24125 * sysdeps/mach/hurd/fork.c: Likewise.
24126 * sysdeps/mach/hurd/getcwd.c: Likewise.
24127 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
24128 * sysdeps/mach/hurd/mmap.c: Likewise.
24129 * sysdeps/mach/hurd/utimes.c: Likewise.
24130 * sysdeps/mach/hurd/xmknod.c: Likewise.
24131 * sysdeps/posix/profil.c: Likewise.
24132 * sysdeps/posix/readdir_r.c: Likewise.
24133 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24134 * sysdeps/powerpc/bits/setjmp.h: Likewise.
24135 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
24136 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24137 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24138 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24139 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24140 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24141 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24142 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24143 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24144 * sysdeps/pthread/lio_listio.c: Likewise.
24145 * sysdeps/sparc/dl-procinfo.h: Likewise.
24146 * sysdeps/unix/i386/sysdep.S: Likewise.
24147 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
24148 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
24149 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
24150 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
24151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24152 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24153 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24154 * sysdeps/unix/sysv/linux/speed.c: Likewise.
24155 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24156 * sysdeps/wordsize-32/divdi3.c: Likewise.
24157 * time/sys/time.h: Likewise.
24158 * wcsmbs/Makefile: Likewise.
24160 2013-01-01 David S. Miller <davem@davemloft.net>
24162 * po/fr.po: Update from translation team.
24164 * catgets/gencat.c: Update copyright year.
24165 * csu/version.c: Likewise.
24166 * debug/catchsegv.sh: Likewise.
24167 * debug/pcprofiledump.c: Likewise.
24168 * debug/xtrace.sh: Likewise.
24169 * elf/ldconfig.c: Likewise.
24170 * elf/ldd.bash.in: Likewise.
24171 * elf/pldd.c: Likewise.
24172 * elf/sotruss.ksh: Likewise.
24173 * elf/sprof.c: Likewise.
24174 * iconv/iconv_prog.c: Likewise.
24175 * iconv/iconvconfig.c: Likewise.
24176 * locale/programs/locale.c: Likewise.
24177 * locale/programs/localedef.c: Likewise.
24178 * login/programs/pt_chown.c: Likewise.
24179 * malloc/memusage.sh: Likewise.
24180 * malloc/memusagestat.c: Likewise.
24181 * malloc/mtrace.pl: Likewise.
24182 * nscd/nscd.c: Likewise.
24183 * nss/getent.c: Likewise.
24184 * nss/makedb.c: Likewise.
24185 * posix/getconf.c: Likewise.
24187 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24189 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
24192 2012-12-30 Mike Frysinger <vapier@gentoo.org>
24194 * math/bits/mathcalls.h (modf): Use __nonnull.
24196 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24198 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
24199 (split): Use macro CN instead of the bare value.
24200 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
24202 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
24203 instead of the bare value.
24204 (power1): Likewise.
24206 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24208 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
24210 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24212 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
24214 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24215 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24216 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
24217 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24219 2012-12-28 Andreas Jaeger <aj@suse.de>
24221 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
24222 values are from Linux 3.7.
24224 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
24225 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
24227 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24229 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
24232 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
24234 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
24235 variables with preprocessor constants.
24236 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24237 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24238 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24240 2012-12-27 Bruno Haible <bruno@clisp.org>
24243 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
24246 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24248 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
24249 and use variable directly.
24250 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
24252 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24254 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
24255 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24257 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24258 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24259 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
24260 include directive. Remove local variable MPONE.
24261 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
24262 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
24263 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24265 2012-12-25 David S. Miller <davem@davemloft.net>
24267 * version.h (RELEASE): Set to "development".
24268 (VERSION): Set to "2.17.90".
24269 * NEWS: Add 2.18 section.
24271 2012-12-21 David S. Miller <davem@davemloft.net>
24273 * po/hr.po: Update from translation team.
24275 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24277 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
24279 2012-12-19 Steve Ellcey <sellcey@mips.com>
24281 * NEWS: Mention new memcpy for MIPS.
24283 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24285 * manual/contrib.texi (Contributors): Spelling correction.
24287 2012-12-15 David S. Miller <davem@davemloft.net>
24289 * po/ru.po: Update from translation team.
24291 2012-12-13 David S. Miller <davem@davemloft.net>
24293 * NEWS: Mention IFUNC testsuite enhancements.
24295 * po/pl.po: Update from translation team.
24296 * po/bg.po: Likewise.
24298 * manual/contrib.texi (Contributors): Update entries for Hongjiu
24299 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
24301 2012-12-11 David S. Miller <davem@davemloft.net>
24303 * po/sv.po: Update from translation team.
24305 * po/vi.po: Update from translation team.
24307 * po/cs.po: Update from translation team.
24309 * po/de.po: Update from translation team.
24310 * po/eo.po: Likewise.
24311 * po/nl.po: Likewise.
24313 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24316 * manual/argp.texi (Argp Helper Functions): Move node to follow
24317 Argp Parsing State.
24320 * manual/conf.texi (Limits on File System Capacity): Mention if
24321 terminating null is included in the max size.
24323 2012-12-10 Andreas Jaeger <aj@suse.de>
24325 * po/cs.po: Update from translation team.
24327 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24329 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
24330 void pointer and cast to uintptr_t.
24331 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
24333 * sysdeps/s390/s390-64/memcpy.S: Likewise.
24334 * sysdeps/s390/s390-64/memset.S: Likewise.
24336 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
24339 * menual/message.texi (Message Translation): Fix typos.
24340 (Helper programs for gettext): Likewise.
24342 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
24345 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
24348 2012-12-07 David S. Miller <davem@davemloft.net>
24350 * po/libc.pot: Update.
24352 2012-12-07 Richard Henderson <rth@redhat.com>
24355 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
24356 normal/normal case to before the switch.
24357 (_FP_DIV): Likewise.
24359 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
24360 Mike Frysinger <vapier@gentoo.org>
24362 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
24363 check for __NR_fadvise64_64.
24365 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
24367 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
24368 0, not just to plain "0" as a statement.
24369 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
24372 2012-12-06 Joseph Myers <joseph@codesourcery.com>
24374 * NEWS: Use sourceware.org in Bugzilla URL.
24376 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24379 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24381 * stdio-common/tst-put-error.c (do_test): Add newline to the
24382 padded test to ensure flush.
24384 2012-12-05 Jeff Law <law@redhat.com>
24386 * sunrpc/etc.rpc (fedfs_admin): Add entry.
24388 2012-12-05 Joseph Myers <joseph@codesourcery.com>
24390 * README: Don't refer to ports add-on as distributed separately.
24391 Mention AArch64 in list of systems supported in the ports add-on.
24393 * LICENSES: Add more non-FSF copyright and license notices.
24395 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
24398 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
24400 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
24401 10000 as width of padded output.
24403 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24405 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
24407 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
24408 variable LX with __attribute__ ((unused)).
24409 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24411 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24412 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24413 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
24414 with __attribute__ ((unused)).
24416 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
24418 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
24420 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24422 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
24423 (CFLAGS-nldbl-acos.c): New variable.
24424 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
24425 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
24426 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
24427 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
24428 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
24429 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
24430 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
24431 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
24432 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
24433 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
24434 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
24435 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
24436 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
24437 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
24438 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
24439 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
24440 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
24441 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
24442 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
24443 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
24444 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
24445 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
24446 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
24447 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
24448 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
24449 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
24450 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
24451 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
24452 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
24453 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
24454 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
24455 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
24456 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
24457 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
24458 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
24459 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
24460 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
24461 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
24462 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
24463 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
24464 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
24465 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
24466 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
24467 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
24468 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
24469 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
24470 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
24471 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
24472 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
24473 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
24474 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
24475 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
24476 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
24477 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
24478 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
24479 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
24480 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
24481 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
24482 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
24483 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
24484 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
24485 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
24486 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
24487 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
24488 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
24489 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
24490 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
24491 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
24492 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
24493 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
24494 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
24495 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
24496 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
24497 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
24498 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
24499 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
24500 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
24501 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
24502 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
24503 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
24504 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
24505 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
24506 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
24507 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
24508 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
24509 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
24510 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
24511 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
24512 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
24513 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
24514 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
24515 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
24516 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
24517 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
24518 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
24519 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
24520 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
24522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24523 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24526 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
24527 whole low double instead of just low 47 bits when splitting values
24530 2012-12-03 Allan McRae <allan@archlinux.org>
24532 * manual/stdio.texi (Predefined Printf Handlers): Remove
24533 @hsep and @vsep usage.
24535 2012-12-03 Mike Frysinger <vapier@gentoo.org>
24537 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
24538 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
24540 2012-12-03 Jeff Law <law@redhat.com>
24542 * time/sys/time.h (settimeofday): Do not mark TV argument
24545 2012-12-01 Mike Frysinger <vapier@gentoo.org>
24547 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
24548 when currently writing and seek to current position when not.
24549 * libio/Makefile (tests): Remove bug-fclose1.
24550 * libio/bug-fclose1.c: Delete.
24552 2012-12-01 Joseph Myers <joseph@codesourcery.com>
24554 * manual/arith.texi (feenableexcept): Fix typo.
24555 (fedisableexcept): Likewise.
24557 2012-11-30 Roland McGrath <roland@hack.frob.com>
24559 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
24560 second, differently-typed declaration, rather than a cast.
24562 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24564 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
24565 * include/rpc/svc.h: ... here.
24567 2012-11-30 Aurelien Jarno <aurel32@debian.org>
24570 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
24571 depending n and resplen2 to catch cases where answer
24574 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
24576 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
24577 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
24579 2012-11-29 Mike Frysinger <vapier@gentoo.org>
24581 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
24583 2012-11-29 Roland McGrath <roland@hack.frob.com>
24585 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
24587 2012-11-28 Jeff Law <law@redhat.com>
24590 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
24591 dataset_temporary. Track alloca usage into alloca_used.
24592 If dataset is large allocate and release it via malloc/free.
24594 2012-06-04 Florian Weimer <fweimer@redhat.com>
24597 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
24599 2012-11-28 David S. Miller <davem@davemloft.net>
24601 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24603 2012-11-28 Joseph Myers <joseph@codesourcery.com>
24606 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
24607 of pi/2 rounded to nearest to 64 bits.
24608 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
24609 nearest to 64 bits.
24610 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
24613 2012-11-28 Jeff Law <law@redhat.com>
24614 Martin Osvald <mosvald@redhat.com>
24617 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
24618 * sunrpc/svc.c: Include time.h.
24619 (__svc_accept_failed): New function.
24620 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
24621 any reason other than EINTR, call __svc_accept_failed.
24622 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
24623 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
24625 2012-11-28 Andreas Schwab <schwab@suse.de>
24627 * scripts/abilist.awk: Also handle indirect functions in .opd
24630 2012-11-28 Joseph Myers <joseph@codesourcery.com>
24633 * sysdeps/x86/fpu/powl_helper.c: New file.
24634 * sysdeps/x86/fpu/Makefile: Likewise.
24635 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
24637 (__ieee754_powl): Use __powl_helper for finite arguments except
24638 integer exponents below 8.
24639 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
24641 (__ieee754_powl): Use __powl_helper for finite arguments except
24642 integer exponents below 8.
24643 * math/libm-test.inc (pow_test): Add more tests and enable some
24644 previously disabled tests.
24645 * sysdeps/i386/fpu/libm-test-ulps: Update.
24646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24648 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24649 Carlos O'Donell <carlos_odonell@mentor.com>
24651 * nss/makedb.c (is_prime): Assert that input is odd and greater
24652 than 4. Note that fact in a comment too.
24653 (next_prime): Add 4 to input.
24655 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24658 * libio/Makefile (tests): Add test case tst-fwrite-error.
24659 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
24660 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
24661 * libio/tst-fwrite-error.c: New test case.
24663 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
24665 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
24666 before casting to void *.
24667 * include/libc-internal.h (__pointer_type): New macro.
24668 (__integer_if_pointer_type_sub): Likewise.
24669 (__integer_if_pointer_type): Likewise.
24670 (cast_to_integer): Likewise.
24671 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
24672 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
24673 before casting to atomic64_t.
24674 (atomic_exchange_acq): Likewise.
24675 (__arch_exchange_and_add_body): Likewise.
24676 (__arch_add_body): Likewise.
24677 (atomic_add_negative): Likewise.
24678 (atomic_add_zero): Likewise.
24680 2012-11-26 Joseph Myers <joseph@codesourcery.com>
24682 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
24683 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
24684 (add_fdes): Likewise.
24685 (linear_search_fdes): Likewise.
24686 (binary_search_unencoded_fdes): Likewise.
24688 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
24690 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
24692 2012-11-24 Adam Conrad <adconrad@0c3.net>
24694 * configure.in: Autodetect C++ header directories.
24695 * configure: Regenerated.
24697 2012-11-23 Mike Frysinger <vapier@gentoo.org>
24699 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
24701 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
24703 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24705 2012-11-22 Joseph Myers <joseph@codesourcery.com>
24707 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
24708 LDBL_MANT_DIG == 106]: Disable some tests.
24709 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24711 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24715 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
24716 input for small inputs. Return +/- pi/2 for large inputs.
24717 * math/libm-test.inc (atan_test): Add more tests.
24719 * sysdeps/generic/unwind-dw2-fde-glibc.c
24720 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
24721 __attribute__ ((unused)).
24724 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
24725 x * y if x and y are nonzero and z is zero.
24728 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
24729 nonzero exponents with absolute value below 0x1p-117 to +/-
24733 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
24734 up arguments below 2**-450, not just those below 2**-500.
24735 * math/libm-test.inc (hypot_test): Add another test.
24738 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
24739 Return a+b for ratio over 2**120, not 2**60.
24740 * math/libm-test.inc (hypot_test): Add another test.
24742 * math/libm-test.inc (clog_test): Use
24743 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
24744 (clog10_test): Likewise.
24747 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
24749 2012-11-22 Andreas Schwab <schwab@suse.de>
24751 * sysdeps/i386/fpu/libm-test-ulps: Update.
24753 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
24755 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
24756 printf output with newline.
24758 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
24761 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
24762 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
24763 -z nodlopen, -z initfirst and -z execstack support.
24764 * configure: Regenerated.
24766 * elf/elf.h (DF_1_NODIRECT): New macro.
24767 (DF_1_IGNMULDEF): Likewise.
24768 (DF_1_NOKSYMS): Likewise.
24769 (DF_1_NOHDR): Likewise.
24770 (DF_1_EDITED): Likewise.
24771 (DF_1_NORELOC): Likewise.
24772 (DF_1_SYMINTPOSE): Likewise.
24773 (DF_1_GLOBAUDIT): Likewise.
24774 (DF_1_SINGLETON): Likewise.
24775 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
24776 DT_1_SUPPORTED_MASK bits.
24777 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
24779 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
24781 * sysdeps/unix/make-syscalls.sh: Document prefixes.
24783 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
24785 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
24788 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
24789 (sendmmsg): Move declarations...
24790 * socket/sys/socket.h: ... here.
24791 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
24792 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
24794 * socket/recvmmsg.c: ... this new file.
24795 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
24796 (sendmmsg): Rename to __sendmmsg, create weak alias and make
24797 definition of __sendmmsg hidden.
24798 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
24799 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
24800 Move ENOSYS stub into and include it from...
24801 * socket/sendmmsg.c: ... this new file.
24802 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
24803 (sysdep_routines): Move recvmmsg and sendmmsg...
24804 * socket/Makefile (routines): ... here.
24805 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
24806 (GLIBC_PRIVATE): Add __sendmmsg.
24807 * include/sys/socket.h (__sendmmsg): Add declarations.
24808 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
24811 2012-11-20 Joseph Myers <joseph@codesourcery.com>
24813 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
24814 variable I1 with __attribute__ ((unused)).
24815 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24817 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24819 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
24820 DUMMY variables with __attribute__ ((unused)).
24822 * bits/byteswap.h: Include <bits/types.h>.
24823 (__bswap_64): Use __uint64_t instead of unsigned long long int.
24825 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24827 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
24828 string_t. Do not manually set errno.
24829 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
24830 length with __strnlen. Make sure to both set errno and return it on
24833 2012-11-19 David S. Miller <davem@davemloft.net>
24835 With help from Joseph Myers.
24836 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
24837 very large arguments properly.
24838 * math/libm-test.inc (atan_test): New tests.
24839 (atan2_test): New tests.
24840 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24841 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24843 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24846 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
24849 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
24850 [POSIX] (EADDRNOTAVAIL): Likewise.
24851 [POSIX] (EAFNOSUPPORT): Likewise.
24852 [POSIX] (EALREADY): Likewise.
24853 [POSIX] (ECONNABORTED): Likewise.
24854 [POSIX] (ECONNREFUSED): Likewise.
24855 [POSIX] (ECONNRESET): Likewise.
24856 [POSIX] (EDESTADDRREQ): Likewise.
24857 [POSIX] (EDQUOT): Likewise.
24858 [POSIX] (EHOSTUNREACH): Likewise.
24859 [POSIX] (EIDRM): Likewise.
24860 [POSIX] (EISCONN): Likewise.
24861 [POSIX] (ELOOP): Likewise.
24862 [POSIX] (EMULTIHOP): Likewise.
24863 [POSIX] (ENETDOWN): Likewise.
24864 [POSIX] (ENETUNREACH): Likewise.
24865 [POSIX] (ENOBUFS): Likewise.
24866 [POSIX] (ENODATA): Likewise.
24867 [POSIX] (ENOLINK): Likewise.
24868 [POSIX] (ENOMSG): Likewise.
24869 [POSIX] (ENOPROTOOPT): Likewise.
24870 [POSIX] (ENOSR): Likewise.
24871 [POSIX] (ENOSTR): Likewise.
24872 [POSIX] (ENOTCONN): Likewise.
24873 [POSIX] (ENOTSOCK): Likewise.
24874 [POSIX] (EOPNOTSUPP): Likewise.
24875 [POSIX] (EOVERFLOW): Likewise.
24876 [POSIX] (EPROTO): Likewise.
24877 [POSIX] (EPROTONOSUPPORT): Likewise.
24878 [POSIX] (EPROTOTYPE): Likewise.
24879 [POSIX] (ESTALE): Likewise.
24880 [POSIX] (ETIME): Likewise.
24881 [POSIX] (ETXTBSY): Likewise.
24882 [POSIX] (EWOULDBLOCK): Likewise.
24883 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
24884 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
24885 [POSIX] (SEEK_CUR): Likewise.
24886 [POSIX] (SEEK_END): Likewise.
24887 [POSIX || UNIX98] (mode_t): Do not require.
24888 [POSIX] (off_t): Likewise.
24889 [POSIX] (pid_t): Likewise.
24890 [POSIX] (sys/stat.h): Do not allow header.
24891 [POSIX] (unistd.h): Likewise.
24892 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
24893 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
24894 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
24895 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
24897 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
24898 sigevent): Specify elements.
24899 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
24901 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
24902 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
24904 * conform/data/cpio.h-data [POSIX]: Disable whole file.
24905 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
24906 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
24907 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
24908 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
24909 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
24910 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
24911 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
24912 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
24913 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
24914 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
24915 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
24916 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
24917 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
24919 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
24921 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
24923 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
24925 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
24926 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
24927 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
24928 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
24929 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
24930 Specify lower bound on value.
24931 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
24932 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
24933 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
24934 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
24935 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
24936 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
24937 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
24938 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
24940 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
24942 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
24943 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
24944 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
24945 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
24946 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
24947 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
24948 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
24949 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
24950 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
24951 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
24952 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
24953 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
24954 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
24955 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
24956 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
24957 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
24959 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
24961 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
24962 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
24963 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
24964 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
24965 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
24966 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
24968 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
24969 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
24970 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
24971 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
24972 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
24973 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
24974 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
24976 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
24977 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
24978 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
24979 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
24980 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
24981 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
24982 specify as optional.
24983 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
24984 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
24985 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
24986 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
24987 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
24988 [XPG3] (NL_LANGMAX): Likewise.
24989 [POSIX || XPG3] (NL_MSGMAX): Likewise.
24990 [POSIX || XPG3] (NL_NMAX): Likewise.
24991 [POSIX || XPG3] (NL_SETMAX): Likewise.
24992 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
24993 [XPG3] (NZERO): Likewise.
24994 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
24995 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
24996 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
24997 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
24998 (REG_ERANGE): Expect.
24999 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25001 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25002 Use (void) in prototype.
25003 [POSIX] (*_t): Allow.
25004 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25005 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25006 (WRDE_BADVAL): Expect.
25008 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25010 [XPG3 || XPG4] (O_RSYNC): Likewise.
25011 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25013 [XPG3 || XPG4] (pthread_sigmask): Likewise.
25014 [XPG3 || XPG4] (sigqueue): Likewise.
25015 [XPG3 || XPG4] (sigtimedwait): Likewise.
25016 [XPG3 || XPG4] (sigwaitinfo): Likewise.
25017 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25018 [XPG3 || XPG4] (vsnprintf): Likewise.
25019 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25021 [XPG3 || XPG4] (blksize_t): Likewise.
25022 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25024 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25025 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25026 [XPG3 || XPG4] (struct itimerspec): Likewise.
25027 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25028 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25029 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25030 [XPG3 || XPG4] (clockid_t): Likewise.
25031 [XPG3 || XPG4] (timer_t): Likewise.
25032 [XPG3 || XPG4] (clock_getres): Likewise.
25033 [XPG3 || XPG4] (clock_gettime): Likewise.
25034 [XPG3 || XPG4] (clock_settime): Likewise.
25035 [XPG3 || XPG4] (nanosleep): Likewise.
25036 [XPG3 || XPG4] (timer_create): Likewise.
25037 [XPG3 || XPG4] (timer_delete): Likewise.
25038 [XPG3 || XPG4] (timer_gettime): Likewise.
25039 [XPG3 || XPG4] (timer_getoverrun): Likewise.
25040 [XPG3 || XPG4] (timer_settime): Likewise.
25041 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25042 [XPG3 || XPG4] (getlogin_r): Likewise.
25043 [XPG3 || XPG4] (pread): Likewise.
25044 [XPG3 || XPG4] (pthread_atfork): Likewise.
25045 [XPG3 || XPG4] (pwrite): Likewise.
25048 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25051 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25053 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25054 finalizing MALLSTREAM.
25056 * sysdeps/mach/hurd/syncfs.c: New file.
25058 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25061 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25062 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25063 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25064 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25065 (_nss_dns_gethostbyname4_r): Likewise.
25066 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25067 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25069 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
25072 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25074 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
25076 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25077 * elf/cache.c (print_entry): Print ",AArch64" for
25080 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25081 * elf/cache.c (print_entry): Print ",hard-float" for
25084 2012-11-18 David S. Miller <davem@davemloft.net>
25086 With help from Joseph Myers.
25087 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25089 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25091 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25092 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25094 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25095 * math/libm-test.inc (y0_test): New tests.
25096 (y1_test): New tests.
25097 * sysdeps/i386/fpu/libm-test-ulps: Update.
25098 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25099 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25101 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
25103 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
25105 * configure: Regenerated.
25107 2012-11-17 David S. Miller <davem@davemloft.net>
25110 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
25111 nonzero exponents with absolute value below 0x1p-128 to +/-
25114 2012-11-17 Joseph Myers <joseph@codesourcery.com>
25116 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
25118 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
25120 * posix/getconf-speclist.c: New file.
25121 * posix/posix-envs.def: Likewise.
25122 * posix/confstr.c (START_ENV_GROUP): New macro.
25123 (END_ENV_GROUP): Likewise.
25124 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25125 (KNOWN_PRESENT_ENV_STRING): Likewise.
25126 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25127 (UNKNOWN_ENVIRONMENT): Likewise.
25128 (confstr): Include posix-envs.def instead of handling
25129 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
25130 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
25131 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
25132 (END_ENV_GROUP): Likewise.
25133 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25134 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25135 (UNKNOWN_ENVIRONMENT): Likewise.
25136 (__sysconf): Include posix-envs.def instead of handling associated
25137 cases directly here.
25138 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
25139 preprocessing getconf-speclist.c rather than running getconf or
25140 generating empty file.
25142 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
25144 * scripts/check-local-headers.sh: Ignore 'mach' headers.
25146 2012-11-16 Andrej Lajovic <natrij@gmail.com>
25149 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
25151 2012-11-16 David S. Miller <davem@davemloft.net>
25153 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
25154 smaller than LDBL_EPSILON/2.0L, just return xm1.
25156 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
25158 * elf/tst-array1.c (init): Set constructor priority to 1000.
25159 (fini): Set destructor priority to 1000.
25160 * elf/tst-array2dep.c: Likewise.
25162 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25165 * libio/fileops.c (_IO_new_file_write): Correctly return error.
25166 (_IO_new_file_xsputn): Also return EOF if none of the input
25167 data was written when overflow failed.
25168 * libio/iopadn.c (_IO_padn): Likewise.
25169 * libio/iowpadn.c (_IO_wpadn): Likewise.
25170 * stdio-common/tst-put-error.c: Add copyright notice.
25171 (do_test): Add case for printing padded string.
25172 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
25173 _IO_padn returned error.
25174 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
25175 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
25178 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25180 * libio/libioP.h: Add comment note that the references to C++
25181 bits are now obsolete.
25183 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25185 * math/libm-test.inc (check_complex): Use asprintf.
25187 2012-11-14 Joseph Myers <joseph@codesourcery.com>
25189 * debug/pcprofiledump.c (print_version): Update copyright year.
25190 * malloc/memusagestat.c (print_version): Likewise.
25192 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
25195 * elf/Makefile (tests): Add tst-audit8.
25196 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
25197 ($(objpfx)tst-audit8.out): New target.
25198 (tst-audit8-ENV): New variable.
25199 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
25200 audit if l_reloc_result is NULL.
25201 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
25202 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
25203 * elf/tst-audit8.c: New file.
25205 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25207 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
25208 * misc/Makefile (CFLAGS-select.c): Define.
25209 * posix/Makefile (CFLAGS-pause.c): Define.
25211 2012-11-13 David S. Miller <davem@davemloft.net>
25213 * crypt/Makefile: Move test targets after toplevel Rules
25214 inclusion. Grab any necessary sysdep routines when linking.
25215 * crypt/md5.c (md5_process_block): Remove define, we will always
25216 name it __md5_process_block.
25217 (md5_finish_ctx): Update md5_process_block call.
25218 (md5_stream): Likewise.
25219 (md5_process_bytes): Likewise.
25220 (md5_process_block): Rename to __md5_process_block and move to ...
25221 * crypt/md5-block.c: ... here.
25222 * crypt/sha256.c (sha256_process_block): Move to ...
25223 * crypt/sha256-block.c: ... here.
25224 * crypt/sha512.c (sha512_process_block): Move to ...
25225 * crypt/sha512-block.c: ... here.
25226 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
25228 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
25229 * sysdeps/sparc/sparc64/multiarch/Makefile
25230 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
25232 (localedef-aux): Add md5 crypto assembler when in locale subdir.
25233 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
25235 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
25236 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
25237 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
25238 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
25239 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
25240 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
25241 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
25242 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
25243 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
25245 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
25246 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
25248 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
25250 2012-11-13 Joseph Myers <joseph@codesourcery.com>
25252 * timezone/tzselect.ksh: Update from tzcode git revision
25253 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
25254 * timezone/zdump.c: Likewise.
25255 * timezone/zic.c: Likewise.
25256 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
25257 in TZVERSION setting, not $(PKGVERSION).
25258 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
25259 REPORT_BUGS_TO settings.
25262 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
25265 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25267 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
25268 detection to immediately after _FP_ROUND().
25269 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
25272 2012-11-11 David S. Miller <davem@davemloft.net>
25274 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
25276 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
25277 __close rather than their public counterparts.
25279 2012-11-10 Joseph Myers <joseph@codesourcery.com>
25281 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
25283 [UNIX98] (sem_timedwait): Do not expect.
25284 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
25285 [XPG4 || UNIX98] (sockatmark): Do not expect.
25286 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
25287 (clock_getcpuclockid): Do not expect.
25288 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
25289 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
25291 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
25292 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
25293 [UNIX98] (vwscanf): Likewise.
25294 [UNIX98] (vswscanf): Likewise.
25296 2012-11-09 Joseph Myers <joseph@codesourcery.com>
25298 * timezone/version.h: Remove file.
25299 * timezone/README: Do not refer to version.h.
25300 * timezone/Makefile ($(objpfx)zic.o): New dependency on
25301 $(objpfx)version.h.
25302 ($(objpfx)zdump.o): Likewise.
25303 ($(objpfx)version.h): New target.
25305 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
25307 * timezone/README: Don't mention modification to tzselect.ksh.
25308 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
25309 work on unmodified tzselect.ksh. Substitute version numbers in
25312 * Makefile (format-me): Remove.
25313 (INSTALL): Adjust indentation. Use commands directly instead of
25314 using $(format-me).
25316 * aclocal.m4 (ACX_PKGVERSION): New macro.
25317 (ACX_BUGURL): Likewise.
25318 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
25319 (PKGVERSION): New AC_DEFINE_UNQUOTED.
25320 (REPORT_BUGS_TO): Likewise.
25321 * configure: Regenerated.
25322 * config.h.in (PKGVERSION): New macro.
25323 (REPORT_BUGS_TO): Likewise.
25324 * config.make.in (PKGVERSION): New variable.
25325 (PKGVERSION_TEXI): Likewise.
25326 (REPORT_BUGS_TO): Likewise.
25327 (REPORT_BUGS_TEXI): Likewise.
25328 * Makefile (format-me): Use -I$(common-objpfx)manual.
25329 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
25330 ($(common-objpfx)manual/%): New target.
25331 (manual/%): Remove target.
25332 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
25333 (print_version): Use PKGVERSION.
25334 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
25335 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
25336 and REPORT_BUGS_TO.
25337 ($(objpfx)xtrace): Likewise.
25338 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
25339 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
25340 (print_version): Use PKGVERSION.
25341 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
25342 (do_version): Use PKGVERSION.
25343 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
25345 (common-ldd-rewrite): Likewise.
25346 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
25347 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
25348 (print_version): Use PKGVERSION.
25349 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
25350 * elf/pldd.c (argp_program_bug_address): Remove variable.
25351 (more_help): New function.
25352 (argp): Use more_help.
25353 (print_version): Use PKGVERSION.
25354 * elf/sln.c (main): Use PKGVERSION.
25355 (usage): Use REPORT_BUGS_TO.
25356 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
25357 (top level): Use PKGVERSION.
25358 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
25359 (print_version): Use PKGVERSION.
25360 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
25361 (print_version): Use PKGVERSION.
25362 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
25363 (print_version): Use PKGVERSION.
25364 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
25365 (print_version): Use PKGVERSION.
25366 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
25367 (print_version): Use PKGVERSION.
25368 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
25369 (print_version): Use PKGVERSION.
25370 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
25372 ($(objpfx)memusage): Likewise.
25373 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
25374 (do_version): Use PKGVERSION.
25375 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
25376 (print_version): Use PKGVERSION.
25377 * malloc/mtrace.pl ($PACKAGE): Remove variable.
25378 ($PKGVERSION): New variable.
25379 ($REPORT_BUGS_TO): Likewise.
25380 (usage): Use $REPORT_BUGS_TO.
25381 (top level): Use $PKGVERSION.
25382 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
25383 ($(objpfx)pkgvers.texi): New rule.
25384 ($(objpfx)stamp-pkgvers): Likewise.
25385 * manual/install.texi: Include pkgvers.texi.
25386 (--with-pkgversion): Document new configure option.
25387 (--with-bugurl): Likewise.
25388 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
25389 than necessarily for this particular distribution. Use
25390 REPORT_BUGS_TO for where to report bugs.
25391 * INSTALL: Regenerated.
25392 * manual/libc.texinfo: Include pkgvers.texi.
25393 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
25394 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
25395 (print_version): Use PKGVERSION.
25396 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
25397 (print_version): Use PKGVERSION.
25398 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
25399 (print_version): Use PKGVERSION.
25400 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
25401 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
25403 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
25404 (print_version): Use PKGVERSION.
25405 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
25406 (print_version): Use PKGVERSION.
25407 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
25410 * timezone/checktab.awk: Update from tzcode 2012i.
25411 * timezone/ialloc.c: Likewise.
25412 * timezone/private.h: Likewise.
25413 * timezone/scheck.c: Likewise.
25414 * timezone/tzfile.h: Likewise.
25415 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
25416 (TZVERSION): Hardcode tzcode version number.
25417 * timezone/zdump.c: Update from tzcode 2012i.
25418 * timezone/zic.c: Likewise.
25419 * timezone/version.h: New file.
25420 * timezone/README: Describe version.h. Update upstream location.
25423 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
25424 (mktemp): Enable declaration.
25425 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
25426 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
25427 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
25428 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
25430 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
25432 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
25434 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
25436 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
25438 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
25442 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
25443 offset in buffer as u_int32_t not u_long. Consistently use memcpy
25444 for copies of such integer values.
25445 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25446 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25448 2012-11-09 Andreas Jaeger <aj@suse.de>
25450 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
25451 definitions and declarations that are provided by
25452 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25454 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25456 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
25457 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
25458 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
25461 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25463 * elf/elf.h: Update comment before AArch64 relocations.
25465 2012-11-07 David S. Miller <davem@davemloft.net>
25467 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
25468 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25469 (__start_context): Declare.
25470 (__makecontext_ret): Delete.
25471 (__makecontext): Hook up __start_context instead of
25473 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
25474 (sysdep_routines): Add __start_context when in stdlib.
25476 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25478 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
25479 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
25480 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
25482 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
25483 (READELF): New variable. Use it instead of hardcoded "readelf".
25485 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
25487 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
25488 * sysdeps/x86/Makefile: Here.
25489 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
25490 * sysdeps/x86/tst-xmmymm.sh: This.
25492 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25494 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
25496 [UNIX98] (pthread_barrier_t): Do not expect.
25497 [UNIX98] (pthread_barrierattr_t): Likewise.
25498 [UNIX98] (pthread_spinlock_t): Likewise.
25499 [UNIX98] (pthread_barrier_destroy): Likewise.
25500 [UNIX98] (pthread_barrier_init): Likewise.
25501 [UNIX98] (pthread_barrier_wait): Likewise.
25502 [UNIX98] (pthread_barrierattr_destroy): Likewise.
25503 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
25504 [UNIX98] (pthread_barrierattr_init): Likewise.
25505 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
25506 [UNIX98] (pthread_getcpuclockid): Likewise.
25507 [UNIX98] (pthread_mutex_timedlock): Likewise.
25508 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
25509 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
25510 [UNIX98] (pthread_sigmask): Likewise.
25511 [UNIX98] (pthread_spin_destroy): Likewise.
25512 [UNIX98] (pthread_spin_init): Likewise.
25513 [UNIX98] (pthread_spin_lock): Likewise.
25514 [UNIX98] (pthread_spin_trylock): Likewise.
25515 [UNIX98] (pthread_spin_unlock): Likewise.
25516 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
25518 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
25519 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
25520 [XPG3 || XPG4] (pthread_cond_t): Likewise.
25521 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
25522 [XPG3 || XPG4] (pthread_key_t): Likewise.
25523 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
25524 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
25525 [XPG3 || XPG4] (pthread_once_t): Likewise.
25526 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
25527 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
25528 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
25529 [XPG3 || XPG4] (pthread_t): Likewise.
25531 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
25533 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
25535 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
25536 Change function return type to int.
25538 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
25539 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
25540 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
25541 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
25542 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
25543 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
25544 [!POSIX] (posix_madvise): Likewise.
25545 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
25547 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
25548 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
25549 (mode_t): Likewise.
25550 (posix_mem_offset): Likewise.
25551 (posix_typed_mem_get_info): Likewise.
25552 (posix_typed_mem_open): Likewise.
25554 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
25555 Change condition to [XOPEN2K8].
25557 * conform/conformtest.pl: Preprocess allow-header data with -x c
25558 instead of from stdin.
25559 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
25560 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
25561 [C99-based standards] (cerfc): Likewise.
25562 [C99-based standards] (cexp2): Likewise.
25563 [C99-based standards] (cexpm1): Likewise.
25564 [C99-based standards] (clog10): Likewise.
25565 [C99-based standards] (clog1p): Likewise.
25566 [C99-based standards] (clog2): Likewise.
25567 [C99-based standards] (clgamma): Likewise.
25568 [C99-based standards] (ctgamma): Likewise.
25569 [C99-based standards] (cerff): Likewise.
25570 [C99-based standards] (cerfcf): Likewise.
25571 [C99-based standards] (cexp2f): Likewise.
25572 [C99-based standards] (cexpm1f): Likewise.
25573 [C99-based standards] (clog10f): Likewise.
25574 [C99-based standards] (clog1pf): Likewise.
25575 [C99-based standards] (clog2f): Likewise.
25576 [C99-based standards] (clgammaf): Likewise.
25577 [C99-based standards] (ctgammaf): Likewise.
25578 [C99-based standards] (cerfl): Likewise.
25579 [C99-based standards] (cerfcl): Likewise.
25580 [C99-based standards] (cexp2l): Likewise.
25581 [C99-based standards] (cexpm1l): Likewise.
25582 [C99-based standards] (clog10l): Likewise.
25583 [C99-based standards] (clog1pl): Likewise.
25584 [C99-based standards] (clog2l): Likewise.
25585 [C99-based standards] (clgammal): Likewise.
25586 [C99-based standards] (ctgammal): Likewise.
25587 * conform/data/inttypes.h-data [C99-based standards]: Include
25588 stdint.h-data. Remove all expectations for stdint.h contents.
25589 [C99-based standards] (PRI*): Do not allow.
25590 [C99-based standards] (SCN*): Likewise.
25591 [C99-based standards] (*_t): Likewise.
25592 [C99-based-standards] (PRId8): Expect macro.
25593 [C99-based-standards] (PRIi8): Likewise.
25594 [C99-based-standards] (PRIo8): Likewise.
25595 [C99-based-standards] (PRIu8): Likewise.
25596 [C99-based-standards] (PRIx8): Likewise.
25597 [C99-based-standards] (PRIX8): Likewise.
25598 [C99-based-standards] (SCNd8): Likewise.
25599 [C99-based-standards] (SCNi8): Likewise.
25600 [C99-based-standards] (SCNo8): Likewise.
25601 [C99-based-standards] (SCNu8): Likewise.
25602 [C99-based-standards] (SCNx8): Likewise.
25603 [C99-based-standards] (PRIdLEAST8): Likewise.
25604 [C99-based-standards] (PRIiLEAST8): Likewise.
25605 [C99-based-standards] (PRIoLEAST8): Likewise.
25606 [C99-based-standards] (PRIuLEAST8): Likewise.
25607 [C99-based-standards] (PRIxLEAST8): Likewise.
25608 [C99-based-standards] (PRIXLEAST8): Likewise.
25609 [C99-based-standards] (SCNdLEAST8): Likewise.
25610 [C99-based-standards] (SCNiLEAST8): Likewise.
25611 [C99-based-standards] (SCNoLEAST8): Likewise.
25612 [C99-based-standards] (SCNuLEAST8): Likewise.
25613 [C99-based-standards] (SCNxLEAST8): Likewise.
25614 [C99-based-standards] (PRIdFAST8): Likewise.
25615 [C99-based-standards] (PRIiFAST8): Likewise.
25616 [C99-based-standards] (PRIoFAST8): Likewise.
25617 [C99-based-standards] (PRIuFAST8): Likewise.
25618 [C99-based-standards] (PRIxFAST8): Likewise.
25619 [C99-based-standards] (PRIXFAST8): Likewise.
25620 [C99-based-standards] (SCNdFAST8): Likewise.
25621 [C99-based-standards] (SCNiFAST8): Likewise.
25622 [C99-based-standards] (SCNoFAST8): Likewise.
25623 [C99-based-standards] (SCNuFAST8): Likewise.
25624 [C99-based-standards] (SCNxFAST8): Likewise.
25625 [C99-based-standards] (PRId16): Likewise.
25626 [C99-based-standards] (PRIi16): Likewise.
25627 [C99-based-standards] (PRIo16): Likewise.
25628 [C99-based-standards] (PRIu16): Likewise.
25629 [C99-based-standards] (PRIx16): Likewise.
25630 [C99-based-standards] (PRIX16): Likewise.
25631 [C99-based-standards] (SCNd16): Likewise.
25632 [C99-based-standards] (SCNi16): Likewise.
25633 [C99-based-standards] (SCNo16): Likewise.
25634 [C99-based-standards] (SCNu16): Likewise.
25635 [C99-based-standards] (SCNx16): Likewise.
25636 [C99-based-standards] (PRIdLEAST16): Likewise.
25637 [C99-based-standards] (PRIiLEAST16): Likewise.
25638 [C99-based-standards] (PRIoLEAST16): Likewise.
25639 [C99-based-standards] (PRIuLEAST16): Likewise.
25640 [C99-based-standards] (PRIxLEAST16): Likewise.
25641 [C99-based-standards] (PRIXLEAST16): Likewise.
25642 [C99-based-standards] (SCNdLEAST16): Likewise.
25643 [C99-based-standards] (SCNiLEAST16): Likewise.
25644 [C99-based-standards] (SCNoLEAST16): Likewise.
25645 [C99-based-standards] (SCNuLEAST16): Likewise.
25646 [C99-based-standards] (SCNxLEAST16): Likewise.
25647 [C99-based-standards] (PRIdFAST16): Likewise.
25648 [C99-based-standards] (PRIiFAST16): Likewise.
25649 [C99-based-standards] (PRIoFAST16): Likewise.
25650 [C99-based-standards] (PRIuFAST16): Likewise.
25651 [C99-based-standards] (PRIxFAST16): Likewise.
25652 [C99-based-standards] (PRIXFAST16): Likewise.
25653 [C99-based-standards] (SCNdFAST16): Likewise.
25654 [C99-based-standards] (SCNiFAST16): Likewise.
25655 [C99-based-standards] (SCNoFAST16): Likewise.
25656 [C99-based-standards] (SCNuFAST16): Likewise.
25657 [C99-based-standards] (SCNxFAST16): Likewise.
25658 [C99-based-standards] (PRId32): Likewise.
25659 [C99-based-standards] (PRIi32): Likewise.
25660 [C99-based-standards] (PRIo32): Likewise.
25661 [C99-based-standards] (PRIu32): Likewise.
25662 [C99-based-standards] (PRIx32): Likewise.
25663 [C99-based-standards] (PRIX32): Likewise.
25664 [C99-based-standards] (SCNd32): Likewise.
25665 [C99-based-standards] (SCNi32): Likewise.
25666 [C99-based-standards] (SCNo32): Likewise.
25667 [C99-based-standards] (SCNu32): Likewise.
25668 [C99-based-standards] (SCNx32): Likewise.
25669 [C99-based-standards] (PRIdLEAST32): Likewise.
25670 [C99-based-standards] (PRIiLEAST32): Likewise.
25671 [C99-based-standards] (PRIoLEAST32): Likewise.
25672 [C99-based-standards] (PRIuLEAST32): Likewise.
25673 [C99-based-standards] (PRIxLEAST32): Likewise.
25674 [C99-based-standards] (PRIXLEAST32): Likewise.
25675 [C99-based-standards] (SCNdLEAST32): Likewise.
25676 [C99-based-standards] (SCNiLEAST32): Likewise.
25677 [C99-based-standards] (SCNoLEAST32): Likewise.
25678 [C99-based-standards] (SCNuLEAST32): Likewise.
25679 [C99-based-standards] (SCNxLEAST32): Likewise.
25680 [C99-based-standards] (PRIdFAST32): Likewise.
25681 [C99-based-standards] (PRIiFAST32): Likewise.
25682 [C99-based-standards] (PRIoFAST32): Likewise.
25683 [C99-based-standards] (PRIuFAST32): Likewise.
25684 [C99-based-standards] (PRIxFAST32): Likewise.
25685 [C99-based-standards] (PRIXFAST32): Likewise.
25686 [C99-based-standards] (SCNdFAST32): Likewise.
25687 [C99-based-standards] (SCNiFAST32): Likewise.
25688 [C99-based-standards] (SCNoFAST32): Likewise.
25689 [C99-based-standards] (SCNuFAST32): Likewise.
25690 [C99-based-standards] (SCNxFAST32): Likewise.
25691 [C99-based-standards] (PRId64): Likewise.
25692 [C99-based-standards] (PRIi64): Likewise.
25693 [C99-based-standards] (PRIo64): Likewise.
25694 [C99-based-standards] (PRIu64): Likewise.
25695 [C99-based-standards] (PRIx64): Likewise.
25696 [C99-based-standards] (PRIX64): Likewise.
25697 [C99-based-standards] (SCNd64): Likewise.
25698 [C99-based-standards] (SCNi64): Likewise.
25699 [C99-based-standards] (SCNo64): Likewise.
25700 [C99-based-standards] (SCNu64): Likewise.
25701 [C99-based-standards] (SCNx64): Likewise.
25702 [C99-based-standards] (PRIdLEAST64): Likewise.
25703 [C99-based-standards] (PRIiLEAST64): Likewise.
25704 [C99-based-standards] (PRIoLEAST64): Likewise.
25705 [C99-based-standards] (PRIuLEAST64): Likewise.
25706 [C99-based-standards] (PRIxLEAST64): Likewise.
25707 [C99-based-standards] (PRIXLEAST64): Likewise.
25708 [C99-based-standards] (SCNdLEAST64): Likewise.
25709 [C99-based-standards] (SCNiLEAST64): Likewise.
25710 [C99-based-standards] (SCNoLEAST64): Likewise.
25711 [C99-based-standards] (SCNuLEAST64): Likewise.
25712 [C99-based-standards] (SCNxLEAST64): Likewise.
25713 [C99-based-standards] (PRIdFAST64): Likewise.
25714 [C99-based-standards] (PRIiFAST64): Likewise.
25715 [C99-based-standards] (PRIoFAST64): Likewise.
25716 [C99-based-standards] (PRIuFAST64): Likewise.
25717 [C99-based-standards] (PRIxFAST64): Likewise.
25718 [C99-based-standards] (PRIXFAST64): Likewise.
25719 [C99-based-standards] (SCNdFAST64): Likewise.
25720 [C99-based-standards] (SCNiFAST64): Likewise.
25721 [C99-based-standards] (SCNoFAST64): Likewise.
25722 [C99-based-standards] (SCNuFAST64): Likewise.
25723 [C99-based-standards] (SCNxFAST64): Likewise.
25724 [C99-based-standards] (PRIdMAX): Likewise.
25725 [C99-based-standards] (PRIiMAX): Likewise.
25726 [C99-based-standards] (PRIoMAX): Likewise.
25727 [C99-based-standards] (PRIuMAX): Likewise.
25728 [C99-based-standards] (PRIxMAX): Likewise.
25729 [C99-based-standards] (PRIXMAX): Likewise.
25730 [C99-based-standards] (SCNdMAX): Likewise.
25731 [C99-based-standards] (SCNiMAX): Likewise.
25732 [C99-based-standards] (SCNoMAX): Likewise.
25733 [C99-based-standards] (SCNuMAX): Likewise.
25734 [C99-based-standards] (SCNxMAX): Likewise.
25735 [C99-based-standards] (PRIdPTR): Likewise.
25736 [C99-based-standards] (PRIiPTR): Likewise.
25737 [C99-based-standards] (PRIoPTR): Likewise.
25738 [C99-based-standards] (PRIuPTR): Likewise.
25739 [C99-based-standards] (PRIxPTR): Likewise.
25740 [C99-based-standards] (PRIXPTR): Likewise.
25741 [C99-based-standards] (SCNdPTR): Likewise.
25742 [C99-based-standards] (SCNiPTR): Likewise.
25743 [C99-based-standards] (SCNoPTR): Likewise.
25744 [C99-based-standards] (SCNuPTR): Likewise.
25745 [C99-based-standards] (SCNxPTR): Likewise.
25746 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
25748 * conform/data/stdint.h-data: Update comments to clarify
25750 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
25752 [C99-based standards] (INT8_MAX): Likewise.
25753 [C99-based standards] (INT16_MIN): Likewise.
25754 [C99-based standards] (INT16_MAX): Likewise.
25755 [C99-based standards] (INT32_MIN): Likewise.
25756 [C99-based standards] (INT32_MAX): Likewise.
25757 [C99-based standards] (INT64_MIN): Likewise.
25758 [C99-based standards] (INT64_MAX): Likewise.
25759 [C99-based standards] (UINT8_MAX): Likewise.
25760 [C99-based standards] (UINT16_MAX): Likewise.
25761 [C99-based standards] (UINT32_MAX): Likewise.
25762 [C99-based standards] (UINT64_MAX): Likewise.
25763 [C99-based standards] (INT_LEAST8_MIN): Likewise.
25764 [C99-based standards] (INT_LEAST8_MAX): Likewise.
25765 [C99-based standards] (INT_LEAST16_MIN): Likewise.
25766 [C99-based standards] (INT_LEAST16_MAX): Likewise.
25767 [C99-based standards] (INT_LEAST32_MIN): Likewise.
25768 [C99-based standards] (INT_LEAST32_MAX): Likewise.
25769 [C99-based standards] (INT_LEAST64_MIN): Likewise.
25770 [C99-based standards] (INT_LEAST64_MAX): Likewise.
25771 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
25772 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
25773 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
25774 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
25775 [C99-based standards] (INT_FAST8_MIN): Likewise.
25776 [C99-based standards] (INT_FAST8_MAX): Likewise.
25777 [C99-based standards] (INT_FAST16_MIN): Likewise.
25778 [C99-based standards] (INT_FAST16_MAX): Likewise.
25779 [C99-based standards] (INT_FAST32_MIN): Likewise.
25780 [C99-based standards] (INT_FAST32_MAX): Likewise.
25781 [C99-based standards] (INT_FAST64_MIN): Likewise.
25782 [C99-based standards] (INT_FAST64_MAX): Likewise.
25783 [C99-based standards] (UINT_FAST8_MAX): Likewise.
25784 [C99-based standards] (UINT_FAST16_MAX): Likewise.
25785 [C99-based standards] (UINT_FAST32_MAX): Likewise.
25786 [C99-based standards] (UINT_FAST64_MAX): Likewise.
25787 [C99-based standards] (INTPTR_MIN): Likewise.
25788 [C99-based standards] (INTPTR_MAX): Likewise.
25789 [C99-based standards] (UINTPTR_MAX): Likewise.
25790 [C99-based standards] (INTMAX_MIN): Likewise.
25791 [C99-based standards] (INTMAX_MAX): Likewise.
25792 [C99-based standards] (UINTMAX_MAX): Likewise.
25793 [C99-based standards] (PTRDIFF_MIN): Likewise.
25794 [C99-based standards] (PTRDIFF_MAX): Likewise.
25795 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
25796 [C99-based standards] (SIZE_MAX): Likewise.
25797 [C99-based standards] (WCHAR_MAX): Likewise.
25798 [C99-based standards] (WINT_MAX): Likewise.
25799 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
25800 constraint on value.
25801 [C99-based standards] (WCHAR_MIN): Likewise.
25802 [C99-based standards] (WINT_MIN): Likewise.
25803 [C99-based standards] (*_t): Allow.
25804 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
25805 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
25806 Include math.h-data and complex.h-data. Remove all expectations
25807 of math.h and complex.h contents.
25808 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
25810 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
25811 (struct tm): Expect tag.
25812 [C99-based-standards] (wcstof): Expect function.
25813 [C99-based-standards] (wcstold): Likewise.
25814 [C99-based-standards] (wcstoll): Likewise.
25815 [C99-based-standards] (wcstoull): Likewise.
25816 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
25817 macro-int-constant. Specify type.
25818 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
25819 constraint on value.
25820 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25822 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
25824 [ISO C standards]: Do not allow headers.
25825 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
25826 wcs[abcdefghijklmnopqrstuvwxyz]*.
25827 [ISO C standards] (*_t): Do not allow.
25828 * conform/data/wctype.h-data [C99-based standards] (iswblank):
25830 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
25831 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25833 [ISO C standards]: Do not allow headers.
25834 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
25835 is[abcdefghijklmnopqrstuvwxyz]*.
25836 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
25837 to[abcdefghijklmnopqrstuvwxyz]*.
25838 [ISO C standards] (*_t): Do not allow.
25839 * conform/data/stdalign.h-data: New file.
25840 * conform/data/stdbool.h-data: Likewise.
25841 * conform/data/stdnoreturn.h-data: Likewise.
25843 2012-11-07 Roland McGrath <roland@hack.frob.com>
25846 * manual/filesys.texi (Directory Entries): Typo fix.
25847 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
25849 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25851 * elf/elf.h (EM_AARCH64): New macro.
25852 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
25853 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
25854 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
25855 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
25856 (R_AARCH64_TLSDESC): Likewise.
25857 (NT_ARM_TLS): Likewise.
25858 (NT_ARM_HW_BREAK): Likewise.
25859 (NT_ARM_HW_WATCH): Likewise.
25861 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25864 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
25865 (__ieee754_powl): Saturate nonzero exponents with absolute value
25866 below 0x1p-79 to +/- 0x1p-79.
25867 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
25868 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
25869 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
25870 nonzero exponents with absolute value below 0x1p-32 to +/-
25872 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
25873 (__ieee754_powl): Saturate nonzero exponents with absolute value
25874 below 0x1p-79 to +/- 0x1p-79.
25875 * math/libm-test.inc (pow_test): Add more tests.
25877 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25879 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
25880 _dl_s390_cap_flags with kernel. Increase string length.
25881 (_dl_s390_platforms): Add z196 and zEC12.
25883 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25885 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
25886 Change XOPEN21K to XOPEN2K.
25888 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
25890 * string/memmove.c: Use memcpy when possible.
25892 2012-11-06 Andreas Jaeger <aj@suse.de>
25894 * po/eo.po: Update from translation team.
25896 2012-11-06 Joseph Myers <joseph@codesourcery.com>
25899 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
25900 exponent and small x and y exponents, scale x or y up. Increase
25901 by 2 the exponent used in scaling up.
25902 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25903 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25904 * math/libm-test.inc (fma_test): Add more tests.
25905 (fma_test_towardzero): Likewise.
25906 (fma_test_downward): Likewise.
25907 (fma_test_upward): Likewise.
25909 2012-11-05 Joseph Myers <joseph@codesourcery.com>
25912 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
25916 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
25917 namespace for names of struct fields.
25918 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
25920 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25921 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
25923 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
25926 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
25928 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25930 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
25934 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
25937 2012-11-04 Joseph Myers <joseph@codesourcery.com>
25940 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
25941 definitely overflow as x * y not x * y + z.
25942 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25943 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25944 * math/libm-test.inc (fma_test): Add more tests.
25945 (fma_test_towardzero): Likewise.
25946 (fma_test_downward): Likewise.
25947 (fma_test_upward): Likewise.
25949 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25953 * include/stub-tag.h: Remove file.
25954 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
25956 * manual/maint.texi (Porting): Don't reference it.
25957 * Makerules ($(objpfx)stubs): Likewise.
25958 * dirent/closedir.c: Don't include <stub-tag.h>.
25959 * dirent/dirfd.c: Likewise.
25960 * dirent/fdopendir.c: Likewise.
25961 * dirent/getdents.c: Likewise.
25962 * dirent/getdents64.c: Likewise.
25963 * dirent/opendir.c: Likewise.
25964 * dirent/readdir.c: Likewise.
25965 * dirent/readdir64.c: Likewise.
25966 * dirent/readdir64_r.c: Likewise.
25967 * dirent/readdir_r.c: Likewise.
25968 * dirent/rewinddir.c: Likewise.
25969 * dirent/seekdir.c: Likewise.
25970 * dirent/telldir.c: Likewise.
25971 * gmon/profil.c: Likewise.
25972 * grp/setgroups.c: Likewise.
25973 * inet/if_index.c: Likewise.
25974 * io/access.c: Likewise.
25975 * io/chdir.c: Likewise.
25976 * io/chmod.c: Likewise.
25977 * io/chown.c: Likewise.
25978 * io/close.c: Likewise.
25979 * io/dup.c: Likewise.
25980 * io/dup2.c: Likewise.
25981 * io/dup3.c: Likewise.
25982 * io/euidaccess.c: Likewise.
25983 * io/faccessat.c: Likewise.
25984 * io/fchdir.c: Likewise.
25985 * io/fchmod.c: Likewise.
25986 * io/fchmodat.c: Likewise.
25987 * io/fchown.c: Likewise.
25988 * io/fchownat.c: Likewise.
25989 * io/fcntl.c: Likewise.
25990 * io/flock.c: Likewise.
25991 * io/fstatfs.c: Likewise.
25992 * io/fstatfs64.c: Likewise.
25993 * io/fstatvfs.c: Likewise.
25994 * io/fstatvfs64.c: Likewise.
25995 * io/futimens.c: Likewise.
25996 * io/fxstat.c: Likewise.
25997 * io/fxstat64.c: Likewise.
25998 * io/fxstatat.c: Likewise.
25999 * io/fxstatat64.c: Likewise.
26000 * io/getcwd.c: Likewise.
26001 * io/isatty.c: Likewise.
26002 * io/lchmod.c: Likewise.
26003 * io/lchown.c: Likewise.
26004 * io/link.c: Likewise.
26005 * io/linkat.c: Likewise.
26006 * io/lseek.c: Likewise.
26007 * io/lseek64.c: Likewise.
26008 * io/lxstat64.c: Likewise.
26009 * io/mkdir.c: Likewise.
26010 * io/mkdirat.c: Likewise.
26011 * io/mkfifo.c: Likewise.
26012 * io/mkfifoat.c: Likewise.
26013 * io/open.c: Likewise.
26014 * io/open64.c: Likewise.
26015 * io/openat.c: Likewise.
26016 * io/openat64.c: Likewise.
26017 * io/pipe.c: Likewise.
26018 * io/pipe2.c: Likewise.
26019 * io/poll.c: Likewise.
26020 * io/posix_fadvise.c: Likewise.
26021 * io/posix_fadvise64.c: Likewise.
26022 * io/posix_fallocate.c: Likewise.
26023 * io/posix_fallocate64.c: Likewise.
26024 * io/read.c: Likewise.
26025 * io/readlink.c: Likewise.
26026 * io/readlinkat.c: Likewise.
26027 * io/rmdir.c: Likewise.
26028 * io/sendfile.c: Likewise.
26029 * io/sendfile64.c: Likewise.
26030 * io/statfs.c: Likewise.
26031 * io/statfs64.c: Likewise.
26032 * io/statvfs.c: Likewise.
26033 * io/statvfs64.c: Likewise.
26034 * io/symlink.c: Likewise.
26035 * io/symlinkat.c: Likewise.
26036 * io/ttyname.c: Likewise.
26037 * io/ttyname_r.c: Likewise.
26038 * io/umask.c: Likewise.
26039 * io/unlink.c: Likewise.
26040 * io/unlinkat.c: Likewise.
26041 * io/utime.c: Likewise.
26042 * io/utimensat.c: Likewise.
26043 * io/write.c: Likewise.
26044 * io/xmknod.c: Likewise.
26045 * io/xmknodat.c: Likewise.
26046 * io/xstat.c: Likewise.
26047 * io/xstat64.c: Likewise.
26048 * login/getpt.c: Likewise.
26049 * login/grantpt.c: Likewise.
26050 * login/unlockpt.c: Likewise.
26051 * math/e_acoshl.c: Likewise.
26052 * math/e_acosl.c: Likewise.
26053 * math/e_asinl.c: Likewise.
26054 * math/e_atan2l.c: Likewise.
26055 * math/e_atanhl.c: Likewise.
26056 * math/e_coshl.c: Likewise.
26057 * math/e_expl.c: Likewise.
26058 * math/e_fmodl.c: Likewise.
26059 * math/e_gammal_r.c: Likewise.
26060 * math/e_hypotl.c: Likewise.
26061 * math/e_j0l.c: Likewise.
26062 * math/e_j1l.c: Likewise.
26063 * math/e_jnl.c: Likewise.
26064 * math/e_lgammal_r.c: Likewise.
26065 * math/e_log10l.c: Likewise.
26066 * math/e_log2l.c: Likewise.
26067 * math/e_logl.c: Likewise.
26068 * math/e_powl.c: Likewise.
26069 * math/e_rem_pio2l.c: Likewise.
26070 * math/e_sinhl.c: Likewise.
26071 * math/e_sqrtl.c: Likewise.
26072 * math/fclrexcpt.c: Likewise.
26073 * math/fedisblxcpt.c: Likewise.
26074 * math/feenablxcpt.c: Likewise.
26075 * math/fegetenv.c: Likewise.
26076 * math/fegetexcept.c: Likewise.
26077 * math/fegetround.c: Likewise.
26078 * math/feholdexcpt.c: Likewise.
26079 * math/fesetenv.c: Likewise.
26080 * math/fesetround.c: Likewise.
26081 * math/feupdateenv.c: Likewise.
26082 * math/fgetexcptflg.c: Likewise.
26083 * math/fraiseexcpt.c: Likewise.
26084 * math/fsetexcptflg.c: Likewise.
26085 * math/ftestexcept.c: Likewise.
26086 * math/k_cosl.c: Likewise.
26087 * math/k_rem_pio2l.c: Likewise.
26088 * math/k_sinl.c: Likewise.
26089 * math/k_tanl.c: Likewise.
26090 * math/s_asinhl.c: Likewise.
26091 * math/s_atanl.c: Likewise.
26092 * math/s_cbrtl.c: Likewise.
26093 * math/s_erfl.c: Likewise.
26094 * math/s_expm1l.c: Likewise.
26095 * math/s_log1pl.c: Likewise.
26096 * math/s_tanhl.c: Likewise.
26097 * misc/acct.c: Likewise.
26098 * misc/brk.c: Likewise.
26099 * misc/chflags.c: Likewise.
26100 * misc/chroot.c: Likewise.
26101 * misc/fchflags.c: Likewise.
26102 * misc/fgetxattr.c: Likewise.
26103 * misc/flistxattr.c: Likewise.
26104 * misc/fremovexattr.c: Likewise.
26105 * misc/fsetxattr.c: Likewise.
26106 * misc/fsync.c: Likewise.
26107 * misc/ftruncate.c: Likewise.
26108 * misc/futimes.c: Likewise.
26109 * misc/futimesat.c: Likewise.
26110 * misc/getdomain.c: Likewise.
26111 * misc/getdtsz.c: Likewise.
26112 * misc/gethostid.c: Likewise.
26113 * misc/gethostname.c: Likewise.
26114 * misc/getloadavg.c: Likewise.
26115 * misc/getpagesize.c: Likewise.
26116 * misc/getsysstats.c: Likewise.
26117 * misc/getxattr.c: Likewise.
26118 * misc/gtty.c: Likewise.
26119 * misc/ioctl.c: Likewise.
26120 * misc/lgetxattr.c: Likewise.
26121 * misc/listxattr.c: Likewise.
26122 * misc/llistxattr.c: Likewise.
26123 * misc/lremovexattr.c: Likewise.
26124 * misc/lsetxattr.c: Likewise.
26125 * misc/lutimes.c: Likewise.
26126 * misc/madvise.c: Likewise.
26127 * misc/mincore.c: Likewise.
26128 * misc/mlock.c: Likewise.
26129 * misc/mlockall.c: Likewise.
26130 * misc/mmap.c: Likewise.
26131 * misc/mprotect.c: Likewise.
26132 * misc/msync.c: Likewise.
26133 * misc/munlock.c: Likewise.
26134 * misc/munlockall.c: Likewise.
26135 * misc/munmap.c: Likewise.
26136 * misc/preadv.c: Likewise.
26137 * misc/preadv64.c: Likewise.
26138 * misc/ptrace.c: Likewise.
26139 * misc/pwritev.c: Likewise.
26140 * misc/pwritev64.c: Likewise.
26141 * misc/readv.c: Likewise.
26142 * misc/reboot.c: Likewise.
26143 * misc/remap_file_pages.c: Likewise.
26144 * misc/removexattr.c: Likewise.
26145 * misc/revoke.c: Likewise.
26146 * misc/select.c: Likewise.
26147 * misc/setdomain.c: Likewise.
26148 * misc/setegid.c: Likewise.
26149 * misc/seteuid.c: Likewise.
26150 * misc/sethostid.c: Likewise.
26151 * misc/sethostname.c: Likewise.
26152 * misc/setregid.c: Likewise.
26153 * misc/setreuid.c: Likewise.
26154 * misc/setxattr.c: Likewise.
26155 * misc/sstk.c: Likewise.
26156 * misc/stty.c: Likewise.
26157 * misc/swapoff.c: Likewise.
26158 * misc/swapon.c: Likewise.
26159 * misc/sync.c: Likewise.
26160 * misc/syncfs.c: Likewise.
26161 * misc/syscall.c: Likewise.
26162 * misc/truncate.c: Likewise.
26163 * misc/ualarm.c: Likewise.
26164 * misc/usleep.c: Likewise.
26165 * misc/ustat.c: Likewise.
26166 * misc/utimes.c: Likewise.
26167 * misc/vhangup.c: Likewise.
26168 * misc/writev.c: Likewise.
26169 * posix/_exit.c: Likewise.
26170 * posix/alarm.c: Likewise.
26171 * posix/execve.c: Likewise.
26172 * posix/fexecve.c: Likewise.
26173 * posix/fork.c: Likewise.
26174 * posix/fpathconf.c: Likewise.
26175 * posix/getaddrinfo.c: Likewise.
26176 * posix/getegid.c: Likewise.
26177 * posix/geteuid.c: Likewise.
26178 * posix/getgid.c: Likewise.
26179 * posix/getgroups.c: Likewise.
26180 * posix/getlogin.c: Likewise.
26181 * posix/getlogin_r.c: Likewise.
26182 * posix/getpgid.c: Likewise.
26183 * posix/getpid.c: Likewise.
26184 * posix/getppid.c: Likewise.
26185 * posix/getresgid.c: Likewise.
26186 * posix/getresuid.c: Likewise.
26187 * posix/getsid.c: Likewise.
26188 * posix/getuid.c: Likewise.
26189 * posix/glob64.c: Likewise.
26190 * posix/nanosleep.c: Likewise.
26191 * posix/pathconf.c: Likewise.
26192 * posix/pause.c: Likewise.
26193 * posix/posix_madvise.c: Likewise.
26194 * posix/pread.c: Likewise.
26195 * posix/pread64.c: Likewise.
26196 * posix/pwrite.c: Likewise.
26197 * posix/pwrite64.c: Likewise.
26198 * posix/sched_getaffinity.c: Likewise.
26199 * posix/sched_getp.c: Likewise.
26200 * posix/sched_gets.c: Likewise.
26201 * posix/sched_primax.c: Likewise.
26202 * posix/sched_primin.c: Likewise.
26203 * posix/sched_rr_gi.c: Likewise.
26204 * posix/sched_setaffinity.c: Likewise.
26205 * posix/sched_setp.c: Likewise.
26206 * posix/sched_sets.c: Likewise.
26207 * posix/sched_yield.c: Likewise.
26208 * posix/setgid.c: Likewise.
26209 * posix/setlogin.c: Likewise.
26210 * posix/setpgid.c: Likewise.
26211 * posix/setresgid.c: Likewise.
26212 * posix/setresuid.c: Likewise.
26213 * posix/setsid.c: Likewise.
26214 * posix/setuid.c: Likewise.
26215 * posix/sleep.c: Likewise.
26216 * posix/spawni.c: Likewise.
26217 * posix/sysconf.c: Likewise.
26218 * posix/times.c: Likewise.
26219 * posix/wait.c: Likewise.
26220 * posix/wait3.c: Likewise.
26221 * posix/wait4.c: Likewise.
26222 * posix/waitpid.c: Likewise.
26223 * resolv/gai_sigqueue.c: Likewise.
26224 * resource/getpriority.c: Likewise.
26225 * resource/getrlimit.c: Likewise.
26226 * resource/getrusage.c: Likewise.
26227 * resource/nice.c: Likewise.
26228 * resource/setpriority.c: Likewise.
26229 * resource/setrlimit.c: Likewise.
26230 * resource/ulimit.c: Likewise.
26231 * rt/aio_cancel.c: Likewise.
26232 * rt/aio_fsync.c: Likewise.
26233 * rt/aio_read.c: Likewise.
26234 * rt/aio_sigqueue.c: Likewise.
26235 * rt/aio_suspend.c: Likewise.
26236 * rt/aio_write.c: Likewise.
26237 * rt/clock_getres.c: Likewise.
26238 * rt/clock_gettime.c: Likewise.
26239 * rt/clock_nanosleep.c: Likewise.
26240 * rt/clock_settime.c: Likewise.
26241 * rt/lio_listio.c: Likewise.
26242 * rt/mq_close.c: Likewise.
26243 * rt/mq_getattr.c: Likewise.
26244 * rt/mq_notify.c: Likewise.
26245 * rt/mq_open.c: Likewise.
26246 * rt/mq_receive.c: Likewise.
26247 * rt/mq_send.c: Likewise.
26248 * rt/mq_setattr.c: Likewise.
26249 * rt/mq_timedreceive.c: Likewise.
26250 * rt/mq_timedsend.c: Likewise.
26251 * rt/mq_unlink.c: Likewise.
26252 * rt/shm_open.c: Likewise.
26253 * rt/shm_unlink.c: Likewise.
26254 * rt/timer_create.c: Likewise.
26255 * rt/timer_delete.c: Likewise.
26256 * rt/timer_getoverr.c: Likewise.
26257 * rt/timer_gettime.c: Likewise.
26258 * rt/timer_settime.c: Likewise.
26259 * setjmp/__longjmp.c: Likewise.
26260 * setjmp/setjmp.c: Likewise.
26261 * signal/kill.c: Likewise.
26262 * signal/killpg.c: Likewise.
26263 * signal/raise.c: Likewise.
26264 * signal/sigaction.c: Likewise.
26265 * signal/sigaltstack.c: Likewise.
26266 * signal/sigblock.c: Likewise.
26267 * signal/sigignore.c: Likewise.
26268 * signal/sigintr.c: Likewise.
26269 * signal/signal.c: Likewise.
26270 * signal/sigpause.c: Likewise.
26271 * signal/sigpending.c: Likewise.
26272 * signal/sigqueue.c: Likewise.
26273 * signal/sigreturn.c: Likewise.
26274 * signal/sigset.c: Likewise.
26275 * signal/sigsetmask.c: Likewise.
26276 * signal/sigstack.c: Likewise.
26277 * signal/sigsuspend.c: Likewise.
26278 * signal/sigtimedwait.c: Likewise.
26279 * signal/sigvec.c: Likewise.
26280 * signal/sigwait.c: Likewise.
26281 * signal/sigwaitinfo.c: Likewise.
26282 * signal/sysv_signal.c: Likewise.
26283 * socket/accept.c: Likewise.
26284 * socket/accept4.c: Likewise.
26285 * socket/bind.c: Likewise.
26286 * socket/connect.c: Likewise.
26287 * socket/getpeername.c: Likewise.
26288 * socket/getsockname.c: Likewise.
26289 * socket/getsockopt.c: Likewise.
26290 * socket/isfdtype.c: Likewise.
26291 * socket/listen.c: Likewise.
26292 * socket/recv.c: Likewise.
26293 * socket/recvfrom.c: Likewise.
26294 * socket/recvmsg.c: Likewise.
26295 * socket/send.c: Likewise.
26296 * socket/sendmsg.c: Likewise.
26297 * socket/sendto.c: Likewise.
26298 * socket/setsockopt.c: Likewise.
26299 * socket/shutdown.c: Likewise.
26300 * socket/sockatmark.c: Likewise.
26301 * socket/socket.c: Likewise.
26302 * socket/socketpair.c: Likewise.
26303 * stdio-common/ctermid.c: Likewise.
26304 * stdio-common/cuserid.c: Likewise.
26305 * stdio-common/remove.c: Likewise.
26306 * stdio-common/rename.c: Likewise.
26307 * stdio-common/renameat.c: Likewise.
26308 * stdio-common/tempname.c: Likewise.
26309 * stdlib/getcontext.c: Likewise.
26310 * stdlib/makecontext.c: Likewise.
26311 * stdlib/setcontext.c: Likewise.
26312 * stdlib/swapcontext.c: Likewise.
26313 * stdlib/system.c: Likewise.
26314 * streams/fattach.c: Likewise.
26315 * streams/fdetach.c: Likewise.
26316 * streams/getmsg.c: Likewise.
26317 * streams/getpmsg.c: Likewise.
26318 * streams/putmsg.c: Likewise.
26319 * streams/putpmsg.c: Likewise.
26320 * sysdeps/unix/bsd/getpt.c: Likewise.
26321 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
26322 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
26323 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26326 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
26327 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26328 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26329 * sysvipc/msgctl.c: Likewise.
26330 * sysvipc/msgget.c: Likewise.
26331 * sysvipc/msgrcv.c: Likewise.
26332 * sysvipc/msgsnd.c: Likewise.
26333 * sysvipc/semctl.c: Likewise.
26334 * sysvipc/semget.c: Likewise.
26335 * sysvipc/semop.c: Likewise.
26336 * sysvipc/semtimedop.c: Likewise.
26337 * sysvipc/shmat.c: Likewise.
26338 * sysvipc/shmctl.c: Likewise.
26339 * sysvipc/shmdt.c: Likewise.
26340 * sysvipc/shmget.c: Likewise.
26341 * termios/tcdrain.c: Likewise.
26342 * termios/tcflow.c: Likewise.
26343 * termios/tcflush.c: Likewise.
26344 * termios/tcgetattr.c: Likewise.
26345 * termios/tcgetpgrp.c: Likewise.
26346 * termios/tcsendbrk.c: Likewise.
26347 * termios/tcsetattr.c: Likewise.
26348 * termios/tcsetpgrp.c: Likewise.
26349 * time/adjtime.c: Likewise.
26350 * time/clock.c: Likewise.
26351 * time/getitimer.c: Likewise.
26352 * time/gettimeofday.c: Likewise.
26353 * time/setitimer.c: Likewise.
26354 * time/settimeofday.c: Likewise.
26355 * time/stime.c: Likewise.
26356 * time/time.c: Likewise.
26358 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
26360 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
26363 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
26365 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
26367 2012-11-03 Joseph Myers <joseph@codesourcery.com>
26370 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
26371 FE_TONEAREST before applying Dekker multiplication and Knuth
26372 addition. Clear inexact exceptions and check for exact zero
26373 results afterwards.
26374 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26375 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26376 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26377 * math/libm-test.inc (fma_test): Add more tests.
26378 (fma_test_towardzero): Likewise.
26379 (fma_test_downward): Likewise.
26380 (fma_test_upward): Likewise.
26381 * sysdeps/generic/math_private.h (default_libc_fesetround): New
26383 (libc_fesetround): New macro.
26384 (libc_fesetroundf): Likewise.
26385 (libc_fesetroundl): Likewise.
26386 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
26388 (libc_fesetround_387): Likewise.
26389 (libc_fesetroundf): New macro.
26390 (libc_fesetround): Likewise.
26391 (libc_fesetroundl): Likewise.
26392 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
26394 (libc_fesetroundf): New macro.
26395 (libc_fesetround): Likewise.
26396 (libc_fesetroundl): Likewise.
26397 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
26398 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
26399 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
26401 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
26402 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
26404 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
26405 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
26407 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
26411 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
26412 integer constant usable in #if and use that to give value to enum
26414 (FE_DIVBYZERO): Likewise.
26415 (FE_UNDERFLOW): Likewise.
26416 (FE_OVERFLOW): Likewise.
26417 (FE_INVALID): Likewise.
26418 (FE_INVALID_SNAN): Likewise.
26419 (FE_INVALID_ISI): Likewise.
26420 (FE_INVALID_IDI): Likewise.
26421 (FE_INVALID_ZDZ): Likewise.
26422 (FE_INVALID_IMZ): Likewise.
26423 (FE_INVALID_COMPARE): Likewise.
26424 (FE_INVALID_SOFTWARE): Likewise.
26425 (FE_INVALID_SQRT): Likewise.
26426 (FE_INVALID_INTEGER_CONVERSION): Likewise.
26427 (FE_TONEAREST): Likewise.
26428 (FE_TOWARDZERO): Likewise.
26429 (FE_UPWARD): Likewise.
26430 (FE_DOWNWARD): Likewise.
26431 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
26432 (FE_DIVBYZERO): Likewise.
26433 (FE_OVERFLOW): Likewise.
26434 (FE_UNDERFLOW): Likewise.
26435 (FE_INEXACT): Likewise.
26436 (FE_TONEAREST): Likewise.
26437 (FE_DOWNWARD): Likewise.
26438 (FE_UPWARD): Likewise.
26439 (FE_TOWARDZERO): Likewise.
26440 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
26441 (FE_UNDERFLOW): Likewise.
26442 (FE_OVERFLOW): Likewise.
26443 (FE_DIVBYZERO): Likewise.
26444 (FE_INVALID): Likewise.
26445 (FE_TONEAREST): Likewise.
26446 (FE_TOWARDZERO): Likewise.
26447 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
26448 (FE_OVERFLOW): Likewise.
26449 (FE_UNDERFLOW): Likewise.
26450 (FE_DIVBYZERO): Likewise.
26451 (FE_INEXACT): Likewise.
26452 (FE_TONEAREST): Likewise.
26453 (FE_TOWARDZERO): Likewise.
26454 (FE_UPWARD): Likewise.
26455 (FE_DOWNWARD): Likewise.
26456 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
26457 (FE_DIVBYZERO): Likewise.
26458 (FE_OVERFLOW): Likewise.
26459 (FE_UNDERFLOW): Likewise.
26460 (FE_INEXACT): Likewise.
26461 (FE_TONEAREST): Likewise.
26462 (FE_DOWNWARD): Likewise.
26463 (FE_UPWARD): Likewise.
26464 (FE_TOWARDZERO): Likewise.
26466 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
26468 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
26470 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
26472 * scripts/cross-test-ssh.sh (command): Use newlines to separate
26473 commands. Quote $PWD.
26474 (blacklist_exports): Don't use remove_newlines. Replace "declare
26476 (remove_newlines): Remove.
26478 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
26480 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
26481 * stdlib/stdlib.h (atof): Moved to ...
26482 * include/bits/stdlib-float.h: Here. New file.
26483 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
26484 * stdlib/bits/stdlib-float.h: New file.
26485 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
26487 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
26490 2012-11-02 Joseph Myers <joseph@codesourcery.com>
26492 * conform/conformtest.pl (@headers): Add fenv.h.
26493 * conform/data/fenv.h-data: New file.
26494 * include/fenv.h [_ISOMAC]: Disable all contents of file except
26495 include of <math/fenv.h>.
26497 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
26498 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
26499 && !UNIX98]. Enables tests for XOPEN2K8.
26500 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
26501 POSIX2008]: Likewise.
26503 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
26504 (struct rusage): Do not expect type or its members.
26507 * math/math.h (FP_NAN): Define macro to integer constant usable in
26508 #if and use that to give value to enum constant.
26509 (FP_INFINITE): Likewise.
26510 (FP_ZERO): Likewise.
26511 (FP_SUBNORMAL): Likewise.
26512 (FP_NORMAL): Likewise.
26514 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
26516 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
26517 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
26520 2012-11-02 Roland McGrath <roland@hack.frob.com>
26522 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
26523 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
26524 autoconf-time if not.
26525 * configure.in: Remove AC_PREREQ.
26527 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26529 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
26530 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
26531 of the internal implementation.
26533 2012-11-02 Joseph Myers <joseph@codesourcery.com>
26535 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
26536 except include of <misc/sys/syslog.h>.
26538 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
26541 function returns with a NULL context exit with zero.
26543 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26545 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
26547 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
26549 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
26550 (run_program_cmd): This.
26551 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
26552 (tst_langinfo): New variable. Use it.
26554 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
26556 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
26557 floating point opcodes.
26559 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26561 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
26564 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
26566 * sysdeps/mach/hurd/powerpc: Remove directory.
26567 * sysdeps/mach/powerpc: Likewise.
26569 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26571 * scripts/check-local-headers.sh: Ignore c++ headers.
26573 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26575 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
26576 __libc_cleanup_region_start argument.
26578 2012-11-01 Joseph Myers <joseph@codesourcery.com>
26582 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
26583 x * y using scaling, not as x * y + z.
26584 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26585 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26586 * math/libm-test.inc (fma_test): Add more tests.
26587 (fma_test_towardzero): Likewise.
26588 (fma_test_downward): Likewise.
26589 (fma_test_upward): Likewise.
26591 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26593 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
26595 2012-10-31 Joseph Myers <joseph@codesourcery.com>
26597 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
26600 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
26602 * rt/tst-shm.c (worker): Correct checking for mmap failure.
26604 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26611 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26614 Fix the order of the list for glibc 2.17.
26615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26618 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26620 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26622 2012-10-31 Joseph Myers <joseph@codesourcery.com>
26625 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
26626 for low part of x being zero before using __atanl (y).
26627 * math/libm-test.inc (atan2_test): Add another test.
26629 * manual/install.texi (Configuring and compiling): Document
26630 general use of test-wrapper and test-wrapper-env.
26631 * INSTALL: Regenerated.
26633 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
26634 (__fma): Do not extract and scale down low bits on after-rounding
26635 systems when result rounded to normal precision would have normal
26637 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
26638 (__fmal): Do not extract and scale down low bits on after-rounding
26639 systems when result rounded to normal precision would have normal
26641 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
26642 (__fmal): Do not extract and scale down low bits on after-rounding
26643 systems when result rounded to normal precision would have normal
26645 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
26647 (fma_test): Add more tests.
26648 (fma_test_towardzero): Likewise.
26649 (fma_test_downward): Likewise.
26650 (fma_test_upward): Likewise.
26652 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
26654 * sysdeps/i386/tininess.h: Renamed to ...
26655 * sysdeps/x86/tininess.h: This.
26656 * sysdeps/x86_64/tininess.h: Removed.
26658 2012-10-30 Joseph Myers <joseph@codesourcery.com>
26660 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
26661 input. Use $(build-program-cmd).
26662 ($(objpfx)tst-array1-static.out): Likewise.
26663 ($(objpfx)tst-array2.out): Likewise.
26664 ($(objpfx)tst-array3.out): Likewise.
26665 ($(objpfx)tst-array4.out): Likewise.
26666 ($(objpfx)tst-array5.out): Likewise.
26667 ($(objpfx)tst-array5-static.out): Likewise.
26669 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
26671 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
26674 * nss/nsswitch.h (nss_interface_function): Provide new
26675 macro for use with NSS functions.
26676 * grp/initgroups.c: Use new macro.
26677 * nss/getXXbyYY.c: Likewise.
26678 * nss/getXXbyYY_r.c: Likewise.
26679 * nss/getXXent.c: Likewise.
26680 * nss/getXXent_r.c: Likewise.
26681 * sysdeps/posix/getaddrinfo.c: Likewise.
26683 2012-10-30 Andreas Jaeger <aj@suse.de>
26685 * po/ru.po: Update Russion translation from translation project.
26687 2012-10-30 Joseph Myers <joseph@codesourcery.com>
26691 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
26692 result and shift together with sticky bit instead of replicating
26693 round-to-nearest rounding.
26694 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26695 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26696 * math/libm-test.inc (fma_test): Add more tests. Do not permit
26697 missing underflow exceptions.
26698 (fma_test_towardzero): Add more tests.
26699 (fma_test_downward): Likewise.
26700 (fma_test_upward): Likewise.
26703 * sysdeps/generic/tininess.h: New file.
26704 * sysdeps/i386/tininess.h: Likewise.
26705 * sysdeps/sh/tininess.h: Likewise.
26706 * sysdeps/x86_64/tininess.h: Likewise.
26707 * stdlib/tst-strtod-underflow.c: Likewise.
26708 * stdlib/tst-tininess.c: Likewise.
26709 * stdlib/strtod_l.c: Include <tininess.h>.
26710 (round_and_return): Do not set errno for exact underflow cases.
26711 Force an underflow exception when setting errno for underflow.
26712 Determine underflow based on rounding to normal precision if
26713 TININESS_AFTER_ROUNDING.
26714 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
26715 ERANGE for exact underflow cases.
26716 * stdlib/Makefile (tests): Add tst-tininess and
26717 tst-strtod-underflow.
26718 ($(objpfx)tst-tininess): Use $(link-libm).
26719 ($(objpfx)tst-strtod-underflow): Likewise.
26721 2012-10-30 Andreas Jaeger <aj@suse.de>
26724 * elf/Makefile (tests): Remove conditional for have-initfini-array
26725 since this is now always required and the variable does not exist
26727 (tests-static): Likewise.
26728 (modules-names): Likewise.
26730 * po/eo.po: Add Esperanto translation from translation project.
26732 * elf/tst-array1.c (fini_array): Make writeable so that it can be
26733 merged with constructor/destructor.
26734 (init_array): Likewise.
26735 * elf/tst-array2dep.c (fini_array): Likewise.
26736 (init_array): Likewise.
26738 2012-10-29 Mike Frysinger <vapier@gentoo.org>
26740 * manual/message.texi: Delete @cartouche tags.
26742 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
26744 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
26746 * sysdeps/mach/hurd/fsync.c: Likewise.
26748 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
26749 [_POSIX_REALTIME_SIGNALS]: Change condition to
26750 [_POSIX_REALTIME_SIGNALS > 0].
26752 2012-10-27 Andreas Jaeger <aj@suse.de>
26754 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
26755 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
26756 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
26757 [__WORDSIZE != 64]: Likewise.
26759 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
26761 * iconvdata/tst-table.sh: Remove ${SHELL}.
26762 * iconvdata/tst-tables.sh: Likewise.
26764 2012-10-25 David S. Miller <davem@davemloft.net>
26766 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26767 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
26770 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
26772 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26773 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
26774 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
26777 2012-10-25 Roland McGrath <roland@hack.frob.com>
26779 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26780 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
26783 2012-10-25 Joseph Myers <joseph@codesourcery.com>
26784 Jim Blandy <jimb@codesourcery.com>
26786 * scripts/cross-test-ssh.sh: New file.
26787 * manual/install.texi (Configuring and compiling): Document use of
26789 * INSTALL: Regenerated.
26791 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
26793 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
26796 2012-10-25 Joseph Myers <joseph@codesourcery.com>
26798 * Makeconfig (run-program-prefix): Fix comment.
26800 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26801 Jim Blandy <jimb@codesourcery.com>
26803 * Makeconfig (test-wrapper): New variable,
26804 (test-wrapper-env): Likewise.
26805 [$(cross-compiling) = yes && $(test-wrapper) != ""]
26806 (run-built-tests): Define to yes.
26807 (run-program-prefix): Use $(test-wrapper).
26808 (built-program-cmd): Likewise.
26809 * Rules (make-test-out): Use $(test-wrapper-env) and
26810 $(host-built-program-cmd).
26811 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
26812 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
26814 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
26815 $(test-wrapper-env) to tst-rtld-load-self.sh.
26816 ($(objpfx)order2.out): Use $(test-wrapper).
26817 ($(objpfx)tst-initorder.out): Likewise.
26818 ($(objpfx)tst-initorder2.out): Likewise.
26819 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
26820 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
26821 (test_wrapper_env): New variable. Use it to run ld.so.
26822 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
26823 Use it to run ld.so.
26824 (test_wrapper_env): Likewise.
26825 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
26826 $(test-wrapper) to run-iconv-test.sh.
26827 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
26828 (ICONV): Use $test_wrapper.
26829 * posix/Makefile ($(objpfx)globtest.out): Pass
26830 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
26831 globtest.sh, not $(run-program-prefix).
26832 * posix/globtest.sh (run_via_rtld_prefix): New variable.
26833 (test_wrapper): Likewise.
26834 (test_wrapper_env): Likewise. Use it to run globtest with HOME
26835 set together with run_via_rtld_prefix.
26836 (run_program_prefix): Define in terms of test_wrapper and
26837 run_via_rtld_prefix.
26839 2012-10-24 Roland McGrath <roland@hack.frob.com>
26841 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
26842 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
26846 * include/time.h: Remove librt_hidden_proto (clock_gettime).
26847 Declare __clock_getres, __clock_gettime, __clock_settime,
26848 __clock_nanosleep, and __clock_getcpuclockid.
26849 * rt/clock_gettime.c: Define __clock_gettime as an alias.
26850 Remove librt_hidden_def (clock_gettime).
26851 * sysdeps/unix/clock_gettime.c: Likewise.
26852 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
26853 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26854 * rt/clock_getres.c: Define __clock_getres as an alias.
26855 * sysdeps/posix/clock_getres.c: Likewise.
26856 * rt/clock_settime.c: Define __clock_settime as an alias.
26857 * sysdeps/unix/clock_settime.c: Likewise.
26858 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
26859 * sysdeps/unix/clock_nanosleep.c: Likewise.
26860 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26861 * rt/clock-compat.c: New file.
26862 * rt/Makefile (librt-routines): Add clock-compat and move
26863 $(clock-routines) to ...
26864 (routines): ... here, new variable.
26865 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
26866 Don't add get_clockfreq here.
26867 * rt/Versions (libc: GLIBC_2.17): New version set.
26868 Add clock_* symbols here.
26869 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
26870 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
26871 (GLIBC_2.17): Add clock_* symbols.
26872 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26873 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26874 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26879 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26880 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26881 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26883 * NEWS: Mention the move.
26885 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26886 Use __open, __read, __close rather than their public counterparts.
26887 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26888 (__get_clockfreq_via_cpuinfo): Likewise.
26889 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
26890 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
26892 * config.h.in (HAVE_IFUNC): New #undef.
26893 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
26895 * configure: Regenerated.
26897 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26899 * configure.in: Move READELF check to start of file.
26900 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
26901 libc_cv_asm_gnu_indirect_function in the process.
26902 * configure: Regenerated.
26904 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26906 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
26907 send the output to /dev/null.
26908 (libc_cv_cc_with_libunwind): Likewise.
26909 (libc_cv_as_noexecstack): Likewise.
26910 * configure: Regenerate.
26912 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26914 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
26916 * posix/globtest.sh (TMPDIR): Do not set.
26917 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
26918 (testout): Likewise.
26920 2012-10-24 Andreas Jaeger <aj@suse.de>
26922 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
26923 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
26924 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
26925 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
26926 posix_fadvise64, posix_fallocate64.
26928 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
26929 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
26930 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
26932 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
26934 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
26936 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
26937 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
26938 <bits/fcntl-linux.h>.
26939 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
26941 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
26942 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
26943 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
26944 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
26945 [__WORDSIZE != 64]: Likewise.
26947 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26949 * Makeconfig (run-built-tests): New variable.
26950 * Rules [$(cross-compiling) = yes]: Change condition to
26951 [$(run-built-tests) = no].
26952 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
26953 to [$(run-built-tests) = yes].
26954 * elf/Makefile [$(cross-compiling) = no]: Likewise
26955 * grp/Makefile [$(cross-compiling) = no]: Likewise.
26956 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
26957 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
26958 * intl/Makefile [$(cross-compiling) = no]: Likewise.
26959 * io/Makefile [$(cross-compiling) = no]: Likewise.
26960 * libio/Makefile [$(cross-compiling) = no]: Likewise.
26961 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
26962 * misc/Makefile [$(cross-compiling) = no]: Likewise.
26963 * posix/Makefile [$(cross-compiling) = no]: Likewise.
26964 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
26965 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
26966 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
26967 * string/Makefile [$(cross-compiling) = no]: Likewise.
26969 * posix/Makefile ($(objpfx)globtest.out): Pass
26970 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
26971 $(rtld-installed-name).
26972 * posix/globtest.sh (elf_objpfx): Remove variable.
26973 (rtld_installed_name): Likewise.
26974 (library_path): Likewise.
26975 (run_program_prefix): New variable. Use for running globtest
26978 2012-10-23 Jim Blandy <jimb@codesourcery.com>
26979 Joseph Myers <joseph@codesourcery.com>
26981 * Makeconfig (host-built-program-cmd): New variable.
26982 * elf/Makefile (tst-stackguard1-ARGS): Use
26983 $(host-built-program-cmd).
26984 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
26985 (tst-spawn-ARGS): Likewise.
26986 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
26988 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26989 Jim Blandy <jimb@codesourcery.com>
26991 * Makeconfig (run-via-rtld-prefix): New variable.
26992 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
26993 (built-program-cmd): Likewise.
26995 2012-10-22 Andreas Jaeger <aj@suse.de>
26997 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
26998 __O_RSYNC if it exists, otherwise to O_SYNC.
27000 2012-10-22 Jim Blandy <jimb@codesourcery.com>
27001 Joseph Myers <joseph@codesourcery.com>
27003 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27005 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27007 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27010 2012-10-22 Andreas Jaeger <aj@suse.de>
27012 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27014 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27016 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27017 bits/fcntl-linux.h.
27019 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27020 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27022 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27024 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27027 2012-10-21 Jim Blandy <jimb@codesourcery.com>
27028 Joseph Myers <joseph@codesourcery.com>
27030 * config.make.in (NM): New variable.
27032 2012-10-21 Andreas Jaeger <aj@suse.de>
27034 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27035 definitions and declarations that are provided by
27036 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27038 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27041 * elf/Makefile (tests-static): Add tst-leaks1-static.
27042 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27043 ($(objpfx)tst-leaks1-static): New rule.
27044 ($(objpfx)tst-leaks1-static-mem): Likewise.
27045 (tst-leaks1-static-ENV): New macro.
27046 * elf/dl-open.c (dl_open_worker): Check the main application
27047 only if SHARED is defined.
27048 * elf/tst-leaks1-static.c: New file.
27050 2012-10-20 Andreas Jaeger <aj@suse.de>
27052 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27053 generic values for Linux.
27054 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27055 and declarations that are provided by <bits/fcntl-linux.h> and
27056 include <bits/fcntl-linux.h>.
27057 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27058 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27060 2012-10-20 Roland McGrath <roland@hack.frob.com>
27062 * io/fcntl.h: Move include of <bits/types.h> to the top and
27063 include it unconditionally.
27065 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27067 * wcsmbs/Makefile (tests-ifunc): New variable.
27068 (tests): Add $(tests-ifunc).
27069 * wcsmbs/test-wcschr-ifunc.c: New file.
27070 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27071 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27072 * wcsmbs/test-wcslen-ifunc.c: Likewise.
27073 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27074 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27076 * string/Makefile (tests-ifunc): New variable.
27077 (tests): Add $(tests-ifunc).
27078 * string/test-memccpy.c (TEST_NAME): New macro.
27079 * string/test-memchr.c (TEST_NAME): Likewise.
27080 * string/test-memcmp.c (TEST_NAME): Likewise.
27081 * string/test-memcpy.c (TEST_NAME): Likewise.
27082 * string/test-memmem.c (TEST_NAME): Likewise.
27083 * string/test-memmove.c (TEST_NAME): Likewise.
27084 * string/test-memset.c (TEST_NAME): Likewise.
27085 * string/test-rawmemchr.c (TEST_NAME): Likewise.
27086 * string/test-stpcpy.c (TEST_NAME): Likewise.
27087 * string/test-stpncpy.c (TEST_NAME): Likewise.
27088 * string/test-strcasecmp.c (TEST_NAME): Likewise.
27089 * string/test-strcasestr.c (TEST_NAME): Likewise.
27090 * string/test-strcat.c (TEST_NAME): Likewise.
27091 * string/test-strchr.c (TEST_NAME): Likewise.
27092 * string/test-strcmp.c(TEST_NAME): Likewise.
27093 * string/test-strcpy.c (TEST_NAME): Likewise.
27094 * string/test-strcspn.c (TEST_NAME): Likewise.
27095 * string/test-strlen.c (TEST_NAME): Likewise.
27096 * string/test-strncasecmp.c (TEST_NAME): Likewise.
27097 * string/test-strncmp.c (TEST_NAME): Likewise.
27098 * string/test-strncpy.c (TEST_NAME): Likewise.
27099 * string/test-strnlen.c (TEST_NAME): Likewise.
27100 * string/test-strpbrk.c (TEST_NAME): Likewise.
27101 * string/test-strrchr.c (TEST_NAME): Likewise.
27102 * string/test-strspn.c (TEST_NAME): Likewise.
27103 * string/test-strstr.c (TEST_NAME): Likewise.
27104 * string/test-bcopy-ifunc.c: New file.
27105 * string/test-bzero-ifunc.c: Likewise.
27106 * string/test-memccpy-ifunc.c: Likewise.
27107 * string/test-memchr-ifunc.c: Likewise.
27108 * string/test-memcmp-ifunc.c: Likewise.
27109 * string/test-memcpy-ifunc.c: Likewise.
27110 * string/test-memmem-ifunc.c: Likewise.
27111 * string/test-memmove-ifunc.c: Likewise.
27112 * string/test-mempcpy-ifunc.c: Likewise.
27113 * string/test-memset-ifunc.c: Likewise.
27114 * string/test-rawmemchr-ifunc.c: Likewise.
27115 * string/test-stpcpy-ifunc.c: Likewise.
27116 * string/test-stpncpy-ifunc.c: Likewise.
27117 * string/test-strcasecmp-ifunc.c: Likewise.
27118 * string/test-strcasestr-ifunc.c: Likewise.
27119 * string/test-strcat-ifunc.c: Likewise.
27120 * string/test-strchr-ifunc.c: Likewise.
27121 * string/test-strchrnul-ifunc.c: Likewise.
27122 * string/test-strcmp-ifunc.c: Likewise.
27123 * string/test-strcpy-ifunc.c: Likewise.
27124 * string/test-strcspn-ifunc.c: Likewise.
27125 * string/test-strlen-ifunc.c: Likewise.
27126 * string/test-strncasecmp-ifunc.c: Likewise.
27127 * string/test-strncat-ifunc.c: Likewise.
27128 * string/test-strncmp-ifunc.c: Likewise.
27129 * string/test-strncpy-ifunc.c: Likewise.
27130 * string/test-strnlen-ifunc.c: Likewise.
27131 * string/test-strpbrk-ifunc.c: Likewise.
27132 * string/test-strrchr-ifunc.c: Likewise.
27133 * string/test-strspn-ifunc.c: Likewise.
27134 * string/test-strstr-ifunc.c: Likewise.
27136 * debug/Makefile (tests-ifunc): New variable.
27137 (tests): Add $(tests-ifunc).
27138 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
27139 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
27140 * debug/test-stpcpy_chk-ifunc.c: New file.
27141 * debug/test-strcpy_chk-ifunc.c: Likewise.
27143 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27146 * elf/dl-load.c (open_verify): Retry read if the entire ELF
27147 header is not read in.
27149 2012-10-19 Joseph Myers <joseph@codesourcery.com>
27151 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
27152 script to $(SHELL) as $<. Pass $(common-objpfx) to script
27153 directly. Pass built executable to script as
27154 $(built-program-cmd).
27155 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
27156 $testprogram without using LD_LIBRARY_PATH and $ldso.
27158 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
27159 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
27160 $(rtld-installed-name).
27161 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
27162 (rtld_installed_name): Likewise.
27163 (library_path): Likewise.
27164 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
27165 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
27166 $(run-program-prefix) to tst-tables.sh.
27167 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
27168 it to run tst-table-from and tst-table-to.
27169 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
27170 Pass it to tst-table.sh.
27171 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
27172 $(run-program-prefix) to tst-gettext.sh.
27173 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
27175 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
27177 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
27178 to run tst-gettext.
27179 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
27180 to run tst-gettext2.
27181 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
27182 to run tst-translit.
27183 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
27184 $(run-program-prefix) to tst-mtrace.sh.
27185 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
27187 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
27188 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
27189 $(rtld-installed-name).
27190 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
27191 (rtld_installed_name): Likewise.
27192 (run_program_prefix): New variable. Use it to run wordexp-test.
27194 * Makeconfig (ARCH): Remove all definitions.
27195 (machine): Likewise.
27196 [ARCH]: Remove conditional code.
27197 [!objdir]: Give error.
27198 [!objdir] (objpfx): Remove.
27199 [!objdir] (common-objpfx): Likewise.
27200 [!objdir] (common-objdir): Likewise.
27201 * configure.in (config_makefile): Remove. Hardcode Makefile in
27202 AC_CONFIG_FILES call.
27203 * configure: Regenerated.
27206 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
27208 (testout): Likewise.
27210 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
27211 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
27212 $(rtld-installed-name).
27213 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
27214 (rtld_installed_name): Likwise.
27215 (runit): Remove function.
27216 (run_getconf): New variable, Use it for running getconf binary.
27218 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
27221 * string/test-memmem.c (check_result): New function.
27222 (do_one_test): Use it.
27223 (check1): New function.
27224 (test_main): Use it.
27226 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
27228 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
27230 2012-10-18 Joseph Myers <joseph@codesourcery.com>
27232 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
27233 (_G_LSEEK64): Likewise.
27234 (_G_MMAP64): Likewise.
27235 (_G_FSTAT64): Likewise.
27236 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
27237 (_G_LSEEK64): Likewise.
27238 (_G_MMAP64): Likewise.
27239 (_G_FSTAT64): Likewise.
27240 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
27241 unconditional. Call __mmap64 directly.
27242 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
27243 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
27244 __lseek64 directly.
27245 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
27246 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
27248 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
27249 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
27250 __lseek64 directly.
27251 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
27252 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
27253 __lseek64 directly.
27254 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
27255 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
27256 __lseek64 directly.
27257 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
27258 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
27259 __fxstat64 directly.
27260 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
27261 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
27263 (freopen64) [!_G_OPEN64]: Remove conditional code.
27264 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
27266 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
27267 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
27269 (ftello64) [!_G_LSEEK64]: Remove conditional code.
27270 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
27272 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27273 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
27275 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
27276 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
27278 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27279 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
27281 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27282 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
27284 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27286 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27289 * manual/memory.texi (Malloc Tunable Parameters): Add note
27290 about free list pointers overwriting some perturb bytes.
27291 Wording suggested by Roland McGrath.
27293 2012-10-17 Joseph Myers <joseph@codesourcery.com>
27295 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
27296 (lgamma_test): Likewise.
27297 (tgamma_test): Likewise.
27299 2012-10-16 Florian Weimer <fweimer@redhat.com>
27302 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
27303 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
27305 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
27307 * NEWS: Mention BZ #14716.
27308 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
27309 when removing AVAILABLE1_USES_J macro.
27311 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
27313 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
27314 (__bswap_64): __uint64_t for unsigned 64-bit int.
27316 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
27318 * include/string.h (memmem): Declare libc hidden alias.
27319 * string/memmem.c (memmem): Define libc hidden alias.
27320 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
27321 __read, __close instead of open, read, close.
27323 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
27325 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
27326 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
27328 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
27329 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
27330 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
27332 (__rawmemchr_sse2): Likewise.
27333 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
27334 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
27335 (__strchr_sse2): Likewise.
27336 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
27337 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
27338 (__strcasecmp_sse2): Likewise.
27339 (__strncasecmp_sse2): Likewise.
27340 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
27341 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
27342 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
27343 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
27344 (__strrchr_sse2): Likewise.
27345 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
27347 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27348 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27349 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27350 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27351 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27352 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27353 * sysdeps/x86_64/multiarch/memset.S: Likewise.
27354 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27355 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
27356 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
27357 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
27358 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
27359 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
27360 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27361 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27362 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27363 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27364 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27365 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
27366 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
27367 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
27368 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
27369 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
27370 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27371 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
27372 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27373 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27374 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27375 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27376 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27378 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
27380 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
27381 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
27382 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
27383 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
27385 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
27387 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
27388 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
27389 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
27390 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
27392 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27393 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27394 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27395 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27396 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27397 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27398 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27399 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27400 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27401 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27402 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27403 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27404 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27405 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
27406 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
27407 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27408 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
27409 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
27410 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27411 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27412 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27413 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27414 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27415 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27416 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27417 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
27418 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
27419 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
27420 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
27421 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27422 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
27423 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27424 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27425 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
27426 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27427 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27428 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27429 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27430 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27431 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27432 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
27434 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
27435 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
27436 * include/ifunc-impl-list.h: New file.
27437 * misc/ifunc-impl-list.c: Likewise.
27438 * misc/Makefile (routines): Add ifunc-impl-list.
27439 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
27440 * string/test-string.h: Include <ifunc-impl-list.h>.
27441 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
27442 TEST_NAME]: New variables.
27443 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
27445 (test_init): Call __libc_ifunc_impl_list to initialize
27446 func_list if TEST_IFUNC and TEST_NAME are defined.
27448 * string/Makefile (strop-tests): Add bcopy and bzero.
27449 * string/test-bcopy.c: New file.
27450 * string/test-bzero.c: Likewise.
27451 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
27453 * string/test-memset.c: Support bzero test if TEST_BZERO is
27455 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
27457 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
27459 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
27462 2012-10-10 Joseph Myers <joseph@codesourcery.com>
27464 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
27465 * configure: Regenerated.
27467 * Makeconfig (+link-static-before-libc): Don't include
27468 $(link-static-libc).
27470 * libio/libio.h (_IO_pos_t): Remove.
27472 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27474 * NEWS: Add note about FIPS mode. Wording suggested by Roland
27477 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27479 * crypt/crypt-entry.c: Include fips-private.h.
27480 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
27481 * crypt/md5c-test.c (main): Tolerate disabled MD5.
27482 * sysdeps/unix/sysv/linux/fips-private.h: New file.
27483 * sysdeps/generic/fips-private.h: New file, dummy fallback.
27485 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27487 * crypt/crypt-private.h: Include stdbool.h.
27488 (_ufc_setup_salt_r): Return bool.
27489 * crypt/crypt-entry.c: Include errno.h.
27490 (__crypt_r): Return NULL with EINVAL for bad salt.
27491 * crypt/crypt_util.c (bad_for_salt): New.
27492 (_ufc_setup_salt_r): Check that salt is long enough and within
27493 the specified alphabet.
27494 * crypt/badsalttest.c: New file.
27495 * crypt/Makefile (tests): Add it.
27496 ($(objpfx)badsalttest): New.
27498 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
27500 * NEWS: Add entry for BZ #14602.
27502 2012-10-09 Joseph Myers <joseph@codesourcery.com>
27504 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
27506 * math/libm-test.inc: Update comment listing what functions and
27508 (isgreater_test): New function.
27509 (isgreaterequal_test): Likewise.
27510 (isless_test): Likewise.
27511 (islessequal_test): Likewise.
27512 (islessgreater_test): Likewise.
27513 (isunordered_test): Likewise.
27514 (main): Call the new functions.
27516 2012-10-09 Roland McGrath <roland@hack.frob.com>
27518 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
27519 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
27520 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
27521 * sysdeps/i386/configure: Regenerated.
27522 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
27523 * sysdeps/mach/configure: Regenerated.
27524 * sysdeps/mach/hurd/configure: Regenerated.
27525 * sysdeps/powerpc/configure: Regenerated.
27526 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27527 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27528 * sysdeps/s390/s390-32/configure: Regenerated.
27529 * sysdeps/s390/s390-64/configure: Regenerated.
27530 * sysdeps/sh/configure: Regenerated.
27531 * sysdeps/sparc/configure: Regenerated.
27532 * sysdeps/unix/sysv/linux/configure: Regenerated.
27533 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27534 * sysdeps/x86_64/configure: Regenerated.
27536 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
27537 defined. Don't check if MAP is NULL.
27539 2012-10-09 Joseph Myers <joseph@codesourcery.com>
27541 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
27542 (_G_stat64): Likewise.
27543 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
27544 (_G_stat64): Likewise.
27545 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
27546 instead of struct _G_stat64.
27547 * libio/fileops.c (mmap_remap_check): Likewise.
27548 (decide_maybe_mmap): Likewise.
27549 (_IO_new_file_seekoff): Likewise.
27550 (_IO_file_stat): Likewise.
27551 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
27553 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
27554 instead of struct _G_stat64.
27555 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27557 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
27560 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27562 (CHECK_EOL): New macro.
27563 (two_way_short_needle): Check beginning of haystack for EOL. Use
27565 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27566 Replace with CHECK_EOL.
27567 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27568 Replace with CHECK_EOL.
27570 2012-10-08 Joseph Myers <joseph@codesourcery.com>
27572 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
27574 * math/libm-test.inc: Update comment listing what functions and
27576 (finite_test): New function.
27577 (isinf_test): Likewise.
27578 (isnan_test): Likewise.
27579 (fpclassify_test): Test subnormal input.
27580 (isfinite_test): Likewise.
27581 (isnormal_test): Likewise.
27582 (main): Call the new functions.
27584 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
27587 * Makerules (%.dynsym): Force C locale when running
27588 $(OBJDUMP) --dynamic-syms.
27590 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
27592 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
27595 2012-10-06 David S. Miller <davem@davemloft.net>
27597 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
27598 upper 32-bits of the length value in %o2 since we use branch-on-register
27599 tests which consider the entire 64-bit register.
27601 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
27603 * string/test-strstr.c (check2): Add a test for page boundary.
27605 2012-10-05 David S. Miller <davem@davemloft.net>
27607 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
27608 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
27610 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27612 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27613 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
27614 and bzero when HWCAP_SPARC_CRYPTO is present.
27616 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
27619 * string/test-strstr.c (check2): New function.
27620 (test_main): Call check2.
27622 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
27624 * string/bug-strcasestr1.c (do_test): Moved to ...
27625 * string/test-strcasestr.c (check1): Here. New function.
27626 (do_one_test): Break out result checking code into ...
27627 (check_result): This. New function.
27628 (do_one_test): Call check_result.
27629 (test_main): Call check1.
27630 * string/bug-strchr1.c (do_test): Moved to ...
27631 * string/test-strchr.c (check1): Here. New function.
27632 (do_one_test): Break out result checking code into ...
27633 (check_result): This. New function.
27634 (do_one_test): Call check_result.
27635 (test_main): Call check1.
27636 * string/bug-strstr1.c (main): Moved to ...
27637 * string/test-strstr.c (check1): Here. New function.
27638 (do_one_test): Break out result checking code into ...
27639 (check_result): This. New function.
27640 (do_one_test): Call check_result.
27641 (test_main): Call check1.
27642 * string/bug-strcasestr1.c: Removed.
27643 * string/bug-strchr1.c: Likewise.
27644 * string/bug-strstr1.c: Likewise.
27646 * elf/Makefile (dl-routines): Add hwcaps.
27647 * elf/dl-support.c (_dl_important_hwcaps): Removed.
27648 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
27649 (_dl_important_hwcaps): Moved to ...
27650 * elf/dl-hwcaps.c: Here. New file.
27651 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
27654 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
27655 if IS_IN_rtld isn't defined.
27657 * elf/dl-support.c (_dl_sysinfo_map): New.
27658 Include "get-dynamic-info.h" and "setup-vdso.h".
27659 (_dl_non_dynamic_init): Call setup_vdso.
27660 * elf/dynamic-link.h: Don't include <assert.h>.
27661 (elf_get_dynamic_info): Moved to ...
27662 * elf/get-dynamic-info.h: Here. New file.
27663 * elf/dynamic-link.h: Include "get-dynamic-info.h".
27664 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
27665 * elf/setup-vdso.h: Here. New file.
27666 * elf/rtld.c: Include "setup-vdso.h".
27667 (dl_main): Call setup_vdso.
27669 2012-10-05 Joseph Myers <joseph@codesourcery.com>
27671 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
27672 creal in comment listing functions tested. List finite, isinf,
27673 isnan, isless, islessequal, isgreater, isgreaterequal,
27674 islessgreater, isunordered, lgamma_r and pow10 as functions and
27675 macros not tested. Mention which functions not tested are aliases
27676 for other functions. Fix typo. Note that signs of NaNs are not
27679 * scripts/config.guess: Update from config.git.
27680 * scripts/config.sub: Likewise.
27682 2012-10-04 Roland McGrath <roland@hack.frob.com>
27684 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
27685 * misc/madvise.c (madvise): Renamed to __madvise.
27686 Make madvise a weak alias.
27687 * include/sys/mman.h: Declare __madvise.
27688 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
27689 * sysdeps/unix/syscalls.list
27690 (madvise): Make __madvise the strong name, and madvise a weak alias.
27691 * sysdeps/unix/sysv/linux/syscalls.list
27692 (madvise, mmap): Remove redundant entries.
27693 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
27694 * malloc/malloc.c (mtrim): Likewise.
27695 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
27697 2012-10-03 Roland McGrath <roland@hack.frob.com>
27699 * sysdeps/mach/hurd/dl-cache.c: File removed.
27700 * config.h.in (USE_LDCONFIG): New #undef.
27701 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
27702 * configure: Regenerated.
27703 * elf/Makefile (dl-routines): Add dl-cache only under
27704 [$(use-ldconfig) = yes].
27705 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
27706 cache on [USE_LDCONFIG].
27707 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
27709 * elf/rtld.c (dl_main): Likewise.
27711 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
27713 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
27714 _SC_LEVEL4_CACHE_LINESIZE.
27716 2012-10-03 Roland McGrath <roland@hack.frob.com>
27718 * sysdeps/unix/bsd/confstr.h: File removed.
27720 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
27722 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
27725 2012-10-02 Roland McGrath <roland@hack.frob.com>
27727 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
27728 Make 'mapoff' field ElfW(Off) rather than off_t.
27730 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
27732 * nscd/Makefile: Remove nscd-cflags and all its users.
27733 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
27734 (CFLAGS-nonlib): Add compiler flags for nscd modules.
27737 * malloc.c (malloc_printerr): Clarify error message.
27739 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
27742 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27743 Set bit_FMA_Usable if FMA is supported.
27744 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
27746 (bit_FMA4_Usable): Updated.
27747 (index_FMA_Usable): New macro.
27748 (CPUID_FMA): Likewise
27749 (HAS_FMA): Defined with bit_FMA_Usable.
27751 2012-10-01 Roland McGrath <roland@hack.frob.com>
27753 * bits/types.h (__swblk_t): Type removed.
27754 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
27755 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
27756 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27757 (__SWBLK_T_TYPE): Likewise.
27758 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27759 (__SWBLK_T_TYPE): Likewise.
27760 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27761 (__SWBLK_T_TYPE): Likewise.
27762 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27763 (__SWBLK_T_TYPE): Likewise.
27765 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
27766 Honza Horak <hhorak@redhat.com>
27768 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
27769 (xdr_mapname): Use YPMAXMAP as maxsize.
27770 (xdr_peername): Use YPMAXPEER as maxsize.
27771 (xdr_keydat): Use YPAXRECORD as maxsize.
27772 (xdr_valdat): Use YPMAXRECORD as maxsize.
27774 2012-10-01 Roland McGrath <roland@hack.frob.com>
27776 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
27778 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
27779 * csu/init-first.c: ... here.
27780 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
27781 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27782 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27783 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27784 * sysdeps/i386/init-first.c: File removed.
27785 * sysdeps/sh/init-first.c: File removed.
27787 2012-10-01 Joseph Myers <joseph@codesourcery.com>
27790 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
27791 if x * y might underflow to zero and z is zero.
27792 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27793 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27794 * math/libm-test.inc (min_subnorm_value): New variable.
27795 (fma_test): Add more tests.
27796 (fma_test_towardzero): Likewise.
27797 (fma_test_downward): Likewise
27798 (fma_test_upward): Likewise.
27799 (initialize): Set min_subnorm_value.
27801 2012-09-29 Joseph Myers <joseph@codesourcery.com>
27804 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
27806 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
27807 mode for addition resulting in exact zero.
27808 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
27809 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
27811 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27812 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27813 * math/libm-test.inc (fma_test): Add more tests.
27814 (fma_test_towardzero): New function.
27815 (fma_test_downward): Likewise.
27816 (fma_test_upward): Likewise.
27817 (main): Call the new functions.
27819 2012-09-28 David S. Miller <davem@davemloft.net>
27821 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
27823 2012-09-28 Roland McGrath <roland@hack.frob.com>
27825 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
27826 instead of SIGALRM.
27828 * sysdeps/gnu/_G_config.h: Moved to ...
27829 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
27830 * sysdeps/mach/hurd/_G_config.h: Moved to ...
27831 * sysdeps/generic/_G_config.h: ... here.
27833 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
27835 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
27837 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
27838 Conditionalize target on [libnss_test1.so-version].
27840 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
27842 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
27843 (elfobjdir): Move out of conditionals.
27845 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
27846 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
27847 (__nss_lookup_function): Conditionalize label remove_from_tree on
27848 [!DO_STATIC_NSS || SHARED], matching its only use.
27850 2012-09-28 David S. Miller <davem@davemloft.net>
27852 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
27853 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
27855 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27857 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27858 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
27859 when HWCAP_SPARC_CRYPTO is present.
27861 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27863 * io/tst-mknodat.c: Create a FIFO instead of a socket.
27865 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
27868 * stdio-common/vfprintf.c (process_string_arg): Revert
27871 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
27873 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
27875 * stdio-common/tst-sprintf.c: Include <locale.h>
27876 (main): Test sprintf's handling of incomplete multibyte
27879 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
27881 * elf/dl-runtime.c (VERSYMIDX): Removed.
27882 * elf/dl-version.c (VERSYMIDX): Likewise.
27883 * elf/do-rel.h (VERSYMIDX): Likewise.
27884 (VALIDX): Likewise.
27885 * elf/dynamic-link.h (VERSYMIDX): Likewise.
27886 * elf/rtld.c (VALIDX): Likewise.
27887 (ADDRIDX): Likewise.
27888 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
27889 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
27890 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
27891 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
27892 (VALIDX): Likewise.
27893 (ADDRIDX): Likewise.
27895 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27897 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
27899 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
27902 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
27904 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
27905 addresses are in the same scope as 192.0.2/24.
27906 * posix/gai.conf: Document new scope table defaults.
27908 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27911 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
27912 for ftell. Compute offsets from write pointers instead.
27913 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27915 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27918 * libio/Makefile (tests): New test case tst-fseek.
27919 * libio/tst-fseek.c: New test case to verify that fseek/ftell
27920 combination works in wide mode.
27921 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
27922 state when the external buffer state changes.
27924 2012-09-27 David S. Miller <davem@davemloft.net>
27927 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
27928 pass reloc->r_addend in as the 'high' argument to
27929 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
27931 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27933 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27935 * rt/tst-aio2.c: Include <pthread.h>.
27936 * rt/tst-aio3.c: Likewise.
27938 2012-09-27 Steve Ellcey <sellcey@mips.com>
27940 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
27942 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
27944 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
27945 contents on [SHARED].
27947 2012-09-26 Marek Polacek <polacek@redhat.com>
27951 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
27952 for C++ and GCC <4.3 as well as for non GCC compilers.
27954 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27956 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27958 2012-09-25 Roland McGrath <roland@hack.frob.com>
27960 * Makefile.in (all, install): Declare with .PHONY.
27961 Reported by Michael Hope <michael.hope@linaro.org>.
27963 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27965 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
27966 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
27968 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
27970 (sydep_routines): Add the new and the internal functions.
27971 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
27972 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
27974 (GLIBC_2.17): Add the new function.
27975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27976 (GLIBC_2.17): Likewise.
27977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
27978 (GLIBC_2.17): Likewise.
27979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
27980 (GLIBC_2.17): Likewise.
27981 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
27983 2012-09-25 Alan Modra <amodra@gmail.com>
27985 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
27986 Add release barrier before setting once_control to say
27987 initialisation is done. Add hints on lwarx. Use macro in
27989 (clear_once_control): Add release barrier.
27991 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27994 * math/s_clog.c (__clog): Handle more values close to |z| = 1
27996 * math/s_clog10.c (__clog10): Likewise.
27997 * math/s_clog10f.c (__clog10f): Likewise.
27998 * math/s_clog10l.c (__clog10l): Likewise.
27999 * math/s_clogf.c (__clogf): Likewise.
28000 * math/s_clogl.c (__clogl): Likewise.
28001 * math/Makefile (libm-calls): Add x2y2m1.
28002 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28003 (__x2y2m1): Likewise.
28004 (__x2y2m1l): Likewise.
28005 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28006 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28007 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28008 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28009 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28010 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28011 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28012 * sysdeps/i386/fpu/libm-test-ulps: Update.
28013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28016 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28017 int as type of variable DEPTH.
28018 (glob): Use size_t instead of int as type of variables NEWCOUNT
28021 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28023 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28024 Add s_sincosf-sse2.
28025 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28026 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28027 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28028 macros for using routine as __sincosf_ia32.
28029 Use macro for function declaration and weak_alias.
28030 * sysdeps/i386/fpu/libm-test-ulps: Update.
28032 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28033 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28035 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
28036 subnormal argument.
28037 * math/s_cexpf.c (__cexpf): Likewise.
28038 * math/s_csinf.c (__csinf): Likewise.
28039 * math/s_csinhf.c (__csinhf): Likewise.
28040 * math/s_ctanf.c (__ctanf): Likewise.
28041 * math/s_ctanhf.c (__ctanhf): Likewise.
28042 * math/s_ccosh.c (__ccoshf): Likewise.
28043 * math/s_cexp.c (__cexpl): Likewise.
28044 * math/s_csin.c (__csin): Likewise.
28045 * math/s_csinh.c (__csinh): Likewise.
28046 * math/s_ctan.c (__ctan): Likewise.
28047 * math/s_ctanh.c (ctanh): Likewise.
28048 * math/s_ccoshl.c (__ccoshl): Likewise.
28049 * math/s_cexpl.c (__cexpl): Likewise.
28050 * math/s_csinl.c (__csinl): Likewise.
28051 * math/s_csinhl.c (__csinhl): Likewise.
28052 * math/s_ctanl.c (__ctanl): Likewise.
28053 * math/s_ctanhl.c (__ctanhl): Likewise.
28055 2012-09-25 Joseph Myers <joseph@codesourcery.com>
28057 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28058 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28059 (_IO_off_t): Define to __off_t, not _G_off_t.
28060 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28061 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28062 (_IO_wint_t): Define to wint_t, not _G_wint_t.
28063 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28064 type of __dummy and __dummy2 fields.
28065 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28066 (_G_ssize_t): Likewise.
28067 (_G_off_t): Likewise.
28068 (_G_pid_t): Likewise.
28069 (_G_uid_t): Likewise.
28070 (_G_wchar_t): Likewise.
28071 (_G_wint_t): Likewise.
28072 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
28073 (_G_ssize_t): Likewise.
28074 (_G_off_t): Likewise.
28075 (_G_pid_t): Likewise.
28076 (_G_uid_t): Likewise.
28077 (_G_wchar_t): Likewise.
28078 (_G_wint_t): Likewise.
28079 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
28080 (_G_ssize_t): Likewise.
28081 (_G_off_t): Likewise.
28082 (_G_pid_t): Likewise.
28083 (_G_uid_t): Likewise.
28084 (_G_wchar_t): Likewise.
28085 (_G_wint_t): Likewise.
28087 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28089 * malloc/arena.c: Include malloc-sysdep.h.
28090 (shrink_heap): Use check_may_shrink_heap to decide if madvise
28091 is sufficient to shrink the heap or an unmap is needed.
28092 * sysdeps/generic/malloc-sysdep.h: New file. Define
28093 new function check_may_shrink_heap.
28094 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
28095 new function check_may_shrink_heap.
28097 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28099 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
28102 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
28104 * catgets/test-gencat.sh: Add "set -e".
28105 * elf/tst-pathopt.sh: Likewise.
28106 * grp/tst_fgetgrent.sh: Likewise.
28107 * iconvdata/run-iconv-test.sh: Likewise.
28108 * intl/tst-gettext.sh: Likewise.
28109 * intl/tst-gettext2.sh: Likewise.
28110 * intl/tst-gettext4.sh: Likewise.
28111 * intl/tst-gettext6.sh: Likewise.
28112 * intl/tst-translit.sh: Likewise.
28113 * io/ftwtest-sh: Likewise.
28114 * libio/test-freopen.sh: Likewise.
28115 * malloc/tst-mtrace.sh: Likewise.
28116 * posix/globtest.sh: Likewise.
28117 * posix/tst-getconf.sh: Likewise.
28118 * posix/wordexp-tst.sh: Likewise.
28119 * stdio-common/tst-printf.sh: Likewise.
28120 * stdio-common/tst-unbputc.sh: Likewise.
28121 * stdlib/tst-fmtmsg.sh: Likewise.
28122 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28123 * catgets/Makefile: Do not specify -e option when running
28124 testsuite shell scripts.
28125 * elf/Makefile: Likewise.
28126 * grp/Makefile: Likewise.
28127 * iconvdata/Makefile: Likewise.
28128 * intl/Makefile: Likewise.
28129 * io/Makefile: Likewise.
28130 * libio/Makefile: Likewise.
28131 * malloc/Makefile: Likewise.
28132 * posix/Makefile: Likewise.
28133 * stdio-common/Makefile: Likewise.
28134 * stdlib/Makefile: Likewise.
28135 * sysdeps/x86_64/Makefile: Likewise.
28137 * io/ftwtest-sh: Add copyright header.
28138 * posix/globtest.sh: Likewise.
28139 * posix/tst-getconf.sh: Likewise.
28140 * posix/wordexp-tst.sh: Likewise.
28141 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28143 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
28146 * Makeconfig (+link): Defined as $(+link-static) if
28147 $(build-shared) isn't yes.
28148 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
28150 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
28152 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
28155 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
28156 new chunk size with MALLOC_ALIGN_MASK.
28158 2012-09-24 Joseph Myers <joseph@codesourcery.com>
28161 * stdio-common/printf_fphex.c: Include <stdbool.h> and
28163 (__printf_fphex): Determine rounding using get_rounding_mode and
28165 * stdio-common/tst-printf-round.c (struct hex_test): New
28167 (hex_tests): New variable.
28168 (test_hex_in_one_mode): New function.
28169 (do_test): Also run tests for hex float output.
28171 2012-09-21 Joseph Myers <joseph@codesourcery.com>
28173 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28174 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28175 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
28176 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28177 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28178 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
28179 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28180 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28182 2012-09-20 Joseph Myers <joseph@codesourcery.com>
28184 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
28185 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
28186 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
28187 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
28189 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
28192 * elf/rtld.c (dl_main): Limit the check for self loading to normal
28194 * elf/tst-rtld-load-self.sh: New test.
28195 * elf/Makefile: Run it.
28197 2012-09-18 Joseph Myers <joseph@codesourcery.com>
28199 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
28200 (tst-writev-ENV): Remove.
28201 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
28203 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
28205 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
28207 2012-09-17 Joseph Myers <joseph@codesourcery.com>
28209 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
28211 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
28213 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
28214 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
28215 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
28218 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
28221 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
28222 * config.make.in (have-cpp-asm-debuginfo): Removed.
28223 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
28224 * configure: Regenerated.
28226 2012-09-14 Joseph Myers <joseph@codesourcery.com>
28229 * stdio-common/printf_fp.c: Include <stdbool.h> and
28231 (___printf_fp): Determine rounding using get_rounding_mode and
28233 * stdio-common/tst-printf-round.c: New file.
28234 * stdio-common/Makefile (tests): Add tst-printf-round.
28235 (link-libm): New variable.
28236 ($(objpfx)tst-printf-round): Depend in $(link-libm).
28238 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
28241 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
28242 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
28244 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
28247 2012-09-13 Joseph Myers <joseph@codesourcery.com>
28249 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
28250 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28251 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28252 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28254 2012-09-12 Joseph Myers <joseph@codesourcery.com>
28257 * include/rounding-mode.h: New file.
28258 * sysdeps/generic/get-rounding-mode.h: Likewise.
28259 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
28260 * stdlib/strtod_l.c: Include <rounding-mode.h>.
28261 (MAX_VALUE): New macro.
28262 (MIN_VALUE): Likewise.
28263 (overflow_value): New function.
28264 (underflow_value): Likewise.
28265 (round_and_return): Use overflow_value and underflow_value to
28266 determine return values in overflow and underflow cases. Use
28267 round_away to determine rounding depending on rounding mode.
28268 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
28269 determine return values in overflow and underflow cases.
28270 * stdlib/tst-strtod-round.c: Include <fenv.h>.
28271 (struct test_results): New structure.
28272 (struct test): Use struct test_results to store expected results
28273 for all rounding modes.
28274 (TEST): Include expected results for all rounding modes.
28275 (test_in_one_mode): New function.
28276 (do_test): Use test_in_one_mode to compute and check results.
28277 Check results for all rounding modes.
28278 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
28281 2012-12-09 Allan McRae <allan@archlinux.org>
28283 * sysdeps/i386/fpu/libm-test-ulps: Update
28285 2012-09-11 Joseph Myers <joseph@codesourcery.com>
28287 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
28288 (_G_int32_t): Likewise.
28289 (_G_uint16_t): Likewise.
28290 (_G_uint32_t): Likewise.
28291 (_G_HAVE_BOOL): Likewise.
28292 (_G_HAVE_ATEXIT): Likewise.
28293 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28294 (_G_HAVE_IO_FILE_OPEN): Likewise.
28295 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
28296 (_G_int32_t): Likewise.
28297 (_G_uint16_t): Likewise.
28298 (_G_uint32_t): Likewise.
28299 (_G_HAVE_BOOL): Likewise.
28300 (_G_HAVE_ATEXIT): Likewise.
28301 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28302 (_G_HAVE_IO_FILE_OPEN): Likewise.
28303 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
28304 (_G_int32_t): Likewise.
28305 (_G_uint16_t): Likewise.
28306 (_G_uint32_t): Likewise.
28307 (_G_HAVE_BOOL): Likewise.
28308 (_G_HAVE_ATEXIT): Likewise.
28309 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28310 (_G_HAVE_IO_FILE_OPEN): Likewise.
28312 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
28314 * csu/libc-tls.c: Update copyright years.
28316 2012-09-10 Joseph Myers <joseph@codesourcery.com>
28318 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
28319 [!_G_USING_THUNKS]: Remove conditional code.
28320 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
28321 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
28323 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
28324 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
28325 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28326 (_G_VTABLE_LABEL_PREFIX): Likewise.
28327 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28328 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28329 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28330 (_G_VTABLE_LABEL_PREFIX): Likewise.
28331 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28332 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28333 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28334 (_G_VTABLE_LABEL_PREFIX): Likewise.
28335 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28337 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
28339 * libio/Makefile: Include ../Makeconfig before tests.
28340 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
28341 only if $(build-shared) is yes.
28343 * iconv/gconv_db.c: Update copyright years.
28345 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28347 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
28348 unwind info if defined PIC. Fix special cases description.
28349 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
28351 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
28353 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
28355 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
28357 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
28359 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
28362 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
28363 (LDLIBS-tst-chk4): This.
28364 (LDFLAGS-tst-chk5): Renamed to ...
28365 (LDLIBS-tst-chk5): This.
28366 (LDFLAGS-tst-chk6): Renamed to ...
28367 (LDLIBS-tst-chk6): This.
28368 (LDFLAGS-tst-lfschk4): Renamed to ...
28369 (LDLIBS-tst-lfschk4): This.
28370 (LDFLAGS-tst-lfschk5): Renamed to ...
28371 (LDLIBS-tst-lfschk5): This.
28372 (LDFLAGS-tst-lfschk6): Renamed to ...
28373 (LDLIBS-tst-lfschk6): This.
28375 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
28376 on $(common-objpfx)soversions.mk.
28378 2012-09-07 Joseph Myers <joseph@codesourcery.com>
28381 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
28384 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28386 * malloc/arena.c (arena_get_retry): New function that gets
28387 another arena for the caller to try its request on.
28388 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
28389 current arena cannot fulfill the request.
28390 (__libc_memalign): Likewise.
28391 (__libc_memalign): Likewise.
28392 (__libc_pvalloc): Likewise.
28393 (__libc_calloc): Likewise.
28395 2012-09-05 John Tobey <john.tobey@gmail.com>
28398 * manual/arith.texi (Operations on Complex): Fix description
28399 of carg branch cut.
28401 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28404 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
28408 * manual/memory.texi (Memory): Make order of menu items match
28411 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28413 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
28414 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
28415 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
28417 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28419 * csu/libc-tls.c (static_dtv): Renamed to ...
28420 (_dl_static_dtv): This. Make it global.
28421 (_dl_initial_dtv): Removed.
28422 (__libc_setup_tls): Updated.
28423 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
28424 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
28427 2012-09-06 Petr Machata <pmachata@redhat.com>
28429 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
28430 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
28431 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
28432 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
28434 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28437 * csu/libc-tls.c (_dl_initial_dtv): New variable.
28438 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
28441 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28444 * Makeconfig (link-static-before-libc): Replace $(+prector)
28446 (link-static-after-libc): Replace $(+postctor) with
28448 (link-bounded): Replace $(+prector)/$(+postctor) with
28449 $(+prectorT)/$(+postctorT).
28450 (+prectorT): New macro.
28451 (+postctorT): Likewise.
28453 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28455 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
28456 (round_str): Handle values above the maximum for IBM long double
28458 * stdlib/tst-strtod-round.c (tests): Regenerated.
28460 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28462 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
28464 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
28465 zarch_nohighgprs around the zarch optimized routines.
28466 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28467 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28468 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
28471 2012-09-05 David S. Miller <davem@davemloft.net>
28473 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28475 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
28476 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
28477 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
28478 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28481 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28483 * malloc/arena.c: Fold copyright years.
28484 * malloc/mcheck.c, malloc/memusage.c: Likewise.
28486 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28488 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
28490 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28492 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
28494 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28496 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
28497 change internal state upon failure.
28499 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28501 * malloc/mcheck.c (mcheck_check_all): Fix typo.
28502 * malloc/memusage.c (mmap): Likewise.
28503 (mmap64, mremap): Likewise. Adjust name in comment.
28505 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28507 * libio/fileops.c: Fix typos in comments.
28508 * libio/oldfileops.c: Likewise.
28509 * libio/wfileops.c: Likewise.
28511 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28514 * malloc/Makefile (tests): Add tst-malloc-usable test case.
28515 (tst-malloc-usable-ENV): Set environment for test case.
28516 * malloc/hooks.c (malloc_check_get_size): New function to get
28518 * malloc/malloc.c (musable): Use malloc_check_get_size.
28519 * malloc/tst-malloc-usable.c: New test case.
28521 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28523 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
28525 2012-09-05 Allan McRae <allan@archlinux.org>
28528 * configure.in (CXX_SYSINCLUDES): Use compiler output to
28529 determine header location.
28530 * configure: Regenerated.
28532 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28534 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
28536 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
28537 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
28539 (test): Regenerate.
28541 2012-09-04 David S. Miller <davem@davemloft.net>
28543 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
28544 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
28545 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
28547 2012-09-04 Florian Weimer <fweimer@redhat.com>
28549 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
28552 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
28554 2012-09-04 Joseph Myers <joseph@codesourcery.com>
28557 * libio/iogetdelim.c: Include <limits.h>.
28558 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
28559 + len + 1 would overflow.
28561 2012-09-03 Andreas Jaeger <aj@suse.de>
28563 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28564 * sysdeps/i386/fpu/libm-test-ulps: Update.
28566 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28568 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28569 Add s_sinf-sse2, s_conf-sse2.
28571 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
28572 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
28573 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
28574 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
28576 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
28577 for using routine as __sinf_ia32.
28578 Use macro for function declaration and weak_alias.
28579 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
28580 for using routine as __cosf_ia32.
28581 Use macro for function declaration and weak_alias.
28583 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
28584 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
28586 * sysdeps/x86_64/fpu/s_sinf.S: New file.
28587 * sysdeps/x86_64/fpu/s_cosf.S: New file.
28588 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28590 * math/libm-test.inc (cos_test): Add more test cases.
28591 (sin_test): Likewise.
28592 (sincos_test): Likewise.
28594 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28596 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
28597 (IFUNC_RESOLVE): Make pointers to the specialized implementations
28599 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28601 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
28604 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
28605 first element of the GOT.
28606 (elf_machine_load_address): Return the difference between
28607 the runtime address of _DYNAMIC and elf_machine_dynamic ().
28609 2012-09-01 Allan McRae <allan@archlinux.org>
28612 * configure.in (AWK): Require gawk version 3.0 or later.
28613 * configure: Regenerated.
28615 2012-09-01 Joseph Myers <joseph@codesourcery.com>
28617 * sysdeps/unix/sysv/linux/kernel-features.h
28618 (__ASSUME_POSIX_CPU_TIMERS): Remove.
28619 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28620 [__NR_clock_getres]: Make code unconditional.
28621 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
28622 (clock_getcpuclockid): Remove code left unreachable by removal of
28624 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
28625 code unconditional.
28626 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28627 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28628 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
28629 Make code unconditional.
28630 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28631 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28632 * sysdeps/unix/sysv/linux/clock_settime.c
28633 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
28635 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
28636 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28638 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
28641 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
28642 scripts/test-installation.pl.
28644 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
28645 and $ld_so_version if it is set.
28647 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28650 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
28651 failure if reading from procfs failed.
28652 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
28654 2012-08-27 Joseph Myers <joseph@codesourcery.com>
28656 * sysdeps/unix/sysv/linux/kernel-features.h
28657 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
28658 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28659 Remove conditional code.
28660 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28661 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
28662 Remove conditional code.
28663 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28664 * sysdeps/unix/sysv/linux/i386/fxstat.c
28665 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28666 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28667 * sysdeps/unix/sysv/linux/i386/fxstatat.c
28668 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28669 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28670 * sysdeps/unix/sysv/linux/i386/lxstat.c
28671 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28672 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28673 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
28674 Remove conditional code.
28675 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28676 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28677 Remove conditional code.
28678 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28679 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
28680 <kernel-features.h>.
28681 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
28683 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
28684 Remove conditional code.
28685 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28686 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
28687 Remove conditional.
28689 2012-08-27 Mike Frysinger <vapier@gentoo.org>
28692 * NEWS: Add fixed bug number.
28694 2012-08-27 Joseph Myers <joseph@codesourcery.com>
28697 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
28698 underflowing exponent in case of negative sign.
28699 * stdlib/tst-strtod-round-data: Add more tests.
28700 * stdlib/tst-strtod-round.c (tests): Regenerated.
28703 * stdlib/strtod_l.c (NDIG): Remove.
28704 (HEXNDIG): Likewise.
28705 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
28706 smallest representable value.
28707 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
28708 lie within an exact representation of 1/2 ulp of the result.
28709 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
28711 (TENS_P9_IDX): Define unconditionally.
28712 (TENS_P9_SIZE): Likewise.
28713 (TENS_P10_IDX): Likewise.
28714 (TENS_P10_SIZE): Likewise.
28715 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
28716 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
28717 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
28718 entries for 10^2^13 and 10^2^14.
28719 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
28720 (TENS_P13_IDX): Define.
28721 (TENS_P13_SIZE): Likewise.
28722 (TENS_P14_IDX): Likewise.
28723 (TENS_P14_SIZE): Likewise.
28724 (_fpioconst_pow10): Change array size to
28725 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
28727 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
28728 1024]: Add entries for 10^2^13 and 10^2^14.
28729 [LAST_POW10 > _LAST_POW10]: Remove #error.
28730 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
28731 (_fpioconst_pow10): Change array size to
28732 FPIOCONST_POW10_ARRAY_SIZE.
28733 * stdlib/gen-fpioconst.c: New file.
28734 * stdlib/gen-tst-strtod-round.c: Likewise.
28735 * stdlib/tst-strtod-round-data: Likewise.
28736 * stdlib/tst-strtod-round.c: Likewise.
28737 * stdlib/Makefile (tests): Add tst-strtod-round.
28740 * stdlib/strtod_l.c: Include <stdint.h>.
28741 (NDEBUG): Do not define.
28742 (round_and_return): Change EXPONENT parameter to type intmax_t.
28743 Rearrange calculations to avoid internal overflow possibilities.
28744 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
28745 Rearrange calculations to avoid internal overflow possibilities.
28746 Assert that number fits inside MPNSIZE limbs.
28747 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
28748 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
28749 calculations and add assertions to avoid internal overflow
28750 possibilities. Add casts to avoid signed/unsigned operations.
28751 * stdlib/tst-strtod-overflow.c: New file.
28752 * stdlib/Makefile (tests): Add tst-strtod-overflow.
28754 2012-08-25 Marek Polacek <polacek@redhat.com>
28756 * time/time.h: Fix some typos in comments.
28758 2012-08-23 Roland McGrath <roland@hack.frob.com>
28760 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
28761 * posix/tst-rfc3484-2.c: Likewise.
28762 * posix/tst-rfc3484-3.c: Likewise.
28764 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
28766 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
28767 (EF_ARM_ABI_FLOAT_HARD): Likewise.
28769 2012-08-23 Joseph Myers <joseph@codesourcery.com>
28771 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
28772 #include of fxstatat64.c.
28774 2012-08-22 Roland McGrath <roland@hack.frob.com>
28776 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
28777 * shadow/getspent_r.c: Likewise.
28778 * shadow/getspnam.c: Likewise.
28779 * shadow/getspnam_r.c: Likewise.
28780 * gshadow/getsgent.c: Likewise.
28781 * gshadow/getsgent_r.c: Likewise.
28782 * gshadow/getsgnam.c: Likewise.
28783 * gshadow/getsgnam_r.c: Likewise.
28784 * inet/getnetbyad.c: Likewise.
28785 * inet/getnetbyad_r.c: Likewise.
28786 * inet/getnetbynm.c: Likewise.
28787 * inet/getnetbynm_r.c: Likewise.
28788 * inet/getnetent.c: Likewise.
28789 * inet/getnetent_r.c: Likewise.
28790 * inet/getproto.c: Likewise.
28791 * inet/getproto_r.c: Likewise.
28792 * inet/getprtent.c: Likewise.
28793 * inet/getprtent_r.c: Likewise.
28794 * inet/getprtname.c: Likewise.
28795 * inet/getprtname_r.c: Likewise.
28796 * inet/getrpcbyname.c: Likewise.
28797 * inet/getrpcbyname_r.c: Likewise.
28798 * inet/getrpcbynumber.c: Likewise.
28799 * inet/getrpcbynumber_r.c: Likewise.
28800 * inet/getrpcent.c: Likewise.
28801 * inet/getrpcent_r.c: Likewise.
28802 * inet/getaliasent.c: Likewise.
28803 * inet/getaliasent_r.c: Likewise.
28804 * inet/getaliasname.c: Likewise.
28805 * inet/getaliasname_r.c: Likewise.
28806 * nscd/getgrgid_r.c: Likewise.
28807 * nscd/getgrnam_r.c: Likewise.
28808 * nscd/gethstbyad_r.c: Likewise.
28809 * nscd/gethstbynm3_r.c: Likewise.
28810 * nscd/getpwnam_r.c: Likewise.
28811 * nscd/getpwuid_r.c: Likewise.
28812 * nscd/getsrvbynm_r.c: Likewise.
28813 * nscd/getsrvbypt_r.c: Likewise.
28814 * nscd/gai.c: Likewise.
28816 * configure.in (build_nscd): New substituted variable, set
28817 by --disable-build-nscd and defaults to $use_nscd.
28818 * configure: Regenerated.
28819 * config.make.in (build-nscd): New substituted variable.
28820 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
28821 Change conditional to require [$(build-nscd) = yes] as well.
28822 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
28825 * configure.in (use_nscd): New substituted variable, set by
28826 --disable-nscd. If enabled, define USE_NSCD.
28827 * configure: Regenerated.
28828 * config.h.in: Add USE_NSCD.
28829 * config.make.in (use-nscd): New substituted variable.
28830 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
28831 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
28832 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
28833 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
28834 (CFLAGS-getgrnam_r.c): Likewise.
28835 (CFLAGS-initgroups.c): Likewise.
28836 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
28837 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
28839 * inet/getnetgrent_r.c
28840 (nscd_setnetgrent): New function, broken out of ...
28841 (setnetgrent): ... here. Call it.
28842 (innetgr): Conditionalize nscd bits on [USE_NSCD].
28843 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
28844 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
28845 * nscd/Makefile (routines, aux): Move definitions after include of
28846 Makeconfig. Conditionalize on [$(use-nscd) != no].
28847 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
28848 Conditionalize on [USE_NSCD].
28849 (is_nscd, nscd_init_cb): Likewise.
28850 (nss_load_library): Conditionalize init callback on [USE_NSCD].
28851 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
28852 * nss/nss_db/db-init.c: Likewise.
28853 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
28855 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
28856 (make_request): Use it.
28857 (cache_valid_p): New function.
28858 (__check_pf): Use it.
28859 * NEWS: Add item for --disable-nscd.
28861 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
28863 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
28864 to support sed >= 4.2.1-20-ga9bf076.
28865 * configure: Regenerated.
28867 2012-08-22 Roland McGrath <roland@hack.frob.com>
28869 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
28870 Conditionalize whole body on [IREL].
28872 2012-08-22 Jeff Law <law@redhat.com>
28875 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
28876 if the family is PF_UNSPEC.
28878 2012-08-22 Mike Frysinger <vapier@gentoo.org>
28880 * Makerules (lib-version): Rename from V.
28881 (install-lib-nosubdir): Change V to lib-version.
28883 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
28886 * powerpc32/power6/wcschr.c: New file.
28887 * powerpc32/power6/wcscpy.c: New file.
28888 * powerpc32/power6/wcsrchr.c: New file.
28889 * powerpc64/power6/wcschr.c: New file.
28890 * powerpc64/power6/wcscpy.c: New file.
28891 * powerpc64/power6/wcsrchr.c: New file.
28893 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28895 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
28896 (two_way_short_needle): Use it.
28897 * string/strstr.c (AVAILABLE1_USES_J): Define.
28898 * string/strcasestr.c: Likewise.
28900 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
28902 * string/strcasestr.c (TOLOWER): Make side-effect safe.
28905 * NEWS: Add an entry.
28906 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
28907 define their defaults.
28908 (two_way_short_needle): Detect end-of-string on-the-fly.
28909 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
28910 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
28911 * string/bug-strcasestr1.c: New test.
28912 * string/Makefile: Run it.
28914 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28917 * string/str-two-way.h (two_way_short_needle): Optimize matching of
28918 the first character.
28920 2012-08-21 Roland McGrath <roland@hack.frob.com>
28922 * csu/elf-init.c (__libc_csu_irel): Function removed.
28923 * csu/libc-start.c (apply_irel): New function.
28924 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
28926 2012-08-21 Joseph Myers <joseph@codesourcery.com>
28928 * sysdeps/unix/sysv/linux/kernel-features.h
28929 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
28930 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28931 <kernel-features.h>.
28932 [__NR_fadvise64_64]: Make code unconditional.
28933 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
28934 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28935 !__NR_fadvise64_64)]: Likewise.
28936 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28937 !__NR_fadvise64_64))]: Likewise.
28938 [__NR_fadvise64]: Make code unconditional.
28939 [!__NR_fadvise64]: Remove conditional code.
28940 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
28941 <kernel-features.h>.
28942 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28944 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
28947 not include <kernel-features.h>.
28948 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28950 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28952 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
28953 include <kernel-features.h>.
28954 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28956 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28959 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28961 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
28962 slight instruction rearrangements per scrollpipe analysis.
28963 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28965 2012-08-20 Roland McGrath <roland@hack.frob.com>
28967 * manual/syslog.texi (syslog; vsyslog, closelog):
28968 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
28969 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
28971 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
28972 DSOCAPS to match condition on defining it.
28974 2012-08-20 Joseph Myers <joseph@codesourcery.com>
28976 * sysdeps/unix/sysv/linux/kernel-features.h
28977 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
28978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
28979 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28980 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
28982 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28983 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
28985 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28986 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28988 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
28989 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
28991 * sysdeps/unix/sysv/linux/kernel-features.h
28992 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
28993 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
28995 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28996 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
28997 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28998 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28999 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29000 Make code unconditional.
29001 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29002 (__mmap64) [!__NR_mmap2]: Likewise.
29003 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29004 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29005 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29006 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29007 [__NR_mmap2]: Make code unconditional.
29008 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29009 (__mmap64) [!__NR_mmap2]: Likewise.
29011 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29013 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29015 2012-08-18 Andreas Jaeger <aj@suse.de>
29017 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29019 2012-08-18 Mike Frysinger <vapier@gentoo.org>
29021 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29022 * include/unistd.h (__have_sock_cloexec): Likewise.
29023 (__have_pipe2): Likewise.
29024 (__have_dup3): Likewise.
29026 2012-08-18 Mike Frysinger <vapier@gentoo.org>
29029 * include/unistd.h (__have_pipe2): Change define into an extern int.
29030 (__have_dup3): Likewise.
29031 * socket/have_sock_cloexec.c: Include fcntl.h.
29032 (__have_pipe2): New variable.
29033 (__have_dup3): Likewise.
29035 2012-08-17 Mike Frysinger <vapier@gentoo.org>
29037 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29039 2012-08-17 Marek Polacek <polacek@redhat.com>
29041 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29042 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29044 2012-08-17 Roland McGrath <roland@hack.frob.com>
29046 * configure.in: Add AC_SUBST for sysheaders.
29047 * configure: Regenerated.
29048 * config.make.in (sysheaders): New substituted variable.
29050 * sysdeps/unix/mkfifo.c: Moved ...
29051 * sysdeps/posix/mkfifo.c: ... here.
29052 * sysdeps/unix/mkfifoat.c: Moved ...
29053 * sysdeps/posix/mkfifoat.c: ... here.
29055 * sysdeps/unix/utime.c: Moved ...
29056 * sysdeps/posix/utime.c: ... here.
29058 * sysdeps/unix/time.c: Moved ...
29059 * sysdeps/posix/time.c: ... here.
29060 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29061 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
29063 * sysdeps/unix/nice.c: Moved ...
29064 * sysdeps/posix/nice.c: ... here.
29066 * sysdeps/unix/alarm.c: Moved ...
29067 * sysdeps/posix/alarm.c: ... here.
29069 * intl/Makefile ($(codeset_mo)): Depend on the input file.
29071 2012-08-17 Jeff Law <law@redhat.com>
29073 * intl/Makefile (codeset_mo): New variable.
29074 ($(codeset_mo)): New target.
29075 (tst-codeset.out): Depend on that. Remove explicit rule.
29076 (tst-gettext3.out, tst-gettext5.out): Likewise.
29077 (LOCPATH-ENV, tst-codeset-ENV): New variables.
29078 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29079 * intl/tst-codeset.sh: Remove.
29080 * intl/tst-gettext3.sh: Likewise.
29081 * intl/tst-gettext5.sh: Likewise.
29083 2012-08-17 Roland McGrath <roland@hack.frob.com>
29085 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
29086 * sysdeps/unix/syscalls.list: ... here.
29088 * sysdeps/posix/getaddrinfo.c
29089 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29090 (gaiconf_init, gaiconf_reload): Use them.
29091 [!_STATBUF_ST_NSEC]
29092 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29093 Define using time_t rather than struct timespec.
29095 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
29096 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
29098 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29100 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
29101 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
29104 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
29105 __libc_cleanup_push argument.
29107 * bits/param.h: New file.
29108 * misc/sys/param.h: New file.
29109 * include/sys/param.h: New file.
29110 * misc/Makefile (headers): Add bits/param.h.
29111 * sysdeps/generic/sys/param.h: File removed.
29112 * sysdeps/unix/sysv/linux/bits/param.h: New file.
29113 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
29114 * sysdeps/mach/hurd/bits/param.h: New file.
29115 * sysdeps/mach/hurd/sys/param.h: File removed.
29117 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
29120 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
29122 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
29123 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
29126 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
29127 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
29128 rather than -D_IO_MTSAFE_IO conditionally.
29129 * stdio-common/Makefile (CPPFLAGS): Likewise.
29130 * wcsmbs/Makefile (CPPFLAGS): Likewise.
29131 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
29132 Use $(libio-mtsafe).
29133 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
29134 of -D_IO_MTSAFE_IO.
29135 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
29136 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
29137 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
29138 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
29139 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
29140 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
29141 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
29142 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
29143 (CFLAGS-fread_u_chk.c): Likewise.
29144 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
29145 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
29146 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
29147 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
29148 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
29149 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
29150 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
29151 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
29152 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
29154 * libio/Makefile: Test [$(libc-reentrant) = yes]
29155 instead of [$(filter %REENTRANT, $(defines)) nonempty].
29158 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
29159 * sysdeps/pthread/configure: File removed.
29160 * sysdeps/pthread/Makeconfig: New file.
29161 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
29162 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
29164 2012-08-16 Gary Benson <gbenson@redhat.com>
29166 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
29167 unmapping the first object in a namespace.
29169 2012-08-16 Roland McGrath <roland@hack.frob.com>
29171 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
29172 (__internal_setnetgrent): ... this. Add internal_function to
29173 definition. Add libc_hidden_def.
29174 (setnetgrent): Update caller.
29175 (internal_endnetgrent): Renamed to ...
29176 (__internal_endnetgrent): ... this. Add internal_function to
29177 definition. Add libc_hidden_def.
29178 (endnetgrent): Update caller.
29179 (internal_getnetgrent_r): Renamed to ...
29180 (__internal_getnetgrent_r): ... this. Add internal_function to
29181 definition. Add libc_hidden_def.
29182 (__getnetgrent_r): Update caller.
29183 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
29185 2012-08-16 Joseph Myers <joseph@codesourcery.com>
29187 * stdlib/longlong.h: Update from GCC.
29189 2012-08-16 Roland McGrath <roland@hack.frob.com>
29191 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
29192 on _QL, which is set by umul_ppmm but never used.
29193 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
29194 variables, which are set by GMP macros but never used.
29195 * stdio-common/_itowa.c (_itowa): Likewise.
29196 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
29197 * stdlib/mod_1.c (mpn_mod_1): Likewise.
29199 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
29201 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
29202 struct La_sh_regs is not constant.
29203 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
29204 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
29205 and struct La_sparc64_regs are not constant.
29207 2012-08-16 Joseph Myers <joseph@codesourcery.com>
29209 * sysdeps/unix/sysv/linux/kernel-features.h
29210 (__ASSUME_POSIX_TIMERS): Remove.
29211 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29212 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29213 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
29214 Make code unconditional.
29215 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29216 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
29217 Make code unconditional.
29218 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29219 * sysdeps/unix/sysv/linux/clock_nanosleep.c
29220 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
29221 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29222 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
29223 Make code unconditional.
29224 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29225 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
29226 (__libc_missing_posix_timers): Remove.
29228 2012-08-15 Roland McGrath <roland@hack.frob.com>
29230 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
29231 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
29233 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
29235 * elf/dl-sym.c: Include <stdlib.h>.
29237 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
29238 constants, which avoids warnings in 32-bit builds.
29240 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
29241 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
29243 * misc/lseek.c: File moved to ...
29244 * io/lseek.c: ... here.
29246 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
29248 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
29249 shifting LEN more than 31 bits at once.
29251 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29254 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
29255 segmentation fault for a case of two empty input strings.
29256 * string/test-strncasecmp.c (check1): Renamed to...
29257 (bz12205): ...this.
29258 (bz14195): Add new testcase for two empty input strings and N > 0.
29259 (test_main): Call new testcase, adapt for renamed function.
29261 2012-08-15 Andreas Jaeger <aj@suse.de>
29264 * crypt/md5test2.c: New test, based on test supplied by Serge
29265 Belyshev <belyshev@depni.sinp.msu.ru>.
29266 * crypt/Makefile (xtests): Add md5test-giant..
29267 * crypt/Makefile ($(objpfx)md5test-giant): Add.
29269 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
29272 * crypt/md5.c (md5_process_block): Don't assume the buffer
29273 length is less than 2**32.
29274 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
29275 length is less than 2**64.
29277 2012-08-15 Roland McGrath <roland@hack.frob.com>
29279 * string/str-two-way.h: Include <sys/param.h>.
29280 (MAX): Macro removed.
29282 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
29283 Move #define and #undef of memmove to just before and after
29284 including <string.h>.
29286 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
29287 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
29288 and after including <string.h>. Move declarations of
29289 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
29290 to before #include "string/memmove.c".
29292 * include/dirent.h: Declare __getdirentries.
29294 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
29295 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
29297 2012-08-14 Mike Frysinger <vapier@gentoo.org>
29299 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
29300 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
29301 * sysdeps/i386/configure: Regenerated.
29302 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
29303 STABS_CURRENT_FILE, and STABS_FUN.
29304 (END): Remove call to STABS_FUN_END.
29305 (STABS_CURRENT_FILE1): Delete.
29306 (STABS_CURRENT_FILE): Likewise.
29307 (STABS_FUN): Likewise.
29308 (STABS_FUN_END): Likewise.
29309 (STABS_FUN2): Likewise.
29310 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
29311 * sysdeps/x86_64/configure: Regenerated.
29313 2012-08-14 Roland McGrath <roland@hack.frob.com>
29315 * elf/dl-open.c: Include <atomic.h>.
29316 * elf/dl-lookup.c: Likewise.
29318 2012-08-14 Joseph Myers <joseph@codesourcery.com>
29320 * sysdeps/unix/sysv/linux/kernel-features.h
29321 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
29322 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
29324 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
29326 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
29327 condition on __ASSUME_CLONE_THREAD_FLAGS.
29329 2012-08-14 Andreas Jaeger <aj@suse.de>
29331 * sysdeps/i386/fpu/libm-test-ulps: Update.
29333 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
29335 * include/atomic.h (atomic_exchange_and_add): Split into ...
29336 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
29339 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
29341 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29343 2012-08-13 Jeff Law <law@redhat.com>
29345 * manual/stdio.texi (snprintf): Clarify handling of the trailing
29346 null byte in the output string.
29348 2012-08-10 Joseph Myers <joseph@codesourcery.com>
29350 * sysdeps/unix/sysv/linux/kernel-features.h
29351 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
29352 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
29353 (__ASSUME_ARG_MAX_STACK_BASED): Define.
29354 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29355 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
29356 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
29357 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
29359 2012-08-09 Jeff Law <law@redhat.com>
29362 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
29363 When avoid_arena is set, don't retry in the that arena. Pick the
29364 next one, whatever it might be.
29365 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
29366 (arena_lock): Pass in new parameter to arena_get2.
29367 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
29369 (__libc_malloc): Unify retrying after main arena failure with
29370 __libc_memalign version.
29371 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
29373 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
29376 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
29377 to __redirect_strstr.
29378 (__strstr_sse42): Use typeof __redirect_strstr.
29379 (__strstr_ia32): Likewise.
29380 (__libc_strstr): New prototype.
29381 (strstr): Renamed to ...
29382 (__libc_strstr): This.
29383 (strstr): New strong alias of __libc_strstr.
29384 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29385 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
29388 (__libc_time): New prototype.
29389 (time_ifunc): Replace time with __libc_time.
29390 (time): New strong alias and hidden definition of __libc_time.
29391 (__GI_time): Remove strong alias.
29392 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
29393 Include <stddef.h>.
29394 (memmove): Redefined to __redirect_memmove.
29395 (__memmove_sse2): Use typeof __redirect_memmove.
29396 (__memmove_ssse3): Likewise.
29397 (__memmove_ssse3_back): Likewise.
29398 (__libc_memmove): New prototype.
29399 (memmove): Renamed to ...
29400 (__libc_memmove): This.
29401 (memmove): New strong alias of __libc_memmove.
29403 2012-08-08 Mark Salter <msalter@redhat.com>
29406 (R_MN10300_TLS_GD): Define.
29407 (R_MN10300_TLS_LD): Likewise.
29408 (R_MN10300_TLS_LDO): Likewise.
29409 (R_MN10300_TLS_GOTIE): Likewise.
29410 (R_MN10300_TLS_IE): Likewise.
29411 (R_MN10300_TLS_LE): Likewise.
29412 (R_MN10300_TLS_DTPMOD): Likewise.
29413 (R_MN10300_TLS_DTPOFF): Likewise.
29414 (R_MN10300_TLS_TPOFF): Likewise.
29415 (R_MN10300_SYM_DIFF): Likewise.
29416 (R_MN10300_ALIGN): Likewise.
29417 (R_MN10300_NUM): Update.
29419 2012-08-08 Joseph Myers <joseph@codesourcery.com>
29421 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
29424 2012-08-08 Roland McGrath <roland@hack.frob.com>
29426 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
29428 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
29429 sysdeps/unix -> sysdeps/posix move.
29430 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29432 2012-08-07 Allan McRae <allan@archlinux.org>
29435 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
29436 (SUNOS_CPP): Likewise.
29437 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
29439 (open_input): Call CPP using execvp.
29441 2012-08-07 Joseph Myers <joseph@codesourcery.com>
29443 * sysdeps/unix/sysv/linux/kernel-features.h
29444 (__ASSUME_PROT_GROWSUPDOWN): Remove.
29445 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29446 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29447 (__ASSUME_WAITID_SYSCALL): Likewise.
29448 * sysdeps/unix/sysv/linux/dl-execstack.c
29449 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
29450 code unconditional.
29451 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
29453 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
29454 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
29455 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
29457 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
29459 [__ASSUME_WAITID_SYSCALL]: Likewise.
29460 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
29462 2012-08-07 Roland McGrath <roland@hack.frob.com>
29464 * sysdeps/unix/closedir.c: Renamed to ...
29465 * sysdeps/posix/closedir.c: ... here.
29466 * sysdeps/unix/dirfd.c: Renamed to ...
29467 * sysdeps/posix/dirfd.c: ... here.
29468 * sysdeps/unix/dirstream.h: Renamed to ...
29469 * sysdeps/posix/dirstream.h: ... here.
29470 * sysdeps/unix/fdopendir.c: Renamed to ...
29471 * sysdeps/posix/fdopendir.c: ... here.
29472 * sysdeps/unix/opendir.c: Renamed to ...
29473 * sysdeps/posix/opendir.c: ... here.
29474 * sysdeps/unix/readdir.c: Renamed to ...
29475 * sysdeps/posix/readdir.c: ... here.
29476 * sysdeps/unix/readdir_r.c: Renamed to ...
29477 * sysdeps/posix/readdir_r.c: ... here.
29478 * sysdeps/unix/rewinddir.c: Renamed to ...
29479 * sysdeps/posix/rewinddir.c: ... here.
29480 * sysdeps/unix/seekdir.c: Renamed to ...
29481 * sysdeps/posix/seekdir.c: ... here.
29482 * sysdeps/unix/telldir.c: Renamed to ...
29483 * sysdeps/posix/telldir.c: ... here.
29484 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
29485 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
29486 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29487 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
29489 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
29490 * bits/fcntl.h: ... here.
29492 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
29494 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
29495 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
29496 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
29497 (struct flock): Move l_start, l_len to the beginning.
29498 Use __pid_t for l_pid.
29499 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
29500 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
29501 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
29502 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
29503 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
29504 [__USE_LARGEFILE64] (struct flock64): New type.
29505 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
29507 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
29508 * bits/dirent.h: ... here.
29510 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
29511 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
29513 2012-08-07 Joseph Myers <joseph@codesourcery.com>
29515 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29516 Change from 2.6.0 to 2.6.16.
29517 * sysdeps/unix/sysv/linux/configure: Regenerated.
29518 * sysdeps/unix/sysv/linux/kernel-features.h
29519 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
29520 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
29522 (__ASSUME_UTIMES): Likewise.
29523 (__ASSUME_CLONE_STOPPED): Remove.
29524 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
29525 architectures, not kernel version.
29526 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
29527 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29528 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29529 (__ASSUME_WAITID_SYSCALL): Likewise.
29530 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
29531 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
29532 * README: State 2.6.16 as minimum Linux kernel version. Do not
29533 refer to older versions.
29535 2012-08-06 Roland McGrath <roland@hack.frob.com>
29537 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
29538 Define alphasort64 as an alias.
29539 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
29540 Define versionsort64 as an alias.
29541 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
29542 Define scandir64 as an alias.
29543 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
29544 Define scandirat64 as an alias.
29545 * dirent/alphasort64.c (alphasort64):
29546 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
29547 * dirent/versionsort64.c: Likewise.
29548 * dirent/scandir64.c: Likewise.
29549 * dirent/scandirat64.c: Likewise.
29550 * sysdeps/wordsize-64/alphasort.c: File removed.
29551 * sysdeps/wordsize-64/alphasort64.c: File removed.
29552 * sysdeps/wordsize-64/scandir.c: File removed.
29553 * sysdeps/wordsize-64/scandir64.c: File removed.
29554 * sysdeps/wordsize-64/scandirat.c: File removed.
29555 * sysdeps/wordsize-64/scandirat64.c: File removed.
29556 * sysdeps/wordsize-64/versionsort.c: File removed.
29557 * sysdeps/wordsize-64/versionsort64.c: File removed.
29558 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
29559 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
29560 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
29561 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
29562 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
29563 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
29564 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
29565 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
29567 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
29568 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29569 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
29570 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29571 [defined __arch64__ || defined __sparcv9]
29572 (__INO_T_MATCHES_INO64_T): New macro.
29573 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29574 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
29575 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
29576 * sysdeps/unix/sysv/linux/bits/dirent.h
29577 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
29578 (_DIRENT_MATCHES_DIRENT64): New macro.
29580 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
29581 Define lockf64 as an alias.
29582 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
29583 Define fseeko64 as an alias.
29584 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
29585 Define ftello64 as an alias.
29586 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
29587 Define _IO_fgetpos64 and fgetpos64 as aliases.
29588 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
29589 Define _IO_fsetpos64 and fsetpos64 as aliases.
29590 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
29591 Conditionalize body on this.
29592 * libio/fseeko64.c: Likewise.
29593 * libio/ftello64.c: Likewise.
29594 * libio/iofgetpos64.c: Likewise.
29595 * libio/iofsetpos64.c: Likewise.
29596 * sysdeps/wordsize-64/lockf.c: File removed.
29597 * sysdeps/wordsize-64/lockf64.c: File removed.
29598 * sysdeps/wordsize-64/fseeko.c: File removed.
29599 * sysdeps/wordsize-64/fseeko64.c: File removed.
29600 * sysdeps/wordsize-64/ftello.c: File removed.
29601 * sysdeps/wordsize-64/ftello64.c: File removed.
29602 * sysdeps/wordsize-64/iofgetpos.c: File removed.
29603 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
29604 * sysdeps/wordsize-64/iofsetpos.c: File removed.
29605 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
29606 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
29607 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
29608 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
29609 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
29610 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
29611 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
29612 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
29613 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
29614 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
29615 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
29617 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29618 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29619 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
29620 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29621 [defined __arch64__ || defined __sparcv9]
29622 (__OFF_T_MATCHES_OFF64_T): New macro.
29623 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29624 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29625 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29626 (__OFF_T_MATCHES_OFF64_T): New macro.
29628 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29630 * stdlib/secure-getenv.c (__secure_getenv): Replace
29631 GLIBC_2_16 with GLIBC_2_17.
29633 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29635 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
29636 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29638 2012-08-03 David S. Miller <davem@davemloft.net>
29640 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29642 2012-08-03 Joseph Myers <joseph@codesourcery.com>
29644 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
29646 (__ASSUME_CORRECT_SI_PID): Likewise.
29647 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
29648 (__ASSUME_TMPFS_NAME): Likewise.
29649 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
29650 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
29651 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
29652 (HAVE_AUX_SECURE): Make definition unconditional.
29653 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
29654 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
29656 2012-08-03 Roland McGrath <roland@hack.frob.com>
29658 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
29659 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
29660 * sysdeps/mach/hurd/eloop-threshold.h: New file.
29661 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29662 __eloop_threshold instead of SYMLOOP_MAX.
29664 * sysdeps/generic/eloop-threshold.h: New file.
29665 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
29667 * elf/chroot_canon.c (chroot_canon): Likewise.
29669 2012-08-03 Joseph Myers <joseph@codesourcery.com>
29672 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29673 Change to 2.6.0 everywhere.
29674 * sysdeps/unix/sysv/linux/configure: Regenerated.
29675 * sysdeps/unix/sysv/linux/kernel-features.h
29676 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
29677 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
29679 (__ASSUME_POSIX_TIMERS): Define unconditionally.
29680 (__ASSUME_FUTEX_REQUEUE): Remove.
29681 (__ASSUME_STATFS64): Define unconditionally.
29682 (__ASSUME_AT_SECURE): Likewise.
29683 (__ASSUME_CORRECT_SI_PID): Likewise.
29684 (__ASSUME_TGKILL): Define without depending on kernel version for
29686 (__ASSUME_UTIMES): Likewise.
29687 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
29689 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
29690 (__ASSUME_TMPFS_NAME): Likewise.
29691 * README: Update reference to Linux kernel versions.
29693 2012-08-02 Marek Polacek <polacek@redhat.com>
29696 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
29697 libc_cv_asm_type_prefix with %.
29698 * configure: Regenerated.
29699 * include/libc-symbols.h: Remove comment about
29700 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29701 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
29702 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
29703 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
29704 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
29705 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29706 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
29707 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
29708 * elf/tst-unique2mod1.c: Likewise.
29709 * elf/tst-unique1mod2.c: Likewise.
29710 * elf/tst-unique1mod1.c: Likewise.
29711 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
29712 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
29713 Replace ASM_TYPE_DIRECTIVE with .type.
29714 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29715 * sysdeps/i386/sysdep.h: Likewise.
29716 * sysdeps/x86_64/sysdep.h: Likewise.
29717 * sysdeps/sh/sysdep.h: Likewise.
29718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29719 Do not define ASM_TYPE_DIRECTIVE.
29720 * sysdeps/powerpc/sysdep.h: Likewise.
29721 * sysdeps/powerpc/powerpc32/sysdep.h:
29722 Replace ASM_TYPE_DIRECTIVE with .type.
29723 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29724 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29725 * sysdeps/i386/fpu/e_powf.S: Likewise.
29726 * sysdeps/i386/fpu/e_expl.S: Likewise.
29727 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29728 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29729 * sysdeps/i386/fpu/e_pow.S: Likewise.
29730 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29731 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29732 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29733 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29734 * sysdeps/i386/fpu/e_log2.S: Likewise.
29735 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29736 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29737 * sysdeps/i386/fpu/e_powl.S: Likewise.
29738 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29739 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29740 * sysdeps/i386/fpu/e_logl.S: Likewise.
29741 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29742 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29743 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29744 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29745 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29746 * sysdeps/i386/fpu/e_log.S: Likewise.
29747 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29748 * sysdeps/i386/fpu/e_logf.S: Likewise.
29749 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29750 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29751 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29752 * sysdeps/i386/fpu/e_log10.S: Likewise.
29753 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29754 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29755 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29756 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29757 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29758 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29759 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29760 * sysdeps/i386/i686/strtok.S: Likewise.
29761 * sysdeps/i386/i386-mcount.S: Likewise.
29762 * sysdeps/i386/strtok.S: Likewise.
29763 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
29764 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29765 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29766 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29767 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29768 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29769 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29770 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29771 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29772 * sysdeps/x86_64/_mcount.S: Likewise.
29773 * sysdeps/x86_64/strtok.S: Likewise.
29774 * sysdeps/sh/_mcount.S: Likewise.
29776 2012-08-01 Roland McGrath <roland@hack.frob.com>
29778 * libio/iofopen.c: Include <fcntl.h>.
29779 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
29780 (_IO_fopen64, fopen64): Define as aliases.
29781 * libio/iofopen64.c: Include <fcntl.h>.
29782 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
29783 Conditionalize body on this.
29784 * sysdeps/wordsize-64/iofopen.c: File removed.
29785 * sysdeps/wordsize-64/iofopen64.c: File removed.
29787 2012-08-01 Marek Polacek <polacek@redhat.com>
29789 * libc/Makeconfig: Use elf in place of binfmt-subdir.
29790 Use dlfcn directly instead of a variable.
29791 (binfmt-subdir): Do not define.
29794 2012-08-01 Joseph Myers <joseph@codesourcery.com>
29796 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
29797 Remove all definitions.
29798 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
29799 <kernel-features.h>.
29800 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29801 (miss_F_GETOWN_EX): Remove all definitions.
29802 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
29804 [!__ASSUME_FCNTL64]: Remove conditional code.
29805 [__ASSUME_FCNTL64]: Make code unconditional.
29806 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
29807 <kernel-features.h>.
29808 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29809 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
29810 (lockf64) [__NR_fcntl64]: Make code unconditional.
29811 (lockf64) [__ASSUME_FCNTL64]: Likewise.
29813 * sysdeps/unix/sysv/linux/kernel-features.h
29814 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
29815 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
29816 Make code unconditional.
29817 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29818 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
29820 [__NR_vfork]: Make code unconditional.
29821 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29822 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
29824 [__NR_vfork]: Make code unconditional.
29825 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29826 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29828 2012-08-01 Roland McGrath <roland@hack.frob.com>
29830 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
29831 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
29833 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29834 Define mkstemp64 as an alias.
29835 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29836 Define mkstemps64 as an alias.
29837 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29838 Define mkostemp64 as an alias.
29839 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29840 Define mkostemps64 as an alias.
29841 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
29842 Conditionalize body on this.
29843 * misc/mkostemp64.c: Likewise.
29844 * misc/mkostemps64.c: Likewise.
29845 * misc/mkstemps64.c: Likewise.
29846 * sysdeps/wordsize-64/mkstemp64.c: File removed.
29847 * sysdeps/wordsize-64/mkostemp64.c: File removed.
29848 * sysdeps/wordsize-64/mkostemp.c: File removed.
29849 * sysdeps/wordsize-64/mkstemp.c: File removed.
29850 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
29851 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
29852 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
29853 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
29856 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
29857 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
29858 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
29859 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
29861 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
29862 compat_symbol macros from <shlib-compat.h> rather than the underlying
29863 default_symbol_version and symbol_version macros, so that DEFAULT
29864 lines in shlib-versions are respected.
29865 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
29867 2012-08-01 Florian Weimer <fweimer@redhat.com>
29869 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
29870 Declare with warn_unused_result.
29871 (setgid, setregid, setegid, setresgid): Likewise.
29872 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
29874 * WUR-REPORT: Remove set*id functions.
29876 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
29878 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
29880 2012-07-31 Roland McGrath <roland@hack.frob.com>
29883 * include/sys/socket.h (__libc_accept, __libc_accept4):
29884 Add attribute_hidden.
29885 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
29887 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
29889 * inet/getnetgrent_r.c (setup): Likewise.
29891 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
29893 2012-07-31 David S. Miller <davem@davemloft.net>
29895 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29897 2012-07-31 Joseph Myers <joseph@codesourcery.com>
29900 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
29901 value between 1.0 and 2.0 and smaller part has absolute value less
29903 * math/s_clog10.c (__clog10): Likewise.
29904 * math/s_clog10f.c (__clog10f): Likewise.
29905 * math/s_clog10l.c (__clog10l): Likewise.
29906 * math/s_clogf.c (__clogf): Likewise.
29907 * math/s_clogl.c (__clogl): Likewise.
29908 * math/libm-test.inc (clog_test): Add more tests.
29909 (clog10_test): Likewise.
29910 * sysdeps/i386/fpu/libm-test-ulps: Update.
29911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29913 2012-07-31 Florian Weimer <fweimer@redhat.com>
29915 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
29916 Exit with zero in case no suitable GID is found, and write a
29917 message to standard error.
29919 2012-07-30 Roland McGrath <roland@hack.frob.com>
29921 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
29923 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
29924 (MAXPATHLEN): Removed.
29925 (NOGROUP, NODEV): New macros.
29926 (setbit, clrbit, isset, isclr): New macros.
29927 (howmany, roundup, powerof2): New macros.
29928 (DEV_BSIZE): New macro.
29930 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
29931 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
29933 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
29934 definition on [!__NO_LONG_DOUBLE_MATH].
29936 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
29937 PTR_MANGLE and PTR_DEMANGLE.
29939 * socket/accept4.c (accept4): Rename to __libc_accept4.
29940 Define accept4 as a weak alias.
29942 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
29943 on [_DIRENT_HAVE_D_TYPE].
29944 * io/ftw.c (ftw_dir): Likewise.
29946 * io/xmknod.c (__xmknod): Don't check PATH for being null.
29948 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
29950 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
29951 Use the BSD numbers rather than the arbitrary ones we had.
29952 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
29953 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
29954 (SIGXCPU, SIGXFSZ): New macros.
29957 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
29958 initializer on [_LIBC_REENTRANT].
29960 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
29961 definitions inside [_POSIX_MAPPED_FILES].
29963 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
29965 * dirent/opendir.c: Include <fcntl.h>.
29967 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
29968 (__libc_getspecific): Likewise.
29969 (__libc_key_create): Likewise.
29971 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
29972 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
29973 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
29974 (tmpfile64): Define as alias.
29975 * sysdeps/wordsize-64/tmpfile.c: File removed.
29976 * sysdeps/wordsize-64/tmpfile64.c: File removed.
29977 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
29978 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
29980 * stdio-common/vfscanf.c: Include <stdbool.h>.
29981 * nss/makedb.c: Likewise.
29982 * stdio-common/_i18n_number.h: Likewise.
29983 * argp/argp-help.c: Likewise.
29984 * posix/wordexp.c: Likewise.
29985 * sysdeps/posix/spawni.c: Likewise.
29986 * nss/nss_files/files-initgroups.c: Likewise.
29987 * stdio-common/reg-modifier.c: Include <stdlib.h>.
29988 * nss/nss_files/files-initgroups.c: Likewise.
29989 * nss/nss_db/db-netgrp.c: Likewise.
29990 * nss/nss_db/db-initgroups.c: Likewise.
29991 * io/fchmodat.c: Include <sys/stat.h>.
29993 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
29994 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
29996 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
29999 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30000 Add multiple inclusion protection.
30002 2012-07-27 David S. Miller <davem@davemloft.net>
30004 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30006 2012-07-27 Gary Benson <gbenson@redhat.com>
30009 * elf/rtld.c: Include <stap-probe.h>.
30010 (dl_main): Added static probes "init_start" and "init_complete".
30011 * elf/dl-load.c: Include <stap-probe.h>.
30012 (lose): Take new parameter "nsid".
30013 Added static probe "map_failed".
30014 (_dl_map_object_from_fd): Pass namespace id to lose.
30015 Added static probe "map_start".
30016 (open_verify): Pass namespace id to lose.
30017 * elf/dl-open.c: Include <stap-probe.h>.
30018 (dl_open_worker) Added static probes "map_complete", "reloc_start"
30019 and "reloc_complete".
30020 * elf/dl-close.c: Include <stap-probe.h>.
30021 (_dl_close_worker): Added static probes "unmap_start" and
30023 * elf/rtld-debugger-interface.txt: New file documenting the above.
30025 2012-07-26 Roland McGrath <roland@hack.frob.com>
30027 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30028 rather than a string variable.
30029 * sunrpc/rpc_main.c (h_output): Likewise.
30030 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30032 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
30034 * inet/check_native.c: New file.
30036 2012-07-26 Joseph Myers <joseph@codesourcery.com>
30039 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30040 if larger part has absolute value 1.0.
30041 * math/s_clog10.c (__clog10): Likewise.
30042 * math/s_clog10f.c (__clog10f): Likewise.
30043 * math/s_clog10l.c (__clog10l): Likewise.
30044 * math/s_clogf.c (__clogf): Likewise.
30045 * math/s_clogl.c (__clogl): Likewise.
30046 * math/libm-test.inc (clog_test): Add more tests.
30047 (clog10_test): Likewise.
30048 * sysdeps/i386/fpu/libm-test-ulps: Update.
30049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30051 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30052 (pltexit): Likewise.
30053 (La_regs): Likewise.
30054 (La_retval): Likewise.
30055 (int_retval): Likewise.
30056 Update #error for removed macros to refer only to definitions in
30058 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30060 (pltexit): Likewise.
30061 (La_regs): Likewise.
30062 (La_retval): Likewise.
30063 (int_retval): Likewise.
30064 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30066 (pltexit): Likewise.
30067 (La_regs): Likewise.
30068 (La_retval): Likewise.
30069 (int_retval): Likewise.
30070 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
30072 (pltexit): Likewise.
30073 (La_regs): Likewise.
30074 (La_retval): Likewise.
30075 (int_retval): Likewise.
30076 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
30078 (pltexit): Likewise.
30079 (La_regs): Likewise.
30080 (La_retval): Likewise.
30081 (int_retval): Likewise.
30082 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
30084 (pltexit): Likewise.
30085 (La_regs): Likewise.
30086 (La_retval): Likewise.
30087 (int_retval): Likewise.
30088 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30090 (pltexit): Likewise.
30091 (La_regs): Likewise.
30092 (La_retval): Likewise.
30093 (int_retval): Likewise.
30094 * sysdeps/generic/tst-audit.h: Update comment to refer only to
30095 macro definitions in tst-audit.h.
30096 * sysdeps/i386/tst-audit.h: New file.
30097 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
30098 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
30099 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
30100 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
30101 * sysdeps/sh/tst-audit.h: Likewise.
30102 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
30103 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
30104 * sysdeps/x86_64/tst-audit.h: Likewise.
30106 2012-07-26 Andreas Jaeger <aj@suse.de>
30108 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
30111 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
30112 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
30113 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
30115 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
30116 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
30117 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
30119 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
30122 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
30124 (si_call_addr, si_syscall, si_arch): Define new macro.
30125 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
30127 (si_call_addr, si_syscall, si_arch): Define new marcro.
30128 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
30130 (si_call_addr, si_syscall, si_arch): Define new macro.
30131 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
30133 (si_call_addr, si_syscall, si_arch): Define new macro.
30135 2012-07-25 Joseph Myers <joseph@codesourcery.com>
30138 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30139 Change to 2.4.21 where previously 2.4.1.
30140 * sysdeps/unix/sysv/linux/configure: Regenerated.
30141 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
30142 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
30143 Linux kernel version.
30144 (__ASSUME_STD_AUXV): Remove.
30145 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
30147 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
30148 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
30149 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
30150 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
30151 (__ASSUME_NETLINK_SUPPORT): Likewise.
30152 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
30153 (__no_netlink_support): Remove conditional definition.
30154 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
30156 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30157 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
30158 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
30159 (if_nameindex_ioctl): Remove.
30160 (if_nameindex_netlink): Do not handle __no_netlink_support.
30161 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30163 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
30164 Remove conditional code.
30165 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30167 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
30169 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30170 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
30171 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
30173 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
30174 [!__ASSUME_STD_AUXV]: Remove conditional code.
30175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
30176 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
30177 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
30178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
30179 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
30180 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30182 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30184 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
30185 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30187 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30189 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30192 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
30195 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30196 code unconditional.
30197 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30199 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30201 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30204 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30206 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30209 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30210 code unconditional.
30211 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30213 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30215 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30218 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30219 code unconditional.
30220 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30222 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30224 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30227 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
30229 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
30230 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
30231 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30232 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
30233 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
30234 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30235 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30236 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
30237 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
30238 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30239 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
30240 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
30241 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
30242 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30243 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
30244 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
30245 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
30246 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
30247 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
30248 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
30249 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
30250 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
30251 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30253 2012-07-25 Florian Weimer <fweimer@redhat.com>
30255 * Versions.def: Add GLIBC_2.17.
30256 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
30257 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
30258 Introduce __libc_secure_getenv.
30259 * stdlib/Versions (2.17): Add secure_getenv
30260 (GLIBC_PRIVATE): Add __libc_secure_getenv.
30261 * stdlib/secure-getenv.c: Rename __secure_getenv to
30262 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
30263 symbol __secure_getenv for GLIBC_2.0.
30264 * stdlib/tst-secure-getenv.c: New.
30265 * stdlib/Makefile (tests): Add testcase.
30266 * manual/startup.texi (Environment Access): Document
30268 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
30269 __libc_secure_getenv.
30270 * inet/ruserpass.c (ruserpass): Likewise.
30271 * malloc/mtrace.c (mtrace): Likewise.
30272 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
30273 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
30274 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
30275 * sysdeps/posix/tempname.c: Likewise. Evaluate
30276 HAVE_SECURE_GETENV.
30277 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
30278 __secure_getenv to __libc_secure_getenv.
30279 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
30280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30284 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30285 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30286 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30287 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30288 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30289 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30290 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30292 2012-07-25 Joseph Myers <joseph@codesourcery.com>
30294 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
30295 (struct La_i86_retval): Likewise.
30296 (struct La_x86_64_regs): Likewise.
30297 (struct La_x86_64_retval): Likewise.
30298 (struct La_x32_regs): Likewise.
30299 (struct La_x32_retval): Likewise.
30300 (struct La_ppc32_regs): Likewise.
30301 (struct La_ppc32_retval): Likewise.
30302 (struct La_ppc64_regs): Likewise.
30303 (struct La_ppc64_retval): Likewise.
30304 (struct La_sh_regs): Likewise.
30305 (struct La_sh_retval): Likewise.
30306 (struct La_s390_32_regs): Likewise.
30307 (struct La_s390_32_retval): Likewise.
30308 (struct La_s390_64_regs): Likewise.
30309 (struct La_s390_64_retval): Likewise.
30310 (struct La_sparc32_regs): Likewise.
30311 (struct La_sparc32_retval): Likewise.
30312 (struct La_sparc64_regs): Likewise.
30313 (struct La_sparc64_retval): Likewise.
30314 (struct audit_ifaces): Remove architecture-specific pltenter and
30316 * sysdeps/i386/ldsodefs.h: New file.
30317 * sysdeps/powerpc/ldsodefs.h: Likewise.
30318 * sysdeps/s390/ldsodefs.h: Likewise.
30319 * sysdeps/sh/ldsodefs.h: Likewise.
30320 * sysdeps/sparc/ldsodefs.h: Likewise.
30321 * sysdeps/x86_64/ldsodefs.h: Likewise.
30323 2012-07-25 Marek Polacek <polacek@redhat.com>
30326 * math/libm-test.inc (yn_test): Add another test.
30327 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
30328 to ERANGE when the result is +-Inf.
30329 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30330 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30331 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
30332 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
30334 2012-07-24 Joseph Myers <joseph@codesourcery.com>
30336 * conform/data/time.h-data (NULL): Use macro-constant. Require
30338 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
30340 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
30342 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
30344 * configure.in <sysdeps resolving>: Correct printing
30346 * configure: Regenerate.
30348 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
30350 * math/w_ilogb.c: Include <limits.h>.
30351 * math/w_ilogbl.c: Likewise.
30353 2012-07-20 Joseph Myers <joseph@codesourcery.com>
30355 * manual/lang.texi (__va_copy): Document primarily as ISO C99
30356 va_copy. Document allowing for unavailable va_copy only as
30357 pre-C99 compatibility.
30358 * manual/string.texi (Copying and Concatenation): Use va_copy
30359 instead of __va_copy in concat example.
30361 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
30363 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
30364 (__sendto): Use create_address_port. Initialize APORT and deallocate
30367 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
30368 with O_NOLINK passed to __file_name_lookup.
30370 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
30371 with O_NOLINK passed to __file_name_lookup.
30373 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
30374 negative N or less than NGIDS.
30376 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
30377 type to string_t. Set ERANGE as errno and return it if NAME is not big
30378 enough. Use memcpy instead of strncpy.
30380 2012-07-20 Joseph Myers <joseph@codesourcery.com>
30382 * elf/Makefile (check-data): Remove.
30383 (localplt.data): New vpath directive.
30384 ($(objpfx)check-localplt.out): Use localplt.data from vpath
30385 instead of $(check-data).
30386 * scripts/data/localplt-generic.data: Move to ...
30387 * sysdeps/generic/localplt.data: ... here.
30388 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
30389 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
30390 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
30391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30393 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
30394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30396 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
30397 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
30399 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
30400 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30402 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
30403 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
30405 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
30406 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
30409 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30411 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
30412 PPC32 and PPC64 files.
30413 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
30414 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
30416 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30418 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
30419 __makecontext_ret to ...
30420 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30421 ... here and call exit if uc_link is NULL. New file.
30422 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
30423 __makecontext_ret.S.
30424 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
30425 __makecontext_ret to ...
30426 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30427 ... here and call exit if uc_link is NULL. New file.
30428 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
30429 __makecontext_ret.S.
30431 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30433 * elf/elf.h (R_390_IRELATIVE): New definition.
30434 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
30435 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
30436 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
30437 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30438 (elf_machine_lazy_rel): Likewise.
30439 * sysdeps/s390/dl-irel.h: New file.
30440 * sysdeps/s390/s390-64/memcpy.S: New asm code.
30441 * sysdeps/s390/s390-64/memset.S: New asm code.
30442 * sysdeps/s390/s390-64/memcmp.S: New asm code.
30443 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
30444 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
30445 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
30446 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
30447 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
30448 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
30449 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
30450 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
30451 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
30452 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
30453 * sysdeps/s390/s390-32/memcpy.S: New asm code.
30454 * sysdeps/s390/s390-32/memset.S: New asm code.
30455 * sysdeps/s390/s390-32/memcmp.S: New asm code.
30457 2012-07-17 Marek Polacek <polacek@redhat.com>
30460 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
30461 * sysdeps/s390/s390-64/configure.in: Likewise.
30462 * sysdeps/sparc/configure.in: Likewise.
30463 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
30464 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
30465 * sysdeps/i386/configure.in: Likewise.
30466 * sysdeps/x86_64/configure.in: Likewise.
30467 * sysdeps/sh/configure.in: Likewise.
30468 * sysdeps/s390/s390-32/configure: Regenerated.
30469 * sysdeps/s390/s390-64/configure: Likewise.
30470 * sysdeps/x86_64/configure: Likewise.
30471 * sysdeps/sh/configure: Likewise.
30472 * sysdeps/powerpc/powerpc64/configure: Likewise.
30473 * sysdeps/powerpc/powerpc32/configure: Likewise.
30474 * sysdeps/sparc/configure: Likwise.
30475 * sysdeps/i386/configure: Likewise.
30477 * elf/dl-open.c: Comment fixes.
30479 2012-07-17 Joseph Myers <joseph@codesourcery.com>
30481 * Makefile [CXX] (check-data): Remove.
30482 [CXX] (c++-types.data): New vpath directive.
30483 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
30484 vpath. Do not allow for C++ type data being missing.
30485 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
30486 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
30487 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
30488 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
30489 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
30490 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
30491 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
30492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30494 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
30495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30497 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
30498 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
30500 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
30501 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
30503 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
30504 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
30506 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
30507 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
30509 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
30510 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
30512 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
30513 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
30515 * elf/tls-macros.h (TLS_LE): Move architecture-specific
30516 definitions to architecture-specific files.
30517 (TLS_IE): Likewise.
30518 (TLS_LD): Likewise.
30519 (TLS_GD): Likewise.
30520 * sysdeps/i386/tls-macros.h: New file.
30521 * sysdeps/powerpc/tls-macros.h: Likewise.
30522 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
30523 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
30524 * sysdeps/sh/tls-macros.h: Likewise.
30525 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
30526 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
30527 * sysdeps/x86_64/tls-macros.h: Likewise.
30529 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30531 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
30532 zero value for regular exit case.
30534 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30535 (__start_context): Preserve zero value for regular exit case.
30537 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30538 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30540 * manual/setjmp.texi (setcontext): Clarify normal process
30541 termination when uc_link is the null pointer.
30542 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
30545 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
30547 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
30548 preprocessor. Test for each exception mask separately.
30550 2012-07-16 Andreas Jaeger <aj@suse.de>
30552 * po/ru.po: Update from translation team.
30554 2012-07-15 Joseph Myers <joseph@codesourcery.com>
30556 * conform/data/string.h-data (NULL): Use macro-constant. Require
30558 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30559 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30560 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
30561 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
30562 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30564 2012-07-13 Andreas Jaeger <aj@suse.de>
30566 * po/fr.po: Update from translation team.
30568 2012-07-12 Marek Polacek <polacek@redhat.com>
30571 * math/libm-test.inc (yn_test): Add test for BZ #14173.
30572 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
30575 2012-07-12 Joseph Myers <joseph@codesourcery.com>
30578 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30579 Change to 2.4.1 where previously 2.4.0.
30580 * sysdeps/unix/sysv/linux/configure: Regenerated.
30581 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
30582 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
30584 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
30585 (__ASSUME_AT_CLKTCK): Remove.
30586 (__ASSUME_AT_PAGESIZE): Likewise.
30587 (__ASSUME_AT_XID): Likewise.
30588 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
30589 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
30590 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
30592 (HAVE_AUX_PAGESIZE): Likewise.
30593 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
30594 [__ASSUME_AT_CLKTCK]: Make code unconditional.
30595 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
30597 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
30600 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
30601 the temporary buffer used to invoke __gethostbyname2_r,
30602 __gethostbyaddr_r and gethostbyname4_r to make room for struct
30603 host_data / struct gaih_addrtuple.
30604 * resolv/nss_dns/dns-host.c (global scope): Move definition of
30605 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
30606 header file nss/nsswitch.h.
30607 * nss/nsswitch.h (global scope): Add definition of implementation
30608 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
30609 resolv/nss_dns/dns-host.c).
30611 2012-07-11 Andreas Jaeger <aj@suse.de>
30613 * po/fr.po: Update from translation team.
30615 * po/sv.po: Update from translation team
30616 * po/fr.po: Another update from translation team.
30618 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30620 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
30621 for subnormals or multiply small sinh result by itself.
30622 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30625 2012-07-11 David S. Miller <davem@davemloft.net>
30627 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30629 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
30632 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
30633 (INTERNAL_MARK): Shift it here.
30635 2012-07-10 Marek Polacek <polacek@redhat.com>
30638 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
30639 libc_cv_asm_global_directive with .globl.
30640 * configure: Regenerated.
30641 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
30643 * sysdeps/i386/configure: Regenerated.
30644 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
30646 * sysdeps/x86_64/configure: Regenerated.
30647 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
30648 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
30649 * elf/tst-unique2mod2.c: Likewise.
30650 * elf/tst-unique2mod1.c: Likewise.
30651 * elf/tst-unique1mod2.c: Likewise.
30652 * elf/tst-unique1mod1.c: Likewise.
30653 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30654 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30655 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30656 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30657 * sysdeps/mach/sysdep.h: Likewise.
30658 * sysdeps/i386/sysdep.h: Likewise.
30659 * sysdeps/i386/i386-mcount.S: Likewise.
30660 * sysdeps/x86_64/_mcount.S: Likewise.
30661 * sysdeps/x86_64/sysdep.h: Likewise.
30662 * sysdeps/sh/_mcount.S: Likewise.
30663 * sysdeps/sh/sysdep.h: Likewise.
30664 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
30665 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
30666 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
30667 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30668 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
30669 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
30670 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
30671 * locale/localeinfo.h: Likewise.
30672 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
30673 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
30675 2012-07-09 Roland McGrath <roland@hack.frob.com>
30678 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
30680 * manual/message.texi (The Uniforum approach): Likewise.
30681 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
30682 (glibc iconv Implementation): Likewise.
30684 2012-07-09 Joseph Myers <joseph@codesourcery.com>
30687 * math/s_clog.c (__clog): Avoid scaling a value down where that
30688 could result in underflow.
30689 * math/s_clog10.c (__clog10): Likewise.
30690 * math/s_clog10f.c (__clog10f): Likewise.
30691 * math/s_clog10l.c (__clog10l): Likewise.
30692 * math/s_clogf.c (__clogf): Likewise.
30693 * math/s_clogl.c (__clogl): Likewise.
30694 * math/libm-test.inc (clog_test): Add more tests.
30695 (clog10_test): Likewise.
30696 * sysdeps/i386/fpu/libm-test-ulps: Update.
30697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30699 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
30702 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
30703 by 7 not 8 to examine high bit of fractional part.
30706 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
30707 for call to __mcount_internal.
30708 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
30709 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
30710 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
30712 2012-07-06 Joseph Myers <joseph@codesourcery.com>
30715 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
30716 approximation for values within 0x1p-13f of an odd multiple of
30718 * math/libm-test.inc (tan_test): Do not allow spurious underflow
30719 exception. Add more tests.
30720 * sysdeps/i386/fpu/libm-test-ulps: Update.
30723 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
30724 inputs and return -1 for them. Do not check for +Inf in case not
30725 reachable for +Inf.
30726 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
30727 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
30728 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30729 and return -1 for them. Do not check for +Inf in case not
30730 reachable for +Inf.
30731 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
30733 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30734 and return -1 for them. Do not check for +Inf in case not
30735 reachable for +Inf.
30736 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
30737 spurious underflow.
30738 * sysdeps/i386/fpu/libm-test-ulps: Update.
30739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30741 2012-07-06 Mike Frysinger <vapier@gentoo.org>
30743 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
30745 2012-07-05 Joseph Myers <joseph@codesourcery.com>
30749 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
30750 could result in spurious underflow. Scale down values above
30751 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
30752 * math/s_csqrtf.c (__csqrtf): Likewise.
30753 * math/s_csqrtl.c (__csqrtl): Likewise.
30754 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
30755 spurious underflow.
30756 * sysdeps/i386/fpu/libm-test-ulps: Update.
30757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30759 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
30761 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
30763 * catgets/xopen-msg.awk: New file.
30764 * catgets/xopen-msg.sed: Removed.
30766 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
30768 * intl/po2test.awk: New file.
30769 * intl/po2test.sed: Removed.
30771 2012-07-04 Joseph Myers <joseph@codesourcery.com>
30774 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
30775 or multiply small sinh result by itself.
30776 * math/s_ctanf.c (__ctanf): Likewise.
30777 * math/s_ctanh.c (__ctanh): Likewise.
30778 * math/s_ctanhf.c (__ctanhf): Likewise.
30779 * math/s_ctanhl.c (__ctanhl): Likewise.
30780 * math/s_ctanl.c (__ctanl): Likewise.
30781 * math/libm-test.inc (ctan_test_tonearest): New function.
30782 (ctan_test_towardzero): Likewise.
30783 (ctan_test_downward): Likewise.
30784 (ctan_test_upward): Likewise.
30785 (ctanh_test_tonearest): Likewise.
30786 (ctanh_test_towardzero): Likewise.
30787 (ctanh_test_downward): Likewise.
30788 (ctanh_test_upward): Likewise.
30789 (main): Call these new functions.
30790 * sysdeps/i386/fpu/libm-test-ulps: Update.
30791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30793 2012-07-03 Mike Frysinger <vapier@gentoo.org>
30795 * .gitignore: Delete /ports entry.
30797 2012-07-03 Andreas Jaeger <aj@suse.de>
30799 * po/bg.po: Update from translation team.
30800 * po/cs.po: Likewise.
30801 * po/de.po: Likewise.
30802 * po/hr.po: Likewise.
30803 * po/nl.pl: Likewise.
30804 * po/pl.po: Likewise.
30805 * po/vi.po: Likewise.
30807 2012-07-03 Joseph Myers <joseph@codesourcery.com>
30809 * Makeconfig [!+link] (+link-before-libc): New variable.
30810 [!+link] (+link-after-libc): Likewise.
30811 [!+link] (+link-tests): Likewise.
30812 [!+link] (+link): Define in terms of $(+link-before-libc) and
30813 $(+link-after-libc).
30814 [!+link-static] (+link-static-before-libc): New variable.
30815 [!+link-static] (+link-static-after-libc): Likewise.
30816 [!+link-static] (+link-static-tests): Likewise.
30817 [!+link-static] (+link-static): Define in terms of
30818 $(+link-static-before-libc) and $(+link-static-after-libc).
30819 [build-shared] (link-libc-before-gnulib): New variable.
30820 [build-shared] (link-libc-tests): Likewise.
30821 [build-shared] (link-libc): Define in terms of
30822 $(link-libc-before-gnulib).
30823 [!build-shared] (link-libc-tests): New variable.
30824 (link-libc-static-tests): New variable.
30825 [!gnulib] (gnulib-arch): New variable.
30826 [!gnulib] (gnulib-tests): Likewise.
30827 [!gnulib] (static-gnulib-arch): Likewise.
30828 [!gnulib] (static-gnulib-tests): Likewise.
30829 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
30830 Define with "=" instead of ":=".
30831 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
30832 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
30833 * Rules (binaries-all-notests): New variable.
30834 (binaries-all-tests): Likewise.
30835 (binaries-static-notests): Likewise.
30836 (binaries-static-tests): Likewise.
30837 (binaries-all): Define using $(binaries-all-notests) and
30838 $(binaries-all-tests).
30839 (binaries-static): Define using $(binaries-static-notests) and
30840 $(binaries-static-tests).
30841 (binaries-shared-tests): New variable.
30842 (binaries-shared-notests): Likewise.
30843 (binaries-shared): Remove variable.
30844 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
30845 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
30846 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
30847 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
30848 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
30849 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
30850 * elf/Makefile (sln-modules): New variable.
30851 (extra-objs): Add $(sln-modules:=.o).
30852 (ldconfig-modules): Add static-stubs.
30853 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
30854 * elf/static-stubs.c: New file.
30857 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
30858 by 7 not 8 to examine high bit of fractional part. Use volatile
30859 variables when splitting into final array of floats if
30860 __FLT_EVAL_METHOD__ != 0.
30861 * math/libm-test.inc (cos_test): Add another test.
30862 (sin_test): Likewise.
30863 * sysdeps/i386/fpu/libm-test-ulps: Update.
30866 * math/libm-test.inc (cosh_test): Add more tests.
30868 * version.h (RELEASE): Set to "development".
30869 (VERSION): Set to "2.16.90".
30871 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
30873 * NEWS: Update copyright. Remove last-updated date.
30874 Mention math library bug fixes and timezone data changes.
30875 * README: Mention GNU/Hurd, x32, and HPPA support status.
30877 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
30879 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
30881 2012-06-27 Andreas Jaeger <aj@suse.de>
30883 * manual/contrib.texi (Contributors): Add Samuel Thibault.
30885 2012-06-25 Andreas Jaeger <aj@suse.de>
30887 * sysdeps/s390/fpu/libm-test-ulps: Update.
30889 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
30890 Thomas Schwinge <thomas@codesourcery.com>
30892 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
30893 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
30894 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
30897 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
30899 * sysdeps/mach/start.c: Remove file.
30900 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
30901 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
30902 * sysdeps/sh/init-first.c: Likewise.
30904 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
30905 registers for frame unwinding purposes, add CFI directives.
30906 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30907 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
30908 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
30911 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
30912 __fortify_fail returning.
30913 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30915 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
30916 sysdeps/sh/____longjmp_chk.S.
30917 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
30918 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
30919 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
30920 (gen-as-const-headers): Append sigaltstack-offsets.sym.
30922 * sysdeps/sh/abort-instr.h: New file.
30923 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
30924 process in case exit returns.
30926 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
30927 initialize the GOT register before use.
30929 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
30930 calculation of ARGC > 4.
30932 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
30933 meaningful names to some local labels.
30935 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30936 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30938 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
30939 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
30940 (__arch_compare_and_exchange_val_16_acq): Likewise.
30941 (__arch_compare_and_exchange_val_32_acq): Likewise.
30942 (atomic_exchange_and_add): Fix gUSA sequence.
30943 (atomic_add): Likewise.
30944 (atomic_add_negative): Likewise.
30945 (atomic_add_zero): Likewise.
30946 (atomic_bit_test_set): Likewise.
30948 2012-06-22 Andreas Schwab <schwab@redhat.com>
30951 * include/link.h (struct link_map): Add l_free_initfini.
30952 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
30954 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
30955 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
30956 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
30959 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
30961 * configure.in: Use AC_LANG_SOURCE.
30962 * configure: Regenerate.
30964 2012-06-22 Roland McGrath <roland@hack.frob.com>
30966 * configure.in (libc_cv_localstatedir): New substituted variable.
30967 * configure: Regenerated.
30968 * config.make.in (localstatedir): New variable, substituted from
30969 libc_cv_localstatedir.
30970 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
30971 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
30972 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
30973 * sysdeps/gnu/configure: Regenerated.
30975 2012-06-21 Jeff Law <law@redhat.com>
30978 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
30979 free. Simplify list management for _LIBC case.
30981 2012-06-21 Joseph Myers <joseph@codesourcery.com>
30984 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30985 Clear sign bit of 64-bit integer value before comparing against
30988 * sysdeps/mach/configure: Regenerated.
30990 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
30993 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
30995 2012-06-21 Jeff Law <law@redhat.com>
30998 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
30999 uint16_t for elements in the "seen" array to avoid char overflows.
31000 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31001 * elf/dl-open.c (dl_open_worker): Likewise.
31003 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
31005 * scripts/list-sources.sh: Scan PORTS for translations.
31006 * po/libc.pot: Regenerated.
31008 2012-06-21 Andreas Jaeger <aj@suse.de>
31011 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31013 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31014 * bits/byteswap-16.h (__bswap_16): Likewise.
31015 * bits/byteswap.h (__bswap_constant_16): Likewise.
31017 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
31020 * sysdeps/i386/fpu_control.h: Removed.
31021 * sysdeps/x86_64/fpu_control.h: Moved to ...
31022 * sysdeps/x86/fpu_control.h: Here.
31024 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31025 (_FPU_SETCW): Likewise.
31027 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
31030 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31031 * sysdeps/x86/fpu/bits/mathinline.h: This.
31032 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31036 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31037 functions if __x86_64__ is defined.
31039 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
31041 * string/endian.h: Add !__ASSEMBLER__ condition for including
31042 conversion interfaces.
31044 2012-06-15 Joseph Myers <joseph@codesourcery.com>
31047 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31048 of ABS(x) in calculating zero to negative powers other than odd
31050 * math/libm-test.inc (pow_test): Add more tests.
31052 2012-06-15 Andreas Jaeger <aj@suse.de>
31054 * manual/contrib.texi (Contributors): Update entry of Liubov
31055 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31058 2012-06-15 Cyril Hrubis <metan@ucw.cz>
31060 * string/string.h: Add __wur to GNU version of strerror_r.
31062 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
31065 * string/Makefile (tests): Add tst-strtok_r.
31066 * string/tst-strtok_r.c: New file.
31067 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31068 RAX_LP/RDX_LP on SAVE_PTR.
31070 2012-06-14 Roland McGrath <roland@hack.frob.com>
31072 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31074 2012-06-14 Joseph Myers <joseph@codesourcery.com>
31076 * libm_test.inc (csqrt_test): Allow more spurious underflow
31078 (j0_test): Likewise.
31079 (j1_test): Likewise.
31080 (y0_test): Likewise.
31081 (y1_test): Likewise.
31083 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
31085 * po/Makefile (libc.pot): Use UTF-8 charset.
31087 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
31090 Suppress sign-conversion warning from FD_SET.
31091 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31092 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31093 not unsigned long int.
31094 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31096 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
31100 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
31101 __extern_always_inline instead of __extern_inline.
31102 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
31103 (__signbit): Likewise.
31104 (__signbitl): Support C++ namespace.
31105 (lrintf): New inline function.
31107 (llrintf): Likewise.
31108 (llrint): Likewise.
31118 (floorf): Likewise.
31119 (nearbyint): Likewise.
31120 (nearbyintf): Likewise.
31122 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
31124 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
31125 non-default versions.
31127 2012-06-11 Roland McGrath <roland@hack.frob.com>
31130 * manual/argp.texi (Argp): Reword argp_parse description slightly.
31132 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
31134 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
31135 (FE_UPWARD, FE_DOWNWARD): Don't define.
31136 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
31137 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31139 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
31141 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31142 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31144 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31146 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31147 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
31148 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
31149 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
31151 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
31154 * sysdeps/i386/fpu/bits/fenv.h: Removed.
31155 * sysdeps/i386/fpu/Implies: New file.
31156 * sysdeps/x86_64/fpu/Implies: Likewise.
31157 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
31158 * sysdeps/x86/fpu/bits/fenv.h: This.
31160 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
31163 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
31166 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
31167 character 0xffff that matches the last element of the
31170 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31172 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
31175 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31177 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
31178 values higher than 25.6283.
31180 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31182 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
31183 subnormal exponent extraction and add some __builtin_expect.
31184 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
31185 Fix for subnormal mantissa calculation.
31187 2012-06-04 Mike Frysinger <vapier@gentoo.org>
31189 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
31190 cpu2 is -1 and errno is not ENOSYS.
31192 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
31195 * sysdeps/i386/i486/bits/string.h: Renamed to ...
31196 * sysdeps/x86/bits/string.h: This.
31197 * sysdeps/x86_64/bits/string.h: Removed.
31199 * sysdeps/i386/i486/bits/string.h: Define inline functions only
31200 if not compiling for x86-64, but compiling for >= i486.
31202 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
31203 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
31205 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
31206 New macro from Linux kernel 3.4.0.
31207 (FP_XSTATE_MAGIC2): Likewise.
31208 (FP_XSTATE_MAGIC2_SIZE): Likewise.
31209 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
31210 (struct _fpx_sw_bytes): New struct.
31211 (struct _xsave_hdr): Likewise.
31212 (struct _ymmh_state): Likewise.
31213 (struct _xstate): Likewise.
31215 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
31216 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
31217 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
31218 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
31219 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
31220 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
31222 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
31223 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
31224 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
31225 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
31226 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
31227 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
31229 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31232 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
31233 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
31234 (sysdep_headers): Include sys/platform/ppc.h.
31235 * sysdeps/powerpc/test-gettimebase.c: Test for
31236 __ppc_get_timebase() to catch future ISA opcode/insn changes.
31237 * manual/Makefile (appendices): Include platform.texi.
31238 * manual/contrib.texi (Contributors): Update @node pointers.
31239 * manual/maint.texi (Maintenance): Likewise.
31240 (Platform): New node.
31241 * manual/platform.texi: New file. Document the new features.
31243 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31244 Jakub Jelinek <jakub@redhat.com>
31247 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
31248 where __builtin_expect is unavailable.
31250 2012-06-03 David S. Miller <davem@davemloft.net>
31252 * stdlib/longlong.h: Updated from GCC.
31254 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
31257 * sysdeps/powerpc/powerpc32/mcount.c: New file.
31258 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
31260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31261 (GLIBC_2.16): Likewise.
31263 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31265 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
31267 2012-06-01 Joseph Myers <joseph@codesourcery.com>
31269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
31270 (default-abi): New variable.
31271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
31272 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
31274 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
31276 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
31278 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
31281 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
31282 definition. Document in comment.
31284 2012-06-01 David S. Miller <davem@davemloft.net>
31286 * stdlib/longlong.h: Updated from GCC.
31288 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31291 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
31292 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
31293 sys/debugreg.h sys/io.h here.
31294 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
31295 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
31297 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
31298 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
31299 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
31300 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
31301 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
31302 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
31304 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
31305 Define only if __x86_64__ is defined.
31307 2012-06-01 Joseph Myers <joseph@codesourcery.com>
31310 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
31311 Use int64_t for variable i.
31312 * math/libm-test.inc (fmod_test): Add more tests.
31314 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
31315 z computation is not scheduled after fetestexcept.
31316 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
31317 Use math_force_eval instead of asm to ensure calculation scheduled
31318 before exception test.
31319 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
31320 Ensure a1 + u.d computation is not scheduled after fetestexcept.
31322 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
31324 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
31325 computation is not scheduled after fetestexcept.
31327 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31330 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
31331 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
31333 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31335 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
31336 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31338 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31341 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
31343 (__WCHAR_MIN): Support __WORDSIZE == 64.
31344 (__WCHAR_MAX): Likewise.
31346 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
31347 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
31350 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
31351 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
31354 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
31355 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
31357 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
31358 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
31360 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
31361 Defined to 1 if __x86_64__ isn't defined.
31362 (_STAT_VER_LINUX_OLD): New.
31363 (st_atime): Remove duplicate.
31364 (st_mtime): Likewise.
31365 (st_ctime): Likewise.
31367 2012-05-31 David S. Miller <davem@davemloft.net>
31369 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
31372 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
31374 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
31378 * elf/dl-reloc.c: Include <_itoa.h>.
31379 (_dl_reloc_bad_type): Remove use of INTUSE.
31380 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
31381 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
31382 * stdio-common/psiginfo.c (psiginfo): Likewise.
31383 * stdio-common/psignal.c (psignal): Likewise.
31384 * string/strsignal.c (strsignal): Likewise.
31385 * include/signal.h (_sys_siglist): Declare hidden proto.
31386 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
31387 INTVARDEF with libc_hidden_data_def.
31388 * stdio-common/itoa-udigits.c: Likewise.
31389 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
31390 (_itoa_lower_digits_internal): Remove declaration.
31391 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
31392 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
31393 (_sys_sigabbrev_internal): Remove aliases.
31394 (_sys_siglist): Define hidden alias.
31396 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
31398 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31401 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31404 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
31405 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
31407 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
31408 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
31409 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
31410 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
31411 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
31412 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
31414 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
31415 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
31416 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
31418 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
31426 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
31427 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
31428 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
31430 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
31431 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
31432 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
31433 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
31434 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
31435 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
31437 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
31438 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
31440 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
31441 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
31443 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
31444 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
31445 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
31447 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
31448 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
31450 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
31452 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
31453 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
31454 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
31456 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
31458 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
31460 2012-05-31 Joseph Myers <joseph@codesourcery.com>
31462 * math/math.h (M_El): Use two more decimal places.
31463 (M_LOG2El): Likewise.
31464 (M_LOG10El): Likewise.
31465 (M_LN2l): Likewise.
31466 (M_LN10l): Likewise.
31468 (M_PI_2l): Likewise.
31469 (M_PI_4l): Likewise.
31470 (M_1_PIl): Likewise.
31471 (M_2_PIl): Likewise.
31472 (M_2_SQRTPIl): Likewise.
31473 (M_SQRT2l): Likewise.
31474 (M_SQRT1_2l): Likewise.
31476 2012-05-31 David S. Miller <davem@davemloft.net>
31478 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
31479 values between float registers.
31480 * sysdeps/sparc/sparc64/memset.S: Likewise.
31481 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31483 2012-05-31 Mike Frysinger <vapier@gentoo.org>
31485 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
31486 -D_FORTIFY_SOURCE=1.
31487 (CPPFLAGS-tst-longjmp_chk.c): Define.
31488 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
31489 (CPPFLAGS-tst-longjmp_chk2.c): Define.
31490 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
31491 CFLAGS-tst-wchar-h.c.
31493 2012-05-31 Marek Polacek <polacek@redhat.com>
31496 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
31497 __endmntent_internal): Remove declaration.
31498 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
31499 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
31500 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
31502 2012-05-30 David S. Miller <davem@davemloft.net>
31504 * sysdeps/sparc/sparc32/soft-fp/q_util.c
31505 (___Q_simulate_exceptions): Use real FP ops rather than writing
31507 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
31510 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31513 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
31514 * sysdeps/x86/bits/xtitypes.h: This.
31516 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
31517 * sysdeps/x86/bits/wordsize.h: This.
31519 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
31520 * sysdeps/x86/bits/huge_vall.h: This.
31522 * sysdeps/i386/bits/select.h: Removed.
31523 * sysdeps/x86_64/bits/select.h: Renamed to ...
31524 * sysdeps/x86/bits/select.h: This.
31526 * sysdeps/i386/bits/setjmp.h: Removed.
31527 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
31528 * sysdeps/x86/bits/setjmp.h: This.
31530 * sysdeps/i386/bits/mathdef.h: Removed.
31531 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
31532 * sysdeps/x86/bits/mathdef.h: This.
31534 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
31537 * include/sys/socket.h (__connect_internal)
31538 (__libc_sa_len_internal): Remove declaration.
31539 (__connect, __libc_sa_len): Declare hidden_proto.
31540 (SA_LEN): Remove use of INTUSE.
31541 * socket/connect.c: Add libc_hidden_def.
31542 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
31543 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
31544 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
31546 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31547 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
31548 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
31549 of adding _internal alias.
31551 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31554 * sysdeps/i386/bits/link.h: Removed.
31555 * sysdeps/i386/bits/linkmap.h: Likewise.
31556 * sysdeps/x86_64/bits/link.h: Renamed to ...
31557 * sysdeps/x86/bits/link.h: This.
31558 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
31559 * sysdeps/x86/bits/linkmap.h: This.
31561 * sysdeps/i386/bits/endian.h: Removed.
31562 * sysdeps/x86_64/bits/endian.h: Renamed to ...
31563 * sysdeps/x86/bits/endian.h: This.
31565 * sysdeps/i386/bits/byteswap.h: Removed.
31566 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31567 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
31568 * sysdeps/x86/bits/byteswap.h: This.
31569 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
31570 * sysdeps/x86/bits/byteswap-16.h: This.
31571 * sysdeps/i386/Implies: Add x86.
31572 * sysdeps/x86_64/Implies: Likewise.
31574 2012-05-30 David S. Miller <davem@davemloft.net>
31576 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
31577 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
31578 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31579 (FP_TRAPPING_EXCEPTIONS): Define.
31580 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31581 (FP_TRAPPING_EXCEPTIONS): Define.
31582 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
31583 subnormals only when inexact has been signalled or underflow
31584 exceptions are enabled.
31585 (_FP_PACK_CANONICAL): Likewise.
31587 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31590 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
31591 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
31593 2012-05-30 Richard Henderson <rth@twiddle.net>
31595 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
31596 with #ifndef NOT_IN_libc.
31598 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
31599 marked to avoid plt entry.
31601 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31604 * Makeconfig (default-abi): New macro.
31605 (abi-includes): Likewise.
31606 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
31607 $(abi-$(default-abi)-lib-soname) for soname if defined.
31608 ($(common-objpfx)gnu/lib-names.stmp): Generate from
31610 * Makefile (installed-stubs): Likewise.
31611 * include/stubs-biarch.h: Removed.
31612 * scripts/lib-names.awk: Only handle one library at a time.
31613 * scripts/soversions.awk: Remove WORDSIZE support.
31614 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
31616 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
31618 (syscall-list-default-condition): Likewise.
31619 (syscall-list-default-condition): Likewise.
31620 (syscall-list-includes): Likewise.
31621 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
31622 syscall-list-* with abi-*. Handle undefined abi-variants.
31623 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
31624 * sysdeps/unix/sysv/linux/i386/Implies: New file.
31625 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
31626 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
31627 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
31628 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
31630 (syscall-list-32-options): Likewise.
31631 (syscall-list-32-condition): Likewise.
31632 (syscall-list-64-options): Likewise.
31633 (syscall-list-64-condition): Likewise.
31634 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
31636 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
31639 (abi-64-ld-soname): New macro.
31640 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
31641 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
31644 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
31645 * sysdeps/x86_64/x32/shlib-versions: Likewise.
31647 2012-05-30 Joseph Myers <joseph@codesourcery.com>
31649 * sysdeps/unix/sysv/linux/kernel-features.h
31650 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
31651 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
31652 include <kernel-features.h>.
31653 [!__NR_ftruncate64]: Remove conditional code.
31654 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31655 [__NR_ftruncate64]: Make code unconditional.
31656 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31657 * sysdeps/unix/sysv/linux/truncate64.c: Do not
31658 include <kernel-features.h>.
31659 [!__NR_ftruncate64]: Remove conditional code.
31660 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31661 [__NR_ftruncate64]: Make code unconditional.
31662 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
31664 include <kernel-features.h>.
31665 [!__NR_ftruncate64]: Remove conditional code.
31666 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31667 [__NR_ftruncate64]: Make code unconditional.
31668 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31670 include <kernel-features.h>.
31671 [!__NR_ftruncate64]: Remove conditional code.
31672 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31673 [__NR_ftruncate64]: Make code unconditional.
31674 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31676 * configure.in (libc_cv_fpie): Weaken to a compile test using
31677 LIBC_TRY_CC_OPTION.
31678 * configure: Regenerated.
31680 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31682 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
31683 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
31684 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
31685 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
31688 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
31689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
31690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
31691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
31692 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31695 2012-05-27 David S. Miller <davem@davemloft.net>
31697 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
31699 (__Q_simulate_exceptions): Return void. Change to simulate
31700 exceptions by writing into the %fsr.
31701 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
31702 (__Qp_handle_exceptions): Likewise.
31704 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
31705 __Qp_handle_exceptions.
31706 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
31707 __Qp_handle_exceptions.
31708 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31709 as unused and give dummy FP_RND_NEAREST initializer.
31710 (FP_INHIBIT_RESULTS): Define.
31711 (___Q_simulate_exceptions): Update declaration.
31712 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
31714 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31715 as unused and give dummy FP_RND_NEAREST initializer.
31716 (__Qp_handle_exceptions): Update declaration.
31717 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
31720 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
31722 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
31723 the temporary FPU control word.
31724 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
31725 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
31726 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
31727 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31728 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31729 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
31730 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
31731 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31732 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31733 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
31734 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31736 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31738 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
31741 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
31743 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
31744 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
31745 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
31746 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
31748 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
31749 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
31752 2012-05-27 Ulrich Drepper <drepper@gmail.com>
31754 * po/h.po: Update from translation team.
31756 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
31758 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
31760 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
31761 handling of denormals.
31762 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31763 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
31764 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31765 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31766 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31767 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
31768 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
31771 2012-05-26 Marek Polacek <polacek@redhat.com>
31774 * math/libm-test.inc (fma_test): Don't always expect underflow
31777 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31780 * elf/tst-execstack.c: Include stackinfo.h.
31781 (do_test): Adjust test case to ensure that pthread_getattr_np
31782 behaviour remains the same after marking stack executable.
31784 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31786 * sysdeps/unix/sysv/linux/kernel-features.h
31787 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
31788 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
31790 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31791 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31792 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
31794 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31795 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31797 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
31799 * configure.in: Define the default includes to being none.
31800 * configure: Regenerated.
31802 2012-05-25 Roland McGrath <roland@hack.frob.com>
31804 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
31805 * sysdeps/x86_64/setjmp.S: Likewise.
31806 * sysdeps/i386/bsd-setjmp.S: Likewise.
31807 * sysdeps/i386/bsd-_setjmp.S: Likewise.
31808 * sysdeps/i386/setjmp.S: Likewise.
31809 * sysdeps/i386/__longjmp.S: Likewise.
31810 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31811 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
31813 * include/stap-probe.h: New file.
31814 * configure.in: Handle --enable-systemtap.
31815 * configure: Regenerated.
31816 * config.h.in (USE_STAP_PROBE): New #undef.
31817 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
31818 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
31819 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31821 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31824 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31825 to 2.4.0 where earlier.
31826 * sysdeps/unix/sysv/linux/configure: Regenerated.
31827 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31828 <kernel-features.h>.
31829 [__ASSUME_32BITUIDS]: Make code unconditional.
31830 [!__ASSUME_32BITUIDS]: Remove conditional code.
31831 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
31832 <kernel-features.h>.
31833 [__ASSUME_32BITUIDS]: Make code unconditional.
31834 [!__ASSUME_32BITUIDS]: Remove conditional code.
31835 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
31836 [__ASSUME_32BITUIDS]: Make code unconditional.
31837 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
31838 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
31839 <kernel-features.h>.
31840 [__ASSUME_32BITUIDS]: Make code unconditional.
31841 [!__ASSUME_32BITUIDS]: Remove conditional code.
31842 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
31843 <kernel-features.h>.
31844 [__ASSUME_32BITUIDS]: Make code unconditional.
31845 [!__ASSUME_32BITUIDS]: Remove conditional code.
31846 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
31847 <kernel-features.h>.
31848 [__ASSUME_32BITUIDS]: Make code unconditional.
31849 [!__ASSUME_32BITUIDS]: Remove conditional code.
31850 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
31851 <kernel-features.h>.
31852 [__ASSUME_32BITUIDS]: Make code unconditional.
31853 [!__ASSUME_32BITUIDS]: Remove conditional code.
31854 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31855 <kernel-features.h>.
31856 [__ASSUME_32BITUIDS]: Make code unconditional.
31857 [!__ASSUME_32BITUIDS]: Remove conditional code.
31858 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31859 <kernel-features.h>.
31860 [__ASSUME_32BITUIDS]: Make code unconditional.
31861 [!__ASSUME_32BITUIDS]: Remove conditional code.
31862 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
31863 <kernel-features.h>.
31864 [__ASSUME_32BITUIDS]: Make code unconditional.
31865 [!__ASSUME_32BITUIDS]: Remove conditional code.
31866 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31867 <kernel-features.h>.
31868 [__ASSUME_32BITUIDS]: Make code unconditional.
31869 [!__ASSUME_32BITUIDS]: Remove conditional code.
31870 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31871 <kernel-features.h>.
31872 [__ASSUME_32BITUIDS]: Make code unconditional.
31873 [!__ASSUME_32BITUIDS]: Remove conditional code.
31874 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
31875 <kernel-features.h>.
31876 [__ASSUME_32BITUIDS]: Make code unconditional.
31877 [!__ASSUME_32BITUIDS]: Remove conditional code.
31878 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
31879 <kernel-features.h>.
31880 [__NR_setresgid] (__setresgid): Do not declare.
31881 [__ASSUME_32BITUIDS]: Make code unconditional.
31882 [!__ASSUME_32BITUIDS]: Remove conditional code.
31883 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
31884 <kernel-features.h>.
31885 [__NR_setresuid] (__setresuid): Do not declare.
31886 [__ASSUME_32BITUIDS]: Make code unconditional.
31887 [!__ASSUME_32BITUIDS]: Remove conditional code.
31888 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
31889 <kernel-features.h>.
31890 [__ASSUME_32BITUIDS]: Make code unconditional.
31891 [!__ASSUME_32BITUIDS]: Remove conditional code.
31892 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
31893 <kernel-features.h>.
31894 [__ASSUME_32BITUIDS]: Make code unconditional.
31895 [!__ASSUME_32BITUIDS]: Remove conditional code.
31896 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
31897 <kernel-features.h>.
31898 [__ASSUME_32BITUIDS]: Make code unconditional.
31899 [!__ASSUME_32BITUIDS]: Remove conditional code.
31900 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
31901 <kernel-features.h>.
31902 [__ASSUME_32BITUIDS]: Make code unconditional.
31903 [!__ASSUME_32BITUIDS]: Remove conditional code.
31904 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
31905 <kernel-features.h>.
31906 [__ASSUME_32BITUIDS]: Make code unconditional.
31907 [!__ASSUME_32BITUIDS]: Remove conditional code.
31908 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
31909 <kernel-features.h>.
31910 [__ASSUME_32BITUIDS]: Make code unconditional.
31911 [!__ASSUME_32BITUIDS]: Remove conditional code.
31912 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
31913 <kernel-features.h>.
31914 [__ASSUME_32BITUIDS]: Make code unconditional.
31915 [!__ASSUME_32BITUIDS]: Remove conditional code.
31916 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
31917 <kernel-features.h>.
31918 [__ASSUME_32BITUIDS]: Make code unconditional.
31919 [!__ASSUME_32BITUIDS]: Remove conditional code.
31920 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
31921 <kernel-features.h>.
31922 [__ASSUME_32BITUIDS]: Make code unconditional.
31923 [!__ASSUME_32BITUIDS]: Remove conditional code.
31924 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31925 <kernel-features.h>.
31926 [__ASSUME_32BITUIDS]: Make code unconditional.
31927 [!__ASSUME_32BITUIDS]: Remove conditional code.
31928 * sysdeps/unix/sysv/linux/kernel-features.h
31929 (__ASSUME_SETRESUID_SYSCALL): Remove.
31930 (__ASSUME_SETRESGID_SYSCALL): Likewise.
31931 (__ASSUME_32BITUIDS): Likewise.
31932 (__ASSUME_LDT_WORKS): Likewise.
31933 (__ASSUME_O_DIRECTORY): Likewise.
31934 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
31935 architecture but not kernel version.
31936 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31937 (__ASSUME_MMAP2_SYSCALL): Likewise.
31938 (__ASSUME_STAT64_SYSCALL): Likewise.
31939 (__ASSUME_IPC64): Likewise.
31940 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
31941 <kernel-features.h>.
31942 [__ASSUME_32BITUIDS]: Make code unconditional.
31943 [!__ASSUME_32BITUIDS]: Remove conditional code.
31944 * sysdeps/unix/sysv/linux/opendir.c: Do not include
31945 <kernel-features.h>.
31946 [__ASSUME_O_DIRECTORY]: Make code unconditional.
31947 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
31948 132096]: Remove conditional code.
31949 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
31950 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31951 <kernel-features.h>.
31952 [__ASSUME_32BITUIDS]: Make code unconditional.
31953 [!__ASSUME_32BITUIDS]: Remove conditional code.
31954 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31955 <kernel-features.h>.
31956 [__ASSUME_32BITUIDS]: Make code unconditional.
31957 [!__ASSUME_32BITUIDS]: Remove conditional code.
31958 * sysdeps/unix/sysv/linux/setegid.c: Do not include
31959 <kernel-features.h>.
31960 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
31962 (__setresgid): Do not declare.
31963 [__ASSUME_32BITUIDS]: Make code unconditional.
31964 [!__ASSUME_32BITUIDS]: Remove conditional code.
31965 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
31966 <kernel-features.h>.
31967 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
31969 (__setresuid): Do not declare.
31970 [__ASSUME_32BITUIDS]: Make code unconditional.
31971 [!__ASSUME_32BITUIDS]: Remove conditional code.
31972 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31973 <kernel-features.h>.
31974 [__ASSUME_32BITUIDS]: Make code unconditional.
31975 [!__ASSUME_32BITUIDS]: Remove conditional code.
31976 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
31977 <kernel-features.h>.
31978 [__ASSUME_32BITUIDS]: Make code unconditional.
31979 [!__ASSUME_32BITUIDS]: Remove conditional code.
31981 2012-05-25 Richard Henderson <rth@twiddle.net>
31983 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
31984 dl_hwcap to ifunc resolver.
31985 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
31987 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
31988 dl_hwcap to ifunc resolver.
31989 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
31991 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31994 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
31995 for |x| <= 2**-26, not 2**-57.
31996 * math/libm-test.inc (acos_test): Do not allow spurious underflow
31999 2012-05-24 Jeff Law <law@redhat.com>
32001 * stdio-common/Makefile (tests): Add bug25.
32002 * stdio-common/bug25.c: New test.
32004 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32007 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32008 multiple of MALLOC_ALIGNMENT in size.
32009 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32011 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32013 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32015 (FILENAME_MAX): Use macro-int-constant.
32016 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
32017 (_IOFBF): Use macro-int-constant.
32018 (_IOLBF): Likewise.
32019 (_IONBF): Likewise.
32020 (SEEK_CUR): Likewise.
32021 (SEEK_END): Likewise.
32022 (SEEK_SET): Likewise.
32023 (TMP_MAX): Likewise.
32024 (EOF): Use macro-int-constant. Require < 0.
32025 (NULL): Use macro-constant. Require == 0.
32026 (stdin): Require type to be FILE *.
32027 (stdout): Likewise.
32028 (stderr): Likewise.
32029 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32030 macro-int-constant.
32031 (EXIT_SUCCESS): Likewise.
32032 (NULL): Use macro-constant. Require == 0.
32033 (RAND_MAX): Use macro-int-constant.
32034 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32035 [C99-based standards] (strtof): Require function.
32036 [C99-based standards] (strtold): Likewise.
32037 [C99-based standards] (strtoll): Likewise.
32038 [C99-based standards] (strtoull): Likewise.
32039 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32040 [ISO || ISO99 || ISO11] (limits.h): Likewise.
32041 [ISO || ISO99 || ISO11] (math.h): Likewise.
32042 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32043 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32044 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32046 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
32049 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32050 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32051 * intl/dgettext.c (DCGETTEXT): Likewise.
32052 * intl/gettext.c (DCGETTEXT): Likewise.
32053 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32054 * posix/regex_internal.h (gettext): Likewise.
32055 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32056 Remove declaration.
32057 * include/argz.h (__argz_count_internal)
32058 (__argz_stringify_internal): Remove declaration.
32059 (__argz_count, __argz_stringify): Declare hidden proto.
32060 * intl/dcgettext.c: Remove use of INTDEF.
32061 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32062 * string/argz-stringify.c: Likewise.
32063 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32064 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32065 Declare hidden proto.
32066 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32067 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32068 Declare hidden proto.
32069 * include/stdio.h (__asprintf_internal): Don't declare.
32070 (__asprintf): Don't define as macro. Declare hidden proto.
32071 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32072 (__fsetlocking): Declare hidden proto.
32073 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32074 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32076 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32077 (_IO_setlinebuf): Remove use of INTUSE.
32078 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32079 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32080 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32081 Remove declaration.
32082 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32083 (_IO_do_flush): Remove use of INTUSE.
32084 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32085 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32086 (_IO_adjust_column, _IO_least_wmarker)
32087 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32088 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32089 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32090 (_IO_default_doallocate, _IO_wdefault_doallocate)
32091 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32092 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32093 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32094 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32095 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
32096 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
32097 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
32098 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
32099 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
32100 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
32101 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
32102 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
32103 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
32105 (_IO_flush_all_internal, _IO_adjust_column_internal)
32106 (_IO_default_uflow_internal, _IO_default_finish_internal)
32107 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
32108 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
32109 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
32110 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
32111 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
32112 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
32113 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
32114 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
32115 (_IO_file_close_internal, _IO_file_close_it_internal)
32116 (_IO_file_underflow_internal, _IO_file_overflow_internal)
32117 (_IO_file_init_internal, _IO_file_attach_internal)
32118 (_IO_file_fopen_internal, _IO_file_read_internal)
32119 (_IO_file_sync_internal, _IO_file_seek_internal)
32120 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
32121 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
32122 (_IO_str_underflow_internal, _IO_str_overflow_internal)
32123 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
32124 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
32125 (_IO_list_all_internal, _IO_link_in_internal)
32126 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
32127 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
32128 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
32129 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
32130 (_IO_do_write_internal, _IO_padn_internal)
32131 (_IO_getline_info_internal, _IO_getline_internal)
32132 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
32133 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
32134 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
32135 (_IO_vfscanf_internal, _IO_vfprintf_internal)
32136 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
32137 (_IO_init_internal, _IO_un_link_internal): Don't declare.
32138 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
32139 with libc_hidden_ver, remove use of INTUSE.
32140 * libio/genops.c: Likewise.
32141 * libio/freopen.c: Likewise.
32142 * libio/freopen64.c: Likewise.
32143 * libio/iofclose.c: Likewise.
32144 * libio/iofdopen.c: Likewise.
32145 * libio/iofflush.c: Likewise.
32146 * libio/iofflush_u.c: Likewise.
32147 * libio/iofgets.c: Likewise.
32148 * libio/iofgets_u.c: Likewise.
32149 * libio/iofopen.c: Likewise.
32150 * libio/iofopncook.c: Likewise.
32151 * libio/iofread.c: Likewise.
32152 * libio/iofread_u.c: Likewise.
32153 * libio/ioftell.c: Likewise.
32154 * libio/iofwrite.c: Likewise.
32155 * libio/iogetline.c: Likewise.
32156 * libio/iogets.c: Likewise.
32157 * libio/iogetwline.c: Likewise.
32158 * libio/iopadn.c: Likewise.
32159 * libio/iopopen.c: Likewise.
32160 * libio/ioseekoff.c: Likewise.
32161 * libio/ioseekpos.c: Likewise.
32162 * libio/iosetbuffer.c: Likewise.
32163 * libio/iosetvbuf.c: Likewise.
32164 * libio/ioungetc.c: Likewise.
32165 * libio/ioungetwc.c: Likewise.
32166 * libio/iovdprintf.c: Likewise.
32167 * libio/iovsprintf.c: Likewise.
32168 * libio/iovsscanf.c: Likewise.
32169 * libio/memstream.c: Likewise.
32170 * libio/obprintf.c: Likewise.
32171 * libio/oldfileops.c: Likewise.
32172 * libio/oldiofclose.c: Likewise.
32173 * libio/oldiofdopen.c: Likewise.
32174 * libio/oldiofopen.c: Likewise.
32175 * libio/oldiopopen.c: Likewise.
32176 * libio/oldstdfiles.c: Likewise.
32177 * libio/putc.c: Likewise.
32178 * libio/setbuf.c: Likewise.
32179 * libio/setlinebuf.c: Likewise.
32180 * libio/stdfiles.c: Likewise.
32181 * libio/strops.c: Likewise.
32182 * libio/vasprintf.c: Likewise.
32183 * libio/vscanf.c: Likewise.
32184 * libio/vsnprintf.c: Likewise.
32185 * libio/vswprintf.c: Likewise.
32186 * libio/wfiledoalloc.c: Likewise.
32187 * libio/wfileops.c: Likewise.
32188 * libio/wgenops.c: Likewise.
32189 * libio/wmemstream.c: Likewise.
32190 * libio/wstrops.c: Likewise.
32191 * libio/__fpurge.c: Likewise.
32192 * libio/__fsetlocking.c: Likewise.
32193 * assert/assert.c: Likewise.
32194 * debug/fgets_chk.c: Likewise.
32195 * debug/fgets_u_chk.c: Likewise.
32196 * debug/fread_chk.c: Likewise.
32197 * debug/fread_u_chk.c: Likewise.
32198 * debug/gets_chk.c: Likewise.
32199 * debug/obprintf_chk.c: Likewise.
32200 * debug/vasprintf_chk.c: Likewise.
32201 * debug/vdprintf_chk.c: Likewise.
32202 * debug/vsnprintf_chk.c: Likewise.
32203 * debug/vsprintf_chk.c: Likewise.
32204 * malloc/mtrace.c: Likewise.
32205 * misc/error.c: Likewise.
32206 * misc/syslog.c: Likewise.
32207 * stdio-common/asprintf.c: Likewise.
32208 * stdio-common/fxprintf.c: Likewise.
32209 * stdio-common/getw.c: Likewise.
32210 * stdio-common/isoc99_fscanf.c: Likewise.
32211 * stdio-common/isoc99_scanf.c: Likewise.
32212 * stdio-common/isoc99_vfscanf.c: Likewise.
32213 * stdio-common/isoc99_vscanf.c: Likewise.
32214 * stdio-common/isoc99_vsscanf.c: Likewise.
32215 * stdio-common/printf-prs.c: Likewise.
32216 * stdio-common/printf_fp.c: Likewise.
32217 * stdio-common/printf_fphex.c: Likewise.
32218 * stdio-common/printf_size.c: Likewise.
32219 * stdio-common/putw.c: Likewise.
32220 * stdio-common/scanf.c: Likewise.
32221 * stdio-common/sprintf.c: Likewise.
32222 * stdio-common/tmpfile.c: Likewise.
32223 * stdio-common/vfprintf.c: Likewise.
32224 * stdio-common/vfscanf.c: Likewise.
32225 * stdlib/strfmon_l.c: Likewise.
32226 * sunrpc/openchild.c: Likewise.
32227 * sunrpc/xdr_stdio.c: Likewise.
32228 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
32229 * sysdeps/mach/hurd/tmpfile.c: Likewise.
32231 2012-05-24 Roland McGrath <roland@hack.frob.com>
32233 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32235 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
32236 in the third column, to generate for the shared library an IFUNC
32237 that uses _dl_vdso_vsym.
32238 * Makerules (COMPILE.c, compile-stdin.c): New variables.
32239 * Makeconfig (object-suffixes-noshared): New variable.
32241 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
32242 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
32243 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
32244 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
32247 * include/sys/time.h (__gettimeofday): Remove macro.
32248 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
32249 * time/gettimeofday.c (__gettimeofday): Remove #undef.
32251 (__gettimeofday): Add libc_hidden_def.
32252 (gettimeofday): Add libc_hidden_weak.
32253 * sysdeps/mach/gettimeofday.c: Likewise.
32254 * sysdeps/posix/gettimeofday.c: Likewise.
32255 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32256 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
32257 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
32258 (__gettimeofday_internal): Remove strong_alias.
32259 (__gettimeofday): Add libc_hidden_def.
32260 (gettimeofday): Add libc_hidden_weak.
32261 * sysdeps/unix/syscalls.list (gettimeofday):
32262 Remove __gettimeofday_internal alias.
32264 2012-05-24 Daniel Jacobowitz <drow@false.org>
32265 H.J. Lu <hongjiu.lu@intel.com>
32268 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
32269 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
32270 (largebin_index_32_big): New.
32271 (largebin_index): Use it for 16-byte alignment.
32272 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
32273 correction with front_misalign.
32275 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32277 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
32278 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32280 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
32282 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32284 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
32286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
32288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
32290 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
32292 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32294 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
32296 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
32298 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32300 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
32303 * scripts/data/c++-types-x32-linux-gnu.data: New file.
32304 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
32306 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32310 * math/libm-test.inc (exp_test): Add test from bug 14036.
32311 (pow_test): Add test from bug 10846.
32313 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
32315 (special_function): Do not include flags in test name.
32316 (parse_args): Likewise.
32317 * sysdeps/i386/fpu/libm-test-ulps: Update.
32318 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32319 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32320 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32323 * math/gen-libm-test.pl (%beautify): Add entries for underflow
32325 * math/libm-test.inc ("Philosophy"): Update comment about
32327 (UNDERFLOW_EXCEPTION): New macro.
32328 (UNDERFLOW_EXCEPTION_OK): Likewise.
32329 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
32330 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
32331 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
32332 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
32333 (INVALID_EXCEPTION_OK): Update value.
32334 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32335 (OVERFLOW_EXCEPTION_OK): Likewise.
32336 (IGNORE_ZERO_INF_SIGN): Likewise.
32337 (test_exceptions): Handle underflow exceptions.
32338 (acos_test): Update for underflow exception expectations.
32339 (cexp_test): Likewise.
32340 (clog_test): Likewise.
32341 (clog10_test): Likewise.
32342 (csqrt_test): Likewise.
32343 (ctan_test): Likewise.
32344 (ctanh_test): Likewise.
32345 (exp_test): Likewise.
32346 (exp10_test): Likewise.
32347 (exp2_test): Likewise.
32348 (expm1_test): Likewise.
32349 (fma_test): Likewise.
32350 (j0_test): Likewise.
32351 (jn_test): Likewise.
32352 (nexttoward_test): Likewise.
32353 (pow_test): Likewise.
32354 (scalbn_test): Likewise.
32355 (scalbln_test): Likewise.
32356 (tan_test): Likewise.
32357 (y1_test): Likewise.
32358 * sysdeps/i386/fpu/libm-test-ulps: Update.
32359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32361 2012-05-23 David S. Miller <davem@davemloft.net>
32363 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32364 (__libc_sigaction): Remove unused local variables.
32366 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32368 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
32370 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
32372 mktime: avoid signed integer overflow
32373 * time/mktime.c (__mktime_internal): Do not mishandle the case
32374 where diff == INT_MIN.
32376 mktime: simplify computation of average
32377 * time/mktime.c (ranged_convert): Use new time_t_avg function
32378 instead of rolling our own (probably-slower) code.
32380 mktime: do not assume signed right shift propagates sign bit
32381 * time/mktime.c (isdst_differ): New static function.
32382 (__mktime_internal): No need to normalize tm_isdst now.
32383 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
32386 mktime: merge another wrapv change from gnulib
32387 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
32388 from some compilers.
32390 mktime: remove incorrect attempt at unusual arithmetics
32391 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
32392 The code didn't really work on such machines anyway.
32393 (TYPE_MINIMUM): Assume two's complement.
32394 (twos_complement_arithmetic): Verify that long_int and time_t
32395 are two's complement (or unsigned, in the latter case).
32397 mktime: check signed shifts on long_int and time_t, too
32398 * time/mktime.c (SHR): Check that shifts work as desired
32399 on the types long_int and time_t too, as SHR is used on
32402 mktime: do not assume 'long' is wide enough
32403 * time/mktime.c (verify): Move decl up.
32404 (long_int): New type.
32405 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
32406 to remove assumption in the code that 'long' is wide enough to
32407 store year values. This assumption is not true on x32 and on
32408 some non-glibc platforms.
32410 mktime: merge wrapv change from gnulib
32411 * time/mktime.c (WRAPV): New macro.
32412 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
32413 (guess_time_tm, __mktime_internal): Do not assume that signed
32414 integer overflow wraps around; modern compilers generate code
32415 where this assumption is no longer valid.
32417 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32419 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32420 Replace "jmp L(pseudo_end)" with "ret".
32421 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
32424 2012-05-23 Andreas Jaeger <aj@suse.de>
32426 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
32427 * sysdeps/unix/sysv/linux/poll.c: Remove file.
32429 2012-05-23 Andreas Jaeger <aj@suse.de>
32430 Maximilian Attems <max@stro.at>
32432 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
32435 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32437 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
32438 code so that pseudo_end is just ret and the stack pointer is
32439 correct also for static library in error case.
32441 2012-05-23 Joseph Myers <joseph@codesourcery.com>
32443 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
32444 move to syscalls.list.
32445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32450 * manual/install.texi (Running make install): Do not mention Linux
32451 kernel version for which pt_chown is not needed.
32452 (Linux): Do not mention problems with nscd with 2.0 kernels.
32453 * INSTALL: Regenerated.
32455 2012-05-23 Andreas Jaeger <aj@suse.de>
32457 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
32458 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
32460 * sysdeps/unix/sysv/linux/s390/bits/mman.h
32461 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32462 * sysdeps/unix/sysv/linux/sh/bits/mman.h
32463 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32464 * sysdeps/unix/sysv/linux/i386/bits/mman.h
32465 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32466 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
32467 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32468 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
32469 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32470 * sysdeps/unix/sysv/linux/bits/in.h
32471 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
32473 2012-05-22 Roland McGrath <roland@hack.frob.com>
32475 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
32476 (PREPARE_VERSION): Just use assert instead, it will be elided
32477 under [NDEBUG] anyway.
32479 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32481 * sysdeps/unix/sysv/linux/Makefile: Include
32482 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
32483 (sysdep_routines): Remove sysctl.
32484 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
32485 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
32486 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
32487 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
32488 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
32490 2012-05-22 Andreas Jaeger <aj@suse.de>
32492 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
32493 that pseudo_end is just ret and the stack pointer is correct also
32494 for static library in error case.
32496 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
32499 * nss/nsswitch.c (defconfig_entries): New variable.
32500 (__nss_database_lookup): Don't leak defconfig entries.
32501 (nss_parse_service_list): Don't leak on error paths.
32502 (free_database_entries): New function.
32503 (free_defconfig): New function.
32504 (free_mem): Move common code to free_database_entries.
32506 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32508 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
32510 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
32512 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32513 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
32514 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
32516 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
32517 (INTERNAL_SYSCALL_TYPES): Likewise.
32518 (LOAD_ARGS_TYPES_[1-6]): Likewise.
32519 (LOAD_REGS_TYPES_[1-6]): Likewise.
32520 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
32521 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
32523 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32525 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
32526 copysignl for GLIBC_2_0.
32527 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
32528 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
32529 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
32530 logbl for GLIBC_2_0.
32531 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32532 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32534 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32536 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
32537 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32539 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32542 * time/mktime.c: Update copyright years.
32544 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
32546 mktime: merge comment-quoting-style change from gnulib
32547 * time/mktime.c: Quote 'like this' in comments.
32548 The GNU coding standards suggest that we no longer quote `like this',
32549 as "`" and "'" are typically rendered asymmetrically nowadays.
32550 The typical gnulib style is to quote 'like this' when quoting
32551 code, and "like this" when quoting English.
32553 * time/mktime.c (compile-command): Add "-I.".
32555 mktime: merge mktime-internal.h change from gnulib
32556 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
32558 mktime: merge time_r change from gnulib
32559 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
32561 mktime: merge DEBUG change from gnulib
32562 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
32563 case system <time.h> has a #define.
32565 mktime: merge <sys/types.h> change from gnulib
32566 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
32567 since <time.t> is now guaranteed to define time_t.
32569 mktime: merge HAVE_CONFIG_H change from gnulib
32570 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
32572 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32574 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32577 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
32579 (struct rusage): Use anonymous union to pad each field to
32582 2012-05-21 David S. Miller <davem@davemloft.net>
32584 * Makefules (o-iterator): Remove .s cases.
32585 (compile-command.s): Delete.
32586 (COMPILE.s): Delete.
32587 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
32589 2012-05-21 Joseph Myers <joseph@codesourcery.com>
32591 * configure.in (libc_cv_predef_stack_protector): Only consider
32592 "foobar" and "__stack_chk_fail" lines in libc_undefs.
32593 * configure: Regenerated.
32595 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32597 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32598 New macro. Use R*LP on int and pointer.
32599 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
32600 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
32601 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
32602 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
32604 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
32605 [__WORDSIZE_TIME64_COMPAT32] instead of
32606 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
32607 (struct utmp): Likewise.
32608 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
32609 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
32611 (__WORDSIZE_TIME64_COMPAT32): This.
32612 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
32613 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
32614 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
32615 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
32616 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
32617 (__WORDSIZE_TIME64_COMPAT32): New macro.
32619 2012-05-21 Andreas Jaeger <aj@suse.de>
32621 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
32622 only if [SHARED]. Add prototype for __wcschr_ia32.
32624 2012-05-21 Roland McGrath <roland@hack.frob.com>
32626 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
32627 of %rbp unmolested in the jmp_buf while mangling the low bits.
32628 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
32629 unmolested high bits of %rbp while demangling the low bits.
32630 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32632 2012-05-21 Andreas Jaeger <aj@suse.de>
32634 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
32635 * sunrpc/svc_simple.c: Use it for registerrpc.
32636 * sunrpc/xcrypt.c: Use it for passwd2des.
32638 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
32640 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32642 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
32643 Don't define if [__SYSCALL_WORDSIZE != 32].
32644 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
32647 2012-05-21 Bruno Haible <bruno@clisp.org>
32648 Andreas Jaeger <aj@suse.de>
32650 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
32651 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
32652 inptr and inend for must_buffer_ch.
32653 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
32654 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
32655 * stdio-common/Makefile (tests): Remove bug15.
32656 (bug15-ENV): Remove macro.
32657 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
32660 2012-05-19 Andreas Jaeger <aj@suse.de>
32661 Roland McGrath <roland@hack.frob.com>
32663 * manual/contrib.texi: Completely rewritten. It contains now an
32664 alphabetical list of contributors and their contributions.
32666 2012-05-21 Richard Henderson <rth@twiddle.net>
32668 * misc/getauxval.c (__getauxval): Use unsigned long int.
32669 * misc/sys/auxv.h: Include <sys/cdefs.h>.
32670 (getauxval): Use unsigned long int.
32672 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32674 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32676 2012-05-21 Roland McGrath <roland@hack.frob.com>
32678 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
32679 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
32680 __alignof__ (long double).
32682 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32684 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32686 2012-05-20 Richard Henderson <rth@twiddle.net>
32688 * misc/getauxval.c: New file.
32689 * misc/sys/auxv.h: New file.
32690 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
32691 (routines): Add getauxval.
32692 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
32693 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
32694 * elf/dl-sysdep.c (_dl_auxv): Remove.
32695 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
32696 * elf/dl-support.c (_dl_auxv): New variable.
32697 (_dl_aux_init): Initialize it.
32698 * manual/startup.texi (Auxiliary Vector): New node.
32699 * sysdeps/generic/bits/hwcap.h: New file.
32700 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
32701 * sysdeps/powerpc/sysdep.h: ... here. Include it.
32702 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
32703 * sysdeps/sparc/sysdep.h: ... here. Include it.
32704 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
32705 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
32706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
32709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
32710 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
32711 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
32712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32713 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32714 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
32715 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
32717 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32721 2012-05-19 David S. Miller <davem@davemloft.net>
32723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32725 2012-05-19 Joseph Myers <joseph@codesourcery.com>
32728 * math/s_ccosh.c: Include <float.h>
32729 (__ccosh): Avoid internal overflow calculating sinh and cosh
32730 values before multiplying by sin and cos values.
32731 * math/s_ccoshf.c: Likewise.
32732 * math/s_ccoshl.c: Likewise.
32733 * math/s_csin.c: Likewise.
32734 * math/s_csinf.c: Likewise.
32735 * math/s_csinl.c: Likewise.
32736 * math/s_csinh.c: Likewise.
32737 * math/s_csinhf.c: Likewise.
32738 * math/s_csinhl.c: Likewise.
32739 * math/libm-test.inc (ccos_test): Add more tests.
32740 (ccosh_test): Likewise.
32741 (csin_test): Likewise.
32742 (csinh_test): Likewise.
32743 * sysdeps/i386/fpu/libm-test-ulps: Update.
32744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32746 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
32748 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
32749 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
32751 * sysdeps/x86_64/x32/_itoa.h: Add comment.
32753 2012-05-19 Joseph Myers <joseph@codesourcery.com>
32755 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
32756 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
32757 * sysdeps/powerpc/soft-fp/Versions: Likewise.
32758 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
32759 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
32760 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
32761 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
32762 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
32763 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
32764 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
32765 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
32766 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
32767 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
32768 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
32769 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
32770 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
32771 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
32772 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
32773 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
32774 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
32775 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
32776 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
32777 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
32778 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
32779 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
32780 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
32781 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
32782 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
32783 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
32784 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
32785 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
32787 2012-05-18 Andreas Jaeger <aj@suse.de>
32789 * csu/.gitignore: Delete.
32791 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32793 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
32794 (timex): Use __syscall_slong_t.
32796 2012-05-18 Andreas Jaeger <aj@suse.de>
32797 Carlos O'Donell <carlos_odonell@mentor.com>
32799 * manual/install.texi (Configuring and compiling): Update
32800 description about files modified in the source directory.
32801 * INSTALL: Regenerated.
32803 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32805 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
32806 value. Use "or" to set return value to -1.
32807 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
32808 negate return value.
32810 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32812 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
32813 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
32814 failure if the compiler has Graphite support disabled.
32815 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
32817 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
32818 (CFLAGS-memmove.c): Likewise.
32819 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
32822 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32824 * sysdeps/x86_64/x32/_itoa.h: New file.
32826 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
32827 getdents system call only if kernel and user dirents have the
32828 same d_ino and d_off.
32830 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32831 LLONG_MAX != LONG_MAX.
32832 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32833 (_fitoa_word): Likewise.
32835 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
32837 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
32838 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
32839 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
32841 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
32842 include <bits/wordsize.h>. Check __x86_64__ instead of
32844 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
32845 if __x86_64__ is defined. Use anonymous union on fpstate.
32847 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
32850 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
32852 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32853 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
32854 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
32855 Refer to _rtld_local_ro instead of _rtld_global_ro.
32856 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
32858 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
32860 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
32862 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
32863 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
32864 of _rtld_global, and rtld_progname instead of _dl_argv[0].
32866 * sysdeps/powerpc/powerpc32/dl-machine.c
32867 (__elf_machine_runtime_setup) [PROF]: Don't reference
32870 2012-05-18 Andreas Jaeger <aj@suse.de>
32872 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
32873 function only available for GCCs before 3.4 since GCC 3.4
32874 introduced a builtin.
32876 (llrintf): Likewise.
32877 (llrint): Likewise.
32884 (nearbyint): Likewise.
32885 (nearbyintf): Likewise.
32889 (floorf): Likewise.
32891 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32893 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
32894 on both fields and cast pointer to __syscall_ulong_t.
32896 * bits/types.h (__fsword_t): New type.
32897 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
32898 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
32899 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32900 (__FSWORD_T_TYPE): Likewise.
32901 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32902 (__FSWORD_T_TYPE): Likewise.
32903 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32904 (__FSWORD_T_TYPE): Likewise.
32905 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
32906 (__FSWORD_T_TYPE): Likewise.
32907 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
32908 __SWORD_TYPE with __fsword_t.
32909 (statfs64): Likewise.
32911 2012-05-17 David S. Miller <davem@davemloft.net>
32913 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
32915 2012-05-17 Andreas Jaeger <aj@suse.de>
32917 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
32920 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32922 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
32924 2012-05-17 Andreas Jaeger <aj@suse.de>
32926 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
32929 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32931 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
32933 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32935 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
32936 * sysdeps/x86_64/tst-mallocalign1.c: New file.
32938 2012-05-17 Andreas Jaeger <aj@suse.de>
32939 Carlos O'Donell <carlos_odonell@mentor.com>
32942 * sysdeps/x86_64/multiarch/init-arch.h
32943 (bit_YMM_Usable): Rename to...
32944 (bit_AVX_Usable): ... this.
32945 (bit_FMA4_Usable): New macro.
32946 (bit_XMM_state): New macro.
32947 (bit_YMM_state): New macro.
32948 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
32949 [__ASSEMBLER__] (index_AVX_Usable): ... this.
32950 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
32951 (CPUID_OSXSAVE): New macro.
32952 (CPUID_AVX): New macro.
32953 (CPUID_FMA4): New macro.
32954 (index_YMM_Usable): Rename to...
32955 (index_AVX_Usable): ... this.
32956 (HAS_AVX): Use HAS_ARCH_FEATURE.
32957 (HAS_FMA4): Likewise.
32958 (HAS_YMM_USABLE): Remove.
32959 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32960 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
32962 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
32963 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
32964 * sysdeps/x86_64/multiarch/Makefile: Likewise.
32965 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
32966 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
32968 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32970 * math/libm-test.c: Support platforms without multiple rounding modes.
32971 * math/bug-nextafter.c: Support platforms without FP exceptions.
32972 * math/bug-nexttoward.c: Likewise.
32973 * math/test-fenv.c: Likewise.
32974 * math/test-misc.c: Likewise.
32975 * stdlib/bug-getcontext.c: Likewise.
32977 2012-05-17 Andreas Jaeger <aj@suse.de>
32979 * manual/examples/search.c (critter_cmp): Change signature to
32981 * manual/string.texi (Collation Functions): Likewise.
32983 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32985 * bits/types.h: Fold copyright years.
32986 * bits/typesizes.h: Likewise.
32987 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
32988 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32989 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
32990 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
32991 * time/time.h: Likewise.
32993 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
32996 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
32997 in instead of returning them. Return void.
32998 (__libc_mallinfo): Accumulate over all arenas.
32999 (__malloc_stats): Adjust for change in int_mallinfo interface.
33001 2012-05-16 Roland McGrath <roland@hack.frob.com>
33004 * configure.in (NM): Add AC_CHECK_TOOL for it.
33005 (libc_extra_cflags): New substituted variable.
33006 Check for -fstack-protector being used implicitly.
33007 * configure: Regenerated.
33008 * config.make.in (config-extra-cflags): New variable,
33009 gets @libc_extra_cflags@.
33010 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33013 * configure.in: Check for _FORTIFY_SOURCE being predefined.
33014 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33015 * configure: Regenerated.
33016 * config.make.in (CPPUNDEFS): New substituted variable.
33017 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33018 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33019 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33021 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33023 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33024 (mq_attr): Use __syscall_slong_t.
33026 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33028 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33029 Check __x86_64__ instead of __WORDSIZE.
33030 (_STAT_VER_LINUX): Likewise.
33031 (stat): Check __x86_64__ instead of __WORDSIZE. Use
33032 __syscall_ulong_t and __syscall_slong_t.
33033 (stat64): Likewise.
33035 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33037 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33039 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33041 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33043 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33045 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33048 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33049 include <bits/wordsize.h>. Check __x86_64__ instead of
33051 (greg_t): Use "__extension__ long long int" if __x86_64__ is
33053 (mcontext_t): Replace "unsigned long" with "unsigned long long".
33055 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33056 include <bits/wordsize.h>. Check __x86_64__ instead of
33058 (user_regs_struct): Use "__extension__ unsigned long long"
33059 instead of "unsigned long" if __x86_64__ is defined.
33060 (user): Likewise. Pad after pointer field if __ILP32__ is
33063 2012-05-16 Joseph Myers <joseph@codesourcery.com>
33065 * configure.in (makeinfo): Require version 4.5 or later. Allow
33067 * configure: Regenerated.
33068 * manual/install.texi (texinfo): Increase version requirement to
33070 * INSTALL: Regenerated.
33072 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33074 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33076 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33078 * sysdeps/x86_64/x32/ffs.c: New file.
33080 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33082 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33083 defined. Use __syscall_ulong_t.
33084 (shminfo): Use __syscall_ulong_t.
33085 (shm_info): Likewise.
33087 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33090 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33092 (msgqnum_t): Use __syscall_ulong_t.
33093 (msglen_t): Likewise.
33094 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
33097 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
33098 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33100 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33102 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
33103 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
33105 * sysvipc/sys/msg.h (msgbuf): Replace long int with
33108 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
33109 include <bits/wordsize.h>. Check __x86_64__ instead of
33112 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
33113 "unsigned long long int" if __x86_64__ is defined.
33114 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
33116 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
33117 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33118 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
33120 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
33122 (GET_PC): Cast to uintptr_t first.
33123 (GET_FRAME): Likewise.
33124 (GET_STACK): Likewise.
33126 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
33127 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
33128 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
33129 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
33130 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
33131 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
33132 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
33133 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
33134 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33135 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
33136 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
33137 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
33138 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33139 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
33140 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
33141 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
33142 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
33143 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
33144 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
33145 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
33146 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
33147 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
33148 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
33149 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
33150 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
33151 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
33152 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
33153 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
33154 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
33156 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
33158 * Makerules (+depfiles): Also collect depfiles from .oS in
33160 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
33161 .oS, $(libnldbl-routines)).
33163 * Makerules (native-compile-mkdep-flags): Define.
33164 * sunrpc/Makefile (extra-objs): Add $(addprefix
33165 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
33166 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
33167 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
33168 calling $(make-target-directory).
33170 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33172 * bits/types.h (__snseconds_t): Removed.
33173 * time/time.h (struct timespec): Replace __snseconds_t with
33175 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
33176 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
33178 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33179 (__SNSECONDS_T_TYPE): Likewise.
33180 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33181 (__SNSECONDS_T_TYPE): Likewise.
33182 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33183 (__SNSECONDS_T_TYPE): Likewise.
33185 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33187 * sysdeps/mach/hurd/bits/typesizes.h
33188 (__SYSCALL_SLONG_TYPE): New macro.
33189 (__SYSCALL_ULONG_TYPE): Likewise.
33191 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33193 * bits/types.h (__syscall_slong_t): New type.
33194 (__syscall_ulong_t): Likewise.
33196 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
33197 (__SYSCALL_ULONG_TYPE): Likewise.
33198 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33199 (__SYSCALL_SLONG_TYPE): Likewise.
33200 (__SYSCALL_ULONG_TYPE): Likewise.
33201 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33202 (__SYSCALL_SLONG_TYPE): Likewise.
33203 (__SYSCALL_ULONG_TYPE): Likewise.
33204 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33205 (__SYSCALL_SLONG_TYPE): Likewise.
33206 (__SYSCALL_ULONG_TYPE): Likewise.
33208 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33210 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
33211 Add sigaltstack-offsets.sym.
33212 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
33213 <sigaltstack-offsets.h>.
33214 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
33215 longjmp_msg pointer.
33216 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
33217 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
33219 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
33221 2012-05-15 Joseph Myers <joseph@codesourcery.com>
33223 * elf/stackguard-macros.h: Remove file.
33224 * sysdeps/generic/stackguard-macros.h: New file.
33225 * sysdeps/i386/stackguard-macros.h: Likewise.
33226 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33227 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33228 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33229 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33230 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33231 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33232 * sysdeps/x86_64/stackguard-macros.h: Likewise.
33233 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
33234 <elf/stackguard-macros.h>.
33237 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
33238 __aligned__ in attribute.
33239 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
33240 (gregset_t): Likewise.
33242 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33244 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
33245 * sysdeps/x86_64/64/Implies-after: Here. New file.
33246 * sysdeps/x86_64/x32/Implies-after: New file.
33248 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33250 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
33251 and access return value for _dl_profile_fixup. Use R10_LP to
33254 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33256 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
33258 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33260 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
33261 * sysdeps/x86_64/x32/sysdep.h: New file.
33263 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33265 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
33266 * sysdeps/x86_64/setjmp.S: Likewise.
33268 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33270 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
33271 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
33272 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
33273 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
33274 remove unused global constant.
33276 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
33278 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
33279 include of <not-cancel.h>.
33281 2012-05-15 Roland McGrath <roland@hack.frob.com>
33283 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
33285 2012-05-15 Jeff Law <law@redhat.com>
33286 Andreas Jaeger <aj@suse.de>
33289 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
33291 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
33292 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
33293 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
33294 code changing __hst_map_handle.map.
33296 2012-05-15 Roland McGrath <roland@hack.frob.com>
33298 * configure.in (sysnames): Look for Implies-before and Implies-after
33300 * configure: Regenerated.
33302 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33304 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
33305 8-byte data alignment with LP_SIZE alignment.
33307 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33309 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
33312 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33314 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
33316 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33318 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
33319 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
33320 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
33322 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33324 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33326 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
33327 (stackinfo_sub_sp): Likewise.
33329 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33331 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
33334 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33336 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
33339 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33341 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
33344 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33346 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
33348 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33350 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
33351 into R11_LP and load __x86_64_shared_cache_size_half into
33354 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33356 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
33359 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33361 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
33363 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
33365 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
33367 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
33368 powerpc32/power7/fpu/s_logb.c via #include.
33369 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
33370 powerpc32/power7/fpu/s_logbf.c via #include.
33371 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
33372 powerpc32/power7/fpu/s_logbl.c via #include.
33374 2012-05-15 Joseph Myers <joseph@codesourcery.com>
33376 * README.libm: Remove file.
33378 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33380 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
33381 count for x32. Use R*_LP and omit operand-size suffix.
33383 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33385 * shlib-versions: Move x86_64-.*-linux.* entries to ...
33386 * sysdeps/x86_64/64/shlib-versions: Here. New file.
33387 * sysdeps/x86_64/x32/shlib-versions: New file.
33389 2012-05-14 Roland McGrath <roland@hack.frob.com>
33391 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
33392 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
33393 Use _dl_fatal_printf instead.
33395 2012-05-14 Joseph Myers <joseph@codesourcery.com>
33397 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
33398 set if not set by the user. Do not allow for being unset.
33399 * sysdeps/unix/sysv/linux/configure: Regenerated.
33401 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33403 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
33404 the `q' suffix from lea and replace .quad with ASM_ADDR.
33406 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33408 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
33409 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
33411 (PTR_DEMANGLE): Likewise.
33413 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33415 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
33417 (ASM_ADDR): Likewise.
33418 (RAX_LP): Likewise.
33419 (RBP_LP): Likewise.
33420 (RBX_LP): Likewise.
33421 (RCX_LP): Likewise.
33422 (RDI_LP): Likewise.
33423 (RSI_LP): Likewise.
33424 (RSP_LP): Likewise.
33427 (R10_LP): Likewise.
33428 (R10_LP): Likewise.
33429 (R11_LP): Likewise.
33430 (R12_LP): Likewise.
33431 (R13_LP): Likewise.
33432 (R14_LP): Likewise.
33433 (R15_LP): Likewise.
33435 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33437 * sysdeps/x86_64/x32/dl-machine.h: New file.
33439 2012-05-14 Andreas Jaeger <aj@suse.de>
33441 * manual/Makefile (subdir): Remove export of subdir.
33442 (all): Remove target.
33443 (.PHONY): Remove all from list.
33444 (mkinstalldirs): Remove.
33445 (.PHONY): Remove installdirs from list.
33446 ($(inst_infodir)/libc.info): Use make-target-directory.
33447 (installdirs): Remove.
33448 (subdir_%): Remove.
33449 (glibc-targets): Remove.
33452 ($(objpfx)stubs ../po/manual.pot): Remove.
33453 ($(objpfx)stamp%): Remove.
33454 (make-target-directory): Remove.
33455 (subdir_install): Remove.
33456 (routines): Remove.
33463 * manual/.gitignore: Remove, it's not needed anymore.
33464 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
33466 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
33468 (texis): Renamed to $(objpfx)texis.
33469 (texis-path): New, contains path to generated files.
33470 (chapters.%): Use texis-path for complete path, add extra argument
33472 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
33473 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
33474 (summary,texi, stamp-summary): Use complete path of
33475 files. Generate files in build dir.
33476 (dir-add.texi): Build in build dir.
33477 (libm-err.texi,stamp-libm-err): Likewise.
33478 (version.texi, stamp-version): Likewise.
33479 (.%c.texi): Likewise.
33480 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
33481 (mostlyclean): Remove target.
33482 (realclean): Remove target.
33483 (generated): Add new variable with contents from mostlyclean and
33484 realclean, remove entries duplicated in common-mostlyclean, add
33485 stamp-libm-err and stamp-version.
33486 (generated-dirs): Add libc directory.
33487 ($(inst_infodir)/libc.info): Install files from build dir.
33489 * manual/install.texi (Configuring and compiling): Adjust since
33490 the info files are not part of the tar ball anymore.
33492 2012-05-14 Andreas Jaeger <aj@suse.de>
33494 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
33497 2012-05-14 Joseph Myers <joseph@codesourcery.com>
33500 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33501 to 2.2.0 where earlier.
33502 * sysdeps/unix/sysv/linux/configure: Regenerated.
33503 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
33504 Remove conditional code.
33505 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
33506 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
33507 Remove conditional code.
33508 [!__NR_lchown]: Likewise.
33509 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33510 [__NR_lchown]: Likewise.
33511 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
33512 comment referencing __ASSUME_LCHOWN_SYSCALL.
33513 * sysdeps/unix/sysv/linux/i386/sigaction.c
33514 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33515 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33516 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
33517 Remove conditional code.
33518 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
33519 (__protocol_available): Remove #if 0 code.
33520 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
33522 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
33523 * sysdeps/unix/sysv/linux/kernel-features.h
33524 (__ASSUME_GETCWD_SYSCALL): Don't define.
33525 (__ASSUME_REALTIME_SIGNALS): Likewise.
33526 (__ASSUME_PREAD_SYSCALL): Likewise.
33527 (__ASSUME_PWRITE_SYSCALL): Likewise.
33528 (__ASSUME_POLL_SYSCALL): Likewise.
33529 (__ASSUME_LCHOWN_SYSCALL): Likewise.
33530 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
33532 (__ASSUME_SIOCGIFNAME): Don't define.
33533 (__ASSUME_MSG_NOSIGNAL): Likewise.
33534 (__ASSUME_SENDFILE): Define unconditionally.
33535 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
33536 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
33538 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
33539 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
33540 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33541 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33542 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
33543 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33544 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
33546 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33547 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33549 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33550 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
33552 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33553 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33555 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33556 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
33558 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33559 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33561 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33562 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
33564 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33565 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33567 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33568 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33569 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
33570 Remove conditional code.
33571 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33572 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33573 Remove conditional code.
33574 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33575 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
33576 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
33577 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33578 Remove conditional code.
33579 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33580 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
33581 Remove conditional code.
33582 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33583 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
33584 Remove conditional code.
33585 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33586 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33587 Remove conditional code.
33588 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33589 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33590 Remove conditional code.
33591 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33592 * sysdeps/unix/sysv/linux/sh/pwrite64.c
33593 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33594 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33595 * sysdeps/unix/sysv/linux/sigaction.c
33596 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33597 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33598 * sysdeps/unix/sysv/linux/sigpending.c
33599 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33600 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33601 * sysdeps/unix/sysv/linux/sigprocmask.c
33602 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33603 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33604 * sysdeps/unix/sysv/linux/sigsuspend.c
33605 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33606 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33607 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33608 (__libc_missing_rt_sigs): Remove.
33609 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
33610 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
33611 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
33612 Remove conditional code.
33613 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
33614 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
33616 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
33617 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
33618 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
33619 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
33621 2012-05-14 Andreas Jaeger <aj@suse.de>
33623 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
33624 it's not used in glibc.
33625 (__coshm1): Likewise.
33626 (__acosh1p): Likewise.
33629 * manual/string.texi (Copying and Concatenation): Add missing
33630 variable in concat example.
33631 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
33633 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33636 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
33637 __builtin_clzl with __builtin_clzll.
33639 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33642 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
33645 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33647 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
33648 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
33649 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
33650 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
33652 2012-05-14 Mike Frysinger <vapier@gentoo.org>
33654 * NEWS: Update ia64 info.
33656 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
33658 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
33661 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
33663 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
33664 * sysdeps/unix/syscalls.list (dup3): Likewise.
33665 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
33666 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
33668 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33670 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
33671 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
33673 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33675 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
33677 (TLS_IE): Use mov/add instead of movq/addq to load thread
33679 (TLS_GD_PREFIX): New.
33682 2012-05-11 David S. Miller <davem@davemloft.net>
33684 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
33685 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
33686 (_FPU_SETCW): Likewise.
33688 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33690 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
33691 is 32-byte aligned.
33693 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
33696 * iconvdata/gb18030.c: Update tables.
33697 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
33698 characters specially.
33699 (BODY for TO_LOOP): Add encoding of missing ranges.
33701 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
33704 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
33705 * sysdeps/mach/hurd/dup3.c: Likewise.
33706 * sysdeps/mach/hurd/readlinkat.c: Likewise.
33707 * sysdeps/powerpc/memmove.c:: Likewise.
33709 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33711 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
33712 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
33714 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33716 * elf/elf.h (R_X86_64_RELATIVE64): New.
33717 (R_X86_64_NUM): Updated.
33718 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33719 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
33720 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
33721 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
33722 tst-quad1pie tst-quad2pie
33723 (modules-names): Add tst-quadmod1 tst-quadmod2.
33724 ($(objpfx)tst-quad1): New dependency.
33725 ($(objpfx)tst-quad2): Likewise.
33726 ($(objpfx)tst-quad1pie): Likewise.
33727 ($(objpfx)tst-quad2pie): Likewise.
33728 * sysdeps/x86_64/tst-quad1.c: New file.
33729 * sysdeps/x86_64/tst-quad1pie.c: New file.
33730 * sysdeps/x86_64/tst-quad2.c: Likewise.
33731 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
33732 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
33733 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
33734 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
33735 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
33737 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33739 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
33740 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
33741 * streams/stropts.h (t_scalar_t): Define type.
33743 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
33744 (_PATH_PRESERVE): Set to "/var/lib".
33745 (_PATH_RWHODIR): Set to "/var/spool/rwho".
33747 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
33750 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
33751 if __dir_mkfile succeeded.
33753 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
33754 checking for _hurd_dtablesize. Unlock it right after having
33755 finished _hurd_dtable allocation.
33757 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33759 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
33760 * sysdeps/mach/hurd/configure: Regenerated.
33761 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
33762 special-casing to...
33763 * sysdeps/gnu/configure.in: ... this new file.
33764 * sysdeps/unix/sysv/linux/configure: Regenerated.
33765 * sysdeps/gnu/configure: New generated file.
33767 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
33768 for Linux: use nsec instead of usec, as well as:
33769 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
33770 members of type struct timespec.
33771 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
33773 (struct stat64): Likewise.
33774 (_STATBUF_ST_NSEC): New macro.
33775 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
33777 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33778 __strtoul_internal rather than strtoul.
33780 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33782 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
33785 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33787 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
33788 which preserves existing values.
33789 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
33791 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33793 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
33794 TIMEOUT values. Return EINVAL for NFDS values either negative or
33795 greater than FD_SETSIZE.
33797 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33799 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
33800 allocated, call __vm_protect to finish enabling the existing space, and
33801 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
33802 allocate the remainder.
33804 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33806 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
33807 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
33809 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33811 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
33812 sysdeps/mach/hurd/readlink.c.
33814 * posix/tst-sysconf.c (posix_options): Only use
33815 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
33816 _POSIX_SYNCHRONIZED_IO when they are defined
33817 * sysdeps/mach/hurd/bits/posix_opt.h:
33818 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
33819 (_XOPEN_REALTIME): Undefine macro.
33820 (_XOPEN_REALTIME_THREADS): Undefine macro.
33821 (_XOPEN_SHM): Undefine macro.
33822 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
33824 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
33826 (_POSIX_ASYNC_IO): Undefine macro.
33827 (_POSIX_PRIORITIZED_IO): Undefine macro.
33828 (_POSIX_SPIN_LOCKS): Define macro to -1.
33830 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
33831 SA_NODEFER, SA_RESETHAND.
33832 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
33833 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
33836 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33838 * elf/Makefile (pldd-modules): Define unconditionally.
33840 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33842 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
33844 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33846 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
33847 Return ENOENT when name is empty.
33848 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
33850 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33852 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
33854 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
33856 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33858 Fix mlock in all cases except non-readable pages.
33859 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
33860 instead of VM_PROT_ALL as parameter to __vm_wire function.
33862 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
33863 (__mkdir): When path is `/', just fail with EEXIST.
33864 * sysdeps/mach/hurd/mkdirat.c: Likewise.
33866 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33868 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
33869 <sys/uio.h> (for writev).
33870 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
33871 and <sys/param.h> (for MIN).
33873 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33875 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
33876 REQUESTED_TIME. Properly set the remaining time and return EINTR
33879 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33881 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
33882 Depend on against $(link-rpcuserlibs).
33884 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33886 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
33887 (__libc_stack_end): Do not use attribute_relro.
33888 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
33889 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
33890 to libthread-provided value.
33891 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
33894 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33897 * bits/libc-lock.h (__libc_once_get): New macro.
33898 * sysdeps/mach/bits/libc-lock.h: Likewise.
33899 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
33900 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
33901 instead of using implementation details.
33903 * libio/fileops.c: Unconditionally include <kernel-features.h>.
33904 * libio/freopen.c: Likewise.
33905 * libio/freopen64.c: Likewise.
33906 * misc/syslog.c: Likewise.
33907 * nscd/connections.c: Likewise.
33908 * nscd/netgroupcache.c: Likewise.
33909 * sysdeps/posix/getcwd.c: Likewise.
33911 2012-05-10 Roland McGrath <roland@hack.frob.com>
33913 * math/w_ilogbf.c: Add #include <limits.h>.
33915 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33917 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
33918 path instead of returning without unlocking.
33920 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
33921 immediate-write ioctls.
33922 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
33924 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33926 * sysdeps/mach/hurd/i386/init-first.c (init): Use
33927 __builtin_frame_address instead of making assumptions about the
33928 location of the return address relative to DATA. Force early load of
33929 the return address.
33930 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
33931 __builtin_frame_address.
33934 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
33935 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
33936 implement dup3 and do some further code clean-ups.
33937 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
33938 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
33940 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33942 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
33944 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
33945 HURD_CRITICAL_END around holding _hurd_dtable_lock.
33946 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
33947 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
33948 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
33951 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
33952 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
33953 when handler == SIG_ERR, not when handler != SIG_ERR.
33955 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33957 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
33958 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
33961 accept4 for GNU Hurd.
33962 * include/sys/socket.h (__libc_accept4): New prototype.
33963 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
33964 to implement __libc_accept4.
33965 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
33967 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
33969 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
33970 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
33971 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
33972 signal-defines.sym.
33974 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33976 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
33978 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33980 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33981 assertion on O_CLOEXEC flag.
33982 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
33983 * hurd/intern-fd.c: Likewise.
33984 * hurd/port2fd.c: Likewise.
33986 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33989 * bits/in.h (IPV6_PKTINFO): Define new macro.
33990 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33992 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33997 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
33998 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33999 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34000 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34001 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34002 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34003 * math/libm-test.inc (logb_test) : Additional logb tests.
34005 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
34006 Andreas Jaeger <aj@suse.de>
34008 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34009 * configure: Regenerated.
34010 * config.h.in (LINK_OBSOLETE_RPC): New macro.
34011 * config.make.in (link-obsolete-rpc): New substituted variable.
34012 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34013 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34014 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34015 (shared-only-routines): Don't set it under [link-obsolete-rpc],
34016 so that libc.a contains the symbols.
34017 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34018 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34019 * sunrpc/auth_none.c: Likewise.
34020 * sunrpc/auth_unix.c: Likewise.
34021 * sunrpc/authdes_prot.c: Likewise.
34022 * sunrpc/authuxprot.c: Likewise.
34023 * sunrpc/clnt_gen.c: Likewise.
34024 * sunrpc/clnt_perr.c: Likewise.
34025 * sunrpc/clnt_raw.c: Likewise.
34026 * sunrpc/clnt_simp.c: Likewise.
34027 * sunrpc/clnt_tcp.c: Likewise.
34028 * sunrpc/clnt_udp.c: Likewise.
34029 * sunrpc/clnt_unix.c: Likewise.
34030 * sunrpc/des_crypt.c: Likewise.
34031 * sunrpc/des_soft.c: Likewise.
34032 * sunrpc/get_myaddr.c: Likewise.
34033 * sunrpc/key_call.c: Likewise.
34034 * sunrpc/key_prot.c: Likewise.
34035 * sunrpc/netname.c: Likewise.
34036 * sunrpc/pm_getmaps.c: Likewise.
34037 * sunrpc/pm_getport.c: Likewise.
34038 * sunrpc/pmap_clnt.c: Likewise.
34039 * sunrpc/pmap_prot.c: Likewise.
34040 * sunrpc/pmap_prot2.c: Likewise.
34041 * sunrpc/pmap_rmt.c: Likewise.
34042 * sunrpc/publickey.c: Likewise.
34043 * sunrpc/rpc_cmsg.c: Likewise.
34044 * sunrpc/rpc_common.c: Likewise.
34045 * sunrpc/rpc_dtable.c: Likewise.
34046 * sunrpc/rpc_prot.c: Likewise.
34047 * sunrpc/rpc_thread.c: Likewise.
34048 * sunrpc/rtime.c: Likewise.
34049 * sunrpc/svc.c: Likewise.
34050 * sunrpc/svc_auth.c: Likewise.
34051 * sunrpc/svc_raw.c: Likewise.
34052 * sunrpc/svc_run.c: Likewise.
34053 * sunrpc/svc_tcp.c: Likewise.
34054 * sunrpc/svc_udp.c: Likewise.
34055 * sunrpc/svc_unix.c: Likewise.
34056 * sunrpc/svcauth_des.c: Likewise.
34057 * sunrpc/xcrypt.c: Likewise.
34058 * sunrpc/xdr.c: Likewise.
34059 * sunrpc/xdr_array.c: Likewise.
34060 * sunrpc/xdr_float.c: Likewise.
34061 * sunrpc/xdr_intXX_t.c: Likewise.
34062 * sunrpc/xdr_mem.c: Likewise.
34063 * sunrpc/xdr_rec.c: Likewise.
34064 * sunrpc/xdr_ref.c: Likewise.
34065 * sunrpc/xdr_sizeof.c: Likewise.
34066 * sunrpc/xdr_stdio.c: Likewise.
34068 2012-05-10 Roland McGrath <roland@hack.frob.com>
34070 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34071 change. Update copyright years.
34073 2012-05-10 Joseph Myers <joseph@codesourcery.com>
34075 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34077 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
34078 Joseph Myers <joseph@codesourcery.com>
34079 Paul Pluzhnikov <ppluzhnikov@google.com>
34082 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34084 [cross-compiling] (extra-libs): Likewise.
34085 [cross-compiling] (extra-libs-others): Likewise.
34086 [cross-compiling] (librpcsvc-routines): Likewise.
34087 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34088 [cross-compiling] (omit-deps): Likewise.
34089 (sunrpc-CPPFLAGS): New variable.
34090 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34091 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34092 (cross-rpcgen-objs): New variable.
34093 (extra-objs): Append $(cross-rpcgen-objs).
34094 ($(cross-rpcgen-objs)): New rule.
34095 ($(objpfx)cross-rpcgen): Likewise.
34096 (rpcgen-cmd): Define to use $(built-program-file). Expand
34098 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
34099 ($(objpfx)x%.stmp): Likewise.
34100 * sunrpc/proto.h [IS_IN_build] (_): Define.
34101 [IS_IN_build] (_libc_intl_domainname): Likewise.
34103 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34105 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
34106 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
34107 and R_X86_64_TPOFF64.
34109 2012-05-10 Joseph Myers <joseph@codesourcery.com>
34111 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
34112 sysdeps/unix/sysv/syscalls.list.
34115 * sysdeps/unix/sysv/syscalls.list: Remove file.
34117 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
34120 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
34121 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
34122 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
34123 (__LC_IDENTIFICATION): Make these macros useful in #if
34124 expressions, as required by C99.
34126 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
34128 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
34129 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
34132 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
34134 * stdlib/longlong.h: Updated from GCC.
34136 2012-05-09 Andreas Jaeger <aj@suse.de>
34138 * nscd/nscd.c (run_modes): Make named enum, reorder so that
34139 default is first entry.
34140 (run_mode): Set type.
34141 (main): Remove informal message about syslog.
34142 (options): Fix typo.
34145 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
34148 (llrintf): Likewise.
34149 (llrint): Likewise.
34152 (nearbyint): Likewise.
34153 (nearbyintf): Likewise.
34155 2012-05-09 Andreas Jaeger <aj@suse.de>
34156 Pedro Alves <palves@redhat.com>
34158 * nscd/nscd.c (run_mode): Use enum.
34159 (main): Cleanup coding style issue.
34161 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
34162 Andreas Jaeger <aj@suse.de>
34164 * nscd/nscd.c (go_background): Replaced with...
34165 (run_mode): ... this.
34166 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
34167 (options): Add -F --foreground.
34168 (main): Implement it.
34169 (parse_opt): Parse it.
34171 2012-05-09 Andreas Jaeger <aj@suse.de>
34174 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
34175 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
34176 -Wconversion warning.
34177 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
34180 2012-05-09 Joseph Myers <joseph@codesourcery.com>
34182 * conform/data/locale.h-data (NULL): Use macro-constant. Require
34184 (LC_ALL): Use macro-int-constant.
34185 (LC_COLLATE): Likewise.
34186 (LC_CTYPE): Likewise.
34187 (LC_MESSAGES): Likewise.
34188 (LC_MONETARY): Likewise.
34189 (LC_NUMERIC): Likewise.
34190 (LC_TIME): Likewise.
34191 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
34192 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34193 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34194 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
34196 [C99-based standards] (float_t): Expect type.
34197 [C99-based standards] (double_t): Expect type.
34198 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
34200 [C99-based standards] (HUGE_VALL): Likewise.
34201 [C99-based standards] (INFINITY): Likewise.
34202 [C99-based standards] (NAN): Likewise.
34203 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34204 [C99-based standards] (FP_NAN): Likewise.
34205 [C99-based standards] (FP_NORMAL): Likewise.
34206 [C99-based standards] (FP_SUBNORMAL): Likewise.
34207 [C99-based standards] (FP_ZERO): Likewise.
34208 [C99-based standards] (FP_FAST_FMA): Use
34209 optional-macro-int-constant. Specify type. Require == 1.
34210 [C99-based standards] (FP_FAST_FMAF): Likewise.
34211 [C99-based standards] (FP_FAST_FMAL): Likewise.
34212 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34213 [C99-based standards] (FP_ILOGBNAN): Likewise.
34214 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
34216 [C99-based standards] (MATH_ERREXCEPT): Likewise.
34217 [C99-based standards] (math_errhandling): Specify type.
34218 [ISO99 || ISO11] (signgam): Do not allow.
34219 [non-C99-based standards] (copysignf): Do not allow.
34220 [non-C99-based standards] (exp2f): Likewise.
34221 [non-C99-based standards] (log2f): Likewise.
34222 [non-C99-based standards] (modff): Allow.
34223 [non-C99-based standards] (erff): Do not allow.
34224 [non-C99-based standards] (erfcf): Likewise.
34225 [non-C99-based standards] (gammaf): Likewise.
34226 [non-C99-based standards] (hypotf): Likewise.
34227 [non-C99-based standards] (j0f): Likewise.
34228 [non-C99-based standards] (j1f): Likewise.
34229 [non-C99-based standards] (jnf): Likewise.
34230 [non-C99-based standards] (lgammaf): Likewise.
34231 [non-C99-based standards] (tgammaf): Likewise.
34232 [non-C99-based standards] (y0f): Likewise.
34233 [non-C99-based standards] (y1f): Likewise.
34234 [non-C99-based standards] (ynf): Likewise.
34235 [non-C99-based standards] (isnanf): Likewise.
34236 [non-C99-based standards] (acoshf): Likewise.
34237 [non-C99-based standards] (asinhf): Likewise.
34238 [non-C99-based standards] (atanhf): Likewise.
34239 [non-C99-based standards] (cbrtf): Likewise.
34240 [non-C99-based standards] (expm1f): Likewise.
34241 [non-C99-based standards] (ilogbf): Likewise.
34242 [non-C99-based standards] (log1pf): Likewise.
34243 [non-C99-based standards] (logbf): Likewise.
34244 [non-C99-based standards] (nextafterf): Likewise.
34245 [non-C99-based standards] (remainderf): Likewise.
34246 [non-C99-based standards] (rintf): Likewise.
34247 [non-C99-based standards] (scalbf): Likewise.
34248 [non-C99-based standards] (copysignl): Likewise.
34249 [non-C99-based standards] (exp2l): Likewise.
34250 [non-C99-based standards] (log2l): Likewise.
34251 [non-C99-based standards] (modfl): Allow.
34252 [non-C99-based standards] (erfl): Do not allow.
34253 [non-C99-based standards] (erfcl): Likewise.
34254 [non-C99-based standards] (gammal): Likewise.
34255 [non-C99-based standards] (hypotl): Likewise.
34256 [non-C99-based standards] (j0l): Likewise.
34257 [non-C99-based standards] (j1l): Likewise.
34258 [non-C99-based standards] (jnl): Likewise.
34259 [non-C99-based standards] (lgammal): Likewise.
34260 [non-C99-based standards] (tgammal): Likewise.
34261 [non-C99-based standards] (y0l): Likewise.
34262 [non-C99-based standards] (y1l): Likewise.
34263 [non-C99-based standards] (ynl): Likewise.
34264 [non-C99-based standards] (isnanl): Likewise.
34265 [non-C99-based standards] (acoshl): Likewise.
34266 [non-C99-based standards] (asinhl): Likewise.
34267 [non-C99-based standards] (atanhl): Likewise.
34268 [non-C99-based standards] (cbrtl): Likewise.
34269 [non-C99-based standards] (expm1l): Likewise.
34270 [non-C99-based standards] (ilogbl): Likewise.
34271 [non-C99-based standards] (log1pl): Likewise.
34272 [non-C99-based standards] (logbl): Likewise.
34273 [non-C99-based standards] (nextafterl): Likewise.
34274 [non-C99-based standards] (remainderl): Likewise.
34275 [non-C99-based standards] (rintl): Likewise.
34276 [non-C99-based standards] (scalbl): Likewise.
34277 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34278 [non-C99-based standards] (FP_*): Do not allow.
34279 [C99-based standards] (FP_*): Change to
34280 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34281 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34283 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
34284 (SIG_ERR): Likewise.
34285 [X/Open-based standards] (SIG_HOLD): Likewise.
34286 (SIG_IGN): Likewise.
34287 (SIGABRT): Use macro-int-constant. Specify type. Require
34289 (SIGFPE): Likewise.
34290 (SIGILL): Likewise.
34291 (SIGINT): Likewise.
34292 (SIGSEGV): Likewise.
34293 (SIGTER): Likewise.
34294 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
34295 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
34296 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
34297 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
34298 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
34299 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
34300 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
34301 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
34302 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
34303 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
34304 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
34305 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
34306 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
34307 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
34308 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
34309 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
34310 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
34311 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
34312 [X/Open-based standards] (SIGTRAP): Likewise.
34313 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
34314 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
34315 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
34316 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
34317 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34320 2012-05-08 Ian Wienand <ianw@vmware.com>
34323 * time/tzset.c (__tzset_parse_tz): Update default rules for
34324 daylight time changes in the Energy Policy Act of 2005.
34326 2012-05-09 Andreas Jaeger <aj@suse.de>
34329 * elf/ldconfig.c (parse_conf): Change string to make clear that
34330 ldconfig only issued a warning if ld.so.conf does not exist.
34332 2012-05-08 David S. Miller <davem@davemloft.net>
34334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
34335 movxtod instead of popping the value on the stack.
34337 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34339 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
34341 * config.h.in: Add HAVE_ARM_PCS_VFP.
34343 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
34346 * include/features.h: Warn if user requests __FORTIFY_SOURCE
34347 checking but the checks are disabled for any reason.
34349 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
34351 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
34352 and ELF64_R_TYPE with ELFW(R_TYPE).
34354 2012-05-08 Joseph Myers <joseph@codesourcery.com>
34356 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
34357 (ulimit): Likewise.
34359 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
34360 (settimeofday): Likewise.
34362 2012-05-08 Mike Frysinger <vapier@gentoo.org>
34364 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
34365 a struct th_u2 inside the union, and move tu_block/tu_code into
34366 a new th_u3 union of tu_block/tu_code inside of that. Move
34367 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
34368 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
34369 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
34370 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
34371 (th_stuff): Change to th_u1.tu_stuff.
34373 (th_msg): Change to th_u1.th_u2.tu_data.
34375 2012-05-07 David S. Miller <davem@davemloft.net>
34377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34380 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
34381 (SETUP_PIC_REG): Use it.
34382 (SETUP_PIC_REG_LEAF): Use it.
34384 2012-05-07 Joseph Myers <joseph@codesourcery.com>
34388 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34390 (EXPL_FINITE): Likewise.
34391 (FLDLOG): Likewise.
34392 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34393 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34395 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34397 (EXPL_FINITE): Likewise.
34398 (FLDLOG): Likewise.
34399 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34400 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34402 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
34403 test of -max_value argument for long double.
34404 * sysdeps/i386/fpu/libm-test-ulps: Update.
34405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34407 2012-05-06 David S. Miller <davem@davemloft.net>
34409 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
34410 quad soft-float symbols whose references which are compiler
34412 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34414 2012-05-06 Joseph Myers <joseph@codesourcery.com>
34418 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34420 (EXPL_FINITE): Likewise.
34421 (FLDLOG): Likewise.
34424 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34425 Adjust comments for base varying.
34426 (__expl_finite): Change alias to EXPL_FINITE.
34427 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
34429 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
34430 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34431 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34432 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
34433 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34435 (EXPL_FINITE): Likewise.
34436 (FLDLOG): Likewise.
34439 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34440 Adjust comments for base varying.
34441 (__expl_finite): Change alias to EXPL_FINITE.
34442 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
34444 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34447 * math/libm-test.inc (check_float_internal): Correct ulp
34448 calculation for subnormal expected results.
34450 2012-05-06 Andreas Jaeger <aj@suse.de>
34452 * Makeconfig (+math-flags): New, set to -frounding-math.
34453 (+cflags): Add +math-flags so that all of glibc gets compiled with
34456 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
34458 2012-05-05 Joseph Myers <joseph@codesourcery.com>
34460 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
34466 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
34467 (__ieee754_expl): Allow for and saturate large arguments.
34468 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
34469 (u_threshold): Likewise.
34470 (__exp): Call __ieee754_exp before checking for overflow and
34472 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
34473 (u_threshold): Likewise.
34474 (__expf): Call __ieee754_expf before checking for overflow and
34476 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
34477 (u_threshold): Likewise.
34478 (__expl): Call __ieee754_expl before checking for overflow and
34480 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
34481 (__ieee754_expl): Allow for and saturate large arguments.
34482 * math/libm-test.inc (exp_test): Add another test. Do not allow
34483 missing overflow exception on overflow.
34484 (expm1_test): Do not allow missing overflow exception on overflow.
34486 * sysdeps/i386/fpu/e_expl.c: Move to ...
34487 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
34488 rather than using inline asm.
34489 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
34490 * sysdeps/x86_64/fpu/e_expl.S: Copy from
34491 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
34493 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
34496 (signal): Likewise.
34500 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34502 * sysdeps/unix/syscalls.list (adjtime): Add entry from
34503 sysdeps/unix/common/syscalls.list.
34504 (fchmod): Likewise.
34505 (fchown): Likewise.
34506 (ftruncate): Likewise.
34507 (getrusage): Likewise.
34508 (gettimeofday): Likewise.
34509 (setpgid): Likewise.
34510 (setregid): Likewise.
34511 (setreuid): Likewise.
34512 (sigaction): Likewise.
34513 (truncate): Likewise.
34514 (vhangup): Likewise.
34515 * sysdeps/unix/common/syscalls.list: Remove file.
34516 * sysdeps/unix/bsd/Implies: Don't include unix/common.
34517 * sysdeps/unix/sysv/linux/Implies: Likewise.
34519 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
34521 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
34522 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
34523 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
34525 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34527 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
34529 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
34530 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
34532 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
34533 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
34535 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
34536 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
34538 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
34539 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
34541 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
34542 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
34544 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
34545 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
34547 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34549 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
34551 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
34553 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
34555 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
34556 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
34558 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
34560 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
34562 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
34564 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34566 * sysdeps/unix/common/bits/dirent.h: Remove file.
34567 * sysdeps/unix/common/bits/fcntl.h: Likewise.
34569 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
34570 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
34571 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
34572 * sysdeps/unix/bsd/isatty.c: Likewise.
34573 * sysdeps/unix/bsd/tcdrain.c: Likewise.
34574 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
34575 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
34577 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34580 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
34581 long double comparison inaccuracies.
34582 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
34583 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34585 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
34587 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
34588 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
34590 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34593 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
34594 nonzero digits before rounding a hex value.
34595 * stdlib/tst-strtod.c (tests): Add another test.
34597 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34599 * sysdeps/s390/fpu/libm-test-ulps: Update.
34601 2012-05-03 Andreas Jaeger <aj@suse.de>
34603 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
34604 does not get optimized out.
34605 (malloc_opt_barrier): New.
34607 2012-05-03 Andreas Jaeger <aj@suse.de>
34608 Roland McGrath <roland@hack.frob.com>
34610 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
34611 intermediate file deletion.
34612 (generated): Add .symlist files.
34614 2012-05-03 Joseph Myers <joseph@codesourcery.com>
34617 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
34618 Redirect under this condition.
34619 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34620 [__USE_GNU] (__dprintf_chk): Not under this condition.
34621 [__USE_GNU] (__vdprintf_chk): Likewise.
34622 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
34623 under this condition.
34624 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34625 [__USE_XOPEN2K8] (dprintf): Define under this condition.
34626 [__USE_XOPEN2K8] (vdprintf): Likewise.
34627 [__USE_GNU] (__dprintf_chk): Not under this condition.
34628 [__USE_GNU] (__vdprintf_chk): Likewise.
34629 [__USE_GNU] (dprintf): Likewise.
34630 [__USE_GNU] (vdprintf): Likewise.
34632 2012-05-03 Roland McGrath <roland@hack.frob.com>
34634 * elf/Makefile (common-generated): Set this instead of generated for
34635 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
34636 $(all-built-dso)-derived lists.
34638 2012-05-03 Andreas Jaeger <aj@suse.de>
34640 * sysdeps/i386/fpu/libm-test-ulps: Update.
34643 * FAQ.in: Likewise.
34644 * scripts/gen-FAQ.pl: Likewise.
34645 * manual/install.texi (Installation): Point to online location of
34647 * Makefile (files-for-dist): Remove FAQ.
34650 2012-05-02 Allan McRae <allan@archlinux.org>
34652 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
34653 (LDFLAGS-reldepmod5.so): Likewise.
34654 (LDFLAGS-reldep6mod1.so): Likewise.
34655 (LDFLAGS-reldep6mod4.so): Likewise.
34656 (LDFLAGS-reldep8mod3.so): Likewise.
34657 (LDFLAGS-unload4mod1.so): Likewise.
34658 (LDFLAGS-unload4mod2.so): Likewise.
34659 (LDFLAGS-tst-initorder): Likewise.
34660 (LDFLAGS-tst-initordera2.so): Likewise.
34661 (LDFLAGS-tst-initordera3.so): Likewise.
34662 (LDFLAGS-tst-initordera4.so): Likewise.
34663 (LDFLAGS-tst-initorderb2.so): Likewise.
34664 (LDFLAGS-noload): Likewise.
34665 (LDFLAGS-next): Likewise.
34666 (LDFLAGS-order2mod1.so): Likewise.
34667 (LDFLAGS-order2mod2.so): Likewise.
34668 (LDFLAGS-tst-initorder2): Likewise.
34669 (LDFLAGS-tst-initorder2a.so): Likewise.
34670 (LDFLAGS-tst-initorder2b.so): Likewise.
34671 (LDFLAGS-tst-initorder2c.so): Likewise.
34672 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
34674 2012-05-02 David S. Miller <davem@davemloft.net>
34676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34678 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
34681 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
34683 2012-05-02 Andreas Jaeger <aj@suse.de>
34685 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
34686 since we manipulate rounding mode.
34687 (CPPFLAGS-test-idouble.c): Likewise.
34688 (CPPFLAGS-test-ifloat.c): Likewise.
34689 (CFLAGS-test-ldouble.c): Likewise.
34690 (CFLAGS-test-double.c): Likewise.
34691 (CFLAGS-test-float.c): Likewise.
34692 (CFLAGS-test-misc.c): Likewise.
34693 (CFLAGS-test-test-fenv.c): Likewise.
34695 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34699 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
34700 comparisons to determine direction to adjust input.
34702 2012-05-01 Roland McGrath <roland@hack.frob.com>
34704 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
34705 output to the target.
34707 * scripts/localplt.awk: New file.
34708 * elf/Makefile ($(objpfx)check-localplt): Target removed.
34709 (check-localplt-CFLAGS): Variable removed.
34710 ($(all-built-dso:=.jmprel)): New static pattern rule.
34711 (generated): Add those targets.
34712 (localplt-built-dso): New variable.
34713 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
34715 * elf/check-localplt.c: File removed.
34717 * scripts/check-execstack.awk: New file.
34718 * elf/Makefile ($(objpfx)check-execstack): Target removed.
34719 (check-execstack-CFLAGS): Variable removed.
34720 ($(objpfx)check-execstack.h): Target removed.
34721 ($(objpfx)execstack-default): New target.
34722 (generated): Add that instead of check-execstack.h.
34723 ($(all-built-dso:=.phdr)): New static pattern rule.
34724 (generated): Add those targets.
34725 * elf/check-execstack.c: File removed.
34727 * scripts/check-textrel.awk: New file.
34728 * elf/Makefile ($(objpfx)check-textrel): Target removed.
34729 (check-textrel-CFLAGS): Variable removed.
34730 (all-built-dso): Use := to define.o
34731 ($(all-built-dso:=.dyn)): New static pattern rule.
34732 (generated): Add those targets.
34733 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
34734 * config.make.in (READELF): New substituted variable.
34735 * elf/check-textrel.c: File removed.
34737 2012-05-01 Joseph Myers <joseph@codesourcery.com>
34739 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34741 * conform/data/ctype.h-data [C99-based standards] (isblank):
34743 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
34744 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
34745 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34746 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
34747 Specify type. Require positive value.
34748 (EILSEQ): Likewise.
34749 (ERANGE): Likewise.
34750 [ISO || POSIX] (EILSEQ): Do not expect.
34751 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
34752 Specify type. Require positive value.
34753 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
34754 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
34755 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
34756 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
34757 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
34758 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
34759 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
34760 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
34761 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
34762 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
34763 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
34764 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
34765 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
34766 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
34767 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
34768 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
34769 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
34770 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
34771 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
34772 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
34773 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
34774 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
34775 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
34776 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
34777 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
34778 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
34779 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
34780 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
34781 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
34782 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
34783 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
34784 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
34785 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
34786 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
34787 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
34788 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
34789 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
34790 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
34791 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
34792 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
34793 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
34794 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
34795 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
34796 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
34797 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
34798 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
34799 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
34800 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
34801 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
34802 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
34803 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
34804 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
34805 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
34806 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
34807 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
34808 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
34809 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
34810 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
34811 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
34812 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
34813 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
34814 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
34815 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
34816 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
34817 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
34818 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
34819 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
34820 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
34821 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
34822 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
34823 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
34824 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
34825 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
34826 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
34827 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
34828 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
34829 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
34831 (FLT_ROUNDS): Expect as macro, not constant.
34832 (FLT_MANT_DIG): Use macro-int-constant.
34833 (DBL_MANT_DIG): Likewise.
34834 (LDBL_MANT_DIG): Likewise.
34835 (FLT_DIG): Likewise.
34836 (DBL_DIG): Likewise.
34837 (LDBL_DIG): Likewise.
34838 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
34839 (DBL_MIN_EXP): Likewise.
34840 (LDBL_MIN_EXP): Likewise.
34841 (FLT_MAX_EXP): Use macro-int-constant.
34842 (DBL_MAX_EXP): Likewise.
34843 (LDBL_MAX_EXP): Likewise.
34844 (FLT_MAX_10_EXP): Likewise.
34845 (DBL_MAX_10_EXP): Likewise.
34846 (LDBL_MAX_10_EXP): Likewise.
34847 (FLT_MAX): Use macro-constant.
34848 (DBL_MAX): Likewise.
34849 (LDBL_MAX): Likewise.
34850 (FLT_EPSILON): Use macro-constant. Give upper bound.
34851 (DBL_EPSILON): Likewise.
34852 (LDBL_EPSILON): Likewise.
34853 (FLT_MIN): Likewise.
34854 (DBL_MIN): Likewise.
34855 (LDBL_MIN): Likewise.
34856 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
34857 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
34858 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
34859 [ISO11] (FLT_HAS_SUBNORM): Likewise.
34860 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
34861 [ISO11] (DBL_DECIMAL_DIG): Likewise.
34862 [ISO11] (FLT_DECIMAL_DIG): Likewise.
34863 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
34864 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
34865 [ISO11] (FLT_TRUE_MIN): Likewise.
34866 [ISO11] (LDBL_TRUE_MIN): Likewise.
34867 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34868 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
34869 (SCHAR_MIN): Use macro-int-constant. Specify type.
34870 (SCHAR_MAX): Likewise.
34871 (UCHAR_MAX): Likewise.
34872 (CHAR_MIN): Likewise.
34873 (CHAR_MAX): Likewise.
34874 (MB_LEN_MAX): Use macro-int-constant.
34875 (SHRT_MIN): Use macro-int-constant. Specify type.
34876 (SHRT_MAX): Likewise.
34877 (USHRT_MAX): Likewise.
34878 (INT_MAX): Likewise.
34879 (INT_MIN): Use macro-int-constant. Specify type. Make upper
34881 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
34883 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34885 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
34886 bound negative. Suffix upper bound with "L".
34887 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34889 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
34891 [C99-based standards] (LLONG_MAX): Likewise.
34892 [C99-based standards] (ULLONG_MAX): Likewise.
34893 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
34895 [ISO11] (max_align_t): Require type.
34896 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34898 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
34899 from $CFLAGS, without defining away __attribute__ calls.
34900 (checknamespace): Use $CFLAGS_namespace.
34902 * conform/conformtest.pl (@keywords): Only include C99 keywords
34903 for standards based on C99 or C11.
34905 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
34907 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
34910 * conform/conformtest.pl: Handle "macro-int-constant" and test for
34911 usability of symbols in #if.
34913 * conform/conformtest.pl: If macro or constant types start
34914 "promoted:", expect the symbol to be of the following type
34915 promoted by the integer promotions.
34917 * conform/conformtest.pl: Parse all "constant" and "macro" lines
34918 in one place. Also handle "macro-constant".
34920 * conform/conformtest.pl: Only accept expected macro values with
34921 "==". Parse all "macro" lines in one place.
34922 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
34924 * conform/conformtest.pl: Handle braced types on "constant" lines
34925 instead of handling "typed-constant".
34926 * conform/data/signal.h-data: Use "constant" instead of
34929 * conform/conformtest.pl: Handle "optional-" at start of lines in
34930 one place rather than duplicating several cases. Handle each
34931 format of "macro" line with initial "optional-".
34933 * conform/conformtest.pl: Only accept expected constant or
34934 optional-constant values with "==". Parse all "constant" lines in
34935 one place. Parse all "optional-constant" lines in one place.
34936 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
34937 * conform/data/fmtmsg.h-data: Likewise.
34938 * conform/data/netinet/in.h-data: Likewise.
34939 * conform/data/tar.h-data: Likewise.
34940 * conform/data/limits.h-data: Use "==" form on "constant" and
34941 "optional-constant" lines.
34943 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
34944 Use -std=c99 for XOPEN2K.
34945 (@knownproblems): Remove.
34946 (newtoken): Don't check %isknown.
34948 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
34949 Do not expect macro.
34950 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
34951 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
34952 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
34953 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
34954 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
34955 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
34956 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
34957 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
34958 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
34959 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34960 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
34961 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
34962 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
34963 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34964 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
34965 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
34966 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
34967 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
34968 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
34969 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
34970 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
34971 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
34972 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
34973 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
34974 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
34975 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
34976 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
34977 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
34978 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
34979 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
34980 [XPG3] (acosh): Likewise.
34981 [XPG3] (asinh): Likewise.
34982 [XPG3] (atanh): Likewise.
34983 [XPG3] (cbrt): Likewise.
34984 [XPG3] (expm1): Likewise.
34985 [XPG3] (ilogb): Likewise.
34986 [XPG3] (log1p): Likewise.
34987 [XPG3] (logb): Likewise.
34988 [XPG3] (nextafter): Likewise.
34989 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
34990 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
34991 [XPG3] (remainder): Likewise.
34992 [XPG3] (rint): Likewise.
34993 [XPG3 || XPG4 || UNIX98] (round): Likewise.
34994 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
34995 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
34996 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
34997 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
34998 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
34999 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35000 [UNIX98 || XOPEN2K] (scalb): Expect.
35001 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35002 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35003 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35004 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35005 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35006 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35007 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35008 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35009 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35010 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35011 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35012 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35013 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35014 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35015 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35016 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35017 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35018 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35019 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35020 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35021 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35022 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35023 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35024 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35025 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35026 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35027 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35028 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35029 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35030 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35031 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35032 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35033 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35034 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35035 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35036 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35037 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35038 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35039 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35040 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35041 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35042 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35043 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35044 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35045 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35046 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35047 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35048 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35049 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35050 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35051 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35052 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35053 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35054 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35055 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35056 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35057 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35058 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35059 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35060 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35061 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35062 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35063 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35064 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35065 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35066 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35067 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35068 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35069 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35070 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35071 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35072 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35073 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35074 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35075 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35076 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35077 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35078 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35079 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35080 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35081 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35082 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35083 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35084 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35085 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35086 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35087 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35088 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35089 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35090 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35091 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35092 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35093 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35094 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35095 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
35096 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
35097 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
35098 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
35099 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
35100 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
35101 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
35102 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
35103 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
35104 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
35105 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
35106 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
35107 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
35108 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
35109 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
35110 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
35111 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
35112 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
35113 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
35114 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
35115 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
35116 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
35117 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
35118 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
35119 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
35120 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
35121 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
35122 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
35123 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
35124 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
35125 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
35126 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
35127 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
35128 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
35129 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
35130 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
35131 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
35132 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
35133 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
35134 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
35135 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
35136 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
35137 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
35139 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
35140 _XOPEN_SOURCE_EXTENDED for XPG4.
35142 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
35144 * Makeconfig (localtime): Remove variable.
35145 (inst_localtime-file): Likewise.
35147 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
35161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
35165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35168 2012-05-01 Joseph Myers <joseph@codesourcery.com>
35172 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
35173 comparisons to determine direction to adjust input.
35174 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35175 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
35176 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35178 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35180 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35182 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35183 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35185 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35187 * math/libm-test.inc (nexttoward_test): Add more tests.
35189 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35192 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
35193 in version GLIBC_2.1, not GLIBC_2.0.
35194 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
35197 2012-04-30 Joseph Myers <joseph@codesourcery.com>
35200 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
35202 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35203 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
35204 * math/libm-test.inc (acos_test): Add more tests.
35205 (asin_test): Likewise.
35206 * sysdeps/i386/fpu/libm-test-ulps: Update.
35207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35210 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
35212 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
35213 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35214 * math/libm-test.inc (acos_test_tonearest): New function.
35215 (acos_test_towardzero): Likewise.
35216 (acos_test_downward): Likewise.
35217 (acos_test_upward): Likewise.
35218 (asin_test_tonearest): Likewise.
35219 (asin_test_towardzero): Likewise.
35220 (asin_test_downward): Likewise.
35221 (asin_test_upward): Likewise.
35222 (main): Call the new functions.
35223 * sysdeps/i386/fpu/libm-test-ulps: Update.
35224 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35228 * math/e_exp10.c: Include <float.h>.
35229 (__ieee754_exp10): Handle underflow here rather than multiplying
35230 large negative argument by M_LN10.
35231 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
35233 * math/e_exp10l.c: Include <float.h>.
35234 (__ieee754_exp10l): Handle underflow here rather than multiplying
35235 large negative argument by M_LN10l.
35236 * math/libm-test.inc (exp10_test): Add another test. Do not allow
35237 spurious overflow exception on underflow.
35239 2012-04-29 Marek Polacek <polacek@redhat.com>
35241 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
35242 (__fortify_function): New macro.
35243 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
35244 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
35245 __extern_always_inline.
35246 * libio/bits/stdio2.h: Likewise.
35247 * libio/bits/stdio.h: Likewise.
35248 * string/string.h: Likewise.
35249 * string/bits/string3.h: Likewise.
35250 * include/stdio.h: Likewise.
35251 * stdlib/bits/stdlib.h: Likewise.
35252 * stdlib/stdlib.h: Likewise.
35253 * rt/bits/mqueue2.h: Likewise.
35254 * rt/mqueue.h: Likewise.
35255 * posix/bits/unistd.h: Likewise.
35256 * posix/unistd.h: Likewise.
35257 * io/bits/poll2.h: Likewise.
35258 * io/bits/fcntl2.h: Likewise.
35259 * io/fcntl.h: Likewise.
35260 * io/sys/poll.h: Likewise.
35261 * misc/bits/syslog.h: Likewise.
35262 * misc/bits/syslog-ldbl.h: Likewise.
35263 * misc/sys/syslog.h: Likewise.
35264 * socket/bits/socket2.h: Likewise.
35265 * socket/sys/socket.h: Likewise.
35266 * debug/tst-chk1.c: Likewise.
35267 * wcsmbs/bits/wchar2.h: Likewise.
35268 * wcsmbs/bits/wchar-ldbl.h: Likewise.
35269 * wcsmbs/wchar.h: Likewise.
35271 2012-04-29 Andreas Jaeger <aj@suse.de>
35273 * Makerules (tests): Remove enable-check-abi protection.
35274 (check-abi-warn): Remove.
35275 (check-abi-%): Remove check-abi-warn usage.
35277 * configure.in: Remove check-abi configure option.
35278 * configure: Regenerated.
35279 * config.make.in (enable-check-abi): Remove.
35281 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
35284 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
35285 double functions to double *_finite functions.
35288 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
35289 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
35291 * stdio-common/Makefile (tests): Add tst-sprintf3.
35292 * stdio-common/tst-sprintf3.c: New file.
35294 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
35295 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
35297 2012-04-28 Joseph Myers <joseph@codesourcery.com>
35299 * conform/conformtest.pl: Remove duplicate typed-constant
35302 2012-04-28 David S. Miller <davem@davemloft.net>
35304 * Makerules (%.abilist): Add vpath on sysdep_dirs.
35305 (check-abi-%): Remove AWK script prerequisite and explicit
35307 (check-abi): Rewrite to just diff the symlist with the abilist.
35308 (config-tls, config-abi-config): Delete, no longer used.
35309 (update-abi-%): Remove AWK script and explicit abilist directory.
35310 (update-abi): Rewrite to simply compare and conditionally copy the
35311 symlist and the sysdep abilist file. Remove update-abi-config
35313 * abilist/ld.abilist: Remove.
35314 * abilist/libBrokenLocale.abilist: Remove.
35315 * abilist/libanl.abilist: Remove.
35316 * abilist/libcrypt.abilist: Remove.
35317 * abilist/libdl.abilist: Remove.
35318 * abilist/librt.abilist: Remove.
35319 * abilist/libthread_db.abilist: Remove.
35320 * abilist/libutil.abilist: Remove.
35321 * scripts/extract-abilist.awk: Remove.
35322 * scripts/merge-abilist.awk: Remove.
35323 * sysdeps/generic/libcidn.abilist: New file.
35324 * sysdeps/generic/libnss_compat.abilist: New file.
35325 * sysdeps/generic/libnss_db.abilist: New file.
35326 * sysdeps/generic/libnss_dns.abilist: New file.
35327 * sysdeps/generic/libnss_files.abilist: New file.
35328 * sysdeps/generic/libnss_hesiod.abilist: New file.
35329 * sysdeps/generic/libnss_nis.abilist: New file.
35330 * sysdeps/generic/libnss_nisplus.abilist: New file.
35331 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
35332 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
35333 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
35335 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
35336 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
35337 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
35338 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
35339 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
35340 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
35341 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
35342 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
35343 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
35345 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
35346 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
35347 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
35348 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
35350 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
35351 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
35352 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
35353 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
35354 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
35355 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
35357 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
35358 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
35359 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
35361 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
35362 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
35364 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
35366 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
35368 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
35370 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
35372 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
35374 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
35376 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
35378 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
35380 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
35382 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
35384 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
35386 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
35388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
35390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
35396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
35402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35414 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
35415 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
35417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
35421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
35423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
35425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
35427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
35429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35431 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
35433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
35435 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
35439 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
35440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
35442 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
35446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
35448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
35450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
35452 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
35454 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35456 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
35458 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
35460 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35462 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
35464 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35465 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
35466 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
35468 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
35469 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
35470 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
35471 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
35472 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
35473 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
35474 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
35475 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
35476 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
35477 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
35478 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
35479 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
35481 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35483 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
35485 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
35487 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
35489 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
35491 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
35493 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35495 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35497 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
35499 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35501 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
35503 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
35504 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
35506 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35508 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
35510 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
35512 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
35514 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
35516 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
35518 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35520 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35522 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
35524 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35526 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
35529 2012-04-28 Joseph Myers <joseph@codesourcery.com>
35531 * conform/conformtest.pl: Fix typo in handling typed-constant from
35534 2012-04-27 Joseph Myers <joseph@codesourcery.com>
35536 * README: Cut down references to pre-2.6 Linux kernels and
35537 Linuxthreads. Update lists of configurations in libc and ports
35538 and sort alphabetically. Say "or newer" with Linux kernel version
35541 * config.h.in [IS_IN_build]: Allow compiling without optimization.
35543 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35546 * math/libm-test.inc (logb_test_downward): New test to expose
35547 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
35550 2012-04-27 Joseph Myers <joseph@codesourcery.com>
35553 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
35555 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
35556 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
35558 2012-04-26 Joseph Myers <joseph@codesourcery.com>
35560 * sysdeps/unix/i386/brk.S: Remove file.
35561 * sysdeps/unix/i386/dl-brk.S: Likewise.
35562 * sysdeps/unix/i386/pipe.S: Likewise.
35563 * sysdeps/unix/i386/sigreturn.S: Likewise.
35564 * sysdeps/unix/i386/syscall.S: Likewise.
35565 * sysdeps/unix/i386/vfork.S: Likewise.
35566 * sysdeps/unix/i386/wait.S: Likewise.
35568 * sysdeps/unix/common/tcsendbrk.c: Move to ...
35569 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
35571 * configure.in (arm*-none*): Do not allow without
35572 --enable-hacker-mode.
35573 (netbsd*): Remove case setting base_os.
35574 (386bsd*): Likewise.
35575 (freebsd*): Likewise.
35578 (sunos*): Likewise.
35579 (ultrix*): Likewise.
35580 (newsos*): Likewise.
35581 (dynix*): Likewise.
35587 (minix*): Likewise.
35588 (irix4*): Likewise.
35589 (irix6*): Likewise.
35590 (solaris[2-9]*): Likewise.
35592 * configure: Regenerated.
35594 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35597 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
35598 overflow or cancellation in calculating denominator.
35599 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
35600 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
35601 down expression to avoid unexpected rounding in newer GCCs.
35602 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
35604 2012-04-26 David S. Miller <davem@davemloft.net>
35606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
35607 long-double compat symbols.
35608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
35612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
35614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
35615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
35616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
35617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
35618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
35619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
35620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35622 2012-04-25 David S. Miller <davem@davemloft.net>
35624 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
35625 HWCAP_* values only after the memory barriers have been defined.
35626 (atomic_full_barrier): Define.
35627 (atomic_read_barrier): Define.
35628 (atomic_write_barrier): Define.
35630 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35632 * shlib-versions: Add libgcc_s version information.
35633 * sysdeps/generic/libgcc_s.h: Remove.
35634 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
35636 * sysdeps/gnu/unwind-resume.c: Likewise.
35637 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
35639 2012-04-25 David S. Miller <davem@davemloft.net>
35641 * sysdeps/unix/sparc/brk.S: Delete.
35642 * sysdeps/unix/sparc/dl-brk.S: Delete.
35643 * sysdeps/unix/sparc/pipe.S: Delete.
35644 * sysdeps/unix/sparc/sysdep.S: Delete.
35645 * sysdeps/unix/sparc/sysdep.h: Delete.
35646 * sysdeps/unix/sparc/vfork.S: Delete.
35647 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
35648 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
35649 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
35650 (ret_ERRVAL, r0, r1, MOVE): Define.
35651 (JUMPTARGET): Remove.
35652 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
35653 sysdeps/unix/sparc/sysdep.h
35654 (ENTRY, END): Remove.
35655 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35657 2012-04-25 Joseph Myers <joseph@codesourcery.com>
35659 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
35660 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
35663 * timezone/README: Update upstream location and email address for
35665 * timezone/zdump.c: Update from tzcode 2012b.
35666 * timezone/zic.c: Likewise.
35668 * configure.in (libc_cv_as_needed): Remove test.
35669 * configure: Regenerated.
35670 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
35671 conditional definition.
35672 [$(have-as-needed) != yes] (no-as-needed): Likewise.
35673 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
35674 * config.make.in (have-as-needed): Remove variable.
35676 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35677 Paul Pluzhnikov <ppluzhnikov@google.com>
35679 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
35682 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
35684 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
35685 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
35686 * sysdeps/sh/strlen.S: Likewise.
35688 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35690 * sysdeps/unix/fork.S: Remove file.
35691 * sysdeps/unix/i386/fork.S: Likewise.
35692 * sysdeps/unix/sparc/fork.S: Likewise.
35694 * sysdeps/unix/system.c: Remove file.
35695 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
35697 * sysdeps/unix/getegid.S: Remove file.
35698 * sysdeps/unix/geteuid.S: Likewise.
35700 2012-04-24 Roland McGrath <roland@hack.frob.com>
35702 * scripts/check-localplt.awk: New file.
35703 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
35705 * scripts/data/localplt-generic.data: Add a comment.
35707 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
35708 NODE when __dir_mkfile failed.
35709 * sysdeps/mach/hurd/symlinkat.c: Likewise.
35710 Reported by Ludovic Courtès <ludo@gnu.org>.
35712 2012-04-24 Andreas Jaeger <aj@suse.de>
35714 * Makerules (common-clean): Also remove gen-as-const-headers
35717 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35719 * Makerules (native-compile): Do not change working directory for
35720 build. Use $(OUTPUT_OPTION) in command.
35721 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
35723 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35726 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
35727 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
35728 * math/libm-test.inc (floor_test): Add more tests.
35729 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
35731 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35733 * sysdeps/unix/getdents.c: Remove file.
35734 * sysdeps/unix/sysv/getdents.c: Likewise.
35735 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
35737 * sysdeps/unix/syscalls.list (madvise): Add syscall from
35738 sysdeps/unix/mman/syscalls.list.
35740 (mprotect): Likewise.
35742 (munmap): Likewise.
35743 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
35744 * sysdeps/unix/mman/syscalls.list: Remove.
35745 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
35747 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
35748 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
35749 * configure: Regenerated.
35750 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
35751 $(libgcc_s_suffix).
35752 * config.make.in (libgcc_s_suffix): Remove variable.
35754 2012-04-23 Joseph Myers <joseph@codesourcery.com>
35756 * sysdeps/unix/sysv/gethostname.c: Move to ...
35757 * sysdeps/posix/gethostname.c: ... here.
35759 * sysdeps/unix/execve.S: Remove file.
35761 * sysdeps/unix/_exit.S: Remove file.
35763 2012-04-23 Andreas Jaeger <aj@suse.de>
35766 * manual/Makefile: Remove make dist support, there's no
35767 need for a stand-alone documentation tar ball.
35768 (TEXI2DVI): Define always, it's not in Makeconfig.
35771 (edition): Removed.
35772 (glibc-doc-$(edition).tar): Removed
35776 (ETAGS): Remove, it's in Makeconfig.
35777 (move-if-change): Remove, it's in Makeconfig.
35779 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
35782 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
35783 (strtod, strtof, strtold, strtol, strtoul, strtoq)
35784 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
35785 (strtod_l, strtof_l, strtold_l): Remove __wur.
35786 It is not necessarily an error to ignore strtol's return value.
35787 One can reliably look at the stored endptr to decide whether
35788 the number had valid syntax.
35790 2012-04-21 Andreas Jaeger <aj@suse.de>
35793 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
35795 2012-04-21 Joseph Myers <joseph@codesourcery.com>
35797 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
35798 * sysdeps/unix/sysv/Versions: Remove file.
35800 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
35803 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35805 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
35808 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
35809 version from __vm86.
35811 2012-04-20 Joseph Myers <joseph@codesourcery.com>
35813 * sysdeps/unix/common/lxstat.c: Remove file.
35814 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
35816 * sysdeps/unix/sysv/Makefile: Remove file.
35818 * sysdeps/unix/sysv/direct.h: Remove file.
35820 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
35821 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
35822 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
35823 * sysdeps/unix/sysv/bits/signum.h: Likewise.
35824 * sysdeps/unix/sysv/bits/stat.h: Likewise.
35825 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
35826 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
35828 * sysdeps/unix/sysv/setrlimit.c: Remove file.
35830 * sysdeps/unix/xmknod.c: Remove file.
35831 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
35833 * sysdeps/unix/sysv/settimeofday.c: Remove file.
35835 * sysdeps/unix/sysv/i386/time.S: Remove file.
35837 * sysdeps/unix/fxstat.c: Remove file.
35838 * sysdeps/unix/xstat.c: Likewise.
35839 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
35841 * sysdeps/unix/sysv/sigaction.c: Remove file.
35843 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
35844 (sysdep_headers): Remove variable.
35845 [termio.h not in sysdep_headers] (generated): Likewise.
35846 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
35847 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
35848 * sysdeps/unix/sysv/tcdrain.c: Likewise.
35849 * sysdeps/unix/sysv/tcflow.c: Likewise.
35850 * sysdeps/unix/sysv/tcflush.c: Likewise.
35851 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
35852 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
35853 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
35854 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
35855 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
35857 * sysdeps/unix/siglist.c: Remove file.
35859 * sysdeps/unix/getppid.S: Remove file.
35861 * sysdeps/unix/mkdir.c: Remove file.
35862 * sysdeps/unix/rmdir.c: Likewise.
35864 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
35866 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
35868 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
35869 errlist-compat value.
35871 2012-04-18 David S. Miller <davem@davemloft.net>
35873 * sysdeps/generic/memcopy.h (reg_char): Delete.
35874 * debug/strcat_chk.c: Use char, not reg_char.
35875 * debug/strcpy_chk.c: Likewise.
35876 * debug/strncat_chk.c: Likewise.
35877 * debug/strncpy_chk.c: Likewise.
35878 * string/memchr.c: Likewise.
35879 * string/memrchr.c: Likewise.
35880 * string/rawmemchr.c: Likewise.
35881 * string/strcat.c: Likewise.
35882 * string/strchr.c: Likewise.
35883 * string/strchrnul.c: Likewise.
35884 * string/strcmp.c: Likewise.
35885 * string/strcpy.c: Likewise.
35886 * string/strncat.c: Likewise.
35887 * string/strncmp.c: Likewise.
35888 * string/strncpy.c: Likewise.
35890 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35892 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
35893 __builtin_memcopy is called when src and dest ranges are known to not
35896 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35898 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
35899 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
35900 fwd_align_merge macro call.
35901 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
35902 bwd_align_merge macro call.
35903 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35905 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35907 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
35908 bwd_align_merge macros.
35909 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
35910 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
35911 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35913 2012-04-18 David S. Miller <davem@davemloft.net>
35915 * sysdeps/sparc/sparc64/memcopy.h: Delete.
35917 2012-04-18 Andreas Jaeger <aj@suse.de>
35920 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
35921 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
35922 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35924 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
35925 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
35926 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35928 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
35929 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
35930 Adjust for changed ldbl-128 files.
35932 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
35933 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
35934 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35936 2012-04-17 David S. Miller <davem@davemloft.net>
35938 * sysdeps/sparc/sparc32/memcopy.h: Delete.
35940 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
35942 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
35943 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
35944 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
35945 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
35946 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35947 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
35949 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35952 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
35953 * math/libm-test.inc: Add ilogb errno and exception tests.
35954 * math/w_ilogb.c: New file: ilogb wrapper.
35955 * math/w_ilogbf.c: New file: ilogbf wrapper.
35956 * math/w_ilogbl.c: New file: ilogbl wrapper.
35957 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
35958 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
35959 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
35960 exception being thrown with 0.0 as argument.
35961 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
35962 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
35963 exception being thrown with 0.0 as argument.
35964 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
35965 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35966 exception being thrown with 0.0 as argument.
35967 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
35968 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35969 exception being thrown with 0.0 as argument.
35970 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
35971 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
35972 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
35973 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
35974 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
35975 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
35976 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
35977 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
35978 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
35980 2012-04-17 Petr Baudis <pasky@ucw.cz>
35982 * include/sys/uio.h: Change __vector to __iovec to avoid clash
35985 2012-04-16 Marek Polacek <polacek@redhat.com>
35987 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
35989 2012-04-16 Marek Polacek <polacek@redhat.com>
35991 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
35992 operands of fdivp instruction.
35994 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35996 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
35997 * elf/tst-auditmod3b.c: Likewise.
35998 * elf/tst-auditmod4b.c: Likewise.
35999 * elf/tst-auditmod5b.c: Likewise.
36000 * elf/tst-auditmod6b.c: Likewise.
36001 * elf/tst-auditmod6c.c: Likewise.
36002 * elf/tst-auditmod7b.c: Likewise.
36003 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36004 * sysdeps/x86_64/preconfigure.in: Likewise.
36005 * sysdeps/x86_64/preconfigure: Regenerated.
36007 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36009 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36012 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
36014 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36015 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36017 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
36020 * locale/iso-639.def: Fix gl language name. Spotted by
36023 2012-04-12 Roland McGrath <roland@hack.frob.com>
36026 * libio/libio.h (__io_write_fn): Update comment.
36028 2012-04-12 Petr Baudis <pasky@ucw.cz>
36031 * stdio.texi (Hook Functions): The user provided writer function
36032 is not allowed to return -1.
36034 2012-04-11 David S. Miller <davem@davemloft.net>
36036 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36038 2012-04-11 Mike Frysinger <vapier@gentoo.org>
36040 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36041 Add a leading slash to rtkaio.
36043 2012-04-11 Jim Meyering <meyering@redhat.com>
36046 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36047 It is not necessarily an error to ignore fwrite's return
36048 value. One can reliably use ferror to test for errors after
36051 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36053 * bits/types.h (__snseconds_t): New type.
36054 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36056 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36057 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36058 (__SNSECONDS_T_TYPE): Likewise.
36059 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36060 (__SNSECONDS_T_TYPE): Likewise.
36061 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36062 (__SNSECONDS_T_TYPE): Likewise.
36064 2012-04-10 Andreas Jaeger <aj@suse.de>
36067 * manual/time.texi (Processor Time): Return type of times is
36068 elapsed real time since an arbitrary point in the past.
36069 (CPU Time): Move CLK_TCK from here...
36070 (Processor Time): ...to here. Correct description.
36071 * manual/conf.texi (Constants for Sysconf): Correct description of
36074 2012-04-10 David S. Miller <davem@davemloft.net>
36077 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36078 where the is a gap between DT_REL(A) and DT_JMPREL.
36080 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36082 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36083 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36084 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36086 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36088 * elf/dl-support.c (_dl_inhibit_cache): New variable.
36089 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36090 (dl_main): Handle --inhibit-cache.
36091 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36093 * elf/dl-load.c (_dl_map_object): Use it.
36094 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36096 2012-04-09 Joseph Myers <joseph@codesourcery.com>
36099 * sysdeps/i386/fpu/e_powl.S (p78): New object.
36100 (__ieee754_powl): Saturate large exponents rather than testing for
36101 overflow of y*log2(x).
36102 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36103 * math/libm-test.inc (pow_test): Do not permit spurious overflow
36107 * math/s_ctan.c: Include <float.h>.
36108 (__ctan): Avoid internal overflow or cancellation in calculating
36110 * math/s_ctanf.c: Likewise.
36111 * math/s_ctanl.c: Likewise.
36112 * math/s_ctanh.c: Likewise.
36113 * math/s_ctanhf.c: Likewise.
36114 * math/s_ctanhl.c: Likewise.
36115 * math/libm-test.inc (ctan_test): Add more tests.
36116 (ctanh_test): Likewise.
36117 * sysdeps/i386/fpu/libm-test-ulps: Update.
36118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36120 2012-04-09 Andreas Jaeger <aj@suse.de>
36123 * manual/filesys.texi (Directory Entries): Mention that d_namlen
36124 is an optional BSD extension.
36127 * manual/stdio.texi (Opening Streams): Document additional fopen
36130 2012-04-09 Roland McGrath <roland@hack.frob.com>
36132 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
36133 %eax without telling the compiler.
36135 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
36138 * manual/install.texi: Use sourceware.org.
36140 2012-04-09 Joseph Myers <joseph@codesourcery.com>
36143 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
36144 (__ieee754_pow): Generate overflow and underflow using huge*huge
36145 and tiny*tiny rather than just returning constant infinity or zero
36146 for large exponents.
36147 * math/libm-test.inc (pow_test): Require overflow exceptions for
36148 applicable cases of large exponents.
36151 * sysdeps/i386/fpu/e_pow.S (p10): New object.
36152 (__ieee754_pow): Use iterative multiplication algorithm only for
36153 integer exponents with absolute value below 1024. Check for odd
36154 integer exponents when using algorithm for real exponents.
36155 * math/libm-test.inc (pow_test): Add more tests.
36156 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36158 2012-04-08 Joseph Myers <joseph@codesourcery.com>
36161 * math/libm-test.inc (exp_test): Do not allow overflow exception
36164 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
36167 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
36168 instead of __kernel_standard_f.
36170 2012-04-08 Mike Frysinger <vapier@gentoo.org>
36172 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
36173 * sysdeps/x86_64/memset_chk.S: Likewise.
36175 2012-04-08 Andreas Jaeger <aj@suse.de>
36178 * manual/startup.texi (Environment Access): Describe return value
36179 for putenv and setenv.
36182 * manual/filesys.texi (Directory Entries): Add description for
36186 * manual/filesys.texi (Directory Entries): Clarify that it's file
36187 system not operating system in the description of DT_UNKNOWN.
36190 * manual/syslog.texi (closelog): Fix reference, it's openlog.
36192 2012-04-08 Stephen Compall <s11@member.fsf.org>
36195 * manual/llio.texi (Opening and Closing Files): Add cross
36196 reference to explain mode argument.
36198 2012-04-07 Mike Frysinger <vapier@gentoo.org>
36200 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
36201 * sysdeps/x86_64/memset_chk.S: Likewise.
36203 2012-04-07 David S. Miller <davem@davemloft.net>
36205 * elf/elf.h (R_SPARC_WDISP10): Define.
36206 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
36208 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
36209 R_SPARC_SIZE64 and R_SPARC_H34.
36211 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
36213 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
36214 conditions and remove no longer applicable assertion.
36216 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36218 * bits/byteswap.h: Include <features.h>.
36219 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36220 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36222 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36224 * bits/byteswap.h (__bswap_16): Removed.
36225 Include <bits/byteswap-16.h> to get __bswap_16.
36226 * sysdeps/i386/bits/byteswap.h: Likewise.
36227 * sysdeps/s390/bits/byteswap.h: Likewise.
36228 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36229 * bits/byteswap-16.h: New file.
36230 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36231 * sysdeps/s390/bits/byteswap-16.h: Likewise.
36232 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
36233 * string/Makefile (headers): Add bits/byteswap-16.h.
36235 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36238 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
36240 * nss/Makefile (tests-static, tests): Add tst-nss-static.
36241 * nss/tst-nss-static.c: New.
36243 2012-04-06 Robert Millan <rmh@gnu.org>
36246 * manual/llio.texi (File Position Primitive): lseek
36247 refers to WHENCE when it really means OFFSET.
36249 2012-04-06 Andreas Jaeger <aj@suse.de>
36251 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
36252 strncmp declarations.
36254 * abilist/libc.abilist: Add __poll and __ppoll.
36256 2012-04-05 David S. Miller <davem@davemloft.net>
36258 * scripts/check-local-headers.sh: Accept a host triplet in the
36259 path matched by the exclude regexp.
36261 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
36263 * sysdeps/powerpc/powerpc32/dl-machine.h
36264 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
36265 * sysdeps/s390/s390-32/dl-machine.h
36266 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36267 * sysdeps/sparc/sparc32/dl-machine.h
36268 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36269 * sysdeps/sparc/sparc64/dl-machine.h
36270 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36272 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
36274 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
36275 undefined symbol errors.
36277 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
36280 2012-04-05 Michael Matz <matz@suse.de>
36283 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
36285 2012-04-05 Andreas Jaeger <aj@suse.de>
36288 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
36291 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36293 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
36294 which ROUND is no valid rounding mode.
36296 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36298 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
36300 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
36302 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36304 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
36305 an exception using FPU order intentionally.
36307 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36309 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
36310 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
36311 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
36312 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
36314 2012-04-05 Simon Josefsson <simon@josefsson.org>
36317 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
36318 EINVAL when BUFLEN is too smal.
36320 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
36323 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
36324 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
36326 2012-04-03 Andreas Jaeger <aj@suse.de>
36329 * manual/setjmp.texi (System V contexts): Fix sentence.
36332 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
36333 New macro for this case.
36334 [!__GNUC__] (__bswap_64): New inline function for this case.
36335 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36336 * bits/byteswap.h: Likewise.
36337 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
36338 ull, guard with __GLIBC_HAVE_LONG_LONG.
36340 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
36341 __GLIBC_HAVE_LONG_LONG.
36343 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
36344 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
36346 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36349 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
36350 inptr and inend, rather than using last_ch.
36352 2012-04-02 David S. Miller <davem@davemloft.net>
36354 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
36355 * stdio-common/printf-parse.h (read_int): Change return type to
36356 'int', return -1 on INT_MAX overflow.
36357 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
36358 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
36359 overflows INT_MAX. Check for overflow of in-format-string precision
36360 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
36361 SIZE_MAX not INT_MAX for integer overflow test.
36362 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
36363 skip the construct in the format string but do not record anything.
36364 * stdio-common/bug22.c: Adjust to test both width/prevision
36365 INT_MAX overflow as well as total length INT_MAX overflow. Check
36366 explicitly for proper errno values.
36368 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
36370 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
36372 * string/test-strcmp.c [! WIDE]: Likewise.
36373 * time/tst-mktime2.c: Likewise for INT_MAX.
36374 * string/test-string.h: #include <sys/param.h> for MIN.
36376 * csu/init-first.c (__libc_init_first): Call __ctype_init.
36377 * sysdeps/i386/init-first.c (init): Likewise.
36378 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
36379 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
36380 * sysdeps/sh/init-first.c (init): Likewise.
36382 2012-04-01 Ulrich Drepper <drepper@gmail.com>
36384 * po/ru.po: Update from translation team.
36385 * po/vi.po: Likewise.
36387 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
36389 * resolv/nss_dns/dns-host.c: Merge copyright years.
36391 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36393 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36394 Optimize memcpy with prefetch if
36395 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
36396 src, dst pointers have unequal 16 byte alignments.
36398 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36401 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
36402 from a CNAME entry and return the minimum ttl for the query.
36403 (gaih_getanswer_slice): Likewise.
36405 2012-03-30 Jeff Law <law@redhat.com>
36407 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
36409 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
36410 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
36412 * resolv/nss_dns/dns-host.c: Update copyright year.
36414 2012-03-30 Ulrich Drepper <drepper@gmail.com>
36416 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
36417 requests to save a system call. Fix check that all bytes are sent.
36419 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
36420 comments for sendmmsg.
36422 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36425 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
36426 with only 1 character between 0x0041 and 0x01b0.
36427 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
36428 * wcsmbs/tst-mbsnrtowcs.c: New file.
36430 2012-03-29 David S. Miller <davem@davemloft.net>
36432 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
36433 small copies by hand.
36435 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36438 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
36439 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
36442 2012-03-28 David S. Miller <davem@davemloft.net>
36444 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
36445 that branches into memcpy.
36446 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36447 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36448 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36449 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36450 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
36452 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
36453 implementation too.
36454 * sysdeps/sparc/mempcpy.S: New file.
36456 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
36457 the IFUNC routine in the libc case.
36458 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36460 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
36461 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
36462 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
36463 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
36464 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36465 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
36466 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
36467 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
36469 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36470 loop to 256 bytes instead of 64 bytes and fix test signedness.
36472 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
36473 * sysdeps/sparc/sparc32/Makefile: rather than here...
36474 * sysdeps/sparc/sparc64/Makefile: and here.
36476 2012-03-28 Ulrich Drepper <drepper@gmail.com>
36478 * malloc/mallocbug.c: Avoid warnings about unused variables.
36480 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
36483 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
36484 in the right place. Discard and retry query if response is
36485 larger than input buffer size.
36487 2012-03-28 Joseph Myers <joseph@codesourcery.com>
36492 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
36493 x for large integer exponent.
36494 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36495 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
36496 sign of result as needed afterwards.
36497 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36498 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
36499 result for underflowing pow the same as for overflow.
36500 (__kernel_standard_l): Handle powl overflow and underflow here
36501 rather than calling __kernel_standard.
36502 * math/libm-test.inc (pow_test): Add more tests.
36517 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
36518 * sysdeps/ieee754/k_standard.c: Include <float.h>.
36519 (__kernel_standard_l): New function.
36520 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
36522 * math/w_acosl.c (__acosl): Likewise.
36523 * math/w_asinl.c (__asinl): Likewise.
36524 * math/w_atan2l.c (__atan2l): Likewise.
36525 * math/w_atanhl.c (__atanhl): Likewise.
36526 * math/w_coshl.c (__coshl): Likewise.
36527 * math/w_exp10l.c (__exp10l): Likewise.
36528 * math/w_exp2l.c (__exp2l): Likewise.
36529 * math/w_fmodl.c (__fmodl): Likewise.
36530 * math/w_hypotl.c (__hypotl): Likewise.
36531 * math/w_j0l.c (__j0l, __y0l): Likewise.
36532 * math/w_j1l.c (__j1l, __y1l): Likewise.
36533 * math/w_jnl.c (__jnl, __ynl): Likewise.
36534 * math/w_lgammal.c (__lgammal): Likewise.
36535 * math/w_log10l.c (__log10l): Likewise.
36536 * math/w_log2l.c (__log2l): Likewise.
36537 * math/w_logl.c (__logl): Likewise.
36538 * math/w_powl.c (__powl): Likewise.
36539 * math/w_remainderl.c (__remainderl): Likewise.
36540 * math/w_scalbl.c (sysv_scalbl): Likewise.
36541 * math/w_sinhl.c (__sinhl): Likewise.
36542 * math/w_sqrtl.c (__sqrtl): Likewise.
36543 * math/w_tgammal.c (__tgammal): Likewise.
36544 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
36545 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
36546 * math/libm-test.inc (acos_test): Add more tests.
36547 (acosh_test): Likewise.
36548 (asin_test): Likewise.
36549 (atanh_test): Likewise.
36550 (exp_test): Likewise.
36551 (exp10_test): Likewise.
36552 (exp2_test): Likewise.
36553 (expm1_test): Likewise.
36554 (lgamma_test): Likewise.
36555 (log_test): Likewise.
36556 (log10_test): Likewise.
36557 (log1p_test): Likewise.
36558 (log2_test): Likewise.
36559 (pow_test): Do not allow some spurious overflow exceptions.
36560 (sqrt_test): Add more tests.
36561 (tgamma_test): Likewise.
36562 (y0_test): Likewise.
36563 (y1_test): Likewise.
36564 (yn_test): Likewise.
36566 2012-03-27 Anton Blanchard <anton@samba.org>
36568 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
36570 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36571 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36572 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36574 2012-03-27 David S. Miller <davem@davemloft.net>
36576 * conform/Makefile: Run run-conformtest.sh using $(BASH).
36578 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
36579 have-as-vis3 check.
36581 2012-03-27 Andreas Jaeger <aj@suse.de>
36583 * sysdeps/x86_64/elf/configure.in: Moved to ...
36584 * sysdeps/x86_64/configure.in: ... here.
36585 * sysdeps/x86_64/elf/start.S: Moved to ...
36586 * sysdeps/x86_64/start.S: ... here.
36587 * sysdeps/x86_64/elf/configure: Delete.
36589 * sysdeps/x86_64/configure.in: Merge contents from
36590 sysdeps/i386/configure.in (without i686 check).
36592 * sysdeps/i386/elf/Versions: Merge into ...
36593 * sysdeps/i386/Versions: ... this.
36594 * sysdeps/i386/elf/Versions: Delete file.
36595 * sysdeps/i386/elf/start.S: Moved to ...
36596 * sysdeps/i386/start.S: ...here.
36597 * sysdeps/i386/elf/configure.in: Merge into...
36598 * sysdeps/i386/configure.in: ...here.
36599 * sysdeps/i386/elf/configure.in: Delete file.
36600 * sysdeps/i386/elf/configure: Delete file.
36602 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
36603 * debug/backtracesyms.c: ... here.
36604 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
36605 * debug/backtracesymsfd.c: ... here.
36606 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
36607 * sysdeps/generic/ifunc-sel.h: ... here.
36609 * sysdeps/unix/i386/start.c: Delete file.
36610 * sysdeps/unix/sparc/start.c: Delete file.
36611 * sysdeps/unix/start.c: Delete file.
36613 * sysdeps/sh/elf/configure.in: Moved to ...
36614 * sysdeps/sh/configure.in: ... here.
36615 * sysdeps/sh/elf/start.S: Moved to ...
36616 * sysdeps/sh/start.S: ... here.
36617 * sysdeps/sh/elf/configure: Delete file.
36619 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
36620 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
36621 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
36622 * sysdeps/powerpc/powerpc64/entry.h: ... here.
36623 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
36624 * sysdeps/powerpc/powerpc64/start.S: here.
36625 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
36626 * sysdeps/powerpc/powerpc64/Makefile: ... this.
36627 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
36628 * sysdeps/powerpc/powerpc64/configure.in: ... this.
36629 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
36631 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
36632 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
36633 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
36634 * sysdeps/powerpc/powerpc32/start.S: ... here.
36635 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
36636 * sysdeps/powerpc/powerpc32/configure.in: ... this.
36637 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
36639 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
36640 * sysdeps/powerpc/ifunc-sel.h: ... here.
36641 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
36642 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
36644 * sysdeps/sparc/elf/configure.in: Moved to ...
36645 * sysdeps/sparc/configure.in: ... here.
36646 * sysdeps/sparc/elf/configure: Delete file.
36647 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
36648 * sysdeps/sparc/sparc32/start.S: ... here.
36649 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
36650 * sysdeps/sparc/sparc64/start.S: ... here.
36651 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
36652 * sysdeps/sparc/sparc32/Makefile: ... this.
36653 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
36654 * sysdeps/sparc/sparc64/Makefile: ... this.
36656 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
36657 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
36658 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
36659 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
36660 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
36661 * sysdeps/s390/s390-32/setjmp.S: ... here.
36662 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
36663 * sysdeps/s390/s390-32/configure.in: ... here.
36664 * sysdeps/s390/s390-32/elf/configure: Delete file.
36665 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
36666 * sysdeps/s390/s390-32/start.S: ... here.
36668 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
36669 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
36670 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
36671 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
36672 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
36673 * sysdeps/s390/s390-64/setjmp.S: ... here.
36674 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
36675 * sysdeps/s390/s390-64/configure.in: ... here
36676 * sysdeps/s390/s390-64/elf/configure: Delete file.
36677 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
36678 * sysdeps/s390/s390-64/start.S: ... here.
36679 * sysdeps/s390/s390-64/elf/configure: Delete.
36681 * configure.in: Remove support for elf directories in sysdeps.
36683 * configure: Regenerated.
36684 * sysdeps/i386/configure: Regenerated.
36685 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36686 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36687 * sysdeps/s390/s390-32/configure: Regenerated.
36688 * sysdeps/s390/s390-64/configure: Regenerated.
36689 * sysdeps/sh/configure: Regenerated.
36690 * sysdeps/sparc/configure: Regenerated.
36691 * sysdeps/x86_64/configure: Regenerated.
36693 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
36695 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36697 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
36698 denormal result into account.
36700 2012-03-25 Roland McGrath <roland@hack.frob.com>
36702 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
36703 Reported by Allan McRae <allan@archlinux.org>.
36705 2012-03-23 Jeff Law <law@redhat.com>
36707 * nss/getnssent.c (__nss_getent): Fix typo.
36709 2012-03-23 David S. Miller <davem@davemloft.net>
36711 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36713 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
36715 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
36716 to pad to uint64_t for each field.
36717 (dl_tls_index): Replace unsigned long with uint64_t.
36719 2012-03-23 Daniel Jacobowitz <dmj@google.com>
36720 Paul Pluzhnikov <ppluzhnikov@google.com>
36723 * grp/Makefile (otherlibs): Don't set it.
36724 * inet/Makefile (otherlibs): Likewise.
36725 * login/Makefile (otherlibs): Likewise.
36726 * nscd/Makefile (otherlibs): Likewise.
36727 * posix/Makefile (otherlibs): Likewise.
36728 * pwd/Makefile (otherlibs): Likewise.
36729 * rt/Makefile (otherlibs): Likewise.
36730 * sunrpc/Makefile (otherlibs): Likewise.
36731 * nss/Makefile (otherlibs): Likewise.
36732 Add libnss_files to routines and static-only-routines.
36733 ($(objpfx)getent): Remove rule.
36734 * resolv/Makefile: Add libnss_dns and libresolv to routines and
36735 static-only-routines.
36737 2012-03-22 Joseph Myers <joseph@codesourcery.com>
36740 * math/s_cexp.c: Include <float.h>.
36741 (__cexp): Handle exp result overflowing not necessarily
36742 overflowing both real and imaginary parts of result.
36743 * math/s_cexpf.c: Likewise.
36744 * math/s_cexpl.c: Likewise.
36745 * math/libm-test.inc (cexp_test): Add more tests.
36746 * sysdeps/i386/fpu/libm-test-ulps: Update.
36747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36749 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36751 * include/link.h (ELFW): New macro.
36752 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
36753 Replace ELF64_R_TYPE with ELFW(R_TYPE).
36755 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36757 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
36760 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36762 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
36764 (struct La_x32_retval): Likewise.
36766 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36768 * sysdeps/x86_64/preconfigure.in: New file.
36769 * sysdeps/x86_64/preconfigure: New generated file.
36771 2012-03-22 Joseph Myers <joseph@codesourcery.com>
36774 * math/e_exp2l.c: Include <float.h>.
36775 (__ieee754_exp2l): Handle overflow and underflow cases
36776 separately. Only pass fractional part of argument to
36778 * math/libm-test.inc (exp2_test): Add more tests.
36780 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
36781 negating x to take absolute value.
36782 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36784 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36785 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
36787 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
36788 computing low part if x was negated.
36789 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36791 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36793 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
36794 la_x32_gnu_pltexit.
36795 (pltexit): Cast int_retval to ptrdiff_t.
36796 * elf/tst-auditmod3b.c: Likewise.
36797 * elf/tst-auditmod4b.c: Likewise.
36798 * elf/tst-auditmod5b.c: Likewise.
36799 * elf/tst-auditmod6b.c: Likewise.
36800 * elf/tst-auditmod6c.c: Likewise.
36801 * elf/tst-auditmod7b.c: Likewise.
36803 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
36804 and x32_gnu_pltexit.
36806 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
36807 __ELF_NATIVE_CLASS.
36808 (La_x32_regs): New macro.
36809 (La_x32_retval): Likewise.
36810 (la_x32_gnu_pltenter): New function prototype.
36811 (la_x32_gnu_pltexit): Likewise.
36813 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
36815 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
36818 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36820 * configure.in (libc_cv_cc_nofma): Check for option to disable
36821 generation of FMA instructions.
36822 * configure: Regenerate.
36823 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
36824 * sysdeps/ieee754/dbl-64/Makefile: New file.
36825 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36826 Remove brandred-fma4.
36827 (CFLAGS-brandred-fma4.c): Remove.
36828 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
36829 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
36831 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
36834 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36836 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36837 LLONG_MAX != LONG_MAX.
36838 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36839 (_fitoa_word): Likewise.
36840 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
36841 LLONG_MAX != LONG_MAX.
36842 * stdio-common/_itowa.h: Include <_itoa.h>.
36843 (_itowa_word): Use _ITOA_WORD_TYPE on value.
36844 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
36845 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
36846 only if not defined.
36847 (_ITOA_WORD_TYPE): Likewise.
36848 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36849 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
36851 2012-03-21 David S. Miller <davem@davemloft.net>
36853 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36855 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36857 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
36858 of x86_64 when setting libc_cv_slibdir, libdir and
36860 * sysdeps/unix/sysv/linux/configure: Regenerated.
36862 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36864 * manual/lang.texi (Old Varargs): Remove section.
36865 (How Variadic): Update menu.
36866 (va_start): Do not mention varargs.h.
36868 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36869 Joseph Myers <joseph@codesourcery.com>
36871 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
36873 * configure: Regenerated.
36875 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36877 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
36878 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
36881 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36884 * Makefile (files-for-dist): Remove NOTES.
36885 (NOTES): Remove rule.
36886 * README: Don't refer to NOTES.
36887 * manual/creature.texi: Don't include macros.texi.
36888 * manual/intro.texi (creature.texi): Remove comment referring to
36891 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
36892 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
36893 * configure: Regenerated.
36894 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
36895 LIBC_TRY_CC_OPTION.
36896 (libc_cv_as_i686): Likewise.
36897 (libc_cv_cc_avx): Likewise.
36898 (libc_cv_cc_sse2avx): Likewise.
36899 (libc_cv_cc_fma4): Likewise.
36900 (libc_cv_cc_novzeroupper): Likewise.
36901 * sysdeps/i386/configure: Regenerated.
36904 * sysdeps/i386/fpu/s_cexp.S: Remove.
36905 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36906 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36907 * math/libm-test.inc (cexp_test): Add more tests.
36908 * sysdeps/i386/fpu/libm-test-ulps: Update.
36909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36911 2012-03-21 Allan McRae <allan@archlinux.org>
36913 * timezone/Makefile: Do not install iso3166.tab and zone.tab
36915 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36918 * math/w_exp2.c: Do not include <float.h>.
36919 (o_threshold, u_threshold): Remove.
36920 (__exp2): Calculate result before checking finiteness and calling
36922 * math/w_exp2f.c: Likewise.
36923 * math/w_exp2l.c: Likewise.
36924 * math/libm-test.inc (exp2_test): Require overflow exception for
36928 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
36929 range of signed 64-bit integers before using fistpll. Remove
36930 checks for whether integers fit in mantissa bits.
36931 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
36932 the range of signed 32-bit integers before using fistpl. Remove
36933 checks for whether integers fit in mantissa bits.
36934 * sysdeps/i386/fpu/e_powl.S (p64): New object.
36935 (__ieee754_powl): Test for y outside the range of signed 64-bit
36936 integers before using fistpll. Reduce 64-bit values to 63-bit
36938 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
36939 divide-by-zero is raised for zero to large negative powers.
36940 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
36941 (__ieee754_powl): Test for y outside the range of signed 64-bit
36942 integers before using fistpll. Reduce 64-bit values to 63-bit
36944 * math/libm-test.inc (pow_test): Add more tests.
36946 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36948 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
36949 <stdio-common/_itoa.h>.
36950 * debug/segfault.c: Likewise.
36951 * elf/dl-cache.c: Likewise.
36952 * elf/dl-minimal.c: Likewise.
36953 * elf/dl-misc.c: Likewise.
36954 * elf/dl-sysdep.c: Likewise.
36955 * elf/dl-version.c: Likewise.
36956 * elf/rtld.c: Likewise.
36957 * hurd/hurdsock.c: Likewise.
36958 * hurd/lookup-retry.c: Likewise.
36959 * malloc/malloc.c: Likewise.
36960 * malloc/mtrace.c: Likewise.
36961 * nscd/nscd_getgr_r.c: Likewise.
36962 * nscd/nscd_getpw_r.c: Likewise.
36963 * nscd/nscd_getserv_r.c: Likewise.
36964 * posix/getopt_init.c: Likewise.
36965 * posix/wordexp.c: Likewise.
36966 * stdio-common/_itoa.c: Likewise.
36967 * stdio-common/printf_fphex.c: Likewise.
36968 * stdio-common/vfprintf.c: Likewise.
36969 * string/_strerror.c: Likewise.
36970 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
36971 * sysdeps/i386/i686/hp-timing.h: Likewise.
36972 * sysdeps/mach/_strerror.c: Likewise.
36973 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
36974 * sysdeps/mach/hurd/sethostid.c: Likewise.
36975 * sysdeps/mach/hurd/xmknodat.c: Likewise.
36976 * sysdeps/mach/xpg-strerror.c: Likewise.
36977 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36978 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36979 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
36980 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
36981 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36982 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
36983 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36984 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36985 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
36986 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
36987 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
36988 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36989 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
36990 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36991 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36992 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
36993 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
36994 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
36995 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36996 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36997 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
36999 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37001 * stdio-common/_itoa.h: Moved to ...
37002 * sysdeps/generic/_itoa.h: Here.
37004 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37006 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37007 instead of "_itoa.h" and "_itowa.h".
37008 * stdio-common/vfprintf.: Likewise.
37010 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37012 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37014 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37015 (__signbit): Likwise.
37016 (llrintf): Likwise.
37019 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37021 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37024 2012-03-20 Joseph Myers <joseph@codesourcery.com>
37026 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37027 OVERFLOW_EXCEPTION_OK.
37028 * math/libm-test.inc ("Philosophy"): Update comment about
37030 (OVERFLOW_EXCEPTION): Define.
37031 (OVERFLOW_EXCEPTION_OK): Likewise.
37032 (INVALID_EXCEPTION_OK): Renumber.
37033 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37034 (IGNORE_ZERO_INF_SIGN): Likewise.
37035 (test_exceptions): Handle FE_OVERFLOW.
37036 (exp10_test): Expect overflow exceptions.
37037 (exp2_test): Likewise.
37038 (expm1_test): Likewise.
37039 (nextafter_test): Likewise.
37040 (pow_test): Likewise.
37041 (scalbn_test): Likewise.
37042 (scalbln_test): Likewise.
37044 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37046 * sysdeps/x86_64/bits/atomic.h
37047 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37049 (atomic_exchange_acq): Likewise.
37050 (__arch_exchange_and_add_body): Likewise.
37051 (__arch_add_body): Likewise.
37052 (atomic_add_negative): Likewise.
37053 (atomic_add_zero): Likewise.
37055 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37057 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
37058 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37060 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37062 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37063 Check __x86_64__ instead of __WORDSIZE.
37065 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37067 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37069 2012-03-19 David S. Miller <davem@davemloft.net>
37071 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37073 * sysdeps/sparc/fpu/fenv_private.h: New file.
37074 * sysdeps/sparc/fpu/math_private.h: Use it.
37075 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37077 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
37078 (libc_feholdexcept_setroundl): Remove.
37079 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37081 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37082 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37084 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37086 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37087 int64_t instead of long int.
37088 (INSERT_WORDS64): Likwise.
37090 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37092 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37093 _Unwind_GetCFA return to _Unwind_Ptr first.
37095 2012-03-19 Joseph Myers <joseph@codesourcery.com>
37098 * math/s_clog.c: Include <float.h>.
37099 (__clog): Scale large or subnormal inputs.
37100 * math/s_clogf.c: Likewise.
37101 * math/s_clogl.c: Likewise.
37102 * math/s_clog10.c: Include <float.h>.
37103 (M_LOG10_2): Define.
37104 (__clog10): Scale large or subnormal inputs.
37105 * math/s_clog10f.c: Likewise.
37106 * math/s_clog10l.c: Likewise.
37107 * math/libm-test.inc (clog_test): Add more tests.
37108 (clog10_test): Likewise.
37109 * sysdeps/i386/fpu/libm-test-ulps: Update.
37110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37113 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
37115 * math/libm-test.inc (atan2_test): Add another test.
37117 * Makerules (common-objdir-compile): Remove.
37118 * sysdeps/unix/Makefile (config-generated): Do not add
37119 $(unix-generated) to variable.
37120 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
37121 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
37123 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
37125 [generic bits/local_lim.h] (before-compile): Do not append to
37127 [generic bits/local_lim.h] (common-generated): Likewise.
37128 [generic sys/param.h] (before-compile): Do not append to variable.
37129 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
37130 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
37131 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
37132 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
37134 [generic sys/param.h] (sys/param.h-includes): Remove variable.
37135 [generic sys/param.h] (sys/param.h-includes): Remove rule.
37136 [generic sys/param.h] ($(addprefix
37137 $(common-objpfx),$(sys/param.h-includes))): Likewise.
37138 [generic sys/param.h] (common-generated): Do not append to
37140 [generic sys/param.h] (sysdep_headers): Likewise.
37141 [generic bits/errno.h] (before-compile): Do not append to
37143 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
37145 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
37146 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
37147 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
37148 [generic bits/errno.h] (common-generated): Do not append to
37150 [generic bits/ioctls.h] (before-compile): Do not append to
37152 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
37154 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
37155 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
37156 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
37158 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
37159 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
37160 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
37161 [generic bits/ioctls.h] (common-generated): Do not append to
37163 [generic sys/syscall.h] (syscall.h): Remove variable.
37164 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
37166 [generic sys/syscall.h] (before-compile): Do not append to
37168 [generic sys/syscall.h] (common-generated): Likewise.
37169 * sysdeps/unix/errnos-tmpl.c: Remove file.
37170 * sysdeps/unix/errnos.awk: Likewise.
37171 * sysdeps/unix/ioctls-tmpl.c: Likewise.
37172 * sysdeps/unix/ioctls.awk: Likewise.
37173 * sysdeps/unix/mk-local_lim.c: Likewise.
37174 * sysdeps/unix/snarf-ioctls: Likewise.
37176 2012-03-19 Richard Henderson <rth@twiddle.net>
37178 * sysdeps/i386/fpu/fenv_private.h: New file.
37179 * sysdeps/i386/fpu/math_private.h: Use it.
37180 (math_opt_barrier, math_force_eval): Remove.
37181 (libc_feholdexcept_setround_53bit): Remove.
37182 (libc_feupdateenv_53bit): Remove.
37183 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37184 (math_opt_barrier, math_force_eval): Remove.
37185 (libc_feholdexcept): Remove.
37186 (libc_feholdexcept_setround): Remove.
37187 (libc_fetestexcept, libc_fesetenv): Remove.
37188 (libc_feupdateenv_test): Remove.
37189 (libc_feupdateenv, libc_feholdsetround): Remove.
37190 (libc_feresetround): Remove.
37192 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
37193 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37195 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
37196 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
37197 (libc_feupdateenv_testl): New.
37198 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
37199 (libc_feupdateenv_testf): New.
37200 (libc_feupdateenv): Use libc_feupdateenv_test.
37201 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
37202 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
37204 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
37205 (libc_feholdsetroundf, libc_feholdsetroundl): New.
37206 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
37207 (libc_feresetround_noex): New.
37208 (libc_feresetround_noexf): New.
37209 (libc_feresetround_noexl): New.
37210 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
37211 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
37212 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
37213 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
37215 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37216 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
37218 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
37219 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
37220 SET_RESTORE_ROUND_NOEX.
37221 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
37222 SET_RESTORE_ROUND_NOEXF.
37223 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
37224 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
37225 (libc_feholdsetroundf): New.
37226 (libc_feresetround, libc_feresetroundf): New.
37228 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
37229 (libc_feholdexcept_setround_53bit): Convert from macro to function.
37230 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
37232 * sysdeps/generic/math_private.h: Include <fenv.h>.
37233 (default_libc_feholdexcept): New.
37234 (default_libc_feholdexcept_setround): New.
37235 (default_libc_fesetenv, default_libc_feupdateenv): New.
37236 (libc_feholdexcept): Only define if undefined.
37237 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
37238 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
37239 (libc_feholdexcept_setroundl): Likewise.
37240 (libc_feholdexcept_setround_53bit): Likewise.
37241 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
37242 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
37243 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
37244 (libc_feupdateenv_53bit): Likewise.
37245 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
37246 (libc_feholdexcept): Convert from macro to inline function.
37247 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
37248 (libc_fesetenv, libc_feupdateenv): Likewise.
37250 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
37251 not previously defined.
37252 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
37253 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
37254 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
37255 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
37256 * sysdeps/ieee754/flt-32/math_private.h: New file.
37257 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
37258 math_private.h below SET_FLOAT_WORD.
37259 (__isnan, __isinf_ns, __finite): Remove.
37260 (__isnanf, __isinf_nsf, __finitef): Remove.
37262 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
37264 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37266 2012-03-17 David S. Miller <davem@davemloft.net>
37269 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
37272 2012-03-16 David S. Miller <davem@davemloft.net>
37274 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
37278 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
37280 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
37281 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
37282 sysdep_routines when subdir is sysvipc.
37283 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
37284 __getshmlba helper.
37286 * sysdeps/sparc/fpu/libm-test/ulps: Update.
37288 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37290 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
37293 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37295 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
37296 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
37297 (__lround): Renamed to ...
37298 (__llround): This. Replace long int with long long int.
37299 Define lround functions as aliases of llround functions.
37300 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
37302 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37304 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
37305 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
37306 adresses to uintptr_t. Replace "long int" and "unsigned long
37307 int" with "greg_t" on va_arg.
37309 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37311 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
37312 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
37314 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
37315 Move e_machine check before EI_CLASS check. Handle x32
37316 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
37317 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
37318 SKIP_EM_IA_64 and include
37319 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
37321 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
37322 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
37323 (add_system_dir): New macro.
37325 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
37326 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
37328 2012-03-16 Joseph Myers <joseph@codesourcery.com>
37339 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
37341 * math/w_j0f.c (j0f): Likewise.
37343 * math/w_j0l.c (__j0l): Likewise.
37345 * math/w_j1.c (j1): Likewise.
37347 * math/w_j1f.c (j1f): Likewise.
37349 * math/w_j1l.c (__j1l): Likewise.
37351 * math/w_jn.c (jn): Likewise.
37353 * math/w_jnf.c (jnf): Likewise.
37355 * math/w_jnl.c (__jnl): Likewise.
37357 * math/libm-test.inc (j0_test): Add more tests.
37358 (j1_test): Likewise.
37359 (jn_test): Likewise. Add trailing semicolon to existing test.
37360 (y0_test): Likewise.
37361 (y1_test): Likewise.
37362 * sysdeps/i386/fpu/libm-test-ulps: Update.
37363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37367 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
37368 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
37369 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
37370 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
37371 (__tanl): Set errno for infinite argument.
37372 * sysdeps/i386/fpu/mptan.c: Remove.
37373 * sysdeps/i386/fpu/s_tan.S: Likewise.
37374 * sysdeps/i386/fpu/s_tanl.S: Likewise.
37375 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
37376 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
37377 * math/libm-test.inc (tan_test): Add more tests and enable more
37378 tests for double and long double.
37379 * sysdeps/i386/fpu/libm-test-ulps: Update.
37380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37382 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
37384 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
37385 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
37387 2012-03-16 Roland McGrath <roland@hack.frob.com>
37389 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
37390 * configure.in: Use it for both main tree and add-ons.
37391 * configure: Regenerated.
37393 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37395 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
37397 2012-03-16 Joseph Myers <joseph@codesourcery.com>
37399 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
37403 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
37404 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
37405 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
37406 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
37407 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
37409 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
37410 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
37411 != 0 for prec == 2.
37412 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
37413 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
37414 * sysdeps/i386/fpu/s_cosl.S: Likewise.
37415 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
37416 * sysdeps/i386/fpu/s_sinl.S: Likewise.
37417 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
37418 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
37419 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
37420 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
37421 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
37422 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
37423 * math/libm-test.inc (cos_test): Add more tests and enable more
37424 tests for long double.
37425 (sin_test): Likewise.
37426 (sincos_test): Likewise.
37427 * sysdeps/i386/fpu/libm-test-ulps: Update.
37428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37430 2012-03-16 David S. Miller <davem@davemloft.net>
37432 * sysdeps/sparc/fpu/math_private.h: New file.
37434 2012-03-15 David S. Miller <davem@davemloft.net>
37436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
37438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
37439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
37441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
37442 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
37443 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
37444 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
37445 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
37446 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
37448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37450 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
37451 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
37453 * sysdeps/sparc/sparc-ifunc.h: New file.
37454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
37456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
37459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
37461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
37462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
37463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
37468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
37470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
37472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
37474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
37476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
37477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
37478 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37479 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37480 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
37481 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
37482 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37483 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37484 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
37485 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
37486 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
37487 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
37488 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
37489 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
37490 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
37491 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
37492 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
37493 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
37494 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
37495 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
37496 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
37497 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
37499 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37501 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
37503 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37505 2012-03-15 Andreas Jaeger <aj@suse.de>
37508 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
37509 ieee754/flt-32 implementation for sin, cos and sincos.
37510 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
37511 * sysdeps/i386/fpu/s_cosf.S: Likewise.
37512 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
37513 * sysdeps/i386/fpu/s_sinf.S: Likewise.
37514 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
37515 ieee754/flt-32 implementation for tan.
37517 * math/libm-test.inc (cos_test): Enable some large input tests for
37519 (sin_test): Likewise.
37520 (sincos_test): Likewise.
37521 (tan_test): Add tests for large input.
37523 * sysdeps/i386/fpu/libm-test-ulps: Update.
37525 2012-03-15 Andreas Jaeger <aj@suse.de>
37528 * math/libm-test.inc (cos_test): Add more test cases.
37529 (sin_test): Likewise.
37530 (sincos_test): Likewise.
37532 2012-03-15 Andreas Jaeger <aj@suse.de>
37535 * math/libm-test.inc (cos_test): Add a test case for large input
37537 (sin_test): Likewise.
37538 (sincos_test): Likewise.
37540 2012-03-15 Andreas Jaeger <aj@suse.de>
37541 Joseph Myers <joseph@codesourcery.com>
37544 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
37545 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
37546 * sysdeps/i386/fpu/branred.c: Likewise.
37547 * sysdeps/i386/fpu/dosincos.c: Likewise.
37548 * sysdeps/i386/fpu/mpa.c: Likewise.
37549 * sysdeps/i386/fpu/s_cos.S: Likewise.
37550 * sysdeps/i386/fpu/s_sin.S: Likewise.
37551 * sysdeps/i386/fpu/s_sincos.S: Likewise.
37552 * sysdeps/i386/fpu/sincos32.c: Likewise.
37554 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
37556 (libc_feupdateenv_53bit): Define.
37557 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
37559 (libc_feupdateenv_53bit): Define.
37561 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
37562 53 bit (without extend i386 double precision).
37564 * math/libm-test.inc (sincos_test): Add tests for large input.
37568 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37570 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37572 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37574 2012-03-15 David S. Miller <davem@davemloft.net>
37576 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
37577 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
37578 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
37579 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
37580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
37581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
37582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
37583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
37584 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
37585 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
37586 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
37587 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
37588 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
37589 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
37590 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
37591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
37593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
37594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
37596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
37597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
37599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
37600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
37602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
37603 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
37604 fmin/fmax sysdep routines.
37605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37607 2012-03-14 David S. Miller <davem@davemloft.net>
37609 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
37610 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
37611 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
37612 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
37613 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
37614 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
37615 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
37616 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
37617 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
37618 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
37619 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
37620 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
37621 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
37622 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
37623 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
37624 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
37625 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
37626 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
37627 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
37628 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
37629 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
37630 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
37631 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
37632 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
37633 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
37634 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
37635 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
37636 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
37637 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
37639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
37641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
37642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
37644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
37645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
37647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
37648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
37650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
37651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
37653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
37654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
37656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
37658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
37660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
37662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
37664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
37666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
37668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
37669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
37671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
37672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
37674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
37675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
37677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
37678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
37681 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37684 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37686 * sysdeps/sparc/configure.in: New file.
37687 * sysdeps/sparc/configure: Generate.
37688 * configure.in (libc_cv_sparc_as_vis3): Substitute.
37689 * configure: Regenerate.
37690 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
37691 * config.make.in (have-as-vis3): New.
37692 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
37693 available use -Av9d instead of -Av9a.
37694 * sysdeps/sparc/sparc64/Makefile: Likewise.
37695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
37696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
37698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
37700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
37702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
37704 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
37705 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
37706 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
37707 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
37708 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
37710 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
37711 fzeros/fnegs to load 0x80000000 into a float register instead of
37713 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
37715 2012-03-14 Joseph Myers <joseph@codesourcery.com>
37717 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37719 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
37720 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
37721 ($(inst_includedir)/bits/syscall.h): Remove rule.
37722 ($(objpfx)bits/syscall.d): Include instead of
37723 $(objpfx)syscall-list.d.
37724 (generated): Change syscall-list.h and syscall-list.d to
37725 bits/syscall.h and bits/syscall.d.
37727 2012-03-14 Roland McGrath <roland@hack.frob.com>
37730 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
37732 2012-03-14 Joseph Myers <joseph@codesourcery.com>
37735 * math/s_csqrt.c: Include <float.h>.
37736 (__csqrt): Scale large or subnormal inputs.
37737 * math/s_csqrtf.c: Likewise.
37738 * math/s_csqrtl.c: Likewise.
37739 * math/libm-test.inc (csqrt_test): Add more tests.
37740 * sysdeps/i386/fpu/libm-test-ulps: Update.
37741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37744 * math/libm-test.inc (hypot_test): Add more tests.
37746 2012-03-13 David S. Miller <davem@davemloft.net>
37749 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
37750 double-precision for the calculation instead of scaling.
37752 2012-03-13 Joseph Myers <joseph@codesourcery.com>
37754 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
37755 manipulate bits before adding and subtracting TWO52[sx].
37756 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
37757 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
37759 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
37761 2012-03-13 David S. Miller <davem@davemloft.net>
37763 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
37764 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
37765 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
37766 rtld-global-offsets.h
37767 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37769 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
37772 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
37774 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
37775 'err' in the ifdef scope in which it is actually used.
37777 * nss/nss_db/db-init.c: Include string.h
37779 2012-03-12 David S. Miller <davem@davemloft.net>
37781 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37782 masking out of the most significant byte of random value used.
37783 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37784 Fix coding style in previous change.
37786 * sysdeps/unix/sysv/linux/kernel-features.h
37787 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
37788 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
37790 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
37793 2012-03-11 David S. Miller <davem@davemloft.net>
37795 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37796 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
37797 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
37798 for 'resultvar' otherwise things get truncated on 64-bit.
37800 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37801 Fix masking out of the most significant byte of random value used.
37803 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37805 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
37807 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37809 2012-03-09 David S. Miller <davem@davemloft.net>
37811 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
37812 variables with appropriate CPP guards.
37813 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
37814 from the frame pointer, not the stack pointer. Correct layout
37815 comments. Fix test on resulting framesize and the management of
37816 the outregs buffer for pltexit. Preserve floating point return
37817 values across _dl_call_pltexit call.
37818 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
37819 framesize and the management of the outregs buffer for pltexit.
37820 Preserve floating point return values across _dl_call_pltexit
37822 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
37823 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
37824 (la_sparc64_gnu_pltexit): New functions.
37825 (print_exit): Fix format string for return register value.
37827 2012-03-10 Joseph Myers <joseph@codesourcery.com>
37829 * sunrpc/Makefile (others): Add rpcgen.
37830 ($(objpfx)rpcgen): Remove special build rule and dependency on
37832 * sunrpc/rpcgen.c: New file.
37834 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
37837 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
37838 * stdio-common/bug-vfprintf-nargs.c: Likewise.
37839 * sysdeps/i386/crti.S: Likewise.
37840 * sysdeps/i386/crtn.S: Likewise.
37841 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
37842 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
37843 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
37844 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
37845 * sysdeps/sh/crti.S: Likewise.
37846 * sysdeps/sh/crtn.S: Likewise.
37847 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37850 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
37852 * locale/programs/locfile-kw.gperf: Likewise.
37853 * locale/programs/charmap-kw.h: Regenerated.
37854 * locale/programs/locfile-kw.h: Likewise.
37857 * intl/plural.y: Replace FSF snail mail address with URL.
37858 * intl/plural.c: Regenerated.
37860 2012-03-09 Richard Henderson <rth@twiddle.net>
37862 * include/math_private.h: Remove file.
37863 * math/math_private.h: Move file ...
37864 * sysdeps/generic/math_private.h: ... here.
37866 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
37867 * sysdeps/powerpc/fpu/math_private.h: Likewise.
37868 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37870 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
37871 and <math_private.h>.
37872 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37873 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37874 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37875 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37876 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37877 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
37878 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37879 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37880 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37881 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37882 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37883 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37884 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37885 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37886 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37887 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37888 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37889 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37890 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37891 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37892 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37893 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37894 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37895 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37896 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37897 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37898 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37899 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37900 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37901 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37902 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37903 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37904 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37905 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37906 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37907 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37908 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37909 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37910 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37911 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37912 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
37913 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37914 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37915 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37916 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37917 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37918 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
37919 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37920 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37921 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37922 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37923 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
37924 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37925 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37926 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37927 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37928 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37929 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37930 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37931 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
37932 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37933 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37934 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37935 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37936 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
37937 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37938 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37939 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37940 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
37941 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
37942 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37943 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37944 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37945 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37946 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
37947 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
37948 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
37949 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37950 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
37951 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
37952 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37953 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
37954 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37955 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37956 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37957 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37958 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
37959 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
37960 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37961 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37962 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37963 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37964 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37965 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37966 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37967 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37968 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37969 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37970 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37971 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37972 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37973 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37974 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37975 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37976 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37977 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37978 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37979 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37980 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37981 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37982 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37983 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37984 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37985 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37986 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
37987 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37988 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37989 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37990 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37991 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37992 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37993 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37994 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37995 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
37996 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37997 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37998 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37999 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38000 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38001 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38002 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38003 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38004 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38005 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38006 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38007 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38008 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38009 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38010 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38011 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38012 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38013 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38014 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38015 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38016 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38017 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38018 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38019 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38020 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38021 * sysdeps/ieee754/k_standard.c: Likewise.
38022 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38023 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38024 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38025 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38026 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38027 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38028 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38029 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38030 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38031 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38032 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38033 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38034 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38035 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38036 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38037 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38038 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38039 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38040 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38041 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38042 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38043 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38044 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38045 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38046 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38047 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38048 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38049 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38050 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38051 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38052 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38053 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38054 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38055 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38056 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38057 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38058 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38059 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38060 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38061 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38062 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38063 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38064 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38065 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38066 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38067 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38068 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38069 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38070 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38071 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38072 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38073 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38074 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38075 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38076 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38077 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38078 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38079 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38080 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38081 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38082 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38083 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38084 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38085 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38086 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38087 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38088 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38089 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38090 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38091 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38092 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38093 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38094 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38095 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38096 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38097 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38098 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
38099 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38100 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38101 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38102 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38103 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38104 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38105 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38106 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
38107 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38108 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38109 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
38110 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38111 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38112 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
38113 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38114 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38115 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38116 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38117 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38118 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
38119 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38120 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38121 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
38122 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38123 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38124 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38125 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38126 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
38127 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38128 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38129 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38130 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
38131 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38132 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38133 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38134 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38135 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38136 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38137 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38138 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38139 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38140 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38141 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38142 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38143 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38144 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38145 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38146 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38147 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
38148 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38149 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38150 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38151 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38152 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38153 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38154 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38155 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38156 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38157 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38158 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
38159 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38160 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38161 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
38162 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
38163 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38164 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
38165 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
38166 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38167 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38168 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38169 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38170 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38171 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
38172 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38173 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38174 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38175 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38176 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
38177 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
38178 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38179 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38180 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38181 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38182 * sysdeps/ieee754/s_lib_version.c: Likewise.
38183 * sysdeps/ieee754/s_matherr.c: Likewise.
38184 * sysdeps/ieee754/s_signgam.c: Likewise.
38185 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38186 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38187 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
38188 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
38189 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
38190 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38191 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
38192 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
38193 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
38194 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
38195 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38196 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
38197 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38198 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38199 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
38200 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38201 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38202 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38203 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38204 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38205 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38207 2012-03-09 Joseph Myers <joseph@codesourcery.com>
38209 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
38210 * sunrpc/rpc_main.c: Likewise.
38211 * sunrpc/rpc_svcout.c: Likewise.
38213 2012-03-09 David S. Miller <davem@davemloft.net>
38215 * include/math_private.h: New file.
38217 2012-03-09 Joseph Myers <joseph@codesourcery.com>
38219 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
38220 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
38221 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
38222 from <bits/socket_type.h>.
38223 (enum __socket_type): Don't define here.
38224 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
38225 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38226 bits/socket_type.h.
38229 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
38230 checking __USE_GNU.
38232 * Makerules ($(inst_includedir)/%.h): New rule.
38233 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
38234 (install-others): Remove variable setting.
38235 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
38237 2012-03-08 Richard Henderson <rth@twiddle.net>
38239 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
38240 from macro to inline function; merge with the
38241 !__LIBC_INTERNAL_MATH_INLINES version.
38242 (__ieee754_sqrtf): Likewise.
38244 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
38245 to inline function.
38246 (__rintf, __floor, __floorf): Likewise.
38248 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
38249 macro to inline function.
38250 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
38252 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
38253 not <math/math_private.h>.
38255 2012-03-08 David S. Miller <davem@davemloft.net>
38257 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
38259 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
38261 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
38263 * resolv/gai_misc.c (handle_requests): Fix struct timespec
38265 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
38266 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38268 2012-03-08 Ulrich Drepper <drepper@gmail.com>
38270 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
38271 be defined individually, they must be defined as a block. Define
38272 S for printing a string instead of hidint the different by using a
38273 macro for adding the 'l'.
38274 * stdio-common/tst-fphex-wide.c: Adjust.
38276 2012-03-07 Marek Polacek <polacek@redhat.com>
38278 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
38280 2012-03-08 Marek Polacek <polacek@redhat.com>
38283 * stdio-common/Makefile (tests): Add tst-fphex-wide.
38284 * stdio-common/tst-fphex.c: Define a few macros to make the
38285 test reusable. Use them.
38286 * stdio-common/tst-fphex-wide.c: New file.
38288 2012-03-08 Joseph Myers <joseph@codesourcery.com>
38291 * manual/macros.texi (gnusystems): New macro.
38292 (nongnusystems): Likewise.
38293 (gnulinuxhurdsystems): Likewise.
38294 (gnuhurdsystems): Likewise..
38295 (gnulinuxsystems): Likewise.
38296 * manual/charset.texi: Use new macros or @theglibc{} to refer to
38297 variants of the GNU system, not "GNU system".
38298 * manual/conf.texi: Likewise.
38299 * manual/errno.texi: Likewise. Update example of errno macro
38301 * manual/filesys.texi: Likewise.
38302 (getumask): Document as specific to GNU/Hurd.
38303 * manual/install.texi: Likewise. Reword some references to
38305 * manual/intro.texi: Likewise.
38306 * manual/io.texi: Likewise.
38307 (File Name Portability): Detail which constraints are inapplicable
38308 to all GNU systems and which are only inapplicable to GNU/Hurd.
38309 * manual/job.texi: Likewise.
38310 * manual/llio.texi: Likewise.
38311 (O_NOCTTY): Document as present on GNU/Linux.
38312 * manual/maint.texi: Likewise.
38313 * manual/memory.texi: Likewise.
38314 * manual/pattern.texi: Likewise.
38315 * manual/pipe.texi: Likewise.
38316 * manual/process.texi: Likewise.
38317 * manual/resource.texi: Likewise.
38318 (RUSAGE_CHILDREN): Remove statement about specifying a particular
38320 * manual/setjmp.texi: Likewise.
38321 * manual/signal.texi: Likewise.
38322 * manual/startup.texi: Likewise.
38323 * manual/stdio.texi: Likewise.
38324 * manual/terminal.texi: Likewise.
38325 (ONLCR): Document as POSIX.
38326 (OXTABS): Document availability on GNU/Linux as XTABS.
38327 (ONOEOT): Document availability separately from other bits.
38328 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
38329 * manual/time.texi: Likewise.
38330 * manual/users.texi: Likewise.
38331 * INSTALL: Regenerated.
38332 * sysdeps/gnu/errlist.c: Regenerated.
38334 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
38335 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
38336 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
38338 * configure: Regenerated.
38340 2012-03-07 Joseph Myers <joseph@codesourcery.com>
38342 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
38343 default includes instead of AC_HEADER_CHECK.
38344 * sysdeps/i386/configure: Regenerated.
38347 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
38348 * math/s_cacoshf.c (__cacoshf): Likewise.
38349 * math/s_cacoshl.c (__cacoshl): Likewise.
38350 * math/s_casinh.c (__casinh): Set signs of result from argument.
38351 * math/s_casinhf.c (__casinhf): Likewise.
38352 * math/s_casinhl.c (__casinhl): Likewise.
38353 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
38354 (casinh_test): Add more tests.
38355 * sysdeps/i386/fpu/libm-test-ulps: Update.
38356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38358 2012-03-07 Ulrich Drepper <drepper@gmail.com>
38360 * po/zh_TW.po: Update from translation team.
38362 * login/Makefile (distribute): Remove variable.
38363 * catgets/Makefile: Likewise.
38364 * mach/Makefile: Likewise.
38365 * malloc/Makefile: Likewise.
38366 * misc/Makefile: Likewise.
38367 * iconv/Makefile: Likewise.
38368 * nscd/Makefile: Likewise.
38369 * hurd/Makefile: Likewise.
38370 * manual/Makefile: Likewise.
38371 * locale/Makefile: Likewise.
38372 * intl/Makefile: Likewise.
38373 * conform/Makefile: Likewise.
38374 * nss/Makefile: Likewise.
38375 * time/Makefile: Likewise.
38376 * soft-fp/Makefile: Likewise.
38377 * dirent/Makefile: Likewise.
38378 * gmon/Makefile: Likewise.
38379 * po/Makefile: Likewise.
38380 * rt/Makefile: Likewise.
38381 * socket/Makefile: Likewise.
38382 * math/Makefile: Likewise.
38383 * signal/Makefile: Likewise.
38384 * debug/Makefile: Likewise.
38385 * elf/Makefile: Likewise.
38386 * timezone/Makefile: Likewise.
38387 * stdlib/Makefile: Likewise.
38388 * iconvdata/Makefile: Likewise.
38389 * sunrpc/Makefile: Likewise.
38390 * io/Makefile: Likewise.
38391 * argp/Makefile: Likewise.
38392 * inet/Makefile: Likewise.
38393 * hesiod/Makefile: Likewise.
38394 * grp/Makefile: Likewise.
38395 * csu/Makefile: Likewise.
38396 * wctype/Makefile: Likewise.
38397 * crypt/Makefile: Likewise.
38398 * libio/Makefile: Likewise.
38399 * string/Makefile: Likewise.
38400 * nis/Makefile: Likewise.
38401 * resolv/Makefile: Likewise.
38402 * stdio-common/Makefile: Likewise.
38403 * wcsmbs/Makefile: Likewise.
38404 * dlfcn/Makefile: Likewise.
38405 * posix/Makefile: Likewise.
38408 * timezone/Makefile: Don't install timezone files, just the programs
38411 2012-03-06 Ulrich Drepper <drepper@gmail.com>
38413 * nss/databases.def: Add missing gshadow entry.
38415 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
38417 2012-03-06 Marek Polacek <polacek@redhat.com>
38420 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
38421 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38422 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
38423 * stdio-common/tst-long-dbl-fphex.c: New file.
38425 2012-03-06 David S. Miller <davem@davemloft.net>
38427 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38428 (set_obp_int): New function.
38429 (get_obp_int): New function.
38430 (__get_clockfreq_via_dev_openprom): Likewise.
38431 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
38432 Avoid unused variable warnings on 'val' and use builtin_expect.
38433 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
38435 (INLINE_CLONE_SYSCALL): Likewise.
38437 2012-03-05 David S. Miller <davem@davemloft.net>
38439 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38441 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
38443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38445 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
38446 only for |x| >= 40.
38447 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38449 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
38451 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
38452 Replace gettimeofday with __vdso_gettimeofday.
38454 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38455 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
38456 __vdso_clock_gettime and __vdso_getcpu.
38458 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
38459 time with __vdso_time.
38461 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38463 * manual/lang.texi (size_t): Note types to which size_t may be
38464 equivalent with the GNU C Library, but do not describe when
38465 differences between them are significant.
38467 2012-03-05 Andreas Jaeger <aj@suse.de>
38469 * sysdeps/i386/fpu/libm-test-ulps: Update.
38471 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38474 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
38475 (__ieee754_pow): Save and restore rounding mode and use
38476 round-to-nearest for main computations.
38477 * math/libm-test.inc (pow_test_tonearest): New function.
38478 (pow_test_towardzero): Likewise.
38479 (pow_test_downward): Likewise.
38480 (pow_test_upward): Likewise.
38481 (main): Call the new functions.
38482 * sysdeps/i386/fpu/libm-test-ulps: Update.
38483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38486 * math/libm-test.inc (cosh_test_tonearest): New function.
38487 (cosh_test_towardzero): Likewise.
38488 (cosh_test_downward): Likewise.
38489 (cosh_test_upward): Likewise.
38490 (sinh_test_tonearest): Likewise.
38491 (sinh_test_towardzero): Likewise.
38492 (sinh_test_downward): Likewise.
38493 (sinh_test_upward): Likewise.
38494 (main): Call the new functions.
38495 * sysdeps/i386/fpu/libm-test-ulps: Update.
38496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38498 2012-03-05 Tom de Vries <tom@codesourcery.com>
38500 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
38501 default stack guard is set in last bytes.
38502 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
38504 2012-03-05 Kees Cook <keescook@chromium.org>
38506 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
38509 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
38510 possibly allocate from heap instead of stack.
38511 * stdio-common/bug-vfprintf-nargs.c: New file.
38512 * stdio-common/Makefile (tests): Add nargs overflow test.
38514 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
38516 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38518 2012-03-03 Marek Polacek <polacek@redhat.com>
38520 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
38521 * math/math_private.h: Likewise.
38522 * stdlib/tst-strtod.c: Likewise.
38523 * sysdeps/i386/i486/bits/atomic.h: Likewise.
38524 * sysdeps/x86_64/bits/atomic.h: Likewise.
38526 2012-03-02 David S. Miller <davem@davemloft.net>
38528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
38529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
38530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
38531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
38532 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
38533 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
38534 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
38535 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
38537 2012-03-02 Roland McGrath <roland@hack.frob.com>
38540 * manual/examples/README: New file, says the example source files
38541 can be used under GPL>=2.
38542 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
38543 line containing just "*/".
38544 * manual/examples/add.c: Add copyright header (GPL>=2).
38545 * manual/examples/argp-ex1.c: Likewise.
38546 * manual/examples/argp-ex2.c: Likewise.
38547 * manual/examples/argp-ex3.c: Likewise.
38548 * manual/examples/argp-ex4.c: Likewise.
38549 * manual/examples/atexit.c: Likewise.
38550 * manual/examples/db.c: Likewise.
38551 * manual/examples/dir.c: Likewise.
38552 * manual/examples/dir2.c: Likewise.
38553 * manual/examples/execinfo.c: Likewise.
38554 * manual/examples/filecli.c: Likewise.
38555 * manual/examples/filesrv.c: Likewise.
38556 * manual/examples/fmtmsgexpl.c: Likewise.
38557 * manual/examples/genpass.c: Likewise.
38558 * manual/examples/inetcli.c: Likewise.
38559 * manual/examples/inetsrv.c: Likewise.
38560 * manual/examples/isockad.c: Likewise.
38561 * manual/examples/longopt.c: Likewise.
38562 * manual/examples/memopen.c: Likewise.
38563 * manual/examples/memstrm.c: Likewise.
38564 * manual/examples/mkfsock.c: Likewise.
38565 * manual/examples/mkisock.c: Likewise.
38566 * manual/examples/mygetpass.c: Likewise.
38567 * manual/examples/pipe.c: Likewise.
38568 * manual/examples/popen.c: Likewise.
38569 * manual/examples/rprintf.c: Likewise.
38570 * manual/examples/search.c: Likewise.
38571 * manual/examples/select.c: Likewise.
38572 * manual/examples/setjmp.c: Likewise.
38573 * manual/examples/sigh1.c: Likewise.
38574 * manual/examples/sigusr.c: Likewise.
38575 * manual/examples/stpcpy.c: Likewise.
38576 * manual/examples/strdupa.c: Likewise.
38577 * manual/examples/strftim.c: Likewise.
38578 * manual/examples/strncat.c: Likewise.
38579 * manual/examples/subopt.c: Likewise.
38580 * manual/examples/swapcontext.c: Likewise.
38581 * manual/examples/termios.c: Likewise.
38582 * manual/examples/testopt.c: Likewise.
38583 * manual/examples/testpass.c: Likewise.
38584 * manual/examples/timeval_subtract.c: Likewise.
38587 * manual/time.texi (Elapsed Time): Move timeval_subtract example
38589 * manual/timeval_subtract.c.texi: ... here, new file.
38591 2012-03-02 David S. Miller <davem@davemloft.net>
38593 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
38595 2012-03-02 Joseph Myers <joseph@codesourcery.com>
38598 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
38599 (__sin): Save and restore rounding mode and use round-to-nearest
38600 for all computations.
38601 (__cos): Save and restore rounding mode and use round-to-nearest
38602 for all computations.
38603 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
38605 (tan): Save and restore rounding mode and use round-to-nearest for
38607 * math/libm-test.inc (cos_test_tonearest): New function.
38608 (cos_test_towardzero): Likewise.
38609 (cos_test_downward): Likewise.
38610 (cos_test_upward): Likewise.
38611 (sin_test_tonearest): Likewise.
38612 (sin_test_towardzero): Likewise.
38613 (sin_test_downward): Likewise.
38614 (sin_test_upward): Likewise.
38615 (tan_test_tonearest): Likewise.
38616 (tan_test_towardzero): Likewise.
38617 (tan_test_downward): Likewise.
38618 (tan_test_upward): Likewise.
38619 (main): Call the new functions.
38620 * sysdeps/i386/fpu/libm-test-ulps: Update.
38621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38624 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
38625 small n, then large n, before computing and testing k+n.
38626 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38627 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
38629 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
38631 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
38632 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
38633 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
38634 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
38635 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38636 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38637 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
38638 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
38639 * math/libm-test.inc (scalbn_test): Add more tests.
38640 (scalbln_test): Likewise.
38642 * manual/filesys.texi (mode_t): Describe constraints on size and
38643 signedness, not exact equivalence to a particular type.
38645 (ino64_t): Likewise.
38647 (nlink_t): Likewise.
38648 (blkcnt_t): Likewise.
38649 (blkcnt64_t): Likewise.
38650 * manual/llio.texi (off_t): Likewise.
38653 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
38654 (__ieee754_exp): Save and restore rounding mode and use
38655 round-to-nearest for all computations.
38656 * math/libm-test.inc (exp_test_tonearest): New function.
38657 (exp_test_towardzero): Likewise.
38658 (exp_test_downward): Likewise.
38659 (exp_test_upward): Likewise.
38660 (main): Call the new functions.
38661 * sysdeps/i386/fpu/libm-test-ulps: Update.
38662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38664 2012-03-01 Chris Demetriou <cgd@google.com>
38666 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
38667 have predictable order.
38669 2012-03-01 David S. Miller <davem@davemloft.net>
38671 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
38673 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
38674 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
38675 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
38676 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
38678 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
38679 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
38680 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
38681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
38682 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
38683 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
38684 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
38685 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
38686 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
38688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38690 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
38691 * sysdeps/sparc/fpu/libm-test-ulps: to here.
38692 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
38694 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
38695 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38696 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38697 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
38698 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
38699 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
38700 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
38701 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38702 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38703 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
38704 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
38705 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38706 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38707 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38708 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38709 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38710 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
38711 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
38712 * sysdeps/sparc/elf/configure: Regenerated.
38714 2012-03-01 Joseph Myers <joseph@codesourcery.com>
38716 * configure.in (AS, LD): Require binutils 2.20 or later.
38717 * configure: Regenerated.
38718 * manual/install.texi (Tools for Compilation): Give binutils 2.20
38719 as required minimum version.
38720 * INSTALL: Regenerated.
38724 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
38725 before squaring exponent.
38726 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
38727 bottom long double and 27 bits of top long double before squaring
38729 * math/libm-test.inc (erfc_test): Add more tests.
38730 * sysdeps/i386/fpu/libm-test-ulps: Update.
38731 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38734 2012-03-01 Kai Tietz <ktietz@redhat.com>
38736 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
38737 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
38738 containing bit-fields.
38739 * soft-fp/extended.h (_FP_UNION_E): Likewise.
38740 * soft-fp/single.h (_FP_UNION_S): Likewise.
38741 * soft-fp/double.h (_FP_UNION_D): Likewise.
38743 2012-02-29 Joseph Myers <joseph@codesourcery.com>
38746 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
38747 not include ../strcmp.S.
38748 [USE_AS_STRNCASECMP_L]: Likewise.
38749 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
38750 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
38751 * sysdeps/i386/i686/multiarch/strncase_l-c.c
38752 (__strncasecmp_l_ia32): Define as alias to
38753 __strncasecmp_l_nonascii.
38756 * math/libm-test.inc (expm1_test): Add test for bug 5794.
38757 * sysdeps/i386/fpu/libm-test-ulps: Update.
38758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38760 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
38761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38763 2012-02-29 Jeff Law <law@redhat.com>
38765 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
38766 out of bounds read.
38768 2012-02-29 Marek Polacek <polacek@redhat.com>
38771 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
38772 * elf/Makefile: Add rules to run tst-unused-dep.out.
38774 2012-02-28 David S. Miller <davem@davemloft.net>
38776 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
38777 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
38778 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
38779 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
38780 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
38781 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
38783 2012-02-29 Joseph Myers <joseph@codesourcery.com>
38785 * math/libm-test.inc (llround_test): Move one test from
38786 lround_test. Use TEST_f_L in moved test.
38787 (lround_test): Move misplaced test to llround_test. Add testcase
38790 2012-02-28 Ulrich Drepper <drepper@gmail.com>
38792 * sysdeps/x86_64/fpu/e_expf.S: New file.
38793 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
38795 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
38798 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
38799 of remain_len that may cause incomplete multi-byte character and
38801 * posix/bug-regex33.c: New file.
38802 * posix/Makefile (tests): Add bug-regex33.
38804 2012-02-28 Joseph Myers <joseph@codesourcery.com>
38806 * manual/macros.texi: New file.
38807 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
38808 * manual/libc.texinfo: Include macros.texi.
38809 * manual/creatute.texi: Likewise.
38810 * manual/install.texi: Likewise.
38811 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
38812 @glibcadj{} in references to the GNU C Library.
38813 * manual/charset.texi: Likewise.
38814 * manual/conf.texi: Likewise.
38815 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
38816 when not using those macros.
38817 * manual/creature.texi: Likewise.
38818 * manual/crypt.texi: Likewise.
38819 * manual/errno.texi: Likewise.
38820 * manual/filesys.texi: Likewise.
38821 * manual/header.texi: Likewise.
38822 * manual/install.texi: Likewise.
38823 * manual/intro.texi: Likewise.
38824 * manual/io.texi: Likewise.
38825 * manual/job.texi: Likewise.
38826 * manual/lang.texi: Likewise.
38827 * manual/libc.texiinfo: Likewise.
38828 * manual/llio.texi: Likewise.
38829 * manual/locale.texi: Likewise.
38830 * manual/maint.texi: Likewise.
38831 * manual/math.texi: Likewise.
38832 * manual/memory.texi: Likewise.
38833 * manual/message.texi: Likewise.
38834 * manual/nss.texi: Likewise.
38835 * manual/pattern.texi: Likewise.
38836 * manual/process.texi: Likewise.
38837 * manual/resource.texi: Likewise.
38838 * manual/search.texi: Likewise.
38839 * manual/setjmp.texi: Likewise.
38840 * manual/signal.texi: Likewise.
38841 * manual/socket.texi: Likewise.
38842 * manual/startup.texi: Likewise.
38843 * manual/stdio.texi: Likewise.
38844 * manual/string.texi: Likewise.
38845 * manual/sysinfo.texi: Likewise.
38846 * manual/syslog.texi: Likewise.
38847 * manual/terminal.texi: Likewise.
38848 * manual/time.texi: Likewise.
38849 * manual/users.texi: Likewise.
38850 * INSTALL: Regenerated.
38851 * NOTES: Regenerated.
38852 * sysdeps/gnu/errlist.c: Regenerated.
38854 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
38856 * include/dirent.h: Include <dirstream.h> before
38859 2012-02-28 David S. Miller <davem@davemloft.net>
38861 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
38862 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
38863 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
38864 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
38866 2012-02-27 David S. Miller <davem@davemloft.net>
38868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
38869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
38870 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
38871 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
38873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
38874 frame pointer instead of stack pointer relative arg slot.
38875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38876 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38877 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38879 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
38882 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
38884 2012-02-27 David S. Miller <davem@davemloft.net>
38886 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
38887 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
38890 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38891 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38892 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
38893 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
38895 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38897 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
38898 later. Allow versions 5-9.
38899 * configure: Regenerated.
38900 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
38901 required minimum version and 4.6 as recommended version. Do not
38902 mention bugs in GCC 2.7 and 2.8.
38903 * INSTALL: Regenerated.
38905 2012-02-27 David S. Miller <davem@davemloft.net>
38907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
38908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
38909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
38910 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
38911 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
38912 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
38913 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
38914 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
38916 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
38917 manipulate bits before adding and subtracting TWO112[sx].
38918 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38920 2012-02-27 Roland McGrath <roland@hack.frob.com>
38923 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
38924 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
38925 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
38926 being in POSIX, because they are in 1003.1-2008.
38928 * rt/tst-aio.c: Include <fcntl.h>.
38929 * rt/tst-aio7.c: Likewise.
38930 * rt/tst-aio64.c: Likewise.
38932 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
38934 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38936 * manual/install.texi (--with-headers): Describe headers as
38937 interface headers, not private headers.
38938 (Specific advice for GNU/Linux systems): Describe use of headers
38939 from "make headers_install", not private headers from older
38941 * INSTALL: Regenerated.
38942 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
38944 * sysdeps/unix/sysv/linux/configure: Regenerated.
38946 * manual/llio.texi (fclean): Remove documentation.
38948 * manual/Makefile (libc-texi-generated): New variable. Include
38950 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
38951 $(libc-texi-generated), not duplicated list of files.
38952 (version.texi, stamp-version): New rules.
38953 (realclean): Remove $(libc-texi-generated), not individual files
38954 from that list. Do not remove dir-add.texinfo.
38955 * manual/libc.texinfo: Comment out uses of edition numbers and
38956 references to printed manual. Remove last-updated dates.
38957 (EDITION): Comment out.
38959 (VERSION, UPDATED): Remove.
38960 (version.texi): Include.
38962 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
38964 * sysdeps/posix/spawni.c: Include <signal.h>.
38965 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
38966 * sysdeps/pthread/aio_fsync.c: Likewise.
38968 2012-02-26 Ulrich Drepper <drepper@gmail.com>
38970 * conform/Makefile (tests): Run only when not cross-compiling and
38971 when fast-check is not defined.
38973 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
38974 * conform/data/limits.h-data: Fixes for POSIX2008.
38975 * conform/run-conformtest.sh: Run all tests.
38976 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
38978 * include/bits/dlfcn.h: Likewise.
38979 * include/langinfo.h: Likewise.
38980 * include/monetary.h: Likewise.
38981 * include/sys/poll.h: Likewise.
38983 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
38985 * posix/spawn.h: Define __need_sigset_t.
38986 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
38987 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
38988 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
38989 to get sigevent_t only.
38990 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
38991 only for __USE_GNU.
38992 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38993 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38994 process_vm_writev only for __USE_GNU.
38995 * termios/termios.h: Declare tcgetsid also for POSIX2008.
38997 * conform/Makefile: For now ignore errors from run-conformtest.
38998 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
38999 POSIX to avoid namespace pollution. Don't prepend headers.
39000 * conform/data/aio.h-data: Fixes for POSIX testing.
39001 * conform/data/fcntl.h-data: Likewise.
39002 * conform/data/glob.h-data: Likewise.
39003 * conform/data/grp.h-data: Likewise.
39004 * conform/data/pthread.h-data: Likewise.
39005 * conform/data/pwd.h-data: Likewise.
39006 * conform/data/signal.h-data: Likewise.
39007 * conform/data/spawn.h-data: Likewise.
39008 * conform/data/stdio.h-data: Likewise.
39009 * conform/data/stdlib.h-data: Likewise.
39010 * conform/data/stropts.h-data: Likewise.
39011 * conform/data/sys/mman.h-data: Likewise.
39012 * conform/data/sys/stat.h-data: Likewise.
39013 * conform/data/sys/types.h-data: Likewise.
39014 * conform/data/sys/wait.h-data: Likewise.
39015 * conform/data/time.h-data: Likewise.
39016 * conform/data/unistd.h-data: Likewise.
39017 * conform/data/utime.h-data: Likewise.
39019 * io/sys/stat.h: fchmod was always in POSIX.
39020 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39021 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39022 * rt/aio.h: Define __need_timespec before including <time.h>.
39023 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39024 struct. Add forward declaration of pthread_attr_t and use it in
39026 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39027 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39028 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39029 always remove CLK_TCK definition.
39031 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
39033 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39035 2012-02-25 Ulrich Drepper <drepper@gmail.com>
39037 * conform/run-conformtest.sh: New file.
39038 * conform/Makefile: Run run-conformtest for tests.
39039 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
39042 * conform/data/uchar.h-data: New file.
39043 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39044 * conform/data/arpa/inet.h-data: Likewise.
39045 * conform/data/assert.h-data: Likewise.
39046 * conform/data/complex.h-data: Likewise.
39047 * conform/data/cpio.h-data: Likewise.
39048 * conform/data/ctype.h-data: Likewise.
39049 * conform/data/dirent.h-data: Likewise.
39050 * conform/data/dlfcn.h-data: Likewise.
39051 * conform/data/errno.h-data: Likewise.
39052 * conform/data/fcntl.h-data: Likewise.
39053 * conform/data/float.h-data: Likewise.
39054 * conform/data/fmtmsg.h-data: Likewise.
39055 * conform/data/fnmatch.h-data: Likewise.
39056 * conform/data/ftw.h-data: Likewise.
39057 * conform/data/glob.h-data: Likewise.
39058 * conform/data/grp.h-data: Likewise.
39059 * conform/data/iconv.h-data: Likewise.
39060 * conform/data/inttypes.h-data: Likewise.
39061 * conform/data/langinfo.h-data: Likewise.
39062 * conform/data/libgen.h-data: Likewise.
39063 * conform/data/limits.h-data: Likewise.
39064 * conform/data/locale.h-data: Likewise.
39065 * conform/data/math.h-data: Likewise.
39066 * conform/data/monetary.h-data: Likewise.
39067 * conform/data/mqueue.h-data: Likewise.
39068 * conform/data/ndbm.h-data: Likewise.
39069 * conform/data/net/if.h-data: Likewise.
39070 * conform/data/netdb.h-data: Likewise.
39071 * conform/data/netinet/in.h-data: Likewise.
39072 * conform/data/nl_types.h-data: Likewise.
39073 * conform/data/poll.h-data: Likewise.
39074 * conform/data/pthread.h-data: Likewise.
39075 * conform/data/pwd.h-data: Likewise.
39076 * conform/data/regex.h-data: Likewise.
39077 * conform/data/sched.h-data: Likewise.
39078 * conform/data/search.h-data: Likewise.
39079 * conform/data/semaphore.h-data: Likewise.
39080 * conform/data/setjmp.h-data: Likewise.
39081 * conform/data/signal.h-data: Likewise.
39082 * conform/data/spawn.h-data: Likewise.
39083 * conform/data/stdarg.h-data: Likewise.
39084 * conform/data/stdio.h-data: Likewise.
39085 * conform/data/stdlib.h-data: Likewise.
39086 * conform/data/string.h-data: Likewise.
39087 * conform/data/strings.h-data: Likewise.
39088 * conform/data/stropts.h-data: Likewise.
39089 * conform/data/sys/ipc.h-data: Likewise.
39090 * conform/data/sys/mman.h-data: Likewise.
39091 * conform/data/sys/msg.h-data: Likewise.
39092 * conform/data/sys/resource.h-data: Likewise.
39093 * conform/data/sys/select.h-data: Likewise.
39094 * conform/data/sys/sem.h-data: Likewise.
39095 * conform/data/sys/shm.h-data: Likewise.
39096 * conform/data/sys/socket.h-data: Likewise.
39097 * conform/data/sys/stat.h-data: Likewise.
39098 * conform/data/sys/statvfs.h-data: Likewise.
39099 * conform/data/sys/time.h-data: Likewise.
39100 * conform/data/sys/timeb.h-data: Likewise.
39101 * conform/data/sys/times.h-data: Likewise.
39102 * conform/data/sys/types.h-data: Likewise.
39103 * conform/data/sys/uio.h-data: Likewise.
39104 * conform/data/sys/un.h-data: Likewise.
39105 * conform/data/sys/utsname.h-data: Likewise.
39106 * conform/data/sys/wait.h-data: Likewise.
39107 * conform/data/syslog.h-data: Likewise.
39108 * conform/data/tar.h-data: Likewise.
39109 * conform/data/termios.h-data: Likewise.
39110 * conform/data/utime.h-data: Likewise.
39111 * conform/data/utmpx.h-data: Likewise.
39112 * conform/data/varargs.h-data: Likewise.
39113 * conform/data/wchar.h-data: Likewise.
39114 * conform/data/wctype.h-data: Likewise.
39115 * conform/data/wordexp.h-data: Likewise.
39117 * include/stropts.h: New file.
39118 * include/uchar.h: New file.
39119 * include/aio.h: Changes to allow conformtest.pl to use the headers.
39120 * include/assert.h: Likewise.
39121 * include/ctype.h: Likewise.
39122 * include/dirent.h: Likewise.
39123 * include/dlfcn.h: Likewise.
39124 * include/fcntl.h: Likewise.
39125 * include/fnmatch.h: Likewise.
39126 * include/glob.h: Likewise.
39127 * include/grp.h: Likewise.
39128 * include/libio.h: Likewise.
39129 * include/locale.h: Likewise.
39130 * include/math.h: Likewise.
39131 * include/net/if.h: Likewise.
39132 * include/netdb.h: Likewise.
39133 * include/netinet/in.h: Likewise.
39134 * include/pthread.h: Likewise.
39135 * include/pwd.h: Likewise.
39136 * include/regex.h: Likewise.
39137 * include/sched.h: Likewise.
39138 * include/search.h: Likewise.
39139 * include/setjmp.h: Likewise.
39140 * include/signal.h: Likewise.
39141 * include/stdio.h: Likewise.
39142 * include/stdlib.h: Likewise.
39143 * include/string.h: Likewise.
39144 * include/sys/cdefs.h: Likewise.
39145 * include/sys/mman.h: Likewise.
39146 * include/sys/msg.h: Likewise.
39147 * include/sys/resource.h: Likewise.
39148 * include/sys/select.h: Likewise.
39149 * include/sys/socket.h: Likewise.
39150 * include/sys/stat.h: Likewise.
39151 * include/sys/statvfs.h: Likewise.
39152 * include/sys/time.h: Likewise.
39153 * include/sys/times.h: Likewise.
39154 * include/sys/uio.h: Likewise.
39155 * include/sys/utsname.h: Likewise.
39156 * include/sys/wait.h: Likewise.
39157 * include/termios.h: Likewise.
39158 * include/time.h: Likewise.
39159 * include/ulimit.h: Likewise.
39160 * include/unistd.h: Likewise.
39161 * include/utime.h: Likewise.
39162 * include/wchar.h: Likewise.
39163 * include/wctype.h: Likewise.
39164 * include/wordexp.h: Likewise.
39166 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
39168 * time/time.h: TIME_UTC must be a macro.
39169 Make timespec_get available for ISO C11 only as well.
39171 2012-02-24 Ulrich Drepper <drepper@gmail.com>
39173 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
39174 Reported by Peng Haitao <penght@cn.fujitsu.com>.
39176 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39178 * configure.in: Use -o not -a in test for unsupported multi-arch.
39180 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39182 * manual/texinfo.tex: Update to version 2012-01-19.16.
39184 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39186 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
39188 2012-02-24 Roland McGrath <roland@hack.frob.com>
39191 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
39192 * manual/fdl-1.3.texi: New file.
39193 * manual/fdl-1.1.texi: File removed.
39196 * manual/libc.texinfo (FDL_VERSION): New @set.
39197 Use it for mention of FDL in cover text.
39198 (Documentation License): Use it in @include file name.
39200 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39201 Roland McGrath <roland@hack.frob.com>
39204 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
39205 (not LONG_LONG_MAX and LONG_LONG_MIN.
39206 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
39207 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
39209 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
39211 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39215 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
39216 manipulate bits before adding and subtracting TWO23[sx].
39217 * math/libm-test.inc (nearbyint_test): Add more tests.
39219 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39222 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
39223 bits before adding and subtracting TWO23[sx].
39224 * math/libm-test.inc (rint_test): Add more tests.
39225 (rint_test_tonearest): Likewise.
39226 (rint_test_towardzero): Likewise.
39227 (rint_test_downward): Likewise.
39228 (rint_test_upward: Likewise.
39230 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39233 * include/stdc-predef.h: New file. Extracted from features.h.
39234 * include/features.h: Include stdc-predef.h.
39235 * Makefile (headers): Add stdc-predef.h.
39236 * CONFORMANCE (Compiler limitations): Update.
39238 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39240 * manual/libc.texinfo (VERSION, UPDATED): Revert.
39242 2012-02-21 David S. Miller <davem@davemloft.net>
39244 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
39245 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39247 2012-02-20 David S. Miller <davem@davemloft.net>
39249 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
39250 using a normal save/restore sequence, rather than allocating a
39251 dummy stack frame just to store a frame pointer and restore.
39252 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39254 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39256 * manual/install.texi: Fix stray word in line-wrapped comment.
39258 2012-02-20 David S. Miller <davem@davemloft.net>
39260 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
39261 both binutils and gcc support GOTDATA.
39263 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
39264 "rd %pc" in the PIC register setup sequences.
39266 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
39267 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39268 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39269 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39270 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39271 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39272 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39273 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39274 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
39275 (SYSCALL_ERROR_HANDLER): Likewise.
39276 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39277 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39278 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
39279 (SYSCALL_ERROR_HANDLER): Likewise.
39281 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
39282 (HAVE_GCC_GOTDATA): New.
39283 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
39284 relocation support in both binutils and gcc.
39285 * sysdeps/sparc/elf/configure: Regenerate.
39287 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
39288 * sysdeps/sparc/sparc32/elf/configure: Delete.
39289 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
39290 * sysdeps/sparc/sparc64/elf/configure: Delete.
39291 * sysdeps/sparc/elf/configure.in: New file.
39292 * sysdeps/sparc/elf/configure: Generate.
39294 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
39295 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
39296 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39297 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
39298 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
39300 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39302 * manual/install.texi: Do not mention specific glibc version
39304 * manual/libc.texinfo (VERSION, UPDATED): Update.
39305 (@copying): Use @copyright{} and range of years.
39307 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39310 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
39311 [crti.S not in sysdirs] (generated): Do not append.
39312 [crti.S not in sysdirs] (omit-deps): Likewise.
39313 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
39314 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
39315 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
39316 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
39317 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
39319 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
39320 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
39321 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
39322 * csu/defs.awk: Remove file.
39323 * sysdeps/generic/initfini.c: Likewise.
39324 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
39326 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
39329 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39331 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
39332 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
39333 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
39334 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
39335 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39336 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
39338 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
39339 (__EPOLL_PACKED): Define to empty if not defined by
39341 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
39342 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39345 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39347 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
39348 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
39349 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
39350 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
39352 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
39353 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39356 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39358 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
39360 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39361 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39362 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
39363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39365 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
39367 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39368 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39370 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
39372 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
39373 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
39375 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
39377 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
39380 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
39382 * math/w_acos.c: Use non-signaling floating-point comparisons.
39383 * math/w_acosf.c: Likewise.
39384 * math/w_acosh.c: Likewise.
39385 * math/w_acoshf.c: Likewise.
39386 * math/w_acoshl.c: Likewise.
39387 * math/w_acosl.c: Likewise.
39388 * math/w_asin.c: Likewise.
39389 * math/w_asinf.c: Likewise.
39390 * math/w_asinl.c: Likewise.
39391 * math/w_atanh.c: Likewise.
39392 * math/w_atanhf.c: Likewise.
39393 * math/w_atanhl.c: Likewise.
39394 * math/w_exp2.c: Likewise.
39395 * math/w_exp2f.c: Likewise.
39396 * math/w_exp2l.c: Likewise.
39397 * math/w_j0.c: Likewise.
39398 * math/w_j0f.c: Likewise.
39399 * math/w_j0l.c: Likewise.
39400 * math/w_j1.c: Likewise.
39401 * math/w_j1f.c: Likewise.
39402 * math/w_j1l.c: Likewise.
39403 * math/w_jn.c: Likewise.
39404 * math/w_jnf.c: Likewise.
39405 * math/w_log.c: Likewise.
39406 * math/w_log10.c: Likewise.
39407 * math/w_log10f.c: Likewise.
39408 * math/w_log10l.c: Likewise.
39409 * math/w_log2.c: Likewise.
39410 * math/w_log2f.c: Likewise.
39411 * math/w_log2l.c: Likewise.
39412 * math/w_logf.c: Likewise.
39413 * math/w_logl.c: Likewise.
39414 * math/w_sqrt.c: Likewise.
39415 * math/w_sqrtf.c: Likewise.
39416 * math/w_sqrtl.c: Likewise.
39417 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39418 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
39419 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39420 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39421 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39423 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39426 * manual/string.texi (strnlen): Use correct parameter name in
39427 equivalent expression.
39429 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39432 * manual/users.texi (seteuid): Consistently use neweuid for
39435 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39438 * manual/nss.texi (Services in the NSS configuration): Correct
39439 list of services in example configuration file.
39441 2012-02-19 Nick Bowler <nbowler@draconx.ca>
39444 * manual/arith.texi: Remove statements about negative zero
39445 behaving identically to zero.
39447 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39450 * manual/install.texi: Do not document upgrading from libc5.
39452 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39455 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
39457 2012-02-18 David S. Miller <davem@davemloft.net>
39459 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
39460 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
39461 %o7 across the call.
39462 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
39464 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
39465 SETUP_PIC_REG_LEAF.
39466 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39467 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
39468 * sysdeps/sparc/crtn.S: Likewise.
39470 2012-02-17 Ulrich Drepper <drepper@gmail.com>
39472 * aout/Makefile: Remove.
39474 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
39477 * manual/examples/argp-ex1.c (main): Format definition in GNU
39479 * manual/examples/argp-ex2.c (main): Likewise.
39480 * manual/examples/argp-ex3.c (main): Likewise.
39481 * manual/examples/argp-ex4.c (main): Likewise.
39482 * manual/examples/longopt.c (main): Use new-style prototype
39484 * manual/examples/strncat.c (main): Specify return type and use
39485 (void) for arguments.
39486 * manual/examples/subopt.c (main): Use char **argv argument.
39488 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39491 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
39494 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
39497 * manual/string.texi (strchr): Change when strchrnul is
39500 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
39503 * manual/locale.texi (setlocale): Document LOCPATH.
39505 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39508 * manual/process.texi (execle): Move @dots{} before last argument.
39510 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
39513 * manual/charset.texi (Generic Charset Conversion): Fix typo
39514 (LC_TYPE -> LC_CTYPE).
39516 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
39519 * manual/arith.texi (scalbn): Use @var{} on parameter names.
39520 (scalbnf): Likewise.
39521 (scalbnl): Likewise.
39522 (scalbln): Likewise.
39523 (scalblnf): Likewise.
39524 (scalblnl): Likewise.
39525 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
39526 (vwarnx): Likewise.
39529 * manual/filesys.texi (telldir): Use braces around return type.
39530 * manual/llio.texi (mmap): Add space after comma.
39531 (mmap64): Likewise.
39532 * manual/math.texi (jn): Use @var{} on parameter names.
39538 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
39540 * manual/resource.texi (ulimit): Use @dots{} instead of literal
39542 (sched_get_priority_min): Remove semicolon on @deftypefun line.
39543 (sched_get_priority_max): Likewise.
39544 * manual/signal.texi (sigvec): Add space after comma.
39545 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
39547 (if_indextoname): Likewise.
39548 (if_freenameindex): Likewise.
39549 (sendto): Use ',' instead of '.' in prototype.
39550 * manual/startup.texi (syscall): Use @dots{} instead of literal
39552 * manual/stdio.texi (__fpending): Separate initial words of
39553 paragraph from @deftypefun line.
39554 * manual/syslog.texi (syslog): Use @dots{} instead of literal
39556 (vsyslog): Use @var{} on parameter names.
39557 * manual/terminal.texi (stty): Use @var{} on parameter names.
39558 * manual/users.texi (getutmp): Use @var{} on parameter names.
39559 (getutmpx): Likewise.
39561 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39564 * manual/stdio.texi (fopen): Fix typos in description of
39567 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
39570 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
39571 get clock_id definition.
39573 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
39576 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
39577 (madvise): Cast every argument to void on its own.
39579 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39582 * manual/startup.texi (Exit Status): Fix typo.
39584 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39587 * manual/examples/argp-ex1.c: Include <stdlib.h>.
39588 * manual/examples/argp-ex2.c: Likewise.
39589 * manual/examples/argp-ex3.c: Likewise.
39591 2012-02-16 Richard Henderson <rth@redhat.com>
39593 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
39594 * sysdeps/s390/s390-32/initfini.c: Remove.
39595 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
39596 * sysdeps/s390/s390-64/initfini.c: Remove.
39598 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39600 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
39601 compiler output for sysdeps/generic/initfini.c.
39602 * sysdeps/sh/elf/initfini.c: Remove file.
39604 2012-02-16 David S. Miller <davem@davemloft.net>
39607 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
39609 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
39610 * sysdeps/sparc/crti.S: New file.
39611 * sysdeps/sparc/crtn.S: New file.
39612 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
39613 * sysdeps/sparc/sparc64/Makefile: Likewise.
39615 2012-02-15 Mike Frysinger <vapier@gentoo.org>
39618 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
39620 2012-02-15 Roland McGrath <roland@hack.frob.com>
39623 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
39625 * mach/devstream.c (cookie_io_functions_t): Macro removed.
39626 (write, read, close): Likewise.
39627 Patch by Aurelien Jarno <aurelien@aurel32.net>.
39629 2012-02-15 Joseph Myers <joseph@codesourcery.com>
39631 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
39632 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
39633 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
39634 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
39636 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
39637 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39640 2012-02-14 Marek Polacek <polacek@redhat.com>
39642 * sysdeps/x86_64/crti.S: New file.
39643 * sysdeps/x86_64/crtn.S: New file.
39644 * sysdeps/x86_64/elf/initfini.c: Remove file.
39646 2012-02-13 Joseph Myers <joseph@codesourcery.com>
39648 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
39649 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
39650 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
39651 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
39653 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
39654 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39657 2012-02-13 Joseph Myers <joseph@codesourcery.com>
39659 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
39660 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
39661 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
39662 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
39664 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
39665 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39668 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
39670 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
39671 __feraiseexcept instead of feraiseexcept.
39673 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
39674 nanosleep invocations.
39675 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
39676 strings, and add error checking for a nanosleep invocations.
39678 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
39680 Replace FSF snail mail address with URLs, as per GNU coding standards.
39681 Most of the snail mail addresses were wrong anyway, and omitting
39682 them makes the source code easier to maintain. Almost all of the
39683 changes are to license notices and to locale LC_IDENTIFICATION
39684 addresses, except for this one:
39685 * manual/libc.texinfo: In "Published by", give the FSF's URL,
39686 not its snail mail address.
39688 2012-02-09 Richard Henderson <rth@twiddle.net>
39690 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
39691 of kernel-features.h.
39693 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
39695 2012-02-08 Marek Polacek <polacek@redhat.com>
39697 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
39698 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
39699 * sysdeps/gnu/_G_config.h: Likewise.
39700 * sysdeps/generic/_G_config.h: Likewise.
39702 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
39704 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
39706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39708 * sysdeps/powerpc/powerpc32/crti.S: New file.
39709 * sysdeps/powerpc/powerpc32/crtn.S: New file.
39710 * sysdeps/powerpc/powerpc64/crti.S: New file.
39711 * sysdeps/powerpc/powerpc64/crtn.S: New file.
39713 * Makeconfig (have-initfini): Don't set.
39714 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
39715 * configure.in (nopic_initfini): Don't substitute.
39716 * config.h.in (HAVE_INITFINI): Don't #undef.
39717 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
39718 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
39720 2012-02-08 Joseph Myers <joseph@codesourcery.com>
39722 Support crti.S and crtn.S provided directly by architectures.
39723 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
39724 [crti.S in sysdirs] (omit-deps): Likewise.
39725 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
39726 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
39727 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
39728 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
39729 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
39730 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
39731 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
39732 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
39733 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
39734 compiler output for sysdeps/generic/initfini.c.
39735 * sysdeps/i386/elf/Makefile: Remove file.
39736 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
39738 2012-02-07 Marek Polacek <polacek@redhat.com>
39740 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
39741 * sysdeps/gnu/_G_config.h: Likewise.
39742 * sysdeps/mach/hurd/_G_config.h: Likewise.
39744 2012-02-07 Marek Polacek <polacek@redhat.com>
39746 * math/Makefile (tests): Add tst-CMPLX2.
39747 * math/tst-CMPLX2.c: New file.
39749 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
39751 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39753 * math/libm-test.inc (jn_test): Add missing L suffix.
39755 2012-02-06 Marek Polacek <polacek@redhat.com>
39757 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
39758 * sysdeps/i386/fpu/e_powf.S: Likewise.
39759 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39760 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39761 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39762 * sysdeps/i386/fpu/e_pow.S: Likewise.
39763 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39764 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39765 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39766 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39767 * sysdeps/i386/fpu/e_log2.S: Likewise.
39768 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39769 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39770 * sysdeps/i386/fpu/e_powl.S: Likewise.
39771 * sysdeps/i386/fpu/s_log1p.S: Likewise.
39772 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39773 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39774 * sysdeps/i386/fpu/e_logl.S: Likewise.
39775 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39776 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
39777 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39778 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39779 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39780 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39781 * sysdeps/i386/fpu/e_log.S: Likewise.
39782 * sysdeps/i386/fpu/s_cexp.S: Likewise.
39783 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39784 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
39785 * sysdeps/i386/fpu/e_logf.S: Likewise.
39786 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39787 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39788 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
39789 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39790 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39791 * sysdeps/i386/fpu/e_log10.S: Likewise.
39792 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39793 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39794 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39795 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39796 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39797 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39798 * sysdeps/i386/asm-syntax.h: Likewise.
39799 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39800 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39801 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39802 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
39803 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
39804 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39805 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39806 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39807 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39808 * sysdeps/powerpc/sysdep.h: Likewise.
39809 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
39810 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39812 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39815 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
39817 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39819 * sysdeps/i386/sysdep.h: Include <features.h>.
39820 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
39823 2012-02-05 Joseph Myers <joseph@codesourcery.com>
39825 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
39827 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
39830 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39832 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
39833 (SETUP_PIC_REG): Use GET_PC_THUNK.
39834 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
39837 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39839 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
39840 for non-PIC compilation.
39841 (SETUP_PIC_REG): Add .p2align directive.
39842 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
39843 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39844 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39845 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39846 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39847 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39848 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39849 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39850 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39851 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39852 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39853 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39854 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39855 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39856 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39857 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39858 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39859 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39860 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39861 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39862 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39863 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39864 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39865 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39866 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39867 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39868 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39869 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39870 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39871 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39872 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39873 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39874 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39875 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39876 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39877 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39878 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39879 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39880 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39881 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39882 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39884 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39886 * math/tst-CMPLX.c: Include <stdio.h>.
39888 2012-01-31 Joseph Myers <joseph@codesourcery.com>
39890 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
39892 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39893 * sysdeps/sparc/bits/mathdef.h: Likewise.
39895 2012-01-31 Marek Polacek <polacek@redhat.com>
39897 * libio/libio.h: Don't define _PARAMS.
39898 * locale/programs/config.h: Don't define PARAMS.
39899 * stdlib/strtol_l.c: Likewise.
39900 (__strtol_l): Remove PARAMS from the prototype.
39902 2012-01-31 Ulrich Drepper <drepper@gmail.com>
39904 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
39905 names. Just use the correct names. Remove unnecessary wrapper
39907 * malloc/arena.c: Likewise.
39908 * malloc/hooks.c: Likewise.
39910 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
39911 ARENA_TEST says not to. Simplify test for creation of a new arena.
39912 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
39914 2012-01-30 Ulrich Drepper <drepper@gmail.com>
39916 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
39918 (update_get_addr): New function.
39919 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
39920 GET_ADDR_MODULE parameter.
39922 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39924 * crypt/cert.c: Remove __STDC__ conditionals.
39925 * crypt/crypt-entry.c: Likewise.
39926 * crypt/crypt_util.c: Likewise.
39927 * libio/filedoalloc.c: Likewise.
39928 * libio/fileops.c: Likewise.
39929 * libio/genops.c: Likewise.
39930 * libio/iofclose.c: Likewise.
39931 * libio/iofdopen.c: Likewise.
39932 * libio/iofopen.c: Likewise.
39933 * libio/iofopen64.c: Likewise.
39934 * libio/iogetdelim.c: Likewise.
39935 * libio/iopopen.c: Likewise.
39936 * libio/obprintf.c: Likewise.
39937 * libio/oldfileops.c: Likewise.
39938 * libio/oldiofclose.c: Likewise.
39939 * libio/oldiofdopen.c: Likewise.
39940 * libio/oldiofopen.c: Likewise.
39941 * libio/oldiopopen.c: Likewise.
39942 * libio/wfiledoalloc.c: Likewise.
39943 * libio/wgenops.c: Likewise.
39944 * locale/programs/xmalloc.c: Likewise.
39945 * misc/syslog.c: Likewise.
39946 * stdio-common/xbug.c: Likewise.
39947 * string/memchr.c: Likewise.
39948 * string/memcmp.c: Likewise.
39949 * string/memrchr.c: Likewise.
39950 * string/rawmemchr.c: Likewise.
39951 * sysdeps/posix/getcwd.c: Likewise.
39952 * time/strftime_l.c: Likewise.
39954 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39956 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
39957 * config.make.in (config-cflags-sse2avx): Define.
39958 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
39961 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
39963 * scripts/config.guess: Update from upstream config git repository.
39964 * scripts/config.sub: Likewise.
39966 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
39968 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
39970 (R_TILEPRO_*, R_TILEGX_*): New macros.
39972 * scripts/firstversions.awk: Fix bug in version range handling.
39974 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
39976 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
39978 * include/sys/epoll.h: New file.
39979 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
39982 2012-01-28 Ulrich Drepper <drepper@gmail.com>
39984 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
39985 Avoid unnecessary __WORDSIZE == 64 test.
39986 (fmaxf): Use VEX format if possible.
39991 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
39992 * math/math_private.h: Remove libc_fegetround* and
39994 * sysdeps/i386/configure.in: Check for -msse2avx.
39995 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
39996 also if SSE2AVX is defined.
39997 Remove libc_fegetround* and libc_fesetround*.
39998 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
39999 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
40000 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40002 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40003 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40004 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40005 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40006 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40008 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40010 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40012 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40014 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40016 2012-01-27 Ulrich Drepper <drepper@gmail.com>
40019 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40021 * Makeconfig (libm): Define.
40022 * elf/Makefile: Add rules to build and run tst-relsort1.
40023 * elf/tst-relsort1.c: New file.
40024 * elf/tst-relsort1mod1.c: New file.
40025 * elf/tst-relsort1mod2.c: New file.
40027 2012-01-27 Joseph Myers <joseph@codesourcery.com>
40029 * math/s_ldexp.c: Remove __STDC__ conditionals.
40030 * math/s_ldexpf.c: Likewise.
40031 * math/s_ldexpl.c: Likewise.
40032 * math/s_nextafter.c: Likewise.
40033 * math/s_nexttowardf.c: Likewise.
40034 * math/s_significand.c: Likewise.
40035 * math/s_significandf.c: Likewise.
40036 * math/s_significandl.c: Likewise.
40037 * math/w_jnl.c: Likewise.
40038 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40039 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40040 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40041 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40042 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40043 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40044 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40045 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40046 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40047 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40048 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40049 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40050 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40051 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40052 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40053 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40054 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40055 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40056 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40057 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40058 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40059 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40060 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40061 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40062 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40063 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40064 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40065 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40066 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40067 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40068 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40069 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40070 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40071 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40072 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40073 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40074 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40075 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40076 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40077 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40078 * sysdeps/ieee754/k_standard.c: Likewise.
40079 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40080 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40081 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40082 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40083 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40084 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40085 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40086 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40087 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40088 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40089 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40090 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40091 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40092 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40093 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40094 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40095 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40096 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40097 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40098 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40099 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40100 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40101 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40102 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40103 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40104 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40105 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40106 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40107 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40108 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40109 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40110 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
40111 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40112 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40113 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40114 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40115 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
40116 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40117 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40118 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
40119 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
40120 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40121 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40122 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
40123 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40124 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40125 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40126 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40127 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40128 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40129 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
40130 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40131 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40132 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40133 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40134 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40135 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
40136 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40137 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40138 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40139 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40140 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40141 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40142 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40143 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40144 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40145 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40146 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40147 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40148 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40149 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40150 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40151 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40152 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40153 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40154 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40155 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40156 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40157 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40158 * sysdeps/ieee754/s_matherr.c: Likewise.
40159 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40160 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40161 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40162 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40164 2012-01-26 Joseph Myers <joseph@codesourcery.com>
40166 * crypt/md5.h: Remove __STDC__ conditionals.
40167 * libio/libioP.h: Likewise.
40168 * locale/programs/config.h: Likewise.
40169 * sysdeps/generic/sysdep.h: Likewise.
40170 * sysdeps/i386/asm-syntax.h: Likewise.
40171 * sysdeps/s390/asm-syntax.h: Likewise.
40172 * sysdeps/unix/sysdep.h: Likewise.
40173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40176 2012-01-26 Joseph Myers <joseph@codesourcery.com>
40178 * libio/libio.h: Remove __STDC__ conditionals.
40179 * malloc/obstack.h: Likewise.
40180 * math/complex.h: Likewise.
40181 * math/math.h: Likewise.
40182 * sysdeps/generic/_G_config.h: Likewise.
40183 * sysdeps/gnu/_G_config.h: Likewise.
40184 * sysdeps/mach/hurd/_G_config.h: Likewise.
40185 * sysdeps/powerpc/bits/mathdef.h: Likewise.
40186 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40187 * sysdeps/sparc/bits/mathdef.h: Likewise.
40189 2012-01-26 Ulrich Drepper <drepper@gmail.com>
40192 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
40193 Clean up HAS_* macros.
40194 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
40195 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
40197 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
40199 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40200 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40201 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40202 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40203 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40205 2012-01-25 Joseph Myers <joseph@codesourcery.com>
40207 * elf/tst-unique3.cc (gets): Remove declaration.
40208 * elf/tst-unique3lib.cc (gets): Likewise.
40209 * elf/tst-unique3lib2.cc (gets): Likewise.
40210 * elf/tst-unique4.cc (gets): Likewise.
40212 2012-01-24 Ulrich Drepper <drepper@gmail.com>
40214 * include/stdio.h: Add C++ protection. Add gets declarations and
40216 * debug/tst-chk1.c: Don't declare gets here.
40217 * stdio-common/tst-gets.c: Likewise.
40219 2012-01-24 Joseph Myers <joseph@codesourcery.com>
40221 * posix/glob: Remove directory.
40223 2012-01-24 Joseph Myers <joseph@codesourcery.com>
40225 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
40227 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
40229 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
40230 of the non-standard EPFNOSUPPORT.
40232 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
40234 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
40235 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
40236 ANYWHERE set to 1 only on KERN_NO_SPACE error.
40238 2012-01-21 Ulrich Drepper <drepper@gmail.com>
40240 * wcsmbs/uchar.h: Test __STDC_VERSION__.
40242 2012-01-20 Ulrich Drepper <drepper@gmail.com>
40244 * nscd/aicache.c (addhstaiX): Do not cache negative results of
40246 * nscd/grpcache.c (cache_addgr): Likewise.
40247 * nscd/hstcache.c (cache_addhst): Likewise.
40248 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40249 * nscd/pwdcache.c (cache_addpw): Likewise.
40250 * nscd/servicescache.c (cache_addserv): Likewise.
40252 2012-01-16 Ulrich Drepper <drepper@gmail.com>
40254 * malloc/malloc.c: Various cleanups.
40255 * malloc/hooks.c: Likewise.
40257 * stdlib/Makefile (tests): Add bug-fmtmsg1.
40258 * stdlib/bug-fmtmsg1.c: New file.
40260 * stdlib/fmtmsg.c (init): Add missing unlock.
40261 Patch by Peng Haitao <penght@cn.fujitsu.com>.
40263 2012-01-12 Marek Polacek <polacek@redhat.com>
40265 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
40268 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40270 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
40271 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
40272 macro to ensure uniqueness of label name.
40273 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40274 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40276 2012-01-11 Ulrich Drepper <drepper@gmail.com>
40278 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
40280 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
40281 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40282 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40283 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
40285 2012-01-10 Ulrich Drepper <drepper@gmail.com>
40287 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
40289 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
40290 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40291 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40293 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
40295 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
40296 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40297 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40298 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
40300 * math/bits/math-finite.h: Add ldexp support.
40302 2012-01-10 Marek Polacek <polacek@redhat.com>
40304 * locale/programs/localedef.h (show_archive_content): Add noreturn
40307 2012-01-09 Ulrich Drepper <drepper@gmail.com>
40309 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
40311 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40313 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
40315 * io/Makefile (headers): Add bits/poll2.h.
40317 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
40319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
40320 typo #include statement.
40322 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40324 * include/sys/cdefs.h: Define __attribute_alloc_size.
40325 * catgets/gencat.c: Add alloc_size attribute and apply consistently
40326 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
40327 * elf/pldd.c: Likewise.
40328 * iconv/iconv_charmap.c: Likewise.
40329 * iconv/iconvconfig.c: Likewise.
40330 * iconv/strtab.c: Likewise.
40331 * locale/programs/locale.c: Likewise.
40332 * locale/programs/localedef.h: Likewise.
40333 * locale/programs/simple-hash.c: Likewise.
40334 * nscd/nscd.h: Likewise.
40335 * nss/makedb.c: Likewise.
40336 * sysdeps/generic/ldconfig.h: Likewise.
40337 * locale/programs/localedef.c: Remove xmalloc prototype.
40338 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
40340 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40342 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
40345 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40347 * math/Makefile (tests): Add tst-CMPLX.
40348 * math/tst-CMPLX.c: New file.
40350 * math/complex.h (CMPLXL): Fix typo.
40352 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
40353 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
40355 * debug/tst-chk1.c: Add poll and ppoll tests.
40356 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
40357 * include/sys/poll.h: Add hidden proto for ppoll.
40358 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
40359 * sysdeps/mach/hurd/ppoll.c: Likewise.
40360 * io/ppoll.c: Likewise.
40361 * debug/poll_chk.c: New file.
40362 * debug/ppoll_chk.c: New file.
40363 * include/bits/poll2.h: New file.
40364 * io/bits/poll2.h: New file.
40367 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
40369 * configure.in: static is always set to yes. Remove.
40370 * config.make.in: Don't set build-static.
40371 * Makeconfig: Remove use of build-static.
40372 * dlfcn/Makefile: Likewise.
40373 * elf/Makefile: Likewise.
40374 * math/Makefile: Likewise.
40375 * misc/Makefile: Likewise.
40376 * nptl/Makefile: Likewise.
40377 * sysdeps/mach/hurd/Makefile: Likewise.
40379 * configure.in: PWD_P is not used anymore.
40380 * config.make.in: Remove PWD_P entry.
40382 * configure.in: Remove last remnants of RANLIB.
40383 No need to check for signed size_t anymore.
40384 Don't set libc_commonpagesize and libc_relro_required here for Alpha
40386 Remove __builtin_expect test because we require at least gcc 3.4.
40387 * aclocal.m4: Likewise.
40389 * wcsmbs/mbrtoc16.c: Implement using towc function.
40390 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
40391 * wcsmbs/wcsmbsload.c: Likewise.
40392 * iconv/gconv_simple.c: Likewise.
40393 * iconv/gconv_int.h: Likewise.
40394 * iconv/gconv_builtin.h: Likewise.
40395 * iconv/iconv_prog.c: Remove CHAR16 handling.
40397 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
40399 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
40401 * configure.in: Remove --with-elf and --enable-bounded options.
40402 Dont set base_machine for ia64. More non-ELF conditions removed.
40403 Remove testing and setting of leading underscore information.
40404 * config.make.in (build-bounded): Set to no.
40405 * config.h.in: Remove NO_UNDERSCORES entry.
40406 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
40408 * csu/start.c: Remove !NO_UNDERSCORE code.
40409 * locale/localeinfo.h: Likewise.
40410 * sysdeps/generic/machine-gmon.h: Likewise.
40411 * sysdeps/generic/sysdep.h: Likewise.
40412 * sysdeps/i386/sysdep.h: Likewise.
40413 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40414 * sysdeps/mach/sysdep.h: Likewise.
40415 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40416 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40417 * sysdeps/sh/sysdep.h: Likewise.
40418 * sysdeps/sparc/sparc32/alloca.S: Likewise.
40419 * sysdeps/unix/i386/sysdep.S: Likewise.
40420 * sysdeps/unix/sparc/start.c: Likewise.
40421 * sysdeps/unix/sparc/sysdep.S: Likewise.
40422 * sysdeps/unix/sparc/sysdep.h: Likewise.
40423 * sysdeps/unix/start.c: Likewise.
40424 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40425 * sysdeps/x86_64/sysdep.h: Likewise.
40427 2012-01-07 Ulrich Drepper <drepper@gmail.com>
40430 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
40432 * argp/argp-fmtstream.h: Use const instead __const.
40433 * argp/argp.h: Likewise.
40434 * assert/assert.h: Likewise.
40435 * bits/fenv.h: Likewise.
40436 * bits/sched.h: Likewise.
40437 * bits/sigset.h: Likewise.
40438 * bits/sigthread.h: Likewise.
40439 * catgets/nl_types.h: Likewise.
40440 * conform/data/pthread.h-data: Likewise.
40441 * crypt/crypt-private.h: Likewise.
40442 * crypt/crypt.h: Likewise.
40443 * crypt/crypt_util.c: Likewise.
40444 * ctype/ctype.h: Likewise.
40445 * debug/execinfo.h: Likewise.
40446 * debug/mbsnrtowcs_chk.c: Likewise.
40447 * debug/mbsrtowcs_chk.c: Likewise.
40448 * debug/wcsnrtombs_chk.c: Likewise.
40449 * debug/wcsrtombs_chk.c: Likewise.
40450 * debug/wcstombs_chk.c: Likewise.
40451 * dirent/dirent.h: Likewise.
40452 * dlfcn/dlfcn.h: Likewise.
40453 * elf/neededtest4.c: Likewise.
40454 * grp/grp.h: Likewise.
40455 * gshadow/gshadow.h: Likewise.
40456 * iconv/gconv.h: Likewise.
40457 * iconv/gconv_int.h: Likewise.
40458 * iconv/gconv_simple.c: Likewise.
40459 * iconv/iconv.h: Likewise.
40460 * iconv/loop.c: Likewise.
40461 * iconv/skeleton.c: Likewise.
40462 * include/aio.h: Likewise.
40463 * include/aliases.h: Likewise.
40464 * include/argz.h: Likewise.
40465 * include/arpa/inet.h: Likewise.
40466 * include/assert.h: Likewise.
40467 * include/dirent.h: Likewise.
40468 * include/dlfcn.h: Likewise.
40469 * include/execinfo.h: Likewise.
40470 * include/fcntl.h: Likewise.
40471 * include/fenv.h: Likewise.
40472 * include/glob.h: Likewise.
40473 * include/grp.h: Likewise.
40474 * include/libintl.h: Likewise.
40475 * include/mntent.h: Likewise.
40476 * include/netdb.h: Likewise.
40477 * include/pwd.h: Likewise.
40478 * include/rpc/netdb.h: Likewise.
40479 * include/sched.h: Likewise.
40480 * include/search.h: Likewise.
40481 * include/shadow.h: Likewise.
40482 * include/signal.h: Likewise.
40483 * include/stdio.h: Likewise.
40484 * include/stdlib.h: Likewise.
40485 * include/string.h: Likewise.
40486 * include/sys/socket.h: Likewise.
40487 * include/sys/stat.h: Likewise.
40488 * include/sys/statfs.h: Likewise.
40489 * include/sys/statvfs.h: Likewise.
40490 * include/sys/syslog.h: Likewise.
40491 * include/sys/time.h: Likewise.
40492 * include/sys/uio.h: Likewise.
40493 * include/time.h: Likewise.
40494 * include/unistd.h: Likewise.
40495 * include/utmp.h: Likewise.
40496 * include/wchar.h: Likewise.
40497 * include/wctype.h: Likewise.
40498 * inet/aliases.h: Likewise.
40499 * inet/arpa/inet.h: Likewise.
40500 * inet/netinet/ether.h: Likewise.
40501 * inet/netinet/in.h: Likewise.
40502 * intl/libintl.h: Likewise.
40503 * io/bits/fcntl2.h: Likewise.
40504 * io/fcntl.h: Likewise.
40505 * io/ftw.h: Likewise.
40506 * io/sys/poll.h: Likewise.
40507 * io/sys/stat.h: Likewise.
40508 * io/sys/statfs.h: Likewise.
40509 * io/sys/statvfs.h: Likewise.
40510 * io/utime.h: Likewise.
40511 * libio/bits/stdio.h: Likewise.
40512 * libio/bits/stdio2.h: Likewise.
40513 * libio/libio.h: Likewise.
40514 * libio/libioP.h: Likewise.
40515 * libio/stdio.h: Likewise.
40516 * locale/lc-ctype.c: Likewise.
40517 * locale/locale.h: Likewise.
40518 * login/utmp.h: Likewise.
40519 * malloc/arena.c: Likewise.
40520 * malloc/malloc.c: Likewise.
40521 * malloc/malloc.h: Likewise.
40522 * malloc/mcheck.c: Likewise.
40523 * malloc/mtrace.c: Likewise.
40524 * math/bits/mathcalls.h: Likewise.
40525 * math/fenv.h: Likewise.
40526 * math/math_private.h: Likewise.
40527 * misc/bits/error.h: Likewise.
40528 * misc/bits/syslog.h: Likewise.
40529 * misc/err.h: Likewise.
40530 * misc/error.h: Likewise.
40531 * misc/fstab.h: Likewise.
40532 * misc/mntent.h: Likewise.
40533 * misc/regexp.h: Likewise.
40534 * misc/search.h: Likewise.
40535 * misc/sgtty.h: Likewise.
40536 * misc/sys/mman.h: Likewise.
40537 * misc/sys/syslog.h: Likewise.
40538 * misc/sys/uio.h: Likewise.
40539 * misc/sys/xattr.h: Likewise.
40540 * misc/ttyent.h: Likewise.
40541 * nis/rpcsvc/ypclnt.h: Likewise.
40542 * nss/nss.h: Likewise.
40543 * posix/bits/unistd.h: Likewise.
40544 * posix/fnmatch.h: Likewise.
40545 * posix/glob.h: Likewise.
40546 * posix/sched.h: Likewise.
40547 * posix/spawn.h: Likewise.
40548 * posix/sys/wait.h: Likewise.
40549 * posix/unistd.h: Likewise.
40550 * posix/wordexp.h: Likewise.
40551 * pwd/pwd.h: Likewise.
40552 * resolv/netdb.h: Likewise.
40553 * resource/sys/resource.h: Likewise.
40554 * rt/aio.h: Likewise.
40555 * rt/bits/mqueue2.h: Likewise.
40556 * rt/mqueue.h: Likewise.
40557 * shadow/shadow.h: Likewise.
40558 * signal/signal.h: Likewise.
40559 * socket/send.c: Likewise.
40560 * socket/sendto.c: Likewise.
40561 * socket/sys/socket.h: Likewise.
40562 * stdio-common/printf.h: Likewise.
40563 * stdlib/bits/stdlib.h: Likewise.
40564 * stdlib/fmtmsg.h: Likewise.
40565 * stdlib/monetary.h: Likewise.
40566 * stdlib/stdlib.h: Likewise.
40567 * stdlib/ucontext.h: Likewise.
40568 * streams/stropts.h: Likewise.
40569 * string/argz.h: Likewise.
40570 * string/bits/string2.h: Likewise.
40571 * string/string.h: Likewise.
40572 * string/strings.h: Likewise.
40573 * sunrpc/rpc/auth.h: Likewise.
40574 * sunrpc/rpc/auth_des.h: Likewise.
40575 * sunrpc/rpc/clnt.h: Likewise.
40576 * sunrpc/rpc/netdb.h: Likewise.
40577 * sunrpc/rpc/pmap_clnt.h: Likewise.
40578 * sunrpc/rpc/xdr.h: Likewise.
40579 * sysdeps/generic/inttypes.h: Likewise.
40580 * sysdeps/generic/net/if.h: Likewise.
40581 * sysdeps/generic/sys/swap.h: Likewise.
40582 * sysdeps/gnu/net/if.h: Likewise.
40583 * sysdeps/gnu/utmpx.h: Likewise.
40584 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
40585 * sysdeps/i386/i486/bits/string.h: Likewise.
40586 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
40587 * sysdeps/s390/bits/string.h: Likewise.
40588 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
40589 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
40590 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
40591 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
40592 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
40593 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
40594 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
40595 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
40596 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
40597 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
40598 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
40599 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
40600 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
40601 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
40602 * sysdeps/unix/sysv/linux/readv.c: Likewise.
40603 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
40604 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40605 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40606 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
40607 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
40608 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40609 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
40610 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
40611 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
40612 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
40613 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
40614 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
40615 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40616 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
40617 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
40618 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
40619 * sysvipc/sys/ipc.h: Likewise.
40620 * sysvipc/sys/msg.h: Likewise.
40621 * sysvipc/sys/sem.h: Likewise.
40622 * sysvipc/sys/shm.h: Likewise.
40623 * termios/termios.h: Likewise.
40624 * time/sys/time.h: Likewise.
40625 * time/time.h: Likewise.
40626 * wcsmbs/bits/wchar2.h: Likewise.
40627 * wcsmbs/uchar.h: Likewise.
40628 * wcsmbs/wchar.h: Likewise.
40629 * wctype/wctype.h: Likewise.
40632 * Makeconfig: Remove all but ELF support including AIX support.
40633 * Makerules: Likewise.
40634 * config.h.in: Likewise.
40635 * config.make.in: Likewise.
40636 * configure: Likewise.
40637 * configure.in: Likewise.
40638 * csu/Makefile: Likewise.
40639 * csu/version.c: Likewise.
40640 * debug/Makefile: Likewise.
40641 * dlfcn/Makefile: Likewise.
40642 * elf/Makefile: Likewise.
40643 * extra-lib.mk: Likewise.
40644 * iconv/Makefile: Likewise.
40645 * include/libc-symbols.h: Likewise.
40646 * include/shlib-compat.h: Likewise.
40647 * resolv/Makefile: Likewise.
40648 * resolv/res_libc.c: Likewise.
40649 * rt/Makefile: Likewise.
40650 * sysdeps/i386/asm-syntax.h: Likewise.
40651 * sysdeps/i386/sysdep.h: Likewise.
40652 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40653 * sysdeps/mach/sysdep.h: Likewise.
40654 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
40655 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
40656 * sysdeps/s390/asm-syntax.h: Likewise.
40657 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40658 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40659 * sysdeps/sh/sysdep.h: Likewise.
40660 * sysdeps/unix/sparc/sysdep.h: Likewise.
40661 * sysdeps/wordsize-32/divdi3.c: Likewise.
40662 * sysdeps/x86_64/sysdep.h: Likewise.
40664 * argp/Versions: Remove _argp_unlock_xxx.
40667 * abilist/ld.abilist: Update. Adjust for removal of tls option.
40668 * abilist/libBrokenLocale.abilist: Likewise.
40669 * abilist/libanl.abilist: Likewise.
40670 * abilist/libc.abilist: Likewise.
40671 * abilist/libcrypt.abilist: Likewise.
40672 * abilist/libdl.abilist: Likewise.
40673 * abilist/libm.abilist: Likewise.
40674 * abilist/libnsl.abilist: Likewise.
40675 * abilist/libpthread.abilist: Likewise.
40676 * abilist/libresolv.abilist: Likewise.
40677 * abilist/librt.abilist: Likewise.
40678 * abilist/libthread_db.abilist: Likewise.
40679 * abilist/libutil.abilist: Likewise.
40680 * abilist/libnss_db.abilist: New file.
40682 * scripts/abilist.awk: Add support for indirect functions.
40684 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
40686 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
40688 * shlib-versions: Remove entries for ports architectures.
40690 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
40692 * elf/stackguard-macros.h: Remove support for IA-64.
40693 * elf/tst-auditmod1.c: Likewise.
40694 * sysdeps/generic/ldsodefs.h: Likewise.
40696 * sysdeps/unix/sysv/linux/configure.in: Ports should define
40697 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
40701 * configure.in: Remove --enable-omitfp support.
40703 * config.make.in: Likewise.
40704 * Makeconfig: Likewise.
40705 * manual/install.texi: Likewise.
40707 In case anyone cares, the IA-64 architecture could move to ports.
40708 * sysdeps/ia64/*: Removed.
40709 * sysdeps/unix/sysv/linux/ia64/*: Removed.
40710 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
40713 * configure.in: Remove entries for unsupported architectures.
40716 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
40717 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
40719 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
40720 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
40721 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
40722 fall back to using wcrtomb.
40723 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
40724 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
40726 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
40727 * wcsmbs/tst-c16c32-1.c: New file.
40729 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
40732 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
40734 * elf/tst-unique3.cc: Add explicit declaration of gets.
40735 * elf/tst-unique3lib.cc: Likewise.
40736 * elf/tst-unique3lib2.cc: Likewise.
40737 * elf/tst-unique4.cc: Likewise.
40739 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
40741 2012-01-06 Joseph Myers <joseph@codesourcery.com>
40744 * assert/assert.h (static_assert): Don't define for C++.
40745 * libio/stdio.h (gets): Do declare for C++ <= C++11.
40746 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
40748 2012-01-03 Ulrich Drepper <drepper@gmail.com>
40750 * iconv/loop.c (single loop): Fix assertion in storing of
40753 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
40755 2012-01-01 Ulrich Drepper <drepper@gmail.com>
40757 * posix/getconf.c: Update copyright year.
40758 * nss/getent.c: Likewise.
40759 * nss/makedb.c: Likewise.
40760 * iconv/iconvconfig.c: Likewise.
40761 * iconv/iconv_prog.c: Likewise.
40762 * elf/ldconfig.c: Likewise.
40763 * elf/pldd.c: Likewise.
40764 * elf/sotruss.ksh: Likewise.
40765 * catgets/gencat.c: Likewise.
40766 * csu/version.c: Likewise.
40767 * elf/ldd.bash.in: Likewise.
40768 * elf/sprof.c (print_version): Likewise.
40769 * locale/programs/locale.c: Likewise.
40770 * locale/programs/localedef.c: Likewise.
40771 * login/programs/pt_chown.c: Likewise.
40772 * nscd/nscd.c (print_version): Likewise.
40773 * debug/xtrace.sh: Likewise.
40774 * malloc/memusage.sh: Likewise.
40775 * malloc/mtrace.pl: Likewise.
40776 * debug/catchsegv.sh: Likewise.
40778 2011-12-30 Jakub Jelinek <jakub@redhat.com>
40780 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
40783 2011-12-24 Ulrich Drepper <drepper@gmail.com>
40786 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
40787 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
40789 * iconv/gconv_int.h: Likewise.
40790 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
40791 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
40792 from libc for GLIBC_2.16.
40793 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
40794 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
40795 * wcsmbs/uchar.h: Really define mbstate_t.
40796 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
40797 * wcsmbs/c16rtomb.c: New file.
40798 * wcsmbs/mbrtoc16.c: New file.
40799 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
40800 for C/POSIX locale.
40801 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
40802 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
40804 * wcsmbs/wchar.h: Add missing __restrict.
40806 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40809 * time/Makefile (routines): Add timespec_get.
40810 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
40811 * time/time.h: Define TIME_UTC and declare timespec_get. Define
40812 timespec for ISO C11.
40813 * time/timespec_get.c: New file.
40814 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
40815 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
40818 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
40819 * stdlib/stdlib.h: Declare aligned_alloc.
40820 * Versions.def: Add GLIBC_2.16 for libc.
40821 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
40824 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
40827 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
40831 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
40834 * assert/assert.h (static_assert): Define.
40836 * version.h: Update for 2.16 development version.
40839 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
40842 * version.h (RELEASE): Bump for 2.15 release.
40843 * include/features.h (__GLIBC_MINOR__): Bump to 15.
40845 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
40846 Patch by Marek Polacek <mpolacek@redhat.com>.
40848 * bits/byteswap.h: Protect long long constants with __extension__.
40849 * sysdeps/i386/bits/byteswap.h: Likewise.
40850 * sysdeps/ia64/bits/byteswap.h: Likewise.
40851 * sysdeps/s390/bits/byteswap.h: Likewise.
40852 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40854 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40857 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
40858 destination buffer.
40859 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40861 2011-12-23 Marek Polacek <polacek@redhat.com>
40863 * elf/dl-addr.c (determine_info): Add inline keyword.
40864 * elf/tst-auditmod4b.c (check_avx): Likewise.
40865 * elf/tst-auditmod6b.c (check_avx): Likewise.
40866 * elf/tst-auditmod6c.c (check_avx): Likewise.
40867 * elf/tst-auditmod7b.c (check_avx): Likewise.
40869 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40871 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
40874 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40877 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
40878 processing for last bytes.
40880 2011-08-06 Bruno Haible <bruno@clisp.org>
40883 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
40884 U+0385, not to U+1FEE.
40887 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
40888 entry for U+00A5 U+0301.
40890 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40893 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
40894 buffer for the output is too small.
40896 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
40900 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
40901 SSE flags if possible.
40903 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40906 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
40907 processing for last bytes.
40909 2011-12-22 Joseph Myers <joseph@codesourcery.com>
40911 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
40912 (syscall-list-default-options, syscall-list-default-condition)
40913 (syscall-list-includes): Define.
40914 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
40915 list of ABIs and options and #if conditions for each ABI. Do not
40916 handle common syscalls between ABIs specially.
40917 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
40919 (syscall-list-variants, syscall-list-32bit-options)
40920 (syscall-list-32bit-condition, syscall-list-64bit-options)
40921 (syscall-list-64bit-condition): Define.
40922 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
40923 (syscall-list-variants, syscall-list-32bit-options)
40924 (syscall-list-32bit-condition, syscall-list-64bit-options)
40925 (syscall-list-64bit-condition): Define.
40926 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
40928 (syscall-list-variants, syscall-list-32bit-options)
40929 (syscall-list-32bit-condition, syscall-list-64bit-options)
40930 (syscall-list-64bit-condition): Define.
40931 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
40933 (syscall-list-variants, syscall-list-32bit-options)
40934 (syscall-list-32bit-condition, syscall-list-64bit-options)
40935 (syscall-list-64bit-condition): Define.
40937 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40939 * locale/iso-639.def: Add brx entry.
40942 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
40943 Proposed by Mariusz_Cukr <marcukr@op.pl>.
40945 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
40946 __feraiseexcept_renamed.
40948 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40951 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
40952 EPOLLET with unsigned values.
40953 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40954 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40956 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
40957 to large cancellation.
40958 * math/s_cacoshf.c: Likewise.
40959 * math/s_cacoshl.c: Likewise.
40961 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
40965 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
40966 * math/s_cacoshf.c: Likewise.
40967 * math/s_cacoshl.c: Likewise.
40969 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40972 * iconv/gconv.h: Define __GCONV_SWAP.
40973 * iconvdata/unicode.c: The swap bit must be stored in __flags.
40974 * iconvdata/utf-16.c: Likewise.
40975 * iconvdata/utf-32.c: Likewise.
40977 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
40980 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
40981 numerator after shifting it by one limb.
40983 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
40985 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
40986 under [__USE_EXTERN_INLINES].
40988 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40991 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
40993 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40995 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
40996 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
40998 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
40999 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41000 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41001 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41002 for strncasecmp/strncasecmp_l compilation.
41003 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41004 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41006 2011-12-08 Marek Polacek <mpolacek@redhat.com>
41009 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41012 2011-12-17 Ulrich Drepper <drepper@gmail.com>
41015 * time/tzfile.c (__tzfile_read): Check values from file header.
41017 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
41019 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41020 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41021 * powerpc/powerpc32/dl-start.S: Likewise.
41022 * powerpc/powerpc32/elf/start.S: Likewise.
41023 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41024 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41025 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41026 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41027 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41028 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41029 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41030 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41031 * powerpc/powerpc32/fpu/s_round.S: Likewise.
41032 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41033 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41034 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41035 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41036 * powerpc/powerpc32/memset.S: Likewise.
41037 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41038 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41039 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41040 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41041 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41042 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41043 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41044 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41045 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41046 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41047 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41048 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41049 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41051 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41053 * math/libm-test.inc: Added more nearbyint tests.
41054 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41055 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41056 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41057 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41059 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
41061 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41064 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41066 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41067 Add wcscpy-ssse3 wcscpy-c.
41068 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41069 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41070 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41071 * sysdeps/x86_64/wcschr.S: New file.
41072 * sysdeps/x86_64/wcsrchr.S: New file.
41073 * string/test-strcmp.c: Remove checking of wcscmp function for
41075 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41076 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41077 wcsrchr-sse2 wcsrchr-c.
41078 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41079 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41080 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41081 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41082 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41083 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41084 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41085 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41086 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41087 * wcsmbc/wcschr.c (WCSCHR): New macro.
41089 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41091 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41092 * wcsmbs/test-wcsrchr.c: New file.
41093 * string/test-strrchr.c: Add wcsrchr support.
41095 * wcsmbs/test-wcscpy.c: New file.
41096 * string/test-strcpy.c: Add wcscpy support.
41099 2011-12-10 Ulrich Drepper <drepper@gmail.com>
41101 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
41104 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
41107 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
41109 2011-12-04 Ulrich Drepper <drepper@gmail.com>
41111 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
41112 Minor optimizations.
41114 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
41115 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
41116 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
41118 2011-12-03 Ulrich Drepper <drepper@gmail.com>
41120 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
41121 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
41122 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
41123 for gcc to avoid warnings.
41124 * inet/Makefile (tests): Add tst-checks.
41125 * inet/tst-checks.c: New file.
41127 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
41130 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
41133 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
41134 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
41136 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
41138 2011-12-02 Ulrich Drepper <drepper@gmail.com>
41140 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
41143 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
41145 2011-11-29 Joseph Myers <joseph@codesourcery.com>
41147 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
41148 conditional on GCC version.
41149 (__arch_compare_and_exchange_val_8_acq)
41150 (__arch_compare_and_exchange_val_16_acq)
41151 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
41152 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
41153 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
41155 2011-12-02 Joseph Myers <joseph@codesourcery.com>
41157 * sysdeps/sh/backtrace.c: New file.
41159 2011-12-02 Andreas Schwab <schwab@redhat.com>
41161 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
41164 2011-12-01 Andreas Schwab <schwab@redhat.com>
41166 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
41167 falling back to utime.
41169 2011-11-30 Andreas Schwab <schwab@redhat.com>
41171 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
41172 expectations for float.
41174 2011-11-29 Andreas Schwab <schwab@redhat.com>
41176 * locale/weight.h (findidx): Add parameter len.
41177 * locale/weightwc.h (findidx): Likewise.
41178 * posix/fnmatch_loop.c (FCT): Adjust caller.
41179 * posix/regcomp.c (build_equiv_class): Likewise.
41180 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
41181 * posix/regexec.c (check_node_accept_bytes): Likewise.
41182 * string/strcoll_l.c (STRCOLL): Likewise.
41183 * string/strxfrm_l.c (STRXFRM): Likewise.
41185 2011-11-17 Ulrich Drepper <drepper@gmail.com>
41187 * Makefile.in: Remove CVSOPT handling.
41188 * configure.in: Remove use of AC_REVISION.
41189 * iconvdata/Makefile (distribute): No need to filter out CVS.
41190 * scripts/list-sources.sh: Remove CVS, subversion and monotone
41193 2011-11-16 Andreas Schwab <schwab@redhat.com>
41195 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
41196 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
41197 [USE_AS_STRNCASECMP_L]: Likewise.
41198 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
41199 NO_TLS_DIRECT_SEG_REFS.
41200 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
41201 Fix argument offsets for non-PIC.
41202 [USE_AS_STRNCASECMP_L]: Likewise.
41203 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
41204 NO_TLS_DIRECT_SEG_REFS.
41206 2011-11-15 Ulrich Drepper <drepper@gmail.com>
41208 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
41210 * locale/loadlocale.c (_nl_load_locale): Likewise.
41212 2011-11-15 Andreas Schwab <schwab@redhat.com>
41214 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
41215 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
41216 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
41217 (SYSCALL_GETTIME): Set errno on error.
41219 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
41220 count references to noai6ai_cached.
41222 2011-11-15 Ulrich Drepper <drepper@gmail.com>
41224 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
41226 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
41227 FD_CLOEXEC for /proc/self/maps.
41229 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
41230 FD_CLOEXEC for /proc/meminfo.
41232 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
41235 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
41236 FD_CLOEXEC for given file.
41238 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
41240 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
41241 FD_CLOEXEC for /etc/hosts.
41242 (_gethtent): Likewise.
41244 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
41246 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
41247 cancellation and set FD_CLOEXEC for /etc/netgroup.
41249 * nss/nss_files/files-key.c (search): Don't allow cancellation when
41250 reading /etc/publickey.
41252 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
41253 allow cancellation when reading /etc/group.
41255 * nss/nss_files/files-alias.c (internal_setent): Don't allow
41257 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
41259 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
41260 when using data file.
41262 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
41264 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
41265 (write_nis_obj): Use "c" and "e" in fopen.
41267 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
41269 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
41271 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
41273 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
41275 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
41278 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
41280 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
41282 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
41284 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
41285 file parsing and set FD_CLOEXEC.
41287 2011-11-14 Ulrich Drepper <drepper@gmail.com>
41289 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
41291 2011-11-14 Andreas Schwab <schwab@redhat.com>
41293 * malloc/arena.c (arena_get2): Don't call reused_arena when
41294 _int_new_arena failed.
41296 2011-11-14 Ulrich Drepper <drepper@gmail.com>
41298 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
41299 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
41300 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
41301 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41302 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41303 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
41304 to compile strcasecmp and strncasecmp.
41305 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
41306 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
41308 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
41310 2011-11-13 Ulrich Drepper <drepper@gmail.com>
41312 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
41313 locale-defines.sym to gen-as-const-headers.
41314 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
41315 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
41316 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
41317 to compile strcasecmp and strncasecmp.
41318 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
41319 strcasecmp_l and strncasecmp_l.
41320 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
41321 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
41322 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
41323 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
41324 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
41325 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
41326 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
41327 * sysdeps/i386/i686/multiarch/strncase.S: New file.
41328 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
41329 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
41330 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
41332 2011-11-12 Ulrich Drepper <drepper@gmail.com>
41334 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
41335 result of SYSDEP_GETTIME_CPU to retval.
41336 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
41337 parameter list to macro. Remove trailing semicolon. Adjust users.
41339 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
41342 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
41344 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
41346 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
41347 from unused variable.
41349 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
41351 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
41354 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
41357 * sunrpc/rpc_prot.c (rejected): Fix case value.
41359 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
41360 unsigned long long int to avoid warnings in shift.
41362 * posix/regex_internal.c (re_string_reconstruct): Actually use result
41364 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
41367 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
41368 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41369 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41371 * nis/nis_table.c (nis_list): Use variable of correct type for
41372 result of __follow_path call.
41374 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41376 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
41377 of math functions ceil, trunc, floor, round, and sqrt, when
41378 avaliable on the platform.
41379 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
41381 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41382 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41383 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41385 2011-10-30 Marek Polacek <mpolacek@redhat.com>
41387 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
41388 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41390 2011-11-11 Roland McGrath <roland@hack.frob.com>
41392 * include/unistd.h: Fix __readlink return type.
41393 Reported by Chris Metcalf <cmetcalf@tilera.com>.
41395 2011-11-11 Ulrich Drepper <drepper@gmail.com>
41397 * stdlib/ucontext.h: Undo last change for makecontext.
41399 2011-11-11 Andreas Schwab <schwab@redhat.com>
41401 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
41403 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
41404 * setjmp/setjmp.h: Mark functions as non-leaf.
41405 * setjmp/bits/setjmp2.h: Likewise.
41406 * stdlib/ucontext.h: Likewise.
41408 2011-11-10 Andreas Schwab <schwab@redhat.com>
41410 * malloc/arena.c (_int_new_arena): Don't increment narenas.
41411 (reused_arena): Don't check arena limit.
41412 (arena_get2): Atomically check arena limit.
41414 2011-11-08 Ulrich Drepper <drepper@gmail.com>
41416 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
41417 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
41419 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
41422 2011-11-07 Andreas Schwab <schwab@redhat.com>
41424 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
41425 handler when locking.
41427 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41428 Fix size of allocated buffer.
41430 2011-11-04 Andreas Schwab <schwab@redhat.com>
41433 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
41434 declarations for long double functions.
41435 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
41437 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
41439 2011-11-03 Andreas Schwab <schwab@redhat.com>
41441 * nscd/nscd.c (main): Don't start AVC thread until credentials are
41444 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
41447 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
41449 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
41451 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
41453 * include/alloca.h (stackinfo_alloca_round): Define.
41454 (extend_alloca): Use it.
41455 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
41456 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
41459 * scripts/check-local-headers.sh: Ignore libaudit.h.
41461 * nscd/Makefile (extra-objs): Make recursively expanded.
41463 2011-11-01 Ulrich Drepper <drepper@gmail.com>
41465 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
41466 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41468 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
41469 * posix/tst-rfc3484-2.c: Likewise.
41470 * posix/tst-rfc3484-3.c: Likewise.
41472 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41474 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
41476 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
41477 process_vm_writev from libc using GLIBC_2.15 version.
41479 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
41481 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
41483 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
41486 2011-10-31 Ulrich Drepper <drepper@gmail.com>
41489 * nss/getent.c (initgroups_keys): Show error message in case no group
41492 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
41493 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
41494 __bump_nl_timestamp.
41495 * nscd/connections (nscd_init): When host database is served open
41496 netlink socket and request notification about configuration changes.
41497 (main_loop_poll): Track netlink file descriptor and bump timestamp
41498 in case data becomes available.
41499 (main_loop_epoll): Likewise.
41500 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
41501 (database_pers_head): Add extra_data fileds.
41502 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
41503 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
41504 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
41506 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
41507 in6ai data, call __free_in6ai.
41508 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
41509 Add -DHAVE_NETLINK.
41510 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
41511 interface information. Reuse previous data if netlink timestamp
41513 (__bump_nl_timestamp): New function.
41514 (__free_in6ai): New function.
41516 2011-10-30 Ulrich Drepper <drepper@gmail.com>
41518 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
41519 close_not_cancel_no_status here.
41520 (__check_pf): Reorganize code a bit to not call close twice if OOM.
41522 2011-10-29 Ulrich Drepper <drepper@gmail.com>
41525 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
41528 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
41529 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
41530 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
41532 2011-07-03 Andreas Jaeger <aj@suse.de>
41535 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
41536 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
41537 * math/libm-test.inc (sin_test): Add test case.
41539 2011-10-29 Ulrich Drepper <drepper@gmail.com>
41542 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
41543 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41545 * elf/chroot_canon.c (chroot_canon): Cleanups.
41547 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
41550 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
41551 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41553 * string/test-strchr.c: Make usable for strchrnul testing.
41554 * string/test-strchrnul.c: New file.
41555 * string/Makefile (strop-tests): Add strchrnul.
41557 * po/it.po: Update from translation team.
41558 * po/es.po: Likewise.
41560 2011-10-28 Ulrich Drepper <drepper@gmail.com>
41562 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
41563 the three constants needed as parameters. Drop the others.
41564 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
41565 __m128i_strloadu_tolower.
41566 Create and initialize variable zero and use it in all the places
41567 where _mm_setzero_si128 was used.
41569 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
41570 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
41571 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
41572 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
41574 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
41575 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
41576 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
41577 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
41578 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
41579 __mpranred, __mptan.
41580 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
41581 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
41582 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
41583 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
41584 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
41585 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
41586 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
41587 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
41588 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
41590 2011-10-28 Andreas Schwab <schwab@redhat.com>
41592 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
41593 redefine if SHARED.
41594 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
41596 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
41597 wide char related routines to wcsmbs subdir.
41599 2011-10-27 Andreas Schwab <schwab@redhat.com>
41602 * misc/sys/cdefs.h (__THROWNL): Define.
41603 * posix/unistd.h: Use __THREADNL instead of __THREAD
41604 for memory synchronization functions.
41606 2011-10-26 Roland McGrath <roland@hack.frob.com>
41609 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
41611 * manual/stdio.texi (Obstack Streams): Node removed.
41613 2011-10-26 Andreas Schwab <schwab@redhat.com>
41615 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
41616 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41617 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41619 * math/math_private.h (math_force_eval): Allow non-addressable
41621 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
41623 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41625 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
41626 file is not needed.
41628 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
41629 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
41630 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41631 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41632 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41633 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41634 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41635 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
41637 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
41638 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
41639 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
41640 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
41641 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
41642 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
41643 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
41644 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
41645 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
41646 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
41647 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
41648 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
41649 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
41650 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
41651 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
41652 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
41653 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
41654 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
41655 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
41657 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
41658 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
41660 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
41661 place. Use VEX encoding when compiling for AVX.
41663 2011-10-25 Andreas Schwab <schwab@redhat.com>
41665 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
41666 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41668 * string/test-strchr.c (do_test): Don't generate NUL bytes.
41670 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41672 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
41673 useless if() expression.
41674 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41675 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41676 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41677 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41678 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41679 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41680 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41681 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41682 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41683 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41684 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41685 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41686 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41687 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41688 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41689 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41690 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41691 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41692 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41694 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
41696 2011-10-25 Andreas Schwab <schwab@redhat.com>
41698 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
41700 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41702 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41704 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
41705 .text section. Avoid duplicate constants.
41706 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41707 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41708 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41709 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41710 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41711 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41712 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41713 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41714 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41715 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
41716 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41717 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41718 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41719 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41720 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41721 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41722 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41723 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41724 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41725 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41726 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41727 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41728 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41729 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
41730 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
41731 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
41732 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
41733 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
41734 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
41735 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
41736 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
41737 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
41738 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41739 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
41740 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
41741 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
41742 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
41743 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
41744 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
41745 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
41746 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
41747 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
41748 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
41749 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
41750 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
41752 2011-10-24 Ulrich Drepper <drepper@gmail.com>
41754 * sysdeps/x86_64/dla.h: Move to ...
41755 * sysdeps/x86_64/fpu/dla.h: ...here.
41756 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
41757 situations. Use __builtin_fma only for gcc 4.6 and up.
41759 * config.make.in: Add have-mfma4 entry.
41760 * configure.in: Substitute libc_cv_cc_fma4.
41761 * math/Makefile (dbl-only-routines): Add sincostab.
41762 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
41763 Use __sincostab not sincos.
41764 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
41766 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41767 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41768 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41769 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
41771 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
41772 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
41773 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
41774 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
41776 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
41777 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
41779 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
41780 define aliases when function name is a macro.
41781 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
41782 sysdeps/ieee754/dbl-64/sincos.tbl.
41783 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
41784 fma4-enabled routines.
41785 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
41786 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
41787 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
41788 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
41789 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
41790 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
41791 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
41792 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
41793 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
41794 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
41795 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
41796 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
41797 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
41798 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
41799 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
41800 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
41801 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
41802 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
41803 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
41804 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
41805 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
41806 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
41807 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
41808 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
41809 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
41810 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
41811 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
41812 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
41813 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
41814 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
41816 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
41818 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41819 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41820 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41821 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41822 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41823 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41824 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41825 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41827 2011-10-24 Andreas Schwab <schwab@redhat.com>
41829 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
41831 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41833 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
41835 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
41837 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
41839 * string/strnlen.c: Don't define STRNLEN, reverse logic.
41840 Remove unused variable magic_bits.
41841 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
41843 * string/strnlen.c: Define and use STRNLEN macro.
41844 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
41845 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
41846 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
41847 * wcsmbs/wcslen.c: Define and use WCSLEN.
41848 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
41849 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
41850 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
41851 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
41852 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
41853 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
41854 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41856 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41858 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41859 strnlen-sse2-no-bsf.
41860 Rename strlen-no-bsf to strlen-sse2-no-bsf.
41861 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
41862 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
41863 Add strnlen support.
41864 (USE_AS_STRNLEN): New macro.
41865 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
41866 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
41867 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
41868 * sysdeps/x86_64/wcslen.S: New file.
41870 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
41872 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41873 XMM-moves are used for copying on small sizes.
41875 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41877 * wcsmbs/Makefile (strop-tests): Add wcschr.
41878 * wcsmbs/test-wcschr.c: New file.
41879 * string/test-strchr.c: Update.
41880 Add wcschr support.
41883 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41885 * wcsmbs/Makefile (strop-tests): Add wcslen.
41886 * wcsmbs/test-wcslen.c: New file.
41887 * string/test-strlen.c: Update.
41888 Add wcslen support.
41891 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41893 * po/it.po: Update from translation team.
41895 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41897 * sysdeps/x86_64/wcscmp.S: Update.
41898 Fix wrong comparison semantics.
41899 wcscmp shall use signed comparison not unsigned.
41900 Don't use substraction to avoid overflow bug.
41901 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41902 * wcsmbc/wcscmp.c: Likewise.
41903 * string/test-strcmp.c: Likewise.
41904 Add new tests to check cases with negative values.
41906 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41908 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
41909 * sysdeps/x86_64/dla.h: ...here. New file.
41910 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
41911 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41912 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41913 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41914 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41915 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41916 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41917 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41918 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41920 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
41922 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
41923 __ynl_finite aliases.
41925 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41927 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41929 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
41931 [DLA_FMA] (EMULV): Use DLA_FMA.
41932 [DLA_FMA] (MUL12): Use EMULV.
41933 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
41934 that are not needed.
41935 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41936 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41937 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41938 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41939 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41940 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41941 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41943 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
41945 * math/s_nan.c: Undef __nan.
41946 * math/s_nanf.c: Undef __nanf.
41947 * math/s_nanl.c: Undef __nanl.
41948 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
41951 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41953 * math/s_catan.c: Add branch predictions.
41954 * math/s_catanf.c: Likewise.
41955 * math/s_catanh.c: Likewise.
41956 * math/s_catanhf.c: Likewise.
41957 * math/s_catanhl.c: Likewise.
41958 * math/s_catanl.c: Likewise.
41959 * math/s_cexp.c: Likewise.
41960 * math/s_cexpf.c: Likewise.
41961 * math/s_cexpl.c: Likewise.
41962 * math/s_clog.c: Likewise.
41963 * math/s_clog10.c: Likewise.
41964 * math/s_clog10f.c: Likewise.
41965 * math/s_clog10l.c: Likewise.
41966 * math/s_clogf.c: Likewise.
41967 * math/s_clogl.c: Likewise.
41968 * math/s_csqrt.c: Likewise.
41969 * math/s_csqrtf.c: Likewise.
41970 * math/s_csqrtl.c: Likewise.
41971 * math/s_ctanf.c: Likewise.
41972 * math/s_ctanh.c: Likewise.
41973 * math/s_ctanhf.c: Likewise.
41974 * math/s_ctanhl.c: Likewise.
41975 * math/s_ctanl.c: Likewise.
41977 * math/math_private.h: Define __nan, __nanf, __nanl.
41978 * math/s_cacosh.c: Include <math_private.h>.
41979 * math/s_cacoshl.c: Likewise.
41980 * math/s_casinh.c: Likewise.
41981 * math/s_casinhf.c: Likewise.
41982 * math/s_casinhl.c: Likewise.
41983 * math/s_ccos.c: Rely entire on ccosh.
41984 * math/s_ccosf.c: Rely entire on ccoshf.
41985 * math/s_ccosl.c: Rely entirely on ccoshl.
41986 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
41987 Remove tests for FE_INVALID.
41988 * math/s_ccoshf.c: Likewise.
41989 * math/s_ccoshl.c: Likewise.
41990 * math/s_csin.c: Likewise.
41991 * math/s_csinf.c: Likewise.
41992 * math/s_csinh.c Likewise.
41993 * math/s_csinhf.c: Likewise.
41994 * math/s_csinhl.c: Likewise.
41995 * math/s_csinl.c: Likewise.
41996 * math/s_ctan.c: Likewise.
41997 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
41998 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
41999 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42001 2011-10-21 Ulrich Drepper <drepper@gmail.com>
42003 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42004 compilation problems.
42006 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42009 2011-10-20 Ulrich Drepper <drepper@gmail.com>
42011 * sysdeps/i386/configure.in: Test for -mfma4 option.
42012 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42013 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42014 COMMON_CPUID_INDEX_80000001.
42015 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42016 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42017 use it if FMA3 is not supported.
42018 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42020 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42021 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42023 2011-10-20 Andreas Schwab <schwab@redhat.com>
42026 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42027 it would create a cycle with a link time dependency.
42029 2011-10-19 Ulrich Drepper <drepper@gmail.com>
42031 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42033 * string/Makefile (strop-tests): Add rawmemchr.
42034 * string/test-rawmemchr.c: New file.
42036 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42037 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
42038 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
42039 when compiling str{,n}casecmp and when AVX is available. Hook up
42040 new optimized code in initializers.
42042 2011-10-19 Andreas Schwab <schwab@redhat.com>
42044 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42045 __feraiseexcept instead of feraiseexcept.
42047 2011-10-18 Ulrich Drepper <drepper@gmail.com>
42049 * math/math_private.h: Define defaults for libc_fetestexcept and
42051 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42052 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42053 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42054 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42055 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42056 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42057 libc_fetestexcept and libc_feupdateenv.
42059 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42060 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42061 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42062 * sysdeps/x86_64/fpu/math_private.h: Define special version of
42063 libc_feholdexcept_setround.
42065 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42066 Add s_nearbyint-c and s_nearbyintf-c.
42067 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42068 nearbyintf inlines.
42069 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42070 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42071 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42072 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42074 * math/math_private.h: Define defaults for libc_fegetround,
42075 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42076 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42077 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42078 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42079 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42080 standard functions.
42081 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42082 Remove comments and hacks for old compiler versions.
42083 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42084 libc_fegetround, libc_fesetround, libc_feholdexcept, and
42085 libc_feholdexceptl.
42087 2011-10-18 Andreas Schwab <schwab@redhat.com>
42089 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
42090 (__feraiseexcept_renamed): Add __NTH.
42091 (feraiseexcept): Add __NTH. Rename local variables to fix
42092 namespace violations.
42094 2011-10-17 Ulrich Drepper <drepper@gmail.com>
42096 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
42098 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
42100 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
42101 recently added interfaces.
42102 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
42104 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
42105 about macro parameter expansion.
42107 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
42108 __NO_MATH_INLINES is defined. Cleanups.
42110 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
42111 and __floorf is target has SSE4.1.
42112 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
42113 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
42114 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
42115 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
42117 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
42119 (floorf): Likewise.
42121 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
42123 2011-10-17 Andreas Schwab <schwab@redhat.com>
42125 * misc/sys/cdefs.h: Fix last change.
42127 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
42130 2011-10-16 Ulrich Drepper <drepper@gmail.com>
42132 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
42134 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
42135 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42136 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42137 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42138 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42139 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42140 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42141 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42142 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42143 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
42144 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
42145 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
42146 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
42147 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
42148 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
42149 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
42150 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
42151 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
42152 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
42153 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
42154 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
42155 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
42157 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
42158 ceil, ceilf, floor, floorf.
42160 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
42161 Perform IRELATIVE relocations last.
42163 * elf/do-rel.h: Add another parameter nrelative, replacing the
42164 local variable with the same name. Change name of the function
42165 to end in Rel or Rela (uppercase).
42166 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
42167 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
42168 elf_dynamic_do_##reloc function.
42170 2011-10-15 Ulrich Drepper <drepper@gmail.com>
42172 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
42173 is sufficient, at least on modern CPUs.
42175 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
42177 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
42178 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
42180 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
42182 * math/bits/math-finite.h: Add entries for exp.
42183 * math/e_expl.c: Add __*_finite alias.
42184 * sysdeps/i386/fpu/e_exp.S: Likewise.
42185 * sysdeps/i386/fpu/e_expf.S: Likewise.
42186 * sysdeps/i386/fpu/e_expl.c: Likewise.
42187 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42188 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42189 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42190 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42191 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
42192 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42193 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42195 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
42196 is sufficient, at least on modern CPUs.
42198 * ctype/ctype-info.c (__ctype_init): Define.
42199 * include/ctype.h (__ctype_init): Declare.
42200 (__ctype_b_loc): The variable is always initialized.
42201 (__ctype_toupper_loc): Likewise.
42202 (__ctype_tolower_loc): Likewise.
42203 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
42204 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
42206 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
42208 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
42210 * configure.in: Also look in $cxxmachine/include for C++ system
42213 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42215 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
42216 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
42217 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
42218 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
42219 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
42220 (USE_AS_WMEMCMP): New macro.
42222 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
42223 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
42224 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
42225 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
42226 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42227 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
42228 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
42229 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
42230 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
42231 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
42232 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
42233 (USE_AS_WMEMCMP): New macro.
42234 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
42235 * sysdeps/string/test-memcmp.c: Update.
42236 Fix simple_wmemcmp.
42238 * wcsmbs/wmemcmp.c: Update.
42239 (WMEMCMP): New macro.
42242 2011-10-12 Andreas Jaeger <aj@suse.de>
42245 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
42247 2011-10-15 Ulrich Drepper <drepper@gmail.com>
42249 * libio/iofwide.c (do_length): Avoid warning.
42251 * ctype/ctype.h (__isctype_f): Add missing __THROW.
42253 2011-10-14 Ulrich Drepper <drepper@gmail.com>
42255 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
42257 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
42258 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
42259 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
42260 * sysdeps/i386/i686/fpu/e_log.S: New file.
42261 * sysdeps/i386/i686/fpu/e_logf.S: New file.
42262 * sysdeps/i386/i686/fpu/e_logl.S: New file.
42264 * ctype/ctype.h: Add support for inlined isXXX functions when
42265 compiling C++ code.
42267 2011-10-14 Andreas Schwab <schwab@redhat.com>
42269 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42271 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
42273 2011-10-13 Roland McGrath <roland@hack.frob.com>
42276 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
42278 2011-10-13 Andreas Schwab <schwab@redhat.com>
42280 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
42281 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
42284 * sysdeps/x86_64/memrchr.S: Check for zero size.
42286 * string/stratcliff.c: Add memrchr tests.
42288 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42290 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42291 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
42292 rawmemchr-sse2 rawmemchr-sse2-bsf.
42293 * sysdeps/i386/i686/multiarch/memchr.S: New file.
42294 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
42295 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
42296 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
42297 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
42298 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
42299 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
42300 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
42301 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
42302 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
42303 * string/memrchr.c (MEMRCHR): New macro.
42305 2011-10-12 Ulrich Drepper <drepper@gmail.com>
42307 Add integration with gcc's -ffinite-math-only and optimize wrapper
42309 * Versions.def: Define GLIBC_2.15 version for libm.
42310 * math/Makefile (headers): Add bits/math-finite.h.
42311 * math/bits/math-finite.h: New file.
42312 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
42313 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
42314 * math/e_acoshl.c: Add __*_finite alias.
42315 * math/e_acosl.c: Likewise.
42316 * math/e_asinl.c: Likewise.
42317 * math/e_atan2l.c: Likewise.
42318 * math/e_atanhl.c: Likewise.
42319 * math/e_coshl.c: Likewise.
42320 * math/e_exp10.c: Likewise.
42321 * math/e_exp10f.c: Likewise.
42322 * math/e_exp10l.c: Likewise.
42323 * math/e_exp2l.c: Likewise.
42324 * math/e_fmodl.c: Likewise.
42325 * math/e_gammal_r.c: Likewise.
42326 * math/e_hypotl.c: Likewise.
42327 * math/e_j0l.c: Likewise.
42328 * math/e_j1l.c: Likewise.
42329 * math/e_jnl.c: Likewise.
42330 * math/e_lgammal_r.c: Likewise.
42331 * math/e_log10l.c: Likewise.
42332 * math/e_log2l.c: Likewise.
42333 * math/e_logl.c: Likewise.
42334 * math/e_powl.c: Likewise.
42335 * math/e_sinhl.c: Likewise.
42336 * math/e_sqrtl.c: Likewise.
42337 * math/e_scalb.c: Completely rewritten and optimized.
42338 * math/e_scalbf.c: Likewise.
42339 * math/e_scalbl.c: Likewise.
42340 * math/w_acos.c: Likewise.
42341 * math/w_acosf.c: Likewise.
42342 * math/w_acosl.c: Likewise.
42343 * math/w_acosh.c: Likewise.
42344 * math/w_acoshf.c: Likewise.
42345 * math/w_acoshl.c: Likewise.
42346 * math/w_asin.c: Likewise.
42347 * math/w_asinf.c: Likewise.
42348 * math/w_asinl.c: Likewise.
42349 * math/w_atan2.c: Likewise.
42350 * math/w_atan2f.c: Likewise.
42351 * math/w_atan2l.c: Likewise.
42352 * math/w_atanh.c: Likewise.
42353 * math/w_atanhf.c: Likewise.
42354 * math/w_atanhl.c: Likewise.
42355 * math/w_exp10.c: Likewise.
42356 * math/w_exp10f.c: Likewise.
42357 * math/w_exp10l.c: Likewise.
42358 * math/w_fmod.c: Likewise.
42359 * math/w_fmodf.c: Likewise.
42360 * math/w_fmodl.c: Likewise.
42361 * math/w_j0.c: Likewise.
42362 * math/w_j0f.c: Likewise.
42363 * math/w_j0l.c: Likewise.
42364 * math/w_j1.c: Likewise.
42365 * math/w_j1f.c: Likewise.
42366 * math/w_j1l.c: Likewise.
42367 * math/w_jn.c: Likewise.
42368 * math/w_jnf.c: Likewise.
42369 * math/w_log.c: Likewise.
42370 * math/w_logf.c: Likewise.
42371 * math/w_logl.c: Likewise.
42372 * math/w_log10.c: Likewise.
42373 * math/w_log10f.c: Likewise.
42374 * math/w_log10l.c: Likewise.
42375 * math/w_log2.c: Likewise.
42376 * math/w_log2f.c: Likewise.
42377 * math/w_log2l.c: Likewise.
42378 * math/w_pow.c: Likewise.
42379 * math/w_powf.c: Likewise.
42380 * math/w_powl.c: Likewise.
42381 * math/w_remainder.c: Likewise.
42382 * math/w_remainderf.c: Likewise.
42383 * math/w_remainderl.c: Likewise.
42384 * math/w_scalb.c: Likewise.
42385 * math/w_scalbf.c: Likewise.
42386 * math/w_scalbl.c: Likewise.
42387 * math/w_sqrt.c: Likewise.
42388 * math/w_sqrtf.c: Likewise.
42389 * math/w_sqrtl.c: Likewise.
42390 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
42391 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
42393 * math/math_private.h: Declare __kernel_standard_f.
42394 * math/w_cosh.c: Remove cruft and optimize a bit.
42395 * math/w_coshf.c: Likewise.
42396 * math/w_coshl.c: Likewise.
42397 * math/w_exp2.c: Likewise.
42398 * math/w_exp2f.c: Likewise.
42399 * math/w_exp2l.c: Likewise.
42400 * math/w_hypot.c: Likewise.
42401 * math/w_hypotf.c: Likewise.
42402 * math/w_hypotl.c: Likewise.
42403 * math/w_lgamma.c: Likewise.
42404 * math/w_lgamma_r.c: Likewise.
42405 * math/w_lgammaf.c: Likewise.
42406 * math/w_lgammaf_r.c: Likewise.
42407 * math/w_lgammal.c: Likewise.
42408 * math/w_lgammal_r.c: Likewise.
42409 * math/w_sinh.c: Likewise.
42410 * math/w_sinhf.c: Likewise.
42411 * math/w_sinhl.c: Likewise.
42412 * math/w_tgamma.c: Likewise.
42413 * math/w_tgammaf.c: Likewise.
42414 * math/w_tgammal.c: Likewise.
42415 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42416 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42417 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
42418 Minor optimizations. Pretty printing. Remove cruft.
42419 * sysdeps/i386/fpu/e_acosf.S: Likewise.
42420 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42421 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42422 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42423 * sysdeps/i386/fpu/e_acosl.c: Likewise.
42424 * sysdeps/i386/fpu/e_asin.S: Likewise.
42425 * sysdeps/i386/fpu/e_asinf.S: Likewise.
42426 * sysdeps/i386/fpu/e_atan2.S: Likewise.
42427 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
42428 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
42429 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42430 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42431 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42432 * sysdeps/i386/fpu/e_exp10.S: Likewise.
42433 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
42434 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
42435 * sysdeps/i386/fpu/e_exp2.S: Likewise.
42436 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
42437 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
42438 * sysdeps/i386/fpu/e_fmod.S: Likewise.
42439 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
42440 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
42441 * sysdeps/i386/fpu/e_hypot.S: Likewise.
42442 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
42443 * sysdeps/i386/fpu/e_log.S: Likewise.
42444 * sysdeps/i386/fpu/e_log10.S: Likewise.
42445 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42446 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42447 * sysdeps/i386/fpu/e_log2.S: Likewise.
42448 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42449 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42450 * sysdeps/i386/fpu/e_logf.S: Likewise.
42451 * sysdeps/i386/fpu/e_logl.S: Likewise.
42452 * sysdeps/i386/fpu/e_pow.S: Likewise.
42453 * sysdeps/i386/fpu/e_powf.S: Likewise.
42454 * sysdeps/i386/fpu/e_powl.S: Likewise.
42455 * sysdeps/i386/fpu/e_remainder.S: Likewise.
42456 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
42457 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
42458 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42459 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42460 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42461 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
42462 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
42463 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
42464 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42465 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42466 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42467 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42468 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42469 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42470 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42471 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42472 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42473 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42474 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42475 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42476 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42477 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42478 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42479 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42480 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42481 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42482 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42483 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42484 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42485 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42486 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42487 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42488 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42489 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42490 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42491 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42492 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
42493 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42494 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42495 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42496 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42497 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42498 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42499 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42500 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42501 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42502 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42503 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42504 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42505 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42506 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42507 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42508 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42509 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42510 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42511 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42512 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42513 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
42514 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42515 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42516 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42517 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42518 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42519 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42520 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42521 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42522 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42523 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42524 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42525 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42526 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42527 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42528 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42529 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42530 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42531 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42532 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
42533 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42534 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42535 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42536 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42537 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42538 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42539 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42540 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42541 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42542 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42543 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42544 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42545 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42546 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
42547 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42548 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42549 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42550 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42551 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42552 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42553 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42554 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42555 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42556 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42557 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42558 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42559 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42560 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42561 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
42562 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
42563 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
42564 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
42565 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
42566 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
42567 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
42568 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42569 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42570 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42571 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42572 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
42573 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42574 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
42575 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
42576 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
42577 (__isnanf): Likewise.
42578 (__isinf_ns): Likewise.
42579 (__isinf_nsf): Likewise.
42580 (__finite): Likewise.
42581 (__finitef): Likewise.
42582 (__ieee754_sqrt): Define as macro.
42583 (__ieee754_sqrtf): Define as macro.
42584 (__ieee754_sqrtl): Define as macro.
42585 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
42587 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
42588 __FINITE_MATH_ONLY__ consistent.
42589 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
42591 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
42593 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
42596 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
42598 2011-10-09 Ulrich Drepper <drepper@gmail.com>
42600 * po/ja.po: Update from translation team.
42602 2011-10-08 Roland McGrath <roland@hack.frob.com>
42604 * locale/programs/locarchive.c (prepare_address_space): New function.
42605 (create_archive, enlarge_archive, open_archive): Use it.
42607 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
42608 inside [SHARED], where it is used.
42610 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
42612 * nss/getent.c (netgroup_keys): Remove unused variable.
42613 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42615 2011-10-08 Ulrich Drepper <drepper@gmail.com>
42617 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
42618 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
42619 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
42620 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
42621 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
42622 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
42623 * math/Makefile (libm-calls): Add s_isinf_ns.
42624 * math/divtc3.c: Use __isinf_nsl instead of isinf.
42625 * math/multc3.c: Likewise.
42626 * math/s_casin.c: Likewise.
42627 * math/s_casinf.c: Likewise.
42628 * math/s_casinl.c: Likewise.
42629 * math/s_ccos.c: Likewise.
42630 * math/s_ccosf.c: Likewise.
42631 * math/s_ccosl.c: Likewise.
42632 * math/s_ctan.c: Likewise.
42633 * math/s_ctanf.c: Likewise.
42634 * math/s_ctanh.c: Likewise.
42635 * math/s_ctanhf.c: Likewise.
42636 * math/s_ctanhl.c: Likewise.
42637 * math/s_ctanl.c: Likewise.
42638 * math/w_fmod.c: Likewise.
42639 * math/w_fmodf.c: Likewise.
42640 * math/w_fmodl.c: Likewise.
42641 * math/w_remainder.c: Likewise.
42642 * math/w_remainderf.c: Likewise.
42643 * math/w_remainderl.c: Likewise.
42644 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
42645 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
42646 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
42647 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
42648 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
42649 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
42650 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
42651 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
42653 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
42655 * stdio-common/printf_fphex.c: Likewise.
42656 * stdio-common/printf_size.c: Likewise.
42658 * math/e_exp10.c: Include math_private.h using <...> not "...".
42659 * math/e_exp10f.c: Likewise.
42660 * math/e_exp10l.c: Likewise.
42661 * math/e_exp2l.c: Likewise.
42662 * math/e_j0l.c: Likewise.
42663 * math/e_j1l.c: Likewise.
42664 * math/e_jnl.c: Likewise.
42665 * math/e_lgammal_r.c: Likewise.
42666 * math/e_rem_pio2l.c: Likewise.
42667 * math/e_scalb.c: Likewise.
42668 * math/e_scalbf.c: Likewise.
42669 * math/e_scalbl.c: Likewise.
42670 * math/k_cosl.c: Likewise.
42671 * math/k_sinl.c: Likewise.
42672 * math/k_tanl.c: Likewise.
42673 * math/s_cacoshf.c: Likewise.
42674 * math/s_catan.c: Likewise.
42675 * math/s_catanf.c: Likewise.
42676 * math/s_catanh.c: Likewise.
42677 * math/s_catanhf.c: Likewise.
42678 * math/s_catanhl.c: Likewise.
42679 * math/s_catanl.c: Likewise.
42680 * math/s_ccosh.c: Likewise.
42681 * math/s_ccoshf.c: Likewise.
42682 * math/s_ccoshl.c: Likewise.
42683 * math/s_cexp.c: Likewise.
42684 * math/s_cexpf.c: Likewise.
42685 * math/s_cexpl.c: Likewise.
42686 * math/s_clog.c: Likewise.
42687 * math/s_clog10.c: Likewise.
42688 * math/s_clog10f.c: Likewise.
42689 * math/s_clog10l.c: Likewise.
42690 * math/s_clogf.c: Likewise.
42691 * math/s_clogl.c: Likewise.
42692 * math/s_csin.c: Likewise.
42693 * math/s_csinf.c: Likewise.
42694 * math/s_csinh.c: Likewise.
42695 * math/s_csinhf.c: Likewise.
42696 * math/s_csinhl.c: Likewise.
42697 * math/s_csinl.c: Likewise.
42698 * math/s_csqrt.c: Likewise.
42699 * math/s_csqrtf.c: Likewise.
42700 * math/s_csqrtl.c: Likewise.
42701 * math/s_ctan.c: Likewise.
42702 * math/s_ctanf.c: Likewise.
42703 * math/s_ctanh.c: Likewise.
42704 * math/s_ctanhf.c: Likewise.
42705 * math/s_ctanhl.c: Likewise.
42706 * math/s_ctanl.c: Likewise.
42707 * math/s_ldexp.c: Likewise.
42708 * math/s_ldexpf.c: Likewise.
42709 * math/s_ldexpl.c: Likewise.
42710 * math/s_significand.c: Likewise.
42711 * math/s_significandf.c: Likewise.
42712 * math/s_significandl.c: Likewise.
42713 * math/w_acos.c: Likewise.
42714 * math/w_acosf.c: Likewise.
42715 * math/w_acosh.c: Likewise.
42716 * math/w_acoshf.c: Likewise.
42717 * math/w_acoshl.c: Likewise.
42718 * math/w_acosl.c: Likewise.
42719 * math/w_asin.c: Likewise.
42720 * math/w_asinf.c: Likewise.
42721 * math/w_asinl.c: Likewise.
42722 * math/w_atan2.c: Likewise.
42723 * math/w_atan2f.c: Likewise.
42724 * math/w_atan2l.c: Likewise.
42725 * math/w_atanh.c: Likewise.
42726 * math/w_atanhf.c: Likewise.
42727 * math/w_atanhl.c: Likewise.
42728 * math/w_cosh.c: Likewise.
42729 * math/w_coshf.c: Likewise.
42730 * math/w_coshl.c: Likewise.
42731 * math/w_dremf.c: Likewise.
42732 * math/w_exp10.c: Likewise.
42733 * math/w_exp10f.c: Likewise.
42734 * math/w_exp10l.c: Likewise.
42735 * math/w_exp2.c: Likewise.
42736 * math/w_exp2f.c: Likewise.
42737 * math/w_fmod.c: Likewise.
42738 * math/w_fmodf.c: Likewise.
42739 * math/w_fmodl.c: Likewise.
42740 * math/w_hypot.c: Likewise.
42741 * math/w_hypotf.c: Likewise.
42742 * math/w_hypotl.c: Likewise.
42743 * math/w_j0.c: Likewise.
42744 * math/w_j0f.c: Likewise.
42745 * math/w_j0l.c: Likewise.
42746 * math/w_j1.c: Likewise.
42747 * math/w_j1f.c: Likewise.
42748 * math/w_j1l.c: Likewise.
42749 * math/w_jn.c: Likewise.
42750 * math/w_jnf.c: Likewise.
42751 * math/w_jnl.c: Likewise.
42752 * math/w_lgamma.c: Likewise.
42753 * math/w_lgamma_r.c: Likewise.
42754 * math/w_lgammaf.c: Likewise.
42755 * math/w_lgammaf_r.c: Likewise.
42756 * math/w_lgammal.c: Likewise.
42757 * math/w_lgammal_r.c: Likewise.
42758 * math/w_log.c: Likewise.
42759 * math/w_log10.c: Likewise.
42760 * math/w_log10f.c: Likewise.
42761 * math/w_log10l.c: Likewise.
42762 * math/w_log2.c: Likewise.
42763 * math/w_log2f.c: Likewise.
42764 * math/w_log2l.c: Likewise.
42765 * math/w_logf.c: Likewise.
42766 * math/w_logl.c: Likewise.
42767 * math/w_pow.c: Likewise.
42768 * math/w_powf.c: Likewise.
42769 * math/w_powl.c: Likewise.
42770 * math/w_remainder.c: Likewise.
42771 * math/w_remainderf.c: Likewise.
42772 * math/w_remainderl.c: Likewise.
42773 * math/w_scalb.c: Likewise.
42774 * math/w_scalbf.c: Likewise.
42775 * math/w_scalbl.c: Likewise.
42776 * math/w_sinh.c: Likewise.
42777 * math/w_sinhf.c: Likewise.
42778 * math/w_sinhl.c: Likewise.
42779 * math/w_sqrt.c: Likewise.
42780 * math/w_sqrtf.c: Likewise.
42781 * math/w_sqrtl.c: Likewise.
42782 * math/w_tgamma.c: Likewise.
42783 * math/w_tgammaf.c: Likewise.
42784 * math/w_tgammal.c: Likewise.
42786 * po/ja.po: Update from translation team.
42788 2011-09-29 Andreas Jaeger <aj@suse.de>
42791 * sunrpc/netname.c (netname2host): Fix logic.
42795 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
42797 * math/w_remainder.c (__remainder): Likewise.
42798 * math/w_remainderf.c (__remainderf): Likewise.
42799 * math/libm-test.inc (remainder_test): Add test cases.
42801 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42803 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
42806 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42808 * string/test-memcmp.c: Avoid unncessary #defines.
42809 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42811 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42813 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
42814 Use new sse2 version for core i3 - i7 as it's faster
42815 than sse42 version.
42816 (bit_Prefer_PMINUB_for_stringop): New.
42817 * sysdeps/x86_64/rawmemchr.S: Update.
42818 Replace with faster SSE2 version.
42819 * sysdeps/x86_64/memrchr.S: New file.
42820 * sysdeps/x86_64/memchr.S: Update.
42821 Replace with faster SSE2 version.
42823 2011-09-12 Marek Polacek <mpolacek@redhat.com>
42825 * elf/dl-load.c (lose): Add cast to avoid warning.
42827 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42829 * po/ca.po: Update from translation team.
42831 * inet/getnetgrent_r.c: Hook up nscd.
42832 * nscd/Makefile (routines): Add nscd_netgroup.
42833 (nscd-modules): Add netgroupcache.
42834 (CFLAGS-netgroupcache.c): Define.
42835 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
42836 (cache_search): Add const to second parameter.
42837 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
42839 (dbs): Add netgrdb entry.
42840 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
42841 (verify_persistent_db): Handle netgrdb.
42842 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
42843 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
42845 (netgroup_response_header): Define.
42846 (innetgroup_response_header): Define.
42847 (datahead): Add netgroup_response_header and innetgroup_response_header
42849 * nscd/nscd.conf: Add entries for netgroup cache.
42850 * nscd/nscd.h (dbtype): Add netgrdb.
42851 (_PATH_NSCD_NETGROUP_DB): Define.
42852 (netgroup_iov_disabled): Declare.
42853 (xmalloc, xcalloc, xrealloc): Move declarations here.
42854 (cache_search): Adjust prototype.
42855 Add netgroup-related prototypes.
42856 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
42857 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
42858 (__nscd_innetgr): Declare.
42859 * nscd/selinux.c (perms): Use access_vector_t as element type and
42860 add netgroup-related initializers.
42861 * nscd/netgroupcache.c: New file.
42862 * nscd/nscd_netgroup.c: New file.
42863 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
42864 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
42865 For four parameters use innetgr.
42866 * nss/nss_files/files-init.c: Add definition and callback for netgr.
42867 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
42868 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
42869 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
42871 * nscd/connections.c (register_traced_file): Don't register file
42872 for disabled databases.
42874 2011-10-06 Ulrich Drepper <drepper@gmail.com>
42876 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
42878 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
42879 from tree and freeing node.
42881 2011-09-25 Jiri Olsa <jolsa@redhat.com>
42883 * nss/nsswitch.c (__nss_database_lookup): Handle
42884 nss_parse_service_list out of memory case.
42886 2011-09-15 Jiri Olsa <jolsa@redhat.com>
42888 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
42889 out of memory case.
42891 2011-10-04 Andreas Schwab <schwab@redhat.com>
42893 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
42894 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
42896 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
42897 elf_machine_rela, elf_machine_lazy_rel.
42898 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
42899 (ELF_DYNAMIC_DO_REL): Likewise.
42900 (ELF_DYNAMIC_DO_RELA): Likewise.
42901 (ELF_DYNAMIC_RELOCATE): Likewise.
42902 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
42903 to ELF_DYNAMIC_DO_REL.
42904 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
42905 (dl_main): In trace mode always set __RTLD_NOIFUNC.
42906 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
42908 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
42909 skip_ifunc, don't call ifunc function if non-zero.
42910 (elf_machine_rela): Likewise.
42911 (elf_machine_lazy_rel): Likewise.
42912 (elf_machine_lazy_rela): Likewise.
42913 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
42914 (elf_machine_lazy_rel): Likewise.
42915 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
42917 (elf_machine_lazy_rel): Likewise.
42918 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42920 (elf_machine_lazy_rel): Likewise.
42921 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
42922 (elf_machine_lazy_rel): Likewise.
42923 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
42924 (elf_machine_lazy_rel): Likewise.
42925 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42926 (elf_machine_lazy_rel): Likewise.
42927 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
42928 (elf_machine_lazy_rel): Likewise.
42929 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
42930 (elf_machine_lazy_rel): Likewise.
42931 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42932 (elf_machine_lazy_rel): Likewise.
42934 2011-09-28 Ulrich Drepper <drepper@gmail.com>
42936 * nss/nss_files/files-init.c (_nss_files_init): Use static
42937 initialization for all the *_traced_file variables.
42939 2011-09-28 Andreas Schwab <schwab@redhat.com>
42941 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42943 2011-09-27 Roland McGrath <roland@hack.frob.com>
42946 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
42948 2011-09-27 Andreas Schwab <schwab@redhat.com>
42950 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42951 Reread the line before reparsing it.
42953 2011-09-26 Andreas Schwab <schwab@redhat.com>
42955 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
42957 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
42958 Maxim Kuvyrkov <maxim@codesourcery.com>
42959 Joseph Myers <joseph@codesourcery.com>
42961 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
42962 if needed for __stack_chk_guard.
42964 2011-09-19 Roland McGrath <roland@hack.frob.com>
42966 * sysdeps/posix/spawni.c (script_execute): Always define it.
42967 It will be optimized away if unused.
42968 (maybe_script_execute): New function.
42969 (__spawni): Call it.
42971 * Makerules: Don't include tls.make.
42972 (config-tls): Always set to thread.
42973 * tls.make.c: File removed.
42975 2011-09-19 Mike Frysinger <vapier@gentoo.org>
42977 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
42978 * config.make.in (CPPFLAGS-config): New substituted variable.
42980 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42982 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
42985 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
42986 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
42988 2011-09-15 Roland McGrath <roland@hack.frob.com>
42990 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
42991 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
42992 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42993 (CALL_FAIL): Likewise.
42994 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
42995 (CALL_FAIL): Macro removed.
42996 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
42998 2011-09-15 Ulrich Drepper <drepper@gmail.com>
43000 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43001 for __FINITE_MATH_ONLY__ == 1.
43003 2011-09-15 Andreas Schwab <schwab@redhat.com>
43005 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43006 __ieee754_sqrt instead of sqrt.
43007 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43008 __ieee754_sqrtf instead of sqrtf.
43009 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43010 __floorf instead of floorf.
43011 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43012 __floorf, __truncf instead of floorf, truncf.
43014 2011-09-14 Ulrich Drepper <drepper@gmail.com>
43016 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43018 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43019 __extern_always_inline.
43020 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43023 2011-09-14 Andreas Schwab <schwab@redhat.com>
43025 * elf/rtld.c (dl_main): Also relocate in dependency order when
43026 doing symbol dependency testing.
43028 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
43030 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43031 Always define `refsym'.
43033 2011-09-13 Andreas Schwab <schwab@redhat.com>
43035 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43036 (__FD_ELT): Renamed from __FDELT.
43037 * misc/bits/select2.h (__FD_ELT): Likewise.
43038 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43039 __FD_MASK instead of __FDELT, __FDMASK.
43040 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43042 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43045 * elf/Makefile (gen-ldd): Fix pattern.
43047 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43048 (init_tls): Likewise.
43050 2011-09-12 Ulrich Drepper <drepper@gmail.com>
43052 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43054 2011-09-12 Andreas Schwab <schwab@redhat.com>
43056 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43057 `struct cmsghdr *' instead of `void *'.
43058 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43061 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
43063 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43065 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43066 ldd_rewrite_script.
43068 2011-09-11 Ulrich Drepper <drepper@gmail.com>
43070 * configure.in: Remove --with-tls option.
43071 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43072 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43073 out in case it is missing.
43074 * sysdeps/ia64/elf/configure.in: Likewise.
43075 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43076 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43077 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43078 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43079 * sysdeps/sh/elf/configure.in: Likewise.
43080 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43081 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43082 * sysdeps/x86_64/elf/configure.in: Likewise.
43083 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43084 * sysdeps/mach/hurd/tls.h: Likewise.
43087 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43090 * configure.in: Fix use of AC_INIT.
43092 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43094 2011-09-10 Ulrich Drepper <drepper@gmail.com>
43096 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
43098 * malloc/hooks.c: Likewise.
43101 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
43102 variables statically.
43103 (narenas): Initialize.
43104 (list_lock): Initialize.
43105 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
43106 initializtion of main_arena and list_lock. Small cleanups.
43107 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
43108 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
43109 Add initializers to main_arena and mp_.
43110 (malloc_state): Remove pagesize member. Change all users to use
43113 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
43114 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
43115 is always initialized.
43117 * malloc/malloc.c: Removed unused configurations and dead code.
43118 * malloc/arena.c: Likewise.
43119 * malloc/hooks.c: Likewise.
43120 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
43122 * include/tls.h: Removed. USE___THREAD must always be defined.
43123 * bits/libc-tsd.h: Don't handle !USE___THREAD.
43124 * elf/dl-libc.c: Likewise.
43125 * elf/dl-tsd.c: Likewise.
43126 * include/errno.h: Likewise.
43127 * include/netdb.h: Likewise.
43128 * include/resolv.h: Likewise.
43129 * inet/herrno-loc.c: Likewise.
43130 * inet/herrno.c: Likewise.
43131 * malloc/arena.c: Likewise.
43132 * malloc/hooks.c: Likewise.
43133 * malloc/malloc.c: Likewise.
43134 * resolv/res-state.c: Likewise.
43135 * resolv/res_libc.c: Likewise.
43136 * sysdeps/i386/dl-machine.h: Likewise.
43137 * sysdeps/ia64/dl-machine.h: Likewise.
43138 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43139 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43140 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43141 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43142 * sysdeps/sh/dl-machine.h: Likewise.
43143 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43144 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43145 * sysdeps/unix/i386/sysdep.S: Likewise.
43146 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43147 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43148 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43149 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43150 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43151 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43152 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43153 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43154 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43155 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43156 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43157 * sysdeps/x86_64/dl-machine.h: Likewise.
43158 * tls.make.c: Likewise.
43160 * configure.in: Remove --with-__thread option. Make tests for
43161 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
43162 tls_model attribute fail if no support is available. Remove
43164 * Makeconfig: Adjust for dropped configure option. All features are
43166 * Makerules: Likewise.
43167 * Versions.def: Likewise.
43168 * argp/argp-fmtstream.c: Likewise.
43169 * argp/argp-fmtstream.h: Likewise.
43170 * argp/argp-help.c: Likewise.
43171 * assert/assert.c: Likewise.
43172 * config.h.in: Likewise.
43173 * config.make.in: Likewise.
43174 * configure: Likewise.
43175 * configure.in: Likewise.
43176 * csu/Versions: Likewise.
43177 * csu/init.c: Likewise.
43178 * elf/tst-audit2.c: Likewise.
43179 * elf/tst-tls10.c: Likewise.
43180 * elf/tst-tls10.h: Likewise.
43181 * elf/tst-tls11.c: Likewise.
43182 * elf/tst-tls12.c: Likewise.
43183 * elf/tst-tls14.c: Likewise.
43184 * elf/tst-tlsmod11.c: Likewise.
43185 * elf/tst-tlsmod12.c: Likewise.
43186 * elf/tst-tlsmod13.c: Likewise.
43187 * elf/tst-tlsmod13a.c: Likewise.
43188 * elf/tst-tlsmod14a.c: Likewise.
43189 * elf/tst-tlsmod15b.c: Likewise.
43190 * elf/tst-tlsmod16a.c: Likewise.
43191 * elf/tst-tlsmod16b.c: Likewise.
43192 * elf/tst-tlsmod7.c: Likewise.
43193 * elf/tst-tlsmod8.c: Likewise.
43194 * elf/tst-tlsmod9.c: Likewise.
43195 * gmon/gmon.c: Likewise.
43196 * grp/fgetgrent_r.c: Likewise.
43197 * grp/putgrent.c: Likewise.
43198 * hurd/fopenport.c: Likewise.
43199 * include/libc-symbols.h: Likewise.
43200 * include/tls.h: Likewise.
43201 * intl/gettextP.h: Likewise.
43202 * intl/loadinfo.h: Likewise.
43203 * locale/global-locale.c: Likewise.
43204 * locale/localeinfo.h: Likewise.
43205 * mach/devstream.c: Likewise.
43206 * malloc/arena.c: Likewise.
43207 * malloc/set-freeres.c: Likewise.
43208 * misc/err.c: Likewise.
43209 * misc/getttyent.c: Likewise.
43210 * misc/mntent_r.c: Likewise.
43211 * posix/getopt.c: Likewise.
43212 * posix/wordexp.c: Likewise.
43213 * pwd/fgetpwent_r.c: Likewise.
43214 * resolv/Versions: Likewise.
43215 * resolv/res_hconf.c: Likewise.
43216 * shadow/fgetspent_r.c: Likewise.
43217 * shadow/putspent.c: Likewise.
43218 * stdio-common/printf_fphex.c: Likewise.
43219 * stdio-common/tmpfile.c: Likewise.
43220 * stdlib/abort.c: Likewise.
43221 * stdlib/fmtmsg.c: Likewise.
43222 * sunrpc/auth_unix.c: Likewise.
43223 * sunrpc/clnt_perr.c: Likewise.
43224 * sunrpc/clnt_tcp.c: Likewise.
43225 * sunrpc/clnt_udp.c: Likewise.
43226 * sunrpc/clnt_unix.c: Likewise.
43227 * sunrpc/openchild.c: Likewise.
43228 * sunrpc/svc_simple.c: Likewise.
43229 * sunrpc/svc_tcp.c: Likewise.
43230 * sunrpc/svc_udp.c: Likewise.
43231 * sunrpc/svc_unix.c: Likewise.
43232 * sunrpc/xdr.c: Likewise.
43233 * sunrpc/xdr_array.c: Likewise.
43234 * sunrpc/xdr_rec.c: Likewise.
43235 * sunrpc/xdr_ref.c: Likewise.
43236 * sunrpc/xdr_stdio.c: Likewise.
43238 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43240 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43242 2011-07-03 Andreas Jaeger <aj@suse.de>
43244 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
43245 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
43246 regenerate with gen-libm-tests.pl.
43248 2010-05-12 Petr Baudis <pasky@suse.cz>
43251 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
43252 around j0() zero points by switching to j1().
43253 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43254 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43255 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43256 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43258 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43260 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
43262 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
43264 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43265 Patch in part by Pavel Roskin <proski@gnu.org>.
43268 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
43270 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
43271 Free memory block if necessary.
43274 * libio/genops.c (INTDEF): For string streams the _lock pointer can
43275 be NULL. Don't lock in this case.
43277 2011-09-09 Roland McGrath <roland@hack.frob.com>
43279 * elf/elf.h (ELFOSABI_GNU): New macro.
43280 (ELFOSABI_LINUX): Define to that.
43282 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
43284 * string/strncat.c (strncat): Undef the symbol in case it has been
43285 defined in bits/string.h.
43287 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43289 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
43291 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
43294 2011-08-17 Andreas Jaeger <aj@suse.de>
43296 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
43298 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
43299 Ian Lance Taylor <iant@google.com>
43301 * math/libm-test.inc (lround_test): New testcase.
43302 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
43304 2011-09-08 Ulrich Drepper <drepper@gmail.com>
43306 * Makefile: Remove support for automatic cvs check-ins.
43307 * Makerules: Likewise.
43308 * config.make.in: Likewise.
43309 * configure.in: Likewise.
43310 * intl/Makefile: Likewise.
43311 * locale/Makefile: Likewise.
43312 * po/Makefile: Likewise.
43313 * posix/Makefile: Likewise.
43314 * sysdeps/gnu/Makefile: Likewise.
43315 * sysdeps/mach/hurd/Makefile: Likewise.
43316 * sysdeps/sparc/sparc32/Makefile: Likewise.
43319 * posix/Makefile (bug-regex32-ENV): Define.
43320 Patch by John Stanley <jpsinthemix@verizon.net>.
43322 * misc/Makefile (headers): Add bits/select2.h.
43323 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
43324 * misc/bits/select2.h: New file.
43325 * include/bits/select2.h: New file.
43326 * debug/Makefile (routines): Add fdelt_chk.
43327 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
43328 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
43330 * debug/fdelt_chk.c: New file.
43332 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
43333 * wcsmbs/test-wmemcmp.c: Likewise.
43334 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
43335 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
43337 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43339 * string/Makefile (strop-tests): Add memcmp.
43340 * string/test-wmemcmp.c: New file.
43341 * string/test-memcmp.c: Add wmemcmp support.
43343 2011-09-08 Roland McGrath <roland@hack.frob.com>
43346 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
43349 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
43350 garbage value in a __mach_port_mod_refs call in the cases of the
43351 task-self and thread-self ports.
43353 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43355 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
43357 2011-09-08 Andreas Schwab <schwab@redhat.com>
43359 * elf/dl-load.c (lose): Check for non-null L.
43361 2011-09-07 Ulrich Drepper <drepper@gmail.com>
43363 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
43365 * elf/dl-libc.c (dlerror_run): Pass back error code from
43369 * elf/dl-load.c (lose): Free l_origin if it is valid.
43371 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
43373 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43374 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43375 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43376 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43377 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43378 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
43380 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43382 * sysdeps/powerpc/fpu/e_hypot.c: New file.
43383 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
43384 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
43385 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
43386 * sysdeps/powerpc/fpu/k_cosf.c: New file.
43387 * sysdeps/powerpc/fpu/k_sinf.c: New file.
43388 * sysdeps/powerpc/fpu/s_cosf.c: New file.
43389 * sysdeps/powerpc/fpu/s_sinf.c: New file.
43390 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
43391 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
43393 2011-08-15 Alan Modra <amodra@gmail.com>
43396 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
43397 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
43398 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
43399 ppc_mcount to static-only-routines.
43400 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
43402 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
43403 __mcount_internal with usual JUMPTARGET. Remove useless nop.
43405 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
43407 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
43408 for finite and infinity parameters.
43410 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43412 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
43413 and add nop instructions for throughput optimization.
43414 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43416 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
43418 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
43419 aligned copy for power7 with vector-scalar instructions.
43420 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43422 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
43424 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
43427 2011-09-07 Andreas Schwab <schwab@redhat.com>
43430 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
43433 2011-09-07 Ulrich Drepper <drepper@gmail.com>
43435 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43436 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
43437 syscall wrapper around clock_gettime in __vdso_clock_gettime.
43438 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
43441 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43443 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
43444 Forgot to demangle the pointer.
43446 * sysdeps/i386/sysdep.h: Define atom_text_section.
43447 * sysdeps/x86_64/sysdep.h: Likewise.
43448 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
43449 section with atom_text_section.
43450 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43451 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43452 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43453 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43454 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
43456 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
43457 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
43458 already be defined. Change to take two parameters and don't assign
43459 result to variable. Adjust all users.
43460 Define INTERNAL_GETTIME if not already defined.
43461 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
43463 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
43464 HAVE_CLOCK_GETTIME_VSYSCALL.
43465 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
43467 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
43468 gettimeofday vsyscall, just use time.
43470 2011-09-06 Andreas Schwab <schwab@redhat.com>
43472 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
43475 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43477 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
43479 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
43481 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
43482 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
43483 syscall if possible.
43485 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43487 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
43488 e_ident. Don't pass to find_mapsXX.
43489 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
43491 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43493 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43494 strchr-sse2-no-bsf strrchr-sse2-no-bsf
43495 * sysdeps/x86_64/multiarch/strchr.S: Update.
43496 Check bit_slow_BSF bit.
43497 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43498 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
43499 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
43501 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43504 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
43506 (tryshell): Define.
43507 (__spawni): Change last parameter to be flag. Test
43508 SPAWN_XFLAGS_USE_PATH flag to use path or not.
43509 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
43510 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
43511 * posix/spawni.c: Likewise.
43512 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
43513 * posix/spawnp.c: Likewise. Change normal version to use
43514 SPAWN_XFLAGS_USE_PATH.
43515 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
43516 SPAWN_XFLAGS_TRY_SHELL.
43519 * posix/glob.h: Remove gcc 1.x support.
43522 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
43524 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43526 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43527 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
43529 * sysdeps/i386/i686/multiarch/strchr.S: New file.
43530 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
43531 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
43532 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
43533 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
43534 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
43536 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43538 * sysdeps/x86_64/wcscmp.S: New file.
43540 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
43541 wcscmp-c wcscmp-sse2
43542 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
43543 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
43544 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
43545 * wcsmbs/wcscmp.c: Allow renaming.
43547 2011-09-05 David S. Miller <davem@davemloft.net>
43549 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
43550 stack slot, rather than the struct return pointer slot.
43551 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
43552 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
43553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
43554 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
43556 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43558 * po/ja.po: Update from translation team.
43561 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
43562 kernel in 64-bit binaries.
43564 2011-09-01 David S. Miller <davem@davemloft.net>
43566 * elf/elf.h (HWCAP_SPARC_*): Move to..
43567 * sysdeps/sparc/sysdep.h: this new file and add new values.
43568 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
43569 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
43570 _DL_HWCAP_COUNT to 24.
43571 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43573 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
43574 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
43575 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
43576 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
43577 instead of magic constants.
43578 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43580 2011-08-31 David S. Miller <davem@davemloft.net>
43582 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
43583 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
43584 Reimplement to do errno handling inline.
43585 (SYSCALL_ERROR_HANDLER): New macro.
43586 (__SYSCALL_STRING): Do not do errno handling in asm.
43587 (__CLONE_SYSCALL_STRING): Delete.
43588 (__INTERNAL_SYSCALL_STRING): Delete.
43589 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
43590 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
43591 (PSEUDO): Reimplement to do errno handling inline.
43592 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
43593 (SYSCALL_ERROR_HANDLER): New macro.
43594 (__SYSCALL_STRING): Do not do errno handling in asm.
43595 (__CLONE_SYSCALL_STRING): Delete.
43596 (__INTERNAL_SYSCALL_STRING): Delete.
43597 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
43598 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
43600 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
43601 (inline_syscall*): Add 'err' argument.
43602 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
43603 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
43604 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
43605 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
43607 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
43608 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43610 2011-08-30 Andreas Schwab <schwab@redhat.com>
43612 * elf/rtld.c (dl_main): Relocate objects in dependency order.
43614 2011-08-29 Jiri Olsa <jolsa@redhat.com>
43616 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
43619 2011-08-24 David S. Miller <davem@davemloft.net>
43621 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
43623 2011-08-24 Andreas Schwab <schwab@redhat.com>
43625 * elf/Makefile: Add rules to build and run unload8 test.
43626 * elf/unload8.c: New file.
43627 * elf/unload8mod1.c: New file.
43628 * elf/unload8mod1x.c: New file.
43629 * elf/unload8mod2.c: New file.
43630 * elf/unload8mod3.c: New file.
43632 * elf/dl-close.c (_dl_close_worker): Reset private search list if
43635 2011-08-23 David S. Miller <davem@davemloft.net>
43637 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
43638 subtract stack bias.
43639 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
43640 %sp not %fp in calculations.
43641 (_JMPBUF_UNWINDS_ADJ): Likewise.
43643 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
43644 (aio_suspend): Call it to force an exception region around the
43645 AIO_MISC_WAIT() invocation.
43647 2011-08-23 Andreas Schwab <schwab@redhat.com>
43649 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
43652 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
43654 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
43656 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
43657 and <dl-machine.h>.
43658 (Elf64_FuncDesc): Remove.
43660 2011-08-22 David S. Miller <davem@davemloft.net>
43662 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
43663 sigaltstack check, add missing cfi directives.
43664 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
43665 missing cfi directives, and sigaltstack handling.
43667 2011-08-16 Andreas Schwab <schwab@redhat.com>
43670 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
43671 object is seen twice.
43672 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43674 * elf/Makefile (distribute): Add tst-initorder2.c.
43675 (tests): Add tst-initorder2.
43676 (modules-names): Add tst-initorder2a tst-initorder2b
43677 tst-initorder2c tst-initorder2d. Add rules to build them.
43678 ($(objpfx)tst-initorder2.out): New rule.
43679 * elf/tst-initorder2.c: New file.
43680 * elf/tst-initorder2.exp: New file.
43682 2011-08-22 Andreas Schwab <schwab@redhat.com>
43684 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
43686 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
43687 dependencies back to end of function.
43689 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43690 $(elfobjdir)/ld.so.
43692 2011-08-21 Ulrich Drepper <drepper@gmail.com>
43694 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
43695 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
43696 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
43697 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
43698 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
43699 of __vdso_gettimeofday.
43700 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
43701 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
43703 (_libc_vdso_platform_setup): Remove initialization of
43704 __vdso_gettimeofday and __vdso_time.
43706 2011-08-20 Ulrich Drepper <drepper@gmail.com>
43708 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
43709 and fgetc_unlocked.
43710 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
43713 * elf/dl-open.c (add_to_global): Report additions to the global scope
43714 for LD_DEBUG=scopes.
43715 (dl_open_worker): Also print scope of newly loaded dependencies.
43716 (_dl_show_scope): Indicate if there is no scope.
43719 * stdio-common/Makefile (tests): Add bug24.
43720 * stdio-common/bug24.c: New file.
43722 2011-08-19 Andreas Jaeger <aj@suse.de>
43725 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
43726 non-existant file when using close-on-exec mode.
43728 2011-08-20 Ulrich Drepper <drepper@gmail.com>
43730 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
43731 the very first instruction.
43733 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
43734 the CFI state in the end.
43735 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
43736 inclusion of dl-trampoline.h.
43737 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
43739 2011-08-19 Andreas Schwab <schwab@redhat.com>
43741 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
43742 expectations for long double.
43744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
43745 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
43747 2011-08-14 David S. Miller <davem@davemloft.net>
43749 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
43750 artificual limit depends upon the system page size.
43752 2011-08-17 Ulrich Drepper <drepper@gmail.com>
43754 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
43755 * resolv/Makefile: Define CFLAGS-libresolv.
43757 2011-08-17 Andreas Schwab <schwab@redhat.com>
43759 * nss/makedb.c (compute_tables): Make variables used in nested
43762 2011-08-17 Ulrich Drepper <drepper@gmail.com>
43764 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
43765 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
43766 if buffer was too small.
43768 * elf/pldd.c (main): Attach to all threads in the process.
43769 Rewrite /proc handling to use *at functions.
43771 2011-08-16 Ulrich Drepper <drepper@gmail.com>
43773 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
43774 specifies first scope to show.
43775 (dl_open_worker): Update callers. Move printing scope of new
43776 object to before the relocation.
43777 * elf/rtld.c (dl_main): Update _dl_show_scope call.
43778 * sysdeps/generic/ldsodefs.h: Update declaration.
43780 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
43781 string for the scope number.
43783 2011-08-14 Ulrich Drepper <drepper@gmail.com>
43785 * nscd/servicescache.c (cache_addserv): Make sure written is always
43788 2011-08-14 Roland McGrath <roland@hack.frob.com>
43790 * sysdeps/i386/i486/bits/atomic.h
43791 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
43792 statement expression, so as to suppress "set but not used" warning.
43793 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
43795 * string/strncat.c (STRNCAT): Use prototype definition.
43797 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
43798 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
43800 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
43801 (localedef-modules): Add localedef.
43802 (locale-modules): Add locale.
43804 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
43805 * elf/rtld.c (dl_main): Invert order of assignment in last change,
43806 to avoid a warning.
43808 2011-08-14 David S. Miller <davem@davemloft.net>
43810 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
43811 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
43813 2011-08-13 Ulrich Drepper <drepper@gmail.com>
43815 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
43816 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
43817 * elf/rtld.c (dl_main): Set l_name of vDSO.
43818 Call _dl_show_scope when DL_DEBUG_SCOPES.
43819 (process_dl_debug): Recognize scopes flag and also set it for all.
43820 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
43821 Declare _dl_show_scope.
43823 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
43824 (do_dlopen): Pass caller_dlopen to dl_open.
43825 (__libc_dlopen_mode): Initialize caller_dlopen.
43827 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
43828 of libc. Make tolower call locale-independent. Optimize a bit by
43829 using isdigit instead of isalnum.
43830 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
43832 2011-08-12 Ulrich Drepper <drepper@gmail.com>
43834 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
43835 was a dependency or dynamically loaded.
43837 2011-08-11 Ulrich Drepper <drepper@gmail.com>
43839 * intl/l10nflist.c: Allow architecture-specific pop function.
43840 * sysdeps/x86_64/l10nflist.c: New file.
43842 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
43845 2011-08-10 Andreas Schwab <schwab@redhat.com>
43847 * include/dirent.h: Add libc_hidden_proto for scandirat and
43848 scandirat64. Don't declare __scandirat64.
43849 * dirent/scandirat.c: Add libc_hidden_def.
43850 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
43851 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
43853 2011-08-10 David S. Miller <davem@davemloft.net>
43855 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
43857 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43858 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43859 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43861 2011-08-09 Ulrich Drepper <drepper@gmail.com>
43863 * Versions.def [libc]: Add GLIBC_2.15.
43864 * dirent/Makefile (routines): Add scandirat and scandirat64.
43865 * dirent/Versions [libc]: Export scandirat and scandirat64 for
43867 * dirent/dirent.h: Declare scandirat and scandirat64.
43868 * dirent/scandirat.c: New file.
43869 * dirent/scandirat64.c: New file.
43870 * sysdeps/wordsize-64/scandirat.c: New file.
43871 * sysdeps/wordsize-64/scandirat64.c: New file.
43872 * dirent/opendir.c: Define opendirat.
43873 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
43875 * dirent/scandir64.c: Adjust for scandir.c change.
43876 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
43877 __scandirat64, and __scandir_cancel_handler.
43878 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
43879 additional parameter and use openat instead of open (outside of ld.so).
43880 Add new __opendir as wrapper around __opendirat.
43881 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
43882 here without requiring old scandirat implementation.
43884 2011-08-08 Ulrich Drepper <drepper@gmail.com>
43886 * dirent/scandir.c (cancel_handler): Renamed to
43887 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
43888 defined. Adjust users.
43889 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
43890 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
43892 2011-08-04 Ulrich Drepper <drepper@gmail.com>
43894 * string/test-string.h (IMPL): Use __STRING to expand name and then
43897 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
43900 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43902 * string/Makefile: Update.
43903 (strop-tests): Append strncat.
43904 * string/test-wcscmp.c: New file.
43905 New comprehensive test for wcscmp.
43906 * string/test-strcmp.c: Update.
43907 (WIDE): New define.
43909 2011-07-22 Andreas Schwab <schwab@redhat.com>
43911 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
43914 2011-07-26 Andreas Schwab <schwab@redhat.com>
43916 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43917 encoding to ACE if AI_IDN.
43919 2011-08-01 Jakub Jelinek <jakub@redhat.com>
43921 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
43922 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
43924 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43926 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
43927 Fix overflow bug in strncat.
43928 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43930 * string/test-strncat.c: Update.
43931 Add new tests for checking overflow bugs.
43933 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43935 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43936 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
43937 * sysdeps/i386/i686/multiarch/strcat.S: New file.
43938 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
43939 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
43940 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
43941 * sysdeps/i386/i686/multiarch/strncat.S: New file.
43942 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
43943 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
43945 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
43946 (USE_AS_STRCAT): Define.
43947 Add strcat and strncat support.
43948 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43950 2011-07-25 Andreas Schwab <schwab@redhat.com>
43952 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
43953 __n bigger than INT_MAX+1.
43954 (__strncmp_g): Likewise.
43956 2011-07-23 Ulrich Drepper <drepper@gmail.com>
43958 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
43959 * libio/stido.h: Likewise.
43961 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
43963 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
43966 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
43967 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43968 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43969 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
43970 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43973 * scripts/test-installation.pl: Don't expect libnss_test1 to be
43976 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
43978 (_dl_x86_64_save_sse): Likewise.
43980 2011-07-22 Ulrich Drepper <drepper@gmail.com>
43982 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
43984 (_dl_x86_64_save_sse): Likewise.
43986 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
43988 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
43990 2011-07-21 Andreas Schwab <schwab@redhat.com>
43992 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
43994 (_dl_x86_64_save_sse): Use correct AVX check.
43996 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43998 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
43999 bug in strncpy/strncat.
44000 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44002 2011-07-21 Ulrich Drepper <drepper@gmail.com>
44004 * string/tester.c (test_strcat): Add tests for different alignments
44005 of source and destination.
44006 (test_strncat): Likewise.
44008 2011-07-20 Ulrich Drepper <drepper@gmail.com>
44011 * posix/glob.c (glob): Check passed in values before using them in
44012 expressions to avoid some overflows.
44013 (glob_in_dir): Likewise.
44016 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44017 check for AVX enablement so that we don't crash with old kernels and
44019 * elf/tst-audit4.c: Add same checks here.
44020 * elf/tst-audit6.c: Likewise.
44022 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
44024 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
44026 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44028 2011-07-20 Ulrich Drepper <drepper@gmail.com>
44030 * po/cs.po: Update from translation team.
44031 * po/bg.po: Likewise.
44033 2011-07-12 Marek Polacek <mpolacek@redhat.com>
44035 * misc/sys/cdefs.h: Add support for const attribute.
44036 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44037 to gnu_dev_{major,minor,makedev} functions.
44039 2011-07-20 Marek Polacek <mpolacek@redhat.com>
44041 * intl/dcigettext.c (get_output_charset): Add missing bracket.
44043 2011-07-20 Andreas Schwab <schwab@redhat.com>
44045 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44048 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44050 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44051 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44052 register in order to avoid conflicts with the soft frame pointer
44053 being held in r11 when necessary.
44054 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44055 (INTERNAL_VSYSCALL_NCS): Likewise.
44057 2011-07-14 Marek Polacek <mpolacek@redhat.com>
44059 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44060 * elf/dl-fini.c (_dl_fini): Adjust caller.
44061 * elf/dl-close.c (_dl_close_worker): Likewise.
44062 * sysdeps/generic/ldsodefs.h: Adjust declaration.
44064 2011-07-15 Marek Polacek <mpolacek@redhat.com>
44066 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44067 "aux_cache->nlibs < 0".
44069 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44070 in the reload-count case.
44072 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44074 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44075 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44076 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44077 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44078 * sysdeps/x86_64/multiarch/strcat.S: New file.
44079 * sysdeps/x86_64/multiarch/strncat.S: New file.
44080 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44081 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44082 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44083 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44084 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44085 (USE_AS_STRCAT): Define.
44086 Add strcat and strncat support.
44087 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44088 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44089 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44090 * string/strncat.c: Update.
44091 (USE_AS_STRNCAT): Define.
44092 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44093 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44095 * sysdeps/x86_64/multiarch/init-arch.h
44096 (bit_Prefer_PMINUB_for_stringop): New.
44097 (index_Prefer_PMINUB_for_stringop): Likewise.
44098 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
44099 bit_Prefer_PMINUB_for_stringop.
44101 2011-07-19 Ulrich Drepper <drepper@gmail.com>
44103 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
44105 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
44106 of casting of buffer.
44107 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
44108 buffer32 and buffer64.
44109 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
44110 writes instead of casting of buffer.
44111 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
44113 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
44116 2011-07-19 Andreas Schwab <schwab@redhat.com>
44118 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
44120 2011-07-19 Ulrich Drepper <drepper@gmail.com>
44122 * nscd/nscd.c (termination_handler): Don't do anything for a database
44123 if it has not yet been initialized.
44125 2011-07-18 Ulrich Drepper <drepper@gmail.com>
44127 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44129 2011-07-15 Marek Polacek <mpolacek@redhat.com>
44131 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44133 2011-07-18 Ulrich Drepper <drepper@gmail.com>
44135 * po/nl.po: Update from translation team.
44136 * po/sv.po: Likewise.
44138 2011-07-16 Roland McGrath <roland@hack.frob.com>
44140 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
44141 now disallowed by GCC.
44143 * configure.in (use-default-link): Default to yes if a test -shared
44144 link meets our qualifications.
44145 * configure: Regenerated.
44147 * config.make.in (output-format): New variable.
44148 * configure.in: Check for ld --print-output-format support.
44149 * configure: Regenerated.
44150 * Makerules ($(common-objpfx)format.lds)
44151 [$(output-format) != unknown]: Just use $(output-format),
44152 instead of the linker-script munging.
44154 2011-07-14 Roland McGrath <roland@hack.frob.com>
44156 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
44157 of $(common-objpfx)shlib.lds.
44158 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
44160 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
44161 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
44163 * configure.in (-z relro check): Adjust test code to add a large
44164 writable data section after it.
44165 * configure: Regenerated.
44167 2011-07-11 Roland McGrath <roland@hack.frob.com>
44169 * configure.in (-z relro check): Fix test code to make the variable
44171 * configure: Regenerated.
44173 2011-07-11 Ulrich Drepper <drepper@gmail.com>
44175 * nscd/nscd.h (struct traced_file): Define.
44176 (struct database_dyn): Remove inotify_descr, reset_res, and filename
44177 elements. Add traced_files.
44178 (inotify_fd): Declare.
44179 (register_traced_file): Declare.
44180 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
44181 (inotify_fd): Export.
44182 (resolv_conf_descr): Remove.
44183 (nscd_init): Move inotify descriptor creation to main.
44184 Don't register files for notification here.
44185 (register_traced_file): New function.
44186 (invalidate_cache): Don't use reset_res to determine whether to call
44187 res_init, go through the list of registered files.
44188 (main_loop_poll): The inotify descriptors are now stored in the
44189 structures for the traced files.
44190 (main_loop_epoll): Likewise
44191 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
44192 to __nss_disable_nscd.
44193 * nscd/cache.c (prune_cache): There is no single inotify descriptor
44194 for a database anymore. Check the records for all the registered
44196 * nss/Makefile (libnss_files-routines): Add files-init.
44197 (libnss_db-routines): Add db-init.
44198 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
44199 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
44200 * nss/nss_db/db-init.c: New file.
44201 * nss/nss_files/files-init.c: New file.
44202 * nss/nsswitch.c (nss_load_library): New function. Broken out of
44203 __nss_lookup_function.
44204 (__nss_lookup_function): Call nss_load_library.
44205 (nss_load_all_libraries): New function.
44206 (__nss_disable_nscd): Take parameter with callback function for files
44207 to register. Set is_nscd. Load all the DSOs for the NSS modules
44208 used for the cached services.
44209 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
44210 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
44211 options for features to all the files in nscd.
44213 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
44215 2011-07-10 Roland McGrath <roland@hack.frob.com>
44217 * csu/elf-init.c (__libc_csu_init): Comment typo.
44219 2011-07-09 Ulrich Drepper <drepper@gmail.com>
44221 * po/pl.po: Update from translation team.
44222 * po/ja.po: Likewise.
44223 * po/ru.po: Likewise.
44224 * po/ko.po: Likewise.
44225 * po/fr.po: Likewise.
44227 2011-07-09 Roland McGrath <roland@hack.frob.com>
44229 * configure.in (.ctors/.dtors header and trailer check):
44230 Use an empirical test on a built program.
44231 * configure: Regenerated.
44233 * configure.in (-z relro check): Use an empirical test on a built DSO.
44234 Detect, but do not require, on ia64.
44235 * configure: Regenerated.
44237 * configure.in (READELF): Find it with AC_CHECK_TOOL.
44238 Update tests that use readelf to use $READELF instead.
44239 * configure: Regenerated.
44241 2011-07-08 Ulrich Drepper <drepper@gmail.com>
44243 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
44244 if the result is not used.
44246 2011-07-05 Andreas Jaeger <aj@suse.de>
44249 * stdlib/tst-strtod.c: Add testcase.
44251 2011-07-07 Ulrich Drepper <drepper@gmail.com>
44253 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
44254 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
44255 The latter has a higher limit. Take additional parameter to pass to
44257 (__pathconf): Pass file to __statfs_link_max.
44258 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
44260 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
44264 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
44265 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44267 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
44268 (__statfs_filesize_max): Likewise.
44269 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
44271 2011-07-05 Andreas Jaeger <aj@suse.de>
44273 * resolv/res_comp.c (dn_skipname): Remove unused variable.
44275 2011-07-06 Marek Polacek <mpolacek@redhat.com>
44277 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
44279 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
44282 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
44284 * Makefile (strop-tests): Add strncat.
44285 * string/test-strncat.c: New file.
44287 2011-06-30 Marek Polacek <mpolacek@redhat.com>
44289 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
44291 2011-06-21 Andreas Jaeger <aj@suse.de>
44293 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
44294 Copy rule from iconvdata/Makefile.
44296 2011-07-06 Ulrich Drepper <drepper@gmail.com>
44299 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
44300 but no long options are defined, just return 'W'.
44302 2011-06-22 Marek Polacek <mpolacek@redhat.com>
44305 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
44307 2011-07-06 Ulrich Drepper <drepper@gmail.com>
44309 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
44311 (innetgr): Likewise.
44313 2011-07-05 Roland McGrath <roland@hack.frob.com>
44315 * config.make.in (install_root): Default to $(DESTDIR).
44317 2011-07-05 Ulrich Drepper <drepper@gmail.com>
44319 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
44321 2011-07-02 Roland McGrath <roland@hack.frob.com>
44323 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
44325 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
44326 containing directory rather than embedding absolute directory names.
44328 * scripts/check-local-headers.sh: Rewritten using awk.
44329 Match by word, not by line. Print error messages for matches.
44330 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
44332 * Makerules [shlib-lds-flags empty]:
44333 ($(common-objpfx)libc_pic.opts): New target.
44334 ($(common-objpfx)libc_pic.os.clean): New target.
44335 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
44337 * config.make.in (OBJCOPY): New variable.
44338 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
44339 * configure: Regenerated.
44341 * config.make.in (use-default-link): New variable.
44342 * configure.in (use_default_link): Grok --with-default-link to set it.
44343 * configure: Regenerated.
44344 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
44345 (shlib-lds, shlib-lds-flags): Define to empty.
44347 * Makerules (shlib-lds): New variable.
44348 (shlib-lds-flags): New variable.
44349 (build-shlib, build-moduile, build-module-asneeded): Use it.
44350 ($(common-objpfx)libc.so): Use $(shlib-lds).
44351 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
44352 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
44354 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
44355 DT_FLAGS/DT_FLAGS_1 with zero flags.
44357 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
44358 linker script munging.
44360 2011-07-02 Ulrich Drepper <drepper@gmail.com>
44362 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
44364 * crypt/sha512.c (sha512_process_block): Perform total addition using
44365 128-bit if possible.
44366 (__sha512_finish_ctx): Likewise.
44367 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
44369 * crypt/sha256.c (SWAP64): Define.
44370 (sha256_process_block): Perform total addition using 64-bit if
44372 (__sha256_finish_ctx): Likewise.
44374 2011-07-01 Ulrich Drepper <drepper@gmail.com>
44376 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
44377 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44378 * nscd/hstcache.c (cache_addhst): Likewise.
44379 * nscd/grpcache.c (cache_addgr): Likewise.
44380 * nscd/aicache.c (addhstaiX): Likewise
44381 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
44383 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
44385 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
44386 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44387 * nscd/hstcache.c (cache_addhst): Likewise.
44388 * nscd/grpcache.c (cache_addgr): Likewise.
44389 * nscd/aicache.c (addhstaiX): Likewise
44391 2011-07-01 Andreas Schwab <schwab@redhat.com>
44393 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
44394 domain only when needed.
44396 2011-06-30 Andreas Schwab <schwab@redhat.com>
44398 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
44399 is always restored.
44401 2011-06-29 Ulrich Drepper <drepper@gmail.com>
44403 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
44404 are re-adding the entry.
44405 * nscd/servicescache.c (cache_addserv): Likewise.
44407 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
44409 * sysdeps/generic/dl-irel.h: fix protection against multiple
44411 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
44413 2011-06-28 Ulrich Drepper <drepper@gmail.com>
44416 * malloc/memusage.sh: Fix quoting in message.
44417 * debug/xtrace.sh: Likewise.
44419 * configure.in: Remove support for --experimental-malloc option, make
44421 * config.make.in: Likewise.
44422 * malloc/Makefile: Likewise.
44424 2011-06-27 Andreas Schwab <schwab@redhat.com>
44426 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
44427 two-byte characters.
44429 2011-06-27 Roland McGrath <roland@hack.frob.com>
44431 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
44432 AC_CACHE_CHECK invocation.
44433 * configure: Regenerated.
44435 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
44437 2011-06-27 Ulrich Drepper <drepper@gmail.com>
44440 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
44441 bit from old_res_options.
44443 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
44445 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
44446 value type for setfct.
44448 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
44450 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44451 __gettimeofday instead of gettimeofday.
44453 2011-06-26 Ulrich Drepper <drepper@gmail.com>
44455 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44457 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
44459 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
44461 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
44464 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44466 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44467 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44468 strcpy-sse2-unaligned strncpy-sse2-unaligned
44469 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
44470 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
44471 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
44472 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
44473 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
44474 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
44475 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
44476 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
44477 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
44478 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
44479 (STRCPY): Support SSE2 and SSSE3 versions.
44481 2011-06-24 Ulrich Drepper <drepper@gmail.com>
44484 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
44485 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
44486 kernels which artificially limit size of requests.
44488 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44490 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44491 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44492 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
44493 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
44494 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
44495 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
44496 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
44497 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
44498 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
44499 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
44500 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
44501 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
44502 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
44503 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
44504 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
44505 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44506 Enable unaligned load optimization for Intel Core i3, i5 and i7
44508 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
44510 (index_Fast_Unaligned_Load): Define.
44511 (HAS_FAST_UNALIGNED_LOAD): Define.
44513 2011-06-23 Marek Polacek <mpolacek@redhat.com>
44515 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
44517 2011-06-22 Ulrich Drepper <drepper@gmail.com>
44520 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
44521 until it is clear that the information is realy needed.
44522 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
44524 2011-06-22 Andreas Schwab <schwab@redhat.com>
44526 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
44528 2011-06-22 Ulrich Drepper <drepper@gmail.com>
44530 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44531 /sys/devices/system/cpu/online if it is usable.
44533 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
44534 reading the information from the /proc filesystem to once a second.
44536 2011-06-21 Andreas Jaeger <aj@suse.de>
44538 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
44539 NULL after inclusion of kernel headers.
44541 2011-06-21 Ulrich Drepper <drepper@gmail.com>
44543 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
44544 calls to internal_setent.
44547 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
44548 addresses using gethostbyname4_r ignore IPv4 addresses.
44550 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
44551 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
44553 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
44555 2011-06-20 David S. Miller <davem@davemloft.net>
44557 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
44559 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
44561 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
44562 (elf_irel): Use it.
44563 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
44564 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
44565 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
44566 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
44567 * sysdeps/x86_64/dl-irel.h: Likewise.
44569 * elf/dl-runtime.c: Use elf_ifunc_invoke.
44570 * elf/dl-sym.c: Likewise.
44572 2011-06-15 Ulrich Drepper <drepper@gmail.com>
44574 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
44575 need to dereference resplen2.
44577 2011-06-14 Andreas Schwab <schwab@redhat.com>
44579 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
44581 2011-06-15 Ulrich Drepper <drepper@gmail.com>
44583 * Makeconfig: Define vardbdir and inst_vardbdir.
44584 * nss/Makefile: Add rules to install db-Makefile.
44586 * nss/nss_db/db-XXX.c: Cleanup.
44588 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
44589 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
44591 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
44592 * nss/makedb.c: Implement -g option to specify that value strings
44593 are generated and should not be added to table iterated over for
44595 * nss/nss_db/db-initgroups.c: New file.
44597 * nss/getent.c: Add support for initgroups lookups through getgrouplist
44600 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
44601 (internal_getgrouplist): Adjust to name change.
44602 Update use_initgroups_entry if this is not the first call.
44603 * nss/databases.def: Add initgroups entry.
44605 * nss/makedb.c (compute_tables): Check result of multiple hash table
44606 sizes to minimize maximum chain length.
44608 2011-06-14 Ulrich Drepper <drepper@gmail.com>
44610 * Versions.def: Add entry for libnss_db.
44611 * shlib-versions: Likewise.
44612 * nss/Makefile: Add rules to build libnss_db.
44613 * nss/Versions: Add libnss_db information. Organize libnss_files
44615 * nss/db-Makefile: Add gshadow support. Change rules for the new
44616 makedb progra. Some minor improvements to generate smaller files.
44617 * nss/nss_db/nss_db.h: Move NSS database header data structures to
44619 * nss/makedb.c: ...here.
44620 Improve database format to be smaller and require less memory at
44622 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
44624 * nss/nss_db/db-netgrp.c: Likewise.
44625 * nss/nss_db/db-open.c: Likewise.
44626 * nss/nss_files/flies-XXX.x: Adjust comments.
44627 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
44628 * nss/nss_files/files-grp.c: Likewise.
44629 * nss/nss_files/files-hosts.c: Likewise.
44630 * nss/nss_files/files-network.c: Likewise.
44631 * nss/nss_files/files-proto.c: Likewise.
44632 * nss/nss_files/files-pwd.c: Likewise.
44633 * nss/nss_files/files-rpc.c: Likewise.
44634 * nss/nss_files/files-service.c: Likewise.
44635 * nss/nss_files/files-sgrp.c: Likewise.
44636 * nss/nss_files/files-spwd.c: Likewise.
44637 * nss/nss_db/db-alias.c: Removed.
44638 * nss/nss_db/dummy-db.h: Removed.
44640 2011-06-02 Ulrich Drepper <drepper@gmail.com>
44642 * nss/makedb.c: Rewritten to not use database library.
44643 * nss/Makefile: Update to build new makedb program.
44645 2011-06-14 Andreas Jaeger <aj@suse.de>
44647 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
44648 memset declaration.
44650 2011-06-10 Andreas Schwab <schwab@redhat.com>
44652 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
44655 2011-06-10 Roland McGrath <roland@hack.frob.com>
44657 * Makerules (shlib.lds): Fail if the linker script comes out empty.
44658 * elf/Makefile ($(objpfx)ld.so): Likewise.
44660 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
44661 Don't list ld.so twice in dependencies.
44663 * posix/bug-regex31.c: Include <stdlib.h>.
44665 * nscd/hstcache.c (cache_addhst): Remove unused variable.
44667 * nis/nss_compat/compat-spwd.c
44668 (getspent_next_nss_netgr): Remove unused variable.
44669 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
44671 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
44672 nonmembers" output to use the right array.
44674 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
44676 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
44678 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
44679 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
44680 * catgets/gencat.c (read_input_file): Likewise.
44681 * locale/programs/locarchive.c (enlarge_archive): Likewise.
44683 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
44684 variable definition inside #if's controlling its use.
44686 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
44688 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
44690 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
44692 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
44695 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
44697 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
44698 * configure: Regenerated.
44700 * Makerules: Revert last change.
44701 * elf/Makefile: Likewise.
44703 2011-06-09 Roland McGrath <roland@hack.frob.com>
44705 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
44706 * elf/Makefile ($(objpfx)librtld.os): Likewise.
44707 (reloc-link): Likewise.
44709 2011-06-09 Ulrich Drepper <drepper@gmail.com>
44711 * elf/Makefile: Add rules to build pldd.
44712 * elf/pldd.c: New file.
44713 * elf/pldd-xx.c: New file.
44715 2011-06-07 Ulrich Drepper <drepper@gmail.com>
44717 * version.h: Update for 2.15 development version.
44719 2011-06-07 David S. Miller <davem@davemloft.net>
44721 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
44723 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
44724 elf_machine_lazy_rel): Likewise.
44725 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44726 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
44727 elf_machine_lazy_rel): Likewise.
44728 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
44729 dl_hwcap via passed in argument.
44730 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
44733 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44735 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
44737 2011-06-06 Roland McGrath <roland@hack.frob.com>
44740 * manual/fdl-1.1.texi: New file, verbatim from:
44741 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
44742 * manual/lgpl-2.1.texi: New file, verbatim from:
44743 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
44744 * manual/Makefile (licenses): New variable, list those new file names.
44746 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
44748 * manual/fdl.texi: File removed.
44749 * manual/lesser.texi: File removed.
44750 * manual/libc.texinfo (Copying, Documentation License):
44751 Use new @include file names, put @appendix directive before @include.
44753 2011-06-04 Jakub Jelinek <jakub@redhat.com>
44756 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
44757 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
44758 (mq_open): Add __NTH.
44760 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
44762 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44763 Assume Intel Core i3/i5/i7 processor if AVX is available.
44765 2011-05-31 Ulrich Drepper <drepper@gmail.com>
44767 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44770 2011-05-31 Andreas Schwab <schwab@redhat.com>
44772 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
44773 memory. Use alloca_account. Fix memory leak when retrying.
44775 2011-05-31 Ulrich Drepper <drepper@gmail.com>
44777 * version.h (RELEASE): Bump for 2.14 release.
44778 * include/features.h (__GLIBC_MINOR__): Bump to 14.
44780 * config.make.in (RANLIB): Remove entry.
44782 2011-05-30 Ulrich Drepper <drepper@gmail.com>
44784 * po/Makefile (po-sed-cmd): Add ksh to extensions.
44785 (libc.pot): Work around missing support for .ksh extension in xgettext.
44788 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
44789 if both request failed.
44790 (send_dg): In case of server errors clear resplen or *resplen2.
44793 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
44794 when there are multiple maps.
44795 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
44796 (_dl_fini): Remove test here.
44798 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
44800 2011-05-29 Ulrich Drepper <drepper@gmail.com>
44803 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
44804 bit from old_res_options.
44805 (gaih_inet): Likewise.
44808 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
44811 * resolv/res_init.c (res_setoptions): Make the code more compact.
44814 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
44818 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
44820 * malloc/malloc.h: Mark malloc hook variables as deprecated.
44823 * malloc/malloc.h: Declare malloc hook variables as volatile.
44825 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
44829 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
44830 raise in the comment.
44831 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44832 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44833 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
44835 2011-05-28 Ulrich Drepper <drepper@gmail.com>
44838 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
44839 grow the buffers more if it already has to be sufficient.
44840 (build_wcs_upper_buffer): Likewise.
44841 * posix/regexec.c (check_matching): Likewise.
44842 (clean_state_log_if_needed): Likewise.
44843 (extend_buffers): Don't enlarge buffers beyond size of the input
44845 Patches mostly by Emil Wojak <emil@wojak.eu>.
44846 * posix/bug-regex32.c: New file.
44847 * posix/Makefile (tests): Add bug-regex32.
44849 * locale/findlocale.c (_nl_find_locale): Return right away if
44850 _nl_explode_name failed.
44851 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
44853 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
44855 * debug/xtrace.sh: Unify messages.
44856 * malloc/memusage.sh: Likewise.
44859 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
44860 time symbol from vDSO. Substitute with vsyscall if not available.
44861 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
44864 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
44865 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
44866 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
44867 Add sendmmsg and internal_sendmmsg.
44868 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
44869 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
44870 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
44872 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
44873 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
44874 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
44876 2011-05-27 Ulrich Drepper <drepper@gmail.com>
44879 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
44880 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
44882 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
44886 * iconvdata/Makefile (tests): Add bug-iconv9.
44887 * iconvdata/bug-iconv9.c: New file.
44889 2011-05-27 Andreas Schwab <schwab@redhat.com>
44892 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
44894 2011-05-25 Jakub Jelinek <jakub@redhat.com>
44896 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44897 (struct user_regs_struct): Change intcs field back to cs.
44899 2011-05-25 Ulrich Drepper <drepper@gmail.com>
44901 * po/ja.po: Update from translation team.
44903 2011-05-23 Ulrich Drepper <drepper@gmail.com>
44906 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
44907 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
44909 2011-05-20 Andreas Schwab <schwab@redhat.com>
44911 * stdlib/longlong.h: Update from GCC.
44913 2011-05-23 Andreas Schwab <schwab@redhat.com>
44915 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
44917 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
44918 Add parameter name.
44919 (__sysconf): Pass it down.
44921 2011-05-22 Ulrich Drepper <drepper@gmail.com>
44924 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
44926 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44927 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
44928 add in in __libc_use_alloca calls. Adjust callers.
44929 (glob): Use malloc in some situations.
44931 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
44932 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
44935 2011-05-21 Ulrich Drepper <drepper@gmail.com>
44937 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
44938 and CLOCK_BOOTTIME_ALARM.
44941 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
44944 * string/_strerror.c (__strerror_r): Print negative errors as signed
44948 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
44949 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
44950 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
44952 * configure.in: Fix typo in redirection and correct removal of test
44953 files in two cases.
44956 * locale/setlocale.c (new_composite_name): Fix test to check for
44957 identical name of all categories.
44960 * libio/filedoalloc.c (local_isatty): New function.
44961 (_IO_file_doallocate): Use local_isatty.
44962 * stdio-common/perror.c (perror): In case a new stream is used
44963 forward the stream error.
44964 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
44967 2011-05-20 Ulrich Drepper <drepper@gmail.com>
44970 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
44972 * include/alloca.h (extend_alloca_account): Define.
44975 * posix/regex.h: Fix comments with documentation of user-accessible
44976 fields after compilation and describe correct free'ing of pattern
44977 after re_compile_pattern.
44978 Patch by Reuben Thomas <rrt@sc3d.org>.
44980 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
44982 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
44983 and -mno-altivec to prevent the compiler from using Altivec and/or
44984 VSX instructions when the corresponding registers are not available.
44986 2011-05-19 Andreas Schwab <schwab@redhat.com>
44988 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
44990 2011-05-19 Ulrich Drepper <drepper@gmail.com>
44992 * libio/freopen.c (freopen): Use __dup2, not dup2.
44993 * libio/freopen64.c (freopen64): Likewise.
44995 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
44998 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
44999 * math/Makefile (tests): Add test-powl.
45000 (CFLAGS-test-powl.c): Define.
45001 * math/test-powl.c: New file.
45003 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
45005 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45007 2011-05-17 Ulrich Drepper <drepper@gmail.com>
45010 * iconvdata/gb18030.c: Update to GB18020-2005.
45012 2011-05-16 Ulrich Drepper <drepper@gmail.com>
45014 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45015 RE_SYNTAX_POSIX_AWK): Update to match recent development.
45016 Patch by Aharon Robbins <arnold@skeeve.com>.
45019 * stdlib/putenv.c (putenv): Don't always create copy of the variable
45023 * misc/pselect.c (__pselect): Handle timeout value errors hidden
45024 through underflows.
45027 * misc/error.c (error_at_line): Ensure file_name and old_file_name
45028 point to strings before performing equality test for error_one_per_line
45032 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45035 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45036 (struct user_fpregs_struct): Avoid __uint*_t types.
45039 * malloc/mtrace.c (tr_where): Add additional parameter to point to
45040 symbol info. Use it instead of calling _dl_addr locally.
45041 (lock_and_info): New function.
45042 (tr_freehook): Call lock_and_info and pass symbol info as additional
45043 parameter to tr_where.
45044 (tr_mallochook): Likewise.
45045 (tr_reallochook): Likewise.
45046 (tr_memalignhook): Likewise.
45048 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
45049 used and couldn't be at all thread-safe.
45051 2011-05-15 Ulrich Drepper <drepper@gmail.com>
45053 * libio/freopen.c (freopen): Don't close old file descriptor
45054 before the new one is opened. Instead dup the new file descriptor
45055 to the old one after the new stream is created.
45056 * libio/freopen64.c (freopen64): Likewise.
45057 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45058 * libio/fileops.c (_IO_new_file_close_it): Handle new
45059 _IO_FLAGS2_NOCLOSE flag.
45060 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45061 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45062 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45063 _IO_FLAGS2_NOCLOSE flag.
45064 * include/unistd.h: Add hidden_proto for dup3.
45065 Define __have_dup3.
45066 * io/dup3.c: Define hidden symbol.
45067 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45070 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45071 when an incomplete long option is used.
45072 * posix/tst-getopt_long1.c: New file.
45073 * posix/Makefile (tests): Add tst-getopt_long1.
45076 * scripts/config.guess: Update from autoconf-2.68.
45077 * scripts/config.sub: Likewise.
45080 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45082 (has_cpuclock): ...this. New function.
45083 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45084 macro here based on has_cpuclock code.
45087 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45088 First byte (not low byte) is now always NUL.
45089 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45091 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45092 Use non-cancelable interfaces.
45095 * locale/iso-639.def: Add entry for Sorani.
45098 * include/stdlib.h: Move include protection to the right place.
45099 Define abort_msg_s. Declare __abort_msg with it.
45100 * stdlib/abort.c (__abort_msg): Adjust type.
45101 * assert/assert.c (__assert_fail_base): New function. Majority
45102 of code from __assert_fail. Allocate memory for __abort_msg with
45104 (__assert_fail): Now call __assert_fail_base.
45105 * assert/assert-perr.c: Remove bulk of implementation. Use
45106 __assert_fail_base.
45107 * include/assert.hL Declare __assert_fail_base.
45108 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
45110 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
45112 2011-05-14 Ulrich Drepper <drepper@gmail.com>
45116 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
45117 until all modules are registered in the DTV.
45118 * elf/Makefile: Add rules to build and run tst-tls19.
45119 * elf/tst-tls19.c: New file.
45120 * elf/tst-tls19mod1.c: New file.
45121 * elf/tst-tls19mod2.c: New file.
45122 * elf/tst-tls19mod3.c: New file.
45123 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
45126 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
45130 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
45131 two-byte sequence errors.
45132 * iconvdata/Makefile (tests): Add bug-iconv8.
45133 * iconvdata/bug-iconv8.c: New file.
45136 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
45139 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
45142 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
45143 (dummy_getcfa): New function.
45144 (init): Get _Unwind_GetCFA address, use dummy if not found.
45145 (backtrace_helper): In recursion check, also check whether CFA changes.
45146 (__backtrace): Completely initialize arg.
45148 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
45149 storing incomplete byte sequence in state object. Avoid testing for
45150 guaranteed too small input if we know there is enough data available.
45152 2011-05-11 Andreas Schwab <schwab@redhat.com>
45154 * Makeconfig (+link-pie): Indent.
45155 * Rules (binaries-pie): Define if $(have-fpie) and
45157 (binaries-shared): Also filter out $(binaries-pie).
45158 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
45159 * nscd/Makefile (others-pie): Add nscd.
45160 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
45161 ($(objpfx)nscd): Remove command override.
45162 * login/Makefile (others-pie): Add pt_chown.
45163 ($(objpfx)pt_chown): Remove command override.
45164 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
45165 remove command overrides.
45167 2011-05-13 Ulrich Drepper <drepper@gmail.com>
45169 * libio/tst_putwc.c: Fix error messages.
45172 * libio/fileops.c (_IO_new_file_close_it): Always flush when
45173 currently writing and seek to current position when not.
45174 * libio/Makefile (tests): Add bug-fclose1.
45175 * libio/bug-fclose1.c: New file.
45177 2011-05-12 Ulrich Drepper <drepper@gmail.com>
45180 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
45181 don't set DF_1_NODELETE here.
45182 (do_lookup_x): When entering new entry test for copy relocation
45183 and if necessary set DF_1_NODELETE flag.
45184 * elf/tst-unique4.cc: New file.
45185 * elf/tst-unique4.h: New file.
45186 * elf/tst-unique4lib.cc: New file.
45187 * elf/Makefile: Add rules to build and run tst-unique4.
45188 Patch by Piotr Bury <pbury@goahead.com>.
45190 2011-05-11 Ulrich Drepper <drepper@gmail.com>
45193 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
45196 * misc/mntent_r.c (addmntent): Flush the stream after the output
45199 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
45200 (is_trusted_path_normalize): Skip initial colon. Append slash
45201 to empty buffer. Duplicate is_trusted_path code but allow
45202 constructed patch to be prefix.
45203 (is_dst): Allow $ORIGIN followed by /.
45204 (_dl_dst_substitute): Correct clearing of check_for_trusted.
45205 Correct testing of result of is_trusted_path_normalize
45206 (decompose_rpath): Fix warning.
45208 2011-05-10 Ulrich Drepper <drepper@gmail.com>
45211 * grp/initgroups.c (internal_getgrouplist): When we found the service
45212 list through the initgroups entry in nsswitch.conf do not always
45213 continue on a successful lookup. Don't always use the
45214 __nss_group_database value if it is set.
45215 * nss/nsswitch.conf (initgroups): Change action for successful db
45216 lookup to continue for compatibility.
45218 2011-05-09 Ulrich Drepper <drepper@gmail.com>
45221 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
45223 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
45225 * iconvdata/tst-tables.sh: Likewise.
45226 * iconvdata/cp770.c: New file.
45227 * iconvdata/cp771.c: New file.
45228 * iconvdata/cp772.c: New file.
45229 * iconvdata/cp773.c: New file.
45230 * iconvdata/cp774.c: New file.
45231 * iconvdata/testdata/CP770: New file.
45232 * iconvdata/testdata/CP770..UTF8: New file.
45233 * iconvdata/testdata/CP771: New file.
45234 * iconvdata/testdata/CP771..UTF8: New file.
45235 * iconvdata/testdata/CP772: New file.
45236 * iconvdata/testdata/CP772..UTF8: New file.
45237 * iconvdata/testdata/CP773: New file.
45238 * iconvdata/testdata/CP773..UTF8: New file.
45239 * iconvdata/testdata/CP774: New file.
45240 * iconvdata/testdata/CP774..UTF8: New file.
45242 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
45244 * iconvdata/gen-8bit-gap.sh: Likewise.
45245 * iconvdata/gen-8bit.sh: Likewise.
45247 * locale/iso-639.def: Add ary entry.
45250 * locale/C-translit.h.in: Add U20A1 transliteration.
45253 * locale/iso-639.def: Add wae entry.
45254 Patch by Kevin Bortis <bortis@translate-wae.ch>.
45257 * locale/programs/localedef.c (construct_output_path): Use ssize_t
45261 * locale/C-translit.h.in: Add entry for U20B9.
45262 Patch by pravin.d.s@gmail.com.
45264 2011-05-08 Ulrich Drepper <drepper@gmail.com>
45267 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
45268 ENAMETOOLONG use generic getcwd.
45269 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
45270 in rtld. Use *stat64.
45271 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
45272 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
45273 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
45274 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
45275 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
45276 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
45277 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
45278 __fstatat64 macros.
45279 * include/dirent.h: Add libc_hidden_proto for rewinddir.
45280 * dirent/rewinddir.c: Add libc_hidden_def.
45281 * sysdeps/mach/hurd/rewinddir.c: Likewise.
45282 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
45284 * include/dirent.h (__alloc_dir): Add flags parameter.
45285 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
45286 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
45288 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
45289 from fdopendir if O_CLOEXEC is already set.
45291 2011-03-15 Alan Modra <amodra@gmail.com>
45293 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
45294 l_tls_firstbyte_offset non-zero. Save padding offset in
45295 l_tls_firstbyte_offset for later use.
45296 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
45297 freeing static tls block.
45299 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
45301 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
45302 where #ifdef was intended. The intent is to prevent ARG_MAX from
45303 being defined by the kernel headers.
45305 2011-05-07 Ulrich Drepper <drepper@gmail.com>
45308 * resolv/resolv.h: Define RES_NOTLDQUERY.
45309 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
45310 no-tld-query and set RES_NOTLDQUERY.
45311 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
45312 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
45313 modern BIND to search name as TLD unless forbidden.
45315 2011-05-07 Petr Baudis <pasky@suse.cz>
45316 Ulrich Drepper <drepper@gmail.com>
45319 * elf/dl-load.c (fillin_rpath): Move trusted path check...
45320 (is_trusted_path): ...to here.
45321 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
45322 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
45323 using is_trusted_path_normalize() in setuid scripts.
45325 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45327 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
45328 __BEGIN/__END_DECLS.
45330 2011-05-06 Ulrich Drepper <drepper@gmail.com>
45332 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
45333 NSS_STATUS_NOTFOUND if no record was found.
45335 2011-05-05 Andreas Schwab <schwab@redhat.com>
45337 * sunrpc/Makefile (headers): Add rpc/netdb.h.
45338 (headers-not-in-tirpc): Remove rpc/netdb.h
45339 * resolv/netdb.h: Revert last change.
45341 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45343 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
45344 circular dependency between libgcc.a and libc.a.
45346 2011-05-05 Andreas Schwab <schwab@redhat.com>
45348 * resolv/netdb.h: Don't include <rpc/netdb.h>.
45349 * nis/Makefile: Don't install rpcsvc/*.
45350 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
45351 instead of <rpc/types.h>.
45352 (MAXHOSTNAMELEN): Define.
45354 2011-05-03 Andreas Schwab <schwab@redhat.com>
45356 * elf/ldconfig.c (add_dir): Don't crash on empty path.
45358 2011-04-28 Maciej Babinski <mbabinski@google.com>
45361 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
45362 gethostbyname4_r when IPv6 results are possible.
45364 2011-05-02 Ulrich Drepper <drepper@gmail.com>
45367 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
45368 _PC_PIPE_BUF handling.
45370 2011-04-30 Bruno Haible <bruno@clisp.org>
45373 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
45374 * resolv/netdb.h (getnameinfo): Change type of flags parameter
45376 * inet/getnameinfo.c (getnameinfo): Likewise.
45378 2011-04-29 Ulrich Drepper <drepper@gmail.com>
45380 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
45381 to groups setting in database lookup.
45382 * nss/nsswitch.conf: Add initgroups entry.
45384 2011-04-22 Ulrich Drepper <drepper@gmail.com>
45387 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
45389 Patch by Eric Blake <eblake@redhat.com>.
45391 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
45393 * sunrpc/Makefile (need-export-routines): Add svc_run.
45394 (routines): Remove svc_run.
45395 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
45396 * sunrpc/clnt_perr.c (clnt_perrno): Export.
45397 * sunrpc/svc_run.c (svc_run): Likewise.
45398 * sunrpc/svc_udp.c (svcudp_create): Likewise.
45400 2011-04-21 Ulrich Drepper <drepper@gmail.com>
45402 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
45403 problem in reallocation in last patch.
45405 2011-04-20 Ulrich Drepper <drepper@gmail.com>
45407 * sunrpc/Makefile: Move inclusion of Rules.
45409 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45411 * nss/nss_files/files-initgroups.c: New file.
45412 * nss/Makefile (libnss_files-routines): Add files-initgroups.
45413 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
45414 _nss_files_initgroups_dyn.
45416 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
45418 * elf/elf.h (R_ARM_IRELATIVE): Define.
45420 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45422 * po/ru.po: Update from translation team.
45424 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45426 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
45429 2011-02-06 Mike Frysinger <vapier@gentoo.org>
45432 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
45433 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
45434 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45435 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45436 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45438 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
45440 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
45442 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45443 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45444 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45446 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45449 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
45451 * stdlib/bug-getcontext.c: New file.
45452 * stdlib/Makefile: Add rules to build and run bug-getcontext.
45454 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45456 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
45457 instructions into .machine "z9-109".
45458 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
45459 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
45461 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45463 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45464 between environment variables and auxiliary vector.
45466 2011-04-16 Ulrich Drepper <drepper@gmail.com>
45468 * Makefile: Add rules to build linkobj/libc.so.
45469 * include/libc-symbols.h: Define libc_hidden_nolink.
45470 * include/rpc/auth.h: Mark functions which are to be hidden.
45471 * include/rpc/auth_des.h: Likewise.
45472 * include/rpc/auth_unix.h: Likewise.
45473 * include/rpc/clnt.h: Likewise.
45474 * include/rpc/des_crypt.h: Likewise.
45475 * include/rpc/key_prot.h: Likewise.
45476 * include/rpc/pmap_clnt.h: Likewise.
45477 * include/rpc/pmap_prot.h: Likewise.
45478 * include/rpc/pmap_rmt.h: Likewise.
45479 * include/rpc/rpc_msg.h: Likewise.
45480 * include/rpc/svc.h: Likewise.
45481 * include/rpc/svc_auth.h: Likewise.
45482 * include/rpc/xdr.h: Likewise.
45483 * nis/Makefile: Link all DSOs against linkobj/libc.so.
45484 * nss/Makefile: Likewise.
45485 * sunrpc/Makefile: Don't install headers. Build library with normal
45486 entry points. Don't build rpcinfo. Link RPC tests appropriately.
45487 * sunrpc/auth_des.c: Hide exported symbols by default, export some
45488 for the compat linking library. Remove use of INTDEF/INTUSE.
45489 * sunrpc/auth_none.c: Likewise.
45490 * sunrpc/auth_unix.c: Likewise.
45491 * sunrpc/authdes_prot.c: Likewise.
45492 * sunrpc/authuxprot.c: Likewise.
45493 * sunrpc/clnt_gen.c: Likewise.
45494 * sunrpc/clnt_perr.c: Likewise.
45495 * sunrpc/clnt_raw.c: Likewise.
45496 * sunrpc/clnt_simp.c: Likewise.
45497 * sunrpc/clnt_tcp.c: Likewise.
45498 * sunrpc/clnt_udp.c: Likewise.
45499 * sunrpc/clnt_unix.c: Likewise.
45500 * sunrpc/des_crypt.c: Likewise.
45501 * sunrpc/des_soft.c: Likewise.
45502 * sunrpc/get_myaddr.c: Likewise.
45503 * sunrpc/key_call.c: Likewise.
45504 * sunrpc/key_prot.c: Likewise.
45505 * sunrpc/netname.c: Likewise.
45506 * sunrpc/pm_getmaps.c: Likewise.
45507 * sunrpc/pm_getport.c: Likewise.
45508 * sunrpc/pmap_clnt.c: Likewise.
45509 * sunrpc/pmap_prot.c: Likewise.
45510 * sunrpc/pmap_prot2.c: Likewise.
45511 * sunrpc/pmap_rmt.c: Likewise.
45512 * sunrpc/publickey.c: Likewise.
45513 * sunrpc/rpc_cmsg.c: Likewise.
45514 * sunrpc/rpc_common.c: Likewise.
45515 * sunrpc/rpc_dtable.c: Likewise.
45516 * sunrpc/rpc_prot.c: Likewise.
45517 * sunrpc/rpc_thread.c: Likewise.
45518 * sunrpc/rtime.c: Likewise.
45519 * sunrpc/svc.c: Likewise.
45520 * sunrpc/svc_auth.c: Likewise.
45521 * sunrpc/svc_authux.c: Likewise.
45522 * sunrpc/svc_raw.c: Likewise.
45523 * sunrpc/svc_run.c: Likewise.
45524 * sunrpc/svc_simple.c: Likewise.
45525 * sunrpc/svc_tcp.c: Likewise.
45526 * sunrpc/svc_udp.c: Likewise.
45527 * sunrpc/svc_unix.c: Likewise.
45528 * sunrpc/svcauth_des.c: Likewise.
45529 * sunrpc/xcrypt.c: Likewise.
45530 * sunrpc/xdr.c: Likewise.
45531 * sunrpc/xdr_array.c: Likewise.
45532 * sunrpc/xdr_float.c: Likewise.
45533 * sunrpc/xdr_intXX_t.c: Likewise.
45534 * sunrpc/xdr_mem.c: Likewise.
45535 * sunrpc/xdr_rec.c: Likewise.
45536 * sunrpc/xdr_ref.c: Likewise.
45537 * sunrpc/xdr_sizeof.c: Likewise.
45538 * sunrpc/xdr_stdio.c: Likewise.
45540 2011-04-10 Ulrich Drepper <drepper@gmail.com>
45543 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
45544 * sysdeps/ia64/dl-tls.h: Likewise.
45545 * sysdeps/powerpc/dl-tls.h: Likewise.
45546 * sysdeps/s390/dl-tls.h: Likewise.
45547 * sysdeps/sh/dl-tls.h: Likewise.
45548 * sysdeps/sparc/dl-tls.h: Likewise.
45549 * sysdeps/x86_64/dl-tls.h: Likewise.
45550 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
45552 2011-03-14 Andreas Schwab <schwab@redhat.com>
45554 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
45555 rpath element also skip the following colon.
45556 (expand_dynamic_string_token): Add is_path parameter and pass
45557 down to DL_DST_REQUIRED and _dl_dst_substitute.
45558 (decompose_rpath): Call expand_dynamic_string_token with
45559 non-zero is_path. Ignore empty rpaths.
45560 (_dl_map_object_from_fd): Call expand_dynamic_string_token
45563 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
45565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45568 2011-04-09 Ulrich Drepper <drepper@gmail.com>
45571 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
45572 Patch by Filipe David Manana <fdmanana@apache.org>.
45574 2011-04-07 Andreas Schwab <schwab@redhat.com>
45576 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
45577 Maintain aligned stack.
45578 (CHECK_RSP): Remove unused macro.
45580 2011-04-03 Ulrich Drepper <drepper@gmail.com>
45582 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
45583 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
45585 2011-04-02 Ulrich Drepper <drepper@gmail.com>
45587 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
45589 * include/features.h: Mention __USE_XOPEN2K8 in comment.
45591 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
45594 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
45595 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
45596 * sysdeps/x86_64/memmove.c: New file.
45597 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
45598 (memcpy): Renamed to ...
45599 (__new_memcpy): This.
45600 (memcpy): Provide GLIBC_2_14 memcpy.
45601 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
45602 (memcpy): Provide GLIBC_2_2_5 memcpy.
45604 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45607 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
45609 2011-03-30 Andreas Schwab <schwab@redhat.com>
45611 * misc/syncfs.c: New file.
45612 * misc/Makefile (routines): Add syncfs.
45613 * posix/unistd.h: Declare syncfs.
45614 * sysdeps/unix/syscalls.list: Add syncfs.
45616 2011-04-01 Andreas Schwab <schwab@redhat.com>
45618 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
45620 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45621 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45622 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45623 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45624 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45625 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
45626 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45628 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45630 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
45631 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45632 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
45633 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45634 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45635 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45636 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45638 * io/Makefile: Compile fallocate.c, fallocate64.c, and
45639 sync_file_range.c with -fexceptions.
45640 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
45641 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
45642 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
45643 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
45644 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
45645 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45646 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
45647 sync_file_range as cancellation point
45648 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
45649 now a wrapper around __call_sync_file_range with cancellation handling.
45650 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
45651 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
45652 function name to __call_sync_file_range.
45653 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
45654 Add call_sync_file_range.
45656 2011-04-01 Andreas Schwab <schwab@redhat.com>
45658 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45661 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45663 * iconv/iconv.h: Fix typo in comment.
45664 * io/fcntl.h: Likewise.
45665 * libio/stdio.h: Likewise.
45666 * posix/spawn.h: Likewise.
45667 * posix/unistd.h: Likewise.
45668 * stdlib/stdlib.h: Likewise.
45669 * time/time.h: Likewise.
45670 * wcsmbs/wchar.h: Likewise.
45672 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
45673 open_by_handle): Add.
45674 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
45675 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
45676 Augment a few comments.
45677 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45678 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45679 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45680 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45681 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45682 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
45685 * io/fcntl.h (AT_EMPTY_PATH): Define.
45687 2011-03-30 Ulrich Drepper <drepper@gmail.com>
45689 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
45690 * sysdeps/unix/sysv/linux/bits/time.h: New file.
45691 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
45693 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
45694 * Versions.def: Add GLIBC_2.14.
45695 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
45698 2011-03-22 Ulrich Drepper <drepper@gmail.com>
45700 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
45702 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45704 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
45707 * string/test-strncmp.c (do_page_test): New function.
45708 (check2): Likewise.
45709 (test_main): Call check2.
45710 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
45712 2011-03-20 Ulrich Drepper <drepper@gmail.com>
45715 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
45716 Handle cache information in CPU leaf 4.
45717 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45719 2011-03-18 Ulrich Drepper <drepper@gmail.com>
45722 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
45723 character representation.
45724 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
45726 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
45728 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
45729 END(__isnan) to END(__isnanf) to match function entry point/label
45730 EALIGN(__isnanf,...).
45732 2011-03-10 Jakub Jelinek <jakub@redhat.com>
45734 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
45736 2011-03-10 Ulrich Drepper <drepper@gmail.com>
45739 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
45740 copy from the symbol referenced in the relocation to initialize the
45742 Patch by Piotr Bury <pbury@goahead.com>.
45743 * elf/Makefile: Add rules to build and tst-unique3.
45744 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
45745 * elf/tst-unique3.cc: New file.
45746 * elf/tst-unique3.h: New file.
45747 * elf/tst-unique3lib.cc: New file.
45748 * elf/tst-unique3lib2.cc: New file.
45750 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
45752 2011-03-10 Mike Frysinger <vapier@gentoo.org>
45754 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
45755 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
45758 2011-03-06 Ulrich Drepper <drepper@gmail.com>
45760 * elf/dl-load.c (_dl_map_object): If we are looking for the first
45761 to-be-loaded object along a path to loader is ld.so.
45763 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45764 Ulrich Drepper <drepper@gmail.com>
45766 * sysdeps/x86_64/memset.S: After aligning destination, code
45767 branches to different locations depending on the value of
45768 misalignment, when multiarch is enabled. Fix this.
45770 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45772 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
45773 Set _x86_64_preferred_memory_instruction for AMD processsors.
45774 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45775 Set bit_Prefer_SSE_for_memop for AMD processors.
45777 2011-03-04 Ulrich Drepper <drepper@gmail.com>
45779 * libio/fmemopen.c (fmemopen): Optimize a bit.
45781 2011-03-03 Andreas Schwab <schwab@redhat.com>
45783 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
45785 2011-03-03 Roland McGrath <roland@redhat.com>
45787 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
45789 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
45791 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
45792 __bzero_ultra1 instead of __memset_ultra1.
45794 2011-02-23 Andreas Schwab <schwab@redhat.com>
45795 Ulrich Drepper <drepper@gmail.com>
45798 * include/link.h (struct link_map): Add l_orig_initfini.
45799 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
45800 returning unsuccessfully.
45801 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
45802 close of a file loaded at startup, restore the original l_initfini
45804 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
45805 list, store the pointer.
45806 * elf/Makefile ($(objpfx)noload-mem): New rule.
45807 (noload-ENV): Define.
45808 (tests): Add $(objpfx)noload-mem.
45809 * elf/noload.c: Include <memcheck.h>.
45810 (main): Call mtrace. Close all opened handles.
45812 2011-02-17 Andreas Schwab <schwab@redhat.com>
45815 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
45816 dependencies are missing.
45818 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
45820 Fix __if_freereq crash: Unlike the generic version which uses free,
45822 * sysdeps/mach/hurd/ifreq.h: New file.
45824 2011-01-27 Petr Baudis <pasky@suse.cz>
45825 Ulrich Drepper <drepper@gmail.com>
45828 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
45829 to extend_alloca().
45830 * stdio-common/bug23.c: New file.
45831 * stdio-common/Makefile (tests): Add bug23.
45833 2010-09-28 Andreas Schwab <schwab@redhat.com>
45834 Ulrich Drepper <drepper@gmail.com>
45837 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
45838 before performing relro protection. At old place add assertion
45839 to make sure nothing changed.
45841 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
45842 Glauber de Oliveira Costa <glommer@gmail.com>
45844 * elf/elf.h: Add new ARM TLS relocs.
45846 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
45848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45849 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
45851 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
45853 * sysdeps/wordsize-64/tst-writev.c: New file.
45855 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
45857 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
45858 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
45859 insns in _dl_start to prevent a TOC reference before relocs are
45862 2011-02-15 Ulrich Drepper <drepper@gmail.com>
45865 * Makeconfig: Remove RANLIB definition.
45866 * Makerules: Don't use RANLIB.
45867 * aclocal.m4: Remove ranlib test.
45868 * configure.in: No need to check for ranlib.
45869 * elf/rtld-Rules: Don't use RANLIB.
45871 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
45873 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
45875 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
45876 inclusion protection macro.
45878 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
45879 SIGRTMIN and SIGRTMAX and print information in that case only when
45880 SIGRTMIN is defined.
45882 2011-02-11 Jakub Jelinek <jakub@redhat.com>
45884 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
45885 arginfo fn returning -1.
45887 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
45888 and thousands string is zero terminated.
45890 2011-02-03 Andreas Schwab <schwab@redhat.com>
45892 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
45893 sysdeps/unix/sysv/linux/bits/socket.h.
45895 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
45897 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
45898 (__CPU_COUNT): Remove old macros.
45899 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
45900 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
45901 (__CPU_ALLOC, __CPU_FREE): Add macros.
45902 (__sched_cpualloc, __sched_cpufree): Add declarations.
45904 2011-02-05 Ulrich Drepper <drepper@gmail.com>
45906 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
45907 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
45908 * nscd/aicache.c (addhstaiX): Return timeout of added value.
45909 (readdhstai): Return value of addhstaiX call.
45910 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
45911 (addgrbyX): Return value returned by cache_addgr.
45912 (readdgrbyname): Return value returned by addgrbyX.
45913 (readdgrbygid): Likewise.
45914 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
45915 (addpwbyX): Return value returned by cache_addpw.
45916 (readdpwbyname): Return value returned by addhstbyX.
45917 (readdpwbyuid): Likewise.
45918 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
45919 (addservbyX): Return value returned by cache_addserv.
45920 (readdservbyname): Return value returned by addservbyX:
45921 (readdservbyport): Likewise.
45922 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
45923 (addhstbyX): Return value returned by cache_addhst.
45924 (readdhstbyname): Return value returned by addhstbyX.
45925 (readdhstbyaddr): Likewise.
45926 (readdhstbynamev6): Likewise.
45927 (readdhstbyaddrv6): Likewise.
45928 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
45929 (readdinitgroups): Return value returned by addinitgroupsX.
45930 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
45931 (prune_cache): Keep track of timeout value of re-added entries.
45932 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
45933 * nscd/nscd.h: Adjust prototypes of readd* functions.
45935 2011-02-04 Roland McGrath <roland@redhat.com>
45937 * nis/nis_server.c (nis_servstate): Use the right name for 0.
45938 (nis_stats): Likewise.
45939 * nis/nis_modify.c (nis_modify): Likewise.
45940 * nis/nis_remove.c (nis_remove): Likewise.
45941 * nis/nis_add.c (nis_add): Likewise.
45943 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
45945 * posix/fnmatch_loop.c: Add some consts.
45947 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
45949 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
45952 * config.make.in (config-cflags-novzeroupper): Define.
45953 * configure.in: Substitute libc_cv_cc_novzeroupper.
45954 * elf/Makefile (AVX-CFLAGS): Define.
45955 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
45956 (CFLAGS-tst-auditmod4a.c): Likewise.
45957 (CFLAGS-tst-auditmod4b.c): Likewise.
45958 (CFLAGS-tst-auditmod6b.c): Likewise.
45959 (CFLAGS-tst-auditmod6c.c): Likewise.
45960 (CFLAGS-tst-auditmod7b.c): Likewise.
45961 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
45963 2011-02-02 Ulrich Drepper <drepper@gmail.com>
45965 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
45966 function to the callback.
45967 Patch partly by Jiri Olsa <jolsa@redhat.com>.
45969 2011-02-02 Andreas Schwab <schwab@redhat.com>
45971 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
45974 2011-01-19 Ulrich Drepper <drepper@gmail.com>
45977 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
45979 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
45981 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
45984 * elf/Makefile: Add rules to build and run new test.
45985 * elf/tst-initorder.c: New file.
45986 * elf/tst-initorder.exp: New file.
45987 * elf/tst-initordera1.c: New file.
45988 * elf/tst-initordera2.c: New file.
45989 * elf/tst-initordera3.c: New file.
45990 * elf/tst-initordera4.c: New file.
45991 * elf/tst-initorderb1.c: New file.
45992 * elf/tst-initorderb2.c: New file.
45993 * elf/tst-order-a1.c: New file.
45994 * elf/tst-order-a2.c: New file.
45995 * elf/tst-order-a3.c: New file.
45996 * elf/tst-order-a4.c: New file.
45997 * elf/tst-order-b1.c: New file.
45998 * elf/tst-order-b2.c: New file.
45999 * elf/tst-order-main.c: New file.
46000 New test case by George Gensure <werkt0@gmail.com>.
46002 2010-10-01 Andreas Schwab <schwab@redhat.com>
46004 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46005 decoding ACE if AI_CANONIDN.
46007 2011-01-18 Ulrich Drepper <drepper@gmail.com>
46009 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46011 2011-01-17 Ulrich Drepper <drepper@gmail.com>
46013 * version.h (RELEASE): Bump for 2.13 release.
46014 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46016 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46018 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46020 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46021 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46022 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46023 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46024 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46025 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46027 * posix/getconf.c: Update copyright year.
46028 * catgets/gencat.c: Likewise.
46029 * csu/version.c: Likewise.
46030 * debug/catchsegv.sh: Likewise.
46031 * debug/xtrace.sh: Likewise.
46032 * elf/ldconfig.c: Likewise.
46033 * elf/ldd.bash.in: Likewise.
46034 * elf/sprof.c (print_version): Likewise.
46035 * iconv/iconv_prog.c: Likewise.
46036 * iconv/iconvconfig.c: Likewise.
46037 * locale/programs/locale.c: Likewise.
46038 * locale/programs/localedef.c: Likewise.
46039 * malloc/memusage.sh: Likewise.
46040 * malloc/mtrace.pl: Likewise.
46041 * nscd/nscd.c (print_version): Likewise.
46042 * nss/getent.c: Likewise.
46044 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46045 PF_CAIF, and PF_ALG.
46046 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46048 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
46050 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46051 (modules-names): Use them.
46052 (ifunc-test-modules, ifunc-pie-tests): Define.
46053 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46054 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46055 (test-extras): Likewise.
46056 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46057 $(compile-command.c).
46058 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46059 (all-built-dso): Define.
46060 (check-textrel.out, check-execstack.out): Depend on it.
46062 * configure.in: Don't override --enable-multi-arch.
46064 2011-01-15 Ulrich Drepper <drepper@gmail.com>
46067 * nscd/hstcache.c (tryagain): Define.
46068 (cache_addhst): Return tryagain not notfound for temporary errors.
46069 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46072 2011-01-14 Ulrich Drepper <drepper@gmail.com>
46075 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46076 to make the syscall.
46077 * sysdeps/unix/sysv/linux/setgroups.c: New file.
46080 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46081 and fall back to matching as normal character if the string ends before
46082 the matching ']' is found. This is what POSIX requires.
46083 * posix/testfnm.c: Adjust test result.
46084 * posix/globtest.sh: Adjust test result. Add new test.
46085 * posix/tst-fnmatch.input: Likewise.
46086 * posix/tst-fnmatch2.c: Add new test.
46088 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
46090 * elf/Makefile (check-execstack): Revert last change. Depend on
46092 (check-execstack.h): New target.
46093 (generated): Add check-execstack.h.
46094 * elf/check-execstack.c: Include "check-execstack.h".
46095 (main): Revert last change.
46096 (handle_file): Return zero if GNU_STACK is absent and
46097 DEFAULT_STACK_PERMS doesn't include PF_X.
46099 2011-01-13 Ulrich Drepper <drepper@gmail.com>
46101 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
46102 in child fails because the descriptor is already closed.
46103 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
46104 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
46105 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
46108 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
46112 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
46113 temporary buffer used to handle multi lookups locally.
46114 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
46116 2011-01-12 Ulrich Drepper <drepper@gmail.com>
46118 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
46121 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
46123 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
46124 alignment for SSE2.
46126 2011-01-12 Ulrich Drepper <drepper@gmail.com>
46129 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
46130 characters. When rounding increased number of integer digits recompute
46132 * stdio-common/tst-grouping.c: New file.
46133 * stdio-common/Makefile: Add rules to build and run tst-grouping.
46135 2011-01-09 Ulrich Drepper <drepper@gmail.com>
46137 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
46138 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
46140 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
46142 * bits/select.h: Likewise.
46144 2011-01-08 Ulrich Drepper <drepper@gmail.com>
46146 * po/ja.po: Update from translation team.
46148 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
46151 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
46152 implementation just like for lxstat, fxstatat, et al.
46154 2010-12-27 Jim Meyering <meyering@redhat.com>
46157 * posix/regexec.c (build_trtable): Return failure indication upon
46158 calloc failure. Otherwise, re_search_internal could infloop on OOM.
46160 2010-12-25 Ulrich Drepper <drepper@gmail.com>
46163 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
46164 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
46165 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
46166 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
46169 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
46172 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
46173 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
46175 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
46177 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
46178 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
46179 script has SORT_BY_INIT_PRIORITY.
46180 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
46181 NO_CTORS_DTORS_SECTIONS is defined.
46182 * elf/soinit.c: Likewise.
46183 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
46184 NO_CTORS_DTORS_SECTIONS is defined.
46185 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
46186 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
46187 * sysdeps/sh/init-first.c: Likewise.
46188 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
46190 2010-12-24 Ulrich Drepper <drepper@gmail.com>
46192 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
46193 always use the slow path.
46195 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
46197 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
46198 similar rule which adds the sysdep directories to the header search in
46199 order to pick up the correct platform stackinfo.h.
46200 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
46201 perform test if it is, otherwise return successfully without testing.
46202 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
46203 DEFAULT_STACK_PERMS define in stackinfo.h.
46204 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
46205 defined in stackinfo.h.
46206 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
46207 DEFAULT_STACK_PERMS defined in stackinfo.h.
46208 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
46209 * sysdeps/ia64/stackinfo.h: Likewise.
46210 * sysdeps/s390/stackinfo.h: Likewise.
46211 * sysdeps/sh/stackinfo.h: Likewise.
46212 * sysdeps/sparc/stackinfo.h: Likewise.
46213 * sysdeps/x86_64/stackinfo.h: Likewise.
46214 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
46215 PF_X for powerpc64. Retain PF_X for powerpc32.
46217 2010-12-19 Ulrich Drepper <drepper@gmail.com>
46219 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
46221 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
46222 GETDENTS_64BIT_ALIGNED.
46224 2010-12-14 Ulrich Drepper <dreper@gmail.com>
46226 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
46228 2010-12-10 Andreas Schwab <schwab@redhat.com>
46230 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
46233 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
46234 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
46236 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
46237 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
46239 2010-12-09 Ulrich Drepper <drepper@gmail.com>
46242 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
46245 2010-12-09 Jakub Jelinek <jakub@redhat.com>
46247 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
46249 2010-12-03 Ulrich Drepper <drepper@gmail.com>
46251 * po/it.po: Update from translation team.
46253 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
46255 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
46258 2010-11-30 Ulrich Drepper <drepper@gmail.com>
46260 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
46262 2010-11-24 Andreas Schwab <schwab@redhat.com>
46264 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
46266 (gaih_getanswer_slice): Likewise.
46268 2010-10-20 Jakub Jelinek <jakub@redhat.com>
46270 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
46272 2010-05-31 Petr Baudis <pasky@suse.cz>
46275 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
46276 silently even in the chroot mode.
46278 2010-11-22 Ulrich Drepper <drepper@gmail.com>
46280 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
46281 last patch a bit. Pretty printing
46283 2010-05-31 Petr Baudis <pasky@suse.cz>
46286 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
46287 initialization of skip_initgroups_dyn.
46289 2010-11-19 Ulrich Drepper <drepper@gmail.com>
46291 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
46292 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46294 2010-11-16 Ulrich Drepper <drepper@gmail.com>
46296 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
46298 2010-11-11 Andreas Schwab <schwab@redhat.com>
46300 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
46301 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
46302 (tst-fnmatch-ENV): Set MALLOC_TRACE.
46303 ($(objpfx)tst-fnmatch-mem): New rule.
46304 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
46305 * posix/tst-fnmatch.c (main): Call mtrace.
46307 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
46309 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46310 Support Intel processor model 6 and model 0x2c.
46312 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
46314 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
46317 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
46320 * string/test-strncasecmp.c (check_result): New function.
46321 (do_one_test): Use it.
46322 (check1): New function.
46323 (test_main): Use it.
46324 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
46325 Support strcasecmp and strncasecmp.
46327 2010-11-08 Ulrich Drepper <drepper@gmail.com>
46330 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
46331 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46333 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
46335 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
46337 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46339 * sysdeps/x86_64/multiarch/bzero.S: New file.
46340 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
46341 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
46342 * sysdeps/x86_64/multiarch/memset.S: New file.
46343 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
46344 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46345 Set bit_Prefer_SSE_for_memop for Intel processors.
46346 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
46348 (index_Prefer_SSE_for_memop): Define.
46349 (HAS_PREFER_SSE_FOR_MEMOP): Define.
46351 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
46353 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
46354 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
46356 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
46359 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46360 (__x86_64_raw_data_cache_size_half): Likewise.
46361 (__x86_64_raw_shared_cache_size): Likewise.
46362 (__x86_64_raw_shared_cache_size_half): Likewise.
46364 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46365 (__x86_64_raw_data_cache_size_half): Likewise.
46366 (__x86_64_raw_shared_cache_size): Likewise.
46367 (__x86_64_raw_shared_cache_size_half): Likewise.
46368 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
46369 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
46370 and __x86_64_raw_shared_cache_size_half. Round
46371 __x86_64_data_cache_size_half, __x86_64_data_cache_size
46372 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
46373 to multiple of 256 bytes.
46375 2010-11-03 Ulrich Drepper <drepper@gmail.com>
46378 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
46379 of inacessible symlinks. Verify result of symlink before returning it.
46380 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46381 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
46383 2010-10-28 Erich Ritz <erichritz@gmail.com>
46385 * math/math.h (isinf): Fix typo in comment.
46387 2010-11-01 Ulrich Drepper <drepper@gmail.com>
46389 * po/da.po: Update from translation team.
46391 2010-10-26 Ulrich Drepper <drepper@gmail.com>
46393 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
46394 is added to the list.
46396 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46397 Ulrich Drepper <drepper@gmail.com>
46399 * elf/dl-object.c (_dl_new_object): Don't append the new object to
46400 the global list here. Move code to...
46401 (_dl_add_to_namespace_list): ...here. New function.
46402 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
46403 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
46404 * elf/dl-load.c (lose): Don't remove the element from the list.
46405 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
46406 (_dl_map_object): Likewise.
46408 2010-10-25 Ulrich Drepper <drepper@gmail.com>
46411 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
46412 into all bytes of SSE register.
46413 Patch by Richard Li <richardpku@gmail.com>.
46415 2010-10-24 Ulrich Drepper <drepper@gmail.com>
46418 * malloc/malloc.c (_int_free): Fill correct number of bytes when
46421 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
46423 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
46424 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
46425 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
46426 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
46429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
46431 2010-10-22 Andreas Schwab <schwab@redhat.com>
46433 * include/dlfcn.h (__RTLD_SECURE): Define.
46434 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
46435 mode & __RTLD_SECURE instead.
46436 (open_path): Rename preloaded parameter to secure.
46437 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
46438 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
46439 * elf/dl-deps.c (openaux): Likewise.
46440 * elf/rtld.c (struct map_args): Remove is_preloaded.
46441 (map_doit): Don't use it.
46442 (dl_main): Likewise.
46443 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
46444 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
46446 2010-09-09 Andreas Schwab <schwab@redhat.com>
46448 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
46449 (sysd-rules-targets): Remove duplicates.
46450 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
46451 rtld-%.$o dependency.
46453 2010-10-18 Andreas Schwab <schwab@redhat.com>
46455 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
46456 _dl_map_object do it.
46458 2010-10-19 Ulrich Drepper <drepper@gmail.com>
46460 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
46461 fast fma builtins, define the macros in the C99 standard.
46462 (FP_FAST_FMAF): Likewise.
46463 (FP_FAST_FMAL): Likewise.
46464 * sysdeps/x86_64/bits/mathdef.h: Likewise.
46466 * bits/mathdef.h: Update copyright year.
46467 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46469 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
46471 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
46472 builtins, define the macros in the C99 standard.
46473 (FP_FAST_FMAF): Likewise.
46474 (FP_FAST_FMAL): Likewise.
46475 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46477 (FP_FAST_FMAF): Likewise.
46479 2010-10-15 Jakub Jelinek <jakub@redhat.com>
46482 * math/libm-test.inc (fma_test): Some new testcases.
46483 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
46484 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
46485 y and infinite z. Do multiplication by C already in long double.
46486 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
46487 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
46488 y and infinite z. Do bitwise or of inexact bit into u.d.
46489 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
46490 * sysdeps/i386/fpu/s_fmaf.S: Removed.
46491 * sysdeps/i386/fpu/s_fma.S: Removed.
46492 * sysdeps/i386/fpu/s_fmal.S: Removed.
46494 2010-10-16 Jakub Jelinek <jakub@redhat.com>
46497 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
46498 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
46499 computation is not scheduled after fetestexcept. Fix value
46500 of minimum denormal long double.
46502 2010-10-14 Jakub Jelinek <jakub@redhat.com>
46505 * math/libm-test.inc (fma_test): Add some more tests.
46506 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
46509 2010-10-15 Andreas Schwab <schwab@redhat.com>
46511 * scripts/data/localplt-s390-linux-gnu.data: New file.
46512 * scripts/data/localplt-s390x-linux-gnu.data: New file.
46514 2010-10-13 Jakub Jelinek <jakub@redhat.com>
46517 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
46518 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
46520 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
46522 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
46523 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
46524 if one of x and y is very large and the other is subnormal.
46525 * sysdeps/s390/fpu/s_fmaf.c: New file.
46526 * sysdeps/s390/fpu/s_fma.c: New file.
46527 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
46528 * sysdeps/powerpc/fpu/s_fma.S: New file.
46529 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
46530 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
46531 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
46533 2010-10-12 Jakub Jelinek <jakub@redhat.com>
46536 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
46538 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
46539 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
46540 * sysdeps/i386/i686/multiarch/s_fma.c: Include
46541 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
46542 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
46543 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
46544 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
46546 2010-10-12 Ulrich Drepper <drepper@redhat.com>
46549 * posix/regcomp.c (parse_branch): One more memory leak plugged.
46550 * posix/bug-regex31.input: Add test case.
46552 2010-10-11 Ulrich Drepper <drepper@gmail.com>
46554 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
46555 * posix/bug-regex31.input: New file.
46558 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
46559 (parse_sub_exp): Fix last change, use postorder.
46561 * posix/bug-regex31.c: New file.
46562 * posix/Makefile: Add rules to build and run bug-regex31.
46564 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
46567 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
46570 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
46571 to have entries in sys_siglist.
46574 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
46577 2010-10-07 Jakub Jelinek <jakub@redhat.com>
46580 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
46581 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
46582 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
46583 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
46584 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46585 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
46586 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
46587 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
46588 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
46589 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
46590 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
46591 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
46592 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
46593 * math/ftestexcept.c (fetestexcept): Likewise.
46594 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
46595 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
46596 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
46597 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
46598 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
46599 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
46600 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46602 2010-10-11 Ulrich Drepper <drepper@gmail.com>
46605 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
46608 2010-10-06 Ulrich Drepper <drepper@gmail.com>
46610 * string/bug-strstr1.c: New file.
46611 * string/Makefile: Add rules to build and run bug-strstr1.
46613 2010-10-05 Eric Blake <eblake@redhat.com>
46616 * string/str-two-way.h (two_way_long_needle): Always clear memory
46617 when skipping input due to the shift table.
46619 2010-10-03 Ulrich Drepper <drepper@gmail.com>
46622 * malloc/mcheck.c: Handle large requests.
46625 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
46626 for strncmp and strncasecmp.
46627 * string/stratcliff.c: Add tests for strcmp and strncmp.
46628 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
46630 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46632 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
46635 2010-09-30 Andreas Jaeger <aj@suse.de>
46637 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
46638 (CGROUP_SUPER_MAGIC): Define.
46639 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46640 Handle btrfs and cgroup file systems.
46641 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
46644 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
46646 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
46647 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
46649 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46652 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
46653 trying to locate the ELF header.
46655 2010-09-27 Andreas Schwab <schwab@redhat.com>
46658 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
46659 Mask out sign-bit copies when constructing f_fsid.
46661 2010-09-24 Petr Baudis <pasky@suse.cz>
46663 * debug/stack_chk_fail_local.c: Add missing licence exception.
46664 * debug/warning-nop.c: Likewise.
46666 2010-09-15 Joseph Myers <joseph@codesourcery.com>
46668 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
46669 implementing getdents64 using getdents syscall, set d_type if
46670 __ASSUME_GETDENTS32_D_TYPE.
46672 2010-09-16 Andreas Schwab <schwab@redhat.com>
46674 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
46675 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
46677 2010-09-21 Ulrich Drepper <drepper@redhat.com>
46680 * posix/unistd.h: Undo change of feature selection for ftruncate from
46683 2010-09-20 Ulrich Drepper <drepper@redhat.com>
46685 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
46688 2010-09-20 Andreas Schwab <schwab@redhat.com>
46690 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
46692 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46694 2010-09-14 Andreas Schwab <schwab@redhat.com>
46696 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
46697 variables after CHECK_SP call.
46698 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
46700 2010-09-13 Andreas Schwab <schwab@redhat.com>
46701 Ulrich Drepper <drepper@redhat.com>
46703 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
46704 re-relocationg ld.so.
46705 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
46706 _dl_init_paths call.
46707 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
46710 2010-09-14 Ulrich Drepper <drepper@redhat.com>
46712 * resolv/res_init.c (__res_vinit): Count the default server we added.
46714 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
46715 Ulrich Drepper <drepper@redhat.com>
46718 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46719 (____longjmp_chk): Use %ebx for saving value across system call.
46722 2010-09-06 Andreas Schwab <schwab@redhat.com>
46724 * manual/Makefile: Don't mix pattern rules with normal rules.
46726 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
46728 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
46730 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
46731 * libio/iofopncook.c (_IO_cookie_init): Likewise.
46732 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
46733 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
46734 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46737 2010-09-04 Ulrich Drepper <drepper@redhat.com>
46740 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
46741 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
46743 2010-09-02 Ulrich Drepper <drepper@redhat.com>
46745 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
46746 * sysdeps/x86_64/addmul_1.S: Likewise.
46747 * sysdeps/x86_64/lshift.S: Likewise.
46748 * sysdeps/x86_64/mul_1.S: Likewise.
46749 * sysdeps/x86_64/rshift.S: Likewise.
46750 * sysdeps/x86_64/sub_n.S: Likewise.
46751 * sysdeps/x86_64/submul_1.S: Likewise.
46753 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
46755 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
46756 Define __sched_param instead of SCHED_* and sched_param when
46757 <bits/sched.h> is included with __need_schedparam defined.
46758 * bits/sched.h [__need_schedparam]
46759 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
46760 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
46761 (__defined_schedparam): Define to 1.
46762 (__sched_param): New structure, identical to sched_param.
46763 (__need_schedparam): Undefine.
46765 2010-08-31 Mike Frysinger <vapier@gentoo.org>
46767 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
46768 (epoll_create1): Declare.
46770 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
46772 2010-08-31 Andreas Schwab <schwab@redhat.com>
46775 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
46776 shifting retval into place.
46778 2010-09-01 Ulrich Drepper <drepper@redhat.com>
46780 * nis/rpcsvc/nis.h: Update copyright notice.
46781 * nis/rpcsvc/nis.x: Likewise.
46782 * nis/rpcsvc/nis_callback.h: Likewise.
46783 * nis/rpcsvc/nis_callback.x: Likewise.
46784 * nis/rpcsvc/nis_object.x: Likewise.
46785 * nis/rpcsvc/nis_tags.h: Likewise.
46786 * nis/rpcsvc/yp.h: Likewise.
46787 * nis/rpcsvc/yp.x: Likewise.
46788 * nis/rpcsvc/ypupd.h: Likewise.
46789 * nis/yp_xdr.c: Likewise.
46790 * nis/ypupdate_xdr.c: Likewise.
46792 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
46793 mainly the body of pmap_getport. Add parameters to specify timeouts.
46794 (pmap_getport): Use __libc_rpc_getport.
46795 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
46796 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
46797 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
46799 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
46801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
46804 2010-08-27 Roland McGrath <roland@redhat.com>
46806 * sysdeps/i386/i686/multiarch/Makefile
46807 (CFLAGS-varshift.c): New variable.
46809 2010-08-27 Ulrich Drepper <drepper@redhat.com>
46811 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
46812 * sysdeps/i386/i686/multiarch/varshift.c: New file.
46814 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
46816 * sysdeps/x86_64/strlen.S: Minimal code improvement.
46818 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
46820 * sysdeps/x86_64/strlen.S: Unroll the loop.
46821 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46822 strlen-sse2 strlen-sse2-bsf.
46823 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
46824 __strlen_no_bsf if bit_Slow_BSF is set.
46825 (__strlen_sse42): Removed.
46826 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
46827 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
46829 2010-08-25 Roland McGrath <roland@redhat.com>
46831 * sysdeps/x86_64/multiarch/varshift.S: File removed.
46832 * sysdeps/x86_64/multiarch/varshift.c: New file.
46833 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
46834 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
46835 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
46836 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46838 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
46840 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46841 strlen-sse2 strlen-sse2-bsf.
46842 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
46843 __strlen_sse2_bsf if bit_Slow_BSF is unset.
46844 (__strlen_sse2): Removed.
46845 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
46846 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
46847 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46848 bit_Slow_BSF for Atom.
46849 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
46850 (index_Slow_BSF): Define.
46851 (HAS_SLOW_BSF): Define.
46853 2010-08-25 Ulrich Drepper <drepper@redhat.com>
46856 * resolv/res_init.c (__res_vinit): When no server address at all
46857 is given default to loopback.
46859 2010-08-24 Roland McGrath <roland@redhat.com>
46861 * configure.in: Remove config-name.h generation.
46862 * configure: Regenerated.
46863 * config-name.in: File removed.
46864 * scripts/config-uname.sh: New file.
46865 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
46866 ($(objdir)config-name.h): New target.
46868 * sunrpc/rpc_parse.h: Avoid nested comment.
46870 2010-08-24 Richard Henderson <rth@redhat.com>
46871 Ulrich Drepper <drepper@redhat.com>
46872 H.J. Lu <hongjiu.lu@intel.com>
46874 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
46875 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
46876 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
46877 Replace _mm_srli_si128 with __m128i_shift_right. Replace
46878 _mm_alignr_epi8 with _mm_loadu_si128.
46879 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
46880 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
46881 (__m128i_shift_right): Removed.
46882 * sysdeps/i386/i686/multiarch/varshift.h: New file.
46883 * sysdeps/i386/i686/multiarch/varshift.S: New file.
46884 * sysdeps/x86_64/multiarch/varshift.h: New file.
46885 * sysdeps/x86_64/multiarch/varshift.S: New file.
46887 2010-08-21 Mike Frysinger <vapier@gentoo.org>
46889 * configure.in: Move assembler checks to before sysdep dir checking.
46891 2010-08-20 Petr Baudis <pasky@suse.cz>
46893 * LICENSES: Sync the sunrpc license.
46895 2010-08-19 Ulrich Drepper <drepper@redhat.com>
46897 * sunrpc/auth_des.c: Update copyright notice once again.
46898 * sunrpc/auth_none.c: Likewise.
46899 * sunrpc/auth_unix.c: Likewise.
46900 * sunrpc/authdes_prot.c: Likewise.
46901 * sunrpc/authuxprot.c: Likewise.
46902 * sunrpc/bindrsvprt.c: Likewise.
46903 * sunrpc/clnt_gen.c: Likewise.
46904 * sunrpc/clnt_perr.c: Likewise.
46905 * sunrpc/clnt_raw.c: Likewise.
46906 * sunrpc/clnt_simp.c: Likewise.
46907 * sunrpc/clnt_tcp.c: Likewise.
46908 * sunrpc/clnt_udp.c: Likewise.
46909 * sunrpc/clnt_unix.c: Likewise.
46910 * sunrpc/des_crypt.c: Likewise.
46911 * sunrpc/des_soft.c: Likewise.
46912 * sunrpc/get_myaddr.c: Likewise.
46913 * sunrpc/getrpcport.c: Likewise.
46914 * sunrpc/key_call.c: Likewise.
46915 * sunrpc/key_prot.c: Likewise.
46916 * sunrpc/openchild.c: Likewise.
46917 * sunrpc/pm_getmaps.c: Likewise.
46918 * sunrpc/pm_getport.c: Likewise.
46919 * sunrpc/pmap_clnt.c: Likewise.
46920 * sunrpc/pmap_prot.c: Likewise.
46921 * sunrpc/pmap_prot2.c: Likewise.
46922 * sunrpc/pmap_rmt.c: Likewise.
46923 * sunrpc/rpc/auth.h: Likewise.
46924 * sunrpc/rpc/auth_unix.h: Likewise.
46925 * sunrpc/rpc/clnt.h: Likewise.
46926 * sunrpc/rpc/des_crypt.h: Likewise.
46927 * sunrpc/rpc/key_prot.h: Likewise.
46928 * sunrpc/rpc/netdb.h: Likewise.
46929 * sunrpc/rpc/pmap_clnt.h: Likewise.
46930 * sunrpc/rpc/pmap_prot.h: Likewise.
46931 * sunrpc/rpc/pmap_rmt.h: Likewise.
46932 * sunrpc/rpc/rpc.h: Likewise.
46933 * sunrpc/rpc/rpc_des.h: Likewise.
46934 * sunrpc/rpc/rpc_msg.h: Likewise.
46935 * sunrpc/rpc/svc.h: Likewise.
46936 * sunrpc/rpc/svc_auth.h: Likewise.
46937 * sunrpc/rpc/types.h: Likewise.
46938 * sunrpc/rpc/xdr.h: Likewise.
46939 * sunrpc/rpc_clntout.c: Likewise.
46940 * sunrpc/rpc_cmsg.c: Likewise.
46941 * sunrpc/rpc_common.c: Likewise.
46942 * sunrpc/rpc_cout.c: Likewise.
46943 * sunrpc/rpc_dtable.c: Likewise.
46944 * sunrpc/rpc_hout.c: Likewise.
46945 * sunrpc/rpc_main.c: Likewise.
46946 * sunrpc/rpc_parse.c: Likewise.
46947 * sunrpc/rpc_parse.h: Likewise.
46948 * sunrpc/rpc_prot.c: Likewise.
46949 * sunrpc/rpc_sample.c: Likewise.
46950 * sunrpc/rpc_scan.c: Likewise.
46951 * sunrpc/rpc_scan.h: Likewise.
46952 * sunrpc/rpc_svcout.c: Likewise.
46953 * sunrpc/rpc_tblout.c: Likewise.
46954 * sunrpc/rpc_util.c: Likewise.
46955 * sunrpc/rpc_util.h: Likewise.
46956 * sunrpc/rpcinfo.c: Likewise.
46957 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
46958 * sunrpc/rpcsvc/key_prot.x: Likewise.
46959 * sunrpc/rpcsvc/klm_prot.x: Likewise.
46960 * sunrpc/rpcsvc/mount.x: Likewise.
46961 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
46962 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
46963 * sunrpc/rpcsvc/rex.x: Likewise.
46964 * sunrpc/rpcsvc/rstat.x: Likewise.
46965 * sunrpc/rpcsvc/rusers.x: Likewise.
46966 * sunrpc/rpcsvc/sm_inter.x: Likewise.
46967 * sunrpc/rpcsvc/spray.x: Likewise.
46968 * sunrpc/rpcsvc/yppasswd.x: Likewise.
46969 * sunrpc/rtime.c: Likewise.
46970 * sunrpc/svc.c: Likewise.
46971 * sunrpc/svc_auth.c: Likewise.
46972 * sunrpc/svc_authux.c: Likewise.
46973 * sunrpc/svc_raw.c: Likewise.
46974 * sunrpc/svc_run.c: Likewise.
46975 * sunrpc/svc_simple.c: Likewise.
46976 * sunrpc/svc_tcp.c: Likewise.
46977 * sunrpc/svc_udp.c: Likewise.
46978 * sunrpc/svc_unix.c: Likewise.
46979 * sunrpc/svcauth_des.c: Likewise.
46980 * sunrpc/xcrypt.c: Likewise.
46981 * sunrpc/xdr.c: Likewise.
46982 * sunrpc/xdr_array.c: Likewise.
46983 * sunrpc/xdr_float.c: Likewise.
46984 * sunrpc/xdr_mem.c: Likewise.
46985 * sunrpc/xdr_rec.c: Likewise.
46986 * sunrpc/xdr_ref.c: Likewise.
46987 * sunrpc/xdr_sizeof.c: Likewise.
46988 * sunrpc/xdr_stdio.c: Likewise.
46990 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
46993 2010-08-19 Andreas Schwab <schwab@redhat.com>
46995 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
46997 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
46999 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47000 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47001 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47002 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47003 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47004 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47005 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47006 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47007 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47008 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47009 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47010 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47011 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47012 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47014 2010-07-26 Anton Blanchard <anton@samba.org>
47016 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47017 * malloc/arena.c (heap_trim): Likewise.
47019 2010-08-16 Ulrich Drepper <drepper@redhat.com>
47021 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47023 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47024 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47026 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
47028 * sysdeps/i386/elf/Makefile: New file.
47030 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47032 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47033 from fanotify_init.
47034 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47035 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47037 2010-08-15 Ulrich Drepper <drepper@redhat.com>
47039 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47041 * sysdeps/multiarch/strcmp.S: Likewise.
47043 2010-08-14 Ulrich Drepper <drepper@redhat.com>
47045 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47046 strncase_l-nonascii.
47047 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47048 Add strncase_l-ssse3.
47049 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47050 * sysdeps/x86_64/strcmp.S: Likewise.
47051 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47052 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47053 * sysdeps/x86_64/strncase.S: New file.
47054 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47055 * sysdeps/x86_64/strncase_l.S: New file.
47056 * string/Makefile (strop-tests): Add strncasecmp.
47057 * string/test-strncasecmp.c: New file.
47059 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47062 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47063 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47065 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47067 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47069 2010-08-12 Ulrich Drepper <drepper@redhat.com>
47071 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47072 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47073 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47075 2010-05-01 Alan Modra <amodra@gmail.com>
47077 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47078 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47079 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47080 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47081 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47082 tidying. Don't tail-call __sigjmp_save for static lib.
47083 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47085 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47086 (CALL_MCOUNT): Add eh info, and nop after bl.
47087 (TAIL_CALL_SYSCALL_ERROR): New macro.
47088 (PSEUDO_RET): Use it.
47089 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47090 Correct save location of integer regs and cr.
47091 (_dl_profile_resolve): Correct cr save location. Delete nops
47092 after bl when SHARED. Reduce cfi size a little by better
47093 placement of cfi directives.
47094 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47095 make a stack frame. Instead use parm save area as a temp.
47096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
47097 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
47098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47099 Don't make a stack frame for parent, use parm save area.
47100 Increase child stack frame to 112 bytes. Don't save unused reg,
47101 and adjust reg usage. Set up cfi on error recovery and
47102 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
47103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47104 (__makecontext): Add dummy nop after jump to exit.
47105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
47106 Use correct parm save area and cr save, reduce stack frame.
47107 Correct cfi for possible PSEUDO_RET frame setup.
47108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
47109 Branch to local label emitted by PSEUDO_RET rather than
47112 2010-08-12 Andreas Schwab <schwab@redhat.com>
47115 * locale/programs/locale.c (print_assignment): New function.
47116 (show_locale_vars): Use it.
47118 2010-08-11 Ulrich Drepper <drepper@redhat.com>
47120 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
47122 (struct statfs64): Likewise.
47123 (_STATFS_F_FLAGS): Define.
47124 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
47125 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47126 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
47127 (ST_VALID): Define locally.
47128 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
47129 __statvfs_getflags, use the provided value.
47130 * sysdeps/unix/sysv/linux/kernel-features.h: Define
47131 __ASSUME_STATFS_F_FLAGS.
47133 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
47135 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
47136 Add sys/fanotify.h.
47137 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
47138 fanotify_mask for GLIBC_2.13.
47139 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
47140 fanotify_init and fanotify_mark.
47141 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47142 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
47144 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
47146 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
47147 prlimit64 for GLIBC_2.13.
47148 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
47150 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
47152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
47153 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47154 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
47155 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
47156 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
47158 * sysdeps/unix/sysv/linux/prlimit.c: New file.
47161 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
47162 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
47164 * nss/Makefile: Add rules to build and run tst-nss-test1.
47165 * shlib-versions: Add entry for libnss_test1.
47166 * nss/nss_test1.c: New file.
47167 * nss/tst-nss-test1.c: New file.
47169 * nss/nsswitch.c (__nss_database_custom): Define new variable.
47170 (__nss_configure_lookup): Set appropriate entry in
47171 __nss_configure_lookup to true.
47172 * nss/nsswitch.h: Define enum with indeces of databases in
47173 databases and __nss_database_custom arrays. Declare
47174 __nss_database_custom.
47175 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
47176 to avoid using nscd when custom rules are installed.
47177 * nss/getXXbyYY_r.c: Likewise.
47178 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47180 * nss/nss_files/files-parse.c: Whitespace fixes.
47182 2010-08-09 Ulrich Drepper <drepper@redhat.com>
47185 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
47186 * posix/fnmatch_loop.c: Likewise.
47188 2010-07-17 Andi Kleen <ak@linux.intel.com>
47190 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
47191 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
47192 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
47193 * Versions.def [GLIBC_2.13]: Add.
47195 2010-08-06 Ulrich Drepper <drepper@redhat.com>
47197 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47198 Also fail if tpwd after pwuid call is NULL.
47200 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
47202 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
47203 when converting to ms.
47205 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47207 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
47208 EOPNOTSUPP errors with ENOTTY.
47209 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
47210 EOPNOTSUPP errors with ENOTTY.
47212 2010-07-31 Ulrich Drepper <drepper@redhat.com>
47214 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47215 Add strcasecmp_l-ssse3.
47216 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
47218 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
47219 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
47220 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
47222 2010-07-30 Ulrich Drepper <drepper@redhat.com>
47224 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
47226 * string/Makefile (strop-tests): Add strcasecmp.
47227 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47228 strcasecmp_l-nonascii.
47229 (gen-as-const-headers): Add locale-defines.sym.
47230 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
47231 * sysdeps/x86_64/strcasecmp.S: New file.
47232 * sysdeps/x86_64/strcasecmp_l.S: New file.
47233 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
47234 * sysdeps/x86_64/locale-defines.sym: New file.
47235 * string/test-strcasecmp.c: New file.
47237 * string/test-strcasestr.c: Test both ends of the range of characters.
47238 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
47240 2010-07-29 Roland McGrath <roland@redhat.com>
47243 * manual/locale.texi (Yes-or-No Questions): Fix example code.
47245 2010-07-27 Ulrich Drepper <drepper@redhat.com>
47247 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
47250 2010-07-27 Andreas Schwab <schwab@redhat.com>
47252 * manual/memory.texi (Malloc Tunable Parameters): Document
47255 2010-07-26 Roland McGrath <roland@redhat.com>
47258 * configure.in (-fgnu89-inline check): Set and substitute
47259 gnu89_inline, not libc_cv_gnu89_inline.
47260 * configure: Regenerated.
47261 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
47263 2010-07-26 Ulrich Drepper <drepper@redhat.com>
47265 * string/test-strnlen.c: New file.
47266 * string/Makefile (strop-tests): Add strnlen.
47267 * string/tester.c (test_strnlen): Add a few more test cases.
47268 * string/tst-strlen.c: Better error reporting.
47270 * sysdeps/x86_64/strnlen.S: New file.
47272 2010-07-24 Ulrich Drepper <drepper@redhat.com>
47274 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
47275 lower-latency instructions.
47277 2010-07-23 Ulrich Drepper <drepper@redhat.com>
47279 * string/test-strcasestr.c: New file.
47280 * string/test-strstr.c: New file.
47281 * string/Makefile (strop-tests): Add strstr and strcasestr.
47282 * string/str-two-way.h: Don't undefine MAX.
47283 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
47285 2010-07-21 Andreas Schwab <schwab@redhat.com>
47287 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47288 strcasestr-nonascii.
47289 (CFLAGS-strcasestr-nonascii.c): Define.
47290 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
47291 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
47292 Remove unused attribute.
47294 2010-07-20 Roland McGrath <roland@redhat.com>
47296 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
47297 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
47298 ld.so.cache was broken. With it, there is no way to disable dsocaps
47299 like LD_HWCAP_MASK can disable hwcaps.
47301 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47303 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
47305 2010-07-16 Ulrich Drepper <drepper@redhat.com>
47307 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
47308 call in strcasestr.
47309 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
47310 __strcasestr_sse42_nonascii.
47311 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
47312 strcasestr-nonascii.c.
47313 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
47315 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
47317 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
47318 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
47319 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
47320 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
47322 2010-07-09 Ulrich Drepper <drepper@redhat.com>
47324 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
47327 2010-07-06 Andreas Schwab <schwab@redhat.com>
47330 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
47333 2010-07-06 Ulrich Drepper <drepper@redhat.com>
47335 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
47336 _PC_PIPE_BUF using F_GETPIPE_SZ.
47338 2010-07-05 Roland McGrath <roland@redhat.com>
47340 * manual/arith.texi (Rounding Functions): Fix rint description
47341 implicit in round description.
47343 2010-07-02 Ulrich Drepper <drepper@redhat.com>
47345 * elf/Makefile: Fix linking for a few tests to make recent linker
47348 2010-06-30 Andreas Schwab <schwab@redhat.com>
47350 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47351 $(common-objpfx)libc_nonshared.a.
47353 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
47355 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
47356 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
47357 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47358 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47359 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
47360 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
47361 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47362 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
47364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
47365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
47366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
47368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
47370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
47371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
47372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
47373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
47375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
47377 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
47378 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
47379 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
47380 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
47381 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
47382 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
47383 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
47384 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
47385 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
47386 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
47387 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
47388 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
47389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
47390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
47391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
47392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
47393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
47394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
47395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
47396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
47397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
47398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
47399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
47400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
47401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
47402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
47404 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
47406 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
47407 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
47408 * string/memmove.c (memmove): Renamed to ...
47409 (MEMMOVE): ...this. Default to memmove.
47410 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
47411 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
47413 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47414 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
47415 mempcpy-ssse3-back memmove-ssse3-back.
47416 * sysdeps/x86_64/multiarch/bcopy.S: New file .
47417 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
47418 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
47419 * sysdeps/x86_64/multiarch/memcpy.S: New file.
47420 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
47421 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
47422 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
47423 * sysdeps/x86_64/multiarch/memmove.c: New file.
47424 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
47425 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
47426 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
47427 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
47428 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
47429 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
47431 (index_Fast_Copy_Backward): Define.
47432 (HAS_ARCH_FEATURE): Define.
47433 (HAS_FAST_REP_STRING): Define.
47434 (HAS_FAST_COPY_BACKWARD): Define.
47436 2010-06-21 Andreas Schwab <schwab@redhat.com>
47438 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47439 Restore proper fallback handling.
47441 2010-06-19 Ulrich Drepper <drepper@redhat.com>
47444 * posix/group_member.c (__group_member): Correct checking loop.
47446 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
47447 OOM in getpwuid_r correctly. Return error number when the caller
47448 should return, otherwise -1.
47449 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
47450 call returning > 0 value.
47451 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
47453 2010-06-07 Andreas Schwab <schwab@redhat.com>
47455 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
47456 libc_nonshared.a from targets in modules-names.
47458 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
47460 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
47463 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
47465 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
47466 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
47467 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
47468 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
47470 2010-06-02 Andreas Schwab <schwab@redhat.com>
47472 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
47474 2010-06-14 Ulrich Drepper <drepper@redhat.com>
47476 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
47478 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47479 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47480 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47481 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47482 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47483 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
47485 2010-06-14 Roland McGrath <roland@redhat.com>
47487 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
47489 2010-06-07 Jakub Jelinek <jakub@redhat.com>
47491 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
47492 __REDIRECT followed by __THROW.
47493 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
47494 * posix/getopt.h (getopt): Likewise.
47496 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47498 * hurd/lookup-at.c (__file_name_lookup_at): Accept
47499 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
47500 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
47502 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
47503 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
47505 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
47507 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
47509 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
47512 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47513 Properly check family and model.
47515 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
47517 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
47519 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
47521 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
47523 2010-05-21 Ulrich Drepper <drepper@redhat.com>
47525 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
47528 2010-05-19 Andreas Schwab <schwab@redhat.com>
47530 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
47533 2010-05-21 Andreas Schwab <schwab@redhat.com>
47535 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
47536 and internal_recvmmsg.
47537 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
47538 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
47539 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
47540 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
47542 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
47543 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47544 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47546 2010-05-20 Andreas Schwab <schwab@redhat.com>
47548 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
47550 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
47552 POWER7 optimizations.
47553 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
47554 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
47556 2010-05-19 Ulrich Drepper <drepper@redhat.com>
47558 * version.h: Update for 2.13 development version.
47560 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
47562 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
47563 exceptions. Return 0.
47565 2010-05-07 Roland McGrath <roland@redhat.com>
47567 * elf/ldconfig.c (main): Add a const.
47569 2010-05-06 Ulrich Drepper <drepper@redhat.com>
47571 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
47572 (args_options): Add no-idn option.
47573 (ahosts_keys_int): Add idn_flags to ai_flags.
47574 (parse_option): Handle 'i' option to clear idn_flags.
47576 * malloc/malloc.c (_int_free): Possible race in the most recently
47577 added check. Only act on the data if no current modification
47580 See ChangeLog.17 for earlier changes.