1 2014-06-25 Roland McGrath <roland@hack.frob.com>
3 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
4 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
5 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
6 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
7 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
8 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
9 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
10 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
11 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
12 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
13 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
14 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
15 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
16 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
17 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
18 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
19 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
20 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
21 * sysdeps/sparc/sparc64/Makefile: ... appended here.
23 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
24 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
25 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
26 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
27 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
28 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
29 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
30 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
31 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
32 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
33 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
34 * sysdeps/sparc/sparc32/sem_post.c: ... here.
35 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
36 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
37 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
38 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
39 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
40 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
41 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
42 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
43 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
44 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
45 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
46 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
47 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
48 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
49 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
50 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
51 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
52 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
53 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
54 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
55 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
56 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
57 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
58 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
59 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
60 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
62 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
63 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
64 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
65 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
66 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
68 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
70 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
71 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
72 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
73 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
74 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
76 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
77 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
78 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
79 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
80 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
81 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
82 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
83 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
85 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
86 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
88 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
89 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
90 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
91 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
93 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
94 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
95 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
96 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
97 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
98 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
99 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
100 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
101 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
102 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
104 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
107 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
108 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
109 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
110 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
112 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
113 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
114 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
115 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
116 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
117 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
118 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
119 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
121 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
122 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
124 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
125 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
126 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
127 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
129 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
130 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
131 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
132 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
133 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
135 2014-06-25 Joseph Myers <joseph@codesourcery.com>
137 * timezone/checktab.awk: Update from tzcode 2014e.
138 * timezone/private.h: Likewise.
139 * timezone/tzfile.h: Likewise.
140 * timezone/zdump.c: Likewise.
141 * timezone/zic.c: Likewise.
143 * sysdeps/unix/sysv/linux/kernel-features.h
144 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
145 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
146 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
147 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
148 Remove conditional code.
150 2014-06-25 Will Newton <will.newton@linaro.org>
152 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
153 (_dl_arm_cap_flags): Add HWCAP2 values.
154 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
155 (_DL_HWCAP_COUNT): Increase to 37.
156 (_DL_HWCAP_LAST): New define.
157 (_DL_HWCAP2_LAST): New define.
158 (_dl_procinfo): Add support for printing
160 (_dl_string_hwcap): Use _dl_hwcap_string.
162 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
166 2014-06-25 Joseph Myers <joseph@codesourcery.com>
168 * README: Do not mention ports directory.
170 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
172 * sysdeps/unix/sysv/linux/futimes.c: Do not include
174 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
175 conditional variable definition.
176 (__futimes): Update comment.
177 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
178 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
181 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
182 arguments close to 0.
183 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
185 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
187 * math/auto-libm-test-in: Add more tests of exp10.
188 * math/auto-libm-test-out: Regenerated.
189 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
191 * sysdeps/unix/sysv/linux/kernel-features.h
192 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
193 * sysdeps/unix/sysv/linux/readv.c: Do not include
195 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
196 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
197 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
199 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
201 * sysdeps/unix/sysv/linux/writev.c: Do not include
203 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
204 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
205 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
207 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
210 2014-06-25 Will Newton <will.newton@linaro.org>
212 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
213 comment changes throughout the file. Remove checks
214 for HAVE_*_H definitions that are not required.
215 (__gen_tempname): Call abort if an unknown kind value is
218 2014-06-25 Andreas Schwab <schwab@suse.de>
221 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
222 scalbln, scalblnf, scalblnl in libc.
224 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
227 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
228 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
229 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
231 2014-06-24 Roland McGrath <roland@hack.frob.com>
233 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
234 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
235 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
236 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
238 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
239 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
241 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
242 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
243 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
244 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
245 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
246 * sysdeps/x86/bits/pthreadtypes.h: ... here.
247 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
248 * sysdeps/x86/bits/semaphore.h: ... here.
249 * sysdeps/x86/nptl/elide.h: Moved ...
250 * sysdeps/x86/elide.h: ... here.
251 * sysdeps/x86_64/nptl/Implies: File removed.
252 * sysdeps/i386/nptl/Implies: File removed.
254 2014-06-24 Joseph Myers <joseph@codesourcery.com>
257 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
258 return the argument for normal arguments with exponent below -64.
259 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
261 * math/auto-libm-test-in: Add another test of expm1.
262 * math/auto-libm-test-out: Regenerated.
265 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
266 calling __erfcl for arguments at least 16.
267 * math/auto-libm-test-in: Add more tests of erf.
268 * math/auto-libm-test-out: Regenerated.
270 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
271 individual architectures.
272 * sysdeps/unix/sysv/linux/configure: Regenerated.
273 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
274 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
275 * sysdeps/unix/sysv/linux/powerpc/configure.ac
276 (ldd_rewrite_script): Define variable.
277 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
282 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
283 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
284 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
285 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
286 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
287 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
288 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
289 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
291 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
294 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
295 Rename member __data.d to __data.__elision_data.
297 2014-06-24 Wilco <wdijkstr@arm.com>
299 * NEWS: Add 16918 to fixed bug list.
301 2014-06-24 Wilco <wdijkstr@arm.com>
303 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
305 2014-06-24 Wilco <wdijkstr@arm.com>
307 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
308 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
309 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
310 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
311 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
312 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
313 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
316 2014-06-24 Wilco <wdijkstr@arm.com>
318 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
320 2014-06-24 Wilco <wdijkstr@arm.com>
322 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
323 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
324 * sysdeps/arm/fesetround.c (fesetround): Remove space.
325 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
327 2014-06-24 Wilco <wdijkstr@arm.com>
330 * sysdeps/arm/feupdateenv.c (feupdateenv):
331 Rewrite to reduce FPSCR accesses and fix return value.
333 2014-06-24 Wilco <wdijkstr@arm.com>
335 * sysdeps/arm/fclrexcpt.c (feclearexcept):
336 Optimize to avoid unnecessary FPSCR writes.
337 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
338 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
339 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
340 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
342 2014-06-24 Wilco <wdijkstr@arm.com>
344 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
345 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
346 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
347 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
348 Call libc_fetestexcept_vfp.
349 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
350 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
351 __SOFTFP__ ifdef so that they can be built for softfp.
353 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
355 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
356 argument type signed char.
358 * Makerules (check-abi): Dump diff of symlist if the test
361 2014-06-23 Roland McGrath <roland@hack.frob.com>
363 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
366 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
367 Remove unused variable ST.
369 2014-06-23 Joseph Myers <joseph@codesourcery.com>
373 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
374 small arguments before calling __expm1.
375 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
376 small arguments before calling __expm1f.
377 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
378 small arguments before calling __expm1l.
379 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
381 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
382 * math/auto-libm-test-in: Add more cosh tests. Do not allow
383 spurious underflow for some cosh tests.
384 * math/auto-libm-test-out: Regenerated.
385 * sysdeps/i386/fpu/libm-test-ulps: Update.
388 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
389 (__ieee754_y1): Set errno if return value overflows.
390 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
391 (__ieee754_y1f): Set errno if return value overflows.
392 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
393 (__ieee754_y1l): Set errno if return value overflows.
394 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
395 (__ieee754_y1l): Set errno if return value overflows.
396 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
397 * math/auto-libm-test-out: Regenerated.
399 * math/gen-auto-libm-tests.c: Document use of
400 ignore-zero-inf-sign.
401 (input_flag_type): Add value flag_ignore_zero_inf_sign.
402 (input_flags): Add ignore-zero-inf-sign.
403 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
404 * math/gen-libm-test.pl (generate_testfile): Handle
405 ignore-zero-inf-sign.
406 * math/auto-libm-test-in: Mark some cpow tests with
407 ignore-zero-inf-sign and some with xfail-rounding.
408 * math/auto-libm-test-out: Regenerated.
409 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
410 * sysdeps/i386/fpu/libm-test-ulps: Update.
411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
414 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
415 overflowing or underflowing operations take place with sign of
417 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
418 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
419 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
420 (__ieee754_pow): Recompute overflowing and underflowing results in
421 original rounding mode.
422 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
423 (__powl_helper): Allow negative argument X and scale negated value
424 as needed. Avoid passing value outside [-1, 1] to f2xm1.
425 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
426 overflowing or underflowing operations take place with sign of
428 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
430 * math/auto-libm-test-in: Add more tests of pow.
431 * math/auto-libm-test-out: Regenerated.
432 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
433 (pow_tonearest_test_data): Remove.
434 (pow_test_tonearest): Likewise.
435 (pow_towardzero_test_data): Likewise.
436 (pow_test_towardzero): Likewise.
437 (pow_downward_test_data): Likewise.
438 (pow_test_downward): Likewise.
439 (pow_upward_test_data): Likewise.
440 (pow_test_upward): Likewise.
441 (main): Don't call removed functions.
442 * sysdeps/i386/fpu/libm-test-ulps: Update.
443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
445 2014-06-23 Roland McGrath <roland@hack.frob.com>
447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
621 2014-06-23 Will Newton <will.newton@linaro.org>
622 Wilco <wdijkstr@arm.com>
624 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
625 implementation. Include get-rounding-mode.h.
626 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
627 [!libc_feholdsetround_noex_ctx]: Define
628 libc_feholdsetround_noex_ctx.
629 [!libc_feholdsetround_noexf_ctx]: Define
630 libc_feholdsetround_noexf_ctx.
631 [!libc_feholdsetround_noexl_ctx]: Define
632 libc_feholdsetround_noexl_ctx.
633 (libc_feholdsetround_ctx): New function.
634 (libc_feresetround_ctx): New function.
635 (libc_feholdsetround_noex_ctx): New function.
636 (libc_feresetround_noex_ctx): New function.
638 2014-06-23 Roland McGrath <roland@hack.frob.com>
640 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
641 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
642 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
643 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
644 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
645 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
647 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
648 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
649 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
650 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
651 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
652 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
653 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
654 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
655 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
656 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
657 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
659 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
661 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
662 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
663 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
664 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
665 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
667 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
668 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
669 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
670 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
671 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
672 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
673 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
674 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
676 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
677 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
679 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
680 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
681 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
682 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
684 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
685 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
686 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
687 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
688 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
689 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
690 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
691 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
692 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
693 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
695 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
697 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
698 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
699 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
700 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
701 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
702 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
703 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
704 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
705 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
706 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
707 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
708 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
709 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
711 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
712 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
713 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
714 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
715 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
716 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
718 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
719 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
720 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
721 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
722 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
724 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
725 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
726 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
727 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
728 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
729 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
730 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
731 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
732 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
733 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
734 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
735 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
736 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
737 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
738 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
739 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
740 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
741 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
742 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
743 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
744 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
745 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
746 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
747 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
748 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
749 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
750 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
751 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
753 2014-06-23 Joseph Myers <joseph@codesourcery.com>
755 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
756 (FALLOC_FL_COLLAPSE_RANGE): New macro.
757 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
758 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
759 (IPV6_PMTUDISC_INTERFACE): Likewise.
760 (IPV6_PMTUDISC_OMIT): Likewise.
762 2014-06-23 Andreas Schwab <schwab@suse.de>
764 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
765 Remove unused errout label.
767 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
769 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
770 macro: hardware supports Vector Crypto instructions.
772 2014-06-23 Will Newton <will.newton@linaro.org>
774 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
775 rather than __builtin_expect.
777 * elf/dl-lookup.c (undefined_msg): Remove variable.
778 (_dl_lookup_symbol_x): Replace undefined_msg with string
781 * elf/dl-lookup.c (do_lookup_unique): New function.
782 (do_lookup_x): Move STB_GNU_UNIQUE handling code
783 to a separate function.
785 2014-06-23 Andreas Schwab <schwab@suse.de>
788 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
789 before reading the next line.
791 2014-06-23 Will Newton <will.newton@linaro.org>
793 * test-skeleton.c (signal_handler): Use printf and %m
794 rather than perror. Use printf rather than fprintf to
795 stderr. Use puts rather than fputs to stderr.
798 2014-06-22 Ludovic Courtès <ludo@gnu.org>
800 * nscd/nscd.c (thread_info_t): Remove typedef.
801 (thread_info): Remove variable.
803 2014-06-21 Allan McRae <allan@archlinux.org>
805 * NEWS: Mention CVE-2014-4043.
807 2014-06-20 Roland McGrath <roland@hack.frob.com>
809 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
810 * nptl/smp.h: ... here.
812 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
814 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
815 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
816 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
817 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
819 * nptl/allocatestack.c: Include <stack-aliasing.h>.
820 * nptl/stack-aliasing.h: New file.
821 * sysdeps/i386/i686/stack-aliasing.h: New file.
822 * sysdeps/i386/i686/nptl/Makefile: File removed.
823 * sysdeps/x86_64/stack-aliasing.h: New file.
824 * sysdeps/x86_64/nptl/Makefile
825 (CFLAGS-pthread_create.c): Variable removed.
827 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
828 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
830 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
831 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
834 2014-06-21 Joseph Myers <joseph@codesourcery.com>
836 * sysdeps/unix/sysv/linux/arm/kernel-features.h
837 (__ASSUME_SIGFRAME_V2): Remove macro.
838 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
839 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
840 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
841 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
842 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
843 Declare as function. Remove conditional macro definitions.
844 (__default_rt_sa_restorer): Likewise.
845 (__default_sa_restorer_v1): Remove declaration.
846 (__default_sa_restorer_v2): Likewise.
847 (__default_rt_sa_restorer_v1): Likewise.
848 (__default_rt_sa_restorer_v2): Likewise.
849 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
850 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
851 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
853 2014-06-20 Roland McGrath <roland@hack.frob.com>
855 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
856 (libpthread-routines): Add sysdep.
857 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
858 * sysdeps/unix/sysv/linux/sparc/Versions
859 (libpthread: GLIBC_2.3.3): New version set.
860 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
861 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
862 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
863 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
864 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
865 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
867 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
868 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
869 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
870 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
871 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
872 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
873 * sysdeps/sparc/nptl/sem_init.c: ... here.
874 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
875 * sysdeps/sparc/nptl/sem_post.c: ... here.
876 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
877 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
878 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
879 * sysdeps/sparc/nptl/sem_wait.c: ... here.
880 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
881 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
882 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
883 (libpthread-routines): Add cpu_relax.
884 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
886 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
887 (librt: GLIBC_2.3.3): New version set.
888 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
889 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
890 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
891 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
892 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
893 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
894 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
895 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
897 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
898 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
899 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
900 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
901 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
902 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
903 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
904 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
905 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
906 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
908 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
910 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
912 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
914 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
916 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
918 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
920 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
922 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
924 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
926 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
928 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
930 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
931 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
932 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
933 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
934 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
935 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
936 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
937 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
938 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
939 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
940 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
942 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
943 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
944 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
945 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
946 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
948 2014-06-20 Joseph Myers <joseph@codesourcery.com>
950 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
951 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
952 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
953 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
954 * nscd/nscd.c: Likewise.
955 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
956 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
957 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
958 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
960 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
962 (init_mq_netlink): Remove conditional have_sock_cloexec
963 definitions. Remove code conditional on have_sock_cloexec < 0.
964 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
965 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
966 * sysdeps/unix/sysv/linux/opensock.c: Do not include
968 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
969 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
971 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
973 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
974 Add tests for memset_chk and memset.
976 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
979 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
982 * elf/tst-dl-iter-static.c: New file.
983 * elf/Makefile (tests-static): Add tst-dl-iter-static.
985 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
988 2014-06-20 Joseph Myers <joseph@codesourcery.com>
990 * sysdeps/unix/sysv/linux/kernel-features.h
991 (__ASSUME_F_GETOWN_EX): Remove macro.
992 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
994 (miss_F_GETOWN_EX): Remove variable or macro.
995 (do_fcntl): Do not check miss_F_GETOWN_EX.
996 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
998 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1000 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1001 [!__ASSUME_AT_RANDOM]: Remove conditional code.
1002 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1004 * sysdeps/unix/sysv/linux/kernel-features.h
1005 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1006 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1007 [ADJ_OFFSET_SS_READ]: Make code unconditional.
1008 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1010 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1013 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1014 Fix calculation of the symbol's value.
1015 * sysdeps/arm/tst-armtlsdescloc.c: New file.
1016 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1017 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1018 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1019 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1020 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1021 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1022 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1023 (modules-names): Add `tst-armtlsdescmod',
1024 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1025 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1026 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1027 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1028 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1029 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1030 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1031 ($(objpfx)tst-armtlsdescloc): New dependency.
1032 ($(objpfx)tst-armtlsdescextnow): Likewise.
1033 ($(objpfx)tst-armtlsdescextlazy): Likewise.
1034 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1036 * sysdeps/arm/configure: Regenerate.
1038 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1040 * include/fcntl.h (__atfct_seterrno): Remove prototype.
1041 (__atfct_seterrno_2): Likewise.
1042 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1043 <kernel-features.h>.
1044 (__ASSUME_ATFCTS): Do not undefine and redefine.
1045 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1046 (__have_atfcts): Remove conditional definition.
1047 (__fxstatat([__NR_fstatat64]: Make code unconditional.
1048 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1049 unreachable if [__ASSUME_ATFCTS].
1050 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1051 not undefine and redefine.
1052 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1053 <kernel-features.h>.
1054 (faccessat) [__NR_faccessat]: Make code unconditional.
1055 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1056 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1057 <kernel-features.h>.
1058 (fchmodat) [__NR_fchmodat]: Make code unconditional.
1059 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1060 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1061 <kernel-features.h>.
1062 (fchownat) [__NR_fchownat]: Make code unconditional.
1063 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1064 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1065 <kernel-features.h>.
1066 (futimesat) [__NR_futimesat]: Make code unconditional.
1067 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1068 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1069 <kernel-features.h>.
1070 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1071 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1072 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1073 <kernel-features.h>.
1074 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1075 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1076 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1077 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1078 <kernel-features.h>.
1079 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1080 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1081 * sysdeps/unix/sysv/linux/linkat.c: Do not include
1082 <kernel-features.h>.
1083 (linkat) [__NR_linkat]: Make code unconditional.
1084 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1085 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
1086 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
1087 <kernel-features.h>.
1088 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
1089 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1090 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
1091 <kernel-features.h>.
1092 (mkdirat) [__NR_mkdirat]: Make code unconditional.
1093 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
1094 * sysdeps/unix/sysv/linux/openat.c: Do not include
1095 <kernel-features.h>.
1096 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
1097 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
1098 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
1099 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
1100 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
1101 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
1102 <kernel-features.h>.
1103 (readlinkat) [__NR_readlinkat]: Make code unconditional.
1104 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
1105 result of INLINE_SYSCALL directly, not via int variable.
1106 * sysdeps/unix/sysv/linux/renameat.c: Do not include
1107 <kernel-features.h>.
1108 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
1109 (renameat) [__NR_renameat]: Make code unconditional.
1110 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
1111 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
1112 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
1113 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
1114 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
1115 (__ASSUME_ATFCTS): Do not undefine and redefine.
1116 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
1117 <kernel-features.h>.
1118 (symlinkat) [__NR_symlinkat]: Make code unconditional.
1119 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1120 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
1121 <kernel-features.h>.
1122 (unlinkat) [__NR_unlinkat]: Make code unconditional.
1123 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1124 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
1125 (__ASSUME_ATFCTS): Do not undefine and redefine.
1126 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1127 <kernel-features.h>.
1128 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1129 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1130 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1131 <kernel-features.h>.
1132 (__xmknodat) [__NR_mknodat]: Make code unconditional.
1133 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1135 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1137 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
1139 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
1142 * posix/regcomp.c (parse_reg_exp): Deallocate partially
1143 constructed tree before returning error.
1144 * posix/bug-regexp36.c: Expand test case.
1146 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1149 * math/libm-test.inc (scalbln_test_date):
1150 Add errno expectations.
1151 * math/w_scalblnf.c: New File.
1152 Add wrapper which checks for setting errno to ERANGE.
1153 Add weak_alias for corresponding scalbln function.
1154 * math/w_scalbln.c: Likewise.
1155 * math/w_scalblnl.c: Likewise.
1156 * math/Makefile (libm-calls): Add w_scalbln.
1157 * sysdeps/ieee754/flt-32/s_scalblnf.c:
1158 Remove weak_alias for corresponding scalbln function.
1159 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1160 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1161 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1162 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1163 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
1164 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1165 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
1166 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1167 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
1168 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
1169 Remove long_double_symbol for scalblnl function in libm, libc.
1170 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
1171 Add wrapper which checks for setting errno to ERANGE.
1172 Add long_double_symbol for scalblnl function in libm, libc.
1173 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
1174 Remove long_double_symbol for scalblnl in libm.
1175 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
1176 Add wrapper which checks for setting errno to ERANGE.
1177 Add long_double_symbol for scalblnl function in libm.
1178 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
1179 Do not use wrapper because of own implementation.
1181 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
1183 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
1184 3 bytes for __pad1 for x32.
1185 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
1187 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
1188 H.J. Lu <hongjiu.lu@intel.com>
1190 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
1191 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
1192 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1193 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1194 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1196 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
1199 * posix/regcomp.c (parse_expression): Deallocate partially
1200 constructed tree before returning error.
1201 * posix/Makefile.c (tests): Add bug-regex36.
1202 (generated): Add bug-regex36.mtrace.
1203 (tests-special): Add $(objpfx)bug-regex36-mem.out
1204 (bug-regex36-ENV): New variable.
1205 ($(objpfx)bug-regex36-mem.out): New rule.
1206 * posix/bug-regex36.c: New file.
1208 2014-06-19 Will Newton <will.newton@linaro.org>
1210 * malloc/malloc.c (systrim): If extra is zero then return
1213 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1215 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
1217 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
1219 * sysdeps/aarch64/strchr.S: New file.
1221 2014-06-18 Joseph Myers <joseph@codesourcery.com>
1224 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
1225 from arguments -2 or below.
1226 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1227 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1229 2014-06-18 Andreas Schwab <schwab@suse.de>
1232 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
1233 of a bracket expr not to run off the end of the string.
1234 * posix/Makefile (tests): Add tst-fnmatch3.
1235 * posix/tst-fnmatch3.c: New file.
1237 2014-06-18 Joseph Myers <joseph@codesourcery.com>
1239 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
1240 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1241 [$(cross-compiling) = no]: Likewise.
1242 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1243 [$(cross-compiling) = no]: Likewise.
1245 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1248 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
1249 double, adjusted for any remainder from the high double.
1250 * math/libm-test.inc (nearbyint): Add tests.
1253 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1255 * nptl/sysdeps/powerpc/Makefile: Moved ...
1256 * sysdeps/powerpc/nptl/Makefile: ... here.
1257 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
1258 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
1259 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
1260 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
1261 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
1262 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
1263 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
1264 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
1265 * nptl/sysdeps/powerpc/tls.h: Moved ...
1266 * sysdeps/powerpc/nptl/tls.h: ... here.
1268 2014-06-16 Joseph Myers <joseph@codesourcery.com>
1271 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
1272 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1273 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
1274 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
1275 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1276 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
1277 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
1278 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1279 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
1281 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
1283 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1285 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
1287 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
1290 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
1293 2014-06-16 Florian Weimer <fweimer@redhat.com>
1296 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
1297 non-executed part of the test.
1299 2014-06-16 Andreas Schwab <schwab@suse.de>
1301 * string/bits/string2.h (strdup, strndup): Update feature guard.
1303 2014-06-14 David S. Miller <davem@davemloft.net>
1305 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1307 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
1309 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
1310 that was previously under [RESET_PID].
1311 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
1313 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
1314 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
1315 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
1316 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1317 (__libc_vfork): New strong alias.
1318 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
1320 2014-06-14 Andi Kleen <ak@linux.intel.com>
1322 * sysdeps/generic/elide.h: New file.
1324 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1326 * Makefile (installed-headers): Adjust path of pthread.h header.
1328 2014-06-13 Roland McGrath <roland@hack.frob.com>
1330 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
1331 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
1332 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
1333 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
1335 * nptl/sysdeps/s390/Makefile: Moved ...
1336 * sysdeps/s390/nptl/Makefile: ... here.
1337 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
1338 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
1339 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
1340 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
1341 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
1342 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
1343 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
1344 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
1345 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
1346 * sysdeps/s390/nptl/pthreaddef.h: ... here.
1347 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
1348 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
1349 * nptl/sysdeps/s390/tls.h: Moved ...
1350 * sysdeps/s390/nptl/tls.h: ... here.
1352 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
1353 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
1355 2014-06-13 David S. Miller <davem@davemloft.net>
1357 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
1358 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
1359 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
1360 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
1361 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
1362 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
1363 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
1364 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
1365 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
1366 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
1367 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
1368 Remove RESET_PID cpp guards.
1369 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
1370 Remove RESET_PID cpp guards.
1371 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
1373 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
1375 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
1378 2014-06-13 Andi Kleen <ak@linux.intel.com>
1380 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
1381 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
1382 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
1383 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
1384 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
1385 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
1386 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
1387 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
1388 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
1389 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
1390 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
1391 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
1392 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
1393 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
1394 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
1395 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
1396 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
1397 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
1398 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
1399 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
1401 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
1402 (pthread_rwlock_rdlock): Add elision.
1403 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
1404 (pthread_rwlock_wrlock): Add elision.
1405 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
1406 (pthread_rwlock_trywrlock): Add elision.
1407 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
1408 (pthread_rwlock_tryrdlock): Add elision.
1409 * nptl/pthread_rwlock_unlock.c: Include elide.h.
1410 (pthread_rwlock_tryrdlock): Add elision unlock.
1411 * nptl/sysdeps/pthread/pthread.h:
1412 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
1413 (PTHREAD_RWLOCK_INITIALIZER,
1414 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
1415 Handle new elision field.
1416 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
1417 * sysdeps/arm/nptl/bits/pthreadtypes.h
1418 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1419 * sysdeps/sh/nptl/bits/pthreadtypes.h
1420 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1421 * sysdeps/tile/nptl/bits/pthreadtypes.h
1422 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1423 * sysdeps/a/nptl/bits/pthreadtypes.h
1424 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1425 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1426 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1427 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1428 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1429 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
1430 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1431 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1432 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1433 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1434 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1435 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1436 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1437 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1438 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1439 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
1440 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1441 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
1442 (elision_init): Set try_xbegin to zero when no RTM.
1443 * sysdeps/x86/nptl/bits/pthreadtypes.h
1444 (pthread_rwlock_t): Change __pad1 to __rwelision.
1445 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1447 2014-06-13 Andi Kleen <ak@linux.intel.com>
1449 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
1450 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
1451 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
1452 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
1454 2014-06-13 Meador Inge <meadori@codesourcery.com>
1457 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
1458 that the cached result has been set before returning it.
1460 2014-06-12 Roland McGrath <roland@hack.frob.com>
1462 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
1463 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
1464 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
1465 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
1466 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
1467 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
1469 * nptl/sysdeps/sparc/Makefile: Moved ...
1470 * sysdeps/sparc/nptl/Makefile: ... here.
1471 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
1472 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
1473 * nptl/sysdeps/sparc/tls.h: Moved ...
1474 * sysdeps/sparc/nptl/tls.h: ... here.
1475 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
1476 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
1477 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
1478 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
1479 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
1480 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
1481 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
1482 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
1483 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
1484 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
1485 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
1486 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
1487 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
1488 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
1489 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
1490 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
1491 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
1492 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
1494 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
1495 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
1497 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
1498 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
1500 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
1501 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
1504 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1506 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
1507 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
1509 * sysdeps/pthread/posix-timer.h: Include <list.h>.
1510 (struct list_links): Type removed.
1511 (struct thread_node, struct timer_node): Replace struct list_links
1512 with struct list_head.
1513 (list_unlink_ip): Likewise.
1514 * sysdeps/pthread/timer_routines.c
1515 (timer_free_list, thread_free_list, thread_active_list): Likewise.
1516 (list_append, list_insbefore): Likewise.
1517 (list_init): Function removed.
1518 (thread_init, init_module): Use INIT_LIST_HEAD instead.
1519 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
1520 * sysdeps/pthread/Makefile: ... here, new file.
1522 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
1523 * sysdeps/nptl/Implies: ... here.
1524 * sysdeps/unix/sysv/linux/Implies: Add nptl.
1525 * nptl/sysdeps/pthread/list.h: Moved ...
1526 * include/list.h: ... here.
1527 * nptl/sysdeps/pthread/createthread.c: Moved ...
1528 * nptl/createthread.c: ... here.
1529 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
1530 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
1531 * nptl/pt-longjmp.c: ... here.
1532 * nptl/sysdeps/pthread/Makefile: Moved ...
1533 * sysdeps/nptl/Makefile: ... here.
1534 * nptl/sysdeps/pthread/Subdirs: Moved ...
1535 * sysdeps/nptl/Subdirs: ... here.
1536 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
1537 * sysdeps/nptl/aio_misc.h: ... here.
1538 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
1539 * sysdeps/nptl/bits/libc-lock.h: ... here.
1540 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
1541 * sysdeps/nptl/bits/libc-lockP.h: ... here.
1542 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
1543 * sysdeps/nptl/bits/stdio-lock.h: ... here.
1544 * nptl/sysdeps/pthread/configure: Moved ...
1545 * sysdeps/nptl/configure: ... here.
1546 * nptl/sysdeps/pthread/configure.ac: Moved ...
1547 * sysdeps/nptl/configure.ac: ... here.
1548 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
1549 * sysdeps/nptl/gai_misc.h: ... here.
1550 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
1551 * sysdeps/nptl/librt-cancellation.c: ... here.
1552 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
1553 * sysdeps/nptl/malloc-machine.h: ... here.
1554 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
1555 * sysdeps/nptl/pthread-functions.h: ... here.
1556 * nptl/sysdeps/pthread/pthread.h: Moved ...
1557 * sysdeps/nptl/pthread.h: ... here.
1558 * nptl/sysdeps/pthread/setxid.h: Moved ...
1559 * sysdeps/nptl/setxid.h: ... here.
1560 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
1561 * sysdeps/nptl/sigfillset.c: ... here.
1562 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
1563 * sysdeps/nptl/tcb-offsets.h: ... here.
1564 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
1565 * sysdeps/nptl/tst-mqueue8x.c: ... here.
1566 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
1567 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
1568 * nptl/sysdeps/pthread/allocalim.h: Moved ...
1569 * sysdeps/pthread/allocalim.h: ... here.
1570 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
1571 * sysdeps/pthread/bits/sigthread.h: ... here.
1572 * nptl/sysdeps/pthread/flockfile.c: Moved ...
1573 * sysdeps/pthread/flockfile.c: ... here.
1574 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
1575 * sysdeps/pthread/ftrylockfile.c: ... here.
1576 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
1577 * sysdeps/pthread/funlockfile.c: ... here.
1578 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
1579 * sysdeps/pthread/posix-timer.h: ... here.
1580 * nptl/sysdeps/pthread/timer_create.c: Moved ...
1581 * sysdeps/pthread/timer_create.c: ... here.
1582 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
1583 * sysdeps/pthread/timer_delete.c: ... here.
1584 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
1585 * sysdeps/pthread/timer_getoverr.c: ... here.
1586 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
1587 * sysdeps/pthread/timer_gettime.c: ... here.
1588 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
1589 * sysdeps/pthread/timer_routines.c: ... here.
1590 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
1591 * sysdeps/pthread/timer_settime.c: ... here.
1592 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
1593 * sysdeps/pthread/tst-timer.c: ... here.
1594 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
1595 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
1597 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
1598 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
1600 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
1601 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
1602 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
1603 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
1604 Update #include target.
1605 * nptl/sysdeps/i386/i686/Makefile: Moved ...
1606 * sysdeps/i386/i686/nptl/Makefile: ... here.
1607 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
1608 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
1609 Update #include target.
1610 * nptl/sysdeps/i386/i686/tls.h: Moved ...
1611 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
1612 * nptl/sysdeps/i386/Makefile: Moved ...
1613 * sysdeps/i386/nptl/Makefile: ... here.
1614 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
1615 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
1616 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
1617 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
1618 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
1619 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
1620 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
1621 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
1622 * sysdeps/i386/nptl/pthreaddef.h: ... here.
1623 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
1624 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
1625 * nptl/sysdeps/i386/tls.h: Moved ...
1626 * sysdeps/i386/nptl/tls.h: ... here.
1628 * sysdeps/sh/Makefile [$(subdir) = csu]
1629 (gen-as-const-headers): Add tcb-offsets.sym.
1630 * nptl/sysdeps/sh/Makefile: File removed.
1631 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
1632 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
1633 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
1634 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
1635 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
1636 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
1637 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
1638 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
1639 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
1640 * sysdeps/sh/nptl/pthreaddef.h: ... here.
1641 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
1642 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
1643 * nptl/sysdeps/sh/tls.h: Moved ...
1644 * sysdeps/sh/nptl/tls.h: ... here.
1645 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
1646 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
1647 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
1648 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
1649 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
1650 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
1651 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
1652 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
1653 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
1654 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
1655 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
1656 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
1657 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
1658 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
1659 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
1660 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
1661 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
1662 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
1663 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
1664 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
1665 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
1666 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
1667 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
1668 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
1669 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
1671 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
1672 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
1674 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
1675 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
1676 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
1677 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
1678 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
1679 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
1680 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
1681 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
1682 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
1683 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
1684 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
1685 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
1686 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
1687 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
1688 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
1689 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
1690 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
1691 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
1692 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
1694 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1696 * posix/spawn_faction_addopen.c: Include string.h.
1698 2014-06-11 Roland McGrath <roland@hack.frob.com>
1700 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
1701 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
1702 * nptl/sysdeps/x86_64/Makefile: Moved ...
1703 * sysdeps/x86_64/nptl/Makefile: ... here.
1704 * nptl/sysdeps/x86_64/configure: Moved ...
1705 * sysdeps/x86_64/nptl/configure: ... here.
1706 * nptl/sysdeps/x86_64/configure.ac: Moved ...
1707 * sysdeps/x86_64/nptl/configure.ac: ... here.
1708 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
1709 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
1710 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
1711 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
1712 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
1713 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
1714 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
1715 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
1716 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
1717 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
1718 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
1719 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
1720 * nptl/sysdeps/x86_64/tls.h: Moved ...
1721 * sysdeps/x86_64/nptl/tls.h: ... here.
1722 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
1723 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
1724 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
1725 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
1727 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
1729 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1731 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1733 2014-06-11 Joseph Myers <joseph@codesourcery.com>
1735 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
1737 [POSIX] (off_t): Likewise.
1738 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
1739 [POSIX] (S_ISBLK): Require macro.
1740 [POSIX] (S_ISCHR): Likewise.
1741 [POSIX] (S_ISDIR): Likewise.
1742 [POSIX] (S_ISFIFO): Likewise.
1743 [POSIX] (S_ISREG): Likewise.
1744 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
1746 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
1748 [POSIX] (time_t): Likewise.
1749 [POSIX] (timer_t): Likewise.
1751 2014-06-11 Florian Weimer <fweimer@redhat.com>
1754 * posix/spawn_int.h (struct __spawn_action): Make the path string
1755 non-const to support deallocation.
1756 * posix/spawn_faction_addopen.c
1757 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
1758 * posix/spawn_faction_destroy.c
1759 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
1760 path in all spawn_do_open actions.
1761 * posix/tst-spawn.c (do_test): Exercise the copy operation in
1762 posix_spawn_file_actions_addopen.
1764 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
1766 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
1767 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
1768 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
1769 conditional code always true.
1770 (__libc_vfork): New alias.
1772 2014-06-11 Roland McGrath <roland@hack.frob.com>
1774 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1775 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
1777 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
1779 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1780 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
1782 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1783 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
1785 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1786 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
1788 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1790 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
1791 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
1792 multiarch strcmp for PPC64.
1793 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
1794 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
1795 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
1796 multiarch optimizations.
1797 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1798 (__libc_ifunc_impl_list): Likewise.
1800 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1802 * benchtests/scripts/validate_benchout.py: New script.
1803 * benchtests/Makefile (bench-func): Call it.
1804 * benchtests/scripts/benchout.schema.json: New file.
1806 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
1808 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
1809 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
1810 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
1811 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
1812 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
1813 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1814 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
1815 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
1816 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
1817 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
1818 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
1819 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
1820 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
1821 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
1822 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
1823 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
1824 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
1826 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
1828 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
1830 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
1831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
1833 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
1835 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
1837 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
1839 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
1841 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
1842 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
1844 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
1846 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
1848 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
1850 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
1852 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
1853 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
1855 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
1857 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
1859 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
1861 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
1863 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
1865 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
1867 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
1868 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
1870 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
1872 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
1874 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
1876 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
1878 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
1880 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
1882 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
1883 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
1885 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
1887 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
1889 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
1891 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
1893 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
1894 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
1896 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
1898 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
1900 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
1901 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
1903 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
1904 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
1906 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
1908 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
1910 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
1912 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
1914 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
1916 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
1918 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
1919 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
1921 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
1923 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
1925 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
1927 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
1928 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
1929 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
1930 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
1931 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
1933 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
1935 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
1936 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
1937 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
1938 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
1939 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
1940 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
1941 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
1942 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
1943 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
1944 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
1945 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
1946 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
1947 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
1949 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
1950 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
1952 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
1953 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
1954 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
1955 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
1957 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
1958 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
1959 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
1960 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
1961 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
1962 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
1963 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
1965 2014-06-10 Wilco <wdijkstr@arm.com>
1967 * math/test-fenv-return.c: New file.
1968 * math/Makefile: Add new test test-fenv-return.
1970 2014-06-10 Joseph Myers <joseph@codesourcery.com>
1973 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
1975 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
1976 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1977 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
1978 0.0L for an argument of 1.0L.
1979 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1981 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
1982 value when x - 1 is zero.
1983 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
1984 * sysdeps/i386/fpu/libm-test-ulps: Update.
1985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1987 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
1990 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
1992 2014-06-09 Roland McGrath <roland@hack.frob.com>
1994 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
1995 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
1997 2014-06-09 Roland McGrath <roland@hack.frob.com>
1999 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2000 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2002 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2003 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2005 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2006 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2008 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2009 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2011 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2012 if not already defined.
2013 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2014 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2015 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2016 (TLS_INIT_TP): Use it.
2017 (TLS_DEFINE_INIT_TP): New macro.
2018 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2020 2014-06-09 Joseph Myers <joseph@codesourcery.com>
2022 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2024 [POSIX] (IXANY): Likewise.
2025 [POSIX] (OLCUC): Likewise.
2026 [POSIX || POSIX2008] (CBAUD): Do not allow.
2027 [POSIX || POSIX2008] (DEFECHO): Likewise.
2028 [POSIX || POSIX2008] (ECHOCTL): Likewise.
2029 [POSIX || POSIX2008] (ECHOKE): Likewise.
2030 [POSIX || POSIX2008] (ECHOPRT): Likewise.
2031 [POSIX || POSIX2008] (EXTA): Likewise.
2032 [POSIX || POSIX2008] (EXTB): Likewise.
2033 [POSIX || POSIX2008] (FLUSHO): Likewise.
2034 [POSIX || POSIX2008] (LOBLK): Likewise.
2035 [POSIX || POSIX2008] (PENDIN): Likewise.
2036 [POSIX || POSIX2008] (SWTCH): Likewise.
2037 [POSIX || POSIX2008] (VDISCARD): Likewise.
2038 [POSIX || POSIX2008] (VDSUSP): Likewise.
2039 [POSIX || POSIX2008] (VLNEXT): Likewise.
2040 [POSIX || POSIX2008] (VREPRINT): Likewise.
2041 [POSIX || POSIX2008] (VSTATUS): Likewise.
2042 [POSIX || POSIX2008] (VWERASE): Likewise.
2043 (B*): Change to B[0123456789]*.
2044 * conform/data/time.h-data [POSIX || UNIX98]
2045 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2046 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2047 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2048 [POSIX] (tm_*): Do not allow.
2050 2014-06-07 Joseph Myers <joseph@codesourcery.com>
2052 * Makefile (install): Don't set LANGUAGE.
2053 * Makefile.in (install): Likewise.
2054 * assert/Makefile (test-assert-ENV): Remove variable.
2055 (test-assert-perr-ENV): Likewise.
2056 * elf/Makefile (neededtest4-ENV): Likewise.
2057 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2058 [$(cross-compiling) = no]: Don't set LANGUAGE.
2059 * io/ftwtest-sh (LANG): Remove variable.
2060 * libio/Makefile (tst-widetext-ENV): Likewise.
2061 * manual/install.texi (Running make install): Don't refer to
2062 environment settings for make install.
2063 * INSTALL: Regenerated.
2064 * nptl/tst-tls6.sh: Don't set LANG.
2065 * posix/globtest.sh (LANG): Remove variable.
2066 * string/Makefile (tester-ENV): Likewise.
2067 (inl-tester-ENV): Likewise.
2068 (noinl-tester-ENV): Likewise.
2069 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2070 [$(cross-compiling) = no]: Don't set LANGUAGE.
2071 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2072 without explicit environment settings.
2074 2014-06-06 Roland McGrath <roland@hack.frob.com>
2076 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2077 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2078 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2079 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2081 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
2083 * crypt/crypt-private.h [DOS]: Add some includes taken from the
2084 other files in the crypt directory.
2085 * crypt/crypt.c: Remove duplicate includes.
2086 * crypt/crypt-entry.c: Likewise.
2087 * crypt/crypt_util.c: Likewise.
2089 2014-06-06 Joseph Myers <joseph@codesourcery.com>
2091 * Makeconfig (run-program-env): New variable.
2092 (run-program-prefix-before-env): Likewise.
2093 (run-program-prefix-after-env): Likewise.
2094 (run-program-prefix): Define in terms of new variables.
2095 (built-program-cmd-before-env): New variable.
2096 (built-program-cmd-after-env): Likewise.
2097 (built-program-cmd): Define in terms of new variables.
2098 (test-program-prefix-before-env): New variable.
2099 (test-program-prefix-after-env): Likewise.
2100 (test-program-prefix): Define in terms of new variables.
2101 (test-program-cmd-before-env): New variable.
2102 (test-program-cmd-after-env): Likewise.
2103 (test-program-cmd): Define in terms of new variables.
2104 * Rules (make-test-out): Use $(run-program-env).
2105 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
2106 (help): Do not mention environment variables. Mention
2107 --timeoutfactor option.
2108 (timeoutfactor): New variable.
2109 (blacklist_exports): Remove function.
2110 (exports): Remove variable.
2111 (command): Do not include ${exports}.
2112 * manual/install.texi (Configuring and compiling): Do not mention
2113 test wrappers preserving environment variables. Mention that last
2114 assignment to a variable must take precedence.
2115 * INSTALL: Regenerated.
2116 * benchtests/Makefile (run-bench): Use $(run-program-env).
2117 * catgets/Makefile ($(objpfx)test1.cat): Use
2118 $(built-program-cmd-before-env), $(run-program-env) and
2119 $(built-program-cmd-after-env).
2120 ($(objpfx)test2.cat): Do not specify environment variables
2122 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
2123 $(run-program-env) and $(built-program-cmd-after-env).
2124 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
2125 $(run-program-env) and $(test-program-cmd-after-env).
2126 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
2128 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
2129 run_program_env and test_program_cmd_after_env arguments.
2130 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
2131 * elf/tst-pathopt.sh: Use run_program_env argument.
2132 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
2133 $(test-wrapper-env) and $(run-program-env).
2134 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
2135 run_program_env arguments.
2136 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
2137 * intl/Makefile ($(objpfx)tst-gettext.out): Use
2138 $(test-program-prefix-before-env), $(run-program-env) and
2139 $(test-program-prefix-after-env).
2140 ($(objpfx)tst-gettext2.out): Likewise.
2141 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
2142 run_program_env and test_program_prefix_after_env arguments.
2143 * intl/tst-gettext2.sh: Likewise.
2144 * intl/tst-gettext4.sh: Do not set environment variables
2146 * intl/tst-gettext6.sh: Likewise.
2147 * intl/tst-translit.sh: Likewise.
2148 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
2149 $(test-program-prefix-before-env), $(run-program-env) and
2150 $(test-program-prefix-after-env).
2151 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
2152 run_program_env and test_program_prefix_after_env arguments.
2153 * math/Makefile (run-regen-ulps): Use $(run-program-env).
2154 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
2155 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
2156 explicitly with each use of ${test_wrapper_env}.
2157 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
2158 $(test-program-prefix-before-env), $(run-program-env) and
2159 $(test-program-prefix-after-env).
2160 * posix/tst-getconf.sh: Do not set environment variables
2162 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
2163 run_program_env and test_program_prefix_after_env arguments.
2164 * stdio-common/tst-printf.sh: Do not set environment variables
2166 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
2167 $(test-program-prefix-before-env), $(run-program-env) and
2168 $(test-program-prefix-after-env).
2169 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
2170 run_program_env and test_program_prefix_after_env arguments.
2171 Split $test calls into $test_pre and $test.
2172 * timezone/Makefile (build-testdata): Use
2173 $(built-program-cmd-before-env), $(run-program-env) and
2174 $(built-program-cmd-after-env).
2176 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2178 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
2179 strlen for non SHARED builds.
2181 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2183 * nptl/allocatestack.c (check_list): Inlined function...
2184 (__reclaim_stacks): ... here.
2186 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
2189 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2192 2014-06-05 Joseph Myers <joseph@codesourcery.com>
2194 * Rules (make-test-out): Include
2195 LOCPATH=$(common-objpfx)localedata in default environment.
2196 * debug/Makefile (tst-chk1-ENV): Remove variable.
2197 (tst-chk2-ENV): Likewise.
2198 (tst-chk3-ENV): Likewise.
2199 (tst-chk4-ENV): Likewise.
2200 (tst-chk5-ENV): Likewise.
2201 (tst-chk6-ENV): Likewise.
2202 (tst-lfschk1-ENV): Likewise.
2203 (tst-lfschk2-ENV): Likewise.
2204 (tst-lfschk3-ENV): Likewise.
2205 (tst-lfschk4-ENV): Likewise.
2206 (tst-lfschk5-ENV): Likewise.
2207 (tst-lfschk6-ENV): Likewise.
2208 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
2209 (tst-iconv7-ENV): Likewise.
2210 * intl/Makefile (LOCPATH-ENV): Likewise.
2211 (tst-codeset-ENV): Likewise.
2212 (tst-gettext3-ENV): Likewise.
2213 (tst-gettext5-ENV): Likewise.
2214 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
2215 (tst-fopenloc-ENV): Likewise.
2216 (tst-fgetws-ENV): Remove variable.
2217 (tst-ungetwc1-ENV): Likewise.
2218 (tst-ungetwc2-ENV): Likewise.
2219 (bug-ungetwc2-ENV): Likewise.
2220 (tst-swscanf-ENV): Likewise.
2221 (bug-ftell-ENV): Likewise.
2222 (tst-fgetwc-ENV): Likewise.
2223 (tst-fseek-ENV): Likewise.
2224 (tst-ftell-partial-wide-ENV): Likewise.
2225 (tst-ftell-active-handler-ENV): Likewise.
2226 (tst-ftell-append-ENV): Likewise.
2227 * posix/Makefile (tst-fnmatch-ENV): Likewise.
2228 (tst-regexloc-ENV): Likewise.
2229 (bug-regex1-ENV): Likewise.
2230 (tst-regex-ENV): Likewise.
2231 (tst-regex2-ENV): Likewise.
2232 (bug-regex5-ENV): Likewise.
2233 (bug-regex6-ENV): Likewise.
2234 (bug-regex17-ENV): Likewise.
2235 (bug-regex18-ENV): Likewise.
2236 (bug-regex19-ENV): Likewise.
2237 (bug-regex20-ENV): Likewise.
2238 (bug-regex22-ENV): Likewise.
2239 (bug-regex23-ENV): Likewise.
2240 (bug-regex25-ENV): Likewise.
2241 (bug-regex26-ENV): Likewise.
2242 (bug-regex30-ENV): Likewise.
2243 (bug-regex32-ENV): Likewise.
2244 (bug-regex33-ENV): Likewise.
2245 (bug-regex34-ENV): Likewise.
2246 (bug-regex35-ENV): Likewise.
2247 (tst-rxspencer-ENV): Likewise.
2248 (tst-rxspencer-no-utf8-ENV): Likewise.
2249 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
2250 (tst-sscanf-ENV): Likewise.
2251 (tst-swprintf-ENV): Likewise.
2252 (tst-swscanf-ENV): Likewise.
2253 (test-vfprintf-ENV): Likewise.
2254 (scanf13-ENV): Likewise.
2255 (bug14-ENV): Likewise.
2256 (tst-grouping-ENV): Likewise.
2257 * stdlib/Makefile (tst-strtod-ENV): Likewise.
2258 (tst-strtod3-ENV): Likewise.
2259 (tst-strtod4-ENV): Likewise.
2260 (tst-strtod5-ENV): Likewise.
2261 (testmb2-ENV): Likewise./
2262 * string/Makefile (tst-strxfrm-ENV): Likewise.
2263 (tst-strxfrm2-ENV): Likewise.
2264 (bug-strcoll1-ENV): Likewise.
2265 (test-strcasecmp-ENV): Likewise.
2266 (test-strncasecmp-ENV): Likewise.
2267 * time/Makefile (tst-strptime-ENV): Likewise.
2268 (tst-ftime_l-ENV): Likewise.
2269 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
2270 (tst-mbrtowc-ENV): Likewise.
2271 (tst-wcrtomb-ENV): Likewise.
2272 (tst-mbrtowc2-ENV): Likewise.
2273 (tst-c16c32-1-ENV): Likewise.
2274 (tst-mbsnrtowcs-ENV): Likewise.
2276 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
2278 * manual/resource.texi (How to get information about the memory
2279 subsystem?): Fix typo.
2280 Reported by Peon de la Parra Ivan <peon@keba.com>
2282 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
2285 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
2286 (pthread_spin_lock): Branch out of spin loop to proper location.
2287 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
2288 (pthread_spin_lock): Likewise.
2290 * nptl/tst-spin4.c: New test.
2291 * nptl/Makefile (tests): Add tst-spin4.
2293 2014-06-03 Andreas Schwab <schwab@suse.de>
2296 * resolv/res_send.c (send_dg): Reload file descriptor after
2299 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
2301 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2303 2014-06-03 Richard Henderson <rth@redhat.com>
2305 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
2306 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
2307 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
2308 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
2309 in the SAVE_PID block.
2310 (__libc_vfork): New alias.
2311 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
2313 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
2314 child in registers, not on the stack. Remove RESET_PID conditionals.
2315 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
2317 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
2319 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2321 2014-06-03 Wilco <wdijkstr@arm.com>
2323 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
2324 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
2325 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2326 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
2327 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
2330 2014-06-03 Wilco <wdijkstr@arm.com>
2332 * sysdeps/aarch64/fpu/math_private.h
2333 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
2334 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
2335 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
2336 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2339 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2341 * crypt/crypt-private.h: Include ufc-crypt.h.
2342 (__b64_from_24bit): Declare extern.
2343 * crypt/crypt_util.c(__b64_from_24bit): New function.
2344 (b64t): New static const variable.
2345 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
2346 (b64t): Remove variable.
2347 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
2348 * crypt/sha256-crypt.c: Include crypt-private.h.
2349 (b64t): Remove variable.
2350 (__sha256_crypt_r): Remove b64_from_24bit and replace
2351 with __b64_from_24bit.
2352 * crypt/sha512-crypt.c: Likewise.
2354 2014-06-02 Roland McGrath <roland@hack.frob.com>
2356 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
2357 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
2358 Label the code __libc_vfork rather than __vfork.
2359 [!NOT_IN_libc] (vfork): Define as weak alias.
2360 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
2361 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
2362 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
2364 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2366 * malloc/malloc.c (malloc_info): Fix format specifier for
2369 2014-06-02 Wilco <wdijkstr@arm.com>
2371 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
2374 2014-06-02 Wilco <wdijkstr@arm.com>
2377 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
2378 Rewrite to reduce FPCR/FPSR accesses.
2380 2014-06-01 David S. Miller <davem@davemloft.net>
2382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2384 2014-05-31 David S. Miller <davem@davemloft.net>
2386 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
2387 to occur in round to nearest mode when |x| >= 2.0
2389 2014-05-30 Richard Henderson <rth@twiddle.net>
2391 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
2392 (PSEUDO_RET_NOERRNO): Remove.
2393 (ret): Don't redefine.
2394 (ret_NOERRNO): Define in terms of ret.
2395 (ret_ERRVAL): Likewise.
2397 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
2398 use of PSEUDO_RET; perform the error check directly.
2400 2014-05-30 Marko Myllynen <myllynen@redhat.com>
2402 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
2405 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2407 * malloc/malloc (malloc_info): Fix formatting.
2409 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2410 Roland McGrath <roland@hack.frob.com>
2412 * malloc/malloc (malloc_info): Also print mmapped statistics.
2414 2014-05-30 Roland McGrath <roland@hack.frob.com>
2416 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
2417 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
2419 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
2421 * malloc/malloc.c (malloc_info): Inline mi_arena.
2423 2014-05-29 Richard Henderson <rth@twiddle.net>
2425 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
2426 Remove comma before expanding ASM_ARGS_##nr.
2427 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
2428 Make _x0 a strict output; make _x8 a strict input; adjust expansion
2430 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
2431 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
2432 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
2433 (ASM_ARGS_1): Add leading comma.
2435 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
2436 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
2437 to __errno_location.
2438 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
2439 Remove the expected plt for __errno_location.
2441 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2442 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
2445 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2446 Always allocate 64 bytes of stack frame. Use ldp/stp to create
2447 it and break it down.
2448 (DOCARGS_0, DOCARGS_1): Do nothing.
2449 (DOCARGS_2): Update to store into the new stack frame.
2450 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
2451 (UNDOCARGS_1): Update to restore from the new stack frame.
2452 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
2453 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
2455 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2456 (SINGLE_THREAD_P): New parameter for result regno.
2457 (PSEUDO): Update to match; use cbz instead of beq.
2459 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2460 Use ENTRY to define the _nocancel entry point. Share the syscall
2461 and syscall error check paths with the cancel path.
2464 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
2465 whitespace; tabs before and after asm mnemonics.
2467 2014-05-29 Eric Wong <normalperson@yhbt.net>
2470 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2471 Call fstat64 or stat64 internally, depending on arguments passed.
2472 Replace stat buffer argument with file descriptor argument.
2473 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
2474 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2475 Pass fd to __internal_statvfs instead of calling fstat64.
2476 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
2477 Pass fd to __internal_statvfs64 instead of calling fstat64.
2478 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
2479 Pass -1 to __internal_statvfs instead of calling stat64.
2480 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
2481 Pass -1 to __internal_statvfs64 instead of calling stat64.
2483 2014-05-28 Roland McGrath <roland@hack.frob.com>
2485 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
2486 that was previously under [RESET_PID].
2487 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
2489 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
2490 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
2492 2014-05-27 Roland McGrath <roland@hack.frob.com>
2494 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
2496 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
2497 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
2499 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
2501 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
2503 2014-05-27 Andreas Schwab <schwab@suse.de>
2505 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
2507 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2508 * elf/rtld.c (init_tls, dl_main): Likewise.
2509 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
2510 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
2511 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
2512 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
2513 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
2514 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
2515 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
2516 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
2517 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
2518 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
2519 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
2520 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
2521 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
2522 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
2523 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
2524 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
2525 * sysdeps/generic/tls.h: Update description.
2527 2014-05-27 Will Newton <will.newton@linaro.org>
2530 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
2531 and restore r2 rather than just restoring.
2533 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2536 * libio/tst-ftell-append.c: New test case.
2537 * libio/Makefile (tests): Add test case.
2538 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
2540 * libio/wfileops.c (do_ftell_wide): Likewise.
2542 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2544 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2546 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
2548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
2549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2550 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
2551 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
2552 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
2553 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
2554 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
2555 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
2556 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
2559 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
2562 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
2563 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
2564 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
2565 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
2566 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
2568 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
2569 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
2571 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
2573 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
2575 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
2576 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
2577 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
2579 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
2580 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
2581 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
2582 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
2584 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
2586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
2587 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
2589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
2590 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
2592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
2593 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
2597 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
2600 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
2604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
2605 conditional [RESET_PID].
2606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2607 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
2609 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
2612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
2614 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2615 (__libc_vfork): New strong alias.
2616 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
2618 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
2621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
2623 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
2624 (__libc_vfork): New strong alias.
2625 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
2627 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
2630 2014-05-26 Carlos O'Donell <carlos@redhat.com>
2632 * malloc/malloc.c (mi_arena): New function.
2633 (malloc_info): Remove nested function mi_arena. Call non-nosted
2636 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2638 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
2640 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
2641 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
2642 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
2643 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
2644 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
2645 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
2646 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
2648 2014-05-26 Andreas Schwab <schwab@suse.de>
2651 * locale/programs/repertoire.c (repertoire_read): Add slash
2652 between I18NPATH element and file name.
2653 * locale/programs/locfile.c (locfile_read): Likewise.
2655 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2657 * nptl/pthread_mutexattr_settype.c
2658 (__pthread_mutexattr_settype):
2659 Disable lock elision for PTHREAD_MUTEX_NORMAL.
2661 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2663 * nptl/tst-mutex5 (do_test):
2664 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
2666 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2668 * benchtests/README: Document 'init' directive.
2669 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
2671 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
2672 (parse_file): Recognize 'init' directive.
2674 2014-05-26 Kyle McMartin <kyle@redhat.com>
2677 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
2678 alignment of struct pthread.
2680 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2683 * nscd/netgroupcache.c (addgetnetgrentX): Look for
2684 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2685 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
2686 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2688 2014-05-25 Richard Henderson <rth@twiddle.net>
2690 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2691 (SINGLE_THREAD_P_PIC): Remove.
2692 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
2693 (SINGLE_THREAD_P_PIC): Remove.
2695 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
2696 branch to syscall error ...
2698 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
2699 from __local_syscall_error to .Lsyscall_error.
2700 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
2701 (SYSCALL_ERROR): Update label name.
2703 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2704 Do not use DOARGS/UNDOARGS.
2705 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
2706 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
2707 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
2708 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
2709 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
2711 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
2714 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
2715 define if !NOT_IN_libc.
2716 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
2717 define with non-default symbol versions.
2719 2014-05-23 Richard Henderson <rth@twiddle.net>
2721 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
2722 (vfork, __vfork): Define via compat_symbol.
2724 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
2725 [!HAVE_IFUNC] (vfork_compat): Remove.
2726 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
2728 2014-05-23 Joseph Myers <joseph@codesourcery.com>
2731 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
2732 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
2735 2014-05-23 Richard Henderson <rth@twiddle.net>
2737 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
2738 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
2739 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
2740 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
2742 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
2743 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
2744 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
2745 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
2746 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
2747 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
2748 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
2749 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
2750 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
2751 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
2752 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
2753 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
2754 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
2755 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
2756 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
2757 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
2758 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
2759 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
2760 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
2761 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
2762 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
2763 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
2764 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
2765 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
2766 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
2767 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
2768 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
2769 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
2770 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
2771 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
2772 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
2773 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
2774 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
2775 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
2776 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
2777 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
2778 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
2779 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
2780 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
2781 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
2782 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
2783 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
2784 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
2785 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
2786 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
2787 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
2788 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
2789 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
2790 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
2791 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
2792 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
2793 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
2794 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
2795 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
2796 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
2797 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
2799 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
2800 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
2801 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
2802 before exiting on error.
2803 (__libc_vfork): New strong alias.
2804 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
2805 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
2807 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
2808 that was previously under [RESET_PID].
2809 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
2811 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
2813 2014-05-23 Joseph Myers <joseph@codesourcery.com>
2816 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
2817 value when x - 1 is zero.
2818 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
2819 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2820 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
2821 0.0L for an argument of 1.0L.
2822 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
2824 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
2825 value when x - 1 is zero.
2826 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
2827 * sysdeps/i386/fpu/libm-test-ulps: Update.
2828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2830 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2832 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
2833 alphasort and versionsort.
2835 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2837 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
2839 [copysignf]: Likewise.
2841 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2843 * crypt/md5-crypt.c: Fix formatting.
2845 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2847 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
2848 (b64_from_24bit): New function.
2850 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2852 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
2853 libc_hidden_builtin_def to ifunc.
2854 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2855 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
2857 2014-05-21 Roland McGrath <roland@hack.frob.com>
2859 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
2860 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
2862 2014-05-21 Joseph Myers <joseph@codesourcery.com>
2864 * nscd/Depend (linuxthreads): Remove.
2866 * resolv/Depend (linuxthreads): Remove.
2867 * rt/Depend (linuxthreads): Remove.
2869 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
2870 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
2871 $(common-objpfx)elf/.
2872 (link-libc-before-gnulib): Likewise.
2873 (elfobjdir): Remove variable.
2874 * Makefile (install): Use $(elf-objpfx) instead of
2875 $(common-objpfx)elf/.
2876 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
2878 (link-libc-deps): Likewise.
2879 ($(common-objpfx)libc.so): Likewise.
2880 ($(common-objpfx)linkobj/libc.so): Likewise.
2881 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
2882 instead of $(common-objpfx)elf/.
2883 (symbolic-link-list): Likewise.
2884 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2885 [$(cross-compiling) = no]: Likewise.
2886 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
2888 (static-gnulib-arch): Likewise.
2889 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2890 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
2891 $(common-objpfx)elf/.
2893 2014-05-21 Richard Henderson <rth@redhat.com>
2895 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2896 (SINGLE_THREAD_P): Use the correct width load. Fold
2897 into the ldr offset.
2899 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
2900 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
2902 2014-05-20 Joseph Myers <joseph@codesourcery.com>
2904 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
2905 (libgcc_s_resume): Use __attribute_used__.
2906 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
2909 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2911 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
2912 optimization when used with float constants.
2914 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2916 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
2919 * locale/nl_langinfo_l.c: Make direct reference to every
2920 _nl_current_CATEGORY symbol.
2921 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
2922 (tests-static): Add tst-langinfo-static.
2923 (tests-special): Add tst-langinfo-static.out.
2924 ($(objpfx)tst-langinfo.out): Redirect output.
2925 ($(objpfx)tst-langinfo-static.out): New.
2926 * localedata/tst-langinfo.sh: Send output to stdout.
2927 * localedata/tst-langinfo-static.c: New file.
2930 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
2931 when the shift amount is modulo the limb size.
2933 2014-05-20 Richard Henderson <rth@redhat.com>
2936 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
2937 Change type of sa_flags from unsigned int to int.
2940 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
2942 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
2944 2014-05-20 Will Newton <will.newton@linaro.org>
2946 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2947 Test the return value of the system call in the nocancel case.
2949 2014-05-20 Will Newton <will.newton@linaro.org>
2950 Yvan Roux <yvan.roux@linaro.org>
2952 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
2953 #include of asm/ptrace.h.
2954 (PTRACE_GET_THREAD_AREA): Remove #undef.
2955 (PTRACE_GETHBPREGS): Likewise.
2956 (PTRACE_SETHBPREGS): Likewise.
2957 (struct user_regs_struct): New structure.
2958 (struct user_fpsimd_struct): New structure.
2959 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
2960 #include of asm/ptrace.h and second #include of sys/user.h.
2961 (PTRACE_GET_THREAD_AREA): Remove #undef.
2962 (PTRACE_GETHBPREGS): Likewise.
2963 (PTRACE_SETHBPREGS): Likewise.
2964 (ELF_NGREG): Use new struct user_regs_struct.
2965 (elf_fpregset_t): Use new struct user_fpsimd_struct.
2967 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2969 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
2970 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
2972 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2975 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
2976 membar to avoid block loads/stores to overlap previous stores.
2978 2014-05-17 Richard Henderson <rth@redhat.com>
2980 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
2981 Create the __##syscall_name##_nocancel entry point.
2982 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
2983 Remove; let the sysdep-cancel.h code create it.
2985 2014-05-17 David S. Miller <davem@davemloft.net>
2987 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
2988 Protect with __USE_GNU.
2989 (TIOCSET_TEMPT): Likewise.
2990 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2991 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
2992 these are already provided in bits/ioctl-types.h
2994 2014-05-16 Roland McGrath <roland@hack.frob.com>
2996 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
2997 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
2999 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3000 Use wait4 regardless of [__NR_waitpid].
3002 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3005 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3006 (_FP_NANSIGN_Q): Set the quiet bit.
3008 2014-05-16 Joseph Myers <joseph@codesourcery.com>
3010 * benchtests/Makefile
3011 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3012 not $(common-objpfx)math/libm.so.
3013 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3014 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3015 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3016 $(common-objpfx)dlfcn/libdl.so.
3017 ($(objpfx)tst-audit8): Depend on $(libm), not
3018 $(common-objpfx)math/libm.so.
3019 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3020 not $(common-objpfx)dlfcn/libdl.so.
3022 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3023 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
3024 [$(build-shared) = yes].
3025 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3026 $(common-objpfx)nptl/libpthread.so.
3027 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3028 $(common-objpfx)math/libm.so$(libm.so-version) or
3029 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3030 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3031 $(common-objpfx)dlfcn/libdl.so.
3032 * setjmp/Makefile (link-libm): Remove variable.
3033 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3034 * stdio-common/Makefile (link-libm): Remove variable.
3035 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3036 * stdlib/Makefile (link-libm): Remove variable.
3037 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3038 ($(objpfx)tst-strtod-round): Likewise.
3039 ($(objpfx)tst-tininess): Likewise.
3040 ($(objpfx)tst-strtod-underflow): Likewise.
3041 ($(objpfx)tst-strtod6): Likewise.
3042 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3043 $(libdl), not $(common-objpfx)nptl/libpthread.so and
3044 $(common-objpfx)dlfcn/libdl.so.
3046 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3048 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3049 BSD terminal modes definitions.
3051 2014-05-16 Roland McGrath <roland@hack.frob.com>
3053 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3054 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3056 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
3057 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3058 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3059 Don't do #include_next.
3060 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3061 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3062 Don't do #include_next.
3063 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3064 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3065 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3066 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3068 2014-05-16 Allan McRae <allan@archlinux.org>
3070 * po/sv.po: Update Swedish translation from translation project.
3072 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3075 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
3078 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3079 errno if the TIOCGPTN ioctl fails with an error different than
3081 * login/tst-ptsname.c: New file.
3082 * login/Makefile (tests): Add tst-ptsname.
3085 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
3088 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3091 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
3092 herrno to return EAI_AGAIN.
3094 2014-05-14 Roland McGrath <roland@hack.frob.com>
3096 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
3097 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
3098 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
3099 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
3100 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
3101 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
3102 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
3103 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
3104 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
3105 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
3106 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
3107 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
3108 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
3109 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
3110 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
3111 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
3112 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
3113 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
3114 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
3115 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
3116 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
3117 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
3118 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
3119 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
3120 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
3121 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
3122 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
3123 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
3124 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
3125 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
3126 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
3127 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
3128 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
3129 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
3130 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3132 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
3133 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
3134 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
3135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
3136 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
3137 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
3138 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
3139 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
3140 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
3141 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
3142 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
3143 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
3144 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
3145 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
3146 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
3147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
3148 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
3149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
3150 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
3151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
3152 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
3153 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
3154 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
3155 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
3156 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
3157 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
3158 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
3159 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3161 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
3162 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
3163 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
3164 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
3165 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
3166 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
3167 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
3168 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
3169 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
3170 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
3171 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
3172 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
3173 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
3174 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
3175 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
3176 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
3177 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
3178 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
3179 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
3180 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3182 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
3183 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
3184 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
3186 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
3187 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
3188 (libpthread-sysdep_routines): Add elision-related stuff here instead.
3189 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
3190 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
3191 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
3192 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
3193 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
3194 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
3195 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
3196 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
3197 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
3198 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
3199 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
3200 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
3201 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
3202 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
3203 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
3204 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
3205 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
3206 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
3207 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
3208 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
3209 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
3210 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
3211 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
3212 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
3213 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
3214 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
3215 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
3216 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
3218 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
3219 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
3221 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
3222 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
3223 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
3224 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
3225 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
3226 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
3228 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
3229 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3231 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
3232 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3234 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
3235 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
3237 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
3238 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
3239 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
3240 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3242 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
3243 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
3244 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
3245 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
3246 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
3247 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
3248 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
3249 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3251 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
3252 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3254 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3256 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
3257 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
3258 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
3259 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
3260 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3262 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3264 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
3266 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
3267 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
3268 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
3269 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
3270 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
3271 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
3273 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
3274 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3276 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
3277 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3279 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
3280 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
3282 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
3283 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
3284 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
3285 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
3287 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
3288 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
3289 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
3290 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
3291 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
3292 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
3293 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
3294 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3296 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
3297 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3299 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3301 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
3302 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
3303 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
3304 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
3305 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3307 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3309 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
3311 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
3312 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
3313 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
3314 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
3315 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
3316 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
3317 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
3318 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
3319 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
3320 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
3322 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
3323 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3325 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
3326 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3328 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
3329 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
3331 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
3332 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
3333 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
3334 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
3335 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
3336 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3338 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
3339 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
3340 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
3341 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
3342 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
3343 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
3344 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
3345 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3347 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
3348 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3350 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3352 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
3353 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
3354 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
3355 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
3356 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3358 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3360 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
3362 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
3363 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
3364 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
3365 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
3366 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
3367 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
3368 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
3369 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
3370 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
3371 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
3372 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
3374 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
3375 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
3377 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
3378 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
3380 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
3381 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
3382 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
3383 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
3384 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
3385 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
3386 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
3387 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
3388 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
3389 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
3390 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
3391 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
3392 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
3393 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
3394 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
3395 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
3396 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
3397 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
3399 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
3400 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
3401 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
3402 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
3404 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
3405 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
3406 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
3407 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
3408 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
3409 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
3410 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
3411 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
3413 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
3414 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
3416 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
3417 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
3418 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
3419 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
3420 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
3421 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
3422 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
3423 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
3424 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
3425 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
3426 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
3427 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
3428 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
3429 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
3430 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
3431 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
3432 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
3434 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
3435 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
3436 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
3437 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
3438 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
3440 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
3441 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
3442 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
3443 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
3444 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
3445 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
3446 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
3447 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
3448 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
3449 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
3451 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
3452 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
3454 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
3455 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3456 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
3457 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
3458 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
3459 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
3460 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
3461 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
3462 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
3463 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
3464 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
3465 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
3466 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
3467 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
3468 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
3470 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
3472 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3474 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3476 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3478 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
3480 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
3482 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3484 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
3486 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
3488 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
3489 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
3490 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
3491 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
3492 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
3493 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
3494 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
3495 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
3496 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
3497 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
3498 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
3499 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
3500 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
3501 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
3502 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3504 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
3505 that was previously under [RESET_PID].
3506 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3507 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
3508 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
3510 * sysdeps/i386/nptl/Implies: New file.
3511 * sysdeps/x86_64/nptl/Implies: New file.
3512 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
3513 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3514 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
3515 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
3517 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
3518 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3519 (__libc_vfork): New strong alias.
3520 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
3521 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
3523 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
3524 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3525 (__libc_vfork): New strong alias.
3526 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
3527 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
3529 * sysdeps/unix/sysv/linux/arm/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 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
3533 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
3534 * nptl/pt-vfork.c: New file.
3535 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
3536 (libpthread: GLIBC_2.20): New version set (empty).
3538 2014-05-14 Will Newton <will.newton@linaro.org>
3540 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
3543 2014-05-14 Joseph Myers <joseph@codesourcery.com>
3546 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
3547 arguments with exponent 65 or above.
3548 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
3549 arguments 0x1p113L or above.
3550 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
3551 to arguments 0x1p107L or above.
3552 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
3553 positive arguments with exponent 65 or above.
3554 * math/auto-libm-test-in: Add more tests of log1p.
3555 * math/auto-libm-test-out: Regenerated.
3558 * math/s_cacos.c (__cacos): Ensure zero real part of result from
3559 non-finite arguments is +0.
3560 * math/s_cacosf.c (__cacosf): Likewise.
3561 * math/s_cacosl.c (__cacosl): Likewise.
3562 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
3563 * sysdeps/i386/fpu/libm-test-ulps: Update.
3564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3567 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
3569 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
3570 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
3571 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
3572 for explicit high bit of mantissa when testing for argument equal
3574 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
3575 * sysdeps/i386/fpu/libm-test-ulps: Update.
3576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3579 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
3580 (__erf): Scale by 16 instead of 8 in potentially underflowing
3581 case. Ensure exception if result actually underflows.
3582 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
3583 (__erff): Scale by 16 instead of 8 in potentially underflowing
3584 case. Ensure exception if result actually underflows.
3585 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
3586 (efx8): Remove variable.
3587 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3588 case. Ensure exception if result actually underflows.
3589 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
3590 (efx8): Remove variable.
3591 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3592 case. Ensure exception if result actually underflows.
3593 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
3594 (efx8): Remove variable.
3595 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3596 case. Ensure exception if result actually underflows.
3597 * math/auto-libm-test-in: Add more tests of erf.
3598 * math/auto-libm-test-out: Regenerated.
3600 2014-05-14 Andreas Schwab <schwab@suse.de>
3602 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
3603 Remove code conditionalized on USE___THREAD.
3605 * config.h.in (HAVE_PT_CHOWN): Define as 0.
3606 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
3609 2014-05-14 Joseph Myers <joseph@codesourcery.com>
3611 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
3612 Define unconditionally.
3613 (__ASSUME_O_CLOEXEC): Likewise.
3614 (__ASSUME_SOCK_CLOEXEC): Likewise.
3615 (__ASSUME_IN_NONBLOCK): Likewise.
3616 (__ASSUME_PIPE2): Likewise.
3617 (__ASSUME_EVENTFD2): Likewise.
3618 (__ASSUME_SIGNALFD4): Likewise.
3619 (__ASSUME_DUP3): Likewise.
3620 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3621 (__ASSUME_DUP3): Do not define.
3622 (__ASSUME_EVENTFD2): Likewise.
3623 (__ASSUME_IN_NONBLOCK): Likewise.
3624 (__ASSUME_O_CLOEXEC): Likewise.
3625 (__ASSUME_PIPE2): Likewise.
3626 (__ASSUME_SIGNALFD4): Likewise.
3627 (__ASSUME_SOCK_CLOEXEC): Likewise.
3628 (__ASSUME_UTIMES): Undefine.
3629 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3630 (__ASSUME_UTIMES): Do not define.
3631 (__ASSUME_O_CLOEXEC): Likewise.
3632 (__ASSUME_SOCK_CLOEXEC): Likewise.
3633 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
3634 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
3636 (__ASSUME_PIPE2): Likewise.
3637 (__ASSUME_EVENTFD2): Likewise.
3638 (__ASSUME_SIGNALFD4): Likewise.
3639 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
3640 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
3642 (__ASSUME_EVENTFD2): Likewise.
3643 (__ASSUME_SIGNALFD4): Likewise.
3644 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3645 (__ASSUME_32BITUIDS): Likewise.
3646 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3647 (__ASSUME_IPC64): Likewise.
3648 (__ASSUME_ST_INO_64_BIT): Likewise.
3649 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
3650 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
3651 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3652 (__ASSUME_UTIMES): Do not define.
3653 (__ASSUME_PSELECT): Likewise.
3654 (__ASSUME_PPOLL): Likewise.
3655 (__ASSUME_O_CLOEXEC): Likewise.
3656 (__ASSUME_SOCK_CLOEXEC): Likewise.
3657 (__ASSUME_IN_NONBLOCK): Likewise.
3658 (__ASSUME_PIPE2): Likewise.
3659 (__ASSUME_EVENTFD2): Likewise.
3660 (__ASSUME_SIGNALFD4): Likewise.
3661 (__ASSUME_DUP3): Likewise.
3662 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3663 (__ASSUME_UTIMES): Likewise.
3664 (__ASSUME_O_CLOEXEC): Likewise.
3665 (__ASSUME_SOCK_CLOEXEC): Likewise.
3666 (__ASSUME_IN_NONBLOCK): Likewise.
3667 (__ASSUME_PIPE2): Likewise.
3668 (__ASSUME_EVENTFD2): Likewise.
3669 (__ASSUME_SIGNALFD4): Likewise.
3670 (__ASSUME_DUP3): Likewise.
3671 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3672 (__ASSUME_UTIMES): Likewise.
3673 (__ASSUME_O_CLOEXEC): Likewise.
3674 (__ASSUME_SOCK_CLOEXEC): Likewise.
3675 (__ASSUME_IN_NONBLOCK): Likewise.
3676 (__ASSUME_PIPE2): Likewise.
3677 (__ASSUME_EVENTFD2): Likewise.
3678 (__ASSUME_SIGNALFD4): Likewise.
3679 (__ASSUME_DUP3): Likewise.
3680 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
3682 (__ASSUME_UTIMES): Likewise.
3683 (__ASSUME_EVENTFD2): Likewise.
3684 (__ASSUME_SIGNALFD4): Likewise.
3685 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3686 (__ASSUME_O_CLOEXEC): Likewise.
3687 (__ASSUME_SOCK_CLOEXEC): Likewise.
3688 (__ASSUME_IN_NONBLOCK): Likewise.
3689 (__ASSUME_PIPE2): Likewise.
3690 (__ASSUME_EVENTFD2): Likewise.
3691 (__ASSUME_SIGNALFD4): Likewise.
3692 (__ASSUME_DUP3): Likewise.
3693 (__ASSUME_UTIMES): Undefine.
3695 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
3696 feclearexcept. Remove symbol versioning code.
3697 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
3698 symbol versioning code.
3699 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
3700 symbol versioning code.
3701 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
3702 feupdateenv. Remove symbol versioning code.
3703 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
3704 fegetexceptflag. Remove symbol versioning code.
3705 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
3706 fesetexceptflag. Remove symbol versioning code.
3707 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
3708 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
3709 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
3710 (__posix_fadvise64_l32): Remove prototype.
3711 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
3714 2014-05-13 Roland McGrath <roland@hack.frob.com>
3716 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
3717 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
3718 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
3719 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
3721 2014-05-13 Sami Kerola <kerolasa@iki.fi>
3723 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
3724 current working directory
3726 2014-05-13 Roland McGrath <roland@hack.frob.com>
3728 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
3729 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
3730 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
3731 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
3732 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
3733 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
3734 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
3735 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
3736 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
3737 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
3738 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
3739 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
3740 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
3741 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
3742 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
3743 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
3744 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
3745 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
3746 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
3747 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
3748 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
3749 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
3750 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
3751 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
3752 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
3753 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
3754 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
3755 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
3756 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
3757 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
3758 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
3759 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
3760 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
3761 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
3762 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
3763 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
3764 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
3765 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
3766 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
3767 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
3768 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
3769 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
3771 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
3772 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
3774 * sysdeps/unix/sysv/linux/arm/Makefile
3775 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3776 Add rt-aeabi_unwind_cpp_pr1.
3777 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
3778 Add nptl-aeabi_unwind_cpp_pr1.
3779 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
3780 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
3781 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
3782 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3783 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
3784 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3786 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
3787 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
3788 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
3789 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
3791 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
3792 Deconditionalize the code that was previously under [RESET_PID].
3793 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
3795 * sysdeps/generic/exit-thread.h: New file.
3796 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
3797 * include/unistd.h (__exit_thread): Remove declaration.
3798 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
3799 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
3800 * csu/libc-start.c: Include <exit-thread.h>.
3801 (LIBC_START_MAIN): Pass no argument to __exit_thread.
3802 * nptl/pthread_create.c: Include <exit-thread.h>.
3803 (start_thread): Call __exit_thread in place of __exit_thread_inline.
3804 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
3805 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
3806 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
3807 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
3808 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
3809 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
3810 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
3811 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
3812 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
3813 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
3814 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
3815 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
3816 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
3817 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
3818 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
3819 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
3821 2014-05-13 Andreas Schwab <schwab@suse.de>
3823 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
3825 2014-05-12 Joseph Myers <joseph@codesourcery.com>
3827 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3828 (__ASSUME_UTIMES): Do not condition on kernel version.
3829 (__ASSUME_PSELECT): Define unconditionally.
3830 (__ASSUME_PPOLL): Likewise.
3831 (__ASSUME_ATFCTS): Likewise.
3832 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
3833 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
3834 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
3835 (__ASSUME_UTIMENSAT): Define unconditionally.
3836 (__ASSUME_PRIVATE_FUTEX): Likewise.
3837 (__ASSUME_FALLOCATE): Likewise.
3838 (__ASSUME_O_CLOEXEC): Likewise.
3839 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
3840 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
3841 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
3842 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
3843 (__ASSUME_IN_NONBLOCK): Likewise.
3844 (__ASSUME_PIPE2): Likewise.
3845 (__ASSUME_EVENTFD2): Likewise.
3846 (__ASSUME_SIGNALFD4): Likewise.
3847 (__ASSUME_DUP3): Likewise.
3848 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3849 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
3850 (__ASSUME_AT_RANDOM): Likewise.
3851 (__ASSUME_PREADV): Likewise.
3852 (__ASSUME_PWRITEV): Likewise.
3853 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
3854 (__ASSUME_F_GETOWN_EX): Define unconditionally.
3855 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
3856 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3857 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
3858 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3859 (__ASSUME_O_CLOEXEC): Define unconditionally.
3860 (__ASSUME_PSELECT): Do not undefine conditionally.
3861 (__ASSUME_PPOLL): Likewise.
3862 (__ASSUME_ATFCTS): Likewise.
3863 (__ASSUME_SET_ROBUST_LIST): Likewise.
3864 (__ASSUME_UTIMENSAT): Likewise.
3865 (__ASSUME_FDATASYNC): Define unconditionally.
3866 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3867 (__ASSUME_SIGFRAME_V2): Likewise.
3868 )__ASSUME_EVENTFD2): Likewise.
3869 (__ASSUME_SIGNALFD4): Likewise.
3870 (__ASSUME_PSELECT): Do not undefine conditionally.
3871 (__ASSUME_PPOLL): Likewise.
3872 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3873 (__ASSUME_PSELECT): Define unconditionally.
3874 (__ASSUME_PPOLL): Likewise.
3875 (__ASSUME_O_CLOEXEC): Likewise.
3876 (__ASSUME_SOCK_CLOEXEC): Likewise.
3877 (__ASSUME_IN_NONBLOCK): Likewise.
3878 (__ASSUME_PIPE2): Likewise.
3879 (__ASSUME_EVENTFD2): Likewise.
3880 (__ASSUME_SIGNALFD4): Likewise.
3881 (__ASSUME_DUP3): Likewise.
3882 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3883 (__ASSUME_O_CLOEXEC): Likewise.
3884 (__ASSUME_SOCK_CLOEXEC): Likewise.
3885 (__ASSUME_IN_NONBLOCK): Likewise.
3886 (__ASSUME_PIPE2): Likewise.
3887 (__ASSUME_EVENTFD2): Likewise.
3888 (__ASSUME_SIGNALFD4): Likewise.
3889 (__ASSUME_DUP3): Likewise.
3890 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3891 (__ASSUME_EVENTFD2): Likewise.
3892 (__ASSUME_SIGNALFD4): Likewise.
3893 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3895 2014-05-12 Andreas Schwab <schwab@suse.de>
3898 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
3899 (_nss_nis_gethostbyname4_r): Return error if item length is larger
3900 than maximum RPC packet size.
3901 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
3902 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
3903 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
3904 (_nss_nis_getservbyport_r): Likewise.
3906 2014-05-12 Will Newton <will.newton@linaro.org>
3908 * malloc/Makefile (tests): Add tst-mallopt.
3909 * malloc/tst-mallopt.c: New file.
3911 2014-05-09 Roland McGrath <roland@hack.frob.com>
3913 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
3914 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
3916 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3918 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
3919 (tst-tlsmod6.so): Likewise.
3921 2014-05-09 Roland McGrath <roland@hack.frob.com>
3923 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
3925 2014-05-09 Joseph Myers <joseph@codesourcery.com>
3928 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
3929 and <dl-procinfo.h>.
3930 (__fegetenv): Save SSE state in envp->__eip if supported.
3931 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
3932 envp->__eip if supported.
3933 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
3934 and <dl-procinfo.h>.
3935 (__fesetenv): Always set __eip, __cs_selector, __opcode,
3936 __data_offset and __data_selector in environment to 0. Set SSE
3938 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3940 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
3942 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
3944 2014-05-09 Will Newton <will.newton@linaro.org>
3946 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
3947 and libc_relro_required for ARM.
3948 * sysdeps/arm/preconfigure: Regenerate.
3950 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
3951 Stefan Liebler <stli@linux.vnet.ibm.com>
3953 * config.make.in (enable-lock-elision): New Makefile variable.
3954 * configure.ac: Likewise.
3955 * configure: Regenerate.
3956 * sysdeps/s390/configure.ac:
3957 Add check for gcc transactions support.
3958 * sysdeps/s390/configure: Regenerate.
3959 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
3960 Build elision files if enabled.
3961 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
3962 Add lock elision support for s390.
3963 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3964 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
3965 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
3966 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3967 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3968 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3969 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3971 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
3973 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
3975 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
3977 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
3978 (__lll_timedlock_elision, __lll_lock_elision)
3979 (__lll_unlock_elision, __lll_trylock_elision)
3980 (lll_timedlock_elision, lll_lock_elision)
3981 (lll_unlock_elision, lll_trylock_elision): Add.
3982 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3983 (pthread_mutex_t): Add lock elision support for s390.
3985 2014-05-14 Wilco <wdijkstr@arm.com>
3987 * sysdeps/arm/fclrexcpt.c: Cleanup.
3988 * sysdeps/arm/fedisblxcpt.c: Cleanup.
3989 * sysdeps/arm/feenablxcpt.c: Cleanup.
3990 * sysdeps/arm/fegetenv.c: Cleanup.
3991 * sysdeps/arm/fegetexcept.c: Cleanup.
3992 * sysdeps/arm/fegetround.c: Cleanup.
3993 * sysdeps/arm/feholdexcpt.c: Cleanup.
3994 * sysdeps/arm/fesetenv.c: Cleanup.
3995 * sysdeps/arm/fesetround.c: Cleanup.
3996 * sysdeps/arm/feupdateenv.c: Cleanup.
3997 * sysdeps/arm/fgetexcptflg.c: Cleanup.
3998 * sysdeps/arm/fraiseexcpt.c: Cleanup.
3999 * sysdeps/arm/fsetexcptflg.c: Cleanup.
4000 * sysdeps/arm/ftestexcept.c: Cleanup.
4001 * sysdeps/arm/get-rounding-mode.h: Cleanup.
4002 * sysdeps/arm/setfpucw.c: Cleanup.
4004 2014-05-09 Will Newton <will.newton@linaro.org>
4006 * sysdeps/arm/armv7/strcmp.S: New file.
4007 * NEWS: Mention addition of ARMv7 optimized strcmp.
4009 2014-05-08 Roland McGrath <roland@hack.frob.com>
4011 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4012 look for %.ac rather than %.in.
4014 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4015 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4016 * sysdeps/mach/hurd/configure: Regenerated.
4017 * sysdeps/unix/sysv/linux/configure: Regenerated.
4019 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4021 2014-05-07 Steve Ellcey <sellcey@mips.com>
4024 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4028 2014-05-07 Andreas Schwab <schwab@suse.de>
4030 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4031 when skipping over non-matching result from nscd.
4033 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
4036 * nptl/sockperf.c (client): Check socket return value.
4039 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4040 nscd security class.
4042 2014-05-06 Roland McGrath <roland@hack.frob.com>
4044 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4045 * sysdeps/arm/unwind.h: ... here.
4047 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
4050 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4053 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4055 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4056 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4057 multiarch strncpy for PPC64.
4058 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4059 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4060 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4061 multiarch optimizations.
4062 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4063 (__libc_ifunc_impl_list): Likewise.
4064 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4065 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4066 multiarch stpncpy for PPC64.
4067 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4068 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4070 2014-05-06 Andreas Schwab <schwab@suse.de>
4073 * gmon/mcount.c (_MCOUNT_DECL): Use
4074 atomic_compare_and_exchange_bool_acq instead of
4075 catomic_compare_and_exchange_bool_acq.
4077 2014-05-05 Roland McGrath <roland@hack.frob.com>
4079 * elf/Makefile (others, install-bin): Remove pldd.
4080 (pldd-modules): Variable removed.
4081 ($(objpfx)pldd): Target removed.
4082 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4083 (others, install-bin): Append pldd here.
4084 ($(objpfx)pldd): New target.
4086 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
4087 to 0, so the first #if test emitted later doesn't see it undefined.
4088 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
4089 * sysdeps/gnu/errlist.c: Regenerated.
4091 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4093 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4094 [libc_hidden_builtin_def]: Define to empty value.
4095 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
4096 [libc_hidden_builtin_def]: Likewise.
4097 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
4098 [libc_hidden_builtin_def]: Likewise.
4099 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
4100 [libc_hidden_builtin_def]: Likewise.
4101 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
4102 __redirect_memcpy and define ifunc as default hidden symbol.
4103 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
4104 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
4106 2014-05-04 Adam Conrad <adconrad@0c3.net>
4108 * locale/iso-4217.def: Reintroduce XDR currency.
4110 2014-05-04 Allan McRae <allan@archlinux.org>
4112 * po/eo.po: Update Esperanto translation from translation project.
4114 2014-05-02 Carlos O'Donell <carlos@redhat.com>
4116 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
4117 and FEATURE_INDEX_MAX to 1.
4118 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
4120 2014-05-01 Steve Ellcey <sellcey@mips.com>
4122 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
4123 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
4124 * iconvdata/big5.c (ONE_DIRECTION): Define.
4125 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
4126 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
4127 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
4128 * iconvdata/cp932.c (ONE_DIRECTION): Define.
4129 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
4130 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
4131 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
4132 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
4133 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
4134 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
4135 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
4136 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
4137 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
4138 * iconvdata/gbk.c (ONE_DIRECTION): Define.
4139 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
4140 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
4141 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
4142 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
4143 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
4144 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
4145 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
4146 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
4147 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
4148 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
4149 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
4150 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
4151 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
4152 * iconvdata/iso646.c (ONE_DIRECTION): Define.
4153 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
4154 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
4155 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
4156 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
4157 * iconvdata/johab.c (ONE_DIRECTION): Define.
4158 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
4159 * iconvdata/sjis.c (ONE_DIRECTION): Define.
4160 * iconvdata/t.61.c (ONE_DIRECTION): Define.
4161 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
4162 * iconvdata/tscii.c (ONE_DIRECTION): Define.
4163 * iconvdata/uhc.c (ONE_DIRECTION): Define.
4164 * iconvdata/unicode.c (ONE_DIRECTION): Define.
4165 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
4166 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
4167 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
4169 2014-05-01 Roland McGrath <roland@hack.frob.com>
4171 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
4172 (_IO_JUMPS_OFFSET): Define to 0.
4174 * nptl/sysdeps/pthread/bits/libc-lock.h
4175 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4176 (__libc_lock_define_initialized_recursive): Always define using
4177 initializer. Modern compilers treat uninitialized (implicit zero) and
4178 explicit zero initializers the same (i.e. put the datum in bss).
4180 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4182 * nscd/nscd-client.h: Include <string.h>.
4184 2014-05-01 David S. Miller <davem@davemloft.net>
4187 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
4188 multiple zero bytes exist at the end of a string.
4189 Reported by Aurelien Jarno <aurelien@aurel32.net>
4191 * string/test-strcmp.c (check): Add explicit test for situations where
4192 there are multiple zero bytes after the first.
4194 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4197 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
4198 when compiling wprintf.
4199 * stdio-common/tstdiomisc.c (t3): New function.
4202 2014-05-01 Steve Ellcey <sellcey@mips.com>
4204 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
4205 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
4206 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
4207 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
4209 2014-05-01 Steve Ellcey <sellcey@mips.com>
4211 * stdlib/longlong.h: Updated from GCC.
4213 2014-05-01 Will Newton <will.newton@linaro.org>
4214 Bernard Ogden <bernie.ogden@linaro.org>
4216 * NEWS: Update fixed bug list.
4219 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
4221 2014-04-30 David S. Miller <davem@davemloft.net>
4223 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
4224 (libc_feholdexcept_setround_sparc_ctx): New function.
4225 (libc_fesetenv_sparc_ctx): Likewise.
4226 (libc_feupdateenv_sparc_ctx): Likewise.
4227 (libc_feholdsetround_sparc_ctx): Likewise.
4228 (libc_feholdexcept_setround_ctx): Define.
4229 (libc_feholdexcept_setroundf_ctx): Likewise.
4230 (libc_feholdexcept_setroundl_ctx): Likewise.
4231 (libc_fesetenv_ctx): Likewise.
4232 (libc_fesetenvf_ctx): Likewise.
4233 (libc_fesetenvl_ctx): Likewise.
4234 (libc_feupdateenv_ctx): Likewise.
4235 (libc_feupdateenvf_ctx): Likewise.
4236 (libc_feupdateenvl_ctx): Likewise.
4237 (libc_feresetround_ctx): Likewise.
4238 (libc_feresetroundf_ctx): Likewise.
4239 (libc_feresetroundl_ctx): Likewise.
4240 (libc_feholdsetround_ctx): Likewise.
4241 (libc_feholdsetroundf_ctx): Likewise.
4242 (libc_feholdsetroundl_ctx): Likewise.
4244 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4245 with __USE_GNU instead of XOPEN cpp guards.
4247 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
4250 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4251 with XOPEN cpp guards.
4253 2014-04-30 Julian Brown <julian@codesourcery.com>
4256 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
4259 2014-04-30 Joseph Myers <joseph@codesourcery.com>
4262 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4264 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
4265 * sysdeps/unix/sysv/linux/configure: Regenerated.
4266 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
4267 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
4268 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
4269 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
4270 * README: Update reference to required Linux kernel version.
4271 * manual/install.texi (Linux): Update reference to required Linux
4272 kernel headers version.
4273 * INSTALL: Regenerated.
4275 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
4277 [POSIX] (limits.h): Likewise.
4278 [POSIX] (math.h): Likewise.
4279 [POSIX] (sys/wait.h): Likewise.
4280 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
4282 [POSIX] (stddef.h): Do not allow header inclusion.
4284 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4286 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
4288 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
4290 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4291 Return immediately after lll_futex_wake.
4293 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4296 * nscd/nscd-client.h (datahead_init_common): Initialize entire
4298 (datahead_init_pos): Call datahead_init_common early.
4299 (datahead_init_neg): Likewise.
4301 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
4302 datahead_init_neg): New functions.
4303 * nscd/aicache.c (addhstaiX): Use them.
4304 * nscd/grpcache.c (cache_addgr): Likewise.
4305 * nscd/hstcache.c (cache_addhst): Likewise.
4306 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4307 * nscd/netgroupcache.c (do_notfound): Likewise.
4308 (addgetnetgrentX): Likewise.
4309 (addinnetgrX): Likewise.
4310 * nscd/pwdcache.c (cache_addpw): Likewise.
4311 * nscd/servicescache.c (cache_addserv): Likewise.
4313 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4314 Atsushi Onoe <atsushi@onoe.org>
4319 * resolv/res_query.c (__libc_res_nsearch): Return if at least
4320 one response is valid.
4321 * resolv/res_send.c (send_dg): Check for validity of other
4322 response if the current response is a referral.
4324 2014-04-29 Steve Ellcey <sellcey@mips.com>
4326 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
4328 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
4331 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
4332 Always divide by positive zero when computing -Inf result.
4333 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4334 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4336 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4338 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
4339 FPSCR if value do not change.
4340 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4341 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
4342 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4343 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4344 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4345 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
4348 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
4350 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
4351 * sysdeps/unix/sysv/linux/hppa: Move directory from
4352 ports/systeps/unix/sysv/linux/hppa.
4353 * README: Update listing for hppa-*-linux-gnu.
4355 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
4358 * manual/stdio.texi (Hook functions): Fix types of stream hook
4361 * socket/sys/socket.h: Fix typo in comment.
4363 2014-04-28 Wilco <wdijkstr@arm.com>
4365 * sysdeps/arm/fenv_private.h: New file.
4366 * sysdeps/arm/math_private.h: New file.
4367 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
4369 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
4371 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
4373 (La_x86_64_retval): Likewise.
4375 2014-04-24 Ian Bolton <ian.bolton@arm.com>
4377 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
4378 fpsr if value didn't change.
4379 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
4380 to fpcr if value didn't change.
4381 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
4382 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
4383 fpsr or fpcr if value didn't change.
4384 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4385 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
4386 fpcr if value didn't change.
4387 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
4388 to fpsr if value didn't change.
4390 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4392 * nptl/tst-sem3.c: Use test-skeleton.c
4393 (main): Rename to do_test. Use return instead of
4395 * nptl/tst-sem4.c: Use test-skeleton.c
4396 (main): Rename to do_test.
4398 2014-04-22 David S. Miller <davem@davemloft.net>
4400 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4401 (struct sigaction): New struct member __glibc_reserved0, change
4402 type of sa_flags to int.
4404 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
4406 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
4407 (COUNT_LEADING_ZEROS_0): Define for AArch64.
4409 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4411 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
4412 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
4414 2014-04-22 Will Newton <will.newton@linaro.org>
4415 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
4417 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
4418 (__longjmp): Add longjmp and longjmp_target SystemTap
4420 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
4421 (__sigsetjmp): Add setjmp SystemTap probe.
4423 2014-04-17 Carlos O'Donell <carlos@redhat.com>
4425 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
4428 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4430 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
4432 * sysdeps/powerpc/fpu/fenv_private.h
4433 (libc_feholdexcept_setroundl_ctx): Define to
4434 libc_feholdexcept_setround_ppc_ctx.
4435 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
4436 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
4437 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
4438 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
4440 2014-04-17 Ian Bolton <ian.bolton@arm.com>
4442 * sysdeps/aarch64/math-tests.h: New file.
4444 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
4446 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
4448 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4449 Check and set bit_AVX2_Usable.
4450 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
4452 (bit_AVX2): Likewise.
4453 (index_AVX2_Usable): Likewise.
4454 (CPUID_AVX2): Likewise.
4455 (HAS_AVX2): Likewise.
4457 2014-04-17 Will Newton <will.newton@linaro.org>
4459 * manual/setjmp.texi (System V contexts): Add note that
4460 calling setcontext on a context created by a call to a
4461 signal handler is undefined. Update text to note that
4462 setcontext from a signal handler is possible but not
4466 * stdlib/tst-setcontext.c: Include signal.h.
4467 (main): Check that the signal stack before and
4468 after swapcontext is the same.
4470 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
4471 Re-implement to restore registers in user code and avoid
4472 rt_sigreturn system call.
4474 2014-04-17 Wilco <wdijkstr@arm.com>
4476 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
4477 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
4478 * math/test-fenv.c: Skip exception trap tests on targets which only
4479 support non-stop mode.
4481 2014-04-17 Ian Bolton <ian.bolton@arm.com>
4482 Wilco Dijkstra <wilco.dijkstra@arm.com>
4484 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
4485 (libc_feholdsetround_aarch64_ctx)
4486 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
4487 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
4488 (libc_feresetround_ctx, libc_feresetroundf_ctx)
4489 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
4490 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
4491 (libc_feresetround_noexl_ctx): Define.
4493 2014-04-16 Richard Henderson <rth@redhat.com>
4495 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
4497 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
4500 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
4501 const from the non-libc, non-ldso copy.
4503 * sysdeps/alpha/libm-test-ulps: Regenerate.
4505 2014-04-16 Ian Bolton <ian.bolton@arm.com>
4506 Wilco Dijkstra <wilco.dijkstra@arm.com>
4508 * sysdeps/aarch64/fpu/math_private.h: New file.
4510 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
4512 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4514 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
4516 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
4517 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
4518 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
4519 Intel MPX bound registers before _dl_profile_fixup.
4520 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
4521 registers after _dl_profile_fixup. Save and restore bound
4522 registers bnd0/bnd1 when calling _dl_call_pltexit.
4523 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
4524 (LR_BND_OFFSET): Likewise.
4525 (LRV_BND0_OFFSET): Likewise.
4526 (LRV_BND1_OFFSET): Likewise.
4528 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4530 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
4532 * sysdeps/mach/hurd/i386/tls.h: ... here.
4533 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
4534 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
4537 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4539 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
4541 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4543 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4545 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4548 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
4549 * sysdeps/s390/configure: Regenerate.
4552 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
4553 Set round-to-nearest internally to reduce error accumulation.
4555 2014-04-16 Alan Modra <amodra@gmail.com>
4559 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
4560 * math/libm-test.inc (frexp_test_data): Add tests.
4561 * NEWS: Update fixed bug list.
4563 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4565 * benchtests/Makefile: Depend on libraries in build directory.
4566 (bench-math): Separate out math tests.
4567 (bench-pthread): Separate out pthread tests.
4568 (bench): Include math and pthread tests.
4570 2014-04-14 Carlos O'Donell <carlos@redhat.com>
4573 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
4574 _dl_debug_initialize.
4576 * configure.ac: Remove SELinux header check.
4577 * configure: Regenerate.
4578 * nscd/selinux.c (perms): Array of const char* to permission names.
4579 (nscd_request_avc_has_perm): Call security_deny_unknown to find
4580 default policy. Call string_to_security_class and string_to_av_perm to
4581 translate strings. Enforce default policy and call avs_has_perm with
4582 results of translated strings.
4584 2014-04-13 David S. Miller <davem@davemloft.net>
4586 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4588 2014-04-12 Allan McRae <allan@archlinux.org>
4591 * manual/string.texi (Collation Functions): Fix qsort argument
4593 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4595 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
4597 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
4598 Make the test a no-op if there are no exceptions defined.
4600 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
4602 * elf/Makefile (tests): make tst-dlopen-aout conditional on
4603 enable-hardcoded-path-in-tests
4605 2014-04-11 Will Newton <will.newton@linaro.org>
4607 * benchtests/Makefile (extra-objs): Add json-lib.o.
4608 (bench-func): Tidy up JSON output.
4609 * benchtests/bench-skeleton.c: Include json-lib.h.
4610 (main): Use JSON library functions to do output of
4612 * benchtests/bench-timing-type.c (main): Output the
4613 timing type simply, leaving formatting to the user.
4614 * benchtests/json-lib.c: New file.
4615 * benchtests/json-lib.h: Likewise.
4617 2014-04-11 Torvald Riegel <triegel@redhat.com>
4620 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
4621 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
4622 memory barriers. Add comments.
4623 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
4624 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
4625 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
4626 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
4627 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
4628 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
4630 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4632 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
4633 * sysdeps/s390/s390-64/configure.ac: ... this ...
4634 * sysdeps/s390/configure.ac: ... to here.
4635 * sysdeps/s390/s390-32/configure: Delete file.
4636 * sysdeps/s390/s390-64/configure: Delete file.
4637 * sysdeps/s390/configure: Regenerate.
4639 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
4641 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
4643 2014-04-11 Will Newton <will.newton@linaro.org>
4645 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
4646 to zero if it is not defined elsewhere. (mtrim): Test
4647 the value of MALLOC_DEBUG with #if rather than #ifdef.
4649 2014-04-10 Torvald Riegel <triegel@redhat.com>
4651 * benchtests/pthread_once-inputs: New file.
4652 * benchtests/pthread_once-source.c: New file.
4653 * benchtests/README: Update documentation.
4655 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
4656 H.J. Lu <hongjiu.lu@intel.com>
4658 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
4659 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
4660 * sysdeps/x86_64/configure: Regenerated.
4661 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
4663 (REGISTER_SAVE_RAX): Likewise.
4664 (REGISTER_SAVE_RCX): Likewise.
4665 (REGISTER_SAVE_RDX): Likewise.
4666 (REGISTER_SAVE_RSI): Likewise.
4667 (REGISTER_SAVE_RDI): Likewise.
4668 (REGISTER_SAVE_R8): Likewise.
4669 (REGISTER_SAVE_R9): Likewise.
4670 (REGISTER_SAVE_BND0): Likewise.
4671 (REGISTER_SAVE_BND1): Likewise.
4672 (REGISTER_SAVE_BND2): Likewise.
4673 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
4674 bound registers when calling _dl_fixup.
4676 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4678 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
4679 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
4681 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
4682 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
4683 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
4684 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
4685 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
4686 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
4687 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
4689 2014-04-09 Peter Brett <peter@peter-b.co.uk>
4692 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
4693 pathconf(_PC_NAME_MAX).
4695 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4697 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
4699 (__PTHREAD_SPINS): Move definition to ...
4700 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4701 (__PTHREAD_SPINS): ... here.
4702 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4703 (__PTHREAD_SPIN): Likewise.
4704 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
4705 (__PTHREAD_SPIN): Likewise.
4706 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
4707 (__PTHREAD_SPIN): Likewise.
4708 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
4709 (__PTHREAD_SPIN): Likewise.
4710 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4711 (__PTHREAD_SPIN): Likewise.
4712 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4713 (__PTHREAD_SPIN): Likewise.
4714 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
4715 (__PTHREAD_SPIN): Likewise.
4716 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4717 (__PTHREAD_SPIN): Likewise.
4718 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4719 (__PTHREAD_SPIN): Likewise.
4720 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4721 (__PTHREAD_SPIN): Likewise.
4722 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4723 (__PTHREAD_SPIN): Likewise.
4724 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
4725 (__PTHREAD_SPIN): Likewise.
4727 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
4728 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
4729 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
4730 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
4732 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
4733 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
4734 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
4735 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
4737 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
4738 strlen symbol for non multi-arch builds.
4739 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
4740 missing hidden_def and weak_alias.
4742 2014-04-08 Carlos O'Donell <carlos@redhat.com>
4744 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
4746 2014-04-07 Will Newton <will.newton@linaro.org>
4748 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
4749 and contents. [!_LIBC] Remove #ifndef and contents.
4750 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
4751 * string/memccpy.c (__memccpy): Use ANSI prototype.
4752 * string/memfrob.c (memfrob): Likewise.
4753 * string/strcoll.c (STRCOLL): Likewise.
4754 * string/strlen.c (strlen): Likewise.
4755 * string/strtok.c (STRTOK): Likewise.
4756 * string/strcat.c: Remove unused #include of memcopy.h.
4757 (strcat): Use ANSI prototype.
4758 * string/strchr.c: Remove unused #include of memcopy.h.
4759 (strchr): Use ANSI prototype.
4760 * string/strcmp.c: Remove unused #include of memcopy.h.
4761 (strcmp): Use ANSI prototype.
4762 * string/strcpy.c: Remove unused #include of memcopy.h.
4763 (strcpy): Use ANSI prototype.
4765 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4767 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
4768 * config.make.in (config-extra-cppflags): Set it from
4769 libc_extra_cppflags.
4770 * configure.ac (libc_extra_cflags): Make it accumulate over
4771 configure fragments.
4772 (libc_extra_cppflags): New flag.
4773 * configure. Regenerate.
4774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4775 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
4776 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
4777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4780 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
4781 result for FE_DOWNWARD rounding mode.
4782 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4784 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4786 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
4788 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
4789 in function argument name.
4791 2014-04-03 David Svoboda <svoboda@cert.org>
4794 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
4797 2014-04-03 Roland McGrath <roland@hack.frob.com>
4799 * elf/dl-unmap-segments.h: New file.
4800 * sysdeps/generic/ldsodefs.h
4801 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
4802 * elf/dl-close.c: Include <dl-unmap-segments.h>.
4803 * elf/dl-fptr.c: Likewise.
4804 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
4805 * sysdeps/aarch64/tlsdesc.c: Likewise.
4806 * sysdeps/arm/tlsdesc.c: Likewise.
4807 * sysdeps/i386/tlsdesc.c: Likewise.
4808 * sysdeps/tile/dl-runtime.c: Likewise.
4809 * sysdeps/x86_64/tlsdesc.c: Likewise.
4810 * elf/dl-load.h: New file.
4811 * elf/dl-load.c: Include it.
4812 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
4813 Macros moved to dl-load.h.
4814 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
4815 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
4816 Use _dl_unmap_segments in place of __munmap.
4817 Break out segment-mapping loop into ...
4818 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
4820 2014-04-03 Will Newton <will.newton@linaro.org>
4822 * elf/dl-lookup.c (do_lookup_x): Remove comment
4823 referring to nested function and move variable
4824 declarations down to before first use.
4826 2014-04-02 Joseph Myers <joseph@codesourcery.com>
4830 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
4832 * math/s_catanf.c (__catanf): Likewise.
4833 * math/s_catanh.c (__catanh): Likewise.
4834 * math/s_catanhf.c (__catanhf): Likewise.
4835 * math/s_catanhl.c (__catanhl): Likewise.
4836 * math/s_catanl.c (__catanl): Likewise.
4837 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
4838 by positive zero when computing -Inf result.
4839 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
4840 (catanh_test): Likewise.
4841 * sysdeps/i386/fpu/libm-test-ulps: Update.
4842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4845 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
4846 instead of using underflowing value in computing result.
4847 * math/s_clog10.c (__clog10): Likewise.
4848 * math/s_clog10f.c (__clog10f): Likewise.
4849 * math/s_clog10l.c (__clog10l): Likewise.
4850 * math/s_clogf.c (__clogf): Likewise.
4851 * math/s_clogl.c (__clogl): Likewise.
4852 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
4853 (clog10_test): Likewise.
4854 * sysdeps/i386/fpu/libm-test-ulps: Update.
4855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4857 2014-04-02 Alan Modra <amodra@gmail.com>
4860 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
4861 output when value is near a power of two. Use int64_t for lx and
4862 remove casts. Use decimal rather than hex exponent constants.
4863 Don't use long double multiplication when double will suffice.
4864 * math/libm-test.inc (nextafter_test_data): Add tests.
4865 * NEWS: Add 16739 and 16786 to bug list.
4867 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
4869 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
4871 2014-04-01 Will Newton <will.newton@linaro.org>
4873 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
4874 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
4876 2014-04-01 Florian Weimer <fweimer@redhat.com>
4879 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
4880 * nptl/tst-setuid2.c: New file.
4881 * nptl/Makefile (xtests): Add tst-setuid2.
4883 2014-04-01 Alan Modra <amodra@gmail.com>
4886 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
4888 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4892 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
4893 set errno as appropriate.
4894 * math/w_scalbf.c (__scalbf): Likewise.
4895 * math/w_scalbl.c (__scalbl): Likewise.
4896 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
4897 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
4898 * math/libm-test.inc (scalb_test_data): Add errno expectations.
4902 * math/w_atan2.c: Include <errno.h>.
4903 (__atan2): Set errno for result underflowing to zero.
4904 * math/w_atan2f.c: Include <errno.h>.
4905 (__atan2f): Set errno for result underflowing to zero.
4906 * math/w_atan2l.c: Include <errno.h>.
4907 (__atan2l): Set errno for result underflowing to zero.
4908 * math/auto-libm-test-in: Don't allow missing errno for some atan2
4910 * math/auto-libm-test-out: Regenerated.
4912 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4914 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4915 Encode instruction correctly in little endian.
4916 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4918 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4920 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4922 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4925 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4928 * sysdeps/unix/sysv/linux/kernel-features.h
4929 [__sparc__ && !__arch64__ && !__sparc_v9__]
4930 (__ASSUME_SET_ROBUST_LIST): Do not define.
4931 [__sparc__ && !__arch64__ && !__sparc_v9__]
4932 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4933 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
4935 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4936 (__ASSUME_FUTEX_LOCK_PI): Undefine.
4937 (__ASSUME_REQUEUE_PI): Likewise.
4938 (__ASSUME_SET_ROBUST_LIST): Likewise.
4939 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4940 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
4942 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4943 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
4945 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
4947 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
4949 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4950 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
4952 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
4953 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
4957 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4958 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
4959 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
4961 2014-03-31 Will Newton <will.newton@linaro.org>
4963 * benchtests/Makefile (bench): Add ffs and ffsll to list
4965 * benchtests/ffs-inputs: New file.
4966 * benchtests/ffsll-inputs: Likewise.
4968 2014-03-29 Joseph Myers <joseph@codesourcery.com>
4971 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
4972 too large before casting to int.
4973 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
4974 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
4975 * math/libm-test.inc (scalb_test_data): Add more tests.
4977 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4979 * benchtests/Makefile (DETAILED_OPT): New make option.
4980 (bench-func): Run benchmark program with -d if DETAILED_OPT is
4982 * benchtests/bench-skeleton.c: Include stdbool.h.
4983 (main): Store and print timings per input.
4984 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
4985 member to each argument value.
4986 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
4987 (_print_arg_data): Initialize per-input timing to 0.
4989 * benchtests/Makefile (timing-type): New binary.
4990 (bench-clean): Also remove bench-timing-type.
4991 (bench): New target for timing-type.
4992 (bench-func): Print output in JSON format.
4993 * benchtests/bench-skeleton.c (main): Print output in JSON
4995 * benchtests/bench-timing-type.c: New file.
4996 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
4997 (TIMING_PRINT_STATS): Remove.
4998 * benchtests/scripts/bench.py (_print_arg_data): Store variant
5001 * benchtests/bench-modf.c: Remove.
5002 * benchtests/modf-inputs: New inputs file.
5004 2014-03-28 Joseph Myers <joseph@codesourcery.com>
5007 * math/s_clog10.c (M_PI_LOG10E): New macro.
5008 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5009 imaginary parts are 0.
5010 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5011 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5012 imaginary parts are 0.
5013 * math/s_clog10l.c (M_PI_LOG10El): New macro.
5014 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5015 imaginary parts are 0.
5016 * math/libm-test.inc (clog10_test_data): Update expected results
5017 for when real and imaginary parts are 0.
5019 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
5021 * elf/dl-load.c: Finish conversion of __builtin_expect into
5024 2014-03-27 Joseph Myers <joseph@codesourcery.com>
5027 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5028 1+x for argument with exponent below -67.
5029 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5031 * math/auto-libm-test-in: Add more tests of exp.
5032 * math/auto-libm-test-out: Regenerated.
5034 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5037 * inet/getnetgrent_r.c (get_nonempty_val): New function.
5038 (nscd_getnetgrent): Use it.
5041 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5044 2014-03-27 Andi Kleen <ak@linux.intel.com>
5046 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5047 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5048 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5049 (lll_robust_unlock): Remove out of line section. Use cfi
5051 (LLL_STUB_UNWIND_INFO*): Remove.
5052 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5053 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5054 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5055 (lll_robust_unlock): Remove out of line section. Use cfi
5057 (LLL_STUB_UNWIND_INFO*): Remove.
5059 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5062 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5065 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
5067 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5069 2014-03-26 Joseph Myers <joseph@codesourcery.com>
5072 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5074 * math/test-fenv-preserve.c: New file.
5075 * math/Makefile (tests): Add test-fenv-preserve.
5077 2014-03-26 Will Newton <will.newton@linaro.org>
5079 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5081 2014-03-25 Roland McGrath <roland@hack.frob.com>
5083 * scripts/versionlist.awk: Partition the version sets and emit all
5084 GLIBC_* (sorted) before all others (sorted).
5086 2014-03-25 Joseph Myers <joseph@codesourcery.com>
5088 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
5089 GLIBC_2.2.5 version.
5091 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5093 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
5096 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
5099 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5101 2014-03-25 Andreas Schwab <schwab@suse.de>
5103 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
5104 label to be used after in6ailist is initialized.
5106 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5108 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5109 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5111 2014-03-25 Joseph Myers <joseph@codesourcery.com>
5115 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
5117 (fp_formats): Update initializers.
5118 (init_fp_formats): Initialize new field.
5119 (output_for_one_input_case): Allow underflow for results up to
5121 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
5122 * math/auto-libm-test-in: Don't mark some underflows from asin and
5124 * math/auto-libm-test-out: Regenerated.
5125 * sysdeps/i386/fpu/libm-test-ulps: Update.
5126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5128 2014-03-25 Andreas Schwab <schwab@suse.de>
5130 * libio/Makefile (tst-ftell-partial-wide-ENV)
5131 (tst-ftell-active-handler-ENV): Define.
5133 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
5135 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
5137 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5139 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
5141 2014-03-24 Joseph Myers <joseph@codesourcery.com>
5143 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
5144 * sysdeps/x86_64/fpu/multiarch/e_exp.c
5145 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5147 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5150 * elf/dl-load.c (open_verify): Add mode parameter.
5151 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
5152 (open_path): Change from boolean 'secure' to complete flag 'mode'
5153 (_dl_map_object): Adjust.
5154 * elf/Makefile (tests): Add tst-dlopen-aout.
5155 * elf/tst-dlopen-aout.c: New test.
5157 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5160 * sysdeps/unix/sysv/linux/s390/bits/stat.h
5161 (struct stat): Rename member pad0 to __glibc_reserved0.
5164 * sysdeps/s390/s390-32/bits/wordsize.h
5165 (__WORDSIZE32_SIZE_ULONG): New define.
5166 * sysdeps/s390/s390-64/bits/wordsize.h
5167 (__WORDSIZE32_SIZE_ULONG): Likewise.
5168 * sysdeps/generic/stdint.h (SIZE_MAX):
5169 Define as UL if __WORDSIZE32_SIZE_ULONG.
5172 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
5173 (__glibc_reserved0): New variable.
5174 (sa_flags): Change type to int.
5176 * posix/Makefile (before-compile): Use += before-compile instead
5179 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5180 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5182 2014-03-20 Andreas Schwab <schwab@suse.de>
5185 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
5186 non-matching result from nscd.
5188 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5190 * scripts/bench.py: Moved to ...
5191 * benchtests/scripts/bench.py: ... here.
5192 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
5194 2014-03-24 Andreas Schwab <schwab@suse.de>
5197 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
5198 alloca_account and account alloca use for struct in6ailist.
5200 2014-03-24 Joseph Myers <joseph@codesourcery.com>
5203 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
5204 rounding mode to recompute results that overflow to infinity or
5206 * math/auto-libm-test-in: Don't mark tests as expected to fail for
5208 * math/auto-libm-test-out: Regenerated.
5209 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
5210 (ccosh_test): Likewise.
5211 (csin_test_data): Use plus_oflow.
5212 (csin_test): Use ALL_RM_TEST.
5213 (csinh_test_data): Use plus_oflow.
5214 (csinh_test): Use ALL_RM_TEST.
5215 * sysdeps/i386/fpu/libm-test-ulps: Update.
5216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5218 2014-03-21 Joseph Myers <joseph@codesourcery.com>
5220 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
5221 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
5222 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
5225 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
5227 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
5228 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
5229 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5230 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
5232 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
5233 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
5235 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
5236 * sysdeps/i386/fpu/libm-test-ulps: Update.
5237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5239 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5241 * scripts/bench.pl: Remove file.
5242 * scripts/bench.py: New benchmark script.
5243 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
5244 * benchtests/README: Mention python dependency.
5245 * scripts/pylintrc: New file.
5246 * scripts/pylint: New file.
5248 * bits/mathdef.h: Use #ifdef instead of #if.
5249 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
5250 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5251 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
5252 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5253 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
5254 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5256 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5257 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5259 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
5260 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
5261 and strpbrk-ppc64 objects.
5262 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5263 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
5264 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
5265 multiarch strpbrk for POWER7.
5266 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
5267 multiarch strpbrk for PPC64.
5268 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
5270 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
5273 2014-03-20 Joseph Myers <joseph@codesourcery.com>
5275 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
5276 (atan_test): Likewise.
5277 (atanh_test_data): Use NO_TEST_INLINE for two tests.
5278 (atanh_test): Use ALL_RM_TEST.
5279 (atan2_test_data): Likewise.
5280 (cabs_test): Likewise.
5281 (cacosh_test): Likewise.
5282 (carg_test): Likewise.
5283 (casin_test): Likewise.
5284 (casinh_test): Likewise.
5285 (cbrt_test): Likewise.
5286 (csqrt_test): Likewise.
5287 (erf_test): Likewise.
5288 (erfc_test): Likewise.
5289 (pow10_test): Likewise.
5290 (exp2_test): Likewise.
5291 (hypot_test): Likewise.
5292 (j0_test): Likewise.
5293 (j1_test): Likewise.
5294 (lgamma_test): Likewise.
5295 (gamma_test): Likewise.
5296 (sincos_test): Likewise.
5297 (tanh_test): Likewise.
5298 (y0_test): Likewise.
5299 (y1_test): Likewise.
5300 * sysdeps/i386/fpu/libm-test-ulps: Update.
5301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5303 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5305 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
5306 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
5307 and strcspn-ppc64 objects.
5308 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5309 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
5310 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
5311 multiarch strcspn for POWER7.
5312 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
5313 multiarch strcspn for PPC64.
5314 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
5316 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
5319 2014-03-20 Joseph Myers <joseph@codesourcery.com>
5321 * math/gen-libm-test.pl (generate_testfile): Expect only function
5322 name as argument to AUTO_TESTS_* and pass results for all rounding
5323 modes to parse_args.
5324 (parse_auto_input): Separate inputs of automatic tests from
5325 outputs before storing in %auto_tests.
5326 * math/libm-test.inc (acos_test_data): Update call to
5328 (acos_test): Use ALL_RM_TEST.
5329 (acos_tonearest_test_data): Remove.
5330 (acos_test_tonearest): Likewise.
5331 (acos_towardzero_test_data): Likewise.
5332 (acos_test_towardzero): Likewise.
5333 (acos_downward_test_data): Likewise.
5334 (acos_test_downward): Likewise.
5335 (acos_upward_test_data): Likewise.
5336 (acos_test_upward): Likewise.
5337 (acosh_test_data): Update call to AUTO_TESTS_f_f.
5338 (asin_test_data): Likewise.
5339 (asin_test): Use ALL_RM_TEST.
5340 (asin_tonearest_test_data): Remove.
5341 (asin_test_tonearest): Likewise.
5342 (asin_towardzero_test_data): Likewise.
5343 (asin_test_towardzero): Likewise.
5344 (asin_downward_test_data): Likewise.
5345 (asin_test_downward): Likewise.
5346 (asin_upward_test_data): Likewise.
5347 (asin_test_upward): Likewise.
5348 (asinh_test_data): Update call to AUTO_TESTS_f_f.
5349 (atan_test_data): Likewise.
5350 (atanh_test_data): Likewise.
5351 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
5352 (cabs_test_data): Update call to AUTO_TESTS_c_f.
5353 (carg_test_data): Likewise.
5354 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
5355 (ccos_test_data): Update call to AUTO_TESTS_c_c.
5356 (ccosh_test_data): Likewise.
5357 (cexp_test_data): Likewise.
5358 (clog_test_data): Likewise.
5359 (clog10_test_data): Likewise.
5360 (cos_test_data): Update call to AUTO_TESTS_f_f.
5361 (cos_test): Use ALL_RM_TEST.
5362 (cos_tonearest_test_data): Remove.
5363 (cos_test_tonearest): Likewise.
5364 (cos_towardzero_test_data): Likewise.
5365 (cos_test_towardzero): Likewise.
5366 (cos_downward_test_data): Likewise.
5367 (cos_test_downward): Likewise.
5368 (cos_upward_test_data): Likewise.
5369 (cos_test_upward): Likewise.
5370 (cosh_test_data): Update call to AUTO_TESTS_f_f.
5371 (cosh_test): Use ALL_RM_TEST.
5372 (cosh_tonearest_test_data): Remove.
5373 (cosh_test_tonearest): Likewise.
5374 (cosh_towardzero_test_data): Likewise.
5375 (cosh_test_towardzero): Likewise.
5376 (cosh_downward_test_data): Likewise.
5377 (cosh_test_downward): Likewise.
5378 (cosh_upward_test_data): Likewise.
5379 (cosh_test_upward): Likewise.
5380 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
5381 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
5382 (ctan_test_data): Likewise.
5383 (ctan_test): Use ALL_RM_TEST.
5384 (ctan_tonearest_test_data): Remove.
5385 (ctan_test_tonearest): Likewise.
5386 (ctan_towardzero_test_data): Likewise.
5387 (ctan_test_towardzero): Likewise.
5388 (ctan_downward_test_data): Likewise.
5389 (ctan_test_downward): Likewise.
5390 (ctan_upward_test_data): Likewise.
5391 (ctan_test_upward): Likewise.
5392 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
5393 (ctanh_test): Use ALL_RM_TEST.
5394 (ctanh_tonearest_test_data): Remove.
5395 (ctanh_test_tonearest): Likewise.
5396 (ctanh_towardzero_test_data): Likewise.
5397 (ctanh_test_towardzero): Likewise.
5398 (ctanh_downward_test_data): Likewise.
5399 (ctanh_test_downward): Likewise.
5400 (ctanh_upward_test_data): Likewise.
5401 (ctanh_test_upward): Likewise.
5402 (erf_test_data): Update call to AUTO_TESTS_f_f.
5403 (erfc_test_data): Likewise.
5404 (exp_test_data): Likewise.
5405 (exp_test): Use ALL_RM_TEST.
5406 (exp_tonearest_test_data): Remove.
5407 (exp_test_tonearest): Likewise.
5408 (exp_towardzero_test_data): Likewise.
5409 (exp_test_towardzero): Likewise.
5410 (exp_downward_test_data): Likewise.
5411 (exp_test_downward): Likewise.
5412 (exp_upward_test_data): Likewise.
5413 (exp_test_upward): Likewise.
5414 (exp10_test_data): Update call to AUTO_TESTS_f_f.
5415 (exp10_test): Use ALL_RM_TEST.
5416 (exp10_tonearest_test_data): Remove.
5417 (exp10_test_tonearest): Likewise.
5418 (exp10_towardzero_test_data): Likewise.
5419 (exp10_test_towardzero): Likewise.
5420 (exp10_downward_test_data): Likewise.
5421 (exp10_test_downward): Likewise.
5422 (exp10_upward_test_data): Likewise.
5423 (exp10_test_upward): Likewise.
5424 (exp2_test_data): Update call to AUTO_TESTS_f_f.
5425 (expm1_test_data): Likewise.
5426 (expm1_test): Use ALL_RM_TEST.
5427 (expm1_tonearest_test_data): Remove.
5428 (expm1_test_tonearest): Likewise.
5429 (expm1_towardzero_test_data): Likewise.
5430 (expm1_test_towardzero): Likewise.
5431 (expm1_downward_test_data): Likewise.
5432 (expm1_test_downward): Likewise.
5433 (expm1_upward_test_data): Likewise.
5434 (expm1_test_upward): Likewise.
5435 (fma_test_data): Update call to AUTO_TESTS_fff_f.
5436 (fma_test): Use ALL_RM_TEST.
5437 (fma_towardzero_test_data): Remove.
5438 (fma_test_towardzero): Likewise.
5439 (fma_downward_test_data): Likewise.
5440 (fma_test_downward): Likewise.
5441 (fma_upward_test_data): Likewise.
5442 (fma_test_upward): Likewise.
5443 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
5444 (j0_test_data): Update call to AUTO_TESTS_f_f.
5445 (j1_test_data): Likewise.
5446 (jn_test_data): Update call to AUTO_TESTS_if_f.
5447 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
5448 (log_test_data): Update call to AUTO_TESTS_f_f.
5449 (log10_test_data): Likewise.
5450 (log1p_test_data): Likewise.
5451 (log2_test_data): Likewise.
5452 (pow_test_data): Update call to AUTO_TESTS_ff_f.
5453 (pow_tonearest_test_data): Likewise.
5454 (sin_test_data): Update call to AUTO_TESTS_f_f.
5455 (sin_test): Use ALL_RM_TEST.
5456 (sin_tonearest_test_data): Remove.
5457 (sin_test_tonearest): Likewise.
5458 (sin_towardzero_test_data): Likewise.
5459 (sin_test_towardzero): Likewise.
5460 (sin_downward_test_data): Likewise.
5461 (sin_test_downward): Likewise.
5462 (sin_upward_test_data): Likewise.
5463 (sin_test_upward): Likewise.
5464 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
5465 (sinh_test_data): Update call to AUTO_TESTS_f_f.
5466 (sinh_test): Use ALL_RM_TEST.
5467 (sinh_tonearest_test_data): Remove.
5468 (sinh_test_tonearest): Likewise.
5469 (sinh_towardzero_test_data): Likewise.
5470 (sinh_test_towardzero): Likewise.
5471 (sinh_downward_test_data): Likewise.
5472 (sinh_test_downward): Likewise.
5473 (sinh_upward_test_data): Likewise.
5474 (sinh_test_upward): Likewise.
5475 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
5476 (sqrt_test): Use ALL_RM_TEST.
5477 (sqrt_tonearest_test_data): Remove.
5478 (sqrt_test_tonearest): Likewise.
5479 (sqrt_towardzero_test_data): Likewise.
5480 (sqrt_test_towardzero): Likewise.
5481 (sqrt_downward_test_data): Likewise.
5482 (sqrt_test_downward): Likewise.
5483 (sqrt_upward_test_data): Likewise.
5484 (sqrt_test_upward): Likewise.
5485 (tan_test_data): Update call to AUTO_TESTS_f_f.
5486 (tan_test): Use ALL_RM_TEST.
5487 (tan_tonearest_test_data): Remove.
5488 (tan_test_tonearest): Likewise.
5489 (tan_towardzero_test_data): Likewise.
5490 (tan_test_towardzero): Likewise.
5491 (tan_downward_test_data): Likewise.
5492 (tan_test_downward): Likewise.
5493 (tan_upward_test_data): Likewise.
5494 (tan_test_upward): Likewise.
5495 (tanh_test_data): Update call to AUTO_TESTS_f_f.
5496 (tgamma_test_data): Likewise.
5497 (y0_test_data): Likewise.
5498 (y1_test_data): Likewise.
5499 (yn_test_data): Update call to AUTO_TESTS_if_f.
5500 (main): Do not call removed functions.
5502 2014-03-19 Joseph Myers <joseph@codesourcery.com>
5504 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
5505 (ldexp_test_data): Remove.
5506 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
5508 (scalb_test): Use ALL_RM_TEST.
5510 2014-03-19 Andreas Schwab <schwab@suse.de>
5512 * nscd/nscd.service: Also invalidate netgroup cache on reload.
5514 2014-03-19 Joseph Myers <joseph@codesourcery.com>
5517 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5518 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
5519 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
5520 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5521 (__ASSUME_PREADV): Undefine.
5522 (__ASSUME_PWRITEV): Likewise.
5524 2014-03-18 Roland McGrath <roland@hack.frob.com>
5526 * bits/mman-linux.h: Add comment about non-Linux use.
5527 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
5528 bits/mman-linux.h resting place.
5530 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
5531 * bits/mman-linux.h: ... here.
5533 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5535 * conform/conformtest.pl: Add standard definition when calling C
5536 preprocessor on data files.
5537 (checknamespace): Remove unused variable.
5539 2014-03-18 Joseph Myers <joseph@codesourcery.com>
5541 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
5542 minus_oflow, plus_uflow and minus_uflow in expected results.
5543 * math/libm-test.inc (scalbn_test_data): Add more tests of
5544 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
5546 (scalbn_test): Use ALL_RM_TEST.
5547 (scalbln_test_data): Add more tests of negative arguments. Use
5548 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
5549 (scalbln_test): Use ALL_RM_TEST.
5551 2014-03-18 Roland McGrath <roland@hack.frob.com>
5553 * scripts/abilist.awk: Ignore symbols marked with .hidden.
5555 2014-03-18 Will Newton <will.newton@linaro.org>
5557 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
5560 2014-03-18 Joseph Myers <joseph@codesourcery.com>
5562 * Makerules [!subdir] (check-abi): Exit with error status if a
5565 2014-03-17 Joseph Myers <joseph@codesourcery.com>
5567 * math/libm-test.inc (nearbyint_test_data): Include all tests used
5568 for rint. Include results for all rounding modes.
5569 (nearbyint_test): Use ALL_RM_TEST.
5570 (rint_test_data): Include all tests used for nearbyint.
5572 2014-03-17 Will Newton <will.newton@linaro.org>
5574 * nptl/sysdeps/pthread/pthread.h: Revert previous
5577 * sysdeps/generic/ldsodefs.h: Revert previous
5580 * libio/genops.c: Revert previous change.
5581 * libio/libioP.h: Likewise.
5582 * stdio-common/vfprintf.c: Likewise.
5584 * sysdeps/generic/math_private.h: Revert previous
5587 * sysdeps/generic/math_private.h: Check whether
5588 HAVE_RM_CTX is defined with #ifdef rather
5591 * argp/argp-fmtstream.h: Check whether
5592 __STRICT_ANSI__ is defined with #ifdef rather
5594 * argp/argp.h: Likewise.
5596 * libio/genops.c: Check whether
5597 _IO_JUMPS_OFFSET is defined with #ifdef rather
5599 * libio/libioP.h: Likewise.
5600 * stdio-common/vfprintf.c: Likewise.
5602 * sysdeps/generic/ldsodefs.h: Check whether
5603 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
5606 * nptl/sysdeps/pthread/pthread.h: Check
5607 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
5610 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5612 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
5614 * libio/tst-ftell-active-handler.c (do_append_test): Add a
5618 * libio/fileops.c (_IO_file_open): Seek to end of file but
5619 don't cache the offset.
5620 (get_file_offset): Remove function.
5621 (do_ftell): Use cached offset when available.
5622 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
5623 don't cache the offset.
5624 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
5626 (do_one_test): Call it.
5627 (do_ftell_test): Fix up expected old offset for a+ mode.
5628 * libio/wfileops.c (do_ftell_wide): Used cached offset when
5631 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
5632 up test status with function return status.
5633 (do_write_test): Likewise.
5634 (do_append_test): Likewise.
5636 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
5637 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
5640 2014-03-17 Joseph Myers <joseph@codesourcery.com>
5642 * math/gen-libm-test.pl (parse_args): Handle results specified for
5643 each rounding mode separately.
5644 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
5645 tests and results from lrint_tonearest_test_data,
5646 lrint_towardzero_test_data, lrint_downward_test_data and
5647 lrint_upward_test_data.
5648 (lrint_test): Use ALL_RM_TEST.
5649 (lrint_tonearest_test_data): Remove.
5650 (lrint_test_tonearest): Likewise.
5651 (lrint_towardzero_test_data): Likewise.
5652 (lrint_test_towardzero): Likewise.
5653 (lrint_downward_test_data): Likewise.
5654 (lrint_test_downward): Likewise.
5655 (lrint_upward_test_data): Likewise.
5656 (lrint_test_upward): Likewise.
5657 (llrint_test_data): Merge in per-rounding-mode tests and results
5658 from llrint_tonearest_test_data, llrint_towardzero_test_data,
5659 llrint_downward_test_data and llrint_upward_test_data.
5660 (llrint_test): Use ALL_RM_TEST.
5661 (llrint_tonearest_test_data): Remove.
5662 (llrint_test_tonearest): Likewise.
5663 (llrint_towardzero_test_data): Likewise.
5664 (llrint_test_towardzero): Likewise.
5665 (llrint_downward_test_data): Likewise.
5666 (llrint_test_downward): Likewise.
5667 (llrint_upward_test_data): Likewise.
5668 (llrint_test_upward): Likewise.
5669 (rint_test_data): Merge in per-rounding-mode tests and results
5670 from rint_tonearest_test_data, rint_towardzero_test_data,
5671 rint_downward_test_data and rint_upward_test_data. Add
5672 per-rounding-mode results for tests not in those arrays.
5673 (rint_test): Use ALL_RM_TEST.
5674 (rint_tonearest_test_data): Remove.
5675 (rint_test_tonearest): Likewise.
5676 (rint_towardzero_test_data): Likewise.
5677 (rint_test_towardzero): Likewise.
5678 (rint_downward_test_data): Likewise.
5679 (rint_test_downward): Likewise.
5680 (rint_upward_test_data): Likewise.
5681 (rint_test_upward): Likewise.
5682 (main): Don't call removed functions.
5684 2014-03-14 Roland McGrath <roland@hack.frob.com>
5686 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
5687 "Compiled on ..." crapola. It is anti-useful.
5689 2014-03-14 Joseph Myers <joseph@codesourcery.com>
5691 * scripts/evaluate-test.sh: Handle fourth argument to determine
5692 whether test run should stop on failure.
5693 * Makeconfig (stop-on-test-failure): New variable.
5694 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
5695 $(stop-on-test-failure).
5696 * Makefile (tests): Give a summary of results from testing and
5697 exit with failure status if they include an ERROR or FAIL.
5699 * manual/install.texi (Configuring and compiling): Mention
5700 stop-on-test-failure=y.
5701 * INSTALL: Regenerated.
5703 2014-03-14 Roland McGrath <roland@hack.frob.com>
5705 * scripts/versionlist.awk: New file.
5706 * Makerules [$(build-shared) = yes]
5707 (postclean-generated): Add Versions.def, not Versions.def.v and
5709 ($(common-objpfx)Versions.def.v.i): Target removed.
5710 ($(common-objpfx)Versions.def): New target.
5711 ($(common-objpfx)Versions.all): Depend on that rather that
5712 $(common-objpfx)Versions.def.v.
5713 * Versions.def: File removed.
5715 * Makeconfig (+gccwarn): Add -Wundef.
5716 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
5717 a dl-sysdep.h breaking its contract.
5718 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
5719 * include/stackinfo.h: New file.
5720 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
5721 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
5722 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
5723 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
5724 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
5725 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
5726 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5727 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5728 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5729 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5730 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5731 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
5732 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5733 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5734 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5736 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5739 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
5741 * math/libm-test.inc (round_test_data): Add more tests.
5744 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
5746 * math/libm-test.inc (nearbyint_test_data): Add more tests.
5749 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
5751 * math/libm-test.inc (ceil_test_data): Add more tests.
5753 * math/libm-test.inc (trunc_test_data): Add more tests related to
5756 2014-03-14 Roland McGrath <roland@hack.frob.com>
5758 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
5759 with #if rather than #ifdef.
5760 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
5762 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
5764 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
5765 first. Disable AVX-512 GCC support if assembler doesn't support
5767 * sysdeps/x86_64/configure: Regenerated.
5769 2014-03-13 Carlos O'Donell <carlos@redhat.com>
5771 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
5772 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
5773 (__old_pthread_attr_setstack): Likewise.
5774 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
5775 [!_STACK_GROWS_DOWN]: Likewise.
5777 2014-03-13 Mike Frysinger <vapier@gentoo.org>
5779 * config.make.in (have-bash2): Delete.
5780 * configure.ac (libc_cv_have_bash2): Delete.
5781 * configure: Regenerate.
5782 * elf/Makefile (common-ldd-rewrite): Rename to ...
5783 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
5784 (sh-ldd-rewrite): Delete.
5785 (bash-ldd-rewrite): Delete.
5786 (have-bash2): Delete checks.
5787 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
5790 * config.make.in (have-ksh): Delete.
5792 * configure.ac (libc_cv_have_ksh): Delete.
5793 * configure: Regenerate.
5795 * elf/Makefile: Delete $(have-ksh) check.
5796 ($(objpfx)sotruss): Change KSH to BASH.
5797 * elf/sotruss.ksh: Rename to ...
5798 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
5799 function style to match POSIX. Drop ksh vim mode setting.
5801 * manual/time.texi (Specifying the Time Zone with TZ): Change
5802 Tuesday to Thursday.
5804 * debug/tst-longjmp_chk2.c: Update header comment.
5805 (stackoverflow_handler): Add comment. Call assert on pass value.
5807 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
5809 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
5810 (HAVE_AVX512_ASM_SUPPORT): Likewise.
5811 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
5812 (La_x86_64_vector): Add zmm.
5813 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
5814 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
5815 ($(objpfx)tst-audit10): New target.
5816 ($(objpfx)tst-audit10.out): Likewise.
5817 (tst-audit10-ENV): New.
5818 (AVX512-CFLAGS): Likewise.
5819 (CFLAGS-tst-audit10.c): Likewise.
5820 (CFLAGS-tst-auditmod10a.c): Likewise.
5821 (CFLAGS-tst-auditmod10b.c): Likewise.
5822 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
5823 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
5824 * sysdeps/x86_64/configure: Regenerated.
5825 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
5826 AVX-512 zmm register support.
5827 (_dl_x86_64_save_sse): Likewise.
5828 (_dl_x86_64_restore_sse): Likewise.
5829 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
5830 size vector registers.
5831 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
5832 (ZMM_SIZE): Likewise.
5833 * sysdeps/x86_64/tst-audit10.c: New file.
5834 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
5835 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
5837 2014-03-13 Roland McGrath <roland@hack.frob.com>
5839 * configure.ac (HAVE_EHDR_START): New check.
5840 * configure: Regenerated.
5841 * config.h.in (HAVE_EHDR_START): New #undef.
5842 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
5843 assuming the lowest-addressed segment maps the start of the file.
5845 2014-03-13 Joseph Myers <joseph@codesourcery.com>
5847 * INSTALL: Regenerated.
5849 2014-03-13 Will Newton <will.newton@linaro.org>
5851 * manual/setjmp.texi (System V contexts): Improve
5852 clarity and grammar of documentation.
5854 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
5857 * elf/Makefile (tests): Add tst-pie2.
5858 (tests-pie): Add tst-pie2.
5859 * elf/tst-pie2.c: New file.
5860 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
5862 * elf/rtld.c (map_doit): Load executable as lt_executable.
5863 (dl_main): Likewise.
5865 2014-03-12 Joseph Myers <joseph@codesourcery.com>
5868 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5869 (__ASSUME_PSELECT): Undefine.
5871 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5874 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
5875 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
5877 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
5878 selector for static builds.
5880 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5883 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
5886 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5888 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
5889 IFUNC selector for static builds.
5891 2014-03-11 Joseph Myers <joseph@codesourcery.com>
5893 * sysdeps/mips/math_private.h [__mips_hard_float]
5894 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
5895 libc_feresetround_mips_ctx.
5896 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
5897 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
5898 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
5901 * math/s_nextafter.c (__nextafter): Do not return value from
5902 overflowing computation.
5903 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5904 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
5905 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5907 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5909 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5910 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
5912 2014-03-11 Roland McGrath <roland@hack.frob.com>
5914 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
5915 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
5916 Move sfi_sp use from the load-multiple (that no longer sets sp) to
5917 the new mov targetting sp.
5919 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5922 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
5923 Define it for static builds as well.
5924 (NO_BZERO_IMPL): Likewise.
5926 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5928 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
5929 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
5930 multiarch strspn for PPC64.
5931 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
5932 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
5933 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5934 (__libc_ifunc_impl_list): Likewise.
5935 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
5936 multiarch optimizations
5937 * string/strspn.c (strspn): Using macro to redefine symbol name.
5939 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5940 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5942 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
5943 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
5944 multiarch strncat for PPC64.
5945 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
5946 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
5947 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5948 (__libc_ifunc_impl_list): Likewise.
5949 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
5950 multiarch optimizations
5952 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5955 * nscd/nscd.service: Make service type forking.
5957 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5959 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
5960 sign in non default rounding modes.
5961 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5963 2014-03-08 Joseph Myers <joseph@codesourcery.com>
5965 * math/libm-test.inc (ALL_RM_TEST): New macro.
5966 (ceil_test): Use ALL_RM_TEST.
5967 (cimag_test): Likewise.
5968 (conj_test): Likewise.
5969 (copysign_test): Likewise.
5970 (cproj_test): Likewise.
5971 (creal_test): Likewise.
5972 (fabs_test): Likewise.
5973 (floor_test): Likewise.
5974 (fmax_test): Likewise.
5975 (fmin_test): Likewise.
5976 (fmod_test): Likewise.
5977 (fpclassify_test): Likewise.
5978 (frexp_test): Likewise.
5979 (ilogb_test): Likewise.
5980 (isfinite_test): Likewise.
5981 (finite_test): Likewise.
5982 (isgreater_test): Likewise.
5983 (isgreaterequal_test): Likewise.
5984 (isinf_test): Likewise.
5985 (isless_test): Likewise.
5986 (islessequal_test): Likewise.
5987 (islessgreater_test): Likewise.
5988 (isnan_test): Likewise.
5989 (isnormal_test): Likewise.
5990 (issignaling_test): Likewise.
5991 (isunordered_test): Likewise.
5992 (logb_test): Likewise.
5993 (logb_downward_test_data): Remove.
5994 (logb_test_downward): Likewise.
5995 (lround_test): Use ALL_RM_TEST.
5996 (llround_test): Likewise.
5997 (modf_test): Likewise.
5998 (nexttoward_test): Likewise.
5999 (remainder_test): Likewise.
6000 (drem_test): Likewise.
6001 (remainder_tonearest_test_data): Likewise.
6002 (remainder_test_tonearest): Likewise.
6003 (drem_test_tonearest): Likewise.
6004 (remainder_towardzero_test_data): Likewise.
6005 (remainder_test_towardzero): Likewise.
6006 (drem_test_towardzero): Likewise.
6007 (remainder_downward_test_data): Likewise.
6008 (remainder_test_downward): Likewise.
6009 (drem_test_downward): Likewise.
6010 (remainder_upward_test_data): Likewise.
6011 (remainder_test_upward): Likewise.
6012 (drem_test_upward): Likewise.
6013 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
6014 (round_test): Use ALL_RM_TEST.
6015 (signbit_test): Likewise.
6016 (trunc_test): Likewise.
6017 (significand_test): Likewise.
6018 (main): Don't call removed functions.
6020 2014-03-07 Joseph Myers <joseph@codesourcery.com>
6023 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6025 (ILL_ILLOPN): Likewise.
6026 (ILL_ILLADR): Likewise.
6027 (ILL_ILLTRP): Likewise.
6028 (ILL_PRVOPC): Likewise.
6029 (ILL_PRVREG): Likewise.
6030 (ILL_COPROC): Likewise.
6031 (ILL_BADSTK): Likewise.
6032 (FPE_INTDIV): Likewise.
6033 (FPE_INTOVF): Likewise.
6034 (FPE_FLTDIV): Likewise.
6035 (FPE_FLTOVF): Likewise.
6036 (FPE_FLTUND): Likewise.
6037 (FPE_FLTRES): Likewise.
6038 (FPE_FLTINV): Likewise.
6039 (FPE_FLTSUB): Likewise.
6040 (SEGV_MAPERR): Likewise.
6041 (SEGV_ACCERR): Likewise.
6042 (BUS_ADRALN): Likewise.
6043 (BUS_ADRERR): Likewise.
6044 (BUS_OBJERR): Likewise.
6045 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6046 (TRAP_TRACE): Likewise.
6047 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6049 (CLD_KILLED): Likewise.
6050 (CLD_DUMPED): Likewise.
6051 (CLD_TRAPPED): Likewise.
6052 (CLD_STOPPED): Likewise.
6053 (CLD_CONTINUED): Likewise.
6054 (POLL_IN): Likewise.
6055 (POLL_OUT): Likewise.
6056 (POLL_MSG): Likewise.
6057 (POLL_ERR): Likewise.
6058 (POLL_PRI): Likewise.
6059 (POLL_HUP): Likewise.
6060 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6062 (ILL_ILLOPN): Likewise.
6063 (ILL_ILLADR): Likewise.
6064 (ILL_ILLTRP): Likewise.
6065 (ILL_PRVOPC): Likewise.
6066 (ILL_PRVREG): Likewise.
6067 (ILL_COPROC): Likewise.
6068 (ILL_BADSTK): Likewise.
6069 (FPE_INTDIV): Likewise.
6070 (FPE_INTOVF): Likewise.
6071 (FPE_FLTDIV): Likewise.
6072 (FPE_FLTOVF): Likewise.
6073 (FPE_FLTUND): Likewise.
6074 (FPE_FLTRES): Likewise.
6075 (FPE_FLTINV): Likewise.
6076 (FPE_FLTSUB): Likewise.
6077 (SEGV_MAPERR): Likewise.
6078 (SEGV_ACCERR): Likewise.
6079 (BUS_ADRALN): Likewise.
6080 (BUS_ADRERR): Likewise.
6081 (BUS_OBJERR): Likewise.
6082 (BUS_MCEERR_AR): Likewise.
6083 (BUS_MCEERR_AO): Likewise.
6084 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6085 (TRAP_TRACE): Likewise.
6086 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6088 (CLD_KILLED): Likewise.
6089 (CLD_DUMPED): Likewise.
6090 (CLD_TRAPPED): Likewise.
6091 (CLD_STOPPED): Likewise.
6092 (CLD_CONTINUED): Likewise.
6093 (POLL_IN): Likewise.
6094 (POLL_OUT): Likewise.
6095 (POLL_MSG): Likewise.
6096 (POLL_ERR): Likewise.
6097 (POLL_PRI): Likewise.
6098 (POLL_HUP): Likewise.
6099 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
6100 (ILL_ILLOPN): Likewise.
6101 (ILL_ILLADR): Likewise.
6102 (ILL_ILLTRP): Likewise.
6103 (ILL_PRVOPC): Likewise.
6104 (ILL_PRVREG): Likewise.
6105 (ILL_COPROC): Likewise.
6106 (ILL_BADSTK): Likewise.
6107 (FPE_INTDIV): Likewise.
6108 (FPE_INTOVF): Likewise.
6109 (FPE_FLTDIV): Likewise.
6110 (FPE_FLTOVF): Likewise.
6111 (FPE_FLTUND): Likewise.
6112 (FPE_FLTRES): Likewise.
6113 (FPE_FLTINV): Likewise.
6114 (FPE_FLTSUB): Likewise.
6115 (SEGV_MAPERR): Likewise.
6116 (SEGV_ACCERR): Likewise.
6117 (BUS_ADRALN): Likewise.
6118 (BUS_ADRERR): Likewise.
6119 (BUS_OBJERR): Likewise.
6120 (BUS_MCEERR_AR): Likewise.
6121 (BUS_MCEERR_AO): Likewise.
6122 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6123 (TRAP_TRACE): Likewise.
6124 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6126 (CLD_KILLED): Likewise.
6127 (CLD_DUMPED): Likewise.
6128 (CLD_TRAPPED): Likewise.
6129 (CLD_STOPPED): Likewise.
6130 (CLD_CONTINUED): Likewise.
6131 (POLL_IN): Likewise.
6132 (POLL_OUT): Likewise.
6133 (POLL_MSG): Likewise.
6134 (POLL_ERR): Likewise.
6135 (POLL_PRI): Likewise.
6136 (POLL_HUP): Likewise.
6137 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
6139 (ILL_ILLOPN): Likewise.
6140 (ILL_ILLADR): Likewise.
6141 (ILL_ILLTRP): Likewise.
6142 (ILL_PRVOPC): Likewise.
6143 (ILL_PRVREG): Likewise.
6144 (ILL_COPROC): Likewise.
6145 (ILL_BADSTK): Likewise.
6146 (ILL_BADIADDR): Likewise.
6147 (ILL_BREAK): Likewise.
6148 (FPE_INTDIV): Likewise.
6149 (FPE_INTOVF): Likewise.
6150 (FPE_FLTDIV): Likewise.
6151 (FPE_FLTOVF): Likewise.
6152 (FPE_FLTUND): Likewise.
6153 (FPE_FLTRES): Likewise.
6154 (FPE_FLTINV): Likewise.
6155 (FPE_FLTSUB): Likewise.
6156 (FPE_DECOVF): Likewise.
6157 (FPE_DECDIV): Likewise.
6158 (FPE_DECERR): Likewise.
6159 (FPE_INVASC): Likewise.
6160 (FPE_INVDEC): Likewise.
6161 (SEGV_MAPERR): Likewise.
6162 (SEGV_ACCERR): Likewise.
6163 (SEGV_PSTKOVF): Likewise.
6164 (BUS_ADRALN): Likewise.
6165 (BUS_ADRERR): Likewise.
6166 (BUS_OBJERR): Likewise.
6167 (BUS_MCEERR_AR): Likewise.
6168 (BUS_MCEERR_AO): Likewise.
6169 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6170 (TRAP_TRACE): Likewise.
6171 (TRAP_BRANCH): Likewise.
6172 (TRAP_HWBKPT): Likewise.
6173 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6175 (CLD_KILLED): Likewise.
6176 (CLD_DUMPED): Likewise.
6177 (CLD_TRAPPED): Likewise.
6178 (CLD_STOPPED): Likewise.
6179 (CLD_CONTINUED): Likewise.
6180 (POLL_IN): Likewise.
6181 (POLL_OUT): Likewise.
6182 (POLL_MSG): Likewise.
6183 (POLL_ERR): Likewise.
6184 (POLL_PRI): Likewise.
6185 (POLL_HUP): Likewise.
6186 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
6187 (ILL_ILLOPN): Likewise.
6188 (ILL_ILLADR): Likewise.
6189 (ILL_ILLTRP): Likewise.
6190 (ILL_PRVOPC): Likewise.
6191 (ILL_PRVREG): Likewise.
6192 (ILL_COPROC): Likewise.
6193 (ILL_BADSTK): Likewise.
6194 (FPE_INTDIV): Likewise.
6195 (FPE_INTOVF): Likewise.
6196 (FPE_FLTDIV): Likewise.
6197 (FPE_FLTOVF): Likewise.
6198 (FPE_FLTUND): Likewise.
6199 (FPE_FLTRES): Likewise.
6200 (FPE_FLTINV): Likewise.
6201 (FPE_FLTSUB): Likewise.
6202 (SEGV_MAPERR): Likewise.
6203 (SEGV_ACCERR): Likewise.
6204 (BUS_ADRALN): Likewise.
6205 (BUS_ADRERR): Likewise.
6206 (BUS_OBJERR): Likewise.
6207 (BUS_MCEERR_AR): Likewise.
6208 (BUS_MCEERR_AO): Likewise.
6209 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6210 (TRAP_TRACE): Likewise.
6211 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6213 (CLD_KILLED): Likewise.
6214 (CLD_DUMPED): Likewise.
6215 (CLD_TRAPPED): Likewise.
6216 (CLD_STOPPED): Likewise.
6217 (CLD_CONTINUED): Likewise.
6218 (POLL_IN): Likewise.
6219 (POLL_OUT): Likewise.
6220 (POLL_MSG): Likewise.
6221 (POLL_ERR): Likewise.
6222 (POLL_PRI): Likewise.
6223 (POLL_HUP): Likewise.
6224 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
6225 (ILL_ILLOPN): Likewise.
6226 (ILL_ILLADR): Likewise.
6227 (ILL_ILLTRP): Likewise.
6228 (ILL_PRVOPC): Likewise.
6229 (ILL_PRVREG): Likewise.
6230 (ILL_COPROC): Likewise.
6231 (ILL_BADSTK): Likewise.
6232 (FPE_INTDIV): Likewise.
6233 (FPE_INTOVF): Likewise.
6234 (FPE_FLTDIV): Likewise.
6235 (FPE_FLTOVF): Likewise.
6236 (FPE_FLTUND): Likewise.
6237 (FPE_FLTRES): Likewise.
6238 (FPE_FLTINV): Likewise.
6239 (FPE_FLTSUB): Likewise.
6240 (SEGV_MAPERR): Likewise.
6241 (SEGV_ACCERR): Likewise.
6242 (BUS_ADRALN): Likewise.
6243 (BUS_ADRERR): Likewise.
6244 (BUS_OBJERR): Likewise.
6245 (BUS_MCEERR_AR): Likewise.
6246 (BUS_MCEERR_AO): Likewise.
6247 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6248 (TRAP_TRACE): Likewise.
6249 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6251 (CLD_KILLED): Likewise.
6252 (CLD_DUMPED): Likewise.
6253 (CLD_TRAPPED): Likewise.
6254 (CLD_STOPPED): Likewise.
6255 (CLD_CONTINUED): Likewise.
6256 (POLL_IN): Likewise.
6257 (POLL_OUT): Likewise.
6258 (POLL_MSG): Likewise.
6259 (POLL_ERR): Likewise.
6260 (POLL_PRI): Likewise.
6261 (POLL_HUP): Likewise.
6262 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
6263 (ILL_ILLOPN): Likewise.
6264 (ILL_ILLADR): Likewise.
6265 (ILL_ILLTRP): Likewise.
6266 (ILL_PRVOPC): Likewise.
6267 (ILL_PRVREG): Likewise.
6268 (ILL_COPROC): Likewise.
6269 (ILL_BADSTK): Likewise.
6270 (FPE_INTDIV): Likewise.
6271 (FPE_INTOVF): Likewise.
6272 (FPE_FLTDIV): Likewise.
6273 (FPE_FLTOVF): Likewise.
6274 (FPE_FLTUND): Likewise.
6275 (FPE_FLTRES): Likewise.
6276 (FPE_FLTINV): Likewise.
6277 (FPE_FLTSUB): Likewise.
6278 (SEGV_MAPERR): Likewise.
6279 (SEGV_ACCERR): Likewise.
6280 (BUS_ADRALN): Likewise.
6281 (BUS_ADRERR): Likewise.
6282 (BUS_OBJERR): Likewise.
6283 (BUS_MCEERR_AR): Likewise.
6284 (BUS_MCEERR_AO): Likewise.
6285 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6286 (TRAP_TRACE): Likewise.
6287 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6289 (CLD_KILLED): Likewise.
6290 (CLD_DUMPED): Likewise.
6291 (CLD_TRAPPED): Likewise.
6292 (CLD_STOPPED): Likewise.
6293 (CLD_CONTINUED): Likewise.
6294 (POLL_IN): Likewise.
6295 (POLL_OUT): Likewise.
6296 (POLL_MSG): Likewise.
6297 (POLL_ERR): Likewise.
6298 (POLL_PRI): Likewise.
6299 (POLL_HUP): Likewise.
6300 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
6301 (ILL_ILLOPN): Likewise.
6302 (ILL_ILLADR): Likewise.
6303 (ILL_ILLTRP): Likewise.
6304 (ILL_PRVOPC): Likewise.
6305 (ILL_PRVREG): Likewise.
6306 (ILL_COPROC): Likewise.
6307 (ILL_BADSTK): Likewise.
6308 (ILL_DBLFLT): Likewise.
6309 (ILL_HARDWALL): Likewise.
6310 (FPE_INTDIV): Likewise.
6311 (FPE_INTOVF): Likewise.
6312 (FPE_FLTDIV): Likewise.
6313 (FPE_FLTOVF): Likewise.
6314 (FPE_FLTUND): Likewise.
6315 (FPE_FLTRES): Likewise.
6316 (FPE_FLTINV): Likewise.
6317 (FPE_FLTSUB): Likewise.
6318 (SEGV_MAPERR): Likewise.
6319 (SEGV_ACCERR): Likewise.
6320 (BUS_ADRALN): Likewise.
6321 (BUS_ADRERR): Likewise.
6322 (BUS_OBJERR): Likewise.
6323 (BUS_MCEERR_AR): Likewise.
6324 (BUS_MCEERR_AO): Likewise.
6325 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6326 (TRAP_TRACE): Likewise.
6327 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6329 (CLD_KILLED): Likewise.
6330 (CLD_DUMPED): Likewise.
6331 (CLD_TRAPPED): Likewise.
6332 (CLD_STOPPED): Likewise.
6333 (CLD_CONTINUED): Likewise.
6334 (POLL_IN): Likewise.
6335 (POLL_OUT): Likewise.
6336 (POLL_MSG): Likewise.
6337 (POLL_ERR): Likewise.
6338 (POLL_PRI): Likewise.
6339 (POLL_HUP): Likewise.
6340 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
6341 (ILL_ILLOPN): Likewise.
6342 (ILL_ILLADR): Likewise.
6343 (ILL_ILLTRP): Likewise.
6344 (ILL_PRVOPC): Likewise.
6345 (ILL_PRVREG): Likewise.
6346 (ILL_COPROC): Likewise.
6347 (ILL_BADSTK): Likewise.
6348 (FPE_INTDIV): Likewise.
6349 (FPE_INTOVF): Likewise.
6350 (FPE_FLTDIV): Likewise.
6351 (FPE_FLTOVF): Likewise.
6352 (FPE_FLTUND): Likewise.
6353 (FPE_FLTRES): Likewise.
6354 (FPE_FLTINV): Likewise.
6355 (FPE_FLTSUB): Likewise.
6356 (SEGV_MAPERR): Likewise.
6357 (SEGV_ACCERR): Likewise.
6358 (BUS_ADRALN): Likewise.
6359 (BUS_ADRERR): Likewise.
6360 (BUS_OBJERR): Likewise.
6361 (BUS_MCEERR_AR): Likewise.
6362 (BUS_MCEERR_AO): Likewise.
6363 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6364 (TRAP_TRACE): Likewise.
6365 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6367 (CLD_KILLED): Likewise.
6368 (CLD_DUMPED): Likewise.
6369 (CLD_TRAPPED): Likewise.
6370 (CLD_STOPPED): Likewise.
6371 (CLD_CONTINUED): Likewise.
6372 (POLL_IN): Likewise.
6373 (POLL_OUT): Likewise.
6374 (POLL_MSG): Likewise.
6375 (POLL_ERR): Likewise.
6376 (POLL_PRI): Likewise.
6377 (POLL_HUP): Likewise.
6378 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
6379 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6382 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
6383 before #include of <time.h>.
6384 [!__USE_XOPEN2K] (__need_timespec): Likewise.
6385 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
6386 (test-xfail-UNIX98/sched.h/conform): Likewise.
6388 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
6390 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
6391 error absence of trapping exception support.
6392 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6394 2014-03-07 Joseph Myers <joseph@codesourcery.com>
6396 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
6397 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
6398 * timezone/Makefile (testdata): Move definition above include of
6400 (test-zones): New variable.
6401 (tests-special): Add zone files.
6402 (build-testdata): Use $(evaluate-test).
6404 * elf/Makefile (tests-special): Rename tests to end with .out.
6405 ($(objpfx)noload-mem): Likewise.
6406 ($(objpfx)tst-leaks1-mem): Likewise.
6407 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
6408 * iconv/Makefile (xtests-special): Change test-iconvconfig to
6409 $(objpfx)test-iconvconfig.out.
6410 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
6411 set -e inside subshell and redirect output to file.
6412 * iconvdata/Makefile (generated): Rename tests to end with .out.
6414 (tests-special): Rename tests to end with .out.
6415 ($(objpfx)mtrace-tst-loading): Likewise.
6416 * intl/Makefile (generated): Likewise.
6417 (tests-special): Likewise.
6418 ($(objpfx)mtrace-tst-gettext): Likewise.
6419 * misc/Makefile (generated): Likewise.
6420 (tests-special): Likewise.
6421 ($(objpfx)tst-error1-mem): Likewise.
6422 * nptl/Makefile (tests-special): Likewise.
6423 ($(objpfx)tst-stack3-mem): Likewise.
6424 (generated): Likewise.
6425 * posix/Makefile (generated): Likewise.
6426 (tests-special): Likewise.
6427 (xtests-special): Likewise.
6428 ($(objpfx)tst-fnmatch-mem): Likewise.
6429 ($(objpfx)bug-regex2-mem): Likewise.
6430 ($(objpfx)bug-regex14-mem): Likewise.
6431 ($(objpfx)bug-regex21-mem): Likewise.
6432 ($(objpfx)bug-regex31-mem): Likewise.
6433 ($(objpfx)tst-vfork3-mem): Likewise.
6434 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6435 ($(objpfx)tst-pcre-mem): Likewise.
6436 ($(objpfx)tst-boost-mem): Likewise.
6437 ($(objpfx)bug-ga2-mem): Likewise.
6438 ($(objpfx)bug-glob2-mem): Likewise.
6439 * resolv/Makefile (generate): Likewise.
6440 (tests-special): Likewise.
6441 (xtests-special): Likewise.
6442 (generated): Likewise.
6443 ($(objpfx)mtrace-tst-leaks): Likewise.
6444 ($(objpfx)mtrace-tst-leaks2): Likewise.
6446 * scripts/merge-test-results.sh: New file.
6447 * Makefile (tests-special-notdir): New variable.
6448 (tests): Run merge-test-results.sh.
6450 * Rules (tests-special-notdir): New variable.
6451 (xtests-special-notdir): Likewise.
6452 (tests): Run merge-test-results.sh
6455 * Makeconfig (test-xfail-name): New variable.
6456 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
6457 compute variable name for expected failures.
6458 * conform/Makefile (conformtest-headers-data): New variable.
6459 (conformtest-standards): Likewise.
6460 (conformtest-headers-ISO): Likewise.
6461 (conformtest-headers-ISO99): Likewise.
6462 (conformtest-headers-ISO11): Likewise.
6463 (conformtest-headers-POSIX): Likewise.
6464 (conformtest-headers-XPG3): Likewise.
6465 (conformtest-headers-XPG4): Likewise.
6466 (conformtest-headers-UNIX98): Likewise.
6467 (conformtest-headers-XOPEN2K): Likewise.
6468 (conformtest-headers-POSIX2008): Likewise.
6469 (conformtest-headers-XOPEN2K8): Likewise.
6470 (conformtest-header-list-base): Likewise.
6471 (conformtest-header-list-tests): Likewise.
6472 (conformtest-header-base): Likewise.
6473 (conformtest-header-tests): Likewise.
6474 (tests-special): Add $(conformtest-header-list-tests). If
6475 [$(fast-check) && !$(cross-compiling)], add
6476 $(conformtest-header-tests) instead of
6477 $(objpfx)run-conformtest.out.
6478 (generated): Add $(conformtest-header-list-base). If
6479 [$(fast-check) && !$(cross-compiling)], add
6480 $(conformtest-header-base). Remove previous setting.
6481 ($(conformtest-header-list-tests)): New target.
6482 (test-xfail-run-conformtest): Remove variable.
6483 ($(objpfx)run-conformtest.out): Remove target.
6484 (test-xfail-ISO11/complex.h/conform): New variable.
6485 (test-xfail-ISO11/stdalign.h/conform): Likewise.
6486 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6487 (test-xfail-XPG3/varargs.h/conform): Likewise.
6488 (test-xfail-XPG4/varargs.h/conform): Likewise.
6489 (test-xfail-UNIX98/varargs.h/conform): Likewise.
6490 (test-xfail-XPG4/ndbm.h/conform): Likewise.
6491 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
6492 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
6493 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
6494 (test-xfail-XPG3/fcntl.h/conform): Likewise.
6495 (test-xfail-XPG3/ftw.h/conform): Likewise.
6496 (test-xfail-XPG3/grp.h/conform): Likewise.
6497 (test-xfail-XPG3/langinfo.h/conform): Likewise.
6498 (test-xfail-XPG3/limits.h/conform): Likewise.
6499 (test-xfail-XPG3/pwd.h/conform): Likewise.
6500 (test-xfail-XPG3/search.h/conform): Likewise.
6501 (test-xfail-XPG3/signal.h/conform): Likewise.
6502 (test-xfail-XPG3/stdio.h/conform): Likewise.
6503 (test-xfail-XPG3/stdlib.h/conform): Likewise.
6504 (test-xfail-XPG3/string.h/conform): Likewise.
6505 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
6506 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
6507 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
6508 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
6509 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
6510 (test-xfail-XPG3/sys/types.h/conform): Likewise.
6511 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
6512 (test-xfail-XPG3/termios.h/conform): Likewise.
6513 (test-xfail-XPG3/time.h/conform): Likewise.
6514 (test-xfail-XPG3/unistd.h/conform): Likewise.
6515 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
6516 (test-xfail-XPG4/fcntl.h/conform): Likewise.
6517 (test-xfail-XPG4/langinfo.h/conform): Likewise.
6518 (test-xfail-XPG4/netdb.h/conform): Likewise.
6519 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
6520 (test-xfail-XPG4/signal.h/conform): Likewise.
6521 (test-xfail-XPG4/stdio.h/conform): Likewise.
6522 (test-xfail-XPG4/stdlib.h/conform): Likewise.
6523 (test-xfail-XPG4/stropts.h/conform): Likewise.
6524 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
6525 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
6526 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
6527 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
6528 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
6529 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
6530 (test-xfail-XPG4/sys/time.h/conform): Likewise.
6531 (test-xfail-XPG4/sys/types.h/conform): Likewise.
6532 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
6533 (test-xfail-XPG4/termios.h/conform): Likewise.
6534 (test-xfail-XPG4/ucontext.h/conform): Likewise.
6535 (test-xfail-XPG4/unistd.h/conform): Likewise.
6536 (test-xfail-XPG4/utmpx.h/conform): Likewise.
6537 (test-xfail-POSIX/sched.h/conform): Likewise.
6538 (test-xfail-POSIX/signal.h/conform): Likewise.
6539 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6540 (test-xfail-POSIX/tar.h/conform): Likewise.
6541 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
6542 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
6543 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6544 (test-xfail-UNIX98/netdb.h/conform): Likewise.
6545 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
6546 (test-xfail-UNIX98/sched.h/conform): Likewise.
6547 (test-xfail-UNIX98/signal.h/conform): Likewise.
6548 (test-xfail-UNIX98/stdio.h/conform): Likewise.
6549 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6550 (test-xfail-UNIX98/stropts.h/conform): Likewise.
6551 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
6552 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
6553 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
6554 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
6555 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
6556 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6557 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
6558 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
6559 (test-xfail-UNIX98/unistd.h/conform): Likewise.
6560 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6561 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
6562 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
6563 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6564 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
6565 (test-xfail-XOPEN2K/math.h/conform): Likewise.
6566 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6567 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
6568 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
6569 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
6570 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
6571 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
6572 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
6573 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
6574 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
6575 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
6576 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
6577 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
6578 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
6579 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
6580 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
6581 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6582 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
6583 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
6584 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
6585 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
6586 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6587 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6588 (test-xfail-POSIX2008/signal.h/conform): Likewise.
6589 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
6590 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6591 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
6592 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
6593 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
6594 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
6595 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6596 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
6597 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
6598 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
6599 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
6600 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
6601 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
6602 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
6603 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
6604 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
6605 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
6606 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
6607 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
6608 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
6609 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6610 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6611 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
6612 (conformtest-cc-flags): Likewise.
6613 ($(conformtest-header-tests): New target.
6614 * conform/check-header-lists.sh: New file.
6615 * conform/run-conformtest.sh: Remove.
6617 * conform/conformtest.pl: Allow ' and \ in values given for
6619 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
6621 [POSIX] (sys/types.h): Likewise.
6622 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
6624 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
6626 * conform/data/signal.h-data (SIGIO): Remove expectation.
6627 [XPG3] (SIGBUS): Do not expect.
6628 [POSIX || XPG3] (SIGPOLL): Likewise.
6629 [POSIX || XPG3] (SIGPROF): Likewise.
6630 [POSIX || XPG3] (SIGSYS): Likewise.
6631 [XPG3] (SIGTRAP): Likewise.
6632 [POSIX || XPG3] (SIGURG): Likewise.
6633 [POSIX || XPG3] (SIGVTALRM): Likewise.
6634 [POSIX || XPG3] (SIGXCPU): Likewise.
6635 [POSIX || XPG3] (SIGXFSZ): Likewise.
6636 [POSIX] (SA_SIGINFO): Expect.
6637 [XPG3] (siginfo_t): Do not expect type or contents.
6638 [POSIX] (si_pid): Do not expect element.
6639 [POSIX] (si_uid): Likewise.
6640 [POSIX] (si_addr): Likewise.
6641 [POSIX] (si_status): Likewise.
6642 [POSIX] (si_band): Likewise.
6643 [XPG4] (si_value): Likewise.
6644 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
6645 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
6646 [POSIX || XPG3] (ILL_ILLADR): Likewise.
6647 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
6648 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
6649 [POSIX || XPG3] (ILL_PRVREG): Likewise.
6650 [POSIX || XPG3] (ILL_COPROC): Likewise.
6651 [POSIX || XPG3] (ILL_BADSTK): Likewise.
6652 [POSIX || XPG3] (FPE_INTDIV): Likewise.
6653 [POSIX || XPG3] (FPE_INTOVF): Likewise.
6654 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
6655 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
6656 [POSIX || XPG3] (FPE_FLTUND): Likewise.
6657 [POSIX || XPG3] (FPE_FLTRES): Likewise.
6658 [POSIX || XPG3] (FPE_FLTINV): Likewise.
6659 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
6660 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
6661 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
6662 [POSIX || XPG3] (BUS_ADRALN): Likewise.
6663 [POSIX || XPG3] (BUS_ADRERR): Likewise.
6664 [POSIX || XPG3] (BUS_OBJERR): Likewise.
6665 [POSIX || XPG3] (CLD_EXITED): Likewise.
6666 [POSIX || XPG3] (CLD_KILLED): Likewise.
6667 [POSIX || XPG3] (CLD_DUMPED): Likewise.
6668 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
6669 [POSIX || XPG3] (CLD_STOPPED): Likewise.
6670 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
6671 [POSIX || XPG3] (POLL_IN): Likewise.
6672 [POSIX || XPG3] (POLL_OUT): Likewise.
6673 [POSIX || XPG3] (POLL_MSG): Likewise.
6674 [POSIX || XPG3] (POLL_ERR): Likewise.
6675 [POSIX || XPG3] (POLL_PRI): Likewise.
6676 [POSIX || XPG3] (POLL_HUP): Likewise.
6677 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
6678 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
6679 (SIG*): Do not allow.
6680 [XPG3] (si_*): Likewise.
6681 [XPG3] (SI_*): Likewise.
6682 [XPG3 || XPG4] (sigev_*): Likewise.
6683 [XPG3 || XPG4] (SIGEV_*): Likewise.
6684 [XPG3 || XPG4] (sival_*): Likewise.
6685 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
6686 [POSIX || XPG3] (BUS_*): Likewise.
6687 [POSIX || XPG3] (CLD_*): Likewise.
6688 [POSIX || XPG3] (FPE_*): Likewise.
6689 [POSIX || XPG3] (ILL_*): Likewise.
6690 [POSIX || XPG3] (POLL_*): Likewise.
6691 [POSIX || XPG3] (SEGV_*): Likewise.
6692 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
6693 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
6694 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
6695 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
6696 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
6697 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
6698 Specify type and value.
6699 (TVERSLEN): Likewise.
6700 (REGTYPE): Likewise.
6701 (AREGTYPE): Likewise.
6702 (LNKTYPE): Likewise.
6703 (SYMTYPE): Likewise.
6704 (CHRTYPE): Likewise.
6705 (BLKTYPE): Likewise.
6706 (DIRTYPE): Likewise.
6707 (FIFOTYPE): Likewise.
6708 (CONTTYPE): Likewise.
6713 (TUWRITE): Likewise.
6716 (TGWRITE): Likewise.
6719 (TOWRITE): Likewise.
6721 [POSIX] (TSVTX): Expect constant.
6723 2014-03-06 Joseph Myers <joseph@codesourcery.com>
6725 * Makefile (tests): Change dependencies to ....
6726 (tests-special): ... additions to this variable.
6727 (tests): Depend on $(tests-special).
6728 * Makerules (check-abi-list): New variable.
6729 (check-abi): Depend on $(check-abi-list).
6730 [$(subdir) = elf] (tests-special): Add
6731 $(objpfx)check-abi-libc.out.
6732 [$(build-shared) = yes && subdir] (tests-special): Add
6734 [$(build-shared) = yes && subdir] (tests): Do not depend on
6736 * Rules (tests): Depend on $(tests-special).
6737 (xtests): Depend on $(xtests-special).
6738 * catgets/Makefile (tests): Change dependencies to ....
6739 (tests-special): ... additions to this variable.
6740 * conform/Makefile (tests): Change dependencies to ....
6741 (tests-special): ... additions to this variable.
6742 * elf/Makefile (tests): Change dependencies to ....
6743 (tests-special): ... additions to this variable.
6744 * grp/Makefile (tests): Change dependencies to ....
6745 (tests-special): ... additions to this variable.
6746 * iconv/Makefile (xtests): Change dependencies to ....
6747 (xtests-special): ... additions to this variable.
6748 * iconvdata/Makefile (tests): Change dependencies to ....
6749 (tests-special): ... additions to this variable.
6750 * intl/Makefile (tests): Change dependencies to ....
6751 (tests-special): ... additions to this variable. Also add
6752 $(objpfx)tst-gettext.out.
6753 * io/Makefile (tests): Change dependencies to ....
6754 (tests-special): ... additions to this variable.
6755 * libio/Makefile (tests): Change dependencies to ....
6756 (tests-special): ... additions to this variable.
6757 * malloc/Makefile (tests): Change dependencies to ....
6758 (tests-special): ... additions to this variable.
6759 * misc/Makefile (tests): Change dependencies to ....
6760 (tests-special): ... additions to this variable.
6761 * nptl/Makefile (tests): Change dependencies to ....
6762 (tests-special): ... additions to this variable.
6763 * nptl_db/Makefile (tests): Change dependencies to ....
6764 (tests-special): ... additions to this variable.
6765 * posix/Makefile (tests): Change dependencies to ....
6766 (tests-special): ... additions to this variable.
6767 (xtests): Change dependencies to ....
6768 (xtests-special): ... additions to this variable.
6769 * resolv/Makefile (tests): Change dependencies to ....
6770 (tests-special): ... additions to this variable.
6771 (xtests): Change dependencies to ....
6772 (xtests-special): ... additions to this variable.
6773 * stdio-common/Makefile (tests): Change dependencies to ....
6774 (tests-special): ... additions to this variable.
6775 (do-tst-unbputc): Remove target.
6776 (do-tst-printf): Likewise.
6777 * stdlib/Makefile (tests): Change dependencies to ....
6778 (tests-special): ... additions to this variable.
6779 * string/Makefile (tests): Change dependencies to ....
6780 (tests-special): ... additions to this variable.
6781 * sysdeps/x86/Makefile (tests): Change dependencies to ....
6782 (tests-special): ... additions to this variable.
6784 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
6786 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
6788 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
6789 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
6791 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
6792 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
6793 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
6794 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
6795 * conform/data/libgen.h-data [XPG3]: Likewise.
6796 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
6797 * conform/data/ndbm.h-data [XPG3]: Likewise.
6798 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6799 * conform/data/netdb.h-data [XPG3]: Likewise.
6800 * conform/data/netinet/in.h-data [XPG3]: Likewise.
6801 * conform/data/poll.h-data [XPG3]: Likewise.
6802 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6803 * conform/data/strings.h-data [XPG3]: Likewise.
6804 * conform/data/stropts.h-data [XPG3]: Likewise.
6805 * conform/data/sys/mman.h-data [XPG3]: Likewise.
6806 * conform/data/sys/resource.h-data [XPG3]: Likewise.
6807 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
6809 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
6810 * conform/data/sys/time.h-data [XPG3]: Likewise.
6811 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
6812 * conform/data/sys/uio.h-data [XPG3]: Likewise.
6813 * conform/data/sys/un.h-data [XPG3]: Likewise.
6814 * conform/data/syslog.h-data [XPG3]: Likewise.
6815 * conform/data/ucontext.h-data [XPG3]: Likewise.
6816 * conform/data/utmpx.h-data [XPG3]: Likewise.
6817 * conform/data/varargs.h-data [UNIX98]: Enable file.
6819 * manual/Makefile (INSTALL_INFO): Remove variable setting.
6821 * math/libm-test.inc (struct test_f_f_data): Move expected results
6822 into structure for each rounding mode.
6823 (struct test_ff_f_data): Likewise.
6824 (struct test_ff_f_data_nexttoward): Likewise.
6825 (struct test_fi_f_data): Likewise.
6826 (struct test_fl_f_data): Likewise.
6827 (struct test_if_f_data): Likewise.
6828 (struct test_fff_f_data): Likewise.
6829 (struct test_c_f_data): Likewise.
6830 (struct test_f_f1_data): Likewise.
6831 (struct test_fF_f1_data): Likewise.
6832 (struct test_ffI_f1_data): Likewise.
6833 (struct test_c_c_data): Likewise.
6834 (struct test_cc_c_data): Likewise.
6835 (struct test_f_i_data): Likewise.
6836 (struct test_ff_i_data): Likewise.
6837 (struct test_f_l_data): Likewise.
6838 (struct test_f_L_data): Likewise.
6839 (struct test_fFF_11_data): Likewise.
6841 (RM_FE_DOWNWARD): Likewise.
6842 (RM_FE_TONEAREST): Likewise.
6843 (RM_FE_TOWARDZERO): Likewise.
6844 (RM_FE_UPWARD): Likewise.
6845 (RUN_TEST_LOOP_f_f): Update references to expected results.
6846 (RUN_TEST_LOOP_2_f): Likewise.
6847 (RUN_TEST_LOOP_fff_f): Likewise.
6848 (RUN_TEST_LOOP_c_f): Likewise.
6849 (RUN_TEST_LOOP_f_f1): Likewise.
6850 (RUN_TEST_LOOP_fF_f1): Likewise.
6851 (RUN_TEST_LOOP_fI_f1): Likewise.
6852 (RUN_TEST_LOOP_ffI_f1): Likewise.
6853 (RUN_TEST_LOOP_c_c): Likewise.
6854 (RUN_TEST_LOOP_cc_c): Likewise.
6855 (RUN_TEST_LOOP_f_i): Likewise.
6856 (RUN_TEST_LOOP_f_i_tg): Likewise.
6857 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6858 (RUN_TEST_LOOP_f_b): Likewise.
6859 (RUN_TEST_LOOP_f_b_tg): Likewise.
6860 (RUN_TEST_LOOP_f_l): Likewise.
6861 (RUN_TEST_LOOP_f_L): Likewise.
6862 (RUN_TEST_LOOP_fFF_11): Likewise.
6863 * math/gen-libm-test.pl (parse_args): Output four copies of
6864 expected results for each test.
6866 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6867 (__ASSUME_UTIMES): Remove.
6868 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6869 (__ASSUME_UTIMES): Likewise.
6871 * math/gen-auto-libm-tests.c: Update comment on output format.
6872 (output_for_one_input_case): Generate before-rounding and
6873 after-rounding information as conditions on output flags not
6874 floating-point format.
6875 * math/auto-libm-test-out: Regenerated.
6876 * math/gen-libm-test.pl (cond_value): New function.
6877 (or_cond_value): Use cond_value.
6878 (generate_testfile): Handle conditional exceptions.
6880 2014-03-05 Joseph Myers <joseph@codesourcery.com>
6882 * math/libm-test.inc (max_valid_error): New variable.
6883 (init_max_error): Take new argument specifying whether function
6884 results are exactly determined. Set max_valid_error and bound
6885 other variables for errors based on this argument.
6886 (set_max_error): Do not record results above max_valid_error.
6887 (check_float_internal): Only accept errors of up to 0.5ulps if
6888 also at most max_valid_error.
6889 (START): Take new argument EXACT and pass it to init_max_error.
6890 (acos_test): Update call to START.
6891 (acos_test_tonearest): Likewise.
6892 (acos_test_towardzero): Likewise.
6893 (acos_test_downward): Likewise.
6894 (acos_test_upward): Likewise.
6895 (acosh_test): Likewise.
6896 (asin_test): Likewise.
6897 (asin_test_tonearest): Likewise.
6898 (asin_test_towardzero): Likewise.
6899 (asin_test_downward): Likewise.
6900 (asin_test_upward): Likewise.
6901 (asinh_test): Likewise.
6902 (atan_test): Likewise.
6903 (atanh_test): Likewise.
6904 (atan2_test): Likewise.
6905 (cabs_test): Likewise.
6906 (cacos_test): Likewise.
6907 (cacosh_test): Likewise.
6908 (carg_test): Likewise.
6909 (casin_test): Likewise.
6910 (casinh_test): Likewise.
6911 (catan_test): Likewise.
6912 (catanh_test): Likewise.
6913 (cbrt_test): Likewise.
6914 (ccos_test): Likewise.
6915 (ccosh_test): Likewise.
6916 (ceil_test): Likewise.
6917 (cexp_test): Likewise.
6918 (cimag_test): Likewise.
6919 (clog_test): Likewise.
6920 (clog10_test): Likewise.
6921 (conj_test): Likewise.
6922 (copysign_test): Likewise.
6923 (cos_test): Likewise.
6924 (cos_test_tonearest): Likewise.
6925 (cos_test_towardzero): Likewise.
6926 (cos_test_downward): Likewise.
6927 (cos_test_upward): Likewise.
6928 (cosh_test): Likewise.
6929 (cosh_test_tonearest): Likewise.
6930 (cosh_test_towardzero): Likewise.
6931 (cosh_test_downward): Likewise.
6932 (cosh_test_upward): Likewise.
6933 (cpow_test): Likewise.
6934 (cproj_test): Likewise.
6935 (creal_test): Likewise.
6936 (csin_test): Likewise.
6937 (csinh_test): Likewise.
6938 (csqrt_test): Likewise.
6939 (ctan_test): Likewise.
6940 (ctan_test_tonearest): Likewise.
6941 (ctan_test_towardzero): Likewise.
6942 (ctan_test_downward): Likewise.
6943 (ctan_test_upward): Likewise.
6944 (ctanh_test): Likewise.
6945 (ctanh_test_tonearest): Likewise.
6946 (ctanh_test_towardzero): Likewise.
6947 (ctanh_test_downward): Likewise.
6948 (ctanh_test_upward): Likewise.
6949 (erf_test): Likewise.
6950 (erfc_test): Likewise.
6951 (exp_test): Likewise.
6952 (exp_test_tonearest): Likewise.
6953 (exp_test_towardzero): Likewise.
6954 (exp_test_downward): Likewise.
6955 (exp_test_upward): Likewise.
6956 (exp10_test): Likewise.
6957 (exp10_test_tonearest): Likewise.
6958 (exp10_test_towardzero): Likewise.
6959 (exp10_test_downward): Likewise.
6960 (exp10_test_upward): Likewise.
6961 (pow10_test): Likewise.
6962 (exp2_test): Likewise.
6963 (expm1_test): Likewise.
6964 (expm1_test_tonearest): Likewise.
6965 (expm1_test_towardzero): Likewise.
6966 (expm1_test_downward): Likewise.
6967 (expm1_test_upward): Likewise.
6968 (fabs_test): Likewise.
6969 (fdim_test): Likewise.
6970 (floor_test): Likewise.
6971 (fma_test): Likewise.
6972 (fma_test_towardzero): Likewise.
6973 (fma_test_downward): Likewise.
6974 (fma_test_upward): Likewise.
6975 (fmax_test): Likewise.
6976 (fmin_test): Likewise.
6977 (fmod_test): Likewise.
6978 (fpclassify_test): Likewise.
6979 (frexp_test): Likewise.
6980 (hypot_test): Likewise.
6981 (ilogb_test): Likewise.
6982 (isfinite_test): Likewise.
6983 (finite_test): Likewise.
6984 (isgreater_test): Likewise.
6985 (isgreaterequal_test): Likewise.
6986 (isinf_test): Likewise.
6987 (isless_test): Likewise.
6988 (islessequal_test): Likewise.
6989 (islessgreater_test): Likewise.
6990 (isnan_test): Likewise.
6991 (isnormal_test): Likewise.
6992 (issignaling_test): Likewise.
6993 (isunordered_test): Likewise.
6994 (j0_test): Likewise.
6995 (j1_test): Likewise.
6996 (jn_test): Likewise.
6997 (ldexp_test): Likewise.
6998 (lgamma_test): Likewise.
6999 (gamma_test): Likewise.
7000 (lrint_test): Likewise.
7001 (lrint_test_tonearest): Likewise.
7002 (lrint_test_towardzero): Likewise.
7003 (lrint_test_downward): Likewise.
7004 (lrint_test_upward): Likewise.
7005 (llrint_test): Likewise.
7006 (llrint_test_tonearest): Likewise.
7007 (llrint_test_towardzero): Likewise.
7008 (llrint_test_downward): Likewise.
7009 (llrint_test_upward): Likewise.
7010 (log_test): Likewise.
7011 (log10_test): Likewise.
7012 (log1p_test): Likewise.
7013 (log2_test): Likewise.
7014 (logb_test): Likewise.
7015 (logb_test_downward): Likewise.
7016 (lround_test): Likewise.
7017 (llround_test): Likewise.
7018 (modf_test): Likewise.
7019 (nearbyint_test): Likewise.
7020 (nextafter_test): Likewise.
7021 (nexttoward_test): Likewise.
7022 (pow_test): Likewise.
7023 (pow_test_tonearest): Likewise.
7024 (pow_test_towardzero): Likewise.
7025 (pow_test_downward): Likewise.
7026 (pow_test_upward): Likewise.
7027 (remainder_test): Likewise.
7028 (drem_test): Likewise.
7029 (remainder_test_tonearest): Likewise.
7030 (drem_test_tonearest): Likewise.
7031 (remainder_test_towardzero): Likewise.
7032 (drem_test_towardzero): Likewise.
7033 (remainder_test_downward): Likewise.
7034 (drem_test_downward): Likewise.
7035 (remainder_test_upward): Likewise.
7036 (drem_test_upward): Likewise.
7037 (remquo_test): Likewise.
7038 (rint_test): Likewise.
7039 (rint_test_tonearest): Likewise.
7040 (rint_test_towardzero): Likewise.
7041 (rint_test_downward): Likewise.
7042 (rint_test_upward): Likewise.
7043 (round_test): Likewise.
7044 (scalb_test): Likewise.
7045 (scalbn_test): Likewise.
7046 (scalbln_test): Likewise.
7047 (signbit_test): Likewise.
7048 (sin_test): Likewise.
7049 (sin_test_tonearest): Likewise.
7050 (sin_test_towardzero): Likewise.
7051 (sin_test_downward): Likewise.
7052 (sin_test_upward): Likewise.
7053 (sincos_test): Likewise.
7054 (sinh_test): Likewise.
7055 (sinh_test_tonearest): Likewise.
7056 (sinh_test_towardzero): Likewise.
7057 (sinh_test_downward): Likewise.
7058 (sinh_test_upward): Likewise.
7059 (sqrt_test): Likewise.
7060 (sqrt_test_tonearest): Likewise.
7061 (sqrt_test_towardzero): Likewise.
7062 (sqrt_test_downward): Likewise.
7063 (sqrt_test_upward): Likewise.
7064 (tan_test): Likewise.
7065 (tan_test_tonearest): Likewise.
7066 (tan_test_towardzero): Likewise.
7067 (tan_test_downward): Likewise.
7068 (tan_test_upward): Likewise.
7069 (tanh_test): Likewise.
7070 (tgamma_test): Likewise.
7071 (trunc_test): Likewise.
7072 (y0_test): Likewise.
7073 (y1_test): Likewise.
7074 (yn_test): Likewise.
7075 (significand_test): Likewise.
7077 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7078 individual tests in comment.
7079 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7080 (prev_max_error): New variable.
7081 (prev_real_max_error): Likewise.
7082 (prev_imag_max_error): Likewise.
7083 (compare_ulp_data): Don't refer to test names in comment.
7084 (find_test_ulps): Remove function.
7085 (find_function_ulps): Likewise.
7086 (find_complex_function_ulps): Likewise.
7087 (init_max_error): Take function name as argument. Look up ulps
7089 (print_ulps): Remove function.
7090 (print_max_error): Use prev_max_error instead of calling
7092 (print_complex_max_error): Use prev_real_max_error and
7093 prev_imag_max_error instead of calling find_complex_function_ulps.
7094 (check_float_internal): Take max_ulp parameter instead of calling
7095 find_test_ulps. Don't call print_ulps.
7096 (check_float): Update call to check_float_internal.
7097 (check_complex): Update calls to check_float_internal.
7098 (START): Pass argument to init_max_error.
7099 * math/gen-libm-test.pl (%results): Don't include "kind"
7101 (parse_ulps): Don't handle ulps of individual tests.
7102 (print_ulps_file): Likewise.
7103 (output_ulps): Likewise.
7104 * math/README.libm-test: Update.
7105 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
7107 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
7108 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
7109 * sysdeps/arm/libm-test-ulps: Likewise.
7110 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7111 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7112 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
7113 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7114 * sysdeps/microblaze/libm-test-ulps: Likewise.
7115 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7116 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7117 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7118 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7119 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7120 * sysdeps/sh/libm-test-ulps: Likewise.
7121 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7122 * sysdeps/tile/libm-test-ulps: Likewise.
7123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7125 2014-03-04 Joseph Myers <joseph@codesourcery.com>
7127 * math/libm-test.inc (print_complex_max_error): Check separately
7128 whether real and imaginary errors are within allowed range and
7129 pass 0 to print_complex_function_ulps instead of value within
7132 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7134 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
7136 (get_handles_fopen): Likewise.
7137 (do_write_test): Likewise.
7139 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
7141 * libio/fileops.c (do_ftell): Use cached offset when
7143 * libio/iofwide.c (do_ftell_wide): Likewise.
7144 * libio/iofdopen.c (_IO_new_fdopen): Don't use
7146 * libio/wfileops.c (_IO_fwide): Don't cache offset.
7149 * libio/libioP.h (get_file_offset): New function.
7150 * libio/fileops.c (get_file_offset): Likewise.
7151 (do_ftell): Likewise.
7152 (_IO_new_file_seekoff): Split out ftell logic.
7153 * libio/wfileops.c (do_ftell_wide): Likewise.
7154 (_IO_wfile_seekoff): Split out ftell logic.
7155 * libio/tst-ftell-active-handler.c: New test case.
7156 * libio/Makefile (tests): Add it.
7158 2014-03-03 Roland McGrath <roland@hack.frob.com>
7160 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
7161 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
7163 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7166 * nscd/connections.c (nscd_init): Call do_exit.
7167 (start_threads): Call do_exit and notify_parent.
7168 (begin_drop_privileges): Call do_exit.
7169 (finish_drop_privileges): Likewise.
7170 * nscd/selinux.c (preserve_capabilities): Likewise.
7171 (install_real_capabilities): Likewise.
7172 (nscd_selinux_enabled): Likewise.
7173 (avc_create_thread): Likewise.
7174 (avc_alloc_lock): Likewise.
7175 (nscd_avc_init): Likewise.
7176 * nscd/nscd.c (parent_fd): New static variable.
7177 (main): Create a pipe between parent and child processes.
7178 Skip closing parent_fd.
7179 (monitor_child): New function.
7180 (do_exit): Likewise.
7181 (notify_parent): Likewise.
7182 * nscd/nscd.h (notify_parent): Likewise.
7183 (do_exit): Likewise.
7185 2014-03-03 Carlos O'Donell <carlos@redhat.com>
7187 * malloc/malloc.c (__libc_calloc): Revert last change.
7189 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7191 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7193 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7195 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
7196 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
7198 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7199 (__libc_ifunc_impl_list): Likewise.
7200 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
7201 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
7202 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
7203 * string/strrchr.c: Define STRRCHR.
7205 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
7207 * benchtest/bench-strtok.c (simple_strtok): Delete.
7208 (strtok_string): Use as benchmark.
7209 * string/strtok (STRTOK): New macro.
7211 2014-02-28 Carlos O'Donell <carlos@redhat.com>
7213 * manual/threads.texi: Add header and standard comments to all
7216 * elf/dl-lookup.c (check_match): New function.
7217 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
7218 (do_lookup_x): Remove nested function check_match. Use non-nested
7219 function check_match.
7221 2014-02-28 Roland McGrath <roland@hack.frob.com>
7223 * csu/Makefile (generated, before-compile): Use += rather than =.
7224 * catgets/Makefile (generated, generated-dirs): Likewise.
7225 * debug/Makefile (generated): Likewise.
7226 * dlfcn/Makefile (generated): Likewise.
7227 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
7228 * iconvdata/Makefile (before-compile, generated): Likewise.
7229 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
7230 * libio/Makefile (generated): Likewise.
7231 * malloc/Makefile (generated): Likewise.
7232 * manual/Makefile (generated, generated-dirs): Likewise.
7233 * misc/Makefile (generated): Likewise.
7234 * posix/Makefile (generated): Likewise.
7235 * resolv/Makefile (generated): Likewise.
7236 * sunrpc/Makefile (generated, generated-dirs): Likewise.
7237 * timezone/Makefile (generated, generated-dirs): Likewise.
7239 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
7241 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7243 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7244 power8 implementation.
7245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
7246 file: POWER8 llround ifunc implementation.
7247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
7248 (__lllround): Add POWER8 implementation.
7249 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
7250 POWER8 llround implementation.
7252 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
7253 power8 implementation.
7254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
7255 file: POWER8 llrint ifunc implementation.
7256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
7257 Add POWER8 implementation.
7258 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
7259 POWER8 llrint implementation.
7261 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
7262 power8 implementation.
7263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
7264 file: POWER8 finite ifunc implementation.
7265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
7266 Add POWER8 implementation.
7267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
7269 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
7270 POWER8 finite implementation.
7271 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
7273 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
7274 power8 implementation.
7275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
7276 file: POWER8 isinf ifunc implementation.
7277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
7278 POWER8 implementation.
7279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
7281 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
7282 isinf implementation.
7283 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
7285 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
7286 (INIT_ARCH): Add hwcap2 initialization.
7287 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7288 power8 implementation.
7289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
7290 file: POWER8 isnan ifunc implementation.
7291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
7292 POWER8 implementation.
7293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
7295 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
7296 isnan implementation.
7297 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
7299 2014-02-27 Joey Ye <joey.ye@arm.com>
7301 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7302 (_FP_NANFRAC_Q): Set to zero.
7304 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7307 * math/auto-libm-test-in: New test inputs.
7308 * math/auto-libm-test-out: Regenerate.
7309 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
7312 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7314 2014-02-27 Joseph Myers <joseph@codesourcery.com>
7316 * scripts/evaluate-test.sh: Take new argument indicating whether
7317 failure is expected.
7318 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
7319 indicating whether failure is expected.
7320 * conform/Makefile (test-xfail-run-conformtest): New variable.
7321 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
7323 * posix/Makefile (test-xfail-annexc): New variable.
7324 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
7326 2014-02-26 Joseph Myers <joseph@codesourcery.com>
7328 * argp/Makefile: Include Makeconfig immediately after defining
7330 * assert/Makefile: Likewise.
7331 * benchtests/Makefile: Likewise.
7332 * catgets/Makefile: Likewise.
7333 * conform/Makefile: Likewise.
7334 * crypt/Makefile: Likewise.
7335 * csu/Makefile: Likewise.
7336 (all): Remove target.
7337 * ctype/Makefile: Include Makeconfig immediately after defining
7339 * debug/Makefile: Likewise.
7340 * dirent/Makefile: Likewise.
7341 * dlfcn/Makefile: Likewise.
7342 * gmon/Makefile: Likewise.
7343 * gnulib/Makefile: Likewise.
7344 * grp/Makefile: Likewise.
7345 * gshadow/Makefile: Likewise.
7346 * hesiod/Makefile: Likewise.
7347 * hurd/Makefile: Likewise.
7348 (all): Remove target.
7349 * iconvdata/Makefile: Include Makeconfig immediately after
7351 * inet/Makefile: Likewise.
7352 * intl/Makefile: Likewise.
7353 * io/Makefile: Likewise.
7354 * libio/Makefile: Likewise.
7355 (all): Remove target.
7356 * locale/Makefile: Include Makeconfig immediately after defining
7358 * login/Makefile: Likewise.
7359 * mach/Makefile: Likewise.
7360 (all): Remove target.
7361 * malloc/Makefile: Include Makeconfig immediately after defining
7363 (all): Remove target.
7364 * manual/Makefile: Include Makeconfig immediately after defining
7366 * math/Makefile: Likewise.
7367 * misc/Makefile: Likewise.
7368 * nis/Makefile: Likewise.
7369 * nss/Makefile: Likewise.
7370 * po/Makefile: Likewise.
7371 (all): Remove target.
7372 * posix/Makefile: Include Makeconfig immediately after defining
7374 * pwd/Makefile: Likewise.
7375 * resolv/Makefile: Likewise.
7376 * resource/Makefile: Likewise.
7377 * rt/Makefile: Likewise.
7378 * setjmp/Makefile: Likewise.
7379 * shadow/Makefile: Likewise.
7380 * signal/Makefile: Likewise.
7381 * socket/Makefile: Likewise.
7382 * soft-fp/Makefile: Likewise.
7383 * stdio-common/Makefile: Likewise.
7384 * stdlib/Makefile: Likewise.
7385 * streams/Makefile: Likewise.
7386 * string/Makefile: Likewise.
7387 * sunrpc/Makefile: Likewise.
7388 (all): Remove target.
7389 * sysvipc/Makefile: Include Makeconfig immediately after defining
7391 * termios/Makefile: Likewise.
7392 * time/Makefile: Likewise.
7393 * timezone/Makefile: Likewise.
7394 (all): Remove target.
7395 * wcsmbs/Makefile: Include Makeconfig immediately after defining
7397 * wctype/Makefile: Likewise.
7399 2014-02-26 Steve Ellcey <sellcey@mips.com>
7401 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
7402 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
7403 (libc_feholdexcept_setround_mips): Ditto.
7404 (libc_feholdsetround): New.
7405 (libc_feholdsetroundf): New.
7406 (libc_feholdsetroundl): New.
7407 (libc_feupdateenv_test_mips): New.
7408 (libc_feupdateenv_test): New.
7409 (libc_feupdateenv_testf): New.
7410 (libc_feupdateenv_testl): New.
7411 (libc_feresetround): New.
7412 (libc_feresetroundf): New.
7413 (libc_feresetroundl): New.
7414 (libc_fetestexcept_mips): New.
7415 (libc_fetestexcept): New.
7416 (libc_fetestexceptf): New.
7417 (libc_fetestexceptl): New.
7419 (libc_feholdexcept_setround_mips_ctx): New.
7420 (libc_feholdexcept_setround_ctx): New.
7421 (libc_feholdexcept_setroundf_ctx): New.
7422 (libc_feholdexcept_setroundl_ctx): New.
7423 (libc_fesetenv_mips_ctx): New.
7424 (libc_fesetenv_ctx): New.
7425 (libc_fesetenv_ctxf): New.
7426 (libc_fesetenv_ctxl): New.
7427 (libc_feupdateenv_mips_ctx): New.
7428 (libc_feupdateenv_ctx): New.
7429 (libc_feupdateenvf_ctx): New.
7430 (libc_feupdateenvl_ctx): New.
7431 (libc_feholdsetround_mips_ctx): New.
7432 (libc_feholdsetround_ctx): New.
7433 (libc_feholdsetroundf_ctx): New.
7434 (libc_feholdsetroundl_ctx): New.
7435 (libc_feresetround_mips_ctx): New.
7436 (libc_feresetround_ctx): New.
7437 (libc_feresetroundf_ctx): New.
7438 (libc_feresetroundl_ctx): New.
7440 2014-02-26 Carlos O'Donell <carlos@redhat.com>
7442 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
7444 * manual/ipc.texi: New file.
7445 * manual/Makefile (chapters): Add ipc.
7446 * manual/job.texi: Add "Inter-Process Communication" to next.
7447 * manual/process.texi: Add "Inter-Process Communication" to prev.
7449 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7451 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7453 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
7455 * malloc/malloc.c (__libc_calloc): Simplify implementation.
7457 * manual/arith.texi: Fix spaces after sentences.
7458 * manual/charset.texi: Likewise.
7459 * manual/errno.texi: Likewise.
7460 * manual/install.texi: Likewise.
7461 * manual/llio.texi: Likewise.
7462 * manual/locale.texi: Likewise.
7463 * manual/maint.texi: Likewise.
7464 * manual/math.texi: Likewise.
7465 * manual/memory.texi: Likewise.
7466 * manual/message.texi: Likewise.
7467 * manual/probes.texi: Likewise.
7468 * manual/resource.texi: Likewise.
7469 * manual/signal.texi: Likewise.
7470 * manual/socket.texi: Likewise.
7471 * manual/stdio.texi: Likewise.
7472 * manual/string.texi: Likewise.
7473 * manual/time.texi: Likewise.
7474 * manual/users.texi: Likewise.
7476 2014-02-25 Carlos O'Donell <carlos@redhat.com>
7479 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
7480 _DEFAULT_SOURCE is defined.
7482 2014-02-25 Ulrich Drepper <drepper@gmail.com>
7483 Carlos O'Donell <carlos@redhat.com>
7486 * elf/dl-tls.c (_dl_count_modids): New function.
7487 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
7488 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
7489 audit library and increment generation counter.
7490 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
7491 * elf/tst-audit9.c: New file.
7492 * elf/tst-auditmod9a.c: New file.
7493 * elf/tst-auditmod9b.c: New file.
7494 * elf/Makefile: Add rules to build and run tst-audit9.
7496 2014-02-25 Florian Weimer <fweimer@redhat.com>
7499 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
7501 2014-02-25 Will Newton <will.newton@linaro.org>
7503 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
7504 (__longjmp): Restore sp and lr before restoring callee
7505 saved registers. Add longjmp and longjmp_target
7506 SystemTap probe point.
7507 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
7508 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
7509 Define to zero to match jmpbuf layout.
7510 * sysdeps/arm/setjmp.S: Include stap-probe.h.
7511 (__sigsetjmp): Save sp and lr before saving callee
7512 saved registers. Add setjmp SystemTap probe point.
7514 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7516 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7518 2014-02-24 Andreas Schwab <schwab@suse.de>
7521 * elf/pldd.c (wait_for_ptrace_stop): New function.
7522 (main): Call it after attaching.
7524 2014-02-22 Roland McGrath <roland@hack.frob.com>
7526 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
7527 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
7528 Versions files is now verboten.
7529 * hurd/Versions (libc: GLIBC_2.0):
7530 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
7531 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
7532 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
7533 * mach/Versions: Likewise.
7535 * csu/Versions: Remove unused %include.
7536 * resolv/Versions: Likewise.
7538 2014-02-21 Joseph Myers <joseph@codesourcery.com>
7540 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
7541 ($(objpfx)check-local-headers.out): Likewise.
7542 ($(objpfx)begin-end-check.out): Likewise.
7543 * Makerules (check-abi-%.out): Likewise.
7544 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
7545 ($(objpfx)test2.cat): Likewise.
7546 ($(objpfx)de/libc.cat): Likewise.
7547 ($(objpfx)test-gencat.out): Likewise.
7548 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
7549 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
7550 ($(objpfx)noload-mem): Likewise.
7551 ($(objpfx)tst-pathopt.out): Likewise.
7552 ($(objpfx)tst-rtld-load-self.out): Likewise.
7553 ($(objpfx)tst-array1-cmp.out): Likewise.
7554 ($(objpfx)tst-array1-static-cmp.out): Likewise.
7555 ($(objpfx)tst-array2-cmp.out): Likewise.
7556 ($(objpfx)tst-array3-cmp.out): Likewise.
7557 ($(objpfx)tst-array4-cmp.out): Likewise.
7558 ($(objpfx)tst-array5-cmp.out): Likewise.
7559 ($(objpfx)tst-array5-static-cmp.out): Likewise.
7560 ($(objpfx)check-textrel.out): Likewise.
7561 ($(objpfx)check-execstack.out): Likewise.
7562 ($(objpfx)check-localplt.out): Likewise.
7563 ($(objpfx)order2-cmp.out): Likewise.
7564 ($(objpfx)tst-leaks1-mem): Likewise.
7565 ($(objpfx)tst-leaks1-static-mem): Likewise.
7566 ($(objpfx)tst-initorder-cmp.out): Likewise.
7567 ($(objpfx)tst-initorder2-cmp.out): Likewise.
7568 ($(objpfx)tst-unused-dep.out): Likewise.
7569 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
7570 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
7571 * iconv/Makefile (test-iconvconfig): Likewise.
7572 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
7573 ($(objpfx)iconv-test.out): Likewise.
7574 ($(objpfx)tst-tables.out): Likewise.
7575 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
7576 ($(objpfx)tst-gettext.out): Likewise.
7577 ($(objpfx)tst-translit.out): Likewise.
7578 ($(objpfx)tst-gettext2.out): Likewise.
7579 ($(objpfx)tst-gettext4.out): Likewise.
7580 ($(objpfx)tst-gettext6.out): Likewise.
7581 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
7582 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
7583 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
7584 ($(objpfx)tst-fopenloc-mem.out): Likewise.
7585 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
7586 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
7587 * posix/Makefile ($(objpfx)globtest.out): Likewise.
7588 ($(objpfx)wordexp-tst.out): Likewise.
7589 ($(objpfx)annexc.out): Likewise.
7590 ($(objpfx)tst-fnmatch-mem): Likewise.
7591 ($(objpfx)bug-regex2-mem): Likewise.
7592 ($(objpfx)bug-regex14-mem): Likewise.
7593 ($(objpfx)bug-regex21-mem): Likewise.
7594 ($(objpfx)bug-regex31-mem): Likewise.
7595 ($(objpfx)tst-vfork3-mem): Likewise.
7596 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7597 ($(objpfx)tst-pcre-mem): Likewise.
7598 ($(objpfx)tst-boost-mem): Likewise.
7599 ($(objpfx)tst-getconf.out): Likewise.
7600 ($(objpfx)bug-ga2-mem): Likewise.
7601 ($(objpfx)bug-glob2-mem): Likewise.
7602 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
7603 ($(objpfx)mtrace-tst-leaks2): Likewise.
7604 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
7605 ($(objpfx)tst-printf.out): Likewise.
7606 ($(objpfx)tst-setvbuf1.out): Likewise.
7607 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
7608 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
7609 ($(objpfx)tst-fmtmsg.out): Likewise.
7610 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
7611 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
7613 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
7614 * bits/sigaction.h [__USE_MISC]: Likewise.
7615 * bits/waitstatus.h: Update #endif comments.
7616 * ctype/ctype.h: Likewise.
7617 * dirent/dirent.h: Likewise.
7618 [__USE_MISC]: Remove redundant conditionals.
7619 * grp/grp.h: Update #endif comments.
7620 [__USE_GNU]: Remove redundant conditionals.
7621 [__USE_MISC]: Likewise.
7622 * inet/netinet/in.h [__USE_GNU]: Likewise.
7623 * io/sys/stat.h [__USE_MISC]: Likewise.
7624 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
7625 * libio/bits/stdio.h: Update #endif comments.
7626 [__USE_MISC]: Remove redundant conditionals.
7627 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
7628 * libio/stdio.h: Update #endif comments.
7629 [__USE_MISC]: Remove redundant conditionals.
7630 * math/bits/math-finite.h [__USE_MISC]: Likewise.
7631 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
7632 * math/math.h: Update #else and #endif comments.
7633 [__USE_MISC]: Remove redundant conditionals.
7634 * misc/sys/uio.h: Update #endif comments.
7635 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
7636 * posix/glob.h [__USE_MISC]: Likewise.
7637 * posix/sys/types.h: Update #endif comments.
7638 [__USE_MISC]: Remove redundant conditionals.
7639 * posix/sys/wait.h: Update #endif comments.
7640 [__USE_MISC]: Remove redundant conditionals.
7641 * posix/unistd.h: Update #endif comments.
7642 [__USE_MISC]: Remove redundant conditionals.
7643 * pwd/pwd.h [__USE_GNU]: Likewise.
7644 [__USE_MISC]: Likewise.
7645 * resolv/netdb.h [__USE_GNU]: Likewise.
7646 * signal/signal.h: Update #endif comments.
7647 [__USE_MISC]: Remove redundant conditionals.
7648 * stdlib/stdlib.h: Update #else and #endif comments.
7649 [__USE_MISC]: Remove redundant conditionals.
7650 [__USE_GNU]: Likewise.
7651 * string/bits/string2.h [__USE_MISC]: Likewise.
7652 * string/string.h: Update #endif comments.
7653 [__USE_MISC]: Remove redundant conditionals.
7654 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
7656 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
7657 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
7658 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
7660 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
7662 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
7664 [__USE_MISC]: Remove redundant conditionals.
7665 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
7666 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
7667 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
7668 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
7669 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
7671 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
7672 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
7674 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
7675 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
7677 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
7679 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
7680 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
7682 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
7684 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
7685 * sysdeps/x86/bits/string.h: Update #endif comments.
7686 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
7688 * time/sys/time.h: Update #endif comments.
7689 * time/time.h: Likewise.
7690 [__USE_MISC]: Remove redundant conditionals.
7692 2014-02-21 Yury Gribov <y.gribov@samsung.com>
7695 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
7697 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
7699 * Versions.def (librt): Add GLIBC_2.17.
7701 2014-02-21 Adam Conrad <adconrad@0c3.net>
7703 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
7704 synonym for _SYS_AUXV_H to allow direct inclusion.
7705 * sysdeps/sparc/bits/hwcap.h: Likewise.
7706 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
7707 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
7708 * sysdeps/sparc/sysdep.h: Likewise.
7710 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7712 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
7714 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7716 * benchtests/bench-strrchr.c: Print length instead of position.
7718 2014-02-20 Joseph Myers <joseph@codesourcery.com>
7721 * sysdeps/unix/sysv/linux/kernel-features.h
7722 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
7723 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
7724 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
7725 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
7727 [__i386__ || __powerpc__ || __sh__ || __sparc__]
7728 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7729 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
7730 (__ASSUME_SENDMMSG): Define instead of using previous
7731 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
7732 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7733 (__ASSUME_SENDMMSG_SYSCALL): Define.
7734 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7735 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
7737 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7738 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7740 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7741 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7743 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
7744 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7745 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7746 [__ASSUME_SENDMMSG]: Change conditionals to
7747 [__ASSUME_SENDMMSG_SOCKETCALL].
7748 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7749 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
7751 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7752 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
7754 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
7755 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7756 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7757 [!__ASSUME_SENDMMSG]: Change conditional to
7758 [!__ASSUME_SENDMMSG_SOCKETCALL].
7759 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7760 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7764 * sysdeps/unix/sysv/linux/kernel-features.h
7765 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
7766 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
7767 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
7768 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
7769 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7770 [__i386__ || __sparc__]
7771 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7772 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
7773 (__ASSUME_RECVMMSG): Define instead of using previous
7774 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
7775 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7776 (__ASSUME_RECVMMSG_SYSCALL): Define.
7777 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7778 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7780 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7781 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7783 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7784 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7786 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
7787 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7788 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7789 [__ASSUME_RECVMMSG]: Change condition to
7790 [__ASSUME_RECVMMSG_SOCKETCALL].
7791 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7792 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7794 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7795 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7796 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7798 * sysdeps/unix/sysv/linux/recvmmsg.c [__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/tile/kernel-features.h
7804 (__ASSUME_RECVMMSG_SYSCALL): Define.
7807 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
7808 __powerpc__ || __s390__ || __sh__ || __sparc__]
7809 (__ASSUME_SOCKETCALL): Define.
7810 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
7811 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
7812 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
7813 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
7814 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7815 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7816 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
7817 (__ASSUME_ACCEPT4): Define instead of using previous
7818 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
7819 __powerpc__ || __sparc__ || __s390__)] condition.
7820 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7821 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7822 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
7823 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7824 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7825 [!__ASSUME_ACCEPT4]: Change condition to
7826 [!__ASSUME_ACCEPT4_SOCKETCALL].
7827 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7828 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
7829 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
7830 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7831 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
7832 __ASSUME_ACCEPT4_SYSCALL.
7833 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
7834 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
7835 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7836 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
7837 __ASSUME_ACCEPT4_SYSCALL.
7838 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
7839 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7840 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7841 [__ASSUME_ACCEPT4]: Change condition to
7842 [__ASSUME_ACCEPT4_SOCKETCALL].
7843 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7844 (__ASSUME_SOCKETCALL): Define.
7845 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
7846 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7847 (__ASSUME_SOCKETCALL): Define.
7848 (__ASSUME_ACCEPT4): Remove.
7849 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
7851 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7852 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
7854 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7855 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7857 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
7859 (HWCAP_ARM_LPAE): Likewise.
7860 (HWCAP_ARM_EVTSTRM): Likewise.
7861 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
7862 Add vpfd32, lpae and evtstrm.
7863 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
7866 2014-02-19 Joseph Myers <joseph@codesourcery.com>
7868 * math/auto-libm-test-in: Add tests of clog10.
7869 * math/auto-libm-test-out: Regenerated.
7870 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
7871 * sysdeps/i386/fpu/libm-test-ulps: Update.
7872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7874 2014-02-18 Andreas Schwab <schwab@suse.de>
7877 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
7878 Store non-zero if the second buffer was newly allocated.
7879 (send_dg): Likewise.
7880 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
7881 to send_vc and send_dg.
7882 (res_nsend): Pass NULL for ansp2_malloced.
7883 * resolv/res_query.c (__libc_res_nquery): Add parameter
7884 answerp2_malloced and pass it down to __libc_res_nsend.
7885 (res_nquery): Pass additional NULL to __libc_res_nquery.
7886 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
7887 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
7888 second answer buffer if answerp2_malloced was set.
7889 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
7890 (__libc_res_nquerydomain): Add parameter
7891 answerp2_malloced and pass it down to __libc_res_nquery.
7892 (res_nquerydomain): Pass additional NULL to
7893 __libc_res_nquerydomain.
7894 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
7895 additional NULL to __libc_res_nsend and __libc_res_nquery.
7896 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
7897 additional NULL to __libc_res_nsearch.
7898 (_nss_dns_gethostbyname4_r): Revert last change. Use new
7899 parameter of __libc_res_nsearch to check for separately allocated
7901 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
7903 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
7904 additional NULL to __libc_res_nquery.
7905 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
7907 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
7908 * include/resolv.h: Update prototypes of __libc_res_nquery,
7909 __libc_res_nsearch, __libc_res_nsend.
7911 2014-02-18 Joseph Myers <joseph@codesourcery.com>
7913 * math/auto-libm-test-in: Add tests of fma.
7914 * math/auto-libm-test-out: Regenerated.
7915 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
7916 (fma_towardzero_test_data): Likewise.
7917 (fma_downward_test_data): Likewise.
7918 (fma_upward_test_data): Likewise.
7919 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
7921 (rounding_modes): Add values for new field.
7922 (func_calc_method): Add value mpfr_fff_f.
7923 (func_calc_desc): Add mpfr_fff_f union field.
7924 (test_function): Add field exact_args.
7925 (FUNC): Add macro argument EXACT_ARGS.
7926 (FUNC_mpfr_f_f): Update call to FUNC.
7927 (FUNC_mpfr_f_f): Likewise.
7928 (FUNC_mpfr_ff_f): Likewise.
7929 (FUNC_mpfr_if_f): Likewise.
7930 (FUNC_mpc_c_f): Likewise.
7931 (FUNC_mpc_c_c): Likewise.
7932 (test_functions): Add fma. Update calls to FUNC.
7933 (handle_input_arg): Add argument exact_args.
7934 (add_test): Update call to handle_input_arg.
7935 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
7936 (output_for_one_input_case): Update call to calc_generic_results.
7937 Recalculate exact zero results in each rounding mode.
7939 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
7940 non-negative before setting low bit.
7941 * math/auto-libm-test-in: Mark one asin test possibly having
7943 * math/auto-libm-test-out: Regenerated.
7944 * sysdeps/i386/fpu/libm-test-ulps: Update.
7945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7947 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
7949 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
7950 * sysdeps/unix/sysv/linux/microblaze: Move directory from
7951 ports/sysdeps/unix/sysv/linux/microblaze.
7952 * README: Add missing listing for microblaze*-*-linux-gnu.
7954 2014-02-16 Mike Frysinger <vapier@gentoo.org>
7956 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
7957 * sysdeps/unix/sysv/linux/ia64: Move directory from
7958 ports/sysdeps/unix/sysv/linux/ia64.
7959 * README: Update listing for ia64-*-linux-gnu.
7961 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
7962 Joseph Myers <joseph@codesourcery.com>
7964 * Makeconfig (test-name): New variable.
7965 (evaluate-test): Likewise.
7966 * Makerules (do-test-clean): Remove .test-result files.
7967 (common-mostlyclean): Likewise.
7968 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
7969 * scripts/evaluate-test.sh: New file.
7971 2014-02-14 Joseph Myers <joseph@codesourcery.com>
7973 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
7974 separate $(objpfx)tst-fopenloc-cmp.out and
7975 $(objpfx)tst-fopenloc-mem.out targets.
7976 (tests): Update dependencies.
7977 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
7978 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
7979 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
7980 (tst-rxspencer-no-utf8-ARGS): New variable.
7981 (tst-rxspencer-no-utf8-ENV): Likewise.
7982 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
7983 instead of $(objpfx)tst-rxspencer-mem.
7984 ($(objpfx)tst-rxspencer-mem): Change target to
7985 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
7986 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
7987 * posix/tst-rxspencer-no-utf8.c: New file.
7989 * elf/Makefile ($(objpfx)order.out): Remove rule.
7990 [$(run-built-tests) = yes] (tests): Depend on
7991 $(objpfx)order-cmp.out.
7992 ($(objpfx)order-cmp.out): New rule.
7993 [$(run-built-tests) = yes] (tests): Depend on
7994 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
7995 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
7996 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
7997 $(objpfx)tst-array5-static-cmp.out.
7998 ($(objpfx)tst-array1.out): Remove rule.
7999 ($(objpfx)tst-array1-cmp.out): New rule.
8000 ($(objpfx)tst-array1-static.out): Remove rule.
8001 ($(objpfx)tst-array1-static-cmp.out): New rule.
8002 ($(objpfx)tst-array2.out): Remove rule.
8003 ($(objpfx)tst-array2-cmp.out): New rule.
8004 ($(objpfx)tst-array3.out): Remove rule.
8005 ($(objpfx)tst-array3-cmp.out): New rule.
8006 ($(objpfx)tst-array4.out): Remove rule.
8007 ($(objpfx)tst-array4-cmp.out): New rule.
8008 ($(objpfx)tst-array5.out): Remove rule.
8009 ($(objpfx)tst-array5-cmp.out): New rule.
8010 ($(objpfx)tst-array5-static.out): Remove rule.
8011 ($(objpfx)tst-array5-static-cmp.out): New rule.
8012 [$(run-built-tests) = yes] (tests): Depend on
8013 $(objpfx)order2-cmp.out.
8014 ($(objpfx)order2.out): Remove rule.
8015 ($(objpfx)order2-cmp.out): New rule.
8016 ($(objpfx)tst-initorder.out): Remove rule.
8017 [$(run-built-tests) = yes] (tests): Depend on
8018 $(objpfx)tst-initorder-cmp.out.
8019 ($(objpfx)tst-initorder-cmp.out): New rule.
8020 ($(objpfx)tst-initorder2.out): Remove rule.
8021 [$(run-built-tests) = yes] (tests): Depend on
8022 $(objpfx)tst-initorder2-cmp.out.
8023 ($(objpfx)tst-initorder2-cmp.out): New rule.
8024 [$(run-built-tests) = yes] (tests): Depend on
8025 $(objpfx)tst-unused-dep-cmp.out.
8026 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8027 ($(objpfx)tst-unused-dep-cmp.out): New rule.
8028 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8029 on $(objpfx)tst-setvbuf1-cmp.out.
8030 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8031 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8032 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8033 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8034 ($(objpfx)tst-svc.out): Remove rule.
8035 ($(objpfx)tst-svc-cmp.out): New rule.
8037 2014-02-13 Joseph Myers <joseph@codesourcery.com>
8039 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8040 * ctype/ctype.h [__USE_MISC]: Likewise.
8041 * dirent/dirent.h [__USE_MISC]: Likewise.
8042 * grp/grp.h [__USE_MISC]: Likewise.
8043 * io/fcntl.h [__USE_MISC]: Likewise.
8044 * io/sys/stat.h [__USE_MISC]: Likewise.
8045 * libio/stdio.h [__USE_MISC]: Likewise.
8046 * posix/unistd.h [__USE_MISC]: Likewise.
8047 * pwd/pwd.h [__USE_MISC]: Likewise.
8048 * stdlib.h [__USE_MISC]: Likewise.
8049 * string/bits/string2.h [__USE_MISC]: Likewise.
8050 * string/string.h [__USE_MISC]: Likewise.
8051 * time/time.h [__USE_MISC]: Likewise.
8053 2014-02-13 Andreas Schwab <schwab@suse.de>
8056 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8057 second answer buffer if it was separately allocated.
8059 2014-02-12 Joseph Myers <joseph@codesourcery.com>
8061 * sysdeps/mips/math-tests.h: Include <features.h>.
8062 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8063 (ROUNDING_TESTS_long_double): Do not define.
8064 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8065 (EXCEPTION_TESTS_long_double): Likewise.
8066 * sysdeps/mips/mips64/libm-test-ulps: Update.
8068 * include/features.h (__USE_BSD): Remove macro definitions.
8069 (__USE_SVID): Likewise.
8070 (_BSD_SOURCE): Likewise.
8071 (_SVID_SOURCE): Likewise.
8072 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8073 from definition of _DEFAULT_SOURCE.
8074 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8076 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8077 * bits/mman.h [__USE_BSD]: Likewise.
8078 * bits/termios.h [__USE_BSD]: Likewise.
8079 * bits/waitstatus.h [__USE_BSD]: Likewise.
8080 * ctype/ctype.h [__USE_SVID]: Likewise.
8081 * dirent/dirent.h [__USE_BSD]: Likewise.
8082 * grp/grp.h [__USE_SVID]: Likewise.
8083 [__USE_BSD]: Likewise.
8084 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
8085 * io/fcntl.h [__USE_BSD]: Likewise.
8086 * io/ftw.h [__USE_BSD]: Likewise.
8087 * io/sys/stat.h [__USE_BSD]: Likewise.
8088 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
8089 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
8090 * libio/stdio.h [__USE_SVID]: Likewise.
8091 [__USE_BSD]: Likewise.
8092 * math/math.h [__USE_SVID]: Likewise.
8093 [__USE_BSD]: Likewise.
8094 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
8095 * misc/bits/syslog.h [__USE_BSD]: Likewise.
8096 * misc/search.h [__USE_SVID]: Likewise.
8097 * misc/sys/mman.h [__USE_BSD]: Likewise.
8098 * misc/sys/syslog.h [__USE_BSD]: Likewise.
8099 * misc/sys/uio.h [__USE_BSD]: Likewise.
8100 * posix/bits/unistd.h [__USE_BSD]: Likewise.
8101 * posix/glob.h [__USE_BSD]: Likewise.
8102 * posix/regex.h [__USE_BSD]: Likewise.
8103 * posix/sys/types.h [__USE_BSD]: Likewise.
8104 [__USE_SVID]: Likewise.
8105 * posix/sys/utsname.h [__USE_SVID]: Likewise.
8106 * posix/sys/wait.h [__USE_BSD]: Likewise.
8107 [__USE_SVID]: Likewise.
8108 * posix/unistd.h [__USE_BSD]: Likewise.
8109 [__USE_SVID]: Likewise.
8110 * pwd/pwd.h [__USE_SVID]: Likewise.
8111 * resolv/netdb.h [__USE_BSD]: Likewise.
8112 * setjmp/setjmp.h [__USE_BSD]: Likewise.
8113 * signal/signal.h [__USE_BSD]: Likewise.
8114 [__USE_SVID]: Likewise.
8115 * socket/sys/socket.h [__USE_BSD]: Likewise.
8116 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
8117 * stdlib/stdlib.h [__USE_BSD]: Likewise.
8118 [__USE_SVID]: Likewise.
8119 * string/bits/string2.h [__USE_BSD]: Likewise.
8120 [__USE_SVID]: Likewise.
8121 * string/bits/string3.h [__USE_BSD]: Likewise.
8122 * string/endian.h [__USE_BSD]: Likewise.
8123 * string/string.h [__USE_SVID]: Likewise.
8124 [__USE_BSD]: Likewise.
8125 * string/strings.h [__USE_BSD]: Likewise.
8126 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
8127 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
8128 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
8129 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
8130 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
8131 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
8133 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
8135 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
8136 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
8138 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
8139 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
8141 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
8143 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
8144 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
8145 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
8147 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
8149 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
8150 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
8151 * termios/termios.h [__USE_BSD]: Likewise.
8152 * time/sys/time.h [__USE_BSD]: Likewise.
8153 * time/time.h [__USE_BSD]: Likewise.
8154 [__USE_SVID]: Likewise.
8156 * Makefile (subdir_targets): Remove subdir_lint.out.
8158 * stdio-common/Makefile (do-tst-unbputc): Remove target.
8159 (do-tst-printf): Likewise.
8160 (tests): Depend directly on $(objpfx)tst-unbputc.out and
8161 $(objpfx)tst-printf.out.
8163 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
8165 * Makerules (check-abi-%): Change target to
8166 $(objpfx)check-abi-%.out.
8167 (check-abi target): Update dependencies.
8168 (check-abi-pattern variable): Redirect output of diff to $@.
8169 (check-abi variable): Likewise.
8170 * elf/Makefile (check-abi): Update dependencies.
8172 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
8174 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
8175 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
8177 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
8178 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
8179 value has largest subnormal exponent.
8180 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
8181 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
8182 * sysdeps/aarch64/soft-fp/sfp-machine.h
8183 (_FP_TININESS_AFTER_ROUNDING): New macro.
8184 * sysdeps/alpha/soft-fp/sfp-machine.h
8185 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8186 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8188 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
8189 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8190 * sysdeps/mips/soft-fp/sfp-machine.h
8191 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8192 * sysdeps/powerpc/soft-fp/sfp-machine.h
8193 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8194 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8196 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8197 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8198 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8199 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8200 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8203 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
8206 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
8209 2014-02-12 Richard Henderson <rth@redhat.com>
8211 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
8212 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
8213 * sysdeps/unix/sysv/linux/alpha: Move directory from
8214 ports/sysdeps/unix/sysv/linux/alpha.
8215 * README: Update listing for alpha-*-linux-gnu.
8217 2014-02-11 Joseph Myers <joseph@codesourcery.com>
8219 * include/features.h: Update comment documenting feature test
8221 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
8223 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
8224 (_SVID_SOURCE): Likewise.
8225 (_DEFAULT_SOURCE): Update description of default features.
8226 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
8228 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
8229 (S_ISVTX): Likewise.
8230 * manual/math.texi (Mathematical Constants): Likewise.
8231 * manual/signal.texi (Interrupted Primitives): Likewise.
8232 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
8233 * math/test-matherr.c (_SVID_SOURCE): Do not define.
8234 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
8235 Don't refer to _SVID_SOURCE in warning text.
8237 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8239 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
8241 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
8242 * sysdeps/mips/dl-lookup.c: Remove.
8243 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
8245 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8248 * math/auto-libm-test-in: Add testcase for expl.
8249 * math/auto-libm-test-out: Regenerate.
8250 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
8251 calculation of unsafe.
8252 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
8254 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
8256 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
8257 * sysdeps/unix/sysv/linux/aarch64: Move directory from
8258 ports/sysdeps/unix/sysv/linux/aarch64.
8259 * README: Update listing for aarch64*-*-linux-gnu.
8261 2014-02-11 Will Newton <will.newton@linaro.org>
8263 * manual/probes.texi (Mathematical Function Probes): Use
8264 "triggered" instead of "hit".
8266 * manual/probes.texi (Internal Probes): Add documentation
8267 of setjmp, longjmp and longjmp_target probes.
8269 * include/stap-probe.h: Add comment about probe argument
8272 * malloc/mtrace.c (attribute_hidden): Remove unused macro
8273 definition. (tr_where, tr_freehook, tr_mallochook,
8274 tr_reallochook, tr_memalignhook): Use ANSI protoype.
8276 2014-02-11 David S. Miller <davem@davemloft.net>
8278 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
8279 processing int_tests.
8281 2014-02-10 Joseph Myers <joseph@codesourcery.com>
8283 * sysdeps/mips: Move directory from ports/sysdeps/mips.
8284 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
8285 * sysdeps/unix/sysv/linux/mips: Move directory from
8286 ports/sysdeps/unix/sysv/linux/mips.
8287 * README: Update listing for mips-*-linux-gnu and
8290 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
8292 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
8293 * sysdeps/unix/sysv/linux/m68k: Move directory from
8294 ports/sysdeps/unix/sysv/linux/m68k.
8295 * README: Update listing for m68k-*-linux-gnu.
8297 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
8299 * sysdeps/tile: Move directory from ports/sysdeps/tile.
8300 * sysdeps/unix/sysv/linux/generic: Move directory from
8301 ports/sysdeps/unix/sysv/linux/generic.
8302 * sysdeps/unix/sysv/linux/tile: Move directory from
8303 ports/sysdeps/unix/sysv/linux/tile.
8304 * README: Update listing for tile*-*-linux-gnu.
8306 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
8308 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
8310 * benchtests/bench-memmem.c (simple_memmem): Likewise.
8311 * catgets/open_catalog.c (__open_catalog): Likewise.
8312 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
8313 * debug/confstr_chk.c: Likewise.
8314 * debug/fread_chk.c (__fread_chk): Likewise.
8315 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
8316 * debug/getgroups_chk.c: Likewise.
8317 * debug/mbsnrtowcs_chk.c: Likewise.
8318 * debug/mbsrtowcs_chk.c: Likewise.
8319 * debug/mbstowcs_chk.c: Likewise.
8320 * debug/memcpy_chk.c: Likewise.
8321 * debug/memmove_chk.c: Likewise.
8322 * debug/mempcpy_chk.c: Likewise.
8323 * debug/memset_chk.c: Likewise.
8324 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8325 * debug/strcat_chk.c (__strcat_chk): Likewise.
8326 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
8327 * debug/strncat_chk.c (__strncat_chk): Likewise.
8328 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
8329 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
8330 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
8331 * debug/wcpncpy_chk.c: Likewise.
8332 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8333 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
8334 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
8335 * debug/wcsncpy_chk.c: Likewise.
8336 * debug/wcsnrtombs_chk.c: Likewise.
8337 * debug/wcsrtombs_chk.c: Likewise.
8338 * debug/wcstombs_chk.c: Likewise.
8339 * debug/wmemcpy_chk.c: Likewise.
8340 * debug/wmemmove_chk.c: Likewise.
8341 * debug/wmempcpy_chk.c: Likewise.
8342 * debug/wmemset_chk.c: Likewise.
8343 * dirent/scandirat.c (SCANDIRAT): Likewise.
8344 * dlfcn/dladdr1.c (dladdr1): Likewise.
8345 * dlfcn/dladdr.c (dladdr): Likewise.
8346 * dlfcn/dlclose.c (dlclose_doit): Likewise.
8347 * dlfcn/dlerror.c (__dlerror): Likewise.
8348 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
8349 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8350 * dlfcn/dlopen.c (dlopen_doit): Likewise.
8351 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
8352 * dlfcn/dlsym.c (dlsym_doit): Likewise.
8353 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
8354 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
8355 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
8357 * elf/dl-conflict.c: Likewise.
8358 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
8359 * elf/dl-dst.h: Likewise.
8360 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
8361 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
8362 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
8363 * elf/dl-init.c (call_init, _dl_init): Likewise.
8364 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
8365 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
8366 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
8368 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
8370 * elf/dl-minimal.c (__libc_memalign): Likewise.
8371 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
8372 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8373 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
8374 * elf/dl-sym.c (do_sym): Likewise.
8375 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
8376 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
8377 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
8378 * elf/dl-writev.h (_dl_writev): Likewise.
8379 * elf/ldconfig.c (search_dir): Likewise.
8380 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
8381 (dl_main): Likewise.
8382 * elf/setup-vdso.h (setup_vdso): Likewise.
8383 * grp/compat-initgroups.c (compat_call): Likewise.
8384 * grp/fgetgrent.c (fgetgrent): Likewise.
8385 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
8386 * grp/putgrent.c (putgrent): Likewise.
8387 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8389 * hurd/hurdinit.c: Likewise.
8390 * iconvdata/8bit-gap.c (struct): Likewise.
8391 * iconvdata/ansi_x3.110.c : Likewise.
8392 * iconvdata/big5.c : Likewise.
8393 * iconvdata/big5hkscs.c : Likewise.
8394 * iconvdata/cp1255.c: Likewise.
8395 * iconvdata/cp1258.c : Likewise.
8396 * iconvdata/cp932.c : Likewise.
8397 * iconvdata/euc-cn.c: Likewise.
8398 * iconvdata/euc-jisx0213.c : Likewise.
8399 * iconvdata/euc-jp.c: Likewise.
8400 * iconvdata/euc-jp-ms.c : Likewise.
8401 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
8402 * iconvdata/gb18030.c : Likewise.
8403 * iconvdata/gbbig5.c (const): Likewise.
8404 * iconvdata/gbgbk.c: Likewise.
8405 * iconvdata/gbk.c : Likewise.
8406 * iconvdata/ibm1364.c : Likewise.
8407 * iconvdata/ibm930.c : Likewise.
8408 * iconvdata/ibm932.c: Likewise.
8409 * iconvdata/ibm933.c : Likewise.
8410 * iconvdata/ibm935.c : Likewise.
8411 * iconvdata/ibm937.c : Likewise.
8412 * iconvdata/ibm939.c : Likewise.
8413 * iconvdata/ibm943.c: Likewise.
8414 * iconvdata/iso_11548-1.c: Likewise.
8415 * iconvdata/iso-2022-cn.c : Likewise.
8416 * iconvdata/iso-2022-cn-ext.c : Likewise.
8417 * iconvdata/iso-2022-jp-3.c: Likewise.
8418 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
8419 * iconvdata/iso-2022-kr.c : Likewise.
8420 * iconvdata/iso646.c (gconv_end): Likewise.
8421 * iconvdata/iso_6937-2.c : Likewise.
8422 * iconvdata/iso_6937.c : Likewise.
8423 * iconvdata/iso8859-1.c: Likewise.
8424 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
8425 * iconvdata/shift_jisx0213.c : Likewise.
8426 * iconvdata/sjis.c : Likewise.
8427 * iconvdata/t.61.c : Likewise.
8428 * iconvdata/tcvn5712-1.c : Likewise.
8429 * iconvdata/tscii.c: Likewise.
8430 * iconvdata/uhc.c : Likewise.
8431 * iconvdata/unicode.c (gconv_end): Likewise.
8432 * iconvdata/utf-16.c (gconv_end): Likewise.
8433 * iconvdata/utf-32.c (gconv_end): Likewise.
8434 * iconvdata/utf-7.c (base64): Likewise.
8435 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8436 * iconv/gconv_close.c (__gconv_close): Likewise.
8437 * iconv/gconv_open.c (__gconv_open): Likewise.
8438 * iconv/gconv_simple.c (internal_ucs4_loop_single)
8439 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
8440 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
8441 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
8442 (ucs4le_internal_loop_single): Likewise.
8443 * iconv/iconv.c (iconv): Likewise.
8444 * iconv/iconv_close.c: Likewise.
8445 * iconv/loop.c (SINGLE): Likewise.
8446 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
8447 * include/atomic.h: Likewise.
8448 * inet/inet6_option.c (option_alloc): Likewise.
8449 * intl/bindtextdom.c (set_binding_values): Likewise.
8450 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
8451 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8452 * intl/localealias.c (read_alias_file): Likewise.
8453 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8454 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
8455 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
8456 * libio/fmemopen.c (fmemopen): Likewise.
8457 * libio/iofgets.c (_IO_fgets): Likewise.
8458 * libio/iofgets_u.c (fgets_unlocked): Likewise.
8459 * libio/iofgetws.c (fgetws): Likewise.
8460 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8461 * libio/iogetdelim.c (_IO_getdelim): Likewise.
8462 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
8463 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
8464 * locale/findlocale.c (_nl_find_locale): Likewise.
8465 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8466 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
8468 * locale/setlocale.c (setlocale): Likewise.
8469 * login/programs/pt_chown.c (main): Likewise.
8470 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
8471 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
8472 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
8473 (mmap, mmap64, mremap, munmap): Likewise.
8474 * math/e_exp2l.c: Likewise.
8475 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
8476 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
8477 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
8478 * math/s_catan.c (__catan): Likewise.
8479 * math/s_catanf.c (__catanf): Likewise.
8480 * math/s_catanh.c (__catanh): Likewise.
8481 * math/s_catanhf.c (__catanhf): Likewise.
8482 * math/s_catanhl.c (__catanhl): Likewise.
8483 * math/s_catanl.c (__catanl): Likewise.
8484 * math/s_ccosh.c (__ccosh): Likewise.
8485 * math/s_ccoshf.c (__ccoshf): Likewise.
8486 * math/s_ccoshl.c (__ccoshl): Likewise.
8487 * math/s_cexp.c (__cexp): Likewise.
8488 * math/s_cexpf.c (__cexpf): Likewise.
8489 * math/s_cexpl.c (__cexpl): Likewise.
8490 * math/s_clog10.c (__clog10): Likewise.
8491 * math/s_clog10f.c (__clog10f): Likewise.
8492 * math/s_clog10l.c (__clog10l): Likewise.
8493 * math/s_clog.c (__clog): Likewise.
8494 * math/s_clogf.c (__clogf): Likewise.
8495 * math/s_clogl.c (__clogl): Likewise.
8496 * math/s_csin.c (__csin): Likewise.
8497 * math/s_csinf.c (__csinf): Likewise.
8498 * math/s_csinh.c (__csinh): Likewise.
8499 * math/s_csinhf.c (__csinhf): Likewise.
8500 * math/s_csinhl.c (__csinhl): Likewise.
8501 * math/s_csinl.c (__csinl): Likewise.
8502 * math/s_csqrt.c (__csqrt): Likewise.
8503 * math/s_csqrtf.c (__csqrtf): Likewise.
8504 * math/s_csqrtl.c (__csqrtl): Likewise.
8505 * math/s_ctan.c (__ctan): Likewise.
8506 * math/s_ctanf.c (__ctanf): Likewise.
8507 * math/s_ctanh.c (__ctanh): Likewise.
8508 * math/s_ctanhf.c (__ctanhf): Likewise.
8509 * math/s_ctanhl.c (__ctanhl): Likewise.
8510 * math/s_ctanl.c (__ctanl): Likewise.
8511 * math/w_pow.c: Likewise.
8512 * math/w_powf.c: Likewise.
8513 * math/w_powl.c: Likewise.
8514 * math/w_scalb.c (sysv_scalb): Likewise.
8515 * math/w_scalbf.c (sysv_scalbf): Likewise.
8516 * math/w_scalbl.c (sysv_scalbl): Likewise.
8517 * misc/error.c (error_tail): Likewise.
8518 * misc/pselect.c (__pselect): Likewise.
8519 * nis/nis_callback.c (__nis_create_callback): Likewise.
8520 * nis/nis_call.c (__nisfind_server): Likewise.
8521 * nis/nis_creategroup.c (nis_creategroup): Likewise.
8522 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
8523 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
8524 * nis/nis_getservlist.c (nis_getservlist): Likewise.
8525 * nis/nis_lookup.c (nis_lookup): Likewise.
8526 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
8527 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
8528 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
8529 * nis/nis_xdr.c (xdr_endpoint): Likewise.
8530 * nis/nss_compat/compat-grp.c (getgrent_next_file)
8531 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
8532 * nis/nss_compat/compat-initgroups.c (add_group)
8533 (internal_getgrent_r): Likewise.
8534 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
8535 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
8536 * nis/nss_compat/compat-spwd.c (getspent_next_file)
8537 (internal_getspnam_r): Likewise.
8538 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
8539 (_nss_nis_getaliasbyname_r): Likewise.
8540 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
8541 (_nss_nis_getntohost_r): Likewise.
8542 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
8543 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
8544 (_nss_nis_getgrgid_r): Likewise.
8545 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
8546 (internal_nis_gethostent_r, internal_gethostbyname2_r)
8547 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
8548 (_nss_nis_gethostbyname4_r): Likewise.
8549 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
8550 (initgroups_netid): Likewise.
8551 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
8552 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
8553 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
8554 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
8555 (_nss_nis_getprotobynumber_r): Likewise.
8556 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
8557 (_nss_nis_getsecretkey): Likewise.
8558 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
8559 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
8560 (_nss_nis_getpwuid_r): Likewise.
8561 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
8562 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
8563 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
8564 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
8565 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
8566 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
8567 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
8569 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
8570 (_nss_nisplus_getntohost_r): Likewise.
8571 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
8572 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
8573 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
8574 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
8576 * nis/nss_nisplus/nisplus-initgroups.c
8577 (_nss_nisplus_initgroups_dyn): Likewise.
8578 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
8579 (_nss_nisplus_getnetbyaddr_r): Likewise.
8580 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
8581 (_nss_nisplus_getprotobynumber_r): Likewise.
8582 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
8583 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
8584 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
8586 * nis/nss_nisplus/nisplus-service.c
8587 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
8588 (_nss_nisplus_getservbyport_r): Likewise.
8589 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
8590 (_nss_nisplus_getspnam_r): Likewise.
8591 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
8593 * nscd/aicache.c (addhstaiX): Likewise.
8594 * nscd/cache.c (cache_search, prune_cache): Likewise.
8595 * nscd/connections.c (register_traced_file, send_ro_fd)
8596 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
8597 (main_loop_epoll): Likewise.
8598 * nscd/grpcache.c (addgrbyX): Likewise.
8599 * nscd/hstcache.c (addhstbyX): Likewise.
8600 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8601 * nscd/mem.c (gc, mempool_alloc): Likewise.
8602 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
8603 (addinnetgrX): Likewise.
8604 * nscd/nscd-client.h (__nscd_acquire_maplock)
8605 (__nscd_drop_map_ref): Likewise.
8606 * nscd/nscd_getai.c (__nscd_getai): Likewise.
8607 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8608 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
8610 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
8611 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8612 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
8613 (__nscd_get_map_ref): Likewise.
8614 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
8615 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
8617 * nscd/pwdcache.c (addpwbyX): Likewise.
8618 * nscd/selinux.c (preserve_capabilities): Likewise.
8619 * nscd/servicescache.c (addservbyX): Likewise.
8620 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
8621 * posix/fnmatch.c (fnmatch): Likewise.
8622 * posix/getopt.c (_getopt_internal_r): Likewise.
8623 * posix/glob.c (glob, glob_in_dir): Likewise.
8624 * posix/wordexp.c (exec_comm_child): Likewise.
8625 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
8626 (getanswer_r, gaih_getanswer_slice): Likewise.
8627 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
8628 * resolv/res_init.c: Likewise.
8629 * resolv/res_mkquery.c (res_nmkquery): Likewise.
8630 * resolv/res_query.c (__libc_res_nquery): Likewise.
8631 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
8633 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
8634 * stdio-common/perror.c (perror): Likewise.
8635 * stdio-common/printf_fp.c (___printf_fp): Likewise.
8636 * stdio-common/tmpnam.c (tmpnam): Likewise.
8637 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8638 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
8639 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8641 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8642 * stdlib/putenv.c (putenv): Likewise.
8643 * stdlib/setenv.c (__add_to_environ): Likewise.
8644 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8645 * stdlib/strtol_l.c (INTERNAL): Likewise.
8646 * string/memmem.c (memmem): Likewise.
8647 * string/strerror.c (strerror): Likewise.
8648 * string/strnlen.c (__strnlen): Likewise.
8649 * string/test-memmem.c (simple_memmem): Likewise.
8650 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
8651 * sunrpc/pm_getport.c (__get_socket): Likewise.
8652 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
8653 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8654 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
8655 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
8657 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8658 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8659 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
8660 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
8661 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
8662 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
8664 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
8666 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
8667 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8668 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8669 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8670 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8671 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
8672 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8673 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
8674 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
8675 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8676 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8677 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
8679 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
8681 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
8683 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
8684 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8685 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
8686 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
8687 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8688 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
8689 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8690 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
8691 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
8692 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
8693 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
8694 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8695 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8696 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
8697 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8698 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8700 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
8702 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
8704 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
8706 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8707 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8708 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
8710 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
8711 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
8712 * sysdeps/posix/opendir.c (__opendirat): Likewise.
8713 * sysdeps/posix/sleep.c: Likewise.
8714 * sysdeps/posix/tempname.c: Likewise.
8715 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
8716 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8718 * sysdeps/powerpc/powerpc32/dl-machine.h
8719 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
8720 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8721 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8722 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
8723 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
8725 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
8726 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
8727 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8728 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
8729 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8730 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
8731 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
8732 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
8733 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8734 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
8735 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
8736 (elf_machine_lazy_rel): Likewise.
8737 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8738 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
8739 (elf_machine_lazy_rel): Likewise.
8740 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
8741 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
8742 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
8743 * sysdeps/unix/grantpt.c (grantpt): Likewise.
8744 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
8745 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
8746 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
8747 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8749 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8750 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8751 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
8752 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
8753 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8754 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8755 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
8756 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
8757 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
8758 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8759 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8761 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
8762 (__posix_fallocate64_l64): Likewise.
8763 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
8764 (posix_fallocate): Likewise.
8765 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8767 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8768 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
8769 (getifaddrs_internal): Likewise.
8770 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
8771 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
8772 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8773 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8774 * sysdeps/unix/sysv/linux/posix_fallocate64.c
8775 (__posix_fallocate64_l64): Likewise.
8776 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8778 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
8779 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8780 (__get_clockfreq): Likewise.
8781 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
8782 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
8783 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
8784 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8785 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8786 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
8787 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8788 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
8790 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
8791 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
8792 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8793 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
8794 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8795 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
8796 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
8798 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8799 (posix_fallocate): Likewise.
8800 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8801 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8802 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
8803 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
8804 (elf_machine_rela, elf_machine_rela_relative)
8805 (elf_machine_lazy_rel): Likewise.
8806 * time/asctime.c (asctime_internal): Likewise.
8807 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
8808 * time/tzset.c (__tzset_parse_tz): Likewise.
8809 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8810 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8811 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
8812 * wcsmbs/wcsmbsload.h: Likewise.
8815 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
8817 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
8818 (arena_get2): Remove THREAD_STATS conditionals.
8819 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
8820 (__malloc_stats, int): Likewise.
8822 2014-02-08 Mike Frysinger <vapier@gentoo.org>
8824 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
8825 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
8827 * manual/setjmp.texi: Fix typos/grammar errors.
8829 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
8830 Only return early when n is <= 0. Delete unused return statement.
8832 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
8833 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
8834 * debug/tst-longjmp_chk3.c: New file.
8836 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
8837 (test_main): Replace code with set_fortify_handler call.
8838 * debug/test-strcpy_chk.c: Likewise.
8839 * debug/tst-chk1.c: Likewise.
8840 * debug/tst-longjmp_chk.c: Likewise.
8841 * test-skeleton.c: Include fcntl.h & paths.h
8842 (set_fortify_handler): Define.
8844 * debug/tst-longjmp_chk.c: Add header comment and include
8846 (do_test): Mark static.
8847 (TEST_FUNCTION): Define.
8849 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
8850 (IP_PMTUDISC_INTERFACE): Likewise.
8851 (IP_MULTICAST_IF): Likewise.
8852 (IP_MULTICAST_TTL): Likewise.
8853 (IP_MULTICAST_LOOP): Likewise.
8854 (IP_ADD_MEMBERSHIP): Likewise.
8855 (IP_DROP_MEMBERSHIP): Likewise.
8856 (IP_UNBLOCK_SOURCE): Likewise.
8857 (IP_BLOCK_SOURCE): Likewise.
8858 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
8859 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
8860 (IP_MSFILTER): Likewise.
8861 (MCAST_JOIN_GROUP): Likewise.
8862 (MCAST_BLOCK_SOURCE): Likewise.
8863 (MCAST_UNBLOCK_SOURCE): Likewise.
8864 (MCAST_LEAVE_GROUP): Likewise.
8865 (MCAST_JOIN_SOURCE_GROUP): Likewise.
8866 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8867 (MCAST_MSFILTER): Likewise.
8868 (IP_MULTICAST_ALL): Likewise.
8869 (IP_UNICAST_IF): Likewise.
8871 * timezone/Makefile: Delete $(have-ksh) check.
8872 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
8873 * timezone/tzselect.ksh: Add +x mode bits.
8875 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
8876 (ANON_INODE_FS_MAGIC): Likewise.
8877 (BDEVFS_MAGIC): Likewise.
8878 (BINFMTFS_MAGIC): Likewise.
8879 (BTRFS_TEST_MAGIC): Likewise.
8880 (CRAMFS_MAGIC_WEND): Likewise.
8881 (DEBUGFS_MAGIC): Likewise.
8882 (ECRYPTFS_SUPER_MAGIC): Likewise.
8883 (EXT3_SUPER_MAGIC): Likewise.
8884 (EXT4_SUPER_MAGIC): Likewise.
8885 (FUTEXFS_SUPER_MAGIC): Likewise.
8886 (HOSTFS_SUPER_MAGIC): Likewise.
8887 (HUGETLBFS_MAGIC): Likewise.
8888 (MINIX3_SUPER_MAGIC): Likewise.
8889 (MTD_INODE_FS_MAGIC): Likewise.
8890 (NILFS_SUPER_MAGIC): Likewise.
8891 (OPENPROM_SUPER_MAGIC): Likewise.
8892 (PIPEFS_MAGIC): Likewise.
8893 (PSTOREFS_MAGIC): Likewise.
8894 (QNX6_SUPER_MAGIC): Likewise.
8895 (RAMFS_MAGIC): Likewise.
8896 (REISERFS_SUPER_MAGIC_STRING): Likewise.
8897 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
8898 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
8899 (SECURITYFS_MAGIC): Likewise.
8900 (SELINUX_MAGIC): Likewise.
8901 (SMACK_MAGIC): Likewise.
8902 (SOCKFS_MAGIC): Likewise.
8903 (SQUASHFS_MAGIC): Likewise.
8904 (STACK_END_MAGIC): Likewise.
8905 (TMPFS_MAGIC): Likewise.
8906 (USBDEVICE_SUPER_MAGIC): Likewise.
8907 (V9FS_MAGIC): Likewise.
8908 (XENFS_SUPER_MAGIC): Likewise.
8909 (CRAMFS_MAGIC): Fix typo in comment.
8910 (EXT2_SUPER_MAGIC): Update comment.
8911 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
8913 2014-02-08 Joseph Myers <joseph@codesourcery.com>
8915 * sysdeps/arm: Move directory from ports/sysdeps/arm.
8916 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
8917 * sysdeps/unix/sysv/linux/arm: Move directory from
8918 ports/sysdeps/unix/sysv/linux/arm.
8919 * README: Update listing for arm-*-linux-gnueabi.
8921 * README: Remove mention of am33.
8923 2014-02-07 Roland McGrath <roland@hack.frob.com>
8925 * bits/sigset.h (__sigemptyset): Use a statement expression rather
8926 than the comma operator, to avoid "rhs of comma has no effect"
8928 (__sigfillset, __sigandset, __sigorset): Likewise.
8929 * include/signal.h (__sigemptyset): Likewise.
8930 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
8932 2014-02-07 Allan McRae <allan@archlinux.org>
8934 * version.h (RELEASE): Set to "development".
8935 (VERSION): Set to "2.19.90"
8936 * NEWS: Add 2.20 section.
8938 2014-02-06 Carlos O'Donell <carlos@redhat.com>
8941 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
8943 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8945 * manual/contrib.texi: Update entry for Carlos O'Donell,
8946 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
8948 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
8950 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
8952 * sysdeps/unix/sysv/linux/kernel-features.h
8953 [__LINUX_KERNEL_VERSION >= 0x020621]
8954 (__ASSUME_PROC_PID_TASK_COMM): Define.
8956 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8959 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
8960 conversion when destination buffer does not have enough space.
8961 * libio/tst-ftell-partial-wide.c: New test case.
8962 * libio/Makefile (tests): Add tst-ftell-partial-wide.
8964 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
8965 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
8966 Leonard and Allan McRae.
8968 2014-02-04 David S. Miller <davem@davemloft.net>
8970 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
8973 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9002 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9004 * nptl/shlib-versions: Change powerpc*le start to 2.17.
9005 * shlib-versions: Likewise.
9007 2014-02-04 Roland McGrath <roland@hack.frob.com>
9008 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9010 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9011 (abilist-pattern): New variable, set to %-le.abilist.
9013 * Makerules (abilist-pattern): New variable.
9014 (vpath): Use $(abilist-pattern) in place of %.abilist.
9015 (check-abi-% pattern rule): Likewise.
9016 (check-abi, update-abi): Likewise.
9018 2014-02-04 Eric Wong <normalperson@yhbt.net>
9020 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9022 2014-02-03 Carlos O'Donell <carlos@redhat.com>
9024 * manual/startup.texi: Add next, previous, and top entries for
9025 the `Program Arguments' and `Environment Variables' nodes.
9027 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
9029 * manual/macros.texi: Add comments before MTASC-safety macros.
9031 * manual/users.texi: Document MTASC-safety properties.
9033 * manual/threads.texi (pthread_key_create, pthread_key_delete)
9034 (pthread_getspecific, pthread_setspecific): Format with
9035 @deftypefun, and add @safety note.
9036 * manual/signal.texi: Move comments that analyze the above
9037 functions to their home place.
9039 2014-02-03 Allan McRae <allan@archlinux.org>
9041 * po/sl.po: Update Slovenian translation from translation project.
9043 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
9045 * manual/time.texi (timegm): Add missing blank after @c.
9046 Reported by Joseph Myers <joseph@codesourcery.com>.
9048 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
9050 * manual/check-safety.sh: New.
9051 * manual/Makefile ($(objpfx)stamp-summary): Run it.
9053 * manual/terminal.texi: Document MTASC-safety properties.
9055 * manual/filesys.texi: Document MTASC-safety properties.
9057 * manual/errno.texi: Document MTASC-safety properties.
9059 * manual/intro.texi: Document safety identifiers and
9062 * manual/string.texi (wcstok): Fix prototype.
9063 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9065 * manual/time.texi: Document MTASC-safety properties.
9067 * manual/string.texi: Document MTASC-safety properties.
9069 * manual/threads.texi: Document MTASC-safety properties.
9071 * manual/stdio.texi: Document MTASC-safety properties.
9073 * manual/syslog.texi: Document MTASC-safety properties.
9075 * manual/sysinfo.texi: Document MTASC-safety properties.
9077 * manual/startup.texi: Document MTASC-safety properties.
9079 * manual/socket.texi: Document MTASC-safety properties.
9081 * manual/signal.texi: Document MTASC-safety properties.
9083 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
9085 * manual/setjmp.texi: Document MTASC-safety properties.
9087 * manual/search.texi: Document MTASC-safety properties.
9089 * manual/resource.texi: Document MTASC-safety properties.
9091 * manual/process.texi: Document MTASC-safety properties.
9093 * manual/platform.texi: Document MTASC-safety properties.
9095 * manual/pipe.texi: Document MTASC-safety properties.
9097 * manual/pattern.texi: Document MTASC-safety properties.
9099 * manual/message.texi: Document MTASC-safety properties.
9102 * manual/memory.texi: Document MTASC-safety properties.
9104 * manual/math.texi: Document MTASC-safety properties.
9106 * manual/locale.texi: Document MTASC-safety properties.
9108 * manual/llio.texi: Document MTASC-safety properties.
9110 * manual/libdl.texi: New.
9112 * manual/lang.texi: Document MTASC-safety properties.
9114 * manual/job.texi: Document MTASC-safety properties.
9116 * manual/getopt.texi: Document MTASC-safety properties.
9118 * manual/ctype.texi: Document MTASC-safety properties.
9120 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
9123 * csu/libc-tls.c (static_map): Remove variable.
9124 (__libc_setup_tls): Use main executable's link map for TLS data.
9125 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
9126 casing for LM_ID_BASE and GL(dl_nns).
9127 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
9128 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
9129 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
9130 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
9131 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
9133 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
9136 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
9138 * manual/debug.texi: Document MTASC-safety properties.
9140 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
9143 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
9144 of __x86_64__ when disabling x87 inline functions.
9146 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
9148 * manual/charset.texi: Document MTASC-safety properties.
9150 * manual/crypt.texi: Document MTASC-safety properties.
9152 * manual/conf.texi: Document MTASC-safety properties.
9154 * manual/arith.texi: Document MTASC-safety properties.
9156 * manual/argp.texi: Document MTASC-safety properties.
9158 * manual/macros.texi: Introduce macros to document multi
9159 thread, asynchronous signal and asynchronous cancellation
9161 * manual/intro.texi: Introduce the properties themselves.
9163 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9165 * sysdeps/sh/sh4/Makefile: New file.
9167 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
9169 * math/gen-libm-test.pl ($srcdir): New variable.
9170 ($auto_input): Use it.
9172 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9175 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
9176 access beyond array bounds when parsing netgroups file.
9178 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
9179 the old buffer before realloc.
9181 2014-01-27 Allan McRae <allan@archlinux.org>
9183 * po/fr.po: Update French translation from translation project.
9185 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9187 * sysdeps/sh/libm-test-ulps: Regenerate.
9189 2014-01-24 David S. Miller <davem@davemloft.net>
9191 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
9193 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9195 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
9196 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
9198 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9201 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
9202 string pointers after reallocation.
9204 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9206 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
9207 __SH4A__ instead of __SH_FPU_ANY__.
9209 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9211 * sysdeps/sh/fpu_control.h: New file.
9212 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
9213 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
9214 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
9215 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
9216 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
9217 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
9218 * sysdeps/sh/sys/ucontext.h: Remove.
9219 * sysdeps/sh/sys: Remove directory.
9221 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9223 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
9224 s390/sys/ucontext.h.
9225 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
9226 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
9228 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
9231 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
9233 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9236 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9237 Adjust the vDSO correctly for internal calls.
9238 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9240 2014-01-20 Allan McRae <allan@archlinux.org>
9242 * po/ca.po: Update Catalan translation from translation project.
9244 2014-01-16 Mike Frysinger <vapier@gentoo.org>
9246 * sysdeps/s390/sotruss-lib.c: New file.
9248 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9251 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
9252 (__GI___gettimeofday): Alias for a different internal symbol to avoid
9253 local calls issues by not having a PLT stub required for IFUNC calls.
9254 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
9256 2014-01-16 Joseph Myers <joseph@codesourcery.com>
9258 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
9259 * math/test-fpucw-static.c: Likewise.
9261 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9264 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
9266 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9268 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
9269 implementation for powerpc.
9271 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
9274 * sysdeps/posix/system.c (__libc_system): Do not enable
9275 asynchronous cancellation.
9277 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9280 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
9281 handling only for numbers special also in the IEEE case.
9283 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9285 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9287 2014-01-11 Allan McRae <allan@archlinux.org>
9289 * po/bg.po: Update Bulgarian translation from translation project.
9291 * po/de.po: Update German translation from translation project.
9293 2014-01-10 Roland McGrath <roland@hack.frob.com>
9295 * sysdeps/generic/gcc-compat.h: New file.
9297 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9299 * benchtests/asin-inputs: Correct slow inputs.
9300 * benchtests/acos-inputs: Likewise.
9302 2014-01-10 Allan McRae <allan@archlinux.org>
9304 * po:sv.po: Update Swedish translation from translation project.
9306 * po/vi.po: Update Vietnamese translation from translation project.
9308 * po/eo.po: Update Esperanto translation from translation project.
9310 * po/cs.po: Update Czech translation from translation project.
9312 * po/nl.po: Update Dutch translation from translation project.
9314 * po/pl.po: Update Polish translation from translation project.
9316 * po/ru.po: Update Russian translation from translation project.
9318 * po/uk.po: Update Ukrainian translation from translation project.
9320 2014-01-08 Brooks Moses <bmoses@google.com>
9322 * elf/dl-load.c: Fix comment typo.
9324 2014-01-08 Carlos O'Donell <carlos@redhat.com>
9326 * po/header.pot: Rename to...
9327 * po/pot.header: ... this.
9328 * po/Makefile: Use pot.header.
9330 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
9331 Maxim Kuvyrkov <maxim@kugelworks.com>
9334 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
9335 SRC and DEST against LEN.
9337 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9340 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
9342 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
9344 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9348 2014-01-08 Joseph Myers <joseph@codesourcery.com>
9351 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
9352 for large positive arguments.
9354 2014-01-07 Joseph Myers <joseph@codesourcery.com>
9356 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9358 * math/auto-libm-test-in: Mark various tests with
9359 xfail-rounding:ldbl-128ibm.
9360 * math/auto-libm-test-out: Regenerated.
9363 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9364 Increase overflow threshold.
9366 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
9369 * stdio-common/vfprintf.c: Check for integer overflow.
9371 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9373 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
9374 the first argument and return value of __tls_get_addr_internal.
9376 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9378 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9379 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
9381 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9383 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
9384 * sysdeps/s390/rtld-global-offsets.sym: New file.
9385 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
9387 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
9388 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
9389 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9391 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
9392 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9396 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9398 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
9399 halfs of GPRs for high_gprs contexts.
9400 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
9401 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
9403 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
9405 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
9407 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
9408 for high GPRs (uc_high_gprs) and for future extensions
9410 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
9411 for future extensions (__reserved).
9412 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
9414 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
9415 SC_HIGHGPRS offset definition.
9416 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
9417 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
9419 * Versions.def: Add GLIBC_2.19 for libpthread.
9420 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
9421 siglongjmp for libpthread with GLIBC_2.19 symver.
9422 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
9423 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
9424 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
9425 * sysdeps/s390/__longjmp.c: New file.
9426 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
9427 * sysdeps/s390/longjmp.c: New file.
9428 * sysdeps/s390/setjmp.S: New file.
9429 * sysdeps/s390/sigjmp.S: New file.
9430 * sysdeps/s390/v1-longjmp.c: New file.
9431 * sysdeps/s390/v1-setjmp.h: New file.
9432 * sysdeps/s390/v1-sigjmp.c: New file.
9433 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
9434 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
9436 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
9437 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
9438 versioned symbols for ____longjmp_chk.
9439 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9443 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9445 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9447 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9449 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
9450 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
9451 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
9452 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
9453 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
9454 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
9455 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
9456 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
9457 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
9458 * sysdeps/s390/rtld-__longjmp.c: New file.
9459 * sysdeps/s390/rtld-setjmp.S: New file.
9461 2014-01-06 Joseph Myers <joseph@codesourcery.com>
9464 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9465 Return -__logl (x) for small positive arguments without evaluating
9468 2014-01-06 Mike Frysinger <vapier@gentoo.org>
9470 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
9472 (__ptrace_peeksiginfo_args): ... this.
9473 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9474 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9475 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9477 2014-01-06 Allan McRae <allan@archlinux.org>
9479 * inet/netinet/in.h: Fix typo in comment.
9481 2014-01-05 Andreas Jaeger <aj@suse.de>
9483 * sysdeps/i386/fpu/libm-test-ulps: Update.
9485 2014-01-05 Allan McRae <allan@archlinux.org>
9487 * po/libc.pot: Regenerated.
9489 * malloc/memusagestat.c: Fix gettext call formatting.
9491 2014-01-04 Sami Kerola <kerolasa@iki.fi>
9493 * nscd/nscd.c: Improve usage() output.
9495 2014-01-04 Mike Frysinger <vapier@gentoo.org>
9497 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
9498 * sysdeps/unix/sysv/linux/configure: Regenerated.
9499 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
9500 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
9502 2014-01-03 Joseph Myers <joseph@codesourcery.com>
9505 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9506 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
9508 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9510 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
9511 extra tokens at end of #undef directive.
9512 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
9513 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
9514 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9516 2014-01-03 Joseph Myers <joseph@codesourcery.com>
9518 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9520 * math/auto-libm-test-in: Mark various tests with
9521 xfail-rounding:ldbl-128ibm.
9522 * math/auto-libm-test-out: Regenerated.
9524 2014-01-02 Joseph Myers <joseph@codesourcery.com>
9527 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
9528 numbers with subnormal high part when calculating exponent.
9531 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
9535 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
9537 (__ieee754_acoshl): Use __log1pl not __log1p.
9539 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
9541 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
9542 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
9543 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
9544 (grow_heap, heap_trim, _int_new_arena, get_free_list)
9545 (reused_arena, arena_get2): Convert to GNU style.
9546 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
9547 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
9548 (memalign_check, __malloc_set_state): Likewise.
9549 * malloc/mallocbug.c (main): Likewise.
9550 * malloc/malloc.c (__malloc_assert, malloc_init_state)
9551 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
9552 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
9553 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
9554 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
9555 (__posix_memalign, malloc_info): Likewise.
9556 * malloc/malloc.h: Likewise.
9557 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
9558 (mallochook, memalignhook, reallochook, mabort): Likewise.
9559 * malloc/mcheck.h: Likewise.
9560 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
9561 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
9562 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
9563 * malloc/morecore.c (__default_morecore): Likewise.
9564 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
9565 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
9566 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
9567 (print_and_abort): Likewise.
9568 * malloc/obstack.h: Likewise.
9569 * malloc/set-freeres.c (__libc_freeres): Likewise.
9570 * malloc/tst-mallocstate.c (main): Likewise.
9571 * malloc/tst-mtrace.c (main): Likewise.
9572 * malloc/tst-realloc.c (do_test): Likewise.
9574 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9577 * nscd/netgroupcache.c (do_notfound): New function.
9578 (addgetnetgrentX): Use it.
9581 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
9582 NSS_STATUS_NOTFOUND.
9584 2014-01-01 Joseph Myers <joseph@codesourcery.com>
9586 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9589 2014-01-01 Allan McRae <allan@archlinux.org>
9591 * scripts/update-copyrights: Update configure input file suffix.
9593 * NEWS: Update copyright year.
9594 * catgets/gencat.c: Likewise.
9595 * csu/version.c: Likewise.
9596 * debug/catchsegv.sh: Likewise.
9597 * debug/pcprofiledump.c: Likewise.
9598 * debug/xtrace.sh: Likewise.
9599 * elf/ldconfig.c: Likewise.
9600 * elf/ldd.bash.in: Likewise.
9601 * elf/pldd.c: Likewise.
9602 * elf/sotruss.ksh: Likewise.
9603 * elf/sprof.c: Likewise.
9604 * iconv/iconv_prog.c: Likewise.
9605 * iconv/iconvconfig.c: Likewise.
9606 * locale/programs/locale.c: Likewise.
9607 * locale/programs/localedef.c: Likewise.
9608 * login/programs/pt_chown.c: Likewise.
9609 * malloc/memusage.sh: Likewise.
9610 * malloc/memusagestat.c: Likewise.
9611 * malloc/mtrace.pl: Likewise.
9612 * manual/libc.texinfo: Likewise.
9613 * nscd/nscd.c: Likewise.
9614 * nss/getent.c: Likewise.
9615 * nss/makedb.c: Likewise.
9616 * posix/getconf.c: Likewise.
9617 * scripts/test-installation.pl: Likewise.
9619 * All files with FSF copyright notices: Update copyright dates
9620 using scripts/update-copyrights.
9621 * intl/plural.c: Regenerated.
9622 * locale/programs/charmap-kw.h: Likewise.
9623 * locale/programs/locfile-kw.h: Likewise.
9625 2013-12-31 Mike Frysinger <vapier@gentoo.org>
9627 * sysdeps/unix/sysv/linux/configure: Regenerated.
9628 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
9629 the linux/fanotify.h header.
9630 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
9631 HAVE_LINUX_FANOTIFY_H is defined.
9633 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9635 * benchtests/cos-inputs: New inputs.
9636 * benchtests/sin-inputs: Likewise.
9638 * benchtests/atan-inputs: New inputs. Fix name of multiple
9639 precision fallback inputs.
9641 * benchtests/atanh-inputs: New inputs.
9642 * benchtests/tanh-inputs: Likewise.
9644 * benchtests/acosh-inputs: New inputs.
9645 * benchtests/asinh-inputs: Likewise.
9647 * benchtests/cosh-inputs: New inputs.
9648 * benchtests/sinh-inputs: Likewise.
9650 * benchtests/acos-inputs: Add more inputs.
9651 * benchtests/asin-inputs: Likewise.
9653 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
9656 * manual/arith.texi: Fix spelling.
9657 * manual/charset.texi: Likewise.
9658 * manual/errno.texi: Likewise.
9659 * manual/filesys.texi: Likewise.
9660 * manual/lang.texi: Likewise.
9661 * manual/llio.texi: Likewise.
9662 * manual/locale.texi: Likewise.
9663 * manual/message.texi: Likewise.
9664 * manual/resource.texi: Likewise.
9665 * manual/search.texi: Likewise.
9666 * manual/setjmp.texi: Likewise.
9667 * manual/stdio.texi: Likewise.
9668 * manual/string.texi: Likewise.
9669 * manual/sysinfo.texi: Likewise.
9670 * manual/time.texi: Likewise.
9672 2013-12-27 Carlos O'Donell <carlos@redhat.com>
9674 * po/sl.po: New file.
9676 2013-12-27 Mike Frysinger <vapier@gentoo.org>
9678 * .gitignore: Add core/.gdbinit/.gdb_history.
9680 2013-12-27 Allan McRae <allan@archlinux.org>
9683 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
9684 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
9686 2013-12-24 Brooks Moses <bmoses@google.com>
9688 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
9689 all compilers that claim C++98 compliance, not just GCC.
9690 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
9693 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9695 * NEWS: Restore accidentally deleted bug-fix entries.
9697 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9698 Ondřej Bílka <neleai@seznam.cz>
9701 * malloc/malloc.c (_int_free): Perform sanity check only if we
9704 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
9707 * manual/stdio.texi (String Input Conversions): Clarify that character
9708 classes are not supported.
9710 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9712 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9714 2013-12-22 Joseph Myers <joseph@codesourcery.com>
9717 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9718 Calculate results for small negative arguments directly rather
9719 than using reflection formula with special underflow handling.
9721 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
9722 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
9723 sysdeps/unix/bsd/bsd4.4/syscalls.list.
9724 (fchflags): Likewise.
9726 (setlogin): Likewise.
9727 (sigaltstack): Likewise.
9730 (sigsetmask): Likewise.
9732 (waitpid): Likewise.
9733 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
9734 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
9736 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
9737 * sysdeps/unix/bsd/Makefile: ... here.
9738 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
9739 * sysdeps/unix/bsd/Versions: ... here.
9740 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
9741 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
9742 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
9743 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
9744 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
9745 * sysdeps/unix/bsd/sigblock.c: ... here.
9746 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
9747 * sysdeps/unix/bsd/sigsetmask.c: ... here.
9748 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
9749 * sysdeps/unix/bsd/sigvec.c: ... here.
9750 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
9751 * sysdeps/unix/bsd/tcdrain.c: ... here.
9752 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
9753 * sysdeps/unix/bsd/tcgetattr.c: ... here.
9754 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
9755 * sysdeps/unix/bsd/tcsetattr.c: ... here.
9756 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
9757 * sysdeps/unix/bsd/wait.c: ... here.
9758 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
9759 * sysdeps/unix/bsd/wait3.c: ... here.
9760 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
9761 * sysdeps/unix/bsd/waitpid.c: ... here.
9763 2013-12-21 Joseph Myers <joseph@codesourcery.com>
9766 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
9767 round-to-nearest for [!USE_AS_EXPM1L].
9768 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9769 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
9770 more tests of exp and exp10. Expect some exp10 tests to miss
9771 exceptions or fail in directed rounding modes.
9772 * math/auto-libm-test-out: Regenerated.
9773 * math/libm-test.inc (exp10_tonearest_test_data): New array.
9774 (exp10_test_tonearest): New function.
9775 (exp10_towardzero_test_data): New array.
9776 (exp10_test_towardzero): New function.
9777 (exp10_downward_test_data): New array.
9778 (exp10_test_downward): New function.
9779 (exp10_upward_test_data): New array.
9780 (exp10_test_upward): New function.
9781 (main): Call the new functions.
9782 * sysdeps/i386/fpu/libm-test-ulps: Update.
9783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9785 2013-12-20 Joseph Myers <joseph@codesourcery.com>
9787 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9788 asinh, atan, atan2, atanh, cbrt, cos and cosh.
9789 * math/auto-libm-test-out: Regenerated.
9790 * math/libm-test.inc (acosh_test_data): Add more tests.
9791 (atanh_test_data): Likewise.
9792 (ceil_test_data): Likewise.
9793 (copysign_test_data): Likewise.
9794 * sysdeps/i386/fpu/libm-test-ulps: Update.
9795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9797 * timezone/checktab.awk: Update from tzcode 2013i.
9798 * timezone/private.h: Likewise.
9799 * timezone/scheck.c: Likewise.
9800 * timezone/tzfile.h: Likewise.
9801 * timezone/tzselect.ksh: Likewise.
9802 * timezone/zdump.c: Likewise.
9803 * timezone/zic.c: Likewise.
9805 * math/auto-libm-test-in: Add tests of cpow.
9806 * math/auto-libm-test-out: Regenerated.
9807 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
9808 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9810 (func_calc_desc): Add mpc_cc_c union field.
9811 (test_functions): Add cpow.
9812 (special_fill_2pi): New function.
9813 (special_real_inputs): Add 2pi.
9814 (calc_generic_results): Handle mpc_cc_c.
9815 * sysdeps/i386/fpu/libm-test-ulps: Update.
9816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9818 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
9819 csqrt, ctan and ctanh.
9820 * math/auto-libm-test-out: Regenerated.
9821 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9822 (TEST_COND_x86): Likewise.
9823 (ccos_test_data): Use AUTO_TESTS_c_c.
9824 (ccosh_test_data): Likewise.
9825 (cexp_test_data): Likewise.
9826 (clog_test_data): Likewise.
9827 (csqrt_test_data): Likewise.
9828 (ctan_test_data): Likewise.
9829 (ctan_tonearest_test_data): Likewise.
9830 (ctan_towardzero_test_data): Likewise.
9831 (ctan_downward_test_data): Likewise.
9832 (ctan_upward_test_data): Likewise.
9833 (ctanh_test_data): Likewise.
9834 (ctanh_tonearest_test_data): Likewise.
9835 (ctanh_towardzero_test_data): Likewise.
9836 (ctanh_downward_test_data): Likewise.
9837 (ctanh_upward_test_data): Likewise.
9838 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9840 (func_calc_desc): Add mpc_c_c union field.
9841 (FUNC_mpc_c_c): New macro.
9842 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
9843 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
9845 (special_fill_min_subnorm_p120): New function.
9846 (special_real_inputs): Add min_subnorm_p120.
9847 (calc_generic_results): Handle mpc_c_c.
9848 * sysdeps/i386/fpu/libm-test-ulps: Update.
9849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9851 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9853 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
9854 (do_sin_slow): New functions.
9855 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
9856 (cslow2, csloww1, csloww2): Use the new functions.
9858 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
9859 Use M to change sign of result instead of X. Assume X is
9861 (csloww1): Likewise.
9865 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
9870 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
9872 (sloww1): Don't adjust sign of DX.
9873 (csloww1): Likewise.
9874 (sloww2): Use X directly and don't adjust sign of DX.
9875 (csloww2): Likewise.
9877 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9879 * math/auto-libm-test-in: Add tests of cabs and carg.
9880 * math/auto-libm-test-out: Regenerated.
9881 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
9882 (carg_test_data): Likewise.
9883 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9885 (func_calc_desc): Add mpc_c_f union field.
9886 (test_functions): Add cabs and carg.
9887 (calc_generic_results): Handle mpc_c_f.
9889 * sysdeps/powerpc/powerpc32/libgcc-compat.S
9890 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
9891 as a macro and a compat symbol.
9892 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9893 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9894 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9895 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9896 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
9897 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
9899 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
9901 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
9903 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
9905 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
9907 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
9909 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
9910 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
9913 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9915 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9917 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9919 * manual/texinfo.tex: Update to version 2013-11-26.10 with
9920 trailing whitespace removed.
9921 * scripts/config.guess: Update to version 2013-11-29.
9922 * scripts/config.sub: Update to version 2013-10-01.
9924 * math/auto-libm-test-in: Add tests of sincos.
9925 * math/auto-libm-test-out: Regenerated.
9926 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
9927 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9929 (func_calc_desc): Add mpfr_f_11 union field.
9930 (test_functions): Add sincos.
9931 (calc_generic_results): Handle mpfr_f_11.
9932 * sysdeps/i386/fpu/libm-test-ulps: Update.
9933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9935 2013-12-19 Andreas Schwab <schwab@suse.de>
9937 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
9939 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9940 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
9941 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
9943 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9945 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
9946 * sysdeps/i386/fpu/libm-test-ulps: Update.
9947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9950 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9951 round-to-nearest mode when using frndint.
9952 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
9953 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9954 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9956 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
9958 * math/auto-libm-test-out: Regenerated.
9959 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
9960 (TEST_COND_x86): Likewise.
9961 (expm1_tonearest_test_data): New array.
9962 (expm1_test_tonearest): New function.
9963 (expm1_towardzero_test_data): New array.
9964 (expm1_test_towardzero): New function.
9965 (expm1_downward_test_data): New array.
9966 (expm1_test_downward): New function.
9967 (expm1_upward_test_data): New array.
9968 (expm1_test_upward): New function.
9969 (main): Run the new test functions.
9970 * sysdeps/i386/fpu/libm-test-ulps: Update.
9971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9973 * include/features.h: Update comment documenting feature test
9974 macros. Mention _DEFAULT_SOURCE in comment.
9975 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
9976 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
9977 _BSD_SOURCE and _SVID_SOURCE.
9978 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
9979 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
9980 !_SVID_SOURCE]: Likewise.
9981 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9982 (__USE_POSIX_IMPLICITLY): Define.
9983 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9984 (_POSIX_SOURCE): Undefine and redefine.
9985 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9986 (_POSIX_C_SOURCE): Likewise.
9987 * manual/creature.texi (_DEFAULT_SOURCE): Document.
9988 (Feature Test Macros): Update documentation of default features.
9990 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9992 * benchtests/Makefile: Add bench-strtok.
9993 * benchtests/bench-strtok.c: New file: strtok benchtest.
9995 2013-12-19 Allan McRae <allan@archlinux.org>
9997 * manual/install.texi: Suppress menu for plain text output.
9998 * INSTALL: Regenerated.
10000 2013-12-18 Brooks Moses <bmoses@google.com>
10003 * misc/getauxval.c: Include errno.h.
10004 (__getauxval): Set errno to ENOENT if the requested type is not
10006 * misc/sys/auxv.h (getauxval): Document that it may set errno;
10007 don't declare with __attribute_const__.
10008 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10009 * manual/startup.texi: Document that getauxval sets errno.
10011 2013-12-18 Joseph Myers <joseph@codesourcery.com>
10013 * math/auto-libm-test-in: Add tests of jn and yn.
10014 * math/auto-libm-test-out: Regenerated.
10015 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10016 (yn_test_data): Likewise.
10017 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10019 (func_calc_desc): Add mpfr_if_f union field.
10020 (FUNC_mpfr_if_f): New macro.
10021 (test_functions): Add jn and yn.
10022 (calc_generic_results): Assert type of second input for
10023 mpfr_ff_f. Handle mpfr_if_f.
10024 (output_for_one_input_case): Disable all checking for arguments
10025 fitting floating-point types in case of an integer argument.
10026 * sysdeps/i386/fpu/libm-test-ulps: Update.
10027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10030 Don't expect fegetround reference in libm.so.
10032 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10034 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10035 $(config-cflags-nofma).
10037 2013-12-18 Joseph Myers <joseph@codesourcery.com>
10039 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10040 * math/auto-libm-test-out: Regenerated.
10043 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10044 to determine exponent and adjust argument to have exponent of -1.
10045 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10047 * math/auto-libm-test-out: Regenerated.
10048 * sysdeps/i386/fpu/libm-test-ulps: Update.
10049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10051 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
10053 * manual/probes.texi: Remove cases when per-thread arenas are
10056 2013-12-18 Andreas Schwab <schwab@suse.de>
10058 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10059 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10060 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10061 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10062 * sysdeps/i386/i686/multiarch/Makefile: Update.
10063 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10065 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10067 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10068 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10070 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
10073 Support TZ transition times < 00:00:00.
10074 This is needed for version-3 tz-format files; it supports time
10075 stamps past 2037 for America/Godthab (the only entry in the tz
10076 database for which this change is relevant).
10077 * manual/time.texi (TZ Variable): Document transition times
10078 from -167:59:59 through -00:00:01.
10079 * time/tzset.c (tz_rule): Time of day is now signed.
10080 (__tzset_parse_tz): Parse negative time of day.
10082 Document TZ transition times >= 25:00:00.
10083 * manual/time.texi (TZ Variable): Document transition times from
10084 25:00:00 through 167:59:59. These are already supported, and this
10085 support will help with version-3 tz-format files.
10087 * manual/time.texi (TZ Variable): Modernize North America example
10088 to reflect current (i.e., 2007-and-later) daylight saving rules.
10090 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
10092 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10094 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
10095 * sysdeps/unix/bsd/bits/stat.h: Likewise.
10096 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
10097 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10098 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
10099 * sysdeps/unix/bsd/bsdstat.h: Likewise.
10100 * sysdeps/unix/bsd/clock.c: Likewise.
10101 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
10102 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
10103 * sysdeps/unix/bsd/init-posix.c: Likewise.
10104 * sysdeps/unix/bsd/poll.c: Likewise.
10105 * sysdeps/unix/bsd/ptsname.c: Likewise.
10106 * sysdeps/unix/bsd/seekdir.c: Likewise.
10107 * sysdeps/unix/bsd/setegid.c: Likewise.
10108 * sysdeps/unix/bsd/seteuid.c: Likewise.
10109 * sysdeps/unix/bsd/setgid.c: Likewise.
10110 * sysdeps/unix/bsd/setrgid.c: Likewise.
10111 * sysdeps/unix/bsd/setruid.c: Likewise.
10112 * sysdeps/unix/bsd/setsid.c: Likewise.
10113 * sysdeps/unix/bsd/setuid.c: Likewise.
10114 * sysdeps/unix/bsd/sigaction.c: Likewise.
10115 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
10116 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
10117 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10118 * sysdeps/unix/bsd/telldir.c: Likewise.
10119 * sysdeps/unix/bsd/times.c: Likewise.
10120 * sysdeps/unix/bsd/usleep.c: Likewise.
10122 * misc/Makefile (install-lib): Remove libbsd-compat.a.
10123 ($(objpfx)libbsd-compat.a): Remove rule.
10125 * include/features.h (__FAVOR_BSD): Do not define.
10126 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
10127 features conflicting with POSIX.
10128 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
10129 (_BSD_SOURCE): Remove description of not being a subset of other
10130 feature test macros.
10131 * manual/job.texi (getpgrp): Do not document BSD version.
10132 (getpgid): Do not document by reference to BSD getpgrp.
10133 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
10134 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
10135 * signal/signal.h [__FAVOR_BSD]: Likewise.
10136 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
10137 instead of making contents conditional on [__FAVOR_BSD].
10138 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
10140 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10142 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10144 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10147 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
10148 values below 2**-450, not 2**-500.
10149 * math/auto-libm-test-in: Don't allow spurious underflow from
10151 * math/auto-libm-test-out: Regenerated.
10155 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
10156 values of ha and hb and sort them after adjusting subnormal
10158 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10160 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
10161 values of ea and eb and sort them after adjusting subnormal
10163 * math/auto-libm-test-in: Do not expect some hypot tests of
10164 subnormals to fail. Add more hypot tests.
10165 * math/auto-libm-test-out: Regenerated.
10167 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10170 * sysdeps/sh/s_fma.c: New file.
10171 * sysdeps/sh/s_fmaf.c: New file.
10172 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
10174 * sysdeps/sh/Implies: Add sh/soft-fp.
10176 2013-12-16 Roland McGrath <roland@hack.frob.com>
10178 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
10179 level of indirection to members `objname', `errstring', `malloced'.
10180 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
10181 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
10182 it as the __longjmp argument (just pass 1 instead).
10183 (_dl_catch_error): Initialize C with argument pointers and address of
10184 volatile local ERRCODE rather than copying values out of C at return.
10186 2013-12-16 Joseph Myers <joseph@codesourcery.com>
10188 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
10189 * math/auto-libm-test-out: Regenerated.
10190 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
10191 (hypot_test_data): Likewise.
10192 (pow_test_data): Likewise.
10193 (pow_tonearest_test_data): Likewise.
10194 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10196 (func_calc_desc): Add mpfr_ff_f union field.
10197 (FUNC_mpfr_ff_f): New macro.
10198 (test_functions): Add atan2, hypot and pow.
10199 (special_fill_min): New function.
10200 (special_fill_minus_min): Likewise.
10201 (special_fill_min_subnorm): Likewise.
10202 (special_fill_minus_min_subnorm): Likewise.
10203 (special_real_inputs): Add min, -min, min_subnorm and
10205 (calc_generic_results): Handle mpfr_ff_f.
10206 * sysdeps/i386/fpu/libm-test-ulps: Update.
10207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10209 2013-12-16 Will Newton <will.newton@linaro.org>
10211 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
10212 (Aligned Memory Blocks): Add documentation for aligned_alloc
10213 and suggest it as an alternative to posix_memalign.
10214 (Hooks for Malloc): Document __memalign_hook is also called
10215 for aligned_alloc. (Summary of Malloc): Add summary for
10216 aligned alloc. Document __memalign_hook is also called
10219 2013-12-16 Will Newton <will.newton@linaro.org>
10221 * manual/memory.texi (Malloc Examples): Clarify default
10222 alignment documentation. Suggest posix_memalign rather
10223 than memalign or valloc.
10224 (Aligned Memory Blocks): Remove suggestion to use memalign
10225 or valloc. Remove obsolete comment about BSD.
10226 Document memalign errno values and mark the function obsolete.
10227 Document posix_memalign returned error codes. Mark valloc
10228 as obsolete. (Hooks for Malloc): __memalign_hook is also
10229 called for posix_memalign and valloc.
10230 (Summary of Malloc): Add posix_memalign to function summary.
10231 __memalign_hook is also called for posix_memalign and valloc.
10233 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10235 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
10239 (sloww): Use mynumber union. Expand ternary operator into
10240 if-else statements.
10241 (cslow): use mynumber union.
10243 2013-12-16 Allan McRae <allan@archlinux.org>
10245 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
10246 * configure: Regenerated.
10248 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
10251 * configure.ac: Added --enable-maintainer-mode. Check for
10252 autoconf when enabled.
10253 * configure: Regenerated.
10255 * nscd/nscd.service: New file.
10256 * nscd/nscd.tmpfiles: New file.
10258 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
10261 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
10262 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
10263 * sysdeps/x86_64/multiarch/strstr.c: ... here.
10264 (strstr): Add __strstr_sse2_unaligned ifunc.
10265 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
10266 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
10267 (strcasestr): Remove __strcasestr_sse42 ifunc.
10268 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
10269 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10270 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10272 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10274 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
10275 * sysdeps/sh/bits/fenv.h: ... here.
10276 * sysdeps/sh/sh4/fpu/bits: Remove directory.
10278 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10280 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
10282 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
10283 hypotf multiarch implementations.
10284 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
10285 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
10286 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
10287 multiarch hypot for PPC64.
10288 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
10289 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
10290 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
10291 multiarch hypotf for PPC64.
10293 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
10294 modff multiarch implementations.
10295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
10296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
10297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
10298 multiarch modf for PPC64.
10299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
10300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
10301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
10302 multiarch modff for PPC64.
10304 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
10305 and logl multiarch implementations.
10306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
10307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
10308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
10309 multiarch logb for PPC64.
10310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
10311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
10312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
10313 multiarch logb for PPC64.
10314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
10315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
10316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
10317 multiarch logb for PPC64.
10319 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
10320 isinff multiarch implementation.
10321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
10323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
10324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
10325 multiarch isinf for PPC64.
10326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
10328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
10329 multiarch isinff for PPC64.
10331 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
10332 finitef multiarch implementation.
10333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
10335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
10336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
10337 multiarch finite for PPC64.
10338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
10340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
10341 multiarch finitef for PPC64.
10343 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
10344 lrint multiarch implementation.
10345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
10347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
10348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
10349 multiarch llrint for PPC64.
10350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
10351 multiarch lrint for PPC64.
10353 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
10354 copysignf multiarch implementation.
10355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
10357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
10359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
10360 multiarch copysign for PPC64.
10361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
10362 multiarch copysignf for PPC64.
10364 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
10365 multiarch implementation.
10366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
10368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
10370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
10372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
10374 multiarch llround for PPC64.
10375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
10376 multiarch trunc for PPC64.
10377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
10378 multiarch truncf for PPC64.
10380 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
10381 multiarch implementation.
10382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
10384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
10386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
10388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
10390 multiarch llround for PPC64.
10391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
10392 multiarch round for PPC64.
10393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
10394 multiarch roundf for PPC64.
10396 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
10397 multiarch implementation.
10398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
10400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
10402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
10404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
10406 multiarch llround for PPC64.
10407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
10408 multiarch floor for PPC64.
10409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
10410 multiarch floorf for PPC64.
10412 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
10413 multiarch implementation.
10414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
10416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
10418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
10420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
10422 multiarch llround for PPC64.
10423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
10424 multiarch ceil for PPC64.
10425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
10426 multiarch ceilf for PPC64.
10428 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10429 multiarch implementation.
10430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
10432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
10434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
10436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
10437 multiarch llround for PPC64.
10438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
10439 multiarch lround for PPC64.
10441 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10442 multiarch implementation.
10443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
10444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
10445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
10447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
10449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
10450 multiarch isnan for PPC64.
10451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
10452 multiarch isnanf for PPC64.
10454 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
10455 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
10456 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
10457 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
10458 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
10459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10461 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
10462 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10463 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10464 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10466 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
10467 multiarch implementations.
10468 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10469 (__libc_ifunc_impl_list): Likewise.
10470 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10471 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
10472 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
10473 multiarch stpcpy for PPC64.
10475 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
10476 multiarch implementations.
10477 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10478 (__libc_ifunc_impl_list): Likewise.
10479 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
10480 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
10481 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
10482 multiarch strcpy for PPC64.
10484 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
10485 redefine function name.
10486 (_wordcopy_fwd_dest_aligned): Likewise.
10487 (_wordcopy_bwd_aligned): Likewise.
10488 (_wordcopy_bwd_dest_aligned): Likewise.
10489 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
10490 multiarch implementations.
10491 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10492 (__libc_ifunc_impl_list): Likewise.
10493 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
10494 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
10495 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
10496 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
10497 multiarch wcscpy for PPC64.
10499 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
10500 multiarch implementations.
10501 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10502 (__libc_ifunc_impl_list): Likewise.
10503 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
10504 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
10505 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
10506 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
10507 multiarch wcscpy for PPC64.
10509 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
10510 multiarch implementations.
10511 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10512 (__libc_ifunc_impl_list): Likewise.
10513 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
10514 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
10515 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
10516 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
10517 multiarch wcsrchr for PPC64.
10519 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
10520 multiarch implementations.
10521 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10522 (__libc_ifunc_impl_list): Likewise.
10523 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
10524 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
10525 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
10526 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
10527 multiarch wcschr for PPC64.
10529 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
10530 multiarch implementations.
10531 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10532 (__libc_ifunc_impl_list): Likewise.
10533 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
10534 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
10535 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
10536 multiarch strchrnul for PPC64.
10538 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
10540 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10541 (__libc_ifunc_impl_list): Likewise.
10542 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
10543 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
10544 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
10545 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
10548 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
10550 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10551 (__libc_ifunc_impl_list): Likewise.
10552 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
10553 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
10554 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
10555 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
10558 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
10559 multiarch implementations.
10560 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10561 (__libc_ifunc_impl_list): Likewise.
10562 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
10563 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
10564 strncasecmp for PPC64.
10565 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
10566 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
10567 multiarch strncasecmp_l for PPC64.
10569 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
10570 multiarch implementations.
10571 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10572 (__libc_ifunc_impl_list): Likewise.
10573 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
10574 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
10575 multiarch strcasecmp for PPC64.
10576 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
10578 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
10579 multiarch strcasecmp_l for PPC64.
10581 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
10583 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10584 (__libc_ifunc_impl_list): Likewise.
10585 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
10586 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
10587 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
10590 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
10592 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10593 (__libc_ifunc_impl_list): Likewise.
10594 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
10595 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
10596 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
10599 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
10601 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10602 (__libc_ifunc_impl_list): Likewise.
10603 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
10604 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
10605 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
10606 rawmemrchr for PPC64.
10608 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
10610 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10611 (__libc_ifunc_impl_list): Likewise.
10612 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
10613 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
10614 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
10617 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
10619 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10620 (__libc_ifunc_impl_list): Likewise.
10621 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
10622 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
10623 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
10626 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
10628 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10629 (__libc_ifunc_impl_list): Likewise.
10630 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
10631 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
10632 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
10635 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
10636 avoid cretion of __bzero symbol.
10637 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
10639 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
10641 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
10643 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
10644 multiarch implementations.
10645 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10646 (__libc_ifunc_impl_list): Likewise.
10647 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
10648 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
10649 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
10650 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
10652 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
10653 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
10654 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
10655 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
10656 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
10658 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
10660 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
10661 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
10663 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10664 (__libc_ifunc_impl_list): Likewise.
10665 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
10666 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
10667 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
10668 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
10671 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
10672 multiarch for POWER/PPC64.
10673 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10674 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
10675 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
10676 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
10677 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
10678 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
10679 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
10680 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
10681 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
10684 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
10685 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
10686 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
10687 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
10688 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
10689 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
10690 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
10691 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
10692 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
10693 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
10694 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
10695 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
10696 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
10697 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
10698 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
10699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
10700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
10701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
10702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
10703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
10704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
10705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
10707 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10709 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
10711 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10713 * benchtests/Makefile (bench): Add exp2 and log2.
10714 (LDLIBS-bench-exp2): Add -lm.
10715 (LDLIBS-bench-log2): Likewise.
10716 * benchtests/exp2-inputs: New inputs file.
10717 * benchtests/log2-inputs: New inputs file.
10718 * benchtests/log-inputs: Add new inputs.
10719 * benchtests/tan-inputs: Likewise.
10721 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10723 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
10725 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
10726 (csloww2): ... from here.
10728 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
10729 instead of structures.
10730 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
10731 (POLYNOMIAL): Likewise.
10732 (TAYLOR_SLOW): Likewise.
10738 (sloww1); Likewise.
10739 (sloww2): Likewise.
10740 (bsloww1): Likewise.
10741 (bsloww2): Likewise.
10742 (cslow2): Likewise.
10743 (csloww): Likewise.
10744 (csloww1): Likewise.
10745 (csloww2): Likewise.
10747 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
10749 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
10750 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
10751 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
10752 * malloc/hooks.c (realloc_check): Likewise.
10754 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
10755 * malloc/arena.c: Remove PER_THREAD conditional.
10756 [!PER_THREAD]: Remove code.
10757 (ptmalloc_unlock_all2): Likewise.
10758 (ptmalloc_init): Likewise.
10759 (_int_new_arena): Likewise.
10760 (arena_get2): Likewise.
10761 * malloc/hooks.c (__malloc_get_state): Likewise.
10762 (__malloc_set_state): Likewise.
10763 * malloc/malloc.c: Likewise.
10764 (struct malloc_state): Likewise.
10765 (struct malloc_par): Likewise.
10766 (__libc_realloc): Likewise.
10767 (__libc_mallopt): Likewise.
10769 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10771 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
10773 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
10775 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
10776 macro to a function. Check for zero perturb_byte.
10777 (_int_malloc, _int_free): Remove zero perturb_byte checks.
10779 * malloc/malloc.c: (force_reg): Remove.
10780 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
10781 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
10782 force_reg by atomic_forced_read.
10783 * malloc/arena.c (ptmalloc_init): Likewise.
10784 * malloc/hooks.c (top_check): Likewise.
10786 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10790 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
10792 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10794 2013-12-08 Joseph Myers <joseph@codesourcery.com>
10796 * math/auto-libm-test-in: Add tests of lgamma.
10797 * math/auto-libm-test-out: Regenerated.
10798 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
10799 (M_LOG_2_SQRT_PIl): Likewise.
10800 (lgamma_test_data): Use AUTO_TESTS_f_f1.
10801 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10803 (func_calc_desc): Add mpfr_f_f1 union field.
10804 (ARGS1): New macro.
10812 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
10813 (test_functions): Add lgamma.
10814 (calc_generic_results): Handle mpfr_f_f1.
10815 * sysdeps/i386/fpu/libm-test-ulps: Update.
10816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10818 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10820 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
10821 __mpn_add_n for PowerPC64/POWER7.
10822 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
10823 __mpn_sub_n for PowerPC64/POWER7.
10825 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
10826 __mpn_addmul_1 for PowerPC64.
10827 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
10828 __mpn_submul_1 for PowerPC64.
10829 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
10831 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
10834 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
10837 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
10839 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10841 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
10843 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
10844 add multiarch folders.
10845 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
10846 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
10847 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
10848 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
10849 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
10850 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
10851 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
10852 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
10853 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
10854 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
10855 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
10856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
10857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
10858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
10859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
10860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
10861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
10863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10864 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
10865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
10867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
10869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
10870 multiarch __ieee754_hypot for PowerPC32.
10871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
10873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
10875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
10876 multiarch __ieee754_hypotf for PowerPC32.
10878 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
10879 long_double_symbol only if __logbl is defined.
10880 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
10881 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
10882 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
10883 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
10884 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
10885 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
10886 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
10887 path for implementation.
10888 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
10889 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
10890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
10891 logb, and logbl multiarch implementations for PowerPC32.
10892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
10894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
10896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
10897 multiarch logb for PowerPC32.
10898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
10900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
10902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
10903 multiarch logbf for PowerPC32.
10904 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
10905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
10907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
10908 multiarch logbl implementation for PowerPC32.
10910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
10911 and modff multiarch implementations.
10912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
10914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
10916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
10917 multiarch modf for PowerPC32.
10918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
10920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
10922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
10923 multiarch modff for PowerPC32.
10925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
10926 and lrintf multiarch implementations.
10927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
10929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
10931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
10932 multiarch lrint for PowerPC32.
10933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
10934 file: multiarch lrintf for PowerPC32.
10936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
10937 and lroundf multiarch implementations.
10938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
10940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
10942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
10944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
10945 multiarch lround for PowerPC32.
10946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
10947 file: multiarch lroundf for PowerPC32.
10949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10950 copysign and copysignf multiarch implementations.
10951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
10953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
10955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
10956 file: multiarch copysign for PowerPC32.
10957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
10958 file: multiarch copysignf for PowerPC32.
10960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
10961 and truncf multiarch implementations.
10962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
10964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
10966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10967 multiarch trunc for PowerPC32.
10968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
10970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
10972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
10973 multiarch truncf for PowerPC32.
10975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
10976 and roundf multiarch implementations.
10977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
10979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
10981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
10982 multiarch round for PowerPC32.
10983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
10985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
10987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
10988 multiarch roundf for PowerPC32.
10990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
10991 and floorf multiarch implementations.
10992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
10994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
10996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
10997 multiarch floor for PowerPC32.
10998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11003 multiarch floorf for PowerPC32.
11005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11006 and ceilf multiarch implementations.
11007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11012 multiarch ceil for PowerPC32.
11013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11018 multiarch ceilf for PowerPC32.
11020 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11022 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11023 FINITEF is defined.
11024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11025 and finitef multiarch implementations.
11026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11031 multiarch finite for PowerPC32.
11032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11035 file: multiarch finitef for PowerPC32.
11037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11038 and isinff multiarch implementations.
11039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11044 multiarch isinf for PowerPC32.
11045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11048 multiarch isinff for PowerPC32.
11050 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11051 alias when __isnan is defined.
11052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11053 and isnanf multiarch implementations.
11054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11063 multiarch isnan for PowerPC32.
11064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11069 multiarch isnanf for PowerPC32.
11071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11072 and sqrtf multiarch implementations.
11073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11078 multiarch sqrt for PowerPC32.
11079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
11084 multiarch sqrtf for PowerPC32.
11086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
11087 and llroundf multiarch implementations.
11088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
11090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
11092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
11094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
11095 file: multiarch llround for PowerPC32.
11096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
11097 file: multiarch llroundf for PowerPC32.
11099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
11100 multiarch PowerPC32 fpu implementations.
11101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
11103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
11105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
11106 multiarch llrint for PowerPC32.
11107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
11109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
11111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
11114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
11116 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
11118 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
11120 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
11122 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
11123 multiarch wordcopy for PPC32.
11124 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11126 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11127 (__libc_ifunc_impl_list): Likewise.
11128 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
11129 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
11130 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
11131 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
11132 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
11133 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
11135 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
11136 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
11138 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
11140 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
11142 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
11143 multiarch wcscpy for PPC32.
11144 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11146 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11147 (__libc_ifunc_impl_list): Likewise.
11148 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11149 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11150 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
11151 sysdeps/powerpc/power6/wcscpy.c.
11153 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
11154 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
11156 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
11158 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
11160 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
11161 multiarch wcsrchr for PPC32.
11162 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11164 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11165 (__libc_ifunc_impl_list): Likewise.
11166 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11167 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11168 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
11169 sysdeps/powerpc/power6/wcsrchr.c.
11171 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
11173 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
11175 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
11176 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
11177 multiarch wcschr for PPc32.
11178 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11180 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11181 (__libc_ifunc_impl_list): Likewise.
11182 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
11183 * sysdeps/powerpc/power6/wcschr.c: ... to here.
11184 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
11185 sysdeps/powerpc/power6/wcschr.c.
11187 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
11188 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
11190 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
11191 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
11192 file: multiarch strchr for PPC32.
11193 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
11195 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11196 (__libc_ifunc_impl_list): Likewise.
11198 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
11200 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
11202 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
11204 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
11205 multiarch strchrnul for PPC32.
11206 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
11208 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11209 (__libc_ifunc_impl_list): Likewise.
11211 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
11213 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
11214 multiarch strncasecmp for PPC32.
11215 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
11217 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
11218 multiarch strncasecmp_l for PPC32.
11219 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
11220 strncasecmp multiarch objects.
11221 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11222 (__libc_ifunc_impl_list): Likewise.
11224 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
11226 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
11227 multiarch strncasecmp for PPC32.
11228 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11230 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
11231 multiarch strcasecmp_l for PPC32.
11232 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
11234 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11235 (__libc_ifunc_impl_list): Likewise.
11237 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
11239 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
11241 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
11242 multiarch strncmp for PPC32.
11243 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
11245 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11246 (__libc_ifunc_impl_list): Likewise.
11248 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
11249 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
11251 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
11252 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
11253 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
11255 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11256 (__libc_ifunc_impl_list): Likewise.
11258 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
11260 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
11262 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
11263 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
11265 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11266 (__libc_ifunc_impl_list): Likewise.
11268 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
11270 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
11272 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
11273 multiarch rawmemchr for PPC32.
11274 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
11276 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11277 (__libc_ifunc_impl_list): Likewise.
11279 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
11281 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
11283 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
11284 file: memrchr multiarch for PPC32.
11285 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
11287 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11288 (__libc_ifunc_impl_list): Likewise.
11290 * string/memchr.c (__memchr): Using macro to redefine symbol name.
11291 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
11293 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
11294 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
11295 multiarch memchr for PPC32.
11296 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
11298 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11299 (__libc_ifunc_impl_list): Likewise.
11301 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
11302 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
11304 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
11306 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
11307 file: multiarch mempcpy for PPC32.
11308 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
11310 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11311 (__libc_ifunc_impl_list): Likewise.
11313 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
11314 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
11315 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
11316 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
11317 multiarch bzero for PPC32.
11318 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
11320 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
11322 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
11323 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
11324 file: multiarch memset for PPC32.
11325 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
11326 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
11327 memset multiarch objects.
11328 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11329 (__libc_ifunc_impl_list): Likewise.
11331 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
11333 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
11334 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
11336 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
11337 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
11339 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11340 (__libc_ifunc_impl_list): Likewise.
11342 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
11343 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
11344 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
11346 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
11348 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
11350 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
11351 multiarch memcpy for PPC32.
11352 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
11354 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11355 (__libc_ifunc_impl_list): Likewise.
11357 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
11358 support multiarch for POWER/PPC32.
11359 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
11361 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
11363 Implies file to make multiarch folder appers before the fpu and
11364 default folder for power4 configuration.
11366 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11368 * scripts/bench.pl: Append volatile keyword to type.
11370 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11372 * sysdeps/sh/sotruss-lib.c: New file.
11373 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
11375 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11379 2013-12-05 Joseph Myers <joseph@codesourcery.com>
11382 * math/w_tgamma.c: Include <errno.h>.
11383 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
11384 * math/w_tgammaf.c: Include <errno.h>.
11385 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
11386 * math/w_tgammal.c: Include <errno.h>.
11387 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
11388 * math/auto-libm-test-in: Do not allow missing errno on tgamma
11389 underflow. Add more tgamma tests.
11390 * math/auto-libm-test-out: Regenerated.
11391 * sysdeps/i386/fpu/libm-test-ulps: Update.
11392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11394 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
11395 sin, sinh, tan, tanh, tgamma, y0 and y1.
11396 * math/auto-libm-test-out: Regenerated.
11397 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11398 (TEST_COND_x86): Likewise.
11399 (M_E2l): Remove macro.
11401 (M_2_SQRT_PIl): Likewise.
11402 (M_SQRT_PIl): Likewise.
11403 (M_1_DIV_El): Likewise.
11404 (log_test_data): Use AUTO_TESTS_f_f.
11405 (log10_test_data): Likewise.
11406 (log1p_test_data): Likewise.
11407 (log2_test_data): Likewise.
11408 (sin_test_data): Likewise.
11409 (sin_tonearest_test_data): Likewise.
11410 (sin_towardzero_test_data): Likewise.
11411 (sin_downward_test_data): Likewise.
11412 (sin_upward_test_data): Likewise.
11413 (sinh_test_data): Likewise.
11414 (sinh_tonearest_test_data): Likewise.
11415 (sinh_towardzero_test_data): Likewise.
11416 (sinh_downward_test_data): Likewise.
11417 (sinh_upward_test_data): Likewise.
11418 (tan_test_data): Likewise.
11419 (tan_tonearest_test_data): Likewise.
11420 (tan_towardzero_test_data): Likewise.
11421 (tan_downward_test_data): Likewise.
11422 (tan_upward_test_data): Likewise.
11423 (tanh_test_data): Likewise.
11424 (tgamma_test_data): Likewise.
11425 (y0_test_data): Likewise.
11426 (y1_test_data): Likewise.
11427 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
11428 (special_real_inputs): Add pi/4.
11429 * sysdeps/i386/fpu/libm-test-ulps: Update.
11430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11432 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11434 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
11435 "longjmp_target" static probes.
11436 (__longjmp): Rename to __longjmp_symbol.
11437 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11438 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
11439 on which longjmp to generate.
11440 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11441 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
11443 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11444 (__sigjmp_save): Rename to __sigjmp_save_symbol.
11445 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11446 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
11447 and __sigjmp_save_symbol based on which sigsetjmp to generated.
11448 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
11449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
11450 __longjmp_symbol based on which __longjmp to generate.
11451 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
11453 (setjmp): Rename to setjmp_symbol.
11454 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11455 (_setjmp): Rename to _setjmp_symbol.
11456 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11457 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
11458 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
11459 which setjmp to generate.
11460 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
11461 "longjmp_target" static probes.
11463 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11465 * benchtests/README: Add note about output arguments.
11466 * benchtests/bench-sincos.c: Remove file.
11467 * benchtests/sincos-inputs: New file.
11468 * scripts/bench.pl: Identify output arguments and define
11469 static variables for them.
11471 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
11474 * Makefile (INSTALL): Add install-plain.texi as the primary
11476 * manual/install-plain.texi: New file.
11477 * manual/install.texi: Include node directive only for
11478 non-plaintext output.
11480 2013-12-04 Joseph Myers <joseph@codesourcery.com>
11482 * stdlib/longlong.h: Update from GCC.
11486 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
11487 * math/w_j0f.c (y0f): Likewise.
11488 * math/w_j0l.c (__y0l): Likewise.
11489 * math/w_j1.c (y1): Likewise.
11490 * math/w_j1f.c (y1f): Likewise.
11491 * math/w_j1l.c (__y1l): Likewise
11492 * math/w_jn.c (yn): Likewise.
11493 * math/w_jnf.c (ynf): Likewise.
11494 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
11495 Bessel function pole errors in _POSIX_ mode. Use NAN as return
11496 value for Bessel function domain errors outside _SVID_ mode.
11497 Adjust sign of return value for yn (negative integer, 0).
11498 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
11499 by zero in return for negative x and set sign appropriately for
11501 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
11502 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11503 * math/libm-test.inc (y0_test_data): Add more tests and adjust
11504 expectations in error cases.
11505 (y1_test_data): Likewise.
11506 (yn_test_data): Likewise.
11507 * sysdeps/i386/fpu/libm-test-ulps: Update.
11508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11510 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11512 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
11513 "64" to "64-v1". Add "64-v2".
11514 (abi-64-options): Rename to ...
11515 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
11516 (abi-64-condition): Rename to ...
11517 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
11518 (abi-64-ld-soname): Rename to ...
11519 (abi-64-v1-ld-soname): ... this.
11520 (abi-64-v2-options): Define.
11521 (abi-64-v2-condition): Likewise.
11522 (abi-64-v2-ld-soname): Likewise.
11523 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
11524 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
11525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
11526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
11527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
11529 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11530 Alan Modra <amodra@gmail.com>
11532 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
11533 New versions for use with the ELFv2 ABI.
11534 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
11535 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
11537 (struct La_ppc64v2_retval): Likewise.
11538 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
11539 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
11540 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
11541 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
11542 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
11543 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11544 Do not save or restore CR.
11545 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
11546 (_dl_profile_resolve): Do no save or restore CR. Support extended
11547 return values for ELFv2 ABI. Fix location of FPR return registers.
11548 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
11549 updated values for _CALL_ELF == 2.
11550 (La_regs, La_retval, int_retval): Likewise.
11552 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11554 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
11555 (FRAME_MIN_SIZE_PARM): Likewise.
11556 (FRAME_BACKCHAIN): Likewise.
11557 (FRAME_CR_SAVE): Likewise.
11558 (FRAME_LR_SAVE): Likewise.
11559 (FRAME_TOC_SAVE): Likewise.
11560 (FRAME_PARM_SAVE): Likewise.
11561 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
11562 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
11563 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11564 (call_mcount_parm_offset): New macro.
11565 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
11566 (PROF): Use symbolic stack frame offsets.
11567 (TAIL_CALL_SYSCALL_ERROR): Likewise.
11568 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
11569 Redefine in terms of FRAME_MIN_SIZE.
11570 (_dl_runtime_resolve): Use symbolic stack frame offsets.
11571 (_dl_profile_resolve): Likewise. Update comment.
11572 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
11573 symbols stack frame offsets.
11574 (__sigsetjmp): Likewise.
11575 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
11576 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
11577 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
11578 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
11580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
11581 (FRAME_BACKCHAIN): Remove.
11582 (FRAME_CR_SAVE): Likewise.
11583 (FRAME_LR_SAVE): Likewise.
11584 (FRAME_COMPILER_DW): Likewise.
11585 (FRAME_LINKER_DW): Likewise.
11586 (FRAME_TOC_SAVE): Likewise.
11587 (FRAME_PARM_SAVE): Likewise.
11588 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
11589 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
11590 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
11592 (CHECK_SP): Use symbolic stack frame offsets.
11593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
11594 zone" instead of caller's parameter save area for temp storage.
11595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11596 Likewise. Also, use symbolic stack frame offsets.
11597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
11598 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
11599 our own stack frame instead of the caller's.
11600 (__socket): Use symbolic stack frame offsets.
11602 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11603 Alan Modra <amodra@gmail.com>
11605 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
11607 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
11608 (PPC64_LOCAL_ENTRY_OFFSET): Define.
11609 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
11611 (elf_machine_fixup_plt): Call it.
11612 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
11614 (elf_machine_rela): Update call to elf_machine_plt_conflict.
11615 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11616 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
11617 r2 before calling target.
11619 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11620 Alan Modra <amodra@gmail.com>
11622 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
11623 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
11624 versions of macros to support ELFv2 ABI.
11625 (LOCALENTRY): New macro.
11626 (ENTRY, EALIGN): Use it.
11627 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
11628 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
11629 fall through into ENTRY entry point.
11630 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
11631 Only define if _CALL_ELF != 2.
11633 (elf_machine_matches_host): Verify ABI version matches.
11634 (RTLD_START): Use LOCALENTRY.
11635 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
11636 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
11637 (PLT_ENTRY_WORDS): New macro.
11638 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
11639 (elf_machine_runtime_setup): Support ELFv2 ABI.
11640 (elf_machine_fixup_plt): Likewise.
11641 (elf_machine_plt_conflict): Likewise.
11642 (resolve_ifunc): Likewise.
11643 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11644 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
11647 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
11648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11649 (makecontext): Support ELFv2 ABI.
11650 * elf/elf.h (EF_PPC64_ABI): Define.
11652 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11654 * sysdeps/powerpc/powerpc64/sysdep.h
11655 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
11656 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
11657 (ENTRY) [ASSEMBLER]: ... but instead here ...
11658 (EALIGN) [ASSEMBLER]: ... and here.
11659 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
11660 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
11661 (ENTRY_2) [!ASSEMBLER]: Use it.
11662 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
11663 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
11664 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11665 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
11666 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
11667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
11668 Use PPC64_LOAD_FUNCPTR.
11670 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
11672 2013-12-04 Alan Modra <amodra@gmail.com>
11674 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
11675 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
11676 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
11677 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
11679 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
11680 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
11681 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
11682 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
11683 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
11684 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
11686 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11689 (__makecontext): Fix incorrect CFI when backtracing out of
11690 context created via makecontext.
11691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
11692 (__setcontext): Fix incorrect CFI during switch to new context.
11693 (__novec_setcontext): Likewise.
11695 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
11698 * time/strptime_l.c (__strptime_internal): Allow modifiers
11700 * time/tst-strptime.c (day_tests): Add testcase.
11702 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11704 * scripts/bench.pl: Skip over blank lines.
11706 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
11709 * manual/time.texi (Calendar Time): Clarify what timezone functions
11712 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11714 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11716 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
11718 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
11720 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11721 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11722 * debug/memset_chk.c (__memset_chk): Likewise.
11723 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
11724 * debug/strncpy_chk.c: Likewise.
11726 2013-12-03 Joseph Myers <joseph@codesourcery.com>
11730 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
11731 (__ieee754_exp): For possibly underflowing results, check size of
11732 result and force underflow exception if required.
11733 * math/auto-libm-test-in: Add more tests of exp.
11734 * math/auto-libm-test-out: Regenerated.
11735 * sysdeps/i386/fpu/libm-test-ulps: Update.
11736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11739 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
11740 * math/w_exp2f.c (__exp2f): Likewise.
11741 * math/w_exp2l.c (__exp2l): Likewise.
11742 * math/auto-libm-test-in: Do not allow missing errno on exp2
11744 * math/auto-libm-test-out: Regenerated.
11746 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
11749 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
11750 handle filename validation.
11751 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
11754 2013-12-03 Joseph Myers <joseph@codesourcery.com>
11757 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
11758 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
11759 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
11761 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
11762 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
11763 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11764 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
11765 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11766 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
11767 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11768 * math/auto-libm-test-in: Don't allow missing errno from erfc.
11769 Add more erfc tests.
11770 * math/auto-libm-test-out: Regenerated.
11771 * sysdeps/i386/fpu/libm-test-ulps: Update.
11772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11774 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
11775 exp2, expm1, j0 and j1.
11776 * math/auto-libm-test-out: Regenerated.
11777 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
11778 (erfc_test_data): Likewise.
11779 (exp_test_data): Likewise.
11780 (exp_tonearest_test_data): Likewise.
11781 (exp_towardzero_test_data): Likewise.
11782 (exp_downward_test_data): Likewise.
11783 (exp_upward_test_data): Likewise.
11784 (exp10_test_data): Likewise.
11785 (exp2_test_data): Likewise.
11786 (expm1_test_data): Likewise.
11787 (j0_test_data): Likewise.
11788 (j1_test_data): Likewise.
11789 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
11790 (input_flag_type): Add flag_xfail_rounding.
11791 (input_flags): Add xfail-rounding.
11792 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
11793 (output_for_one_input_case): Handle flag_xfail_rounding.
11794 * sysdeps/i386/fpu/libm-test-ulps: Update.
11795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11797 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
11800 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
11803 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11806 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
11807 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
11808 (STAP_PROBE0): New macro.
11809 (STAP_PROBE1): Likewise.
11810 (STAP_PROBE2): Likewise.
11811 (STAP_PROBE3): Likewise.
11812 (STAP_PROBE4): Likewise.
11814 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
11816 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
11818 2013-12-02 Steve Ellcey <sellcey@mips.com>
11820 * benchtests/Makefile (bench): Add sqrt.
11821 (LDLIBS-bench-sqrt): New.
11822 * benchtests/sqrt-input: New.
11824 2013-12-02 Pavel Simerda <psimerda@redhat.com>
11826 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
11827 (GAIH_EAI): Likewise.
11828 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
11829 (gaih_inet): Likewise.
11830 (getaddrinfo): Don't use GAIH_EAI.
11832 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
11833 (struct gaih): Remove definition.
11835 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11837 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
11838 Use HERRNOP directly.
11840 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11842 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11844 2013-11-30 Joseph Myers <joseph@codesourcery.com>
11846 * math/gen-auto-libm-tests.c (test_functions): Add more
11847 single-argument functions.
11848 (special_fill_pi_2): New function.
11849 (special_fill_minus_pi_2): Likewise.
11850 (special_fill_pi_6): Likewise.
11851 (special_fill_minus_pi_6): Likewise.
11852 (special_fill_pi_3): Likewise.
11853 (special_fill_2pi_3): Likewise.
11854 (special_fill_e): Likewise.
11855 (special_fill_1_e): Likewise.
11856 (special_fill_e_minus_1): Likewise.
11857 (special_real_inputs): Add more special inputs.
11858 (output_for_one_input_case): Do not require ERANGE on underflow to
11859 zero if round-to-nearest result does not underflow to zero, unless
11860 exact results required.
11861 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
11862 atan, atanh, cbrt, cos and cosh.
11863 * math/auto-libm-test-out: Regenerated.
11864 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
11865 (acos_tonearest_test_data): Likewise.
11866 (acos_towardzero_test_data): Likewise.
11867 (acos_downward_test_data): Likewise.
11868 (acos_upward_test_data): Likewise.
11869 (acosh_test_data): Likewise.
11870 (asin_test_data): Likewise.
11871 (asin_tonearest_test_data): Likewise.
11872 (asin_towardzero_test_data): Likewise.
11873 (asin_upward_test_data): Likewise.
11874 (asinh_test_data): Likewise.
11875 (atan_test_data): Likewise.
11876 (atanh_test_data): Likewise.
11877 (cbrt_test_data): Likewise.
11878 (cos_test_data): Likewise.
11879 (cos_tonearest_test_data): Likewise.
11880 (cos_towardzero_test_data): Likewise.
11881 (cos_downward_test_data): Likewise.
11882 (cos_upward_test_data): Likewise.
11883 (cosh_test_data): Likewise.
11884 (cosh_tonearest_test_data): Likewise.
11885 (cosh_towardzero_test_data): Likewise.
11886 (cosh_downward_test_data): Likewise.
11887 (cosh_upward_test_data): Likewise.
11888 * sysdeps/i386/fpu/libm-test-ulps: Update.
11889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11891 2013-11-29 Joseph Myers <joseph@codesourcery.com>
11894 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
11895 * math/w_exp10f.c (__exp10f): Likewise.
11896 * math/w_exp10l.c (__exp10l): Likewise.
11897 * math/libm-test.inc (exp10_test_data): Add more tests and expect
11898 errno settings in existing tests.
11901 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
11902 precision control set to double precision.
11903 * sysdeps/i386/fpu/w_sqrt.c: New file.
11904 * math/auto-libm-test-in: Add more tests.
11905 * math/auto-libm-test-out: Update.
11907 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
11908 (sqrt_test_tonearest): New function.
11909 (sqrt_towardzero_test_data): New variable.
11910 (sqrt_test_towardzero): New function.
11911 (sqrt_downward_test_data): New variable.
11912 (sqrt_test_downward): New function.
11913 (sqrt_upward_test_data): New variable.
11914 (sqrt_test_upward): New function.
11915 (main): Call the new functions.
11917 * math/gen-auto-libm-tests.c: New file.
11918 * math/auto-libm-test-in: Likewise.
11919 * math/auto-libm-test-out: New generated file.
11920 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
11922 (%beautify): Add generated representations of zero.
11923 (top level): Set $auto_input and call parse_auto_input.
11924 (beautify): Remove trailing "f" from hex float constants.
11925 (parse_args): Handle XFAIL_TEST.
11926 (convert_condition): New function.
11927 (or_value): Likewise.
11928 (or_cond_value): Likewise.
11929 (generate_testfile): Handle AUTO_TESTS_* lines.
11930 (parse_auto_input): New function.
11931 * math/libm-test.inc (XFAIL_TEST): New macro.
11932 (ERRNO_UNCHANGED): Update value.
11933 (ERRNO_EDOM): Likewise.
11934 (ERRNO_ERANGE): Likewise.
11935 (IGNORE_RESULT): Likewise.
11936 (TEST_COND_flt_32): New macro.
11937 (TEST_COND_dbl_64): Likewise.
11938 (TEST_COND_ldbl_96_intel): Likewise.
11939 (TEST_COND_ldbl_96_m68k): Likewise.
11940 (TEST_COND_ldbl_128): Likewise.
11941 (TEST_COND_ldbl_128ibm): Likewise.
11942 (TEST_COND_long32): Likewise.
11943 (TEST_COND_long64): Likewise.
11944 (TEST_COND_before_rounding): Likewise.
11945 (TEST_COND_after_rounding): Likewise.
11946 (enable_test): Handle XFAIL_TEST flag.
11947 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
11948 with finite results.
11949 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
11950 auto-libm-test-out.
11952 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11953 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11956 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
11957 __tls_get_addr_internal instead of __tls_get_offset in order to
11958 avoid GOT pointer dependency. Make rtld export
11959 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
11960 __tls_get_addr since we are a __tls_get_offset platform.
11961 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11962 GOT pointer being set up before.
11963 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
11965 2013-11-28 Joseph Myers <joseph@codesourcery.com>
11967 * manual/math.texi (Errors in Math Functions): Document accuracy
11971 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
11972 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
11973 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11974 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11975 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11976 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11977 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11978 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11979 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11980 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11981 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11982 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11983 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11984 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11985 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11986 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11988 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
11989 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
11990 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
11991 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
11992 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
11994 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
11996 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
11998 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
11999 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12000 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12001 atomic-feupdateenv and flt-rounds.
12002 * sysdeps/powerpc/nofpu/Versions (libc): Add
12003 __atomic_feholdexcept, __atomic_feclearexcept,
12004 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12005 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12006 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12007 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12008 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12013 * manual/arith.texi (FP Exceptions): Document that exceptions may
12014 not be raised when matherr is used.
12015 (Math Error Reporting): Document overflow in directed rounding
12016 modes. Document that errno may not be set when finite values are
12017 returned on overflow. Document intent to set errno on underflow
12018 only for underflow to zero.
12021 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12022 round-to-nearest then adjust result for other rounding modes.
12023 * include/fenv.h (fegetround): Use libm_hidden_proto.
12024 * math/fegetround.c (fegetround): Use libm_hidden_def.
12025 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12026 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12027 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12028 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12030 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12031 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12032 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12033 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12035 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12038 * nss/Versions (libnss_files): Add
12039 _nss_files_gethostbyname3_r.
12040 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12042 (HOST_DB_LOOKUP): Remove macro.
12043 (_nss_files_gethostbyname_r): Implement function without the
12044 HOST_DB_LOOKUP macro.
12045 (_nss_files_gethostbyname2_r): Likewise.
12047 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
12049 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12051 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
12053 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12054 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12057 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12059 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12060 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12061 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12062 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12063 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12064 __fe_nomask_env_priv and attribute_hidden.
12065 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12066 (libc_feupdateenv_test_ppc): Likewise.
12067 (libc_feresetround_ppc): Likewise.
12068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12069 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12070 compat_symbol macro.
12071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12072 (__fe_nomask_env): Likewise.
12073 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12075 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12077 * string/Makefile: Remove ifunc tests.
12078 * string/test-string.h: Define TEST_IFUNC.
12079 * string/test-bcopy-ifunc.c: Remove.
12080 * string/test-bzero-ifunc.c: Likewise.
12081 * string/test-memccpy-ifunc.c: Likewise.
12082 * string/test-memchr-ifunc.c: Likewise.
12083 * string/test-memcmp-ifunc.c: Likewise.
12084 * string/test-memcpy-ifunc.c: Likewise.
12085 * string/test-memmem-ifunc.c: Likewise.
12086 * string/test-memmove-ifunc.c: Likewise.
12087 * string/test-mempcpy-ifunc.c: Likewise.
12088 * string/test-memrchr-ifunc.c: Likewise.
12089 * string/test-memset-ifunc.c: Likewise.
12090 * string/test-rawmemchr-ifunc.c: Likewise.
12091 * string/test-stpcpy-ifunc.c: Likewise.
12092 * string/test-stpncpy-ifunc.c: Likewise.
12093 * string/test-strcasecmp-ifunc.c: Likewise.
12094 * string/test-strcasestr-ifunc.c: Likewise.
12095 * string/test-strcat-ifunc.c: Likewise.
12096 * string/test-strchr-ifunc.c: Likewise.
12097 * string/test-strchrnul-ifunc.c: Likewise.
12098 * string/test-strcmp-ifunc.c: Likewise.
12099 * string/test-strcpy-ifunc.c: Likewise.
12100 * string/test-strcspn-ifunc.c: Likewise.
12101 * string/test-strlen-ifunc.c: Likewise.
12102 * string/test-strncasecmp-ifunc.c: Likewise.
12103 * string/test-strncat-ifunc.c: Likewise.
12104 * string/test-strncmp-ifunc.c: Likewise.
12105 * string/test-strncpy-ifunc.c: Likewise.
12106 * string/test-strnlen-ifunc.c: Likewise.
12107 * string/test-strpbrk-ifunc.c: Likewise.
12108 * string/test-strrchr-ifunc.c: Likewise.
12109 * string/test-strspn-ifunc.c: Likewise.
12110 * string/test-strstr-ifunc.c: Likewise.
12112 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12114 * benchtests/Makefile: Remove ifunc tests.
12115 * benchtests/bench-string.h: Define TEST_IFUNC.
12116 * benchtests/bench-bcopy-ifunc.c: Remove.
12117 * benchtests/bench-bzero-ifunc.c: Likewise.
12118 * benchtests/bench-memccpy-ifunc.c: Likewise.
12119 * benchtests/bench-memchr-ifunc.c: Likewise.
12120 * benchtests/bench-memcmp-ifunc.c: Likewise.
12121 * benchtests/bench-memcpy-ifunc.c: Likewise.
12122 * benchtests/bench-memmem-ifunc.c: Likewise.
12123 * benchtests/bench-memmove-ifunc.c: Likewise.
12124 * benchtests/bench-mempcpy-ifunc.c: Likewise.
12125 * benchtests/bench-memrchr-ifunc.c: Likewise.
12126 * benchtests/bench-memset-ifunc.c: Likewise.
12127 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
12128 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
12129 * benchtests/bench-stpcpy-ifunc.c: Likewise.
12130 * benchtests/bench-stpncpy-ifunc.c: Likewise.
12131 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
12132 * benchtests/bench-strcasestr-ifunc.c: Likewise.
12133 * benchtests/bench-strcat-ifunc.c: Likewise.
12134 * benchtests/bench-strchr-ifunc.c: Likewise.
12135 * benchtests/bench-strchrnul-ifunc.c: Likewise.
12136 * benchtests/bench-strcmp-ifunc.c: Likewise.
12137 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
12138 * benchtests/bench-strcpy-ifunc.c: Likewise.
12139 * benchtests/bench-strcspn-ifunc.c: Likewise.
12140 * benchtests/bench-strlen-ifunc.c: Likewise.
12141 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
12142 * benchtests/bench-strncat-ifunc.c: Likewise.
12143 * benchtests/bench-strncmp-ifunc.c: Likewise.
12144 * benchtests/bench-strncpy-ifunc.c: Likewise.
12145 * benchtests/bench-strnlen-ifunc.c: Likewise.
12146 * benchtests/bench-strpbrk-ifunc.c: Likewise.
12147 * benchtests/bench-strrchr-ifunc.c: Likewise.
12148 * benchtests/bench-strsep-ifunc.c: Likewise.
12149 * benchtests/bench-strspn-ifunc.c: Likewise.
12150 * benchtests/bench-strstr-ifunc.c: Likewise.
12152 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12154 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
12156 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12158 * resolv/netdb.h: Use __glibc_reserved instead __unused.
12159 * rt/aio.h: Likewise.
12160 * sysdeps/gnu/bits/utmp.h: Likewise.
12161 * sysdeps/gnu/bits/utmpx.h: Likewise.
12162 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12163 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
12164 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
12165 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
12166 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
12167 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
12168 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
12169 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
12170 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
12171 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12172 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12173 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12174 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
12175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
12176 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12177 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
12178 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12179 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12180 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12181 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
12182 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
12183 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
12184 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
12185 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12186 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12187 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12188 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
12189 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12190 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12191 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12192 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
12193 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
12194 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
12195 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12196 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12197 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
12198 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12199 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12200 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12201 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
12202 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12203 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12205 2013-11-25 Carlos O'Donell <carlos@redhat.com>
12208 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
12209 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
12211 2013-11-25 Joseph Myers <joseph@codesourcery.com>
12213 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
12214 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12217 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12219 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
12220 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
12221 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
12222 (__fesetround): Remove define.
12223 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
12224 rounding and exceptions handling.
12225 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
12226 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
12227 (__fe_nomask_env): Likewise.
12228 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
12229 __fegetround instead of fegetround.
12230 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12231 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12233 2013-11-21 Roland McGrath <roland@hack.frob.com>
12235 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
12238 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
12240 2013-11-21 Meador Inge <meadori@codesourcery.com>
12243 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
12244 (encrypt_r): Likewise.
12245 * malloc/obstack.h (obstack_free): Likewise.
12246 * posix/unistd.h (encrypt): Likewise.
12248 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
12250 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
12251 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
12252 DL_CALL_DT_FINI() that call the functions directly.
12253 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
12254 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
12255 * elf/dl-fini.c: Likewise.
12257 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
12259 * malloc/hooks.c (memalign_check): Add alignment rounding.
12260 * malloc/malloc.c (_mid_memalign): New function.
12261 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
12262 Implement by calling _mid_memalign.
12263 * manual/probes.texi (Memory Allocation Probes): Remove
12264 memory_valloc_retry and memory_pvalloc_retry.
12266 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12268 * locale/programs/locarchive.c (open_archive): Add const
12269 qualifier to ARCHIVEFNAME and copy default fname to
12273 * libio/tst-widetext.input: Rename Oriya to Odia.
12274 * locale/iso-639.def: Likewise.
12276 * manual/probes.texi (Mathematical Function Probes): Add
12277 documentation for sin, cos, asin and acos probes.
12278 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
12279 (__sin32): Add slowasin probe.
12280 (__cos32): Add slowacos probe.
12281 (__mpsin): Add slowsin probe.
12282 (__mpcos): Add slowcos probe.
12284 2013-11-19 Joseph Myers <joseph@codesourcery.com>
12287 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
12288 thread-local __sim_exceptions_thread and global
12289 __sim_exceptions_global.
12290 (__sim_disabled_exceptions): Change to thread-local
12291 __sim_disabled_exceptions_thread and global
12292 __sim_disabled_exceptions_global.
12293 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12294 and global __sim_round_mode_global.
12295 (__simulate_exceptions): Use thread-local floating-point state and
12296 set global state from it as needed.
12297 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
12298 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
12299 __sim_round_mode_thread.
12300 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
12301 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
12302 and global __sim_exceptions_global.
12303 (__sim_disabled_exceptions): Change to thread-local
12304 __sim_disabled_exceptions_thread and global
12305 __sim_disabled_exceptions_global.
12306 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12307 and global __sim_round_mode_global.
12308 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
12309 (SIM_SET_GLOBAL): Likewise.
12310 * sysdeps/powerpc/soft-fp/sfp-machine.h
12311 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
12312 __sim_round_mode_thread.
12313 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
12314 __sim_disabled_exceptions_thread.
12315 (__sim_exceptions): Change to __sim_exceptions_thread.
12316 (__sim_disabled_exceptions): Change to
12317 __sim_disabled_exceptions_thread.
12318 (__sim_round_mode): Change to __sim_round_mode_thread.
12319 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
12320 thread-local floating-point state and set global state from it as
12322 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
12323 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
12324 (__sim_disabled_exceptions): Remove extern declaration.
12325 (feenableexcept): Use thread-local floating-point state and set
12326 global state from it as needed.
12327 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
12328 extern declaration.
12329 (__sim_disabled_exceptions): Likewise.
12330 (__sim_round_mode): Likewise.
12331 (__fegetenv): Use thread-local floating-point state.
12332 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
12333 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12334 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
12335 floating-point state and set global state from it as needed.
12336 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
12337 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12338 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
12340 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12341 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
12343 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
12344 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
12345 Use __sim_round_mode_thread.
12346 * math/test-fenv-tls.c: New file.
12347 * math/Makefile (tests): Add test-fenv-tls.
12348 ($(objpfx)test-fenv-tls): Depend on
12349 $(common-objpfx)nptl/libpthread.so.
12351 2013-11-19 Andreas Schwab <schwab@suse.de>
12353 * locale/programs/locale.c (show_info): Decode wordarray elements.
12354 * locale/categories.def (LC_MONETARY): Add element for
12355 _NL_MONETARY_CRNCYSTR.
12356 * locale/C-monetary.c (conversion_rate): New variable.
12357 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
12360 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
12362 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
12363 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
12365 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12367 * elf/Makefile (tst-auxv): New test.
12368 * elf/tst-auxv.c: New
12369 * elf/rtld.c (dl_main): Adjust AT_EXECFN
12371 2013-11-18 Joseph Myers <joseph@codesourcery.com>
12373 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
12374 (hidden_proto): Caller changed.
12375 (hidden_tls_proto): New macro.
12376 (libc_hidden_tls_proto): Likewise.
12377 (rtld_hidden_tls_proto): Likewise.
12378 (libm_hidden_tls_proto): Likewise.
12379 (libresolv_hidden_tls_proto): Likewise.
12380 (librt_hidden_tls_proto): Likewise.
12381 (libdl_hidden_tls_proto): Likewise.
12382 (libnss_files_hidden_tls_proto): Likewise.
12383 (libnsl_hidden_tls_proto): Likewise.
12384 (libnss_nisplus_hidden_tls_proto): Likewise.
12385 (libutil_hidden_tls_proto): Likewise.
12387 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
12390 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
12391 (decompose_rpath): Defer expansion to fillin_rpath.
12392 (_dl_init_paths): Pass linkmap to fillin_rpath.
12394 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12396 * benchtests/Makefile: Add strsep.
12397 * benchtests/bench-strsep.c: New file: strsep benchtest.
12398 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
12400 2013-11-18 Andreas Schwab <schwab@suse.de>
12402 * locale/programs/locale.c (show_info) [case byte]: Check for
12403 '\377' instead of '\177'.
12404 * locale/C-monetary.c (not_available): Always use "\377".
12405 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
12406 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
12407 detect unavailable sign_posn locale elements.
12408 * locale/localeconv.c (__localeconv): For grouping and
12409 mon_grouping handle "\177" and "\377" like no grouping.
12410 (INT_ELEM): New macro. Use it to set all numeric members.
12411 * locale/programs/ld-monetary.c (monetary_read)
12412 <tok_mon_grouping>: Normalize single -1 to the empty string.
12413 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
12416 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
12419 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
12420 when we match (nil).
12421 * stdio-common/tst-sscanf.c (struct test): Add testcase.
12423 2013-11-16 Joseph Myers <joseph@codesourcery.com>
12425 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
12426 (NO_TEST_INLINE): Update value.
12427 (ERRNO_UNCHANGED): Likewise.
12428 (ERRNO_EDOM): Likewise.
12429 (ERRNO_ERANGE): Likewise.
12430 (IGNORE_RESULT): Likewise.
12431 (check_float_internal): Check signs of NaN results if
12432 TEST_NAN_SIGN used.
12433 (check_complex): Pass TEST_NAN_SIGN flag through to second
12434 check_float_internal call.
12435 (copysign_test_data): Add tests with quiet NaNs as second
12436 argument. Use TEST_NAN_SIGN.
12437 (fabs_test_data): Add test of negative quiet NaN argument. Use
12439 (signbit_test_data): Add tests of quiet NaN argument.
12440 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
12442 * math/gen-libm-test.pl (show_exceptions): Take extra argument
12444 (parse_args): Handle function results specified as IGNORE.
12445 * math/libm-test.inc (IGNORE_RESULT): New macro.
12446 (check_float_internal): Do not check numerical result if flag
12448 (check_complex): Pass through IGNORE_RESULT to second
12449 check_float_internal call.
12450 (check_int): Do not check numerical result if flag IGNORE_RESULT
12452 (check_long): Likewise.
12453 (check_bool): Likewise.
12454 (check_longlong): Likewise.
12455 (lrint_test_data): Add tests of infinite and NaN arguments.
12456 (lrint_tonearest_test_data): Likewise.
12457 (lrint_towardzero_test_data): Likewise.
12458 (lrint_downward_test_data): Likewise.
12459 (lrint_upward_test_data): Likewise.
12460 (llrint_test_data): Likewise.
12461 (llrint_tonearest_test_data): Likewise.
12462 (llrint_towardzero_test_data): Likewise.
12463 (llrint_downward_test_data): Likewise.
12464 (llrint_upward_test_data): Likewise.
12465 (lround_test_data): Likewise.
12466 (llround_test_data): Likewise.
12468 * math/libm-test.inc (NO_TEST_INLINE): New macro.
12469 (ERRNO_UNCHANGED): Update value.
12470 (ERRNO_EDOM): Likewise.
12471 (ERRNO_ERANGE): Likewise.
12472 (NO_TEST_INLINE_FLOAT): New macro.
12473 (NO_TEST_INLINE_DOUBLE): Likewise.
12474 (enable_test): New function.
12475 (RUN_TEST_f_f): Check enable_test before running test.
12476 (RUN_TEST_2_f): Likewise.
12477 (RUN_TEST_fff_f): Likewise.
12478 (RUN_TEST_c_f): Likewise.
12479 (RUN_TEST_f_f1): Likewise.
12480 (RUN_TEST_fF_f1): Likewise.
12481 (RUN_TEST_fI_f1): Likewise.
12482 (RUN_TEST_ffI_f1): Likewise.
12483 (RUN_TEST_c_c): Likewise.
12484 (RUN_TEST_cc_c): Likewise.
12485 (RUN_TEST_f_i): Likewise.
12486 (RUN_TEST_f_i_tg): Likewise.
12487 (RUN_TEST_ff_i_tg): Likewise.
12488 (RUN_TEST_f_b): Likewise.
12489 (RUN_TEST_f_b_tg): Likewise.
12490 (RUN_TEST_f_l): Likewise.
12491 (RUN_TEST_f_L): Likewise.
12492 (RUN_TEST_fFF_11): Likewise.
12493 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
12495 (cosh_test_data): Likewise.
12496 (exp_test_data): Likewise.
12497 (expm1_test_data): Likewise.
12498 (hypot_test_data): Likewise.
12499 (pow_test_data): Likewise.
12500 (sinh_test_data): Likewise.
12501 (tanh_test_data): Likewise.
12502 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
12505 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
12506 tests with quiet NaN input and output.
12507 (acosh_test_data): Likewise.
12508 (asin_test_data): Likewise.
12509 (asinh_test_data): Likewise.
12510 (atan_test_data): Likewise.
12511 (atanh_test_data): Likewise.
12512 (atan2_test_data): Likewise.
12513 (cbrt_test_data): Likewise.
12514 (cos_test_data): Likewise.
12515 (cosh_test_data): Likewise.
12516 (erf_test_data): Likewise.
12517 (erfc_test_data): Likewise.
12518 (exp_test_data): Likewise.
12519 (exp10_test_data): Likewise.
12520 (exp2_test_data): Likewise.
12521 (expm1_test_data): Likewise.
12522 (hypot_test_data): Likewise.
12523 (j0_test_data): Likewise.
12524 (j1_test_data): Likewise.
12525 (jn_test_data): Likewise.
12526 (lgamma_test_data): Likewise.
12527 (log_test_data): Likewise.
12528 (log10_test_data): Likewise.
12529 (log1p_test_data): Likewise.
12530 (log2_test_data): Likewise.
12531 (pow_test_data): Likewise.
12532 (scalb_test_data): Likewise.
12533 (sin_test_data): Likewise.
12534 (sincos_test_data): Likewise.
12535 (sinh_test_data): Likewise.
12536 (tan_test_data): Likewise.
12537 (tanh_test_data): Likewise.
12538 (tgamma_test_data): Likewise.
12539 (y0_test_data): Likewise.
12540 (y1_test_data): Likewise.
12541 (yn_test_data): Likewise.
12544 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
12545 argument being NaN and avoid computations with second argument in
12547 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12548 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12549 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12551 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
12553 * locale/iso-639.def: Add Chitwani Tharu (the).
12555 2013-11-14 Andreas Schwab <schwab@suse.de>
12557 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
12558 word instead of empty string.
12560 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12563 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
12564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12565 (__fe_nomask_env): Likewise.
12567 2013-11-13 Steve Ellcey <sellcey@mips.com>
12569 * benchtests/bench-timing.h: Include time.h.
12571 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
12574 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
12576 * sysdeps/unix/sysv/linux/configure: Regenerated.
12578 2013-11-13 Joseph Myers <joseph@codesourcery.com>
12581 * stdlib/strtod_l.c (round_and_return): Do not consider
12582 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
12583 exponent one less than half the least subnormal exponent.
12584 * stdlib/test-strtod-round-data: Add more tests.
12585 * stdlib/tst-strtod-round.c (tests): Regenerated.
12587 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12590 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
12591 (__fe_mask_env): Likewise.
12592 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
12593 libm_hidden_proto and add function prototype.
12594 (__fe_mask_env): Add function prototype.
12595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12596 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
12597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
12598 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
12599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12600 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
12602 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12604 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
12605 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
12607 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12609 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
12610 of htab_find_slot().
12612 2013-11-11 David S. Miller <davem@davemloft.net>
12615 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
12616 symbol in the non-vis3 case in static builds.
12617 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
12618 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
12619 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
12620 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
12622 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12625 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
12628 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12630 * benchtests/Makefile: Add bench-strtod.
12631 * benchtests/bench-strtod.c: New file: strtod benchtest
12633 2013-11-11 Andreas Schwab <schwab@suse.de>
12636 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
12637 terminating NUL in key length.
12639 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12641 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12642 Add artificial ODP entry for vDSO symbol for PPC64.
12643 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
12644 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
12646 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
12649 * nss/getent.c (services_keys): Recognize services starting with digit.
12651 2013-11-06 David S. Miller <davem@davemloft.net>
12654 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
12655 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
12657 2013-11-06 Will Newton <will.newton@linaro.org>
12659 * manual/memory.texi (Malloc Examples): Remove register
12660 keyword from examples.
12662 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
12664 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
12666 2013-11-04 Joseph Myers <joseph@codesourcery.com>
12669 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
12670 depending on [__GCC_IEC_559 > 0].
12671 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
12672 depending on [__GCC_IEC_559_COMPLEX > 0].
12674 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
12676 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
12679 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
12681 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
12683 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
12686 * malloc/malloc (malloc_info): Do not handle first bin as
12689 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
12691 * locale/iso-639.def: Add Central Nahuatl (nhn).
12693 2013-11-01 Bruno Haible <bruno@clisp.org>
12696 * manual/math.texi (BSD Random): Specify range upper bound as
12699 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
12701 * locale/iso-639.def: Add Meadow Mari (mhr).
12703 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
12705 [BZ #14752], [BZ #15763]
12706 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
12708 * rt/tst_shm.c: Add test for escaping directory.
12710 2013-10-31 Andreas Schwab <schwab@suse.de>
12713 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
12714 followed by 'x' as part of digit sequence.
12715 * stdio-common/tst-sscanf.c (double_tests2): New tests.
12717 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
12720 * configure.ac: allow GNU Make 4.0 and greater.
12721 * configure: Regenerated.
12723 2013-10-30 Will Newton <will.newton@linaro.org>
12726 * malloc/hooks.c (memalign_check): Limit alignment to the
12727 maximum representable power of two.
12728 * malloc/malloc.c (__libc_memalign): Likewise.
12729 * malloc/tst-memalign.c (do_test): Add test for very
12730 large alignment values.
12731 * malloc/tst-posix_memalign.c (do_test): Likewise.
12733 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
12736 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
12737 (munmap_chunk): Likewise.
12738 (mremap_chunk): Likewise.
12740 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
12743 * stdlib/div.c (div): Remove obsolete code.
12744 * stdlib/ldiv.c (ldiv): Likewise.
12745 * stdlib/lldiv.c (lldiv): Likewise.
12747 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12750 * nss/nss_files/files-XXX.c (get_contents_ret): New
12752 (get_contents): New function.
12753 (internal_getent): Use it. Expand size of LINEBUFLEN.
12755 2013-10-30 Mike Frysinger <vapier@gentoo.org>
12757 * configure.in: Moved to ...
12758 * configure.ac: ... here. Change reference to configure.in
12760 * sysdeps/arm/preconfigure.ac: ... here.
12761 configure.in to configure.ac.
12762 * sysdeps/gnu/configure.in: Moved to ...
12763 * sysdeps/gnu/configure.ac: ... here.
12764 * sysdeps/i386/configure.in: Moved to ...
12765 * sysdeps/i386/configure.ac: ... here.
12766 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
12767 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
12768 * sysdeps/mach/configure.in: Moved to ...
12769 * sysdeps/mach/configure.ac: ... here.
12770 * sysdeps/mach/hurd/configure.in: Moved to ...
12771 * sysdeps/mach/hurd/configure.ac: ... here.
12772 * sysdeps/powerpc/configure.in: Moved to ...
12773 * sysdeps/powerpc/configure.ac: ... here.
12774 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
12775 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
12776 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
12777 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
12778 * sysdeps/s390/s390-32/configure.in: Moved to ...
12779 * sysdeps/s390/s390-32/configure.ac: ... here.
12780 * sysdeps/s390/s390-64/configure.in: Moved to ...
12781 * sysdeps/s390/s390-64/configure.ac: ... here.
12782 * sysdeps/sh/configure.in: Moved to ...
12783 * sysdeps/sh/configure.ac: ... here.
12784 * sysdeps/sparc/configure.in: Moved to ...
12785 * sysdeps/sparc/configure.ac: ... here.
12786 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
12787 * sysdeps/unix/sysv/linux/configure.ac: ... here.
12788 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
12789 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
12790 * sysdeps/x86_64/configure.in: Moved to ...
12791 * sysdeps/x86_64/configure.ac: ... here.
12792 * sysdeps/x86_64/preconfigure.in: Moved to ...
12793 * sysdeps/x86_64/preconfigure.ac: ... here.
12794 * aclocal.m4: Change reference to configure.in to configure.ac.
12795 * config.h.in: Likewise.
12796 * manual/install.texi: Likewise.
12797 * manual/maint.texi: Likewise.
12798 * Makefile: Likewise.
12799 * malloc/Makefile: Likewise.
12800 * nscd/Makefile: Likewise.
12801 * Makeconfig: Change reference to configure.in and
12802 preconfigure.in to configure.ac and preconfigure.ac
12804 * INSTALL: Regenerated.
12805 * configure: Likewise.
12806 * sysdeps/gnu/configure: Likewise.
12807 * sysdeps/i386/configure: Likewise.
12808 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
12809 * sysdeps/mach/configure: Likewise.
12810 * sysdeps/mach/hurd/configure: Likewise.
12811 * sysdeps/powerpc/configure: Likewise.
12812 * sysdeps/powerpc/powerpc32/configure: Likewise.
12813 * sysdeps/powerpc/powerpc64/configure: Likewise.
12814 * sysdeps/s390/s390-32/configure: Likewise.
12815 * sysdeps/s390/s390-64/configure: Likewise.
12816 * sysdeps/sh/configure: Likewise.
12817 * sysdeps/sparc/configure: Likewise.
12818 * sysdeps/unix/sysv/linux/configure: Likewise.
12819 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
12820 * sysdeps/x86_64/configure: Likewise.
12821 * sysdeps/x86_64/preconfigure: Likewise.
12823 2013-10-29 Andreas Schwab <schwab@suse.de>
12825 * stdio-common/Makefile (tst-swscanf-ENV): Define.
12827 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12829 * benchtests/pow-inputs: Add new inputs.
12831 * benchtests/exp-inputs: Add new inputs.
12833 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
12834 conditional check for return value.
12835 (__cos32): Likewise.
12837 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12839 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
12840 to provide a boost for large inputs with word alignment.
12841 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
12842 implementation based on optimized PPC64 strcpy.
12843 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
12844 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
12845 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
12846 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
12848 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12851 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
12853 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12856 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
12857 * time/tst-strptime.c (day_tests): Add testcase.
12859 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12862 * manual/pattern.texi: Acknowledge that fnmatch can fail.
12864 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
12867 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
12868 MAP_FAILED on error.
12870 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12873 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
12874 heap for large requests.
12876 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
12879 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
12880 result if the result has no associated interface.
12881 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
12882 interface for all 127.X.Y.Z addresses.
12884 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
12886 * locale/iso-639.def: Add Ligurian (lij)
12888 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
12891 * sunrpc/rpc_main.c: Document rpcgen -5.
12893 2013-10-19 Michael Stahl <mstahl@redhat.com>
12895 * elf/rtld.c (do_preload): Print the reason why preloading failed.
12897 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12900 * posix/glob.c: Match only directories when trailing slash is present.
12901 * posix/tst-gnuglob.c (my_opendir): Do not open files.
12902 (main): Add testcase.
12904 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12907 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
12909 2013-10-18 Carlos O'Donell <carlos@redhat.com>
12911 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
12912 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
12913 AUTH_DES and cindex for FIPS 140-2.
12914 (DES Encryption): Add cindex FIPS 46-3.
12916 * locale/locarchive.h (struct locarhandle): Add fname.
12917 * locale/programs/localedef.c (main): Pass ARGV[remaining]
12918 if an optional argument was specified to --list-archive,
12920 * locale/programs/locarchive.c (show_archive_content): Take new
12921 argument fname and pass it via ah.fname to open_archive.
12922 * locale/programs/localedef.h: Update decl.
12923 (open_archive): If AH->fname is non-null, open that file
12924 rather than the default file name, and don't ignore ENOENT.
12925 (create_archive): Set AH.fname to NULL.
12926 (delete_locales_from_archive): Likewise.
12927 (add_locales_to_archive): Likewise.
12928 * locale/programs/locfile.c (write_all_categories): Likewise.
12930 2013-10-18 Joseph Myers <joseph@codesourcery.com>
12931 Aldy Hernandez <aldyh@redhat.com>
12933 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
12934 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
12935 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
12936 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
12937 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
12938 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
12939 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
12940 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
12941 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
12942 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
12943 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
12944 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
12945 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
12946 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
12947 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
12949 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
12951 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
12953 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
12955 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
12956 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
12958 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
12959 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
12960 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
12961 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
12963 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
12964 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
12965 * sysdeps/powerpc/preconfigure: Likewise.
12966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12968 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
12969 Replace contents of file by #include of <fenv_libc.h>.
12970 * sysdeps/powerpc/soft-fp/sfp-machine.h
12971 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
12973 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
12974 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
12975 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
12976 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
12977 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
12978 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
12979 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
12980 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
12981 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
12982 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
12983 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
12984 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
12985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12986 Allow copysignl PLT reference to be missing.
12988 2013-10-18 Richard Sandiford <richard@codesourcery.com>
12989 Joseph Myers <joseph@codesourcery.com
12992 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
12994 (add_to_tablewc): Assert sequence of wide characters is nonempty.
12996 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12998 * elf/tst-tls-dlinfo.c: Don't include tls.h.
12999 * elf/tst-tls1.c: Likewise.
13000 * elf/tst-tls10.h: Likewise.
13001 * elf/tst-tls14.c: Likewise.
13002 * elf/tst-tls2.c: Likewise.
13003 * elf/tst-tls3.c: Likewise.
13004 * elf/tst-tls4.c: Likewise.
13005 * elf/tst-tls5.c: Likewise.
13006 * elf/tst-tls6.c: Likewise.
13007 * elf/tst-tls7.c: Likewise.
13008 * elf/tst-tls8.c: Likewise.
13009 * elf/tst-tls9.c: Likewise.
13010 * elf/tst-tlsmod1.c: Likewise.
13011 * elf/tst-tlsmod13.c: Likewise.
13012 * elf/tst-tlsmod13a.c: Likewise.
13013 * elf/tst-tlsmod14a.c: Likewise.
13014 * elf/tst-tlsmod16a.c: Likewise.
13015 * elf/tst-tlsmod16b.c: Likewise.
13016 * elf/tst-tlsmod2.c: Likewise.
13017 * elf/tst-tlsmod3.c: Likewise.
13018 * elf/tst-tlsmod4.c: Likewise.
13019 * elf/tst-tlsmod5.c: Likewise.
13020 * elf/tst-tlsmod6.c: Likewise.
13022 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
13025 * malloc/malloc.c: remove checks for statistics.
13027 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
13030 * inet/inet_net.c (inet_network): Detect additional invalid strings.
13031 * inet/tst-network.c: Add testcase.
13033 2013-10-17 Andreas Schwab <schwab@suse.de>
13036 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13037 to determine canonical name.
13039 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
13041 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13042 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13043 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13044 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13045 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13046 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13047 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13048 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13049 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13050 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13051 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13052 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13053 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13054 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13055 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13056 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13057 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13058 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13059 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13060 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13061 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13062 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13063 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13064 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13065 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13066 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13067 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13068 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13069 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13070 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13071 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13072 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13073 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13074 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13075 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13076 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13077 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13078 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13079 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13080 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13081 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13082 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13083 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13084 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13085 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13086 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13087 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13088 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13089 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13090 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13091 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13092 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13093 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13094 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13095 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13096 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13097 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13098 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13100 2013-10-17 Joseph Myers <joseph@codesourcery.com>
13103 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
13104 make result into a quiet NaN.
13106 2013-10-16 Joseph Myers <joseph@codesourcery.com>
13108 * soft-fp/adddf3.c: Fix horizontal whitespace.
13109 * soft-fp/addsf3.c: Likewise.
13110 * soft-fp/addtf3.c: Likewise.
13111 * soft-fp/divdf3.c: Likewise.
13112 * soft-fp/divsf3.c: Likewise.
13113 * soft-fp/divtf3.c: Likewise.
13114 * soft-fp/double.h: Likewise.
13115 * soft-fp/eqdf2.c: Likewise.
13116 * soft-fp/eqsf2.c: Likewise.
13117 * soft-fp/eqtf2.c: Likewise.
13118 * soft-fp/extenddftf2.c: Likewise.
13119 * soft-fp/extended.h: Likewise.
13120 * soft-fp/extendsfdf2.c: Likewise.
13121 * soft-fp/extendsftf2.c: Likewise.
13122 * soft-fp/extendxftf2.c: Likewise.
13123 * soft-fp/fixdfdi.c: Likewise.
13124 * soft-fp/fixdfsi.c: Likewise.
13125 * soft-fp/fixdfti.c: Likewise.
13126 * soft-fp/fixsfdi.c: Likewise.
13127 * soft-fp/fixsfsi.c: Likewise.
13128 * soft-fp/fixsfti.c: Likewise.
13129 * soft-fp/fixtfdi.c: Likewise.
13130 * soft-fp/fixtfsi.c: Likewise.
13131 * soft-fp/fixtfti.c: Likewise.
13132 * soft-fp/fixunsdfdi.c: Likewise.
13133 * soft-fp/fixunsdfsi.c: Likewise.
13134 * soft-fp/fixunsdfti.c: Likewise.
13135 * soft-fp/fixunssfdi.c: Likewise.
13136 * soft-fp/fixunssfsi.c: Likewise.
13137 * soft-fp/fixunssfti.c: Likewise.
13138 * soft-fp/fixunstfdi.c: Likewise.
13139 * soft-fp/fixunstfsi.c: Likewise.
13140 * soft-fp/fixunstfti.c: Likewise.
13141 * soft-fp/floatdidf.c: Likewise.
13142 * soft-fp/floatdisf.c: Likewise.
13143 * soft-fp/floatditf.c: Likewise.
13144 * soft-fp/floatsidf.c: Likewise.
13145 * soft-fp/floatsisf.c: Likewise.
13146 * soft-fp/floatsitf.c: Likewise.
13147 * soft-fp/floattidf.c: Likewise.
13148 * soft-fp/floattisf.c: Likewise.
13149 * soft-fp/floattitf.c: Likewise.
13150 * soft-fp/floatundidf.c: Likewise.
13151 * soft-fp/floatundisf.c: Likewise.
13152 * soft-fp/floatunditf.c: Likewise.
13153 * soft-fp/floatunsidf.c: Likewise.
13154 * soft-fp/floatunsisf.c: Likewise.
13155 * soft-fp/floatunsitf.c: Likewise.
13156 * soft-fp/floatuntidf.c: Likewise.
13157 * soft-fp/floatuntisf.c: Likewise.
13158 * soft-fp/floatuntitf.c: Likewise.
13159 * soft-fp/fmadf4.c: Likewise.
13160 * soft-fp/fmasf4.c: Likewise.
13161 * soft-fp/fmatf4.c: Likewise.
13162 * soft-fp/gedf2.c: Likewise.
13163 * soft-fp/gesf2.c: Likewise.
13164 * soft-fp/getf2.c: Likewise.
13165 * soft-fp/ledf2.c: Likewise.
13166 * soft-fp/lesf2.c: Likewise.
13167 * soft-fp/letf2.c: Likewise.
13168 * soft-fp/muldf3.c: Likewise.
13169 * soft-fp/mulsf3.c: Likewise.
13170 * soft-fp/multf3.c: Likewise.
13171 * soft-fp/negdf2.c: Likewise.
13172 * soft-fp/negsf2.c: Likewise.
13173 * soft-fp/negtf2.c: Likewise.
13174 * soft-fp/op-1.h: Likewise.
13175 * soft-fp/op-2.h: Likewise.
13176 * soft-fp/op-4.h: Likewise.
13177 * soft-fp/op-8.h: Likewise.
13178 * soft-fp/op-common.h: Likewise.
13179 * soft-fp/quad.h: Likewise.
13180 * soft-fp/single.h: Likewise.
13181 * soft-fp/soft-fp.h: Likewise.
13182 * soft-fp/sqrtdf2.c: Likewise.
13183 * soft-fp/sqrtsf2.c: Likewise.
13184 * soft-fp/sqrttf2.c: Likewise.
13185 * soft-fp/subdf3.c: Likewise.
13186 * soft-fp/subsf3.c: Likewise.
13187 * soft-fp/subtf3.c: Likewise.
13188 * soft-fp/truncdfsf2.c: Likewise.
13189 * soft-fp/trunctfdf2.c: Likewise.
13190 * soft-fp/trunctfsf2.c: Likewise.
13191 * soft-fp/trunctfxf2.c: Likewise.
13192 * soft-fp/unorddf2.c: Likewise.
13193 * soft-fp/unordsf2.c: Likewise.
13194 * soft-fp/unordtf2.c: Likewise.
13196 2013-10-15 Joseph Myers <joseph@codesourcery.com>
13198 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
13199 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
13201 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
13203 * elf/dl-libc.c: Clear initfini list after freeing.
13205 2013-10-14 Joseph Myers <joseph@codesourcery.com>
13207 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
13208 * soft-fp/addsf3.c: Likewise.
13209 * soft-fp/addtf3.c: Likewise.
13210 * soft-fp/divdf3.c: Likewise.
13211 * soft-fp/divsf3.c: Likewise.
13212 * soft-fp/divtf3.c: Likewise.
13213 * soft-fp/double.h: Likewise.
13214 * soft-fp/eqdf2.c: Likewise.
13215 * soft-fp/eqsf2.c: Likewise.
13216 * soft-fp/eqtf2.c: Likewise.
13217 * soft-fp/extenddftf2.c: Likewise.
13218 * soft-fp/extended.h: Likewise.
13219 * soft-fp/extendsfdf2.c: Likewise.
13220 * soft-fp/extendsftf2.c: Likewise.
13221 * soft-fp/extendxftf2.c: Likewise.
13222 * soft-fp/fixdfdi.c: Likewise.
13223 * soft-fp/fixdfsi.c: Likewise.
13224 * soft-fp/fixdfti.c: Likewise.
13225 * soft-fp/fixsfdi.c: Likewise.
13226 * soft-fp/fixsfsi.c: Likewise.
13227 * soft-fp/fixsfti.c: Likewise.
13228 * soft-fp/fixtfdi.c: Likewise.
13229 * soft-fp/fixtfsi.c: Likewise.
13230 * soft-fp/fixtfti.c: Likewise.
13231 * soft-fp/fixunsdfdi.c: Likewise.
13232 * soft-fp/fixunsdfsi.c: Likewise.
13233 * soft-fp/fixunsdfti.c: Likewise.
13234 * soft-fp/fixunssfdi.c: Likewise.
13235 * soft-fp/fixunssfsi.c: Likewise.
13236 * soft-fp/fixunssfti.c: Likewise.
13237 * soft-fp/fixunstfdi.c: Likewise.
13238 * soft-fp/fixunstfsi.c: Likewise.
13239 * soft-fp/fixunstfti.c: Likewise.
13240 * soft-fp/floatdidf.c: Likewise.
13241 * soft-fp/floatdisf.c: Likewise.
13242 * soft-fp/floatditf.c: Likewise.
13243 * soft-fp/floatsidf.c: Likewise.
13244 * soft-fp/floatsisf.c: Likewise.
13245 * soft-fp/floatsitf.c: Likewise.
13246 * soft-fp/floattidf.c: Likewise.
13247 * soft-fp/floattisf.c: Likewise.
13248 * soft-fp/floattitf.c: Likewise.
13249 * soft-fp/floatundidf.c: Likewise.
13250 * soft-fp/floatundisf.c: Likewise.
13251 * soft-fp/floatunsidf.c: Likewise.
13252 * soft-fp/floatunsisf.c: Likewise.
13253 * soft-fp/floatuntidf.c: Likewise.
13254 * soft-fp/floatuntisf.c: Likewise.
13255 * soft-fp/floatuntitf.c: Likewise.
13256 * soft-fp/fmadf4.c: Likewise.
13257 * soft-fp/fmasf4.c: Likewise.
13258 * soft-fp/fmatf4.c: Likewise.
13259 * soft-fp/gedf2.c: Likewise.
13260 * soft-fp/gesf2.c: Likewise.
13261 * soft-fp/getf2.c: Likewise.
13262 * soft-fp/ledf2.c: Likewise.
13263 * soft-fp/lesf2.c: Likewise.
13264 * soft-fp/letf2.c: Likewise.
13265 * soft-fp/muldf3.c: Likewise.
13266 * soft-fp/mulsf3.c: Likewise.
13267 * soft-fp/multf3.c: Likewise.
13268 * soft-fp/negdf2.c: Likewise.
13269 * soft-fp/negsf2.c: Likewise.
13270 * soft-fp/negtf2.c: Likewise.
13271 * soft-fp/op-1.h: Likewise.
13272 * soft-fp/op-2.h: Likewise.
13273 * soft-fp/op-4.h: Likewise.
13274 * soft-fp/op-8.h: Likewise.
13275 * soft-fp/op-common.h: Likewise.
13276 * soft-fp/quad.h: Likewise.
13277 * soft-fp/single.h: Likewise.
13278 * soft-fp/soft-fp.h: Likewise.
13279 * soft-fp/sqrtdf2.c: Likewise.
13280 * soft-fp/sqrtsf2.c: Likewise.
13281 * soft-fp/sqrttf2.c: Likewise.
13282 * soft-fp/subdf3.c: Likewise.
13283 * soft-fp/subsf3.c: Likewise.
13284 * soft-fp/subtf3.c: Likewise.
13285 * soft-fp/truncdfsf2.c: Likewise.
13286 * soft-fp/trunctfdf2.c: Likewise.
13287 * soft-fp/trunctfsf2.c: Likewise.
13288 * soft-fp/trunctfxf2.c: Likewise.
13289 * soft-fp/unorddf2.c: Likewise.
13290 * soft-fp/unordsf2.c: Likewise.
13291 * soft-fp/unordtf2.c: Likewise.
13293 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
13296 * misc/error.c (error_tail): Fix possible buffer overflow.
13298 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
13301 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
13304 2013-10-14 P. J. McDermott <pj@pehjota.net>
13307 * elf/ldd.bash.in (try_trace): New function. Delete previous code
13308 testing pipefail option.
13310 2013-10-12 Joseph Myers <joseph@codesourcery.com>
13312 * soft-fp/double.h: Indent preprocessor directives inside #if.
13313 * soft-fp/extended.h: Likewise.
13314 * soft-fp/op-2.h: Likewise.
13315 * soft-fp/op-4.h: Likewise.
13316 * soft-fp/op-common.h: Likewise.
13317 * soft-fp/quad.h: Likewise.
13318 * soft-fp/single.h: Likewise.
13319 * soft-fp/soft-fp.h: Likewise.
13321 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
13323 * iconv/iconv_prog.c: Fix typos.
13324 * stdio-common/psiginfo-data.h: Likewise.
13326 2013-10-12 Reuben Thomas <rrt@sc3d.org>
13329 * locale/setlocale.c: Fix typo.
13331 2013-10-12 Joseph Myers <joseph@codesourcery.com>
13334 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
13335 signaling NaN arguments.
13336 * soft-fp/unordsf2.c (__unordsf2): Likewise.
13337 * soft-fp/unordtf2.c (__unordtf2): Likewise.
13340 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
13341 unordered operands.
13342 * soft-fp/gesf2.c (__gesf2): Likewise.
13343 * soft-fp/getf2.c (__getf2): Likewise.
13344 * soft-fp/ledf2.c (__ledf2): Likewise.
13345 * soft-fp/lesf2.c (__lesf2): Likewise.
13346 * soft-fp/letf2.c (__letf2): Likewise.
13348 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
13349 * soft-fp/eqsf2.c (__eqsf2): Likewise.
13350 * soft-fp/eqtf2.c (__eqtf2): Likewise.
13351 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
13352 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
13353 * soft-fp/fixdfti.c (__fixdfti): Likewise.
13354 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
13355 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
13356 * soft-fp/fixsfti.c (__fixsfti): Likewise.
13357 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
13358 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
13359 * soft-fp/fixtfti.c (__fixtfti): Likewise.
13360 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
13361 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
13362 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
13363 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
13364 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
13365 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
13366 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
13367 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
13368 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
13369 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
13370 * soft-fp/floatdisf.c (__floatdisf): Likewise.
13371 * soft-fp/floatsisf.c (__floatsisf): Likewise.
13372 * soft-fp/floattidf.c (__floattidf): Likewise.
13373 * soft-fp/floattisf.c (__floattisf): Likewise.
13374 * soft-fp/floattitf.c (__floattitf): Likewise.
13375 * soft-fp/floatundidf.c (__floatundidf): Likewise.
13376 * soft-fp/floatundisf.c (__floatundisf): Likewise.
13377 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
13378 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
13379 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
13380 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
13381 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
13382 * soft-fp/gesf2.c (__gesf2): Likewise.
13383 * soft-fp/getf2.c (__getf2): Likewise.
13384 * soft-fp/ledf2.c (__ledf2): Likewise.
13385 * soft-fp/lesf2.c (__lesf2): Likewise.
13386 * soft-fp/letf2.c (__letf2): Likewise.
13388 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
13389 Undefine and redefine.
13390 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
13391 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
13392 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
13393 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
13394 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13395 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
13396 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13397 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
13398 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13399 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
13400 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13401 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
13402 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13403 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
13404 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13407 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
13408 without decrementing exponent if mantissa >= that for the
13409 denominator, not >.
13410 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
13411 denominator, not >. Decrement exponent in < case instead of
13412 incrementing in >= case.
13413 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
13414 without decrementing exponent if mantissa >= that for the
13415 denominator, not >.
13417 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
13418 computing saturated result for unsigned overflow.
13420 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13421 Jeff Law <law@redhat.com>
13423 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
13424 (atan2Mp): Add systemtap probe marker.
13425 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
13426 (__ieee754_log): Add systemtap probe marker.
13427 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
13428 (atanMp): Add systemtap probe marker.
13429 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
13430 (tanMp): Add systemtap probe marker.
13431 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
13432 (__slowexp): Add systemtap probe marker.
13433 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
13434 (__slowpow): Add systemtap probe marker.
13435 * manual/probes.texi: Document probes.
13437 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
13440 * libio/fileops.c (_IO_new_file_write): Return count of bytes
13442 (_IO_new_file_xsputn): Don't return EOF if nothing has been
13444 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
13445 written to buffer but not flushed.
13446 * libio/iofwrite_u.c: Likewise.
13447 * libio/iopadn.c: Return bytes returned even if EOF was
13449 * libio/iowpadn.c: Likewise.
13450 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
13451 if _IO_padn does not write the whole buffer.
13452 [!COMPILE_WPRINTF] (PAD): Likewise.
13454 2013-10-10 David S. Miller <davem@davemloft.net>
13456 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
13459 2013-10-10 Joseph Myers <joseph@codesourcery.com>
13461 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
13462 instead of FSF address.
13463 * soft-fp/fixdfti.c: Likewise.
13464 * soft-fp/fixsfti.c: Likewise.
13465 * soft-fp/fixtfti.c: Likewise.
13466 * soft-fp/fixunsdfti.c: Likewise.
13467 * soft-fp/fixunssfti.c: Likewise.
13468 * soft-fp/fixunstfti.c: Likewise.
13469 * soft-fp/floattidf.c: Likewise.
13470 * soft-fp/floattisf.c: Likewise.
13471 * soft-fp/floattitf.c: Likewise.
13472 * soft-fp/floatuntidf.c: Likewise.
13473 * soft-fp/floatuntisf.c: Likewise.
13474 * soft-fp/floatuntitf.c: Likewise.
13475 * soft-fp/trunctfxf2.c: Likewise.
13477 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
13478 * soft-fp/fixdfti.c: Likewise.
13479 * soft-fp/fixsfti.c: Likewise.
13480 * soft-fp/fixtfti.c: Likewise.
13481 * soft-fp/fixunsdfti.c: Likewise.
13482 * soft-fp/fixunssfti.c: Likewise.
13483 * soft-fp/fixunstfti.c: Likewise.
13484 * soft-fp/floattidf.c: Likewise.
13485 * soft-fp/floattisf.c: Likewise.
13486 * soft-fp/floattitf.c: Likewise.
13487 * soft-fp/floatuntidf.c: Likewise.
13488 * soft-fp/floatuntisf.c: Likewise.
13489 * soft-fp/floatuntitf.c: Likewise.
13490 * soft-fp/trunctfxf2.c: Likewise.
13492 2013-10-10 David S. Miller <davem@davemloft.net>
13494 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13496 2013-10-10 Joseph Myers <joseph@codsourcery.com>
13498 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13499 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
13500 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
13501 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
13502 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
13503 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
13504 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
13506 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
13507 for NaNs before doing comparisons on argument.
13508 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13511 2013-10-10 Will Newton <will.newton@linaro.org>
13513 * malloc/hooks.c (memalign_check): Ensure the value of bytes
13514 passed to _int_memalign does not overflow.
13516 2013-10-10 Torvald Riegel <triegel@redhat.com>
13518 * scripts/bench.pl: Add include-sources directive.
13519 * benchtests/README: Update documentation.
13521 2013-10-10 Joseph Myers <joseph@codesourcery.com>
13523 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
13524 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
13525 instead of FP_INIT_ROUNDMODE.
13526 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
13527 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
13530 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
13531 copy class of input value.
13532 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
13533 not handle exceptions.
13534 * soft-fp/negsf2.c (__negsf2): Likewise.
13535 * soft-fp/negtf2.c (__negtf2): Likewise.
13536 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
13538 2013-10-09 Joseph Myers <joseph@codesourcery.com>
13540 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
13541 semicolon. From Linux kernel.
13543 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
13545 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
13547 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
13550 * manual/socket.texi: Added statement about buffer
13551 for gethostbyname2_r.
13553 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
13555 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
13556 Use .p2align directive instead, throughout.
13557 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13558 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13559 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13560 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13561 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13562 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13563 * sysdeps/x86_64/strchr.S: Likewise.
13564 * sysdeps/x86_64/strrchr.S: Likewise.
13566 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13568 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
13570 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
13572 * sysdeps/generic/math_private.h (__mpsin1): Remove
13574 (__mpcos1): Likewise.
13575 (__mpsin): New argument __range_reduce.
13576 (__mpcos): Likewise.
13577 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13578 (slow): Use __mpsin and __mpcos.
13582 (sloww1): Likewise.
13583 (sloww2): Likewise.
13584 (bsloww): Likewise.
13585 (bsloww1): Likewise.
13586 (bsloww2): Likewise.
13587 (cslow2): Likewise.
13588 (csloww): Likewise.
13589 (csloww1): Likewise.
13590 (csloww2): Likewise.
13591 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
13592 range_reduce. Merge in __mpsin1.
13593 (__mpcos): Likewise.
13594 (__mpsin1): Remove.
13595 (__mpcos1): Likewise.
13597 2013-10-07 Joseph Myers <joseph@codesourcery.com>
13599 * locale/loadlocale.c (_nl_intern_locale_data): Use
13601 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
13602 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
13603 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
13604 obstack data is appropriately aligned.
13605 (obstack_int32_grow_fast): Likewise.
13606 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
13607 * locale/programs/locfile.c (add_locale_uint32): Likewise.
13608 (add_locale_uint32_array): Likewise.
13610 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13612 * benchtests/Makefile: Remove ARGLIST and RET variables.
13613 ($(objpfx)bench-%.c): Pass only function name to the script.
13614 * benchtests/README: Update documentation.
13615 * benchtests/acos-inputs: Add new directives.
13616 * benchtests/acosh-inputs: Likewise.
13617 * benchtests/asin-inputs: Likewise.
13618 * benchtests/asinh-inputs: Likewise.
13619 * benchtests/atan-inputs: Likewise.
13620 * benchtests/atanh-inputs: Likewise.
13621 * benchtests/cos-inputs: Likewise.
13622 * benchtests/cosh-inputs: Likewise.
13623 * benchtests/exp-inputs: Likewise.
13624 * benchtests/log-inputs: Likewise.
13625 * benchtests/pow-inputs: Likewise.
13626 * benchtests/rint-inputs: Likewise.
13627 * benchtests/sin-inputs: Likewise.
13628 * benchtests/sinh-inputs: Likewise.
13629 * benchtests/tan-inputs: Likewise.
13630 * benchtests/tanh-inputs: Likewise.
13631 * scripts/bench.pl: Add support for new directives.
13633 2013-10-07 Alan Modra <amodra@gmail.com>
13635 * README: Fix careless merge.
13637 2013-10-05 Alan Modra <amodra@gmail.com>
13639 * NEWS: Mention powerpc64le support and bugs fixed.
13640 * README: Both big-endian and little-endian powerpc64 supported.
13642 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13644 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
13645 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
13646 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
13647 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
13649 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
13651 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
13654 2013-10-04 Joseph Myers <joseph@codesourcery.com>
13656 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
13657 Move -mhard-float appending from
13658 ports/sysdeps/powerpc/powerpc32/Makefile.
13659 [$(with-fp) = yes] (ASFLAGS): Likewise.
13660 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
13661 * sysdeps/powerpc/nofpu: Move directory from
13662 ports/sysdeps/powerpc/nofpu.
13663 * sysdeps/powerpc/soft-fp: Move directory from
13664 ports/sysdeps/powerpc/soft-fp.
13665 * sysdeps/powerpc/powerpc32/405: Move directory from
13666 ports/sysdeps/powerpc/powerpc32/405.
13667 * sysdeps/powerpc/powerpc32/440: Move directory from
13668 ports/sysdeps/powerpc/powerpc32/440.
13669 * sysdeps/powerpc/powerpc32/464: Move directory from
13670 ports/sysdeps/powerpc/powerpc32/464.
13671 * sysdeps/powerpc/powerpc32/476: Move directory from
13672 ports/sysdeps/powerpc/powerpc32/476.
13673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
13674 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
13675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
13676 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
13677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
13678 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
13679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
13680 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
13681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
13682 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
13683 * README: Update for powerpc-*-linux-gnu software floating point
13686 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
13687 case to powerpc/powerpc32*.
13688 * sysdeps/unix/sysv/linux/configure: Regenerated.
13690 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
13691 (_FPU_MASK_OM): Define as 0x04.
13692 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
13693 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
13695 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
13697 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
13699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
13700 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
13703 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
13706 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
13707 and setcontext_e500.
13709 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
13711 * locale/iso-3166.def: Update iso-1366.def and related occurrences
13713 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13715 * manual/threads.texi (Default Thread Attributes): Fix typo.
13717 2013-10-04 Will Newton <will.newton@linaro.org>
13719 * malloc/Makefile: Add tst-memalign.
13720 * malloc/tst-memalign.c: New file.
13722 * malloc/tst-posix_memalign.c: Add comments.
13723 (do_test): Add comments and call free on all potentially
13724 allocated pointers. Add space after cast.
13726 * malloc/tst-pvalloc.c: Add comments.
13727 (do_test): Add comments and call free on all potentially
13728 allocated pointers. Remove duplicate check for NULL pointer.
13729 Add space after cast.
13731 * malloc/tst-valloc.c: Add comments.
13732 (do_test): Add comments and call free on all potentially
13733 allocated pointers. Remove duplicate check for NULL pointer.
13734 Add space after cast.
13736 2013-10-04 Alan Modra <amodra@gmail.com>
13738 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13739 Use stdint types in rather than __attribute__((mode())).
13740 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13742 2013-10-04 Alan Modra <amodra@gmail.com>
13744 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13745 Correct handling of unaligned relocs for little-endian.
13746 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13748 2013-10-04 Alan Modra <amodra@gmail.com>
13750 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
13751 * configure: Regenerate.
13752 * nptl/shlib-versions: Powerpc*le starts at 2.18.
13753 * shlib-versions: Likewise.
13755 2013-10-04 Alan Modra <amodra@gmail.com>
13757 * string/tester.c (test_memrchr): Increment reported test cycle.
13759 2013-10-04 Alan Modra <amodra@gmail.com>
13761 * string/test-memcpy.c (do_one_test): When reporting errors, print
13762 string address and don't overrun end of string.
13764 2013-10-04 Alan Modra <amodra@gmail.com>
13766 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
13767 insrdi. Make better use of reg selection to speed exit slightly.
13768 Schedule entry path a little better. Remove useless "are we done"
13769 checks on entry to main loop. Handle wrapping around zero address.
13770 Correct main loop count. Handle single left-over word from main
13771 loop inline rather than by using loop_small. Remove extra word
13772 case in loop_small caused by wrong loop count. Add little-endian
13774 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13775 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
13777 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13778 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
13779 support. Avoid rlwimi.
13780 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
13782 2013-10-04 Alan Modra <amodra@gmail.com>
13784 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
13785 insrdi. Formatting.
13786 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
13787 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13788 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13789 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13790 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13791 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
13793 2013-10-04 Alan Modra <amodra@gmail.com>
13795 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
13796 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13797 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13798 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
13799 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13800 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13801 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13802 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13803 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
13804 use of regs. Use power7 mtocrf. Tidy function tails.
13806 2013-10-04 Alan Modra <amodra@gmail.com>
13808 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
13809 Formatting. Consistently use rXXX register defines or rN defines.
13810 Use early exit labels that avoid restoring unused non-volatile regs.
13811 Make cr field use more consistent with rWORDn compares. Rename
13812 regs used as shift registers for unaligned loop, using rN defines
13813 for short lifetime/multiple use regs.
13814 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13815 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
13816 addi 1,1,64 to pop stack frame. Simplify return value code.
13817 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13819 2013-10-04 Alan Modra <amodra@gmail.com>
13821 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
13822 support. Correct typos, formatting. Optimize tail. Use insrdi
13823 rather than rlwimi.
13824 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
13825 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
13826 little-endian support. Correct typos.
13827 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
13828 rather than rlwimi.
13829 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
13830 in loop and entry code to keep "and." results.
13831 (strchr): Add little-endian support. Comment. Move cntlzd
13833 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
13835 2013-10-04 Alan Modra <amodra@gmail.com>
13837 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
13838 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
13839 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13840 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
13842 2013-10-04 Alan Modra <amodra@gmail.com>
13844 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
13845 (rTMP): Define as r11.
13846 (strcmp): Add little-endian support. Optimise tail.
13847 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
13848 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13849 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13850 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13851 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13852 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13853 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13855 2013-10-04 Alan Modra <amodra@gmail.com>
13857 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
13858 little-endian support. Remove unnecessary "are we done" tests.
13859 Handle "s" wrapping around zero and extremely large "size".
13860 Correct main loop count. Handle single left-over word from main
13861 loop inline rather than by using small_loop. Correct comments.
13862 Delete "zero" tail, use "end_max" instead.
13863 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
13865 2013-10-04 Alan Modra <amodra@gmail.com>
13867 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
13868 support. Don't branch over align.
13869 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
13870 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
13871 support. Rearrange tmp reg use to suit. Comment.
13872 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
13874 2013-10-04 Alan Modra <amodra@gmail.com>
13876 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
13878 2013-10-04 Alan Modra <amodra@gmail.com>
13880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
13881 conditional form of branch and link when obtaining pc.
13882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13884 2013-10-04 Alan Modra <amodra@gmail.com>
13886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
13888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
13889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
13891 2013-10-04 Alan Modra <amodra@gmail.com>
13893 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
13894 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
13895 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13896 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
13897 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13898 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13899 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
13900 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13901 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13902 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
13904 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13905 Alistair Popple <alistair@ozlabs.au.ibm.com>
13906 Alan Modra <amodra@gmail.com>
13909 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
13910 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
13911 _dl_hwcap access for little-endian.
13912 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
13913 destroy vmx regs when saving unaligned.
13914 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
13915 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
13916 destroy vmx regs when saving unaligned.
13918 2013-10-04 Alan Modra <amodra@gmail.com>
13920 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
13921 Don't use a union to pack hi/low value.
13923 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13925 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
13927 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13928 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
13929 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13930 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13931 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13933 2013-10-04 Alan Modra <amodra@gmail.com>
13935 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
13936 constants to usual value for .cst8 section, and remove redundant
13938 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
13939 constant for 0x1p52. Load little-endian words of double from
13940 correct stack offsets.
13942 2013-10-04 Alan Modra <amodra@gmail.com>
13944 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
13945 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
13946 words of double from correct stack offsets.
13947 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13948 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
13949 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13950 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13951 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13952 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13953 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13954 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13955 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13956 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13957 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13958 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13959 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13960 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13961 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13962 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
13963 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13965 2013-10-04 Alan Modra <amodra@gmail.com>
13967 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
13968 64-bit int/double union.
13969 (_FPU_SETCW): Likewise.
13970 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
13971 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
13973 2013-10-04 Alan Modra <amodra@gmail.com>
13975 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
13976 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
13978 2013-10-04 Alan Modra <amodra@gmail.com>
13980 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
13981 use vector int constants.
13982 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
13984 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13986 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
13987 array with long long.
13988 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
13989 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
13990 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
13991 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
13992 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
13993 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
13994 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
13995 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
13996 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
13997 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
13998 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
13999 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14000 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14002 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14004 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14005 (__signbit): Likewise. Correct for little-endian.
14006 (__signbitl): Call __signbit.
14007 (lrint): Correct for little-endian.
14008 (lrintf): Call lrint.
14010 2013-10-04 Alan Modra <amodra@gmail.com>
14012 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14013 union 32-bit int array member with 64-bit int array.
14014 (t515, tm256): Double rather than long double.
14015 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14017 2013-10-04 Alan Modra <amodra@gmail.com>
14019 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14021 (IEEE854_LONG_DOUBLE_BIAS): Delete.
14022 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14023 version of math_ldbl.h.
14025 2013-10-04 Alan Modra <amodra@gmail.com>
14027 [BZ #15734], [BZ #15735]
14028 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14029 all uses of ieee875 long double macros and unions. Simplify test
14030 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
14031 ldbl_extract_mantissa value for ix,iy exponents. Properly
14032 normalize after ldbl_extract_mantissa, and don't add hidden bit
14033 already handled. Don't treat low word of ieee854 mantissa like
14034 low word of IBM long double and mask off bit when testing for
14036 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14037 all uses of ieee875 long double macros and unions. Simplify tests
14038 for 0.0L and inf. Correct double adjustment of k. Delete dead code
14039 adjusting ha,hb. Simplify code setting kld. Delete two600 and
14040 two1022, instead use their values. Recognise that tests for large
14041 "a" and small "b" are mutually exclusive. Rename vars. Comment.
14042 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14043 Rewrite all uses of ieee875 long double macros and unions. Simplify
14044 test for 0.0L and nan. Correct negation.
14045 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14046 ieee875 long double macros and unions. Correct output for large
14047 magnitude x. Correct absolute value calculation.
14048 (__erfcl): Likewise.
14049 * math/libm-test.inc: Add tests for errors discovered in IBM long
14050 double versions of fmodl, remainderl, erfl and erfcl.
14052 2013-10-04 Alan Modra <amodra@gmail.com>
14054 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14055 all uses of ieee854 long double macros and unions. Simplify tests
14056 for long doubles that are fully specified by the high double.
14057 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14059 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14060 Remove dead code too.
14061 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14062 (__ieee754_ynl): Likewise.
14063 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14064 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14065 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14066 Remove dead code too.
14067 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14068 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14069 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14070 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14072 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14074 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14075 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14076 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14077 Comment on variable precision.
14078 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14079 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14081 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14082 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14083 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14084 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14085 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
14087 2013-10-04 Alan Modra <amodra@gmail.com>
14089 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
14090 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
14091 all uses of ieee854 long double macros and unions.
14092 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14093 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14094 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
14095 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
14096 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
14097 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14099 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
14100 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14101 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
14102 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14103 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14104 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14105 Simplify sign and nan test too.
14106 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
14107 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14108 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
14109 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14111 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14112 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
14114 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14115 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14116 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
14117 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
14118 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
14119 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
14121 2013-10-04 Alan Modra <amodra@gmail.com>
14123 * stdio-common/printf_size.c (__printf_size): Don't use
14124 union ieee854_long_double in fpnum union.
14125 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
14126 signbit macro to retrieve sign from long double.
14127 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
14128 retrieve sign from long double.
14129 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
14130 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
14131 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
14132 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14133 * math/test-misc.c (main): Don't use union ieee854_long_double.
14135 2013-10-04 Alan Modra <amodra@gmail.com>
14138 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
14139 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
14140 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
14141 calculation. Remove unnecessary test for denormal exponent.
14142 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
14143 Correct handling of denormals. Avoid undefined shift behaviour.
14144 Correct normalisation of low mantissa when low double is denormal.
14145 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
14146 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
14147 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
14148 Correct normalisation of low mantissa. Test for overflow of high
14149 mantissa and normalise.
14150 (ldbl_nearbyint): Use more readable constant for two52.
14151 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
14152 (__mpn_construct_long_double): Fix test for overflow of high
14153 mantissa and correct normalisation. Avoid undefined shift.
14155 2013-10-04 Alan Modra <amodra@gmail.com>
14157 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14158 (union ibm_extended_long_double): Define as an array of ieee754_double.
14159 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
14160 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
14161 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
14162 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14163 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14164 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
14165 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14166 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14167 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14168 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
14169 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14171 2013-10-03 Joseph Myers <joseph@codesourcery.com>
14173 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
14174 page size instead of calling getpagesize.
14176 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
14177 (LOCFILE_ALIGN_MASK): Likewise.
14178 (LOCFILE_ALIGN_UP): Likewise.
14179 (LOCFILE_ALIGNED_P): Likewise.
14180 * locale/programs/ld-collate.c (collate_output): Use the new
14181 macros instead of __alignof__ (int32_t).
14182 * locale/weight.h (findidx): Likewise.
14184 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
14187 * manual/string.texi: Fix strncat and wcsncat.
14189 2013-10-03 Brooks Moses <bmoses@google.com>
14192 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
14193 * Makerules: ...here, and adjust associated comments.
14195 2013-10-02 Will Newton <will.newton@linaro.org>
14197 * malloc/Makefile: Add tst-pvalloc.
14198 * malloc/tst-pvalloc.c: New file.
14200 2013-10-02 Will Newton <will.newton@linaro.org>
14202 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
14203 improve test coverage.
14205 2013-10-02 Will Newton <will.newton@linaro.org>
14207 * malloc/Makefile: Add tst-posix_memalign.
14208 * malloc/tst-posix_memalign.c: New file.
14210 2013-10-01 Eric Blake <eblake@redhat.com>
14212 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
14213 Use __THROWNL rather than __THROW on static functions.
14215 2013-09-30 Petr Machata <pmachata@redhat.com>
14217 * elf/elf.h (R_AARCH64_ABS16): New macro.
14218 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
14219 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
14220 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
14221 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
14222 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
14223 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
14224 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
14225 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
14226 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
14227 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
14228 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
14229 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
14230 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
14231 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
14232 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
14233 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
14234 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
14235 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
14236 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
14237 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
14238 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
14239 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
14240 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
14241 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
14242 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
14243 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
14244 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
14245 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
14246 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
14247 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
14248 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
14249 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
14250 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
14251 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
14252 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
14253 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
14254 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
14255 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
14256 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
14257 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
14258 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
14259 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
14260 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
14261 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
14262 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
14263 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
14264 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
14265 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
14266 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
14267 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
14268 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
14269 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
14270 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
14271 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
14272 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
14273 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
14274 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
14275 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
14276 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
14277 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
14278 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
14279 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
14280 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
14281 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
14282 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
14283 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
14284 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
14285 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
14286 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
14287 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
14288 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
14289 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
14290 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
14291 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
14292 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
14293 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
14294 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
14295 (R_AARCH64_TLSDESC_LDR): Likewise.
14296 (R_AARCH64_TLSDESC_ADD): Likewise.
14297 (R_AARCH64_TLSDESC_CALL): Likewise.
14299 2013-09-30 Andreas Schwab <schwab@suse.de>
14302 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
14303 the nss database lookup.
14304 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14305 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14307 2013-09-28 Mike Frysinger <vapier@gentoo.org>
14309 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
14311 2013-09-28 P. J. McDermott <pj@pehjota.net>
14313 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
14314 ${Bash-specific parameter/pattern/string} parameter expansion.
14315 * sysdeps/unix/make-syscalls.sh: Likewise.
14317 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14319 * sysdeps/sh/stackguard-macros.h: New file.
14321 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
14323 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14324 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
14325 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
14326 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
14327 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14328 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
14330 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14332 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
14333 Fix thread ID register.
14335 2013-09-25 Joseph Myers <joseph@codesourcery.com>
14337 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
14338 [POSIX || UNIX98]: Require rather than permitting all symbols from
14340 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
14341 element of struct sched_param.
14342 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
14343 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
14344 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
14345 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
14348 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
14350 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
14351 argument calculation.
14353 2013-09-24 Joseph Myers <joseph@codesourcery.com>
14355 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
14357 [POSIX] (pthread_attr_t): Do not require type.
14358 [POSIX] (pthread_cond_t): Likewise.
14359 [POSIX] (pthread_condattr_t): Likewise.
14360 [POSIX] (pthread_key_t): Likewise.
14361 [POSIX] (pthread_mutex_t): Likewise.
14362 [POSIX] (pthread_mutexattr_t): Likewise.
14363 [POSIX] (pthread_once_t): Likewise.
14364 [POSIX] (pthread_t): Likewise.
14365 [POSIX-based standards] (pthread_atfork): Expect function.
14367 2013-09-24 Joseph Myers <joseph@codesourcery.com>
14368 Richard Sandiford <richard@codesourcery.com>
14370 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
14371 (swap_endianness_p): New extern variable.
14372 (set_big_endian): New inline function.
14373 (maybe_swap_uint32): Likewise.
14374 (maybe_swap_uint32_array): Likewise.
14375 (maybe_swap_uint32_obstack): Likewise.
14376 * locale/programs/locfile.c: Include <stdbool.h>.
14377 (swap_endianness_p): New variable.
14378 (add_locale_uint32): Call maybe_swap_uint32.
14379 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
14380 (write_locale_data): Call maybe_swap_uint32_array.
14381 * locale/programs/ld-collate.c (obstack_int32_grow): Call
14383 (obstack_int32_grow_fast): Likewise.
14384 (output_weightwc): Call maybe_swap_uint32_obstack.
14385 (collate_output): Likewise.
14386 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
14387 (OPT_LITTLE_ENDIAN): Likewise.
14388 (options): Add --little-endian and --big-endian options.
14389 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
14390 * locale/programs/locarchive.c: Include "locfile.h".
14394 (create_archive): Use the new macros to access fields of
14395 structures directly mapped from or written to locale archives.
14396 (oldlocrecentcmp): Likewise.
14397 (enlarge_archive): Likewise.
14398 (insert_name): Likewise.
14399 (add_alias): Likewise.
14400 (add_locale): Likewise.
14401 (delete_locales_from_archive): Likewise.
14402 (show_archive_content): Likewise.
14403 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
14406 2013-09-24 Roland McGrath <roland@hack.frob.com>
14408 * manual/freemanuals.texi: Updated from (newly) canonical copy at
14409 http://www.gnu.org/doc/freemanuals.texi.
14410 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
14412 2013-09-24 Will Newton <will.newton@linaro.org>
14414 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
14417 2013-09-23 Joseph Myers <joseph@codesourcery.com>
14419 * locale/hashval.h (compute_hashval): Interpret bytes of key as
14422 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
14424 * manual/threads.texi (POSIX Threads): Fix a typo.
14426 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14429 * string/tst-strcoll-overflow.c: New test case.
14430 * string/Makefile (xtests): Add tst-strcoll-overflow.
14431 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
14432 cache if string sizes may cause integer overflow.
14435 * string/strcoll_l.c (coll_seq): New members rule, idx,
14436 save_idx and back_us.
14437 (get_next_seq_nocache): New function.
14438 (do_compare_nocache): New function.
14439 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
14442 2013-09-23 Carlos O'Donell <carlos@redhat.com>
14445 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
14446 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
14447 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
14450 * elf/Makefile (tests): Add tst-ptrguard1.
14451 (tests-static): Add tst-ptrguard1-static.
14452 (tst-ptrguard1-ARGS): Define.
14453 (tst-ptrguard1-static-ARGS): Define.
14454 * elf/tst-ptrguard1.c: New file.
14455 * elf/tst-ptrguard1-static.c: New file.
14456 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
14457 * sysdeps/i386/stackguard-macros.h: Likewise.
14458 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14459 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14460 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14461 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14462 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14463 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14465 2013-09-23 Hector Marco <hecmargi@upv.es>
14466 Ismael Ripoll <iripoll@disca.upv.es>
14467 Carlos O'Donell <carlos@redhat.com>
14470 * sysdeps/generic/stackguard-macros.h: Define
14471 __pointer_chk_guard_local and POINTER_CHK_GUARD.
14472 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
14473 Define __pointer_chk_guard_local.
14474 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
14475 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
14477 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
14480 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
14482 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
14484 * include/string.h (__ffs): Declare as hidden.
14485 * string/ffs.c (__ffs): Define as hidden.
14486 * sysdeps/i386/ffs.c (__ffs): Likewise.
14487 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14488 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
14489 * sysdeps/s390/ffs.c (__ffs): Likewise.
14490 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
14492 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
14494 * NEWS: Mention malloc probes.
14496 * malloc/arena.c (new_heap): New memory_heap_new probe.
14497 (grow_heap): New memory_heap_more probe.
14498 (shrink_heap): New memory_heap_less probe.
14499 (heap_trim): New memory_heap_free probe.
14500 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
14501 (systrim): New memory_sbrk_less probe.
14502 * manual/probes.texi: Document them.
14504 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
14505 * manual/probes.texi: Document it.
14507 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
14508 (__libc_realloc): Add memory_realloc_retry probe.
14509 (__libc_memalign): Add memory_memalign_retry probe.
14510 (__libc_valloc): Add memory_valloc_retry probe.
14511 (__libc_pvalloc): Add memory_pvalloc_retry probe.
14512 (__libc_calloc): Add memory_calloc_retry probe.
14513 * manual/probes.texi: Document them.
14515 * malloc/arena.c (get_free_list): Add probe
14516 memory_arena_reuse_free_list.
14517 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
14518 and memory_arena_reuse.
14519 (arena_get2) [!PER_THREAD]: Likewise.
14520 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
14521 memory_arena_reuse_realloc.
14522 * manual/probes.texi: Document them.
14524 * malloc/malloc.c (__libc_free): Add
14525 memory_mallopt_free_dyn_thresholds probe.
14526 (__libc_mallopt): Add multiple memory_mallopt probes.
14527 * manual/probes.texi: Document them.
14529 * malloc/malloc.c: Include stap-probe.h.
14530 (__libc_mallopt): Add memory_mallopt probe.
14531 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
14532 * manual/probes.texi: New.
14533 * manual/Makefile (chapters): Add probes.
14534 * manual/threads.texi: Set next node.
14536 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
14538 [BZ #15963, #13985]
14539 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
14540 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
14541 Add `Chinese' to `nan' entry name.
14543 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14545 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
14546 (POLYNOMIAL): Likewise.
14547 (TAYLOR_SINCOS): Likewise.
14548 (TAYLOR_SLOW): Likewise.
14549 (__sin): Use TAYLOR_SINCOS.
14551 (slow): Use TAYLOR_SLOW.
14553 (bsloww): Likewise.
14554 (csloww): Likewise.
14556 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14558 * stdlib/strtod_l.c: Fix buffer overrun.
14560 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14562 * benchtests/Makefile (bench): Add sincos.
14563 * benchtests/bench-sincos.c: New file.
14565 * math/libm-test.inc (cos_test_data): New test inputs.
14566 (sin_test_data): Likewise.
14568 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
14574 (sloww1): Likewise.
14575 (sloww2): Likewise.
14576 (bsloww1): Likewise.
14577 (bsloww2): Likewise.
14578 (cslow2): Likewise.
14579 (csloww1): Likewise.
14580 (csloww2): Likewise.
14582 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
14587 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
14591 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
14593 * config.h.in (HAVE_MIPS_NAN2008): New macro.
14594 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
14595 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
14596 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
14597 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
14598 * elf/cache.c (print_entry): Handle the new cache flags.
14600 2013-09-18 Joseph Myers <joseph@codesourcery.com>
14601 Aldy Hernandez <aldyh@redhat.com>
14603 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
14604 Change condition to [_SOFT_FLOAT].
14605 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
14606 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
14607 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
14608 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
14609 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
14610 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
14611 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
14612 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
14613 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
14614 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
14615 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
14616 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
14617 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
14618 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
14619 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
14620 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
14623 2013-09-18 Joseph Myers <joseph@codesourcery.com>
14625 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
14626 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14627 (__longjmp): Use LOAD_GP to load saved GPRs.
14628 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
14629 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14630 (__sigsetjmp): Use SAVE_GP to save GPRs.
14632 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
14633 Do not append -msoft-float.
14634 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
14636 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14638 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
14640 2013-09-17 Joseph Myers <joseph@codesourcery.com>
14643 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
14644 (_FPU_GETCW): Use initial "__" on variable and field names but not
14645 on macro parameter name.
14646 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
14647 parentheses around reference to macro parameter.
14649 2013-09-13 Richard Sandiford <richard@codesourcery.com>
14651 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
14653 (ctype_startup): Use uint32_t in cast and sizeof for
14656 2013-09-11 Jia Liu <proljc@gmail.com>
14658 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
14660 [__FreeBSD__]: Likewise.
14662 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
14664 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14665 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
14666 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
14667 (strchr): Remove __strchr_sse42 ifunc selection.
14668 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
14669 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
14671 2013-09-11 Will Newton <will.newton@linaro.org>
14673 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
14674 parameter to RES. Remove hardcoded 1000 value.
14675 * benchtests/bench-skeleton.c (main): Pass RES parameter
14676 to TIMING_INIT and multiply result by 1000.
14678 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14680 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14682 2013-09-11 Andreas Schwab <schwab@suse.de>
14684 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
14686 (O_TMPFILE) [__USE_GNU]: Define.
14687 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
14690 2013-09-11 Will Newton <will.newton@linaro.org>
14693 * malloc/malloc.c (__libc_memalign): Check the value of bytes
14696 2013-09-11 Will Newton <will.newton@linaro.org>
14699 * malloc/malloc.c (__libc_valloc): Check the value of bytes
14702 2013-09-11 Will Newton <will.newton@linaro.org>
14705 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
14708 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
14710 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
14711 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14712 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14713 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14714 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14716 2013-09-10 Allan McRae <allan@archlinux.org>
14719 * manual/arith.texi (Parsing of Floats): Clarify
14723 * manual/install.texi (Running make install): Mention
14725 * INSTALL: Regenerated.
14727 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14729 * csu/init-first.c (_init): Remove the !SHARED condition around
14730 FPU control word initialization.
14731 * elf/dl-support.c (_dl_fpu_control): New variable.
14732 (_dl_aux_init) <AT_FPUCW>: Initialize it.
14733 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
14734 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
14735 * math/test-fpucw-static.c: New file.
14736 * math/test-fpucw-ieee.c: New file.
14737 * math/test-fpucw-ieee-static.c: New file.
14738 * math/Makefile (tests): Add `test-fpucw-ieee' and
14740 (tests-static): New variable.
14741 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
14743 [($(build-shared),yes)]
14744 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
14746 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
14749 2013-09-09 Allan McRae <allan@archlinux.org>
14752 * manual/string.texi (Collation Functions): Fix typo in
14754 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
14757 * stdlib/isomac.c (get_null_defines): Fix memory leak.
14760 * libio/memstream.c (open_memstream): Fix memory leak.
14761 * libio/wmemstream.c (open_wmemstream): Likewise.
14764 * nscd/netgroupcache.c: Fix nesting of ifdefs.
14766 2013-09-09 Will Newton <will.newton@linaro.org>
14768 * malloc/Makefile: Add tst-realloc to tests.
14769 * malloc/tst-realloc.c: New file.
14771 2013-09-09 Allan McRae <allan@archlinux.org>
14774 * COPYING: Update from GNU website to fix FSF address.
14775 * COPYING.LIB: Likewise.
14777 2013-09-06 David S. Miller <davem@davemloft.net>
14779 * po/zh_TW.po: Update Chinese (traditional) translation from
14780 translation project.
14782 2013-09-06 Richard Sandiford <richard@codesourcery.com>
14783 Joseph Myers <joseph@codesourcery.com>
14785 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
14787 (obstack_chunk_alloc): New macro.
14788 (obstack_chunk_free): Likewise.
14789 (record_offset): New function.
14790 (init_locale_data): Likewise.
14791 (align_locale_data): Likewise.
14792 (add_locale_empty): Likewise.
14793 (add_locale_raw_data): Likewise.
14794 (add_locale_raw_obstack): Likewise.
14795 (add_locale_string): Likewise.
14796 (add_locale_wstring): Likewise.
14797 (add_locale_uint32): Likewise.
14798 (add_locale_uint32_array): Likewise.
14799 (add_locale_char): Likewise.
14800 (start_locale_structure): Likewise.
14801 (end_locale_structure): Likewise.
14802 (start_locale_prelude): Likewise.
14803 (end_locale_prelude): Likewise.
14804 (write_locale_data): Take locale_file structure rather than an
14806 * locale/programs/locfile.h: Include "obstack.h".
14807 (struct locale_file): Change to store locale file contents instead
14809 (init_locale_data): New prototype.
14810 (align_locale_data): Likewise.
14811 (add_locale_empty): Likewise.
14812 (add_locale_raw_data): Likewise.
14813 (add_locale_raw_obstack): Likewise.
14814 (add_locale_string): Likewise.
14815 (add_locale_wstring): Likewise.
14816 (add_locale_uint32): Likewise.
14817 (add_locale_uint32_array): Likewise.
14818 (add_locale_char): Likewise.
14819 (start_locale_structure): Likewise.
14820 (end_locale_structure): Likewise.
14821 (start_locale_prelude): Likewise.
14822 (end_locale_prelude): Likewise.
14823 (write_locale_data): Update prototype.
14824 * locale/programs/3level.h (struct TABLE): Remove result field.
14825 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
14826 Use new locale_file interface.
14827 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
14828 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
14829 * locale/programs/ld-address.c (address_output): Use new
14830 locale_file interface.
14831 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
14833 (collate_finish): Don't call collseq_table_finalize.
14834 (collate_output): Use new locale_file interface.
14835 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
14837 (NO_FINALIZE): Change to NO_ADD_LOCALE.
14838 (TABLE): Move defines earlier in file.
14839 (ELEMENT): Likewise.
14840 (DEFAULT): Likewise.
14841 (wctrans_table_add): Move macro and inline function earlier in
14843 (struct wctype_table): Move type earlier in file.
14844 (add_locale_wctype_table): New static prototype.
14845 (struct locale_ctype_t): Use logical types instead of struct iovec
14846 pointers for members.
14847 (ctype_output): Use new locale_file interface.
14848 (wctype_table_finalize): Change to add_locale_wctype_table. Use
14849 new locale_file interface.
14850 (allocate_arrays): Update for use of new locale_file interface.
14851 * locale/programs/ld-identification.c (identification_output): Use
14852 new locale_file interface.
14853 * locale/programs/ld-measurement.c (measurement_output): Likewise.
14854 * locale/programs/ld-messages.c (messages_output): Likewise.
14855 * locale/programs/ld-monetary.c (monetary_output): Likewise.
14856 * locale/programs/ld-name.c (name_output): Likewise.
14857 * locale/programs/ld-numeric.c (numeric_output): Likewise.
14858 * locale/programs/ld-paper.c (paper_output): Likewise.
14859 * locale/programs/ld-telephone.c (telephone_output): Likewise.
14860 * locale/programs/ld-time.c (time_output): Likewise.
14862 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14864 * benchtests/Makefile: Add memrchr benchmark.
14865 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
14866 benchmark as memrchr.
14867 * benchtests/bench-memrchr-ifunc.c: New file.
14868 * benchtests/bench-memrchr.c: New file.
14870 2013-09-06 Will Newton <will.newton@linaro.org>
14872 * benchtests/Makefile (string-bench): Add memcpy.
14874 2013-09-05 Carlos O'Donell <carlos@redhat.com>
14875 Cong Wang <amwang@redhat.com>
14878 * sysdeps/unix/sysv/linux/bits/in.h
14879 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
14880 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
14881 before __USE_KERNEL_IPV6_DEFS uses.
14882 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
14884 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
14885 sockaddr_in6, or ipv6_mreq.
14887 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14889 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
14890 memory access for final bytes in some large inputs.
14891 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
14893 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14895 * string/test-memrchr.c: New file.
14896 * string/test-memrchr-ifunc.c: New file.
14897 * string/Makefile: Add new memrchr testcase.
14899 2013-09-05 Mike Frysinger <vapier@gentoo.org>
14901 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
14902 fanotify_init returns EPERM.
14904 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14906 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
14908 (top level): Treat second token from macro or constant entries for
14909 allowed headers as allowed.
14910 * include/complex.h: Condition internal declarations on
14912 * include/fenv.h: Condition include of <stdbool.h> and internal
14913 declarations on [!_ISOMAC].
14915 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
14918 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
14920 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14922 * configure.in (--enable-versioning): Remove configure option.
14923 (libc_cv_asm_symver_directive): Remove configure test.
14924 (libc_cv_ld_version_script_option): Likewise.
14925 (VERSIONING): Remove variable and AC_SUBST.
14926 (DO_VERSIONING): Remove AC_DEFINE.
14927 * configure: Regenerated.
14928 * config.h.in (DO_VERSIONING): Remove macro.
14929 * Makerules [$(versioning) = yes]: Change conditionals to
14930 [$(build-shared) = yes].
14931 * config.make.in (versioning): Remove variable.
14932 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
14933 [$(build-shared) = yes].
14934 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
14935 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
14936 * elf/Makefile [$(versioning) = yes]: Change conditionals to
14937 [$(build-shared) = yes].
14938 * extra-lib.mk [$(versioning) = yes]: Likewise.
14939 * hurd/Makefile [$(versioning) = yes]: Likewise.
14940 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
14942 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
14944 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14945 [SHARED && !NO_HIDDEN].
14946 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
14948 [SHARED && DO_VERSIONING]: Likewise..
14949 * libio/Makefile [$(versioning) = yes]: Change conditionals to
14950 [$(build-shared) = yes].
14951 * manual/install.texi (--disable-versioning): Remove
14953 * INSTALL: Regenerated.
14954 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
14956 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
14957 [$(build-shared) = yes].
14958 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
14959 * sysdeps/i386/i686/multiarch/strstr-c.c
14960 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14961 [SHARED && !NO_HIDDEN].
14962 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
14963 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
14964 * sysdeps/powerpc/powerpc32/dl-machine.c
14965 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
14966 * sysdeps/powerpc/powerpc32/sysdep.h
14967 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
14968 to [SHARED && PIC && !NO_HIDDEN].
14969 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
14970 conditional to [SHARED].
14972 2013-09-04 Will Newton <will.newton@linaro.org>
14974 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
14975 * benchtests/bench-string.h: Include bench-timing.h instead
14976 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
14977 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
14978 call to HP_TIMING_DIFF_INIT.
14979 * benchtests/bench-memccpy.c: Use bench-timing.h macros
14980 instead of hp-timing.h macros.
14981 * benchtests/bench-memchr.c: Likewise.
14982 * benchtests/bench-memcmp.c: Likewise.
14983 * benchtests/bench-memcpy.c: Likewise.
14984 * benchtests/bench-memmem.c: Likewise.
14985 * benchtests/bench-memmove.c: Likewise.
14986 * benchtests/bench-memset.c: Likewise.
14987 * benchtests/bench-rawmemchr.c: Likewise.
14988 * benchtests/bench-strcasecmp.c: Likewise.
14989 * benchtests/bench-strcasestr.c: Likewise.
14990 * benchtests/bench-strcat.c: Likewise.
14991 * benchtests/bench-strchr.c: Likewise.
14992 * benchtests/bench-strcmp.c: Likewise.
14993 * benchtests/bench-strcpy.c: Likewise.
14994 * benchtests/bench-strcpy_chk.c: Likewise.
14995 * benchtests/bench-strlen.c: Likewise.
14996 * benchtests/bench-strncasecmp.c: Likewise.
14997 * benchtests/bench-strncat.c: Likewise.
14998 * benchtests/bench-strncmp.c: Likewise.
14999 * benchtests/bench-strncpy.c: Likewise.
15000 * benchtests/bench-strnlen.c: Likewise.
15001 * benchtests/bench-strpbrk.c: Likewise.
15002 * benchtests/bench-strrchr.c: Likewise.
15003 * benchtests/bench-strspn.c: Likewise.
15004 * benchtests/bench-strstr.c: Likewise.
15006 2013-09-04 Will Newton <will.newton@linaro.org>
15008 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15010 2013-09-03 Joseph Myers <joseph@codesourcery.com>
15013 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15014 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15015 * math/libm-test.inc (lgamma_test_data): Add more tests.
15016 * sysdeps/i386/fpu/libm-test-ulps: Update.
15017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15019 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
15021 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15022 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15024 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15025 Add strcmp-sse2-unaligned
15026 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15028 2013-09-02 Mike Frysinger <vapier@gentoo.org>
15030 * Versions.def (libc): Add GLIBC_2.19.
15032 2013-09-02 Mike Frysinger <vapier@gentoo.org>
15034 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15035 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15037 2013-09-02 Joseph Myers <joseph@codesourcery.com>
15040 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15041 intermediate calculations in recurrence.
15042 (__ieee754_ynf): Likewise.
15043 * math/libm-test.inc (jn_test_data): Do not allow spurious
15044 underflow exception. Add more tests.
15045 (yn_test_data): Add more tests.
15046 * sysdeps/i386/fpu/libm-test-ulps: Update.
15047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15049 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
15051 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15053 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15055 * csu/init-first.c: Fix then/than typos.
15056 * locale/programs/ld-collate.c: Likewise.
15057 * locale/programs/linereader.h: Likewise.
15058 * manual/charset.texi: Likewise.
15059 * manual/filesys.texi: Likewise.
15060 * manual/stdio.texi: Likewise.
15061 * manual/string.texi: Likewise.
15062 * stdlib/fmtmsg.c: Likewise.
15063 * sysdeps/i386/stpncpy.S: Likewise.
15064 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15065 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15066 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15067 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15069 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15071 * elf/dl-open.c: Fix typos.
15072 * iconvdata/gbbig5.c: Likewise.
15073 * iconvdata/iso-2022-jp.c: Likewise.
15074 * iconv/gconv_int.h: Likewise.
15075 * iconv/loop.c: Likewise.
15076 * nis/rpcsvc/nis.h: Likewise.
15077 * resolv/ns_name.c: Likewise.
15078 * stdio-common/vfscanf.c: Likewise.
15079 * streams/stropts.h: Likewise.
15080 * sunrpc/rpc_thread.c: Likewise.
15081 * sysdeps/i386/strpbrk.S: Likewise.
15082 * sysdeps/ieee754/k_standard.c: Likewise.
15083 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15084 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15085 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
15086 * sysdeps/mach/hurd/profil.c: Likewise.
15087 * sysdeps/s390/dl-procinfo.h: Likewise.
15088 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
15089 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15090 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
15091 * sysdeps/x86_64/dl-trampoline.S: Likewise.
15092 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15094 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15096 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
15097 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
15099 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
15101 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
15102 aix specific files.
15103 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
15104 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
15105 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
15106 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
15107 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
15108 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
15109 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
15110 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
15112 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15113 Roland McGrath <roland@hack.frob.com>
15115 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
15116 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15118 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15120 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
15121 __executable_start symbol instead of _start.
15123 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15125 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
15126 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
15128 * sysdeps/gnu/ldsodefs.h: ... this new file.
15130 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
15131 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
15132 instead of ELFOSABI_LINUX.
15134 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
15135 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
15136 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
15137 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
15139 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
15140 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
15141 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
15143 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15144 (ibm_extended_long_double): Add ieee_nan member.
15145 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
15146 (do_test): New function.
15148 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
15150 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
15151 functions, renamed from truncdfsf_test, trunctfsf_test,
15153 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
15155 (do_test): Run all these.
15157 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
15159 * argp/argp-help.c: Fix typos.
15160 * argp/argp-parse.c: Likewise.
15161 * debug/backtracesyms.c: Likewise.
15162 * elf/elf.h: Likewise.
15163 * malloc/malloc.c: Likewise.
15164 * nis/nis_print.c: Likewise.
15165 * resolv/res_comp.c: Likewise.
15166 * stdlib/stdlib.h: Likewise.
15167 * sunrpc/clnt_tcp.c: Likewise.
15168 * sunrpc/clnt_udp.c: Likewise.
15169 * sunrpc/clnt_unix.c: Likewise.
15170 * sysdeps/unix/bsd/ptsname.c: Likewise.
15171 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15172 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
15173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
15175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
15177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15179 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15181 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15183 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
15184 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15186 2013-08-27 Mike Frysinger <vapier@gentoo.org>
15189 * dlfcn/Makefile (tests): Add bug-dl-leaf.
15190 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
15191 ($(objpfx)bug-dl-leaf): New rule.
15192 ($(objpfx)bug-dl-leaf.so): Likewise.
15193 ($(objpfx)bug-dl-leaf.out): Likewise.
15194 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
15195 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
15196 * dlfcn/bug-dl-leaf.c: New test.
15197 * dlfcn/bug-dl-leaf-lib.c: Likewise.
15198 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
15199 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
15200 (dlclose): Likewise.
15201 (dlmopen): Likewise.
15203 2013-08-27 Roland McGrath <roland@hack.frob.com>
15205 * include/netdb.h [!_ISOMAC]:
15206 Don't include <tls.h>.
15207 (h_errno, __libc_h_errno): Move declaration and macros out of
15210 * include/resolv.h [_RESOLV_H_]:
15211 Don't include <tls.h>.
15212 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
15213 * resolv/res_libc.c: Don't include <tls.h>.
15214 (_res): Use __attribute__ ((nocommon)) in place of
15215 __attribute__ ((section (".bss"))).
15217 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
15218 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
15220 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
15222 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
15223 only under [SIOCGIFCONF && SIOCGIFNETMASK].
15225 * resolv/res_mkquery.c: Include <sys/time.h>.
15227 * inet/ifreq.c: Moved to ...
15228 * sysdeps/unix/ifreq.c: ... here.
15229 * inet/ifreq.c: New file, true stub version.
15231 * socket/sa_len.c: New file.
15232 * socket/Makefile (aux): Add it.
15233 * sysdeps/unix/sysv/linux/Makefile
15234 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
15235 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
15236 and #include <socket/sa_len.c>.
15237 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
15238 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
15240 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
15241 * bits/socket.h: ... here.
15243 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
15244 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
15245 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
15247 2013-08-27 Andreas Schwab <schwab@suse.de>
15250 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
15251 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
15252 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
15253 * string/test-strcasecmp.c (test_main): Run tests in several
15255 * string/test-strncasecmp.c (test_main): Likewise.
15257 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
15258 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
15259 to __strcasecmp_nonascii and __strncasecmp_nonascii.
15260 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
15261 (__strncasecmp_ssse3) [PIC]: Likewise.
15263 2013-08-26 Roland McGrath <roland@hack.frob.com>
15265 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
15267 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
15268 instead of explicitly declaring xdecrypt.
15269 * nis/nss_nis/nis-publickey.c: Likewise.
15271 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15274 * nscd/aicache.c: Include res_hconf.h.
15275 (addhstaiX): Initialize res_hconf.
15277 2013-08-26 Andreas Schwab <schwab@suse.de>
15279 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
15280 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
15282 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15284 * nscd/aicache.c (addhstaiX): Fix indentation.
15286 2013-08-25 Mike Frysinger <vapier@gentoo.org>
15288 * configure.ac: Quote $build_pt_chown test.
15289 * configure: Regenerated.
15291 2013-08-23 Joseph Myers <joseph@codesourcery.com>
15294 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
15295 * math/s_cexpf.c (__cexpf): Likewise.
15296 * math/s_cexpl.c (__cexpl): Likewise.
15297 * math/libm-test.inc (cexp_test_data): Correct expected return
15298 value for NaN + i0. Add another test.
15300 2013-08-22 David S. Miller <davem@davemloft.net>
15302 * po/ca.po: Update Catalan translation from translation project.
15303 * po/uk.po: Add Ukrainian translations from translation project.
15305 2013-08-21 Joseph Myers <joseph@codesourcery.com>
15308 * math/s_fdim.c (__fdim): Check for infinite arguments if result
15309 is infinite, not alongside NaN test.
15310 * math/s_fdimf.c (__fdimf): Likewise.
15311 * math/s_fdiml.c (__fdiml): Likewise.
15312 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
15313 errno is unchanged.
15315 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
15317 * argp/argp-help.c: Fix typos.
15318 * crypt/speeds.c: Likewise.
15319 * csu/check_fds.c: Likewise.
15320 * elf/dl-load.c: Likewise.
15321 * elf/dl-open.c: Likewise.
15322 * elf/reldep3.c: Likewise.
15323 * elf/reldep.c: Likewise.
15324 * elf/sprof.c: Likewise.
15325 * iconv/iconv_charmap.c: Likewise.
15326 * iconv/skeleton.c: Likewise.
15327 * iconv/strtab.c: Likewise.
15328 * io/lockf64.c: Likewise.
15329 * libio/libioP.h: Likewise.
15330 * resolv/gai_notify.c: Likewise.
15331 * resolv/ns_name.c: Likewise.
15332 * resolv/ns_samedomain.c: Likewise.
15333 * resolv/res_send.c: Likewise.
15334 * stdlib/random.c: Likewise.
15335 * sunrpc/rpc/xdr.h: Likewise.
15336 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
15337 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15338 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15339 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15340 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15341 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15342 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15343 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15344 * sysdeps/mach/hurd/check_fds.c: Likewise.
15345 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15346 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15347 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15348 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15349 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15350 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15351 * sysdeps/pthread/aio_notify.c: Likewise.
15352 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
15353 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
15354 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
15355 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15356 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15358 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15360 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
15361 version if bit_Slow_SSE4_2 is set.
15362 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15363 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15365 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15368 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
15369 trampoline stack frame information.
15370 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
15371 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
15372 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
15373 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
15374 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
15375 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15376 (_libc_vdso_platform_setup): Initialize the signal trampolines.
15377 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
15379 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
15380 interrupting a syscall and set with option SA_SIGINFO.
15382 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15385 * math/s_cproj.c (__cproj): Only return an infinity if one part of
15386 argument is infinite.
15387 * math/s_cprojf.c (__cprojf): Likewise.
15388 * math/s_cprojl.c (__cprojl): Likewise.
15389 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
15390 * math/libm-test.inc (cproj_test_data): Add more tests.
15392 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
15394 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
15395 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
15396 size. Use __ffs to determine corresponding shift.
15398 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15399 Roland McGrath <roland@hack.frob.com>
15401 * Makefile (INSTALL): Remove trailing blank lines from output of
15404 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15406 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
15407 Align 32 bit compat elf_greg to 8 bytes.
15409 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
15411 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
15413 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15415 * string/strcoll_l.c (coll_seq): New structure.
15416 (get_next_seq_cached): New function.
15417 (get_next_seq): New function.
15418 (do_compare): New function.
15419 (STRCOLL): Use GNU style definition. Simplify implementation
15420 by using get_next_seq, get_next_seq_cached and do_compare.
15422 2013-08-16 Florian Weimer <fweimer@redhat.com>
15426 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
15428 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
15430 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
15431 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
15432 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
15434 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
15435 GETDENTS_64BIT_ALIGNED.
15436 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15437 * manual/filesys.texi (Reading/Closing Directory): Document
15438 ENAMETOOLONG return value of readdir_r. Recommend readdir more
15440 * manual/conf.texi (Limits for Files): Add portability note to
15441 NAME_MAX, PATH_MAX.
15442 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
15444 2013-08-13 Andreas Schwab <schwab@suse.de>
15447 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
15449 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
15450 LDBL_MAX_EXP >= 16384]: Add tests for it.
15452 2013-08-12 David S. Miller <davem@davemloft.net>
15454 * version.h (RELEASE): Set to "development".
15455 (VERSION): Set to "2.18.90".
15456 * NEWS: Add 2.19 section.
15458 2013-08-03 David S. Miller <davem@davemloft.net>
15460 * po/ko.po: Update Korean translation from translation project.
15462 2013-08-01 David S. Miller <davem@davemloft.net>
15464 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
15465 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15468 2013-07-30 David S. Miller <davem@davemloft.net>
15470 * po/fr.po: Update French translation from translation project.
15472 2013-07-28 David S. Miller <davem@davemloft.net>
15474 * po/cs.po: Update Czech translation from translation project.
15476 * po/sv.po: Update Swedish translation from translation project.
15478 2013-07-27 David S. Miller <davem@davemloft.net>
15480 * po/eo.po: Update Esperanto translation from translation project.
15482 * po/vi.po: Update Vietnamese translation from translation project.
15484 * po/de.po: Update German translation from translation project.
15486 2013-07-26 David S. Miller <davem@davemloft.net>
15488 * po/bg.po: Update Bulgarian translation from translation project.
15490 * po/nl.po: Update Dutch translation from translation project.
15491 * po/pl.po: Update Polish translation from translation project.
15492 * po/ru.po: Update Russian translation from translation project.
15494 2013-07-24 David S. Miller <davem@davemloft.net>
15496 * po/libc.pot: Update.
15498 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15500 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
15501 variable page size.
15502 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
15503 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
15504 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
15506 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15508 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
15510 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15511 Andreas Schwab <schwab@suse.de>
15512 Roland McGrath <roland@hack.frob.com>
15513 Joseph Myers <joseph@codesourcery.com>
15514 Carlos O'Donell <carlos@redhat.com>
15517 * config.h.in: Define HAVE_PT_CHOWN.
15518 * config.make.in (build-pt-chown): New variable.
15519 * configure.in (--enable-pt_chown): New configure option.
15520 * configure: Regenerate.
15521 * login/Makefile: Include Makeconfig. Build pt_chown only if
15522 build-pt-chown is enabled.
15523 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
15524 pt_chown to fix pty ownership.
15525 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
15527 * manual/install.texi (Configuring and compiling): Mention
15528 --enable-pt_chown. Add @findex for grantpt.
15529 * INSTALL: Regenerate.
15531 2013-07-20 David S. Miller <davem@davemloft.net>
15533 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
15534 difference between 32-bit and 64-bit.
15536 2013-07-15 Carlos O'Donell <carlos@redhat.com>
15539 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
15540 Avoid system header dependency with -ffreestanding.
15541 ($(objpfx)bits/syscall%d): Likewise.
15543 2013-07-13 David S. Miller <davem@davemloft.net>
15545 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
15546 underflows from atanl/atan2l due to bug 15319.
15547 (casinh_test_data): Likewise.
15549 2013-07-07 David S. Miller <davem@davemloft.net>
15551 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15553 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
15555 * sysdeps/i386/fpu/libm-test-ulps: Update.
15556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15558 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15560 * configure.in (--enable-lock-elision): Fix message text.
15561 * INSTALL: Regenerate.
15562 * configure: Regenerate.
15564 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15566 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15568 2013-07-03 Andreas Jaeger <aj@suse.de>
15570 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
15572 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
15573 (ptrace_peeksiginfo_args): Add.
15574 (__ptrace_peeksiginfo_flags): Add.
15575 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15576 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15577 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15579 2013-07-03 Allan McRae <allan@archlinux.org>
15581 * sysdeps/i386/fpu/libm-test-ulps: Update.
15583 2013-07-02 David S. Miller <davem@davemloft.net>
15585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15587 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
15589 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15591 2013-07-02 Joseph Myers <joseph@codesourcery.com>
15593 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15596 2013-07-02 Andi Kleen <ak@linux.intel.com>
15598 * config.h.in (ENABLE_LOCK_ELISION): Add.
15599 * configure.in (--enable-lock-elision): Add option.
15600 * manual/install.texi: Document --enable lock elision.
15601 * configure: Regenerate
15602 * INSTALL: Regenerate.
15604 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
15606 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
15607 SSE4.2 strcasecmp for libc.a.
15608 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15610 2013-07-02 Joseph Myers <joseph@codesourcery.com>
15613 * soft-fp/op-common.h (_FP_FMA): New macro.
15614 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
15615 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
15616 (_FP_MUL_MEAT_1_imm): ... here.
15617 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
15618 (_FP_MUL_MEAT_1_wide): ... here.
15619 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
15620 (_FP_MUL_MEAT_1_hard): ... here.
15621 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
15622 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
15623 (_FP_MUL_MEAT_2_wide): ... here.
15624 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
15625 (_FP_MUL_MEAT_2_wide_3mul): ... here.
15626 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
15627 (_FP_MUL_MEAT_2_gmp): ... here.
15628 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
15629 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
15630 (_FP_MUL_MEAT_4_wide): ... here.
15631 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
15632 (_FP_MUL_MEAT_4_gmp): ... here.
15633 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
15634 (_FP_WFRACBITS_DW_S): Likewise.
15635 (_FP_WFRACXBITS_DW_S): Likewise.
15636 (_FP_HIGHBIT_DW_S): Likewise.
15637 (FP_FMA_S): Likewise.
15638 (_FP_FRAC_HIGH_DW_S): Likewise.
15639 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
15640 (_FP_WFRACBITS_DW_D): Likewise.
15641 (_FP_WFRACXBITS_DW_D): Likewise.
15642 (_FP_HIGHBIT_DW_D): Likewise.
15643 (FP_FMA_D): Likewise.
15644 (_FP_FRAC_HIGH_DW_D): Likewise.
15645 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
15646 (_FP_WFRACBITS_DW_E): Likewise.
15647 (_FP_WFRACXBITS_DW_E): Likewise.
15648 (_FP_HIGHBIT_DW_E): Likewise.
15649 (FP_FMA_E): Likewise.
15650 (_FP_FRAC_HIGH_DW_E): Likewise.
15651 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
15652 (_FP_WFRACBITS_DW_Q): Likewise.
15653 (_FP_WFRACXBITS_DW_Q): Likewise.
15654 (_FP_HIGHBIT_DW_Q): Likewise.
15655 (FP_FMA_Q): Likewise.
15656 (_FP_FRAC_HIGH_DW_Q): Likewise.
15657 * soft-fp/fmasf4.c: New file.
15658 * soft-fp/fmadf4.c: Likewise.
15659 * soft-fp/fmatf4.c: Likewise.
15661 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15663 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15664 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
15666 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
15668 (index_Slow_SSE4_2): Likewise.
15669 (index_Prefer_PMINUB_for_stringop): Likewise.
15670 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
15671 bit_Slow_SSE4_2 is set.
15672 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15673 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15675 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15677 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
15678 rtld_global._dl_hwcap2.
15679 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
15681 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
15682 POWER8 feature descriptions defined in _dl_hwcap2.
15683 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
15684 string handling for POWER8 feature bits.
15685 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
15686 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
15687 _dl_powerpc_cap_flags.
15688 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
15689 * sysdeps/powerpc/rtld-global-offsets.sym
15690 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
15691 _dl_hwcap2 in the rtld_global_ro structure.
15693 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15695 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
15696 hardware capabilities in support of AT_HWCAP2.
15697 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
15698 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
15700 (_dl_show_auxv): Add support for calling _dl_procinfo to display
15701 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
15702 explicitly the unknown a_type display mechanism is used.
15703 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
15704 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
15706 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
15707 to macro prototype for AT_HWCAP2 support.
15708 * sysdeps/i386/dl-procinfo.h: Likewise.
15709 * sysdeps/s390/dl-procinfo.h: Likewise.
15710 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
15711 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
15712 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
15713 return -1 for unknown a_type display fallback.
15714 * sysdeps/sparc/dl-procinfo.h: Likewise.
15715 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
15716 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
15718 2013-06-28 Joseph Myers <joseph@codesourcery.com>
15720 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
15721 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
15723 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
15726 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
15727 mprotect making __stack_prot writable.
15729 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
15730 Joseph Myers <joseph@codesourcery.com>
15732 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
15733 as being properly aligned.
15735 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
15737 * dlfcn/modstatic5.c: New file.
15738 * dlfcn/tststatic5.c: New file.
15739 * dlfcn/Makefile (tests): Add tststatic5.
15740 (tests-static): Likewise.
15741 (modules-names): Add modstatic5.
15742 (tststatic5-ENV): New variable.
15743 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
15746 * elf/dl-support.c (_dl_main_map): New variable.
15747 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
15748 (_dl_nns, _dl_load_adds): Set to 1.
15749 (_dl_initial_searchlist): Refer to _dl_main_map.
15750 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
15751 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
15752 call to _dl_get_origin.
15753 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
15755 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
15756 * dlfcn/modstatic3.c: New file.
15757 * dlfcn/tststatic3.c: New file.
15758 * dlfcn/tststatic4.c: New file.
15759 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
15760 (tests-static): Likewise.
15761 (modules-names): Add modstatic3.
15762 (tststatic3-ENV, tststatic4-ENV): New variables.
15763 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
15764 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
15766 2013-06-26 Joseph Myers <joseph@codesourcery.com>
15768 * configure.in (CC): Require GCC version 4.4 or later.
15769 * configure: Regenerated.
15770 * manual/install.texi (Tools for Compilation): Update GCC version
15772 * INSTALL: Regenerated.
15774 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15777 * string/test-memcmp.c (check2): New.
15778 (main): Call check2.
15780 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
15782 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
15785 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
15787 (dl_open_worker) [!SHARED]: ... here.
15789 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15791 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
15793 2013-06-25 Richard Henderson <rth@redhat.com>
15795 * locale/programs/locarchive.c: Include <libc-internal.h>
15797 2013-06-25 Joseph Myers <joseph@codesourcery.com>
15799 * manual/texinfo.tex: Update to version 2013-06-21.17, with
15800 trailing whitespace removed.
15802 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15805 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
15806 * locale/programs/locarchive.c: Include libc-mmap.h.
15807 (prepare_address_space): Take two new outputs (the mmap base and len).
15808 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
15810 (create_archive): Declare new mmap base and len values for
15811 prepare_address_space, and store the result in ah.
15812 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
15813 (enlarge_archive): If ah->mmap_base is not NULL, use that and
15814 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15815 Declare new mmap base and len values for
15816 prepare_address_space, and store the result in new_ah.
15817 (open_archive): Declare new mmap base and len values for
15818 prepare_address_space, and store the result in ah.
15819 (close_archive): If ah->mmap_base is not NULL, use that and
15820 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15821 * sysdeps/generic/libc-mmap.h: New file.
15823 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15825 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
15826 (ALIGN_UP): Likewise.
15827 (PTR_ALIGN_DOWN): Likewise.
15828 (PTR_ALIGN_UP): Likewise.
15830 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15832 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
15833 entry mapped to PPC_PLATFORM_POWER8.
15834 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
15836 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
15837 (_dl_string_platform): Add case for exporting platform position for
15839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
15840 search path to sysdeps/powerpc/powerpc32/power8 directory.
15841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
15842 search path to sysdeps/powerpc/powerpc64/power8 directory.
15843 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
15844 power7 directories.
15845 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
15846 power7 directories.
15848 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15850 * INSTALL: Regenerate.
15852 * nscd/connections.c (nscd_init): Fix comment.
15854 2013-06-22 Joseph Myers <joseph@codesourcery.com>
15856 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
15859 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
15860 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
15862 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15864 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
15866 (DL_DST_REQ_STATIC): Remove macro.
15868 2013-06-21 Joseph Myers <joseph@codesourcery.com>
15871 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
15872 with a shift of 0 bits.
15874 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15876 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
15879 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15882 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
15884 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15886 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
15887 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
15888 accepts -fno-tree-loop-distribute-patterns.
15889 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
15890 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
15892 * string/memset.c (memset): Likewise.
15893 * string/test-memmove.c (simple_memmove): Disable loop transformation
15895 * string/test-memset.c (simple_memset): Likewise.
15896 * benchtests/bench-memmove.c (simple_memmove): Likewise.
15897 * benchtests/bench-memset.c (simple_memset): Likewise.
15898 * configure: Regenerated.
15900 2013-06-20 Joseph Myers <joseph@codesourcery.com>
15902 * math/test-misc.c (main): Ignore fesetround failure when failures
15903 of subsequent rounding tests would be ignored.
15906 * math/fedisblxcpt.c (fedisableexcept): Return 0.
15907 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
15908 * math/fegetenv.c (__fegetenv): Return 0.
15909 * math/fegetexcept.c (fegetexcept): Return 0.
15910 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
15912 * math/feholdexcpt.c (feholdexcept): Return 0.
15913 * math/fesetenv.c (__fesetenv): Return 0.
15914 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
15915 argument FE_TONEAREST.
15916 * math/feupdateenv.c (__feupdateenv): Return 0.
15917 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
15919 2013-06-18 Roland McGrath <roland@hack.frob.com>
15921 * elf/rtld-Rules (rtld-compile-command.S): New variable.
15922 (rtld-compile-command.s, rtld-compile-command.c): New variables.
15923 ($(objpfx)rtld-%.os rules): Use them.
15925 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15927 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
15930 2013-06-17 Roland McGrath <roland@hack.frob.com>
15932 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
15933 length of target pattern, then descending length of dependency pattern.
15934 * configure.in (AWK): Require gawk 3.1.2 or newer.
15935 * manual/install.texi (Tools for Compilation): Say that we do.
15936 * configure: Regenerated.
15938 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
15939 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
15940 * scripts/sysd-rules.awk: ... this new script.
15941 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
15942 than a glob-style pattern.
15944 2013-06-17 Joseph Myers <joseph@codesourcery.com>
15946 * math/test-misc.c (main): Do not treat incorrectly rounded
15947 conversions as failure unless ROUNDING_TESTS passes.
15949 2013-06-15 Joseph Myers <joseph@codesourcery.com>
15952 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
15953 restore exception state around main square root computation, then
15954 check for inexactness explicitly.
15956 * math/libm-test.inc (fma_test_data): Add another test.
15958 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15960 * manual/threads.texi (Non-POSIX Extensions): New document
15961 node. Document pthread_getattr_default_np and
15962 pthread_setattr_default_np.
15964 * Versions.def (libpthread): Add GLIBC_2.18.
15965 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
15966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15970 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15972 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15974 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
15976 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15978 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15980 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15982 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15985 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15987 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15988 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
15990 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15991 H.J. Lu <hjl.tools@gmail.com>
15994 * sysdeps/x86_64/rtld-memset.c: Remove file.
15995 * sysdeps/x86_64/rtld-memset.S: New file.
15997 2013-06-14 Joseph Myers <joseph@codesourcery.com>
15999 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16000 (test_in_one_mode): Take arguments for whether the rounding mode
16001 is supported for each floating-point type.
16002 (do_test): Pass new arguments to test_in_one_mode using
16005 2013-06-13 Roland McGrath <roland@hack.frob.com>
16007 * posix/tst-waitid.c (do_test): Distinguish different instances of
16008 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
16009 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16010 before entering the kernel for waitpid.
16012 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16014 * NEWS: Fix note on clock function precision. Text by Roland
16017 2013-06-13 Roland McGrath <roland@hack.frob.com>
16019 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16020 it into place only when and if the sanity check passes.
16022 2013-06-13 Joseph Myers <joseph@codesourcery.com>
16024 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16025 output for whether conversion result is exact. Take argument
16026 indicating whether type is IBM long double.
16027 (round_for_all): Change need_exact field to ibm_ld.
16028 * stdlib/tst-strtod-round.c (struct exactness): New type.
16029 (struct test): Change bool ld_ok field to struct exactness exact.
16030 (TEST): Update all definitions for change to field.
16031 (tests): Regenerate array contents.
16032 (test_in_one_mode): Take pointer to new field instead of old ld_ok
16033 field value. Check for IBM long double here.
16034 (do_test): Update calls to test_in_one_mode.
16036 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16039 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16040 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16042 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16045 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16046 generated by the compiler on loop optimizations.
16047 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16048 general definitions.
16050 2013-06-12 Joseph Myers <joseph@codesourcery.com>
16052 * math/bug-nextafter.c: Include <math-tests.h>.
16053 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16055 * math/bug-nexttoward.c: Include <math-tests.h>.
16056 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16058 * math/test-misc.c: Include <math-tests.h>.
16059 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16062 2013-06-12 Andreas Jaeger <aj@suse.de>
16064 * po/ia.po: Update Interlingua translation from translation
16067 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16069 * include/fenv.h: Include stdbool.h.
16070 (struct rm_ctx): New structure.
16071 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16073 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16074 (SET_RESTORE_ROUNDF): Likewise.
16075 (SET_RESTORE_ROUNDL): Likewise.
16076 (SET_RESTORE_ROUND_NOEX): Likewise.
16077 (SET_RESTORE_ROUND_NOEXF): Likewise.
16078 (SET_RESTORE_ROUND_NOEXL): Likewise.
16079 (SET_RESTORE_ROUND_53BIT): Likewise.
16080 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16081 (libc_feresetround_noexf_ctx): Likewise.
16082 (libc_feresetround_noexl_ctx): Likewise.
16083 (libc_feholdsetround_53bit_ctx): Likewise.
16084 (libc_feresetround_53bit_ctx): Likewise.
16085 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
16086 (libc_feholdexcept_setround_sse_ctx): New function.
16087 (libc_fesetenv_sse_ctx): Likewise.
16088 (libc_feupdateenv_sse_ctx): Likewise.
16089 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
16090 (libc_feholdexcept_setround_387_ctx): Likewise.
16091 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
16092 (libc_feholdsetround_387_prec_ctx): Likewise.
16093 (libc_feholdsetround_387_ctx): Likewise.
16094 (libc_feholdsetround_387_53bit_ctx): Likewise.
16095 (libc_feholdsetround_sse_ctx): Likewise.
16096 (libc_feresetround_sse_ctx): Likewise.
16097 (libc_feresetround_387_ctx): Likewise.
16098 (libc_feupdateenv_387_ctx): Likewise.
16099 (libc_feholdexcept_setroundf_ctx): Define macro.
16100 (libc_fesetenvf_ctx): Likewise.
16101 (libc_feupdateenvf_ctx): Likewise.
16102 (libc_feholdsetroundf_ctx): Likewise.
16103 (libc_feresetroundf_ctx): Likewise.
16104 (libc_feholdexcept_setround_ctx): Likewise.
16105 (libc_fesetenv_ctx): Likewise.
16106 (libc_feupdateenv_ctx): Likewise.
16107 (libc_feholdsetround_ctx): Likewise.
16108 (libc_feresetround_ctx): Likewise.
16109 (libc_feholdexcept_setroundl_ctx): Likewise.
16110 (libc_feupdateenvl_ctx): Likewise.
16111 (libc_feholdsetroundl_ctx): Likewise.
16112 (libc_feresetroundl_ctx): Likewise.
16113 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
16114 (libc_feresetround_53bit_ctx): Likewise.
16116 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16118 * locale/iso-639.def: Convert to UTF-8.
16120 2013-06-11 Joseph Myers <joseph@codesourcery.com>
16122 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
16123 (EXCEPTION_TESTS_double): Likewise.
16124 (EXCEPTION_TESTS_long_double): Likewise.
16125 (EXCEPTION_TESTS): Likewise.
16126 * math/libm-test.inc (test_exceptions): Only test exceptions if
16127 EXCEPTION_TESTS (FLOAT).
16129 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16131 * benchtests/Makefile (string-bench): Add strcpy_chk and
16133 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
16134 * benchtests/bench-stpcpy_chk.c: New file.
16135 * benchtests/bench-strcpy_chk-ifunc.c: New file.
16136 * benchtests/bench-strcpy_chk.c: New file.
16137 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
16139 (do_test): Likewise.
16141 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16143 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
16144 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
16145 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
16146 with tabs where appropriate.
16147 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
16149 [PPC_PLATFORM_PPC440]: Likewise.
16150 [PPC_PLATFORM_PPC464]: Likewise.
16151 [PPC_PLATFORM_PPC476]: Likewise.
16152 (_dl_string_platform): Add support for detecting ppc405, ppc440,
16153 ppc464, and ppc476 platform strings merging from ports/
16156 2013-06-11 Andreas Schwab <schwab@suse.de>
16159 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
16160 (from_ucs4_idx): Regenerate.
16161 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
16162 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
16163 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
16164 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
16165 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
16166 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
16167 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
16168 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
16169 from FROM_LOOP and TO_LOOP specific macros.
16170 (BODY): Handle combining characters.
16171 * iconvdata/BIG5HKSCS.irreversible: Update.
16172 * iconvdata/BIG5HKSCS.precomposed: New file.
16173 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
16175 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
16177 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16179 * include/sys/time.h: Fix indentation and add copyright header.
16181 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
16182 (do_test): Likewise.
16183 * string/test-memchr.c (do_one_test): Likewise.
16184 (do_test): Likewise.
16185 * string/test-memcmp.c (do_one_test): Likewise.
16186 (do_test): Likewise.
16187 * string/test-memcpy.c (do_one_test): Likewise.
16188 (do_test): Likewise.
16189 * string/test-memmem.c (do_one_test): Likewise.
16190 (do_test): Likewise.
16191 (do_random_tests): Likewise.
16192 * string/test-memmove.c (do_one_test): Likewise.
16193 (do_test): Likewise.
16194 * string/test-memset.c (do_one_test): Likewise.
16195 (do_test): Likewise.
16196 * string/test-rawmemchr.c (do_one_test): Likewise.
16197 (do_test): Likewise.
16198 * string/test-strcasecmp.c (do_one_test): Likewise.
16199 (do_test): Likewise.
16200 * string/test-strcasestr.c (do_one_test): Likewise.
16201 (do_test): Likewise.
16202 * string/test-strcat.c (do_one_test): Likewise.
16203 (do_test): Likewise.
16204 * string/test-strchr.c (do_one_test): Likewise.
16205 (do_test): Likewise.
16206 * string/test-strcmp.c (do_one_test): Likewise.
16207 (do_test): Likewise.
16208 * string/test-strcpy.c (do_one_test): Likewise.
16209 (do_test): Likewise.
16210 * string/test-string.h: Likewise.
16211 (test_init): Likewise.
16212 * string/test-strlen.c (do_one_test): Likewise.
16213 (do_test): Likewise.
16214 * string/test-strncasecmp.c (do_one_test): Likewise.
16215 (do_test): Likewise.
16216 * string/test-strncat.c (do_one_test): Likewise.
16217 (do_test): Likewise.
16218 * string/test-strncmp.c (do_one_test): Likewise.
16219 (do_test_limit): Likewise.
16220 (do_test): Likewise.
16221 * string/test-strncpy.c (do_one_test): Likewise.
16222 (do_test): Likewise.
16223 * string/test-strnlen.c (do_one_test): Likewise.
16224 (do_test): Likewise.
16225 * string/test-strpbrk.c (do_one_test): Likewise.
16226 (do_test): Likewise.
16227 * string/test-strrchr.c (do_one_test): Likewise.
16228 (do_test): Likewise.
16229 * string/test-strspn.c (do_one_test): Likewise.
16230 (do_test): Likewise.
16231 * string/test-strstr.c (do_one_test): Likewise.
16232 (do_test): Likewise.
16234 * benchtests/Makefile (string-bench): Add string benchmarks.
16235 * benchtests/bench-bcopy-ifunc.c: New file.
16236 * benchtests/bench-bcopy.c: New file.
16237 * benchtests/bench-bzero-ifunc.c: New file.
16238 * benchtests/bench-bzero.c: New file.
16239 * benchtests/bench-memccpy-ifunc.c: New file.
16240 * benchtests/bench-memccpy.c: New file.
16241 * benchtests/bench-memchr-ifunc.c: New file.
16242 * benchtests/bench-memchr.c: New file.
16243 * benchtests/bench-memcmp-ifunc.c: New file.
16244 * benchtests/bench-memcmp.c: New file.
16245 * benchtests/bench-memmem-ifunc.c: New file.
16246 * benchtests/bench-memmem.c: New file.
16247 * benchtests/bench-memmove-ifunc.c: New file.
16248 * benchtests/bench-memmove.c: New file.
16249 * benchtests/bench-mempcpy-ifunc.c: New file.
16250 * benchtests/bench-mempcpy.c: New file.
16251 * benchtests/bench-memset-ifunc.c: New file.
16252 * benchtests/bench-memset.c: New file.
16253 * benchtests/bench-rawmemchr-ifunc.c: New file.
16254 * benchtests/bench-rawmemchr.c: New file.
16255 * benchtests/bench-stpcpy-ifunc.c: New file.
16256 * benchtests/bench-stpcpy.c: New file.
16257 * benchtests/bench-stpncpy-ifunc.c: New file.
16258 * benchtests/bench-stpncpy.c: New file.
16259 * benchtests/bench-strcasecmp-ifunc.c: New file.
16260 * benchtests/bench-strcasecmp.c: New file.
16261 * benchtests/bench-strcasestr-ifunc.c: New file.
16262 * benchtests/bench-strcasestr.c: New file.
16263 * benchtests/bench-strcat-ifunc.c: New file.
16264 * benchtests/bench-strcat.c: New file.
16265 * benchtests/bench-strchr-ifunc.c: New file.
16266 * benchtests/bench-strchr.c: New file.
16267 * benchtests/bench-strchrnul-ifunc.c: New file.
16268 * benchtests/bench-strchrnul.c: New file.
16269 * benchtests/bench-strcmp-ifunc.c: New file.
16270 * benchtests/bench-strcmp.c: New file.
16271 * benchtests/bench-strcpy-ifunc.c: New file.
16272 * benchtests/bench-strcpy.c: New file.
16273 * benchtests/bench-strcspn-ifunc.c: New file.
16274 * benchtests/bench-strcspn.c: New file.
16275 * benchtests/bench-strlen-ifunc.c: New file.
16276 * benchtests/bench-strlen.c: New file.
16277 * benchtests/bench-strncasecmp-ifunc.c: New file.
16278 * benchtests/bench-strncasecmp.c: New file.
16279 * benchtests/bench-strncat-ifunc.c: New file.
16280 * benchtests/bench-strncat.c: New file.
16281 * benchtests/bench-strncmp-ifunc.c: New file.
16282 * benchtests/bench-strncmp.c: New file.
16283 * benchtests/bench-strncpy-ifunc.c: New file.
16284 * benchtests/bench-strncpy.c: New file.
16285 * benchtests/bench-strnlen-ifunc.c: New file.
16286 * benchtests/bench-strnlen.c: New file.
16287 * benchtests/bench-strpbrk-ifunc.c: New file.
16288 * benchtests/bench-strpbrk.c: New file.
16289 * benchtests/bench-strrchr-ifunc.c: New file.
16290 * benchtests/bench-strrchr.c: New file.
16291 * benchtests/bench-strspn-ifunc.c: New file.
16292 * benchtests/bench-strspn.c: New file.
16293 * benchtests/bench-strstr-ifunc.c: New file.
16294 * benchtests/bench-strstr.c: New file.
16296 * benchtests/Makefile: Disable parallel execution of targets.
16297 (string-bench): Add memcpy.
16298 (benchset): New variable to store a list of benchmark sets.
16299 (bench-func): Renamed from bench.
16300 (bench-set): New target.
16301 (bench): Depend on bench-func and bench-set.
16302 * benchtests/README: Add section on benchmark sets.
16303 * benchtests/bench-memcpy-ifunc.c: New file.
16304 * benchtests/bench-memcpy.c: New file.
16305 * benchtests/bench-string.h: New file.
16307 2013-06-11 Andreas Schwab <schwab@suse.de>
16310 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
16311 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
16312 values in the triple.
16313 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
16314 terminator in the group key.
16316 2013-06-11 Andreas Jaeger <aj@suse.de>
16318 * po/zh_TW.po: Update Chinese (traditional) translation from
16319 translation project.
16321 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16323 * include/time.h (__clock_gettime): Add libc_hidden_proto.
16324 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
16325 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
16326 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16327 (clock_getcpuclockid): Likewise.
16328 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
16329 Add weak_alias and libc_hidden_def.
16330 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
16331 * rt/clock_gettime.c (clock_gettime): Rename to
16332 __clock_gettime. Add weak_alias and libc_hidden_def.
16333 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
16334 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
16335 __clock_nanosleep. Add weak_alias and libc_hidden_def.
16336 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
16337 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
16339 * rt/clock_settime.c (clock_settime): Rename to
16340 __clock_settime. Add weak_alias and libc_hidden_def.
16341 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
16343 2013-06-10 Joseph Myers <joseph@codesourcery.com>
16345 * mach/err_boot.sub: Remove trailing whitespace.
16346 * mach/err_ipc.sub: Likewise.
16347 * mach/err_mach.sub: Likewise.
16349 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
16350 (ROUNDING_TESTS_double): Likewise.
16351 (ROUNDING_TESTS_long_double): Likewise.
16352 (ROUNDING_TESTS): Likewise.
16353 * math/libm-test.inc: Include <math-tests.h>.
16354 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
16355 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16356 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16357 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16359 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16361 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
16364 2013-06-08 Joseph Myers <joseph@codesourcery.com>
16366 * sysdeps/gnu/errlist.awk: Do not generate space at end of
16367 otherwise empty TRANS lines.
16368 * sysdeps/gnu/errlist.c: Regenerated.
16370 * catgets/gencat.c (error_print): Use (void) in function
16372 * crypt/crypt_util.c (__init_des): Likewise.
16373 * crypt/speeds.c (Stop): Likewise.
16375 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
16376 * inet/ruserpass.c (token): Likewise.
16377 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
16378 * intl/localealias.c (extend_alias_table): Likewise.
16379 * intl/plural-exp.c (init_germanic_plural): Likewise.
16380 * libio/fcloseall.c (__fcloseall): Likewise.
16381 * libio/genops.c (_IO_flush_all): Likewise.
16382 (_IO_flush_all_linebuffered): Likewise.
16383 (_IO_cleanup): Likewise.
16384 (_IO_iter_begin): Likewise.
16385 (_IO_iter_end): Likewise.
16386 (_IO_list_lock): Likewise.
16387 (_IO_list_unlock): Likewise.
16388 (_IO_list_resetlock): Likewise.
16389 * libio/getchar.c (getchar): Likewise.
16390 * libio/getchar_u.c (getchar_unlocked): Likewise.
16391 * libio/getwchar.c (getwchar): Likewise.
16392 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
16393 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
16394 * login/getpt.c (__getpt): Likewise.
16395 * login/tst-utmp.c (main): Likewise.
16396 * malloc/hooks.c (__malloc_check_init): Likewise.
16397 * malloc/malloc.c (__malloc_stats): Likewise.
16398 * malloc/mtrace.c (tr_break): Likewise.
16399 (mtrace): Likewise.
16400 (muntrace): Likewise.
16401 * misc/fstab.c (endfsent): Likewise.
16402 * misc/getclktck.c (__getclktck): Likewise.
16403 * misc/getdtsz.c (__getdtablesize): Likewise.
16404 * misc/gethostid.c (gethostid): Likewise.
16405 * misc/getpagesize.c (__getpagesize): Likewise.
16406 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
16407 (__get_nprocs): Likewise.
16408 (__get_phys_pages): Likewise.
16409 (__get_avphys_pages): Likewise.
16410 * misc/getttyent.c (getttyent): Likewise.
16411 (setttyent): Likewise.
16412 (endttyent): Likewise.
16413 * misc/getusershell.c (getusershell): Likewise.
16414 (endusershell): Likewise.
16415 (setusershell): Likewise.
16416 (initshells): Likewise.
16417 * misc/hsearch.c (__hdestroy): Likewise.
16418 * misc/sync.c (sync): Likewise.
16419 * misc/syslog.c (closelog_internal): Likewise.
16420 (closelog): Likewise.
16421 * misc/ttyslot.c (ttyslot): Likewise.
16422 * misc/vhangup.c (vhangup): Likewise.
16423 * posix/fork.c (__fork): Likewise.
16424 * posix/getegid.c (__getegid): Likewise.
16425 * posix/geteuid.c (__geteuid): Likewise.
16426 * posix/getgid.c (__getgid): Likewise.
16427 * posix/getpid.c (__getpid): Likewise.
16428 * posix/getppid.c (__getppid): Likewise.
16429 * posix/getuid.c (__getuid): Likewise.
16430 * posix/pause.c (pause): Likewise.
16431 * posix/setpgrp.c (setpgrp): Likewise.
16432 * posix/setsid.c (__setsid): Likewise.
16433 * posix/test-vfork.c (noop): Likewise.
16434 * resolv/gethnamaddr.c (_endhtent): Likewise.
16435 (_gethtent): Likewise.
16436 (ht_endhostent): Likewise.
16437 (gethostent): Likewise.
16438 (dns_service): Likewise.
16439 * stdlib/drand48.c (drand48): Likewise.
16440 * stdlib/lrand48.c (lrand48): Likewise.
16441 * stdlib/mrand48.c (mrand48): Likewise.
16442 * stdlib/rand.c (rand): Likewise.
16443 * stdlib/random.c (__random): Likewise.
16444 * stdlib/setenv.c (clearenv): Likewise.
16445 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
16446 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
16447 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
16448 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
16449 (__get_nprocs): Likewise.
16450 (__get_phys_pages): Likewise.
16451 (__get_avphys_pages): Likewise.
16452 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
16453 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
16454 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
16455 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
16456 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
16457 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
16458 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
16459 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
16460 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
16461 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
16462 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
16463 * sysdeps/mach/hurd/sync.c (sync): Likewise.
16464 * sysdeps/posix/clock.c (clock): Likewise.
16465 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
16466 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
16467 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
16468 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16469 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
16470 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16471 (__get_nprocs_conf): Likewise.
16472 (__get_phys_pages): Likewise.
16473 (__get_avphys_pages): Likewise.
16474 * time/clock.c (clock): Likewise.
16475 * time/tzset.c (__tzname_max): Likewise.
16477 2013-06-07 Joseph Myers <joseph@codesourcery.com>
16479 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
16480 (__bswap_32): Do not use "register".
16481 * crypt/crypt.c (_ufc_doit_r): Likewise.
16482 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16483 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16484 * gmon/gmon.c (__monstartup): Likewise.
16485 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
16486 * hurd/hurdmalloc.c (more_memory): Likewise.
16487 (malloc): Likewise.
16489 (realloc): Likewise.
16490 (malloc_fork_prepare): Likewise.
16491 (malloc_fork_parent): Likewise.
16492 (malloc_fork_child): Likewise.
16493 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
16494 (_svcauth_des): Likewise.
16495 * inet/inet_lnaof.c (inet_lnaof): Likewise.
16496 * inet/inet_net.c (inet_network): Likewise.
16497 * inet/inet_netof.c (inet_netof): Likewise.
16498 * inet/rcmd.c (__validuser2_sa): Likewise.
16499 * io/fts.c (fts_open): Likewise.
16500 (fts_load): Likewise.
16501 (fts_close): Likewise.
16502 (fts_read): Likewise.
16503 (fts_children): Likewise.
16504 (fts_build): Likewise.
16505 (fts_stat): Likewise.
16506 (fts_sort): Likewise.
16507 (fts_alloc): Likewise.
16508 (fts_lfree): Likewise.
16509 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
16510 (_IO_file_xsgetn): Likewise.
16511 (_IO_file_xsgetn_mmap): Likewise.
16512 * libio/iofopncook.c (_IO_cookie_read): Likewise.
16513 (_IO_cookie_write): Likewise.
16514 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
16515 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
16516 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
16517 * malloc/obstack.c (_obstack_begin): Likewise.
16518 (_obstack_begin_1): Likewise.
16519 (_obstack_newchunk): Likewise.
16520 (_obstack_allocated_p): Likewise.
16521 (obstack_free): Likewise.
16522 (_obstack_memory_used): Likewise.
16523 * misc/getttyent.c (getttynam): Likewise.
16524 (getttyent): Likewise.
16527 * misc/getusershell.c (initshells): Likewise.
16528 * misc/syslog.c (__vsyslog_chk): Likewise.
16529 * misc/ttyslot.c (ttyslot): Likewise.
16530 * nis/nis_hash.c (__nis_hash): Likewise.
16531 * posix/fnmatch_loop.c (FCT): Likewise.
16532 * posix/getconf.c (print_all): Likewise.
16534 * posix/getopt.c (exchange): Likewise.
16535 * posix/glob.c (globfree): Likewise.
16536 (prefix_array): Likewise.
16537 (__glob_pattern_type): Likewise.
16538 * resolv/arpa/nameser.h (NS_GET16): Likewise.
16539 (NS_GET32): Likewise.
16540 (NS_PUT16): Likewise.
16541 (NS_PUT32): Likewise.
16542 * resolv/gethnamaddr.c (getanswer): Likewise.
16543 (gethostbyname2): Likewise.
16544 (gethostbyaddr): Likewise.
16545 (_gethtent): Likewise.
16546 (_gethtbyname2): Likewise.
16547 (_gethtbyaddr): Likewise.
16548 * resolv/ns_print.c (dst_s_get_int16): Likewise.
16549 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16550 * resolv/res_init.c (__res_vinit): Likewise.
16551 (net_mask): Likewise.
16552 * resolv/res_mkquery.c (outchar): Likewise.
16554 * stdio-common/printf_fp.c (outchar): Likewise.
16556 * stdio-common/printf_fphex.c (outchar): Likewise.
16558 * stdio-common/printf_size.c (outchar): Likewise.
16560 * stdio-common/test_rdwr.c (main): Likewise.
16561 * stdio-common/tfformat.c (matches): Likewise.
16562 * stdio-common/vfprintf.c (outchar): Likewise.
16563 (printf_unknown): Likewise.
16564 (buffered_vfprintf): Likewise.
16565 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16566 * stdio-common/xbug.c (AppendToBuffer): Likewise.
16567 (ReadFile): Likewise.
16568 * stdlib/qsort.c (SWAP): Likewise.
16569 (_quicksort): Likewise.
16570 * stdlib/setenv.c (__add_to_environ): Likewise.
16571 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16572 * stdlib/strtol_l.c (__strtol_l): Likewise.
16573 * stdlib/tst-strtod.c (main): Likewise.
16574 * stdlib/tst-strtol.c (main): Likewise.
16575 * stdlib/tst-strtoll.c (main): Likewise.
16576 * string/bits/string2.h (__strcmp_cc): Likewise.
16577 (__strcmp_cg): Likewise.
16578 (__strcspn_c1): Likewise.
16579 (__strcspn_c2): Likewise.
16580 (__strcspn_c3): Likewise.
16581 (__strspn_c1): Likewise.
16582 (__strspn_c2): Likewise.
16583 (__strspn_c3): Likewise.
16584 (__strsep_1c): Likewise.
16585 (__strsep_2c): Likewise.
16586 (__strsep_3c): Likewise.
16587 * string/memccpy.c (__memccpy): Likewise.
16588 * string/stpcpy.c (__stpcpy): Likewise.
16589 * string/strcmp.c (strcmp): Likewise.
16590 * string/strrchr.c (strrchr): Likewise.
16591 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
16593 * sysdeps/mach/hurd/getcwd.c
16594 (_hurd_canonicalize_directory_name_internal): Likewise.
16595 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
16596 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
16597 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
16598 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
16599 Likewise, in both definitions.
16600 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
16602 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
16603 64] (__bswap_64): Likewise.
16604 * time/test_time.c (main): Likewise.
16605 * time/tzfile.c (__tzfile_read): Likewise.
16606 (__tzfile_compute): Likewise.
16607 * time/tzset.c (__tzset_parse_tz): Likewise.
16608 (tzset_internal): Likewise.
16609 (compute_change): Likewise.
16610 * wcsmbs/wcscat.c (__wcscat): Likewise.
16611 * wcsmbs/wcschr.c (wcschr): Likewise.
16612 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
16613 * wcsmbs/wcscspn.c (wcscspn): Likewise.
16614 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
16615 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
16616 * wcsmbs/wcsspn.c (wcsspn): Likewise.
16617 * wcsmbs/wcsstr.c (wcsstr): Likewise.
16618 * wcsmbs/wmemchr.c (wmemchr): Likewise.
16619 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16620 * wcsmbs/wmemset.c (wmemset): Likewise.
16622 2013-06-06 Joseph Myers <joseph@codesourcery.com>
16624 * scripts/config.guess: Update to version 2013-05-16.
16625 * scripts/config.sub: Update to version 2013-04-24.
16626 * scripts/install-sh: Update to version 2011-11-20.07.
16627 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
16628 * scripts/move-if-change: Update to version 2012-01-06 07:23.
16630 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
16632 * debug/fgetws_u_chk.c: Fix leading whitespaces.
16633 * elf/sln.c: Likewise.
16634 * hurd/hurd/ioctl.h: Likewise.
16635 * hurd/hurdmalloc.c: Likewise.
16636 * hurd/xattr.c: Likewise.
16637 * include/shlib-compat.h: Likewise.
16638 * inet/ruserpass.c: Likewise.
16639 * libio/iofgets_u.c: Likewise.
16640 * libio/iofgetws_u.c: Likewise.
16641 * locale/programs/ld-identification.c: Likewise.
16642 * locale/programs/ld-time.c: Likewise.
16643 * mach/msg-destroy.c: Likewise.
16644 * nss/nss_files/files-netgrp.c: Likewise.
16645 * resolv/res_data.c: Likewise.
16646 * soft-fp/op-1.h: Likewise.
16647 * soft-fp/op-2.h: Likewise.
16648 * soft-fp/op-4.h: Likewise.
16649 * soft-fp/op-common.h: Likewise.
16650 * stdio-common/printf_fphex.c: Likewise.
16651 * stdlib/strtod_l.c: Likewise.
16652 * sunrpc/rpc/clnt.h: Likewise.
16653 * sysdeps/generic/framestate.c: Likewise.
16654 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16655 * sysdeps/i386/bsd-setjmp.S: Likewise.
16656 * sysdeps/i386/__longjmp.S: Likewise.
16657 * sysdeps/i386/setjmp.S: Likewise.
16658 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16659 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16660 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16661 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16662 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16663 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16664 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16665 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16666 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16667 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16668 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16669 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16670 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16671 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16672 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16673 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16674 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16675 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
16676 * sysdeps/ieee754/support.c: Likewise.
16677 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16678 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
16679 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
16680 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
16681 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
16682 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
16683 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
16684 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
16685 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
16686 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
16687 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
16688 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
16689 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
16690 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
16691 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
16692 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
16693 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16696 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
16698 * posix/transbug.c: Remove executable mode.
16700 2013-06-05 Joseph Myers <joseph@codesourcery.com>
16702 * crypt/speeds.c: Remove trailing whitespace.
16703 * dlfcn/default.c: Likewise.
16704 * elf/ifuncdep2.c: Likewise.
16705 * elf/ifuncmain1.c: Likewise.
16706 * elf/ifuncmain1vis.c: Likewise.
16707 * elf/testobj.h: Likewise.
16708 * elf/tst-stackguard1.c: Likewise.
16709 * gmon/sys/gmon.h: Likewise.
16710 * hurd/hurdmsg.c: Likewise.
16711 * hurd/new-fd.c: Likewise.
16712 * hurd/ports-get.c: Likewise.
16713 * iconvdata/ibm1008_420.c: Likewise.
16714 * inet/tst-getni1.c: Likewise.
16715 * inet/tst-getni2.c: Likewise.
16716 * libio/ioungetc.c: Likewise.
16717 * libio/wfiledoalloc.c: Likewise.
16718 * manual/libm-err-tab.pl: Likewise.
16719 * math/w_dremf.c: Likewise.
16720 * misc/ftruncate.c: Likewise.
16721 * posix/bug-glob2.c: Likewise.
16722 * posix/tst-pcre.c: Likewise.
16723 * posix/wait4.c: Likewise.
16724 * resolv/README: Likewise.
16725 * resolv/res_debug.h: Likewise.
16726 * resolv/tst-inet_ntop.c: Likewise.
16727 * setjmp/bug269-setjmp.c: Likewise.
16728 * soft-fp/extended.h: Likewise.
16729 * soft-fp/op-1.h: Likewise.
16730 * soft-fp/op-2.h: Likewise.
16731 * soft-fp/op-4.h: Likewise.
16732 * soft-fp/op-8.h: Likewise.
16733 * soft-fp/testit.c: Likewise.
16734 * stdio-common/bug16.c: Likewise.
16735 * stdlib/random.c: Likewise.
16736 * sunrpc/rpcsvc/rquota.x: Likewise.
16737 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
16738 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16739 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16740 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16741 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16742 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16743 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16744 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16745 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16746 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16747 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16748 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16749 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16750 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16751 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16752 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16753 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16754 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16755 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16756 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16757 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16758 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16759 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16760 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16761 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16762 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16763 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16764 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16765 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16766 * sysdeps/ieee754/s_lib_version.c: Likewise.
16767 * sysdeps/mach/hurd/check_fds.c: Likewise.
16768 * sysdeps/mach/hurd/getsockname.c: Likewise.
16769 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
16770 * sysdeps/mach/hurd/recvfrom.c: Likewise.
16771 * sysdeps/powerpc/bits/link.h: Likewise.
16772 * sysdeps/powerpc/dl-procinfo.c: Likewise.
16773 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
16774 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
16775 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
16776 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16777 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16778 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
16779 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16780 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
16781 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16782 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
16783 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16784 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
16785 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16786 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16787 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16788 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16789 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16790 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16791 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16792 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16793 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
16794 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16795 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16796 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
16797 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16798 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16799 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16800 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16801 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16802 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16803 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16804 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16805 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16806 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
16807 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16808 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
16809 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16810 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16811 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
16812 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
16813 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
16814 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
16815 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
16816 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16817 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
16818 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
16819 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16820 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
16821 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
16822 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16823 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16824 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16825 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16826 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
16827 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16828 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16829 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16830 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
16831 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16832 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
16833 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
16834 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
16835 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16836 * sysdeps/powerpc/sysdep.h: Likewise.
16837 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16838 * sysdeps/s390/s390-64/sub_n.S: Likewise.
16839 * sysdeps/sh/dl-trampoline.S: Likewise.
16840 * sysdeps/sh/memset.S: Likewise.
16841 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
16842 * sysdeps/sh/strlen.S: Likewise.
16843 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
16844 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
16845 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
16846 * sysdeps/sparc/sparc32/rem.S: Likewise.
16847 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16848 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
16849 * sysdeps/sparc/sparc32/strchr.S: Likewise.
16850 * sysdeps/sparc/sparc32/udiv.S: Likewise.
16851 * sysdeps/sparc/sparc32/urem.S: Likewise.
16852 * sysdeps/sparc/sparc64/add_n.S: Likewise.
16853 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16854 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
16855 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
16856 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
16857 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
16858 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16859 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
16860 * sysdeps/unix/bsd/times.c: Likewise.
16861 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
16862 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
16863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16866 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
16867 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16868 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
16869 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
16870 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
16871 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
16872 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16873 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
16874 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16875 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16876 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16877 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16878 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
16879 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
16880 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
16881 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
16882 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
16883 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16884 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
16885 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
16886 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16887 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
16888 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16889 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
16890 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
16891 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
16892 * sysdeps/x86_64/strcspn.S: Likewise.
16894 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16896 * locale/C-translit.h: Revert #include <stdint.h> because this is a
16897 generated file. Regenerate properly from gen-translit.pl.
16898 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
16899 locale/C-translit.h.
16901 2013-06-05 Andreas Schwab <schwab@suse.de>
16904 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
16905 week as 6 instead of -1.
16906 * time/tst-strptime.c (day_tests): Add test case.
16908 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16910 * sysdeps/generic/math_private.h
16911 (libc_feholdexcept_setround_53bit): Replace with
16912 libc_feholdsetround_53bit.
16913 (libc_feupdateenv_53bit): Replace with
16914 libc_feresetround_53bit.
16915 (SET_RESTORE_ROUND_53BIT): Adjust.
16917 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16919 * string/test-strchrnul.c: Add copyright header.
16921 * posix/tst-getaddrinfo4.c: Increase test timeout.
16923 2013-06-03 Carlos O'Donell <carlos@redhat.com>
16926 * math/libm-test.inc (MAX_EXP): Remove
16928 (ulp): Use MIN_EXP - MANT_DIG.
16929 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
16931 2013-05-31 Carlos O'Donell <carlos@redhat.com>
16933 * po/be.po: Revert last change.
16934 * po/zh_CN.po: Likewise.
16935 * po/header.pot: Likewise.
16937 2013-05-31 Joseph Myers <joseph@codesourcery.com>
16939 * Makefile ($(common-objpfx)linkobj/libc.so): Define
16940 link-libc-deps to empty as target-specific variable.
16941 * Makerules (link-libc-args): New variable.
16942 (libc-for-link): Likewise.
16943 (link-libc-deps): Likewise.
16944 (lib%.so): Depend on $(link-libc-deps). Link with
16946 (build-module): Link with $(link-libc-args).
16947 (build-module-asneeded): Likewise.
16948 (build-module-helper-objlist): Filter out $(link-libc-deps) from
16950 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
16951 target-specific variable.
16952 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
16953 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
16954 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
16956 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
16958 ($(objpfx)libpcprofile.so): Likewise.
16959 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
16961 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
16962 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
16963 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
16965 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
16966 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
16967 * login/Makefile ($(objpfx)libutil.so): Likewise.
16968 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
16969 * math/Makefile ($(objpfx)libm.so): Likewise.
16970 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
16971 $(objpfx)libnsl.so): Define libc-for-link as target-specific
16972 variable instead of depending directly on libc.
16973 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
16974 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
16976 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
16978 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
16979 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
16980 ($(objpfx)libanl.so): Likewise.
16981 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
16983 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
16985 * sysdeps/i386/fpu/Makefile: Remove file.
16986 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
16987 ($(objpfx)libm.so): Remove dependency on ld.so.
16989 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
16992 * nis/yp_xdr.c (XDRMAXNAME): Define.
16993 (XDRMAXRECORD): Define.
16994 (xdr_domainname): Use XDRMAXNAME.
16995 (xdr_mapname): Likewise.
16996 (xdr_peername): Likewise.
16997 (xdr_keydat): Use XDRMAXRECORD.
16998 (xdr_valdat): Likewise.
17000 2013-05-30 Jeff Law <law@redhat.com>
17003 * manual/errno.texi (ESTALE): Update to account for more than
17004 just NFS file systems.
17005 * sysdeps/gnu/errlist.c: Regenerated.
17007 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17010 * elf/Makefile (tests): Add tst-null-argv.
17011 (modules-names): Add tst-null-argv-lib.
17012 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17013 (tst-null-argv-ENV): Set environment for tst-null-argv.
17014 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17015 (RTLD_PROGNAME): New macro.
17016 * elf/tst-null-argv.c: New test case.
17017 * elf/tst-null-argv-lib.c: Library for test case.
17018 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17019 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17020 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17021 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17022 * elf/dl-init.c (call_init): Likewise.
17023 (_dl_init): Likewise.
17024 * elf/dl-load.c (print_search_path): Likewise.
17025 (_dl_map_object): Likewise.
17026 * elf/dl-lookup.c (do_lookup_x): Likewise.
17027 (add_dependency): Likewise.
17028 (_dl_lookup_symbol_x): Likewise.
17029 (_dl_debug_bindings): Likewise.
17030 * elf/dl-open.c (_dl_show_scope): Likewise.
17031 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17032 * elf/dl-version.c (match_symbol): Likewise.
17033 (_dl_check_map_versions): Likewise.
17034 * elf/rtld.c (dl_main): Likewise.
17035 (print_unresolved): Use RTLD_PROGNAME.
17036 (print_missing_version): Likewise.
17037 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17038 (elf_machine_rela): Likewise.
17039 * sysdeps/powerpc/powerpc32/dl-machine.c
17040 (__process_machine_rela): Likewise.
17041 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17043 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17045 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17047 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17048 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17050 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17052 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17054 2013-05-28 Carlos O'Donell <carlos@redhat.com>
17056 * po/be.po: Add descriptive title.
17057 * po/zh_CN.po: Likewise.
17058 * po/header.pot: Likewise.
17060 2013-05-28 Mike Frysinger <vapier@gentoo.org>
17062 * locale/programs/locarchive.c (create_archive): Inlucde fname in
17064 (enlarge_archive): Likewise.
17066 2013-05-28 Ben North <ben@redfrontdoor.org>
17068 * manual/arith.texi (frexp): It is the magnitude of the return
17069 value which lies in [0.5, 1), not the return value itself.
17071 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17073 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17075 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
17077 * stdio-common/bug26.c (main): Correct fscanf template.
17079 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17080 declare _dl_skip_args.
17082 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17085 * manual/platform.texi: Add missing @end deftypefun.
17087 2013-05-24 Joseph Myers <joseph@codesourcery.com>
17090 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17091 bit of mantissa of 2^16382.
17092 * math/libm-test.inc (hypot_test_data): Add more tests.
17094 * math/libm-test.inc: Add drem and pow10 to list of tested
17096 (pow10_test): New function.
17097 (drem_test): Likewise.
17098 (drem_test_tonearest): Likewise.
17099 (drem_test_towardzero): Likewise.
17100 (drem_test_downward): Likewise.
17101 (drem_test_upward): Likewise.
17102 (main): Call the new functions.
17104 * math/libm-test.inc (finite_test_data): Remove.
17105 (finite_test): Run tests from isfinite_test_data.
17106 (gamma_test_data): Remove.
17107 (gamma_test): Run tests from lgamma_test_data.
17108 * sysdeps/i386/fpu/libm-test-ulps: Update.
17109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17111 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17113 * manual/platform.texi: Add PowerPC PPR function set documentation.
17114 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
17117 2013-05-24 Carlos O'Donell <carlos@redhat.com>
17119 * math/libm-test.inc (MAX_EXP): Define.
17121 (ulp): New function.
17122 (check_float_internal): Use ULPDIFF.
17123 (cpow_test): Disable failing test.
17124 (check_ulp): Test ulp() implemetnation.
17125 (main): Call check_ulp before starting tests.
17127 2013-05-24 Joseph Myers <joseph@codesourcery.com>
17129 * math/gen-libm-test.pl (generate_testfile): Do not handle
17130 START_DATA and END_DATA.
17131 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
17133 (acos_tonearest_test_data): Likewise.
17134 (acos_towardzero_test_data): Likewise.
17135 (acos_downward_test_data): Likewise.
17136 (acos_upward_test_data): Likewise.
17137 (acosh_test_data): Likewise.
17138 (asin_test_data): Likewise.
17139 (asin_tonearest_test_data): Likewise.
17140 (asin_towardzero_test_data): Likewise.
17141 (asin_downward_test_data): Likewise.
17142 (asin_upward_test_data): Likewise.
17143 (asinh_test_data): Likewise.
17144 (atan_test_data): Likewise.
17145 (atanh_test_data): Likewise.
17146 (atan2_test_data): Likewise.
17147 (cabs_test_data): Likewise.
17148 (cacos_test_data): Likewise.
17149 (cacosh_test_data): Likewise.
17150 (carg_test_data): Likewise.
17151 (casin_test_data): Likewise.
17152 (casinh_test_data): Likewise.
17153 (catan_test_data): Likewise.
17154 (catanh_test_data): Likewise.
17155 (cbrt_test_data): Likewise.
17156 (ccos_test_data): Likewise.
17157 (ccosh_test_data): Likewise.
17158 (ceil_test_data): Likewise.
17159 (cexp_test_data): Likewise.
17160 (cimag_test_data): Likewise.
17161 (clog_test_data): Likewise.
17162 (clog10_test_data): Likewise.
17163 (conj_test_data): Likewise.
17164 (copysign_test_data): Likewise.
17165 (cos_test_data): Likewise.
17166 (cos_tonearest_test_data): Likewise.
17167 (cos_towardzero_test_data): Likewise.
17168 (cos_downward_test_data): Likewise.
17169 (cos_upward_test_data): Likewise.
17170 (cosh_test_data): Likewise.
17171 (cosh_tonearest_test_data): Likewise.
17172 (cosh_towardzero_test_data): Likewise.
17173 (cosh_downward_test_data): Likewise.
17174 (cosh_upward_test_data): Likewise.
17175 (cpow_test_data): Likewise.
17176 (cproj_test_data): Likewise.
17177 (creal_test_data): Likewise.
17178 (csin_test_data): Likewise.
17179 (csinh_test_data): Likewise.
17180 (csqrt_test_data): Likewise.
17181 (ctan_test_data): Likewise.
17182 (ctan_tonearest_test_data): Likewise.
17183 (ctan_towardzero_test_data): Likewise.
17184 (ctan_downward_test_data): Likewise.
17185 (ctan_upward_test_data): Likewise.
17186 (ctanh_test_data): Likewise.
17187 (ctanh_tonearest_test_data): Likewise.
17188 (ctanh_towardzero_test_data): Likewise.
17189 (ctanh_downward_test_data): Likewise.
17190 (ctanh_upward_test_data): Likewise.
17191 (erf_test_data): Likewise.
17192 (erfc_test_data): Likewise.
17193 (exp_test_data): Likewise.
17194 (exp_tonearest_test_data): Likewise.
17195 (exp_towardzero_test_data): Likewise.
17196 (exp_downward_test_data): Likewise.
17197 (exp_upward_test_data): Likewise.
17198 (exp10_test_data): Likewise.
17199 (exp2_test_data): Likewise.
17200 (expm1_test_data): Likewise.
17201 (fabs_test_data): Likewise.
17202 (fdim_test_data): Likewise.
17203 (finite_test_data): Likewise.
17204 (floor_test_data): Likewise.
17205 (fma_test_data): Likewise.
17206 (fma_towardzero_test_data): Likewise.
17207 (fma_downward_test_data): Likewise.
17208 (fma_upward_test_data): Likewise.
17209 (fmax_test_data): Likewise.
17210 (fmin_test_data): Likewise.
17211 (fmod_test_data): Likewise.
17212 (fpclassify_test_data): Likewise.
17213 (frexp_test_data): Likewise.
17214 (gamma_test_data): Likewise.
17215 (hypot_test_data): Likewise.
17216 (ilogb_test_data): Likewise.
17217 (isfinite_test_data): Likewise.
17218 (isgreater_test_data): Likewise.
17219 (isgreaterequal_test_data): Likewise.
17220 (isinf_test_data): Likewise.
17221 (isless_test_data): Likewise.
17222 (islessequal_test_data): Likewise.
17223 (islessgreater_test_data): Likewise.
17224 (isnan_test_data): Likewise.
17225 (isnormal_test_data): Likewise.
17226 (issignaling_test_data): Likewise.
17227 (isunordered_test_data): Likewise.
17228 (j0_test_data): Likewise.
17229 (j1_test_data): Likewise.
17230 (jn_test_data): Likewise.
17231 (ldexp_test_data): Likewise.
17232 (lgamma_test_data): Likewise.
17233 (lrint_test_data): Likewise.
17234 (lrint_tonearest_test_data): Likewise.
17235 (lrint_towardzero_test_data): Likewise.
17236 (lrint_downward_test_data): Likewise.
17237 (lrint_upward_test_data): Likewise.
17238 (llrint_test_data): Likewise.
17239 (llrint_tonearest_test_data): Likewise.
17240 (llrint_towardzero_test_data): Likewise.
17241 (llrint_downward_test_data): Likewise.
17242 (llrint_upward_test_data): Likewise.
17243 (log_test_data): Likewise.
17244 (log10_test_data): Likewise.
17245 (log1p_test_data): Likewise.
17246 (log2_test_data): Likewise.
17247 (logb_test_data): Likewise.
17248 (logb_downward_test_data): Likewise.
17249 (lround_test_data): Likewise.
17250 (llround_test_data): Likewise.
17251 (modf_test_data): Likewise.
17252 (nearbyint_test_data): Likewise.
17253 (nextafter_test_data): Likewise.
17254 (nexttoward_test_data): Likewise.
17255 (pow_test_data): Likewise.
17256 (pow_tonearest_test_data): Likewise.
17257 (pow_towardzero_test_data): Likewise.
17258 (pow_downward_test_data): Likewise.
17259 (pow_upward_test_data): Likewise.
17260 (remainder_test_data): Likewise.
17261 (remainder_tonearest_test_data): Likewise.
17262 (remainder_towardzero_test_data): Likewise.
17263 (remainder_downward_test_data): Likewise.
17264 (remainder_upward_test_data): Likewise.
17265 (remquo_test_data): Likewise.
17266 (rint_test_data): Likewise.
17267 (rint_tonearest_test_data): Likewise.
17268 (rint_towardzero_test_data): Likewise.
17269 (rint_downward_test_data): Likewise.
17270 (rint_upward_test_data): Likewise.
17271 (round_test_data): Likewise.
17272 (scalb_test_data): Likewise.
17273 (scalbn_test_data): Likewise.
17274 (scalbln_test_data): Likewise.
17275 (signbit_test_data): Likewise.
17276 (sin_test_data): Likewise.
17277 (sin_tonearest_test_data): Likewise.
17278 (sin_towardzero_test_data): Likewise.
17279 (sin_downward_test_data): Likewise.
17280 (sin_upward_test_data): Likewise.
17281 (sincos_test_data): Likewise.
17282 (sinh_test_data): Likewise.
17283 (sinh_tonearest_test_data): Likewise.
17284 (sinh_towardzero_test_data): Likewise.
17285 (sinh_downward_test_data): Likewise.
17286 (sinh_upward_test_data): Likewise.
17287 (sqrt_test_data): Likewise.
17288 (tan_test_data): Likewise.
17289 (tan_tonearest_test_data): Likewise.
17290 (tan_towardzero_test_data): Likewise.
17291 (tan_downward_test_data): Likewise.
17292 (tan_upward_test_data): Likewise.
17293 (tanh_test_data): Likewise.
17294 (tgamma_test_data): Likewise.
17295 (trunc_test_data): Likewise.
17296 (y0_test_data): Likewise.
17297 (y1_test_data): Likewise.
17298 (yn_test_data): Likewise.
17299 (significand_test_data): Likewise.
17301 * math/gen-libm-test.pl (@functions): Remove variable.
17302 (generate_testfile): Don't handle START and END lines.
17303 * math/libm-test.inc (START): New macro.
17305 (END_COMPLEX): Likewise.
17306 (acos_test): Use END macro without arguments.
17307 (acos_test_tonearest): Likewise.
17308 (acos_test_towardzero): Likewise.
17309 (acos_test_downward): Likewise.
17310 (acos_test_upward): Likewise.
17311 (acosh_test): Likewise.
17312 (asin_test): Likewise.
17313 (asin_test_tonearest): Likewise.
17314 (asin_test_towardzero): Likewise.
17315 (asin_test_downward): Likewise.
17316 (asin_test_upward): Likewise.
17317 (asinh_test): Likewise.
17318 (atan_test): Likewise.
17319 (atanh_test): Likewise.
17320 (atan2_test): Likewise.
17321 (cabs_test): Likewise.
17322 (cacos_test): Use END_COMPLEX macro without arguments.
17323 (cacosh_test): Likewise.
17324 (carg_test): Use END macro without arguments.
17325 (casin_test): Use END_COMPLEX macro without arguments.
17326 (casinh_test): Likewise.
17327 (catan_test): Likewise.
17328 (catanh_test): Likewise.
17329 (cbrt_test): Use END macro without arguments.
17330 (ccos_test): Use END_COMPLEX macro without arguments.
17331 (ccosh_test): Likewise.
17332 (ceil_test): Use END macro without arguments.
17333 (cexp_test): Use END_COMPLEX macro without arguments.
17334 (cimag_test): Use END macro without arguments.
17335 (clog_test): Use END_COMPLEX macro without arguments.
17336 (clog10_test): Likewise.
17337 (conj_test): Likewise.
17338 (copysign_test): Use END macro without arguments.
17339 (cos_test): Likewise.
17340 (cos_test_tonearest): Likewise.
17341 (cos_test_towardzero): Likewise.
17342 (cos_test_downward): Likewise.
17343 (cos_test_upward): Likewise.
17344 (cosh_test): Likewise.
17345 (cosh_test_tonearest): Likewise.
17346 (cosh_test_towardzero): Likewise.
17347 (cosh_test_downward): Likewise.
17348 (cosh_test_upward): Likewise.
17349 (cpow_test): Use END_COMPLEX macro without arguments.
17350 (cproj_test): Likewise.
17351 (creal_test): Use END macro without arguments.
17352 (csin_test): Use END_COMPLEX macro without arguments.
17353 (csinh_test): Likewise.
17354 (csqrt_test): Likewise.
17355 (ctan_test): Likewise.
17356 (ctan_test_tonearest): Likewise.
17357 (ctan_test_towardzero): Likewise.
17358 (ctan_test_downward): Likewise.
17359 (ctan_test_upward): Likewise.
17360 (ctanh_test): Likewise.
17361 (ctanh_test_tonearest): Likewise.
17362 (ctanh_test_towardzero): Likewise.
17363 (ctanh_test_downward): Likewise.
17364 (ctanh_test_upward): Likewise.
17365 (erf_test): Use END macro without arguments.
17366 (erfc_test): Likewise.
17367 (exp_test): Likewise.
17368 (exp_test_tonearest): Likewise.
17369 (exp_test_towardzero): Likewise.
17370 (exp_test_downward): Likewise.
17371 (exp_test_upward): Likewise.
17372 (exp10_test): Likewise.
17373 (exp2_test): Likewise.
17374 (expm1_test): Likewise.
17375 (fabs_test): Likewise.
17376 (fdim_test): Likewise.
17377 (finite_test): Likewise.
17378 (floor_test): Likewise.
17379 (fma_test): Likewise.
17380 (fma_test_towardzero): Likewise.
17381 (fma_test_downward): Likewise.
17382 (fma_test_upward): Likewise.
17383 (fmax_test): Likewise.
17384 (fmin_test): Likewise.
17385 (fmod_test): Likewise.
17386 (fpclassify_test): Likewise.
17387 (frexp_test): Likewise.
17388 (gamma_test): Likewise.
17389 (hypot_test): Likewise.
17390 (ilogb_test): Likewise.
17391 (isfinite_test): Likewise.
17392 (isgreater_test): Likewise.
17393 (isgreaterequal_test): Likewise.
17394 (isinf_test): Likewise.
17395 (isless_test): Likewise.
17396 (islessequal_test): Likewise.
17397 (islessgreater_test): Likewise.
17398 (isnan_test): Likewise.
17399 (isnormal_test): Likewise.
17400 (issignaling_test): Likewise.
17401 (isunordered_test): Likewise.
17402 (j0_test): Likewise.
17403 (j1_test): Likewise.
17404 (jn_test): Likewise.
17405 (ldexp_test): Likewise.
17406 (lgamma_test): Likewise.
17407 (lrint_test): Likewise.
17408 (lrint_test_tonearest): Likewise.
17409 (lrint_test_towardzero): Likewise.
17410 (lrint_test_downward): Likewise.
17411 (lrint_test_upward): Likewise.
17412 (llrint_test): Likewise.
17413 (llrint_test_tonearest): Likewise.
17414 (llrint_test_towardzero): Likewise.
17415 (llrint_test_downward): Likewise.
17416 (llrint_test_upward): Likewise.
17417 (log_test): Likewise.
17418 (log10_test): Likewise.
17419 (log1p_test): Likewise.
17420 (log2_test): Likewise.
17421 (logb_test): Likewise.
17422 (logb_test_downward): Likewise.
17423 (lround_test): Likewise.
17424 (llround_test): Likewise.
17425 (modf_test): Likewise.
17426 (nearbyint_test): Likewise.
17427 (nextafter_test): Likewise.
17428 (nexttoward_test): Likewise.
17429 (pow_test): Likewise.
17430 (pow_test_tonearest): Likewise.
17431 (pow_test_towardzero): Likewise.
17432 (pow_test_downward): Likewise.
17433 (pow_test_upward): Likewise.
17434 (remainder_test): Likewise.
17435 (remainder_test_tonearest): Likewise.
17436 (remainder_test_towardzero): Likewise.
17437 (remainder_test_downward): Likewise.
17438 (remainder_test_upward): Likewise.
17439 (remquo_test): Likewise.
17440 (rint_test): Likewise.
17441 (rint_test_tonearest): Likewise.
17442 (rint_test_towardzero): Likewise.
17443 (rint_test_downward): Likewise.
17444 (rint_test_upward): Likewise.
17445 (round_test): Likewise.
17446 (scalb_test): Likewise.
17447 (scalbn_test): Likewise.
17448 (scalbln_test): Likewise.
17449 (signbit_test): Likewise.
17450 (sin_test): Likewise.
17451 (sin_test_tonearest): Likewise.
17452 (sin_test_towardzero): Likewise.
17453 (sin_test_downward): Likewise.
17454 (sin_test_upward): Likewise.
17455 (sincos_test): Likewise.
17456 (sinh_test): Likewise.
17457 (sinh_test_tonearest): Likewise.
17458 (sinh_test_towardzero): Likewise.
17459 (sinh_test_downward): Likewise.
17460 (sinh_test_upward): Likewise.
17461 (sqrt_test): Likewise.
17462 (tan_test): Likewise.
17463 (tan_test_tonearest): Likewise.
17464 (tan_test_towardzero): Likewise.
17465 (tan_test_downward): Likewise.
17466 (tan_test_upward): Likewise.
17467 (tanh_test): Likewise.
17468 (tgamma_test): Likewise.
17469 (trunc_test): Likewise.
17470 (y0_test): Likewise.
17471 (y1_test): Likewise.
17472 (yn_test): Likewise.
17473 (significand_test): Likewise.
17475 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
17478 * libio/genops.c (_IO_no_init): Initialize wide struct info.
17480 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
17483 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
17484 __ppc_mdoio and __ppc_mdoom.
17485 * manual/platform.texi: Document new functions __ppc_yield,
17486 __ppc_mdoio and __ppc_mdoom.
17488 2013-05-22 Carlos O'Donell <carlos@redhat.com>
17490 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
17491 (main): Mention "tls" pseudo-hwcap is legacy.
17492 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
17494 2013-05-22 Joseph Myers <joseph@codesourcery.com>
17496 * math/gen-libm-test.pl (parse_args): Output only string of
17497 arguments as text for test name, not full call or descriptions of
17498 tests for extra outputs.
17499 (generate_testfile): Do not pass function name to parse_args.
17500 Generate this_func variable from START.
17501 * math/libm-test.inc (struct test_f_f_data): Rename test_name
17503 (struct test_ff_f_data): Likewise.
17504 (test_ff_f_data_nexttoward): Likewise.
17505 (struct test_fi_f_data): Likewise.
17506 (struct test_fl_f_data): Likewise.
17507 (struct test_if_f_data): Likewise.
17508 (struct test_fff_f_data): Likewise.
17509 (struct test_c_f_data): Likewise.
17510 (struct test_f_f1_data): Likewise. Remove field extra_name.
17511 (struct test_fF_f1_data): Likewise.
17512 (struct test_ffI_f1_data): Likewise.
17513 (struct test_c_c_data): Rename test_name field to arg_str.
17514 (struct test_cc_c_data): Likewise.
17515 (struct test_f_i_data): Likewise.
17516 (struct test_ff_i_data): Likewise.
17517 (struct test_f_l_data): Likewise.
17518 (struct test_f_L_data): Likewise.
17519 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
17521 (COMMON_TEST_SETUP): New macro.
17522 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
17523 (COMMON_TEST_CLEANUP): Likewise.
17524 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
17525 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
17527 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
17528 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
17530 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
17531 (RUN_TEST_fff_f): Take argument string. Call new setup and
17533 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
17534 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
17536 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
17537 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
17539 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17540 (RUN_TEST_fF_f1): Take argument string. Call new setup and
17542 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17543 (RUN_TEST_fI_f1): Take argument string. Call new setup and
17545 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17546 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
17548 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17549 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
17551 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
17552 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
17554 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
17555 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
17557 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
17558 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
17560 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
17561 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
17563 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
17564 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
17566 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
17567 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
17569 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
17570 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
17572 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
17573 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
17575 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
17576 (RUN_TEST_fFF_11): Take argument string. Call new setup and
17578 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
17580 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17582 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
17583 to _sifields.sigfault.
17584 (si_addr_lsb): Define new macro.
17585 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17586 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17587 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
17589 2013-05-03 Carlos O'Donell <carlos at redhat.com>
17592 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
17594 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
17596 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
17597 loading the domain.
17599 2013-05-22 Joseph Myers <joseph@codesourcery.com>
17601 * math/gen-libm-test.pl (parse_args): Do not include expected
17602 result in test name.
17603 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
17604 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17605 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17606 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17607 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17610 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17612 * benchtests/Makefile: Sort function entries.
17614 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
17615 tanh, asinh, acosh, atanh.
17616 * benchtests/acos-inputs: New file.
17617 * benchtests/acosh-inputs: New file.
17618 * benchtests/asin-inputs: New file.
17619 * benchtests/asinh-inputs: New file.
17620 * benchtests/atanh-inputs: New file.
17621 * benchtests/cosh-inputs: New file.
17622 * benchtests/log-inputs: New file.
17623 * benchtests/sinh-inputs: New file.
17624 * benchtests/tanh-inputs: New file.
17626 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
17629 * posix/tst-getaddrinfo4.c: New test.
17630 * posix/Makefile (tests): Add it.
17632 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17635 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
17636 when no services were used.
17637 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
17638 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
17640 2013-05-21 Andreas Schwab <schwab@suse.de>
17643 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
17644 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
17646 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
17647 redundant variable declarations and reallocation of buffer when
17648 parsing as IPv6 address. Always set NSS status when called from
17649 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
17650 buffer too small. Correct computation of needed size.
17651 * nss/Makefile (tests): Add test-digits-dots.
17652 * nss/test-digits-dots.c: New test.
17654 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17656 * benchtests/Makefile: Remove instructions for adding
17658 * benchtests/README: New file to explain how to execute and
17659 enhance the benchmark tests.
17661 2013-05-21 Andreas Schwab <schwab@suse.de>
17664 * setjmp/Makefile (tests): Add tst-sigsetjmp.
17665 * setjmp/tst-sigsetjmp.c: New test.
17667 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
17669 * sysdeps/x86_64/memset.S (memset): New implementation.
17670 (__bzero): Likewise.
17671 (__memset_tail): New function.
17673 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
17675 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
17676 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
17677 __memcpy_sse2_unaligned ifunc selection.
17678 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17679 Add memcpy-sse2-unaligned.S.
17680 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17681 Add: __memcpy_sse2_unaligned.
17683 2013-05-19 Joseph Myers <joseph@codesourcery.com>
17686 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17687 math_force_eval before restoring floating-point envrionment.
17688 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
17689 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
17691 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
17693 (__nearbyintl): Use math_force_eval before restoring
17694 floating-point environment.
17695 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
17697 * math/gen-libm-test.pl (special_functions): Remove.
17698 (parse_args): Don't handle TEST_extra. Handle functions with no
17700 * math/libm-test.inc (struct test_sincos_data): Replace with
17701 struct test_fFF_11_data.
17702 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
17703 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
17704 (sincos_test_data): Change element type to struct
17705 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
17706 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
17707 RUN_TEST_LOOP_sincos.
17708 * math/README.libm-test: Don't mention special handling of
17709 individual functions.
17710 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
17711 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17712 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17713 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17714 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17717 * math/gen-libm-test.pl (get_variable): Remove function.
17718 (parse_args): Don't show pointer parameters to call in test
17719 names. Use "extra output N" in test names for extra outputs
17720 rather than naming variables.
17722 2013-05-18 Joseph Myers <joseph@codesourcery.com>
17725 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
17726 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
17727 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
17729 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
17731 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
17734 * math/gen-libm-test.pl (@tests): Remove variable.
17735 ($count): Likewise.
17736 (new_test): Remove function.
17737 (show_exceptions): New function.
17738 (special_functions): Use show_exceptions instead of new_test.
17739 (parse_args): Likewise.
17740 (generate_testfile): Pass only function name in generated call to
17741 print_max_error or print_complex_max_error.
17742 (get_ulps): Do not handle complex tests specially.
17743 (output_test): Rename to ...
17744 (get_all_ulps_for_test): ... this. Return a string rather than
17745 printing to a file. Require ulps to be present.
17746 (output_ulps): Generate arrays rather than #defines.
17747 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
17748 (struct ulp_data): New type.
17749 (BUILD_COMPLEX_ULP): Remove macro.
17750 (compare_ulp_data): New function.
17751 (find_ulps): Likewise.
17752 (find_test_ulps): Likewise.
17753 (find_function_ulps): Likewise.
17754 (find_complex_function_ulps): Likewise.
17755 (print_max_error): Determine allowed ulps using
17756 find_function_ulps.
17757 (print_complex_max_error): Determine allowed ulps using
17758 find_complex_function_ulps.
17759 (check_float_internal): Determine max ulps using find_test_ulps.
17760 (check_float): Do not take max_ulp parameter. Update call to
17761 check_float_internal.
17762 (check_complex): Likewise.
17763 (check_int): Do not take max_ulp parameter.
17764 (check_long): Likewise.
17765 (check_bool): Likewise.
17766 (check_longlong): Likewise.
17767 (struct test_f_f_data): Remove max_ulp field.
17768 (struct test_ff_f_data): Likewise.
17769 (struct test_ff_f_data_nexttoward): Likewise.
17770 (struct test_fi_f_data): Likewise.
17771 (struct test_fl_f_data): Likewise.
17772 (struct test_if_f_data): Likewise.
17773 (struct test_fff_f_data): Likewise.
17774 (struct test_c_f_data): Likewise.
17775 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
17776 (struct test_fF_f1_data): Likewise.
17777 (struct test_ffI_f1_data): Likewise.
17778 (struct test_c_c_data): Remove max_ulp field.
17779 (struct test_cc_c_data): Likewise.
17780 (struct test_f_i_data): Likewise.
17781 (struct test_ff_i_data): Likewise.
17782 (struct test_f_l_data): Likewise.
17783 (struct test_f_L_data): Likewise.
17784 (struct test_sincos_data): Likewise.
17785 (RUN_TEST_f_f): Do not handle ulps.
17786 (RUN_TEST_LOOP_f_f): Likewise.
17787 (RUN_TEST_2_f): Likewise.
17788 (RUN_TEST_LOOP_2_f): Likewise.
17789 (RUN_TEST_fff_f): Likewise.
17790 (RUN_TEST_LOOP_fff_f): Likewise.
17791 (RUN_TEST_c_f): Likewise.
17792 (RUN_TEST_LOOP_c_f): Likewise.
17793 (RUN_TEST_f_f1): Likewise.
17794 (RUN_TEST_LOOP_f_f1): Likewise.
17795 (RUN_TEST_fF_f1): Likewise.
17796 (RUN_TEST_LOOP_fF_f1): Likewise.
17797 (RUN_TEST_fI_f1): Likewise.
17798 (RUN_TEST_LOOP_fI_f1): Likewise.
17799 (RUN_TEST_ffI_f1): Likewise.
17800 (RUN_TEST_LOOP_ffI_f1): Likewise.
17801 (RUN_TEST_c_c): Likewise.
17802 (RUN_TEST_LOOP_c_c): Likewise.
17803 (RUN_TEST_cc_c): Likewise.
17804 (RUN_TEST_LOOP_cc_c): Likewise.
17805 (RUN_TEST_f_i): Likewise.
17806 (RUN_TEST_LOOP_f_i): Likewise.
17807 (RUN_TEST_f_i_tg): Likewise.
17808 (RUN_TEST_LOOP_f_i_tg): Likewise.
17809 (RUN_TEST_ff_i_tg): Likewise.
17810 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17811 (RUN_TEST_f_b): Likewise.
17812 (RUN_TEST_LOOP_f_b): Likewise.
17813 (RUN_TEST_f_b_tg): Likewise.
17814 (RUN_TEST_LOOP_f_b_tg): Likewise.
17815 (RUN_TEST_f_l): Likewise.
17816 (RUN_TEST_LOOP_f_l): Likewise.
17817 (RUN_TEST_f_L): Likewise.
17818 (RUN_TEST_LOOP_f_L): Likewise.
17819 (RUN_TEST_sincos): Likewise.
17820 (RUN_TEST_LOOP_sincos): Likewise.
17822 2013-05-17 Joseph Myers <joseph@codesourcery.com>
17826 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
17827 main case of finite arguments, set rounding mode to FE_TONEAREST
17828 and discard exceptions.
17829 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
17831 (remainder_tonearest_test_data): New variable.
17832 (remainder_test_tonearest): New function.
17833 (remainder_towardzero_test_data): New variable.
17834 (remainder_test_towardzero): New function.
17835 (remainder_downward_test_data): New variable.
17836 (remainder_test_downward): New function.
17837 (remainder_upward_test_data): New variable.
17838 (remainder_test_upward): New function.
17839 (main): Call the new test functions.
17841 * math/libm-test.inc (struct test_f_f1_data): Remove field
17843 (struct test_fF_f1_data): Likewise.
17844 (struct test_ffI_f1_data): Likewise.
17845 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
17846 based on value of EXTRA_EXPECTED.
17847 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17848 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
17849 EXTRA_VAR based on value of EXTRA_EXPECTED.
17850 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17851 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
17852 EXTRA_VAR based on value of EXTRA_EXPECTED.
17853 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17854 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
17855 EXTRA_VAR based on value of EXTRA_EXPECTED.
17856 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17857 * math/gen-libm-test.pl (parse_args): Don't output initializers
17858 for extra output values.
17860 * math/libm-test.inc (check_int): Expect result to be exactly
17861 equal to expected value and do not handle ulps.
17862 (check_long): Likewise.
17863 (check_longlong): Likewise.
17865 * math/libm-test.inc (ceil_test_data): Test for "inexact"
17867 (cimag_test_data): Likewise.
17868 (conj_test_data): Likewise.
17869 (copysign_test_data): Likewise.
17870 (cproj_test_data): Likewise.
17871 (creal_test_data): Likewise.
17872 (fabs_test_data): Likewise.
17873 (fdim_test_data): Likewise.
17874 (finite_test_data): Likewise.
17875 (floor_test_data): Likewise.
17876 (fmax_test_data): Likewise.
17877 (fmin_test_data): Likewise.
17878 (fmod_test_data): Likewise.
17879 (fpclassify_test_data): Likewise.
17880 (frexp_test_data): Likewise.
17881 (ilogb_test_data): Likewise.
17882 (isfinite_test_data): Likewise.
17883 (isgreater_test_data): Likewise.
17884 (isgreaterequal_test_data): Likewise.
17885 (isinf_test_data): Likewise.
17886 (isless_test_data): Likewise.
17887 (islessequal_test_data): Likewise.
17888 (islessgreater_test_data): Likewise.
17889 (isnan_test_data): Likewise.
17890 (isnormal_test_data): Likewise.
17891 (issignaling_test_data): Likewise.
17892 (isunordered_test_data): Likewise.
17893 (ldexp_test_data): Likewise.
17894 (lrint_test_data): Likewise.
17895 (lrint_test_data) [TEST_FLOAT]: Disable one test.
17896 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
17897 (lrint_tonearest_test_data): Test for "inexact" exceptions.
17898 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17899 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
17900 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17902 (lrint_towardzero_test_data): Test for "inexact" exceptions.
17903 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17904 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
17905 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
17907 (lrint_downward_test_data): Test for "inexact" exceptions.
17908 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17909 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
17910 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17912 (lrint_upward_test_data): Test for "inexact" exceptions.
17913 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
17915 (llrint_test_data): Test for "inexact" exceptions.
17916 (llrint_test_data) [TEST_FLOAT]: Disable one test.
17917 (llrint_tonearest_test_data): Test for "inexact" exceptions.
17918 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17919 (llrint_towardzero_test_data): Test for "inexact" exceptions.
17920 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17921 (llrint_downward_test_data): Test for "inexact" exceptions.
17922 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17923 (llrint_upward_test_data): Test for "inexact" exceptions.
17924 (logb_test_data): Likewise.
17925 (logb_downward_test_data): Likewise.
17926 (nextafter_test_data): Likewise.
17927 (nexttoward_test_data): Likewise.
17928 (remainder_test_data): Likewise.
17929 (remquo_test_data): Likewise.
17930 (scalbn_test_data): Likewise.
17931 (scalbln_test_data): Likewise.
17932 (signbit_test_data): Likewise.
17933 (sqrt_test_data): Likewise.
17934 (significand_test_data): Likewise.
17936 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17939 * benchtests/bench-modf.c (struct args): Mark arg0 as
17941 * scripts/bench.pl: Mark members of struct args as volatile.
17943 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17946 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
17947 negative infinity on POWER6 or lower.
17948 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
17950 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17953 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
17954 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
17955 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
17956 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
17957 (_FP_SETQNAN): New macro.
17958 (_FP_SETQNAN_SEMIRAW): Likewise.
17959 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
17960 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
17961 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
17962 (FP_EXTEND): Use _FP_FRAC_SNANP.
17963 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
17964 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
17966 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17968 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17971 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17973 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
17974 with DIVIDE_BY_ZERO_EXCEPTION.
17975 (gamma_test_data): Likewise.
17976 (lgamma_test_data): Likewise.
17977 (log_test_data): Likewise.
17978 (log10_test_data): Likewise.
17979 (log2_test_data): Likewise.
17980 (tgamma_test_data): Likewise.
17982 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
17983 (acos_test_tonearest): Likewise.
17984 (acos_test_towardzero): Likewise.
17985 (acos_test_downward): Likewise.
17986 (acos_test_upward): Likewise.
17987 (acosh_test): Likewise.
17988 (asin_test): Likewise.
17989 (asin_test_tonearest): Likewise.
17990 (asin_test_towardzero): Likewise.
17991 (asin_test_downward): Likewise.
17992 (asin_test_upward): Likewise.
17993 (asinh_test): Likewise.
17994 (atan_test): Likewise.
17995 (atanh_test): Likewise.
17996 (atan2_test): Likewise.
17997 (cabs_test): Likewise.
17998 (cacos_test): Likewise.
17999 (cacosh_test): Likewise.
18000 (casin_test): Likewise.
18001 (casinh_test): Likewise.
18002 (catan_test): Likewise.
18003 (catanh_test): Likewise.
18004 (cbrt_test): Likewise.
18005 (ccos_test): Likewise.
18006 (ccosh_test): Likewise.
18007 (cexp_test): Likewise.
18008 (clog_test): Likewise.
18009 (clog10_test): Likewise.
18010 (cos_test): Likewise.
18011 (cos_test_tonearest): Likewise.
18012 (cos_test_towardzero): Likewise.
18013 (cos_test_downward): Likewise.
18014 (cos_test_upward): Likewise.
18015 (cosh_test): Likewise.
18016 (cosh_test_tonearest): Likewise.
18017 (cosh_test_towardzero): Likewise.
18018 (cosh_test_downward): Likewise.
18019 (cosh_test_upward): Likewise.
18020 (cpow_test): Likewise.
18021 (csin_test): Likewise.
18022 (csinh_test): Likewise.
18023 (csqrt_test): Likewise.
18024 (ctan_test): Likewise.
18025 (ctan_test_tonearest): Likewise.
18026 (ctan_test_towardzero): Likewise.
18027 (ctan_test_downward): Likewise.
18028 (ctan_test_upward): Likewise.
18029 (ctanh_test): Likewise.
18030 (ctanh_test_tonearest): Likewise.
18031 (ctanh_test_towardzero): Likewise.
18032 (ctanh_test_downward): Likewise.
18033 (ctanh_test_upward): Likewise.
18034 (erf_test): Likewise.
18035 (erfc_test): Likewise.
18036 (exp_test): Likewise.
18037 (exp_test_tonearest): Likewise.
18038 (exp_test_towardzero): Likewise.
18039 (exp_test_downward): Likewise.
18040 (exp_test_upward): Likewise.
18041 (exp10_test): Likewise.
18042 (exp2_test): Likewise.
18043 (expm1_test): Likewise.
18044 (fmod_test): Likewise.
18045 (gamma_test): Likewise.
18046 (hypot_test): Likewise.
18047 (j0_test): Likewise.
18048 (j1_test): Likewise.
18049 (jn_test): Likewise.
18050 (lgamma_test): Likewise.
18051 (log_test): Likewise.
18052 (log10_test): Likewise.
18053 (log1p_test): Likewise.
18054 (log2_test): Likewise.
18055 (logb_test_downward): Likewise.
18056 (pow_test): Likewise.
18057 (pow_test_tonearest): Likewise.
18058 (pow_test_towardzero): Likewise.
18059 (pow_test_downward): Likewise.
18060 (pow_test_upward): Likewise.
18061 (remainder_test): Likewise.
18062 (remquo_test): Likewise.
18063 (sin_test): Likewise.
18064 (sin_test_tonearest): Likewise.
18065 (sin_test_towardzero): Likewise.
18066 (sin_test_downward): Likewise.
18067 (sin_test_upward): Likewise.
18068 (sincos_test): Likewise.
18069 (sinh_test): Likewise.
18070 (sinh_test_tonearest): Likewise.
18071 (sinh_test_towardzero): Likewise.
18072 (sinh_test_downward): Likewise.
18073 (sinh_test_upward): Likewise.
18074 (sqrt_test): Likewise.
18075 (tan_test): Likewise.
18076 (tan_test_tonearest): Likewise.
18077 (tan_test_towardzero): Likewise.
18078 (tan_test_downward): Likewise.
18079 (tan_test_upward): Likewise.
18080 (tanh_test): Likewise.
18081 (tgamma_test): Likewise.
18082 (y0_test): Likewise.
18083 (y1_test): Likewise.
18084 (yn_test): Likewise.
18086 * math/gen-libm-test.pl (adjust_arg): Remove function.
18087 (special_function): Remove argument $in_func. Only handle
18088 generating output for tables of tests, not inside functions.
18089 (parse_args): Likewise.
18090 (generate_testfile): Remove variable $in_func. Update call to
18092 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
18093 (MINUS_ZERO_INIT): Rename macro to minus_zero.
18094 (PLUS_INFTY_INIT): Rename macro to plus_infty.
18095 (MINUS_INFTY_INIT): Rename macro to minus_infty.
18096 (QNAN_VALUE_INIT): Rename macro to qnan_value.
18097 (MAX_VALUE_INIT): Rename macro to max_value.
18098 (MIN_VALUE_INIT): Rename macro to min_value.
18099 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
18100 (plus_zero): Remove variable.
18101 (minus_zero): Likewise.
18102 (plus_infty): Likewise.
18103 (minus_infty): Likewise.
18104 (qnan_value): Likewise.
18105 (max_value): Likewise.
18106 (min_value): Likewise.
18107 (min_subnorm_value): Likewise.
18109 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18111 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
18112 uint64_t or uint32_t usage.
18113 * crypt/sha256-block.c: Likewise.
18114 * crypt/sha256-crypt.c: Likewise.
18115 * crypt/sha256.c: Likewise.
18116 * crypt/sha512-block.c: Likewise.
18117 * crypt/sha512-crypt.c: Likewise.
18118 * crypt/sha512.c: Likewise.
18119 * debug/backtrace-tst.c: Likewise.
18120 * debug/pcprofiledump.c: Likewise.
18121 * elf/cache.c: Likewise.
18122 * elf/dl-cache.c: Likewise.
18123 * elf/dl-misc.c: Likewise.
18124 * elf/dl-profile.c: Likewise.
18125 * elf/dl-support.c: Likewise.
18126 * elf/ldconfig.c: Likewise.
18127 * elf/sprof.c: Likewise.
18128 * iconv/dummy-repertoire.c: Likewise.
18129 * iconv/iconv_charmap.c: Likewise.
18130 * iconv/skeleton.c: Likewise.
18131 * iconvdata/8bit-generic.c: Likewise.
18132 * iconvdata/cp737.h: Likewise.
18133 * iconvdata/cp775.h: Likewise.
18134 * iconvdata/ibm1008.h: Likewise.
18135 * iconvdata/ibm1025.h: Likewise.
18136 * iconvdata/ibm1046.h: Likewise.
18137 * iconvdata/ibm1097.h: Likewise.
18138 * iconvdata/ibm1112.h: Likewise.
18139 * iconvdata/ibm1122.h: Likewise.
18140 * iconvdata/ibm1123.h: Likewise.
18141 * iconvdata/ibm1124.h: Likewise.
18142 * iconvdata/ibm1129.h: Likewise.
18143 * iconvdata/ibm1130.h: Likewise.
18144 * iconvdata/ibm1132.h: Likewise.
18145 * iconvdata/ibm1133.h: Likewise.
18146 * iconvdata/ibm1137.h: Likewise.
18147 * iconvdata/ibm1140.h: Likewise.
18148 * iconvdata/ibm1141.h: Likewise.
18149 * iconvdata/ibm1142.h: Likewise.
18150 * iconvdata/ibm1143.h: Likewise.
18151 * iconvdata/ibm1144.h: Likewise.
18152 * iconvdata/ibm1145.h: Likewise.
18153 * iconvdata/ibm1146.h: Likewise.
18154 * iconvdata/ibm1147.h: Likewise.
18155 * iconvdata/ibm1148.h: Likewise.
18156 * iconvdata/ibm1149.h: Likewise.
18157 * iconvdata/ibm1153.h: Likewise.
18158 * iconvdata/ibm1154.h: Likewise.
18159 * iconvdata/ibm1155.h: Likewise.
18160 * iconvdata/ibm1156.h: Likewise.
18161 * iconvdata/ibm1157.h: Likewise.
18162 * iconvdata/ibm1158.h: Likewise.
18163 * iconvdata/ibm1160.h: Likewise.
18164 * iconvdata/ibm1161.h: Likewise.
18165 * iconvdata/ibm1162.h: Likewise.
18166 * iconvdata/ibm1163.h: Likewise.
18167 * iconvdata/ibm1164.h: Likewise.
18168 * iconvdata/ibm1166.h: Likewise.
18169 * iconvdata/ibm1167.h: Likewise.
18170 * iconvdata/ibm12712.h: Likewise.
18171 * iconvdata/ibm1390.h: Likewise.
18172 * iconvdata/ibm1399.h: Likewise.
18173 * iconvdata/ibm16804.h: Likewise.
18174 * iconvdata/ibm4517.h: Likewise.
18175 * iconvdata/ibm4899.h: Likewise.
18176 * iconvdata/ibm4909.h: Likewise.
18177 * iconvdata/ibm4971.h: Likewise.
18178 * iconvdata/ibm5347.h: Likewise.
18179 * iconvdata/ibm803.h: Likewise.
18180 * iconvdata/ibm856.h: Likewise.
18181 * iconvdata/ibm901.h: Likewise.
18182 * iconvdata/ibm902.h: Likewise.
18183 * iconvdata/ibm9030.h: Likewise.
18184 * iconvdata/ibm9066.h: Likewise.
18185 * iconvdata/ibm921.h: Likewise.
18186 * iconvdata/ibm922.h: Likewise.
18187 * iconvdata/ibm9448.h: Likewise.
18188 * iconvdata/isiri-3342.h: Likewise.
18189 * iconvdata/jis0201.h: Likewise.
18190 * include/link.h: Likewise.
18191 * include/netdb.h: Likewise.
18192 * inet/check_native.c: Likewise.
18193 * inet/check_pf.c: Likewise.
18194 * inet/getipv4sourcefilter.c: Likewise.
18195 * inet/getnameinfo.c: Likewise.
18196 * inet/getsourcefilter.c: Likewise.
18197 * inet/htonl.c: Likewise.
18198 * inet/setipv4sourcefilter.c: Likewise.
18199 * inet/setsourcefilter.c: Likewise.
18200 * inet/test-inet6_opt.c: Likewise.
18201 * inet/tst-network.c: Likewise.
18202 * locale/C-collate.c: Likewise.
18203 * locale/C-ctype.c: Likewise.
18204 * locale/C-time.c: Likewise.
18205 * locale/C-translit.h: Likewise.
18206 * locale/loadarchive.c: Likewise.
18207 * locale/programs/3level.h: Likewise.
18208 * locale/programs/charmap.c: Likewise.
18209 * locale/programs/charmap.h: Likewise.
18210 * locale/programs/ld-address.c: Likewise.
18211 * locale/programs/ld-collate.c: Likewise.
18212 * locale/programs/ld-ctype.c: Likewise.
18213 * locale/programs/ld-identification.c: Likewise.
18214 * locale/programs/ld-measurement.c: Likewise.
18215 * locale/programs/ld-messages.c: Likewise.
18216 * locale/programs/ld-monetary.c: Likewise.
18217 * locale/programs/ld-name.c: Likewise.
18218 * locale/programs/ld-numeric.c: Likewise.
18219 * locale/programs/ld-paper.c: Likewise.
18220 * locale/programs/ld-telephone.c: Likewise.
18221 * locale/programs/ld-time.c: Likewise.
18222 * locale/programs/linereader.c: Likewise.
18223 * locale/programs/locale.c: Likewise.
18224 * locale/programs/locarchive.c: Likewise.
18225 * locale/programs/locfile.h: Likewise.
18226 * locale/programs/repertoire.c: Likewise.
18227 * locale/programs/simple-hash.c: Likewise.
18228 * locale/programs/simple-hash.h: Likewise.
18229 * malloc/memusage.c: Likewise.
18230 * malloc/memusagestat.c: Likewise.
18231 * nis/nis_defaults.c: Likewise.
18232 * nis/nis_hash.c: Likewise.
18233 * nis/nis_print.c: Likewise.
18234 * nis/nis_xdr.c: Likewise.
18235 * nscd/connections.c: Likewise.
18236 * nscd/hstcache.c: Likewise.
18237 * nscd/nscd_gethst_r.c: Likewise.
18238 * nscd/nscd_getserv_r.c: Likewise.
18239 * nscd/nscd_helper.c: Likewise.
18240 * nscd/servicescache.c: Likewise.
18241 * nss/makedb.c: Likewise.
18242 * nss/nss_db/db-XXX.c: Likewise.
18243 * nss/nss_db/db-initgroups.c: Likewise.
18244 * nss/nss_db/db-netgrp.c: Likewise.
18245 * nss/nss_files/files-network.c: Likewise.
18246 * nss/nss_files/files-parse.c: Likewise.
18247 * posix/bug-regex5.c: Likewise.
18248 * posix/fnmatch_loop.c: Likewise.
18249 * posix/regcomp.c: Likewise.
18250 * posix/regexec.c: Likewise.
18251 * posix/tst-rfc3484-2.c: Likewise.
18252 * posix/tst-rfc3484-3.c: Likewise.
18253 * posix/tst-rfc3484.c: Likewise.
18254 * resolv/nss_dns/dns-canon.c: Likewise.
18255 * resolv/nss_dns/dns-network.c: Likewise.
18256 * resolv/res_init.c: Likewise.
18257 * resolv/res_mkquery.c: Likewise.
18258 * resolv/tst-aton.c: Likewise.
18259 * stdlib/cxa_atexit.c: Likewise.
18260 * stdlib/cxa_finalize.c: Likewise.
18261 * stdlib/gen-fpioconst.c: Likewise.
18262 * stdlib/strtol_l.c: Likewise.
18263 * string/tst-endian.c: Likewise.
18264 * sunrpc/auth_des.c: Likewise.
18265 * sunrpc/clnt_udp.c: Likewise.
18266 * sunrpc/rtime.c: Likewise.
18267 * sunrpc/svcauth_des.c: Likewise.
18268 * sunrpc/xdr.c: Likewise.
18269 * sunrpc/xdr_intXX_t.c: Likewise.
18270 * sunrpc/xdr_rec.c: Likewise.
18271 * sysdeps/generic/ldconfig.h: Likewise.
18272 * sysdeps/generic/ldsodefs.h: Likewise.
18273 * sysdeps/generic/memusage.h: Likewise.
18274 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18275 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
18276 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
18277 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18278 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18279 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18280 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18281 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18282 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18283 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18284 * sysdeps/posix/getaddrinfo.c: Likewise.
18285 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18286 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18287 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18288 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18289 * sysdeps/powerpc/test-gettimebase.c: Likewise.
18290 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18291 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
18292 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
18293 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18294 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
18295 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18296 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18297 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
18298 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
18299 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
18300 * sysdeps/x86_64/dl-tls.h: Likewise.
18301 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
18302 * time/alt_digit.c: Likewise.
18303 * time/era.c: Likewise.
18304 * wcsmbs/tst-c16c32-1.c: Likewise.
18306 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18308 * math/libm-test.inc (struct test_sincos_data): New type.
18309 (RUN_TEST_LOOP_sincos): New macro.
18310 (sincos_test_data): New variable.
18311 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
18313 2013-05-16 Richard Henderson <rth@redhat.com>
18315 * math/atest-exp2.c (LIMB64): New macro.
18316 (CONSTSZ): New macro.
18317 (mp_exp1, mp_exp_m1, mp_log2): New variables.
18319 (print_mpn_fp): ... to function scope.
18320 (read_mpn_hex): Remove.
18321 (get_log2): Remove.
18322 (exp2_mpn): Use mp_log2.
18323 (main): Use mp_exp1.
18325 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18327 * math/libm-test.inc: Remove comment about not testing "inexact"
18329 (INEXACT_EXCEPTION): New macro.
18330 (NO_INEXACT_EXCEPTION): Likewise.
18331 (INVALID_EXCEPTION_OK): Update value.
18332 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18333 (OVERFLOW_EXCEPTION_OK): Likewise.
18334 (UNDERFLOW_EXCEPTION_OK): Likewise.
18335 (IGNORE_ZERO_INF_SIGN): Likewise.
18336 (ERRNO_UNCHANGED): Likewise.
18337 (ERRNO_EDOM): Likewise.
18338 (ERRNO_ERANGE): Likewise.
18339 (test_exceptions): Handle testing "inexact" exceptions.
18340 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
18341 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
18342 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
18343 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
18345 (rint_towardzero_test_data): Likewise.
18346 (rint_downward_test_data): Likewise.
18347 (rint_upward_test_data): Likewise.
18349 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
18350 with OVERFLOW_EXCEPTION.
18351 (exp10_test_data): Likewise.
18352 (exp2_test_data): Likewise.
18353 (expm1_test_data): Likewise.
18354 (lgamma_test_data): Likewise.
18355 (pow_test_data): Likewise.
18356 (tgamma_test_data): Likewise.
18357 (yn_test_data): Remove duplicate test of overflow.
18359 * math/libm-test.inc (struct test_cc_c_data): New type.
18360 (RUN_TEST_LOOP_cc_c): New macro.
18361 (cpow_test_data): New variable.
18362 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
18364 * math/libm-test.inc (struct test_f_L_data): New type.
18365 (RUN_TEST_LOOP_f_L): New macro.
18366 (llrint_test_data): New variable.
18367 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
18368 (llrint_tonearest_test_data): New variable.
18369 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
18370 (llrint_towardzero_test_data): New variable.
18371 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
18372 (llrint_downward_test_data): New variable.
18373 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
18374 (llrint_upward_test_data): New variable.
18375 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
18376 (llround_test_data): New variable.
18377 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
18379 2013-05-13 Peter Collingbourne <pcc@google.com>
18381 * math/atest-exp2.c (get_log2): Remove const attribute.
18383 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18385 * math/libm-test.inc (struct test_f_l_data): New type.
18386 (RUN_TEST_LOOP_f_l): New macro.
18387 (lrint_test_data): New variable.
18388 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
18389 (lrint_tonearest_test_data): New variable.
18390 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
18391 (lrint_towardzero_test_data): New variable.
18392 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
18393 (lrint_downward_test_data): New variable.
18394 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
18395 (lrint_upward_test_data): New variable.
18396 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
18397 (lround_test_data): New variable.
18398 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
18400 2013-05-15 Peter Collingbourne <pcc@google.com>
18402 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
18403 (EXTRACT_WORDS64) Use where appropriate.
18404 (INSERT_WORDS64) Likewise.
18406 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
18407 constraints with x constraints.
18408 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
18410 * malloc/obstack.c (_obstack_compat): Add initializer.
18412 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
18414 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
18415 si_trapno and add si_addr_lsb to _sifields.sigfault.
18416 (si_trapno): Remove macro.
18417 (si_addr_lsb): Define new macro.
18418 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18420 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18422 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
18423 instead of TEST_f_l.
18424 (llrint_test_tonearest): Likewise.
18425 (llrint_test_towardzero): Likewise.
18426 (llrint_test_downward): Likewise.
18427 (llrint_test_upward): Likewise.
18428 (llround_test): Likewise.
18430 * math/libm-test.inc (struct test_f_i_data): Add comment.
18431 (RUN_TEST_LOOP_f_b): New macro.
18432 (RUN_TEST_LOOP_f_b_tg): Likewise.
18433 (finite_test_data): New variable.
18434 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
18435 (isfinite_test_data): New variable.
18436 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18437 (isinf_test_data): New variable.
18438 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18439 (isnan_test_data): New variable.
18440 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18441 (isnormal_test_data): New variable.
18442 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18443 (issignaling_test_data): New variable.
18444 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18445 (signbit_test_data): New variable.
18446 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18448 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
18449 with INVALID_EXCEPTION.
18450 (acosh_test_data): Likewise.
18451 (asin_test_data): Likewise.
18452 (atanh_test_data): Likewise.
18453 (fmod_test_data): Likewise.
18454 (log_test_data): Likewise.
18455 (log10_test_data): Likewise.
18456 (log2_test_data): Likewise.
18457 (pow_test_data): Likewise.
18458 (sqrt_test_data): Likewise.
18459 (y0_test_data): Likewise.
18460 (y1_test_data): Likewise.
18461 (yn_test_data): Likewise.
18463 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
18466 * math/libm-test.inc (struct test_ff_i_data): New type.
18467 (RUN_TEST_LOOP_ff_i_tg): New macro.
18468 (isgreater_test_data): New variable.
18469 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18470 (isgreaterequal_test_data): New variable.
18471 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18472 (isless_test_data): New variable.
18473 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18474 (islessequal_test_data): New variable.
18475 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18476 (islessgreater_test_data): New variable.
18477 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18478 (isunordered_test_data): New variable.
18479 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18481 2013-05-14 David S. Miller <davem@davemloft.net>
18483 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18485 2013-05-14 Joseph Myers <joseph@codesourcery.com>
18487 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
18489 * math/libm-test.inc (struct test_fF_f1_data): Change type of
18491 (struct test_f_i_data): Change type of max_ulp to int.
18493 * math/libm-test.inc (test_ffI_f1_data): New type.
18494 (RUN_TEST_LOOP_ffI_f1): New macro.
18495 (remquo_test_data): New variable.
18496 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
18498 * setjmp/tst-setjmp-fp.c: New file.
18499 * setjmp/Makefile (tests): Add tst-setjmp-fp.
18500 (link-libm): New variable.
18501 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
18503 * math/libm-test.inc (struct test_f_i_data): New type.
18504 (RUN_TEST_LOOP_f_i): New macro.
18505 (RUN_TEST_LOOP_f_i_tg): Likewise.
18506 (fpclassify_test_data): New variable.
18507 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
18508 (ilogb_test_data): New variable.
18509 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
18511 * math/libm-test.inc (scalbln_test): Correct function name in END
18514 * math/libm-test.inc (struct test_f_f1_data): Add comment.
18515 (RUN_TEST_LOOP_fI_f1): New macro.
18516 (frexp_test_data): New variable.
18517 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
18519 * math/libm-test.inc (struct test_fF_f1_data): New type.
18520 (RUN_TEST_LOOP_fF_f1): New macro.
18521 (modf_test_data): New variable.
18522 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
18524 * math/libm-test.inc (struct test_f_f1_data): New type.
18525 (RUN_TEST_LOOP_f_f1): New macro.
18526 (gamma_test_data): New variable.
18527 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18528 (lgamma_test_data): New variable.
18529 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18531 2013-05-13 Carlos O'Donell <carlos@redhat.com>
18533 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
18534 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
18535 (main): Comment "tls" pseudo-hwcap.
18537 2013-05-13 Joseph Myers <joseph@codesourcery.com>
18539 * math/libm-test.inc (struct test_fl_f_data): New type.
18540 (RUN_TEST_LOOP_fl_f): New variable.
18541 (scalbln_test_data): New variable.
18542 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
18544 * math/libm-test.inc (struct test_fi_f_data): New type.
18545 (RUN_TEST_LOOP_fi_f): New macro.
18546 (ldexp_test_data): New variable.
18547 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
18548 (scalbn_test_data): New variable.
18549 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
18551 * math/libm-test.inc (struct test_c_f_data): New type.
18552 (RUN_TEST_LOOP_c_f): New macro.
18553 (cabs_test_data): New variable.
18554 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
18555 (carg_test_data): New variable.
18556 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
18557 (cimag_test_data): New variable.
18558 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
18559 (creal_test_data): New variable.
18560 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
18562 * math/libm-test.inc (struct test_if_f_data): New type.
18563 (RUN_TEST_LOOP_if_f): New macro.
18564 (jn_test_data): New variable.
18565 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
18566 (yn_test_data): New variable.
18567 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
18569 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
18571 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18573 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
18574 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
18576 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18578 * benchtests/Makefile (CPPFLAGS-nonlib): Add
18579 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
18580 (bench-deps): Add bench-timing.h.
18581 * benchtests-bench-skeleton.c: Include bench-timing.h.
18582 (main): Use TIMING_* macros instead of clock_gettime.
18583 * benchtests/bench-timing.h: New file.
18586 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
18587 Renamed from _LIB_VERSION.
18588 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
18590 2013-05-12 Joseph Myers <joseph@codesourcery.com>
18592 * math/libm-test.inc (struct test_fff_f_data): New type.
18593 (RUN_TEST_LOOP_fff_f): New macro.
18594 (fma_test_data): New variable.
18595 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
18596 (fma_towardzero_test_data): New variable.
18597 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
18598 (fma_downward_test_data): New variable.
18599 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
18600 (fma_upward_test_data): New variable.
18601 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
18603 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
18604 (struct test_c_c_data): New type.
18605 (RUN_TEST_LOOP_c_c): New macro.
18606 (cacos_test_data): New variable.
18607 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
18608 (cacosh_test_data): New variable.
18609 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
18610 (casin_test_data): New variable.
18611 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
18612 (casinh_test_data): New variable.
18613 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
18614 (catan_test_data): New variable.
18615 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
18616 (catanh_test_data): New variable.
18617 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
18618 (ccos_test_data): New variable.
18619 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
18620 (ccosh_test_data): New variable.
18621 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
18622 (cexp_test_data): New variable.
18623 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
18624 (clog_test_data): New variable.
18625 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
18626 (clog10_test_data): New variable.
18627 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
18628 (conj_test_data): New variable.
18629 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
18630 (cproj_test_data): New variable.
18631 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
18632 (csin_test_data): New variable.
18633 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
18634 (csinh_test_data): New variable.
18635 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
18636 (csqrt_test_data): New variable.
18637 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
18638 (ctan_test_data): New variable.
18639 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
18640 (ctan_tonearest_test_data): New variable.
18641 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18642 (ctan_towardzero_test_data): New variable.
18643 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18644 (ctan_downward_test_data): New variable.
18645 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18646 (ctan_upward_test_data): New variable.
18647 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18648 (ctanh_test_data): New variable.
18649 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
18650 (ctanh_tonearest_test_data): New variable.
18651 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18652 (ctanh_towardzero_test_data): New variable.
18653 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18654 (ctanh_downward_test_data): New variable.
18655 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18656 (ctanh_upward_test_data): New variable.
18657 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18658 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
18661 * math/libm-test.inc (struct test_ff_f_data): New type.
18662 (struct test_ff_f_data_nexttoward): Likewise.
18663 (RUN_TEST_LOOP_2_f): New macro.
18664 (RUN_TEST_LOOP_ff_f): Likewise.
18665 (atan2_test_data): New variable.
18666 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
18667 (copysign_test_data): New variable.
18668 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
18669 (fdim_test_data): New variable.
18670 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
18671 (fmax_test_data): New variable.
18672 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
18673 (fmin_test_data): New variable.
18674 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
18675 (fmod_test_data): New variable.
18676 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
18677 (hypot_test_data): New variable.
18678 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
18679 (nextafter_test_data): New variable.
18680 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
18681 (nexttoward_test_data): New variable.
18682 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
18683 (pow_test_data): New variable.
18684 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
18685 (pow_tonearest_test_data): New variable.
18686 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
18687 (pow_towardzero_test_data): New variable.
18688 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
18689 (pow_downward_test_data): New variable.
18690 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
18691 (pow_upward_test_data): New variable.
18692 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
18693 (remainder_test_data): New variable.
18694 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
18695 (scalb_test_data): New variable.
18696 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
18697 * sysdeps/i386/fpu/libm-test-ulps: Update.
18699 2013-05-11 Joseph Myers <joseph@codesourcery.com>
18701 * math/libm-test.inc (fma_test): Use max_value instead of local
18703 (nextafter_test): Likewise.
18705 * math/libm-test.inc (acos_towardzero_test_data): New variable.
18706 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18707 (acos_downward_test_data): New variable.
18708 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18709 (acos_upward_test_data): New variable.
18710 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18711 (acosh_test_data): New variable.
18712 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
18713 (asin_test_data): New variable.
18714 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
18715 (asin_tonearest_test_data): New variable.
18716 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18717 (asin_towardzero_test_data): New variable.
18718 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18719 (asin_downward_test_data): New variable.
18720 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18721 (asin_upward_test_data): New variable.
18722 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18723 (asinh_test_data): New variable.
18724 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
18725 (atan_test_data): New variable.
18726 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
18727 (atanh_test_data): New variable.
18728 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
18729 (cbrt_test_data): New variable.
18730 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
18731 (ceil_test_data): New variable.
18732 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
18733 (cos_test_data): New variable.
18734 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
18735 (cos_tonearest_test_data): New variable.
18736 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18737 (cos_towardzero_test_data): New variable.
18738 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18739 (cos_downward_test_data): New variable.
18740 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18741 (cos_upward_test_data): New variable.
18742 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18743 (cosh_test_data): New variable.
18744 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
18745 (cosh_tonearest_test_data): New variable.
18746 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18747 (cosh_towardzero_test_data): New variable.
18748 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18749 (cosh_downward_test_data): New variable.
18750 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18751 (cosh_upward_test_data): New variable.
18752 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18753 (erf_test_data): New variable.
18754 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
18755 (erfc_test_data): New variable.
18756 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
18757 (exp_test_data): New variable.
18758 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
18759 (exp_tonearest_test_data): New variable.
18760 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18761 (exp_towardzero_test_data): New variable.
18762 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18763 (exp_downward_test_data): New variable.
18764 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18765 (exp_upward_test_data): New variable.
18766 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18767 (exp10_test_data): New variable.
18768 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
18769 (exp2_test_data): New variable.
18770 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
18771 (expm1_test_data): New variable.
18772 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
18773 (fabs_test_data): New variable.
18774 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
18775 (floor_test_data): New variable.
18776 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
18777 (j0_test_data): New variable.
18778 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
18779 (j1_test_data): New variable.
18780 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
18781 (log_test_data): New variable.
18782 (log_test): Run tests with RUN_TEST_LOOP_f_f.
18783 (log10_test_data): New variable.
18784 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
18785 (log1p_test_data): New variable.
18786 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
18787 (log2_test_data): New variable.
18788 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
18789 (logb_test_data): New variable.
18790 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
18791 (logb_downward_test_data): New variable.
18792 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18793 (nearbyint_test_data): New variable.
18794 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
18795 (rint_test_data): New variable.
18796 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
18797 (rint_tonearest_test_data): New variable.
18798 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18799 (rint_towardzero_test_data): New variable.
18800 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18801 (rint_downward_test_data): New variable.
18802 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18803 (rint_upward_test_data): New variable.
18804 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18805 (round_test_data): New variable.
18806 (round_test): Run tests with RUN_TEST_LOOP_f_f.
18807 (sin_test_data): New variable.
18808 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
18809 (sin_tonearest_test_data): New variable.
18810 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18811 (sin_towardzero_test_data): New variable.
18812 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18813 (sin_downward_test_data): New variable.
18814 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18815 (sin_upward_test_data): New variable.
18816 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18817 (sinh_test_data): New variable.
18818 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
18819 (sinh_tonearest_test_data): New variable.
18820 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18821 (sinh_towardzero_test_data): New variable.
18822 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18823 (sinh_downward_test_data): New variable.
18824 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18825 (sinh_upward_test_data): New variable.
18826 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18827 (sqrt_test_data): New variable.
18828 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
18829 (tan_test_data): New variable.
18830 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
18831 (tan_tonearest_test_data): New variable.
18832 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18833 (tan_towardzero_test_data): New variable.
18834 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18835 (tan_downward_test_data): New variable.
18836 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18837 (tan_upward_test_data): New variable.
18838 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18839 (tanh_test_data): New variable.
18840 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
18841 (tgamma_test_data): New variable.
18842 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
18843 (trunc_test_data): New variable.
18844 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
18845 (y0_test_data): New variable.
18846 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
18847 (y1_test_data): New variable.
18848 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
18849 (significand_test_data): New variable.
18850 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
18852 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
18855 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
18857 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
18859 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
18861 2013-05-10 Andreas Jaeger <aj@suse.de>
18864 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
18865 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
18867 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18869 * math/gen-libm-test.pl (adjust_arg): New function.
18870 (special_functions): Handle generating output in both functions
18872 (parse_args): Likewise.
18873 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
18874 $in_func argument to parse_args.
18875 * math/libm-test.inc (struct test_f_f_data): New type.
18876 (IF_ROUND_INIT_): New macro.
18877 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
18878 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18879 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18880 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18881 (ROUND_RESTORE_): Likewise.
18882 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
18883 (ROUND_RESTORE_FE_TONEAREST): Likewise.
18884 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
18885 (ROUND_RESTORE_FE_UPWARD): Likewise.
18886 (RUN_TEST_LOOP_f_f): New macro.
18887 (acos_test_data): New variable.
18888 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
18889 (acos_tonearest_test_data): New variable.
18890 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18892 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18894 * benchtests/bench-skeleton.c (startup): Fix coding style.
18896 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18899 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
18900 negative infinity argument.
18901 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
18902 negative infinity argument.
18903 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
18904 negative infinity argument.
18905 * math/libm-test.inc (tgamma_test): Expect errno to be set for
18908 2013-05-10 Florian Weimer <fweimer@redhat.com>
18910 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
18911 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
18912 * iconv/iconv_prog.c (main): Likewise.
18913 * locale/programs/charmap-dir.c (charmap_readdir)
18914 (fopen_uncompressed): Likewise.
18915 * locale/programs/locfile.c (siblings_uncached)
18916 (write_locale_data): Use lstat64 instead of lstat.
18917 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
18920 2013-05-10 Andreas Jaeger <aj@suse.de>
18923 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
18925 Include <locale.h>.
18927 2013-05-09 Carlos O'Donell <carlos@redhat.com>
18929 * elf/dl-close.c (_dl_close_worker): Add comments.
18931 2013-05-09 Joseph Myers <joseph@codesourcery.com>
18934 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
18936 (__ieee754_rem_pio2l): Update comments.
18939 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
18941 (__ieee754_rem_pio2l): Update comments.
18943 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
18944 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
18946 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
18949 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
18950 (M_PI_34_LOG10El): Likewise.
18951 (M_PI2_LOG10El): Likewise.
18952 (M_PI4_LOG10El): Likewise.
18953 (M_PI_LOG10El): Likewise.
18955 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18957 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18959 2013-05-08 Joseph Myers <joseph@codesourcery.com>
18961 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
18962 (MINUS_ZERO_INIT): Likewise.
18963 (PLUS_INFTY_INIT): Likewise.
18964 (MINUS_INFTY_INIT): Likewise.
18965 (QNAN_VALUE_INIT): Likewise.
18966 (MAX_VALUE_INIT): Likewise.
18967 (MIN_VALUE_INIT): Likewise.
18968 (MIN_SUBNORM_VALUE_INIT): Likewise.
18969 (plus_zero): Initialize with PLUS_ZERO_INIT.
18970 (minus_zero): Initialize with MINUS_ZERO_INIT.
18971 (plus_infty): Initialize with PLUS_INFTY_INIT.
18972 (minus_infty): Initialize with MINUS_INFTY_INIT.
18973 (qnan_value): Initialize with QNAN_VALUE_INIT.
18974 (max_value): Initialize with MAX_VALUE_INIT.
18975 (min_value): Initialize with MIN_VALUE_INIT.
18976 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
18978 * math/libm-test.inc (RUN_TEST_if_f): New macro.
18979 (jn_test): Use TEST_if_f instead of TEST_ff_f.
18980 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
18981 (yn_test): Use TEST_if_f instead of TEST_ff_f.
18983 * math/libm-test.inc (RUN_TEST_f_f): New macro.
18984 (RUN_TEST_2_f): Likewise.
18985 (RUN_TEST_ff_f): Likewise.
18986 (RUN_TEST_fi_f): Likewise.
18987 (RUN_TEST_fl_f): Likewise.
18988 (RUN_TEST_fff_f): Likewise.
18989 (RUN_TEST_c_f): Likewise.
18990 (RUN_TEST_f_f1): Likewise.
18991 (RUN_TEST_fF_f1): Likewise.
18992 (RUN_TEST_fI_f1): Likewise.
18993 (RUN_TEST_ffI_f1): Likewise.
18994 (RUN_TEST_c_c): Likewise.
18995 (RUN_TEST_cc_c): Likewise.
18996 (RUN_TEST_f_i): Likewise.
18997 (RUN_TEST_f_i_tg): Likewise.
18998 (RUN_TEST_ff_i_tg): Likewise.
18999 (RUN_TEST_f_b): Likewise.
19000 (RUN_TEST_f_b_tg): Likewise.
19001 (RUN_TEST_f_l): Likewise.
19002 (RUN_TEST_f_L): Likewise.
19003 (RUN_TEST_sincos): Likewise.
19004 * math/gen-libm-test.pl (new_test): Take new argument to indicate
19005 whether to show exceptions. Do not include ");\n" in return
19007 (special_functions): Output call to RUN_TEST_sincos instead of
19008 check_float calls. Update calls to new_test.
19009 (parse_args): Output call to single RUN_TEST_* macro instead of
19010 check_* calls and other assignments. Update calls to new_test.
19016 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19017 input to result for tgamma overflow.
19018 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19019 (gamma_coeff): New variable.
19020 (NCOEFF): New macro.
19021 (gamma_positive): New function.
19022 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19023 underflow here. Use gamma_positive instead of exp (lgamma) for
19025 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19026 (gamma_coeff): New variable.
19027 (NCOEFF): New macro.
19028 (gammaf_positive): New function.
19029 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19030 underflow here. Use gamma_positive instead of exp (lgamma) for
19032 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19033 (gamma_coeff): New variable.
19034 (NCOEFF): New macro.
19035 (gammal_positive): New function.
19036 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19037 underflow here. Use gamma_positive instead of exp (lgamma) for
19039 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19040 (gamma_coeff): New variable.
19041 (NCOEFF): New macro.
19042 (gammal_positive): New function.
19043 (__ieee754_gammal_r): Handle positive infinity, overflow and
19044 underflow here. Handle NaN the same as positive infinity. Remove
19045 check x < 0xffffffff for negative integers. Use gamma_positive
19046 instead of exp (lgamma) for other arguments.
19047 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19048 (gamma_coeff): New variable.
19049 (NCOEFF): New macro.
19050 (gammal_positive): New function.
19051 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19052 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19053 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19054 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19055 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19056 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19057 * sysdeps/generic/math_private.h (__gamma_productf): New
19059 (__gamma_product): Likewise.
19060 (__gamma_productl): Likewise.
19061 * math/Makefile (libm-calls): Add gamma_product.
19062 * math/libm-test.inc (tgamma_test): Add more tests.
19063 * sysdeps/i386/fpu/libm-test-ulps: Update.
19064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19066 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
19068 * benchtests/bench-skeleton.c (main): Preheat CPU.
19070 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
19072 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19074 2013-05-07 Roland McGrath <roland@hack.frob.com>
19076 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19077 and _dl_skip_args_internal.
19079 2013-05-07 Carlos O'Donell <carlos@redhat.com>
19081 * manual/message.texi (Message Translation): Talk about users.
19082 Message to key mapping impacts design.
19084 2013-05-06 Roland McGrath <roland@hack.frob.com>
19086 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
19088 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
19090 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
19091 * sysdeps/wordsize-64/glob64.c: ... here.
19093 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
19094 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
19097 * debug/getlogin_r_chk.c: Moved to ...
19098 * login/getlogin_r_chk.c: ... here.
19099 * debug/Makefile (routines): Move getlogin_r_chk to ...
19100 * login/Makefile (routines): ... here.
19101 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
19102 * login/Versions (libc: GLIBC_2.4): ... here.
19104 * io/poll.c (__poll): Renamed from poll.
19105 Add libc_hidden_def.
19106 (poll): Define as weak alias.
19108 * debug/ptsname_r_chk.c: Moved to ...
19109 * login/ptsname_r_chk.c: ... here.
19110 * debug/Makefile (routines): Move ptsname_r_chk to ...
19111 * login/Makefile (routines): ... here.
19112 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
19113 * login/Versions (libc: GLIBC_2.4): ... here.
19115 * posix/getlogin.c: Moved to ...
19116 * login/getlogin.c: ... here.
19117 * posix/getlogin_r.c: Moved to ...
19118 * login/getlogin_r.c: ... here.
19119 * posix/getlogin_r.c: Moved to ...
19120 * login/getlogin_r.c: ... here.
19121 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
19122 * login/Makefile (routines): ... here.
19123 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
19124 * login/Versions (libc: GLIBC_2.0): ... here.
19126 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
19127 (setrlimit): Define as weak alias.
19129 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
19130 Call __ names for open, ftruncate, and close.
19131 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
19132 (truncate): Define as weak alias.
19134 2013-05-06 Joseph Myers <joseph@codesourcery.com>
19136 * math/gen-libm-test.pl (parse_args): Initialize x before each
19137 test of frexp, modf and remquo.
19139 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
19140 test signgam value.
19142 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19146 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
19148 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19150 2013-05-06 Roland McGrath <roland@hack.frob.com>
19152 * elf/dl-writev.h: New file.
19153 * elf/dl-misc.c: Include it.
19154 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
19155 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
19157 2013-05-04 Joseph Myers <joseph@codesourcery.com>
19159 * math/libm-test.inc (noXFails): Remove variable.
19160 (noXPasses): Likewise.
19161 (BUILD_COMPLEX_INT): Remove macro.
19162 (print_screen): Remove xfail argument.
19163 (print_screen_max_error): Likewise.
19164 (update_stats): Likewise.
19165 (print_max_error): Likewise. Update calls to other affected
19167 (print_complex_max_error): Likewise.
19168 (test_single_exception): Update calls to print_screen.
19169 (test_single_errno): Likewise.
19170 (check_float_internal): Remove xfail argument. Update calls to
19171 other affected functions.
19172 (check_float): Likewise.
19173 (check_complex): Likewise.
19174 (check_int): Likewise.
19175 (check_long): Likewise.
19176 (check_bool): Likewise.
19177 (check_longlong): Likewise.
19178 (main): Don't print noXFails and noXPasses.
19179 * math/gen-libm-test.pl (top level): Don't mention expected
19180 failure handling in comment.
19181 (new_test): Don't handle expected failures.
19182 (parse_args): Don't mention expected failure handling in comment.
19183 (generate_testfile): Don't handle expected failures.
19184 (parse_ulps): Likewise.
19185 (print_ulps_file): Likewise.
19186 (get_failure): Remove function.
19187 (output_test): Don't handle expected failures.
19188 * make/README.libm-test: Don't mention expected failure handling.
19190 * math/libm-test.inc (plus_zero): Make const. Add initializer.
19191 (minus_zero): Likewise.
19192 (plus_infty): Likewise.
19193 (minus_infty): Likewise.
19194 (qnan_value): Likewise.
19195 (max_value): Likewise.
19196 (min_value): Likewise.
19197 (min_subnorm_value): Likewise.
19198 (initialize): Do not initialize those variables dynamically.
19200 2013-05-03 Roland McGrath <roland@hack.frob.com>
19202 * io/open.c (__open_2): Moved to ...
19203 * io/open_2.c: ... this new file.
19204 * io/open64.c (__open64_2): Moved to ...
19205 * io/open64_2.c: ... this new file.
19206 * io/openat.c (__openat_2): Moved to ...
19207 * io/openat_2.c: ... this new file.
19208 * io/openat64.c (__openat64_2): Moved to ...
19209 * io/openat64_2.c: ... this new file.
19210 * io/Makefile (routines): Add them.
19211 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
19212 * sysdeps/unix/sysv/linux/open_2.c: File removed.
19213 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
19214 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
19215 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
19216 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
19217 (__openat64): Add hidden_ver.
19218 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
19219 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
19221 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
19222 Separately conditionalize setting of GLRO(dl_sysinfo) so
19223 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
19224 as well, but the actual setting is only under [NEED_DL_SYSINFO].
19226 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19228 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
19229 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
19231 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
19232 * sysdeps/unix/sysv/linux/powerpc/init-first.c
19233 (_libc_vdso_platform_setup): Add __vdso_time initialization.
19234 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
19235 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
19237 2013-05-03 Joseph Myers <joseph@codesourcery.com>
19239 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
19240 test signgam value.
19242 * math/libm-test.inc (hypot_test): Do not use
19243 IGNORE_ZERO_INF_SIGN.
19245 2013-05-03 Andreas Jaeger <aj@suse.de>
19247 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
19249 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
19250 (PF_MAX): Adjust for VSOCK change.
19252 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19256 2013-05-02 Carlos O'Donell <carlos@redhat.com>
19259 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
19260 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
19261 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
19263 2013-05-02 David S. Miller <davem@davemloft.net>
19265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19267 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
19269 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
19271 2013-05-01 Roland McGrath <roland@hack.frob.com>
19273 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
19275 2013-05-01 Richard Smith <richard@metafoo.co.uk>
19278 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
19279 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19280 Use __attribute__ ((__gnu_inline__)).
19281 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19282 Don't use __attribute__ ((__gnu_inline__)).
19284 2013-05-01 Joseph Myers <joseph@codesourcery.com>
19287 * math/s_catan.c (__catan): Handle small real or imaginary part of
19288 input specially to avoid spurious underflow.
19289 * math/s_catanf.c (__catanf): Likewise.
19290 * math/s_catanh.c (__catanh): Likewise.
19291 * math/s_catanhf.c (__catanhf): Likewise.
19292 * math/s_catanhl.c (__catanhl): Likewise.
19293 * math/s_catanl.c (__catanl): Likewise.
19294 * math/libm-test.inc (catan_test): Add more tests.
19295 (catanh_test): Likewise.
19296 * sysdeps/i386/fpu/libm-test-ulps: Update.
19297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19299 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19303 2013-04-30 Joseph Myers <joseph@codesourcery.com>
19306 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
19307 accurately for denominator in atan2.
19308 * math/s_catanf.c (__catanf): Likewise.
19309 * math/s_catanh.c (__catanh): Likewise.
19310 * math/s_catanhf.c (__catanhf): Likewise.
19311 * math/s_catanhl.c (__catanhl): Likewise.
19312 * math/s_catanl.c (__catanl): Likewise.
19313 * math/libm-test.inc (catan_test): Add more tests.
19314 (catanh_test): Likewise.
19315 * sysdeps/i386/fpu/libm-test-ulps: Update.
19316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19318 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19320 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
19322 * benchtests/Makefile (bench): Remove slow benchmarks.
19323 * benchtests/atan-inputs: Add slow benchmark inputs.
19324 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
19325 (BENCH_FUNC): Accept variant offset.
19327 * benchtests/bench-skeleton.c (main): Run benchmark for each
19329 * benchtests/cos-inputs: Add slow benchmark inputs.
19330 * benchtests/exp-inputs: Likewise.
19331 * benchtests/pow-inputs: Likewise.
19332 * benchtests/sin-inputs: Likewise.
19333 * benchtests/slowatan-inputs: Remove.
19334 * benchtests/slowatan.c: Remove.
19335 * benchtests/slowcos-inputs: Remove.
19336 * benchtests/slowcos.c: Remove.
19337 * benchtests/slowexp-inputs: Remove.
19338 * benchtests/slowexp.c: Remove.
19339 * benchtests/slowpow-inputs: Remove.
19340 * benchtests/slowpow.c: Remove.
19341 * benchtests/slowsin-inputs: Remove.
19342 * benchtests/slowsin.c: Remove.
19343 * benchtests/slowtan-inputs: Remove.
19344 * benchtests/slowtan.c: Remove.
19345 * benchtests/tan-inputs: Add slow benchmark inputs.
19346 * scripts/bench.pl: Parse comments and directives.
19348 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
19350 ($(objpfx)bench-%.c): Remove *-ITER.
19351 * benchtests/bench-modf.c: Remove definition of ITER.
19352 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
19353 (main): Loop for DURATION seconds instead of fixed number of
19355 * scripts/bench.pl: Don't expect iterations in parameters.
19357 2013-04-29 Roland McGrath <roland@hack.frob.com>
19359 * io/fchdir.c (__fchdir): Renamed from fchdir.
19360 (fchdir): Define as weak alias.
19362 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19364 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
19365 (ERRNO_EDOM): Likewise.
19366 (ERRNO_ERANGE): Likewise.
19367 (noErrnoTests): New variable.
19368 (init_max_error): Set errno to 0.
19369 (test_single_errno): New function.
19370 (test_errno): Likewise.
19371 (check_float_internal): Call test_errno. Set errno to 0.
19372 (check_complex): Refer to errno tests in comment.
19373 (check_int): Call test_errno. Set errno to 0.
19374 (check_long): Likewise.
19375 (check_bool): Likewise.
19376 (check_longlong): Likewise.
19377 (cos_test): Use ERRNO_* flags for errno tests instead of
19379 (expm1_test): Likewise.
19380 (fmod_test): Likewise.
19381 (ilogb_test): Likewise.
19382 (lgamma_test): Likewise.
19383 (pow_test): Likewise.
19384 (remainder_test): Likewise.
19385 (sin_test): Likewise.
19386 (tan_test): Likewise.
19387 (yn_test): Likewise.
19388 (initialize): Set errno to 0.
19389 (main): Print number of errno tests.
19390 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
19392 2013-04-29 Andreas Jaeger <aj@suse.de>
19395 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
19399 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
19400 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
19404 * stdlib/random.c (__initstate): Return NULL if
19408 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
19409 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
19412 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19416 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19418 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
19419 of individual tests.
19420 (casin_test): Likewise.
19421 (casinh_test): Likewise.
19423 2013-04-27 Joseph Myers <joseph@codesourcery.com>
19426 * math/s_catan.c (__catan): Handle arguments with large real or
19427 imaginary part separately without squaring.
19428 * math/s_catanf.c (__catanf): Likewise.
19429 * math/s_catanh.c (__catanh): Likewise.
19430 * math/s_catanhf.c (__catanhf): Likewise.
19431 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19433 (__catanhl): Handle arguments with large real or imaginary part
19434 separately without squaring.
19435 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19437 (__catanl): Handle arguments with large real or imaginary part
19438 separately without squaring.
19439 * math/libm-test.inc (catan_test): Add more tests.
19440 (catanh_test): Likewise.
19441 * sysdeps/i386/fpu/libm-test-ulps: Update.
19442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19444 2013-04-27 Andreas Jaeger <aj@suse.de>
19447 * stdlib/stdlib.h: Update guards for qecvt.
19448 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
19451 2013-04-27 Allan McRae <allan@archlinux.org>
19453 * sysdeps/i386/fpu/libm-test-ulps: Update.
19455 2013-04-26 Joseph Myers <joseph@codesourcery.com>
19458 * math/s_catan.c: Include <float.h>.
19459 (__catan): Ensure underflow exception occurs for underflowed
19461 * math/s_catanf.c: Include <float.h>.
19462 (__catanf): Ensure underflow exception occurs for underflowed
19464 * math/s_catanh.c: Include <float.h>.
19465 (__catanh): Ensure underflow exception occurs for underflowed
19467 * math/s_catanhf.c: Include <float.h>.
19468 (__catanhf): Ensure underflow exception occurs for underflowed
19470 * math/s_catanhl.c: Include <float.h>.
19471 (__catanhl): Ensure underflow exception occurs for underflowed
19473 * math/s_catanl.c: Include <float.h>.
19474 (__catanl): Ensure underflow exception occurs for underflowed
19476 * math/libm-test.inc (catan_test): Add more tests.
19477 (catanh_test): Likewise.
19480 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
19481 underflowed result.
19482 * math/s_ccoshf.c (__ccoshf): Likewise.
19483 * math/s_ccoshl.c (__ccoshl): Likewise.
19484 * math/s_csin.c (__csin): Likewise.
19485 * math/s_csinf.c (__csinf): Likewise.
19486 * math/s_csinh.c (__csinh): Likewise.
19487 * math/s_csinhf.c (__csinhf): Likewise.
19488 * math/s_csinhl.c (__csinhl): Likewise.
19489 * math/s_csinl.c (__csinl): Likewise.
19490 * math/libm-test.inc (ccos_test): Add more tests.
19491 (ccosh_test): Likewise.
19492 (csin_test): Likewise.
19493 (csinh_test): Likewise.
19495 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19497 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
19498 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
19499 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
19500 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
19501 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
19502 powerpc/power5+/fpu folders.
19503 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
19506 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19508 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19510 2013-04-25 Joseph Myers <joseph@codesourcery.com>
19512 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
19513 additions to variable.
19514 [$(config-machine) = x86_64] (modules-names): Likewise.
19515 ($(objpfx)tst-audit3): Remove dependency.
19516 ($(objpfx)tst-audit3.out): Likewise.
19517 ($(objpfx)tst-audit4): Likewise.
19518 ($(objpfx)tst-audit4.out): Likewise.
19519 ($(objpfx)tst-audit5): Likewise.
19520 ($(objpfx)tst-audit5.out): Likewise.
19521 ($(objpfx)tst-audit6): Likewise.
19522 ($(objpfx)tst-audit6.out): Likewise.
19523 ($(objpfx)tst-audit7): Likewise.
19524 ($(objpfx)tst-audit7.out): Likewise.
19525 (tst-audit3-ENV): Remove variable.
19526 (tst-audit4-ENV): Likewise.
19527 (tst-audit5-ENV): Likewise.
19528 (tst-audit6-ENV): Likewise.
19529 (tst-audit7-ENV): Likewise.
19530 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
19531 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
19532 addition to variable.
19533 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
19534 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
19535 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
19536 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
19537 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
19538 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
19539 tst-audit3, tst-audit4 and tst-audit5.
19540 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
19541 tst-audit6 and tst-audit7.
19542 [$(subdir) = elf] (modules-names): Add audit modules for those
19544 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
19545 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
19546 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
19547 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
19548 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
19549 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
19550 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
19551 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
19552 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
19553 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
19554 [$(subdir) = elf] (tst-audit3-ENV): New variable.
19555 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
19556 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
19557 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
19558 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
19559 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
19561 [$(subdir) = elf && $(config-cflags-avx) = yes]
19562 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
19563 [$(subdir) = elf && $(config-cflags-avx) = yes]
19564 (CFLAGS-tst-auditmod4a.c): Likewise.
19565 [$(subdir) = elf && $(config-cflags-avx) = yes]
19566 (CFLAGS-tst-auditmod4b.c): Likewise.
19567 [$(subdir) = elf && $(config-cflags-avx) = yes]
19568 (CFLAGS-tst-auditmod6b.c): Likewise.
19569 [$(subdir) = elf && $(config-cflags-avx) = yes]
19570 (CFLAGS-tst-auditmod6c.c): Likewise.
19571 [$(subdir) = elf && $(config-cflags-avx) = yes]
19572 (CFLAGS-tst-auditmod7b.c): Likewise.
19573 * elf/tst-audit3.c: Move to ...
19574 * sysdeps/x86_64/tst-audit3.c: ... here.
19575 * elf/tst-audit4.c: Move to ...
19576 * sysdeps/x86_64/tst-audit4.c: ... here.
19577 * elf/tst-audit5.c: Move to ...
19578 * sysdeps/x86_64/tst-audit5.c: ... here.
19579 * elf/tst-audit6.c: Move to ...
19580 * sysdeps/x86_64/tst-audit6.c: ... here.
19581 * elf/tst-audit7.c: Move to ...
19582 * sysdeps/x86_64/tst-audit7.c: ... here.
19583 * elf/tst-auditmod3a.c: Move to ...
19584 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
19585 * elf/tst-auditmod3b.c: Move to ...
19586 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
19587 * elf/tst-auditmod4a.c: Move to ...
19588 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
19589 * elf/tst-auditmod4b.c: Move to ...
19590 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
19591 * elf/tst-auditmod5a.c: Move to ...
19592 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
19593 * elf/tst-auditmod5b.c: Move to ...
19594 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
19595 * elf/tst-auditmod6a.c: Move to ...
19596 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
19597 * elf/tst-auditmod6b.c: Move to ...
19598 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
19599 * elf/tst-auditmod6c.c: Move to ...
19600 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
19601 * elf/tst-auditmod7a.c: Move to ...
19602 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
19603 * elf/tst-auditmod7b.c: Move to ...
19604 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
19606 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
19609 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
19610 define unconditionally.
19611 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
19612 define unconditionally.
19613 (INT8_C, INT16_C, etc.): Likewise.
19615 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
19617 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
19618 __ehdr_start with hidden visibility.
19620 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
19622 2013-04-24 Carlos O'Donell <carlos@redhat.com>
19624 * math/libm-test.inc (cos_test): Use accurate hex constants.
19625 (sincost_test): Likewise.
19627 2013-04-24 Joseph Myers <joseph@codesourcery.com>
19629 * math/libm-test.inc (catan_test): Add more tests.
19630 (catanh_test): Likewise.
19632 * math/s_catanf.c (__catanf): Use suffixed floating-point
19634 * math/s_catanhf.c (__catanhf): Likewise.
19635 * math/s_catanhl.c (__catanhl): Likewise.
19636 * math/s_catanl.c (__catanl): Likewise.
19639 * math/s_catan.c (__catan): Calculate imaginary part of result
19640 with log1p not log unless computing log of number close to 0.
19641 * math/s_catanf.c (__catanf): Likewise.
19642 * math/s_catanl.c (__catanl): Likewise.
19643 * math/s_catanh.c (__catanh): Calculate real part of result with
19644 log1p not log unless computing log of number close to 0.
19645 * math/s_catanhf.c (__catanhf): Likewise.
19646 * math/s_catanhl.c (__catanhl): Likewise.
19647 * math/libm-test.inc (catan_test): Add more tests.
19648 (catanh_test): Likewise.
19649 * sysdeps/i386/fpu/libm-test-ulps: Update.
19650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19652 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19654 * benchtests/Makefile: Mention files in which fast and slow
19655 paths of math functions are implemented.
19657 2013-04-23 Roland McGrath <roland@hack.frob.com>
19659 * sysdeps/posix/timespec_get.c: New file.
19661 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19663 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
19665 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
19667 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
19668 powerpc/power5/fpu folders.
19669 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
19670 * benchtests/Makefile: Add modf testcase.
19671 * benchtests/bench-modf.c: New file: Benchmark test for mo
19673 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19676 * time/Makefile (tests): Add tst-strptime-whitespace.
19677 * time/strptime_l.c (get_number): Use ISSPACE.
19678 (__strptime_internal): Likewise.
19679 * time/tst-strptime-whitespace.c: New test case.
19681 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
19683 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
19685 (_nss_files_init): Set it here.
19687 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
19689 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
19690 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
19693 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
19695 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
19697 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19699 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
19702 2013-04-21 David S. Miller <davem@davemloft.net>
19704 * po/ru.po: Update Russion translation from translation project.
19706 2013-04-17 Adam Conrad <adconrad@0c3.net>
19708 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
19711 2013-04-17 Carlos O'Donell <carlos@redhat.com>
19713 * configure.in: Remove i386 configure warning. Remove i386 case.
19714 * configure: Regenerate.
19715 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
19716 Add example to error message.
19717 * sysdeps/i386/configure: Regenerate.
19719 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19721 * benchtests/Makefile (bench): Add cos, tan, slowcos and
19723 * benchtests/cos-inputs: New file.
19724 * benchtests/slowcos-inputs: New file.
19725 * benchtests/slowcos.c: New file.
19726 * benchtests/slowtan-inputs: New file.
19727 * benchtests/slowtan.c: New file.
19728 * benchtests/tan-inputs: New file.
19730 2013-04-16 Roland McGrath <roland@hack.frob.com>
19732 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
19735 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19737 * benchtests/Makefile: Include cppflags-iterator.mk to add
19738 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
19740 * Makefile.in (bench-clean): New target.
19741 * benchtests/Makefile (bench-clean): Likewise.
19743 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
19745 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
19747 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
19749 * stdio-common/tstdiomisc.c: Fix coding-style violation.
19751 2013-04-15 Andreas Schwab <schwab@suse.de>
19753 * nscd/grpcache.c (cache_addgr): Properly check for short write.
19754 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19755 * nscd/pwdcache.c (cache_addpw): Likewise.
19756 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
19759 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19761 * benchtests/Makefile (bench): Write all output to
19762 bench-out.tmp together.
19764 2013-04-15 Andreas Schwab <schwab@suse.de>
19766 * nscd/nscd.c (main): Don't fork again after closing files.
19768 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19770 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
19772 * benchtests/Rules (bench-deps): Collect dependencies into a
19773 single variable. Add Makefile to dependencies.
19774 ($(objpfx)bench-%.c): Depend on bench-deps.
19776 2013-04-12 Roland McGrath <roland@hack.frob.com>
19777 Xavier Roche <roche+kml2@exalead.com>
19780 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
19781 just that it's a file descriptor.
19782 * manual/llio.texi (Synchronizing AIO Operations): Update description
19783 for EBADF error from aio_fsync.
19785 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19787 * Rules (bench): Move target definition...
19788 * benchtests/Makefile: ... here.
19790 2013-04-11 Carlos O'Donell <carlos@redhat.com>
19792 * math/libm-test.inc (cos_test): Fix PI/2 test.
19793 (sincos_test): Likewise.
19794 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19795 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19797 2013-04-11 Andreas Schwab <schwab@suse.de>
19800 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
19801 accept exponent character only when digits were seen.
19802 * stdio-common/Makefile (tests): Add bug26.
19803 * stdio-common/bug26.c: New file.
19806 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
19809 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19811 * Makeconfig (rtld-prefix): Define built linker prefix.
19812 * Rules (run-bench): Use it.
19813 * math/Makefile (run-regen-ulps): Likewise.
19815 * Rules (bench): Remove eval.
19817 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19818 Roland McGrath <roland@hack.frob.com>
19819 Ondrej Bilka <neleai@seznam.cz>
19822 * time/getdate.c: Include ctype.h and alloca.h.
19823 (__getdate_r): Trim leading and trailing spaces of input.
19824 * time/tst-getdate.c (tests): Add tests with leading and
19827 2013-04-08 Roland McGrath <roland@hack.frob.com>
19830 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
19831 when computing value.
19833 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19835 * math/README.libm-test (How can I generate "libm-test-ulps"?):
19836 Use testrun.sh to run libm tests.
19839 * elf/dl-open.c (dl_open_worker): memset all of seen array.
19841 2013-04-06 Marko Myllynen <myllynen@redhat.com>
19844 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
19846 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19848 * Makefile.in (regen-ulps): New target.
19849 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
19850 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
19851 [ifneq (no,$(PERL)] (regen-ulps): New target.
19852 [ifeq (no,$(PERL)] (regen-ulps): New target.
19853 * math/libm-test.inc (ulps_file_name): Define.
19854 (output_dir): New variable.
19855 (options): Add "output-dir" option.
19856 (parse_opt): Handle 'o' case.
19857 (main): If output_dir is non-NULL use it as a prefix
19859 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
19861 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19863 [BZ #10060, #10062]
19864 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
19865 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
19866 fail configure if __sync_val_compare_and_swap is not inlined.
19867 * sysdeps/i386/configure: Regenerate.
19868 * configure.in: Build for i686 when configured for i386.
19869 * configure: Regenerate.
19870 * README: Remove i386 reference.
19872 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19874 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
19875 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19877 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
19879 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
19880 (lmsnanval): New variables.
19881 (F): Add conversion tests.
19882 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
19883 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
19885 * stdio-common/tstdiomisc.c (F): Properly collect individual
19888 [BZ #14686, #15336]
19889 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
19890 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19891 Instead, use input NaN values or generate a qNaN by arithmetic
19892 operation. Also fix bugs to comply with the standard.
19893 * math/libm-test.inc (remainder_test): Add more tests.
19895 [BZ #15335, #15342]
19896 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
19897 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
19898 input NaN values or generate a qNaN by arithmetic operation.
19900 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
19903 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
19906 2013-04-03 Joseph Myers <joseph@codesourcery.com>
19909 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
19910 underflowed result.
19911 * math/s_cexpf.c (__cexpf): Likewise.
19912 * math/s_cexpl.c (__cexpl): Likewise.
19913 * math/libm-test.inc (cexp_test): Add more tests.
19915 2013-04-03 Andreas Schwab <schwab@suse.de>
19918 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
19919 order arrays from heap if bigger than alloca cutoff.
19921 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
19923 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
19924 (SNAN_TESTS_double): Refer to GCC PR56831.
19925 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
19928 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19930 * Rules (bench): Move bench.out after the run is complete.
19932 * Rules (bench): Echo currently running benchmark.
19934 * benchtests/Makefile (bench): Add atan and slowatan.
19935 * benchtests/atan-inputs: New file.
19936 * benchtests/slowatan-inputs: New file.
19937 * benchtests/slowatan.c: New file.
19939 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
19940 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
19944 * sysdeps/unix/sysv/linux/kernel-features.h
19945 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
19946 __ASSUME_XFS_RESTRICTED_CHOWN.
19947 * sysdeps/unix/sysv/linux/pathconf.c
19948 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19949 Save and restore errno.
19951 2013-04-02 Joseph Myers <joseph@codesourcery.com>
19954 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19955 arguments using __kernel_casinh.
19956 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
19957 arguments using __kernel_casinhf.
19958 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
19959 arguments using __kernel_casinhl.
19960 * math/libm-test.inc (cacosh_test): Add more tests.
19961 * sysdeps/i386/fpu/libm-test-ulps: Update.
19962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19964 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19966 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
19967 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
19969 * bench/Makefile (bench): Add sin and slowsin.
19970 * benchtests/sin-inputs: New file.
19971 * benchtests/slowsin-inputs: New file.
19972 * benchtests/slowsin.c: New file.
19974 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
19975 (bench): Add slowexp and slowpow.
19976 (exp-ITER): Increase iterations.
19977 (pow-ITER): Likewise.
19978 * benchtests/exp-inputs: Change input.
19979 * benchtests/pow-inputs: Likewise.
19980 * benchtests/slowexp-inputs: New file.
19981 * benchtests/slowexp.c: New file.
19982 * benchtests/slowpow-inputs: New file.
19983 * benchtests/slowpow.c: New file.
19985 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19987 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
19989 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19990 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
19991 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19992 * benchtests/Makefile: Add rint benchtest.
19993 * benchtests/rint-inputs: Input for rint benchtest.
19995 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
19997 * Versions.def (libm): Add GLIBC_2.18.
19998 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
19999 hidden libm prototypes.
20000 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20001 * math/Makefile (libm-calls): Add s_issignaling.
20002 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20003 __issignalingf, __issignalingl. Adjust all libm.abilist files.
20004 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20006 * math/math.h [__USE_GNU] (issignaling): New macro.
20007 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20008 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20009 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20010 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20011 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20012 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20013 * manual/arith.texi (issignaling): New section.
20014 * manual/libm-err-tab.pl (@all_functions): Update comment.
20015 * math/gen-libm-test.pl (parse_args): Apply special handling for
20017 * math/libm-test.inc (print_float, issignaling_test): New
20019 (check_float_internal): Add issignaling checks.
20020 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20021 default definition.
20022 * sysdeps/powerpc/math-tests.h: New file.
20023 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20025 * math/test-snan.c (TEST_FUNC): Likewise.
20027 2013-03-30 David S. Miller <davem@davemloft.net>
20029 * po/de.po: Update from translation team.
20031 2013-03-30 Joseph Myers <joseph@codesourcery.com>
20034 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20035 imaginary part less than 1.0 and real part less than 0.5
20037 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20038 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20039 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20040 (cacos_test): Add more tests.
20041 (casin_test): Likewise.
20042 (casinh_test): Likewise.
20043 * sysdeps/i386/fpu/libm-test-ulps: Update.
20044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20046 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20048 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20049 ONE with its value.
20051 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20052 (__pow_mp): Replace ONE and MONE with their values.
20053 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20054 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20055 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20056 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20057 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20058 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20060 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20062 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20063 (__pow_mp): Replace ZERO and MZERO with their values.
20064 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20065 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20066 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20067 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20068 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20069 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20072 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20074 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20076 2013-03-28 Roland McGrath <roland@hack.frob.com>
20078 * include/stdlib.h [!SHARED] (__call_tls_dtors):
20079 Declare with __attribute__ ((weak)).
20080 * stdlib/exit.c (__libc_atexit) [!SHARED]:
20081 Call __call_tls_dtors only if it's not NULL.
20083 2013-03-28 Roland McGrath <roland@hack.frob.com>
20085 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
20086 didn't do it already, then set _dl_phdr and _dl_phnum based on the
20087 magic __ehdr_start linker symbol if it's defined.
20088 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
20089 them up here if it was already done.
20091 * elf/dl-support.c (_dl_phdr): Make pointer to const.
20092 (_dl_aux_init): Use const in cast when setting it.
20093 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
20094 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
20095 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
20097 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
20099 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
20100 * csu/libc-tls.c: Nor here.
20101 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
20103 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
20104 (__libc_message): Never call vsyslog.
20106 2013-03-28 Alan Modra <amodra@gmail.com>
20108 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
20110 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
20113 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20116 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
20118 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20120 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20123 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20124 Don't add gid passed as argument.
20126 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
20128 2013-03-27 Joseph Myers <joseph@codesourcery.com>
20131 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20132 imaginary part between 1.0 and 1.5 and real part less than 0.5
20134 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20135 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20136 * math/libm-test.inc (cacos_test): Add more tests.
20137 (casin_test): Likewise.
20138 (casinh_test): Likewise.
20139 * sysdeps/i386/fpu/libm-test-ulps: Update.
20140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20142 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20144 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
20147 (denorm): Likewise.
20148 (__dbl_mp): Likewise.
20149 (add_magnitudes): Likewise.
20150 (sub_magnitudes): Likewise.
20158 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
20160 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
20161 (__dubcos): Likewise.
20162 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
20163 (__ieee754_acos): Likewise.
20164 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20165 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
20166 (__exp1): Likewise.
20167 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20168 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20170 (my_log2): Likewise.
20171 (checkint): Likewise.
20172 * sysdeps/ieee754/dbl-64/e_remainder.c
20173 (__ieee754_remainder): Likewise.
20174 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20175 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20176 (bsloww): Likewise.
20177 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20179 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20180 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
20181 MANTISSA_STORE_T to store computations on mantissa. Use
20182 macros for rounding and division.
20183 (denorm): Likewise.
20184 (__dbl_mp): Likewise.
20185 (add_magnitudes): Likewise.
20186 (sub_magnitudes): Likewise.
20189 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20190 powers of two in terms of TWOPOW macro.
20191 (mp_no): Make type of mantissa as MANTISSA_T.
20192 [!RADIXI]: Define RADIXI.
20193 [!TWO52]: Define TWO52.
20194 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20196 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20198 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
20199 llroundl symbol when building for PPC32.
20201 2013-03-24 Mark H Weaver <mhw@netris.org>
20203 * manual/arith.texi (Normalization Functions): Fix prototypes for
20204 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
20206 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20209 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
20210 high value to check if expl overflow.
20211 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
20212 to check for underflow and overflow.
20213 * math/libm-test.inc: Add exp test.
20215 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
20218 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
20221 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20223 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
20226 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
20228 * math/gen-libm-test.pl (parse_args, special_functions): Properly
20229 wrap blocks consisting of several statements.
20231 * sysdeps/generic/math-tests.h: New file.
20232 * sysdeps/i386/fpu/math-tests.h: Likewise.
20233 * math/test-snan.c: Include it.
20234 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
20236 2013-03-21 Joseph Myers <joseph@codesourcery.com>
20239 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
20240 (__ieee754_j0l): Do not improve calculations using cos of twice
20241 input for inputs above LDBL_MAX / 2.0L.
20242 (__ieee754_y0l): Likewise.
20243 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
20244 (__ieee754_j1l): Do not improve calculations using cos of twice
20245 input for inputs above LDBL_MAX / 2.0L.
20246 (__ieee754_y1l): Likewise.
20247 * math/libm-test.inc (j0_test): Add another test.
20248 (j1_test): Likewise.
20249 (y0_test): Likewise.
20250 (y1_test): Likewise.
20251 * sysdeps/i386/fpu/libm-test-ulps: Update.
20253 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20255 * Rules ($(objpfx)bench-%.c): Include code from a C source
20258 2013-03-21 Joseph Myers <joseph@codesourcery.com>
20261 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20262 imaginary part 1.0 and real part less than 0.5 specially.
20263 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20264 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20265 * math/libm-test.inc (cacos_test): Add more tests.
20266 (casin_test): Likewise.
20267 (casinh_test): Likewise.
20268 * sysdeps/i386/fpu/libm-test-ulps: Update.
20269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20271 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20273 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
20274 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
20276 2013-03-20 Joseph Myers <joseph@codesourcery.com>
20278 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
20279 * config.make.in (config-cflags-sse4): Remove variable.
20280 (config-cflags-avx): Likewise.
20281 (config-cflags-sse2avx): Likewise.
20282 (config-cflags-novzeroupper): Likewise.
20283 (config-asflags-i686): Likewise.
20284 (have-mfma4): Likewise.
20285 (have-as-vis3): Likewise.
20287 * configure.in (MIG): Do not AC_SUBST.
20288 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
20289 (libc_cv_cc_sse4): Do not AC_SUBST.
20290 (libc_cv_cc_avx): Likewise.
20291 (libc_cv_cc_sse2avx): Likewise.
20292 (libc_cv_cc_novzeroupper): Likewise.
20293 (libc_cv_cc_fma4): Likewise.
20294 (libc_cv_as_i686): Likewise.
20295 (libc_cv_sparc_as_vis3): Likewise.
20296 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
20298 (config-asflags-i686): Likewise.
20299 (config-cflags-avx): Likewise.
20300 (config-cflags-sse2avx): Likewise.
20301 (have-mfma4): Likewise.
20302 (config-cflags-novzeroupper): Likewise.
20303 * sysdeps/mach/configure.in (MIG): Likewise.
20304 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
20305 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
20307 (config-cflags-avx): Likewise.
20308 (config-cflags-sse2avx): Likewise.
20309 (have-mfma4): Likewise.
20310 (config-cflags-novzeroupper): Likewise.
20311 * configure: Regenerated.
20312 * sysdeps/i386/configure: Likewise.
20313 * sysdeps/mach/configure: Likewise.
20314 * sysdeps/sparc/configure: Likewise.
20315 * sysdeps/x86_64/configure: Likewise.
20317 2013-03-20 Roland McGrath <roland@hack.frob.com>
20320 * locale/programs/localedef.c (options): Put N_ translation marker
20321 on argument names, not just descriptions.
20323 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20325 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
20327 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
20330 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
20332 2013-03-19 Roland McGrath <roland@hack.frob.com>
20334 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
20335 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
20336 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
20337 [!BEFORE_ABORT] (before_abort): New function.
20338 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
20339 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
20340 (writev_for_fatal): New function.
20341 (WRITEV_FOR_FATAL): New macro; call that.
20342 (backtrace_and_maps): New function.
20343 (BEFORE_ABORT): New macro; call that.
20344 (struct str_list): Type removed.
20345 (__libc_message, __libc_fatal): Functions removed.
20346 Include <sysdeps/posix/libc_fatal.c> instead.
20348 2013-03-19 Joseph Myers <joseph@codesourcery.com>
20350 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
20352 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
20355 2013-03-19 Andreas Schwab <schwab@suse.de>
20357 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
20358 * sysdeps/gnu/configure: Regenerate.
20360 * configure.in: Substitute libc_cv_rtlddir.
20361 * configure: Regenerate.
20362 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
20363 * Makeconfig (rtlddir, inst_rtlddir): New variables.
20364 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
20365 * elf/Makefile (install-others, CFLAGS-interp.c)
20366 (ldso_install, common-ldd-rewrite): Likewise.
20367 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
20368 $(inst_slibdir)/$(rtld-installed-name).
20369 * scripts/rellns-sh: Add -p option.
20370 * Makerules (make-shlib-link): Use rellns-sh to get relative name
20373 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20375 * manual/nptl.texi: Renamed to ...
20376 * manual/threads.texi: ... this.
20377 * manual/Makefile (chapters): Update.
20379 2013-03-18 Roland McGrath <roland@hack.frob.com>
20382 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
20383 on argument names, not just descriptions.
20384 * malloc/memusagestat.c (options): Likewise.
20385 * nss/getent.c (options): Likewise.
20387 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
20390 * iconv/iconv_prog.c (options): Put N_ translation marker
20391 on argument names, not just descriptions.
20392 * iconv/iconvconfig.c (options): Likewise.
20394 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
20396 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
20397 implementation which is faster on all x86_64 architectures.
20398 Tested on AMD, Intel Nehalem, SNB, IVB.
20399 * sysdeps/x86_64/strnlen.S: Likewise.
20401 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20402 Remove all multiarch strlen and strnlen versions.
20403 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20404 Remove strlen and strnlen related parts.
20406 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
20407 Inline strlen part.
20408 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20410 * sysdeps/x86_64/multiarch/strlen.S: Remove.
20411 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
20412 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
20413 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
20414 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20415 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
20417 2013-03-17 Carlos O'Donell <carlos@redhat.com>
20419 * manual/memory.texi (Malloc Tunable Parameters):
20420 Sort parameters alphabetically. Add comments for missing entries.
20422 2013-03-17 David S. Miller <davem@davemloft.net>
20424 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20426 2013-03-16 Joseph Myers <joseph@codesourcery.com>
20429 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
20430 for arguments at most half maximum finite value.
20431 * math/libm-test.inc (j0_test): Add more tests.
20432 (j1_test): Likewise.
20433 (y0_test): Likewise.
20434 (y1_test): Likewise.
20435 * sysdeps/i386/fpu/libm-test-ulps: Update.
20436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20439 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
20440 1 / x and functions P and Q for arguments above 0x1p256L.
20441 (__ieee754_y0l): Likewise.
20442 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20443 (__ieee754_y1l): Likewise.
20444 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
20445 (j1_test): Likewise.
20446 (y0_test): Likewise.
20447 (y1_test): Likewise.
20449 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
20451 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
20454 2013-03-15 Roland McGrath <roland@hack.frob.com>
20456 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
20457 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
20458 zero since it's initialized to EXEC_PAGESIZE.
20460 * sysdeps/unix/sysv/linux/ldsodefs.h
20461 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
20462 * sysdeps/generic/ldsodefs.h: ... here.
20464 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
20466 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
20468 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
20470 * math/test-snan.c: Renamed from
20471 sysdeps/powerpc/fpu/test-powerpc-snan.c.
20472 * math/Makefile (tests): Add test-snan.
20473 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
20476 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
20477 SUFFIX. Initialize qNaN_var with __builtin_nan family of
20479 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
20480 __builtin_nan family of functions.
20481 * math/libm-test.inc (initialize): Initialize qnan_value with
20482 __builtin_nan family of functions.
20483 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
20485 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
20487 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
20488 storage class. Initialize qNaN_var and sNaN_var with
20489 __builtin_nan and __builtin_nans families of functions,
20492 * math/libm-test.inc (acosh_test): Also test with qNaN input.
20493 (sqrt_test): Remove duplicate test with qNaN input.
20494 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
20495 (round_test, signbit_test, significand_test): Note missing +/-Inf
20496 as well as qNaN tests.
20498 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
20499 qNaN_var. Fix a few strings, too.
20500 * math/libm-test.inc (nan_value): Rename to qnan_value.
20501 * math/gen-libm-test.pl (%beautify): Adjust to that.
20502 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
20503 * math/test-misc.c (main): Likewise.
20504 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
20505 to __qnan_bytes, and __qnan_union, respectively.
20506 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
20508 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
20509 and lqnanval, respectively.
20510 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
20511 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
20512 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
20513 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
20515 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
20516 * math/test-misc.c (main) [__x86_64__]: Enable test for long
20519 * math/test-misc.c (main): Fix copy'n'pastos.
20520 * misc/tst-efgcvt.c (special): Likewise.
20522 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
20523 Remove declarations.
20525 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20527 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
20528 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
20529 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
20530 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
20532 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20534 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
20535 macro to return vdso values correctly in IFUNC implementations.
20536 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20537 Optimization by using IFUNC.
20539 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20540 Richard Henderson <rth@redhat.com>
20541 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20543 * Makefile.in (bench): New target.
20544 * NEWS: Mention the benchmark framework.
20545 * Rules (bench): Likewise.
20546 (binaries-bench): Generate binaries for functions to
20548 * benchtests/Makefile: New makefile for benchmark tests.
20549 * benchtests/bench-skeleton.c: New skeleton file for benchmark
20551 * benchtests/exp-inputs: New input file for EXP function.
20552 * benchtests/pow-inputs: New input file for POW function.
20553 * scripts/bench.pl: New script to generate source files for
20554 benchmark programs.
20556 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20558 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20559 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
20560 computations on mantissa. Use macros for rounding and
20562 (denorm): Likewise.
20563 (__dbl_mp): Likewise.
20564 (add_magnitudes): Likewise.
20565 (sub_magnitudes): Likewise.
20568 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20569 powers of two in terms of TWOPOW macro.
20570 (mp_no): Make type of mantissa as MANTISSA_T.
20571 [!RADIXI]: Define RADIXI.
20572 [!TWO52]: Define TWO52.
20573 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20575 * manual/nptl.texi (cindex): Modify threads to pthreads.
20577 2013-03-15 Joseph Myers <joseph@codesourcery.com>
20579 * sysdeps/x86_64/preconfigure: Regenerated.
20581 2013-03-14 Joseph Myers <joseph@codesourcery.com>
20584 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
20586 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
20587 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
20589 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
20590 * math/libm-test.inc (j0_test): Do not allow one spurious
20591 underflow exception.
20592 (y1_test): Likewise.
20594 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20596 * manual/Makefile (chapters): Add nptl.
20597 * manual/debug.texi (Debugging Support): Add link to Threads
20599 * manual/nptl.texi: New file.
20601 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
20603 2013-03-14 Petr Baudis <pasky@ucw.cz>
20605 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
20606 for non-NULL pointer before the memory validity test. Pointed
20607 out by Holger Brunck <holger.brunck@keymile.com>.
20609 2013-03-13 Andreas Schwab <schwab@suse.de>
20611 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
20614 2013-03-13 Joseph Myers <joseph@codesourcery.com>
20616 * timezone/zic.c: Update from tzcode 2013b.
20618 2013-03-12 Carlos O'Donell <carlos@redhat.com>
20620 * manual/install.texi (Configuring and compiling):
20621 Mention i686 and i586.
20622 * INSTALL: Regenerate.
20624 2013-03-12 Roland McGrath <roland@hack.frob.com>
20626 * sysdeps/init_array/elf-init.c: New file.
20628 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
20629 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
20631 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
20632 __gmon_start__ as global, but as static with a .preinit_array pointer.
20633 * sysdeps/init_array/gmon-start.c: New file. Use that.
20634 * sysdeps/init_array/crti.S: New file, empty except for comments.
20635 * sysdeps/init_array/crtn.S: Likewise.
20637 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
20639 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
20641 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20642 Remove Prefer_SSE_for_memop.
20643 * sysdeps/x86_64/multiarch/init-arch.h: Remove
20644 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
20645 HAS_PREFER_SSE_FOR_MEMOP.
20646 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20648 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20649 Remove bzero, memset ifunc support.
20650 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
20651 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
20652 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20653 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20655 2013-03-11 Andreas Schwab <schwab@suse.de>
20658 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
20660 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
20661 (GLIBC_2.16): Remove pthread_atfork.
20663 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
20665 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
20666 (ptestcases.h): Likewise.
20668 2013-03-08 Roland McGrath <roland@hack.frob.com>
20670 * Makeconfig ($(common-objpfx)config.status): Depend on
20671 sysdeps/*/preconfigure{,.in} too.
20673 2013-03-08 Joseph Myers <joseph@codesourcery.com>
20675 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
20676 (__free_hook): Use void * instead of __malloc_ptr_t.
20677 (__malloc_hook): Likewise.
20678 (__realloc_hook): Likewise.
20679 (__memalign_hook): Likewise.
20680 (__after_morecore_hook): Likewise.
20681 * malloc/arena.c (save_malloc_hook): Likewise.
20682 (save_free_hook): Likewise.
20683 * malloc/hooks.c (malloc_hook_ini): Likewise.
20684 (realloc_hook_ini): Likewise.
20685 (memalign_hook_ini): Likewise.
20686 * malloc/malloc.c (malloc_hook_ini): Likewise.
20687 (realloc_hook_ini): Likewise.
20688 (memalign_hook_ini): Likewise.
20689 (__free_hook): Likewise.
20690 (__malloc_hook): Likewise.
20691 (__realloc_hook): Likewise.
20692 (__memalign_hook): Likewise.
20693 (__libc_malloc): Likewise.
20694 (__libc_free): Likewise.
20695 (__libc_realloc): Likewise.
20696 (__libc_memalign): Likewise.
20697 (__libc_valloc): Likewise.
20698 (__libc_pvalloc): Likewise.
20699 (__libc_calloc): Likewise.
20700 (__posix_memalign): Likewise.
20701 * malloc/morecore.c (__sbrk): Likewise.
20702 (__default_morecore): Likewise.
20704 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
20706 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
20707 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
20708 __malloc_ptrdiff_t.
20710 * malloc/malloc.h (__malloc_size_t): Remove macro.
20711 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
20713 (old_memalign_hook): Likewise.
20714 (old_realloc_hook): Likewise.
20715 (struct hdr): Likewise.
20717 (mallochook): Likewise.
20718 (memalignhook): Likewise.
20719 (reallochook): Likewise.
20720 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
20721 (tr_old_realloc_hook): Likewise.
20722 (tr_old_memalign_hook): Likewise.
20723 (tr_mallochook): Likewise.
20724 (tr_reallochook): Likewise.
20725 (tr_memalignhook): Likewise.
20727 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20729 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
20730 default_ldbl_pack and using as default implementation.
20731 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
20733 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
20734 redundant definition.
20735 (ldbl_insert_mantissa): Likewise.
20736 (ldbl_canonicalize): Likewise.
20737 (ldbl_nearbyint): Likewise.
20738 (ldbl_pack): Rename to ldbl_pack_ppc.
20739 (ldbl_unpack): Rename to ldbl_unpack_ppc.
20740 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
20741 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
20743 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20745 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
20746 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
20747 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
20748 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
20749 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
20750 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
20751 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
20752 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
20754 2013-03-07 Andreas Jaeger <aj@suse.de>
20756 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20759 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20761 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
20762 Include mpa.h and declare __MPEXP.
20763 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
20764 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20765 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20766 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
20767 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20768 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20769 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
20771 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
20772 (__slowpow): Use long double EXPL and LOGL functions to
20774 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20775 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20776 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
20777 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20778 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20779 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
20781 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
20782 intermediate variable to calculate exponent.
20784 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20788 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
20789 [!NO__SQR]: Define __sqr.
20790 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
20791 and NO__SQR. Remove all code except __mul and __sqr. Include
20792 sysdeps/ieee754/dbl-64/mpa.c.
20793 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20796 * posix/Makefile (tests): Add tst-pathconf.
20797 * posix/tst-pathconf.c: New test case.
20798 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
20800 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
20802 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
20804 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
20806 2013-03-06 Andreas Jaeger <aj@suse.de>
20808 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
20809 definition via __MAP_ANONYMOUS.
20811 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
20812 it's not part of Linux headers.
20814 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
20815 (MAP_HUGE_MASK): Define.
20817 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20819 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20820 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20822 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20823 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20825 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20826 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20828 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20830 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20831 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
20832 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
20833 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
20834 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
20835 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
20837 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20840 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20841 Handle f2fs and efivarfs.
20843 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
20846 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
20847 (EFIVARFS_MAGIC): Add.
20848 (F2FS_LINK_MAX): Add.
20850 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20852 * stdio-common/vfprintf.c: Replace __builtin_expect with
20855 2013-03-06 Joseph Myers <joseph@codesourcery.com>
20858 * sysdeps/generic/bp-sym.h: Remove file.
20859 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
20860 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
20861 <bp-sym.h> and <bp-asm.h>.
20862 (__longjmp): Don't use BP_SYM.
20863 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
20865 (memcpy): Don't use BP_SYM.
20866 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
20867 <bp-sym.h> and <bp-asm.h>.
20868 (memcpy): Don't use BP_SYM.
20869 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
20871 (memcpy): Don't use BP_SYM.
20872 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
20874 (memset): Don't use BP_SYM.
20875 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20876 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20877 (__bzero): Don't use BP_SYM.
20878 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20879 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20880 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
20881 <bp-sym.h> and <bp-asm.h>.
20882 (memcmp): Don't use BP_SYM. Remove comment about bounded
20884 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
20885 <bp-sym.h> and <bp-asm.h>.
20886 (memcpy): Don't use BP_SYM.
20887 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
20888 <bp-sym.h> and <bp-asm.h>.
20889 (memset): Don't use BP_SYM.
20890 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20891 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20892 (__bzero): Don't use BP_SYM.
20893 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20894 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20895 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
20896 <bp-sym.h> and <bp-asm.h>.
20897 (strncmp): Don't use BP_SYM. Remove comment about bounded
20899 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
20900 <bp-sym.h> and <bp-asm.h>.
20901 (memcpy): Don't use BP_SYM.
20902 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
20903 <bp-sym.h> and <bp-asm.h>.
20904 (memset): Don't use BP_SYM.
20905 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20906 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20907 (__bzero): Don't use BP_SYM.
20908 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20909 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20910 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
20911 <bp-sym.h> and <bp-asm.h>.
20912 (__memchr): Don't use BP_SYM.
20913 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
20914 <bp-sym.h> and <bp-asm.h>.
20915 (memcmp): Don't use BP_SYM. Remove comment about bounded
20917 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
20918 <bp-sym.h> and <bp-asm.h>.
20919 (memcpy): Don't use BP_SYM.
20920 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
20921 <bp-sym.h> and <bp-asm.h>.
20922 (__mempcpy): Don't use BP_SYM.
20923 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
20924 <bp-sym.h> and <bp-asm.h>.
20925 (__memrchr): Don't use BP_SYM.
20926 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
20927 <bp-sym.h> and <bp-asm.h>.
20928 (memset): Don't use BP_SYM.
20929 (__bzero): Likewise.
20930 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
20931 <bp-sym.h> and <bp-asm.h>.
20932 (__rawmemchr): Don't use BP_SYM.
20933 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
20934 <bp-sym.h> and <bp-asm.h>.
20935 (__STRCMP): Don't use BP_SYM.
20936 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
20937 <bp-sym.h> and <bp-asm.h>.
20938 (strchr): Don't use BP_SYM.
20939 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
20940 <bp-sym.h> and <bp-asm.h>.
20941 (__strchrnul): Don't use BP_SYM.
20942 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
20943 <bp-sym.h> and <bp-asm.h>.
20944 (strlen): Don't use BP_SYM.
20945 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
20946 <bp-sym.h> and <bp-asm.h>.
20947 (strncmp): Don't use BP_SYM. Remove comment about bounded
20949 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
20950 <bp-sym.h> and <bp-asm.h>.
20951 (__strnlen): Don't use BP_SYM.
20952 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
20953 <bp-sym.h> and <bp-asm.h>.
20954 (__GI__setjmp): Don't use BP_SYM.
20955 (_setjmp): Likewise.
20956 (__sigsetjmp): Likewise.
20957 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
20958 (L(start_addresses)): Don't use BP_SYM.
20959 (_start): Likewise.
20960 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
20962 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
20963 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
20964 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20965 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20966 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
20968 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
20969 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
20970 about bounded pointers.
20971 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20972 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20973 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
20975 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20976 about bounded pointers. Remove GKM FIXME comments.
20977 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20978 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
20980 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
20981 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
20982 Remove GKM FIXME comments.
20983 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20984 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20985 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
20987 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20988 about bounded pointers. Remove GKM FIXME comment.
20989 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
20991 (strncmp): Don't use BP_SYM. Remove comment about bounded
20993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
20994 <bp-sym.h> and <bp-asm.h>.
20995 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
20997 <bp-sym.h> and <bp-asm.h>.
20998 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21001 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21003 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21006 2013-03-05 David S. Miller <davem@davemloft.net>
21008 * po/es.po: Update from translation team.
21010 2013-03-05 Andreas Jaeger <aj@suse.de>
21012 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21013 <bits/mman-linux.h>.
21014 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21016 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21017 <bits/mman-linux.h> to end of file.
21018 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21020 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21021 <bits/mman-linux.h> to end of file.
21022 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21024 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21025 <bits/mman-linux.h> to end of file.
21027 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21028 (MCL_CURRENT, MCL_FUTURE): Define here.
21030 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21033 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21035 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21037 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21039 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21040 fourth parameter needed for rt_sigprocmask syscall.
21041 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21042 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21043 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21044 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21045 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21046 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21048 2013-03-04 Joseph Myers <joseph@codesourcery.com>
21051 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21052 comment about bounded pointers.
21053 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21054 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21056 2013-03-04 Andreas Jaeger <aj@suse.de>
21058 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21059 common definitions.
21061 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21062 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21063 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21064 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21065 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21066 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21068 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21071 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21072 __ieee754_sqrl instead of __sqrl.
21074 2013-03-01 Joseph Myers <joseph@codesourcery.com>
21076 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21077 * sysdeps/powerpc/fpu_control.h: ... here.
21078 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21079 * sysdeps/powerpc/bits/fenvinline.h: ... here.
21080 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21081 * sysdeps/powerpc/bits/mathinline.h: ... here.
21083 2013-03-01 Roland McGrath <roland@hack.frob.com>
21085 * elf/dl-hwcaps.c (_dl_important_hwcaps):
21086 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
21087 to just [NEED_DL_SYSINFO_DSO].
21088 * elf/dl-support.c: Likewise.
21089 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21090 * elf/rtld.c (dl_main): Likewise.
21091 * elf/setup-vdso.h (setup_vdso): Likewise.
21092 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
21093 * sysdeps/unix/sysv/linux/dl-sysdep.c
21094 (_dl_discover_osversion): Likewise.
21096 2013-03-01 Carlos O'Donell <carlos@redhat.com>
21098 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
21099 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21101 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
21103 * NEWS: Mention libm performance improvements and non-x86 PI
21106 * csu/libc-start.c (__pthread_initialize_minimal): Change
21107 function arguments.
21108 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21110 2013-02-28 Joseph Myers <joseph@codesourcery.com>
21113 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
21114 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
21115 <bp-sym.h> and <bp-asm.h>.
21116 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21117 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
21119 (memcpy): Don't use BP_SYM.
21120 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
21122 (__mpn_add_n): Don't use BP_SYM.
21123 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
21124 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
21126 (__mpn_addmul_1): Don't use BP_SYM.
21127 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21128 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
21130 (_setjmp): Don't use BP_SYM.
21131 (__novmx_setjmp): Likewise.
21132 (__GI__setjmp): Likewise.
21133 (__vmx_setjmp): Likewise.
21134 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
21136 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
21137 (__bzero): Don't use BP_SYM.
21138 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21139 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21140 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
21141 <bp-sym.h> and <bp-asm.h>.
21142 (memcpy): Don't use BP_SYM.
21143 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
21144 <bp-sym.h> and <bp-asm.h>.
21145 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21146 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
21147 <bp-sym.h> and <bp-asm.h>.
21148 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21149 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
21151 (__mpn_lshift): Don't use BP_SYM.
21152 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21153 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
21155 (memset): Don't use BP_SYM.
21156 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21157 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21158 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
21160 (__mpn_mul_1): Don't use BP_SYM.
21161 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21162 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
21163 <bp-sym.h> and <bp-asm.h>.
21164 (memcmp): Don't use BP_SYM.
21165 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
21166 <bp-sym.h> and <bp-asm.h>.
21167 (memcpy): Don't use BP_SYM.
21168 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
21169 <bp-sym.h> and <bp-asm.h>.
21170 (memset): Don't use BP_SYM.
21171 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
21172 <bp-sym.h> and <bp-asm.h>.
21173 (strncmp): Don't use BP_SYM.
21174 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
21175 <bp-sym.h> and <bp-asm.h>.
21176 (memcpy): Don't use BP_SYM.
21177 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
21178 <bp-sym.h> and <bp-asm.h>.
21179 (memset): Don't use BP_SYM.
21180 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
21181 <bp-sym.h> and <bp-asm.h>.
21182 (__memchr): Don't use BP_SYM.
21183 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
21184 <bp-sym.h> and <bp-asm.h>.
21185 (memcmp): Don't use BP_SYM.
21186 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
21187 <bp-sym.h> and <bp-asm.h>.
21188 (memcpy): Don't use BP_SYM.
21189 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
21190 <bp-sym.h> and <bp-asm.h>.
21191 (__mempcpy): Don't use BP_SYM.
21192 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
21193 <bp-sym.h> and <bp-asm.h>.
21194 (__memrchr): Don't use BP_SYM.
21195 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
21196 <bp-sym.h> and <bp-asm.h>.
21197 (memset): Don't use BP_SYM.
21198 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
21199 <bp-sym.h> and <bp-asm.h>.
21200 (__rawmemchr): Don't use BP_SYM.
21201 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
21202 <bp-sym.h> and <bp-asm.h>.
21203 (__STRCMP): Don't use BP_SYM.
21204 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
21205 <bp-sym.h> and <bp-asm.h>.
21206 (strchr): Don't use BP_SYM.
21207 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
21208 <bp-sym.h> and <bp-asm.h>.
21209 (__strchrnul): Don't use BP_SYM.
21210 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
21211 <bp-sym.h> and <bp-asm.h>.
21212 (strlen): Don't use BP_SYM.
21213 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
21214 <bp-sym.h> and <bp-asm.h>.
21215 (strncmp): Don't use BP_SYM.
21216 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
21217 <bp-sym.h> and <bp-asm.h>.
21218 (__strnlen): Don't use BP_SYM.
21219 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
21221 (__mpn_rshift): Don't use BP_SYM.
21222 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21223 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
21224 <bp-sym.h> and <bp-asm.h>.
21225 (__sigsetjmp): Don't use BP_SYM.
21226 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
21227 (L(start_addresses)): Don't use BP_SYM.
21228 (_start): Likewise.
21229 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
21231 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
21232 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21233 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21234 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
21236 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
21237 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21238 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21239 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
21241 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21243 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21244 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
21246 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
21248 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21249 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21250 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
21252 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21254 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
21256 (strncmp): Don't use BP_SYM,
21257 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
21259 (__mpn_sub_n): Don't use BP_SYM.
21260 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21261 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
21263 (__mpn_submul_1): Don't use BP_SYM.
21264 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
21266 <bp-sym.h> and <bp-asm.h>.
21267 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
21269 <bp-sym.h> and <bp-asm.h>.
21270 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21273 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21275 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
21276 Use ZK to minimize writes to Z.
21277 (sub_magnitudes): Simplify code a bit.
21278 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
21279 Use ZK to minimize writes to Z.
21280 (sub_magnitudes): Simplify code a bit.
21282 2013-02-27 Roland McGrath <roland@hack.frob.com>
21284 * csu/gmon-start.c: Add special exception to license text.
21286 2013-02-27 Richard Henderson <rth@redhat.com>
21288 * scripts/config.guess: Update from config.git.
21289 * scripts/config.sub: Likewise.
21291 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21293 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
21295 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
21297 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
21299 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
21301 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
21303 2013-02-26 Roland McGrath <roland@hack.frob.com>
21305 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
21306 [$(build-shared = yes].
21308 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21310 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
21311 (__mul): Reduce iterations for calculating mantissa.
21313 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
21315 (__mpranred): Likewise.
21318 * malloc/memusagestat.c (main): Draw graphs for heap and stack
21319 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
21321 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
21323 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
21324 Define __attribute__.
21326 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21328 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
21330 * posix/regex_internal.h (__attribute): Remove.
21331 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
21332 (re_string_context_at): Likewise.
21333 (bitset_not): Use __attribute__ and mark function as possibly
21335 (bitset_merge): Likewise.
21336 (bitset_mask): Likewise.
21337 (re_string_char_size_at): Likewise.
21338 (re_string_wchar_at): Likewise.
21339 (re_string_elem_size_at): Likewise.
21341 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21343 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
21347 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
21351 (denorm): Likewise.
21352 (__dbl_mp): Likewise.
21353 (add_magnitudes): Likewise.
21354 (sub_magnitudes): Likewise.
21358 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
21361 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
21364 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
21367 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
21368 up changes with default code.
21369 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
21372 2013-02-24 Allan McRae <allan@archlinux.org>
21374 * manual/socket.texi (The Internet Namespace): Order menu items
21375 to match that in the file.
21377 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
21378 node listing of the info page menu.
21380 2013-02-21 Joseph Myers <joseph@codesourcery.com>
21383 * sysdeps/i386/bp-asm.h: Remove file.
21384 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21385 (PARMS): Do not use macros from bp-asm.h.
21389 (__mpn_add_n): Do not use BP_SYM
21390 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
21392 (PARMS): Do not use macros from bp-asm.h.
21395 (__mpn_addmul_1): Do not use BP_SYM
21396 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
21398 (PARMS): Do not use macros from bp-asm.h.
21399 (SIGMSK): Likewise.
21400 (_setjmp): Likewise. Do not use BP_SYM.
21401 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
21403 (PARMS): Do not use macros from bp-asm.h.
21404 (SIGMSK): Likewise.
21405 (setjmp): Likewise. Do not use BP_SYM.
21406 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
21408 (PARMS): Do not use macros from bp-asm.h.
21409 (__frexp): Do not use BP_SYM.
21411 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
21413 (PARMS): Do not use macros from bp-asm.h.
21414 (__frexpf): Do not use BP_SYM.
21415 (frexpf): Likewise.
21416 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
21418 (PARMS): Do not use macros from bp-asm.h.
21419 (__frexpl): Do not use BP_SYM.
21420 (frexpl): Likewise.
21421 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
21423 (PARMS): Do not use macros from bp-asm.h.
21424 (__remquo): Do not use BP_SYM.
21425 (remquo): Likewise.
21426 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
21428 (PARMS): Do not use macros from bp-asm.h.
21429 (__remquof): Do not use BP_SYM.
21430 (remquof): Likewise.
21431 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
21433 (PARMS): Do not use macros from bp-asm.h.
21434 (__remquol): Do not use BP_SYM.
21435 (remquol): Likewise.
21436 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
21438 (PARMS): Do not use macros from bp-asm.h.
21441 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
21442 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
21444 (PARMS): Do not use macros from bp-asm.h.
21445 (strlen): Do not use BP_SYM.
21446 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
21448 (PARMS): Do not use macros from bp-asm.h.
21452 (__mpn_add_n): Do not use BP_SYM.
21453 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
21455 (PARMS): Do not use macros from bp-asm.h.
21458 (__mpn_addmul_1): Do not use BP_SYM.
21459 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
21462 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
21464 (PARMS): Do not use macros from bp-asm.h.
21467 (__mpn_lshift): Do not use BP_SYM.
21468 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
21470 (PARMS): Do not use macros from bp-asm.h.
21474 (memcpy): Likewise. Do not use BP_SYM.
21475 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
21476 libc_hidden_def and weak_alias.
21477 (mempcpy): Do not use BP_SYM in weak_alias.
21478 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
21480 (PARMS): Do not use macros from bp-asm.h.
21483 [!BZERO_P] (CHR): Likewise.
21484 (memset): Likewise. Do not use BP_SYM.
21485 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
21487 (PARMS): Do not use macros from bp-asm.h.
21490 (__mpn_mul_1): Do not use BP_SYM.
21491 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
21493 (PARMS): Do not use macros from bp-asm.h.
21496 (__mpn_rshift): Do not use BP_SYM.
21497 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
21499 (PARMS): Do not use macros from bp-asm.h.
21502 (strchr): Likewise. Do not use BP_SYM.
21503 (index): Do not use BP_SYM in weak_alias.
21504 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
21506 (PARMS): Do not use macros from bp-asm.h.
21509 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
21510 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
21512 (PARMS): Do not use macros from bp-asm.h.
21513 (strlen): Do not use BP_SYM.
21514 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
21516 (PARMS): Do not use macros from bp-asm.h.
21520 (__mpn_sub_n): Do not use BP_SYM.
21521 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
21523 (PARMS): Do not use macros from bp-asm.h.
21526 (__mpn_submul_1): Do not use BP_SYM.
21527 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
21529 (PARMS): Do not use macros from bp-asm.h.
21533 (__mpn_add_n): Do not use BP_SYM.
21534 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
21537 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
21539 (PARMS): Do not use macros from bp-asm.h.
21542 (memcmp): Do not use BP_SYM.
21543 (bcmp): Do not use BP_SYM in weak_alias.
21544 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
21546 (PARMS): Do not use macros from bp-asm.h.
21550 (memcpy): Likewise. Do not use BP_SYM.
21551 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
21553 (PARMS): Do not use macros from bp-asm.h.
21557 (memmove): Likewise. Do not use BP_SYM.
21558 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
21560 (PARMS): Do not use macros from bp-asm.h.
21564 (__mempcpy): Likewise. Do not use BP_SYM.
21565 (mempcpy): Do not use BP_SYM in weak_alias.
21566 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
21568 (PARMS): Do not use macros from bp-asm.h.
21571 [!BZERO_P] (CHR): Likewise.
21572 (memset): Likewise. Do not use BP_SYM.
21573 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
21575 (PARMS): Do not use macros from bp-asm.h.
21577 (strcmp): Do not use BP_SYM.
21578 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
21580 (PARMS): Do not use macros from bp-asm.h.
21583 [USE_AS_STRTOK_R] (SAVE): Likewise.
21584 (FUNCTION): Likewise. Do not use BP_SYM.
21585 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
21587 (strtok_r): Likewise.
21588 (__GI___strtok_r): Likewise.
21589 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21590 (PARMS): Do not use macros from bp-asm.h.
21593 (__mpn_lshift): Do not use BP_SYM.
21594 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21595 (PARMS): Do not use macros from bp-asm.h.
21598 (__memchr): Do not use BP_SYM.
21599 (memchr): Do not use BP_SYM in weak_alias.
21600 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21601 (PARMS): Do not use macros from bp-asm.h.
21604 (memcmp): Do not use BP_SYM.
21605 (bcmp): Do not use BP_SYM in weak_alias.
21606 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
21607 (PARMS): Do not use macros from bp-asm.h.
21610 (__mpn_mul_1): Do not use BP_SYM.
21611 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
21613 (PARMS): Do not use macros from bp-asm.h.
21616 (__rawmemchr): Do not use BP_SYM.
21617 (rawmemchr): Do not use BP_SYM in weak_alias.
21618 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21619 (PARMS): Do not use macros from bp-asm.h.
21622 (__mpn_rshift): Do not use BP_SYM.
21623 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21624 (PARMS): Do not use macros from bp-asm.h.
21625 (SIGMSK): Likewise.
21626 (__sigsetjmp): Likewise. Do not use BP_SYM.
21627 * sysdeps/i386/start.S: Do not include "bp-sym.h".
21628 (_start): Do not use BP_SYM.
21629 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
21630 (PARMS): Do not use macros from bp-asm.h.
21633 (__stpcpy): Likewise. Do not use BP_SYM.
21634 (stpcpy): Do not use BP_SYM in weak_alias.
21635 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
21637 (PARMS): Do not use macros from bp-asm.h.
21641 (__stpncpy): Likewise. Do not use BP_SYM.
21642 (stpncpy): Do not use BP_SYM in weak_alias.
21643 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21644 (PARMS): Do not use macros from bp-asm.h.
21647 (strchr): Likewise. Do not use BP_SYM.
21648 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
21650 (PARMS): Do not use macros from bp-asm.h.
21653 (__strchrnul): Likewise. Do not use BP_SYM.
21654 (strchrnul): Do not use BP_SYM in weak_alias.
21655 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
21657 (PARMS): Do not use macros from bp-asm.h.
21659 (strcspn): Do not use BP_SYM.
21660 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
21662 (PARMS): Do not use macros from bp-asm.h.
21665 (strpbrk): Likewise. Do not use BP_SYM.
21666 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
21668 (PARMS): Do not use macros from bp-asm.h.
21671 (strrchr): Likewise. Do not use BP_SYM.
21672 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
21673 (PARMS): Do not use macros from bp-asm.h.
21675 (strspn): Do not use BP_SYM.
21676 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
21677 (PARMS): Do not use macros from bp-asm.h.
21681 (FUNCTION): Likewise. Do not use BP_SYM.
21682 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
21684 (strtok_r): Likewise.
21685 (__GI___strtok_r): Likewise.
21686 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21687 (PARMS): Do not use macros from bp-asm.h.
21691 (__mpn_sub_n): Do not use BP_SYM.
21692 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
21694 (PARMS): Do not use macros from bp-asm.h.
21697 (__mpn_submul_1): Do not use BP_SYM.
21698 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
21700 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
21702 (PARMS): Do not use macros from bp-asm.h.
21707 (__clone): Do not use BP_SYM.
21708 (clone): Do not use BP_SYM in weak_alias.
21709 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
21711 (PARMS): Do not use macros from bp-asm.h.
21713 (__mmap64): Do not use BP_SYM.
21714 (mmap64): Do not use BP_SYM in weak_alias.
21715 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21716 <bp-sym.h> and <bp-asm.h>.
21717 (PARMS): Do not use macros from bp-asm.h.
21718 (__posix_fadvise64_l64): Do not use BP_SYM.
21719 * sysdeps/unix/sysv/linux/i386/semtimedop.S
21720 (PARMS): Do not use macros from bp-asm.h.
21722 (semtimedop): Do not use BP_SYM.
21723 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
21726 2013-02-21 Allan McRae <allan@archlinux.org>
21728 * manual/message.texi (Charset conversion in gettext):
21729 Move @end statement to beginning of line.
21731 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21733 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
21735 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21738 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
21739 (denorm): Likewise.
21740 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
21741 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
21743 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21745 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
21746 tail-call to the resolved function if pltexit isn't needed.
21748 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21750 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
21751 or Y being zero as being unlikely.
21752 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21755 2013-02-20 Carlos O'Donell <carlos@redhat.com>
21757 * manual/nss.texi (System Databases and Name Service Switch):
21758 Remove frobnicate @pxref.
21760 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21762 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21763 __attribute__ ((unused)) to __attribute__ ((__unused__)).
21765 2013-02-20 Petr Machata <pmachata@redhat.com>
21767 * elf/elf.h (R_ARM_TARGET1): New macro.
21768 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
21769 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
21770 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
21771 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
21772 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
21773 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
21774 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
21775 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
21776 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
21777 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
21778 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
21779 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
21780 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
21781 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
21782 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
21783 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
21784 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
21785 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
21786 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
21787 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
21788 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
21789 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
21790 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
21791 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
21792 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
21793 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
21794 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
21795 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
21796 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
21797 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
21798 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
21799 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
21800 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
21801 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
21802 (R_ARM_THM_GOT_BREL12): Likewise.
21803 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
21804 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
21805 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
21806 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
21807 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
21808 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
21809 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
21810 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
21811 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
21813 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21815 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21816 __attribute_used__ to __attribute__ ((unused)).
21818 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21820 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
21822 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
21823 comment formatting.
21824 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
21826 2013-02-19 Joseph Myers <joseph@codesourcery.com>
21829 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
21831 (ENTER): Remove both macro definitions.
21833 (CHECK_BOUNDS_LOW): Likewise.
21834 (CHECK_BOUNDS_HIGH): Likewise.
21835 (CHECK_BOUNDS_BOTH): Likewise.
21836 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
21837 (RETURN_BOUNDED_POINTER): Likewise.
21838 (RETURN_NULL_BOUNDED_POINTER): Likewise.
21839 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
21840 (POP_ERRNO_LOCATION_RETURN): Likewise.
21841 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
21842 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21843 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
21845 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21846 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
21847 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
21848 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
21849 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
21850 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
21851 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
21852 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
21853 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
21854 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
21855 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
21856 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
21857 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21858 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
21860 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21861 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
21863 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21864 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
21865 * sysdeps/i386/i586/memset.S (memset): Likewise.
21866 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
21867 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21868 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
21870 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21871 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
21872 Change uses of L(2) to L(out).
21873 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
21874 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
21875 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
21876 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21877 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
21879 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21880 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
21882 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21883 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
21884 (RETURN): Do not use macro LEAVE.
21885 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
21886 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
21887 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
21888 * sysdeps/i386/i686/memset.S (memset): Likewise.
21889 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
21890 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
21891 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21892 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
21894 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21895 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
21896 L(1_2) and L(1_3) into L(1).
21897 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21898 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
21899 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21900 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
21901 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21902 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
21903 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
21904 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21905 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
21907 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
21908 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21909 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
21910 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
21911 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
21912 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21913 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
21914 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
21915 * sysdeps/i386/strcspn.S (strcspn): Likewise.
21916 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
21917 * sysdeps/i386/strrchr.S (strrchr): Likewise.
21918 * sysdeps/i386/strspn.S (strspn): Likewise.
21919 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
21921 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21922 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
21923 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21924 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
21925 L(1_3) into L(1_1).
21926 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
21927 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21928 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
21930 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21932 2013-02-19 Jakub Jelinek <jakub@redhat.com>
21934 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
21937 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21939 * math/atest-exp.c (exp_mpn): Remove ROUND.
21940 * math/atest-exp2.c (exp_mpn): Likewise.
21941 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
21943 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
21944 * stdlib/tst-tls-atexit-lib.c: Likewise.
21945 * stdlib/tst-tls-atexit.c: Likewise.
21947 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21949 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
21950 and __attribute_alloc_size__.
21952 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21954 * include/programs/xmalloc.h: Change __attribute_alloc_size to
21955 __attribute_alloc_size__.
21956 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21957 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
21959 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21961 * include/programs/xmalloc.h: New file.
21962 * catgets/gencat.c: Include it.
21963 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
21964 * elf/pldd.c: Likewise.
21965 * iconv/iconv_charmap.c: Likewise.
21966 * iconv/iconvconfig.c: Likewise.
21967 * iconv/strtab.c: Likewise.
21968 * locale/programs/locale.c: Likewise.
21969 * locale/programs/localedef.h: Likewise.
21970 * locale/programs/simple-hash.c: Likewise.
21971 * nscd/nscd.h: Likewise.
21972 * nss/makedb.c: Likewise.
21973 * sysdeps/generic/ldconfig.h: Likewise.
21975 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21977 * Versions.def: Add GLIBC_2.18.
21978 * include/link.h (struct link_map): New member l_tls_dtor_count.
21979 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
21980 (__call_tls_dtors): Likewise.
21981 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
21982 __cxa_thread_atexit_impl.
21983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21989 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21991 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21992 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
21994 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
21996 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21997 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21999 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22000 (tests): Add test case tst-tls-atexit.
22001 (modules-names): Add shared library for tst-tls-atexit.
22002 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
22003 (GLIBC_PRIVATE): Add __call_tls_dtors.
22004 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22006 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22007 * stdlib/tst-tls-atexit.c: New test case.
22008 * stdlib/tst-tls-atexit-lib.c: New test case.
22010 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
22012 * elf/Versions (ld): Add _dl_find_dso_for_object.
22013 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22014 * elf/dl-open.c (_dl_find_dso_for_object): New function.
22015 (dl_open_worker): Use _dl_find_dso_for_object.
22016 * elf/dl-sym.c (do_sym): Likewise.
22017 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22019 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22021 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22022 Syntactic changes only.
22023 (_dl_runtime_profile): Do a tail-call to the resolved function.
22025 2013-02-17 Joseph Myers <joseph@codesourcery.com>
22028 * sysdeps/x86_64/bp-asm.h: Remove file.
22029 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22030 <bp-sym.h> and <bp-asm.h>.
22031 (__clone): Do not use BP_SYM.
22032 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22033 <bp-sym.h> and <bp-asm.h>.
22034 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22035 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22037 (_setjmp): Do not use BP_SYM.
22038 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22040 (setjmp): Do not use BP_SYM.
22041 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22043 (mempcpy): Do not use BP_SYM in weak_alias.
22044 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22046 (strchr): Do not use BP_SYM.
22047 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22049 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22050 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22051 (_start): Do not use BP_SYM.
22052 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22054 (strcat): Do not use BP_SYM.
22055 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22057 (STRCMP): Do not use BP_SYM.
22058 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22060 (STRCPY): Do not use BP_SYM.
22061 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22063 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22065 (FUNCTION): Do not use BP_SYM.
22066 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22068 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22070 2013-02-17 Andreas Jaeger <aj@suse.de>
22072 * time/Versions: Sort entries.
22073 * string/Versions: Likewise.
22074 * resolv/Versions: Likewise.
22075 * posix/Versions: Likewise.
22076 * iconv/Versions: Likewise.
22077 * elf/Versions: Likewise.
22078 * wcsmbs/Versions: Likewise.
22080 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22082 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22083 loop termination condition.
22085 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
22086 variable to calculate EZ.
22089 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
22090 the lower precision input.
22092 2013-02-15 Joseph Myers <joseph@codesourcery.com>
22095 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
22096 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
22097 (run-via-rtld-prefix): Do not handle %-bp tests.
22098 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
22099 (all-object-suffixes): Remove .ob.
22100 (bppfx): Remove variable.
22101 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
22102 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
22103 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
22104 [$(build-bounded) = yes] (libtype.ob): Likewise.
22105 * Makerules (elide-routines.ob): Remove variable.
22106 (do-tests-clean): Do not handle *-bp.out.
22107 (common-mostlyclean): Do not handle *-bp and *-bp.out.
22108 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
22109 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
22110 (tests): Do not include $(tests-bp.out).
22111 (xtests): Do not include $(xtests-bp.out).
22112 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
22113 [$(build-bounded) = yes] ($(addprefix
22114 $(objpfx),$(binaries-bounded))): Remove rule.
22115 ($(objpfx)%-bp.out): Remove rule.
22116 * config.make.in (build-bounded): Remove variable.
22117 * crypt/Makefile [$(build-bounded) = yes]
22118 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
22119 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
22120 append to variable.
22121 [$(build-bounded) = yes] (install-lib): Likewise.
22122 [$(build-bounded) = yes] (generated): Likewise.
22123 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
22125 * intl/Makefile [$(build-bounded) = yes]
22126 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
22127 * math/Makefile [$(build-bounded) = yes]
22128 ($(tests:%=$(objpfx)%-bp): Likewise.
22129 * misc/Makefile [$(build-bounded) = yes]
22130 ($(objpfx)tst-tsearch-bp): Likewise.
22131 * nptl/Makeconfig (bounded-thread-library): Remove variable.
22132 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
22134 * string/Makefile (o-objects.ob): Remove variable.
22135 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
22136 (CFLAGS-.ob): Remove variable.
22137 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
22138 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
22139 both definitions of variable.
22140 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
22141 (ASFLAGS-.ob): Remove variable.
22143 2013-02-14 Joseph Myers <joseph@codesourcery.com>
22146 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
22147 Remove __BOUNDED_POINTERS__ from condition.
22148 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
22149 * string/bits/string2.h [!__NO_STRING_INLINES &&
22150 !__BOUNDED_POINTERS__]: Likewise.
22151 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
22153 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
22154 Remove conditional code.
22155 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
22156 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
22157 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
22161 * csu/libc-start.c: Do not include <bp-sym.h>.
22162 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
22163 * elf/dl-open.c: Do not include <bp-sym.h>.
22164 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
22165 * math/fegetenv.c: Do not include <bp-sym.h>.
22166 (fegetenv): Do not use BP_SYM in versioned symbols.
22167 * nptl/sysdeps/pthread/bits/libc-lockP.h
22168 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
22170 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22171 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
22172 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22173 (__pthread_mutex_destroy): Likewise.
22174 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22175 (__pthread_mutex_lock): Likewise.
22176 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22177 (__pthread_mutex_trylock): Likewise.
22178 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22179 (__pthread_mutex_unlock): Likewise.
22180 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22181 (__pthread_mutexattr_init): Likewise.
22182 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22183 (__pthread_mutexattr_destroy): Likewise.
22184 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22185 (__pthread_mutexattr_settype): Likewise.
22186 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22187 (__pthread_rwlock_init): Likewise.
22188 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22189 (__pthread_rwlock_destroy): Likewise.
22190 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22191 (__pthread_rwlock_rdlock): Likewise.
22192 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22193 (__pthread_rwlock_tryrdlock): Likewise.
22194 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22195 (__pthread_rwlock_wrlock): Likewise.
22196 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22197 (__pthread_rwlock_trywrlock): Likewise.
22198 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22199 (__pthread_rwlock_unlock): Likewise.
22200 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22201 (__pthread_key_create): Likewise.
22202 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22203 (__pthread_setspecific): Likewise.
22204 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22205 (__pthread_getspecific): Likewise.
22206 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
22208 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22209 (_pthread_cleanup_push_defer): Likewise.
22210 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22211 (_pthread_cleanup_pop_restore): Likewise.
22212 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22213 (pthread_setcancelstate): Likewise.
22214 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
22216 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
22217 (memchr): Do not use BP_SYM in weak_alias.
22218 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
22219 (fegetenv): Do not use BP_SYM in versioned symbols.
22220 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
22221 (fesetenv): Do not use BP_SYM in versioned symbols.
22222 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22223 (feupdateenv): Do not use BP_SYM in versioned symbols.
22224 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22225 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22226 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
22227 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
22228 (open64): Do not use BP_SYM in weak_alias.
22229 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
22230 (fegetenv): Do not use BP_SYM in versioned symbols.
22231 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
22232 (fesetenv): Do not use BP_SYM in versioned symbols.
22233 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22234 (feupdateenv): Do not use BP_SYM in versioned symbols.
22235 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
22236 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
22237 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
22238 (feraiseexcept): Do not use BP_SYM in versioned symbols.
22239 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22240 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22241 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
22243 (__libc_start_main): Do not use BP_SYM.
22245 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22247 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
22248 redundant return line.
22250 (denorm): Likewise.
22251 (dbl_mp): Likewise.
22252 (sub_magnitudes): Likewise.
22258 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
22260 (denorm): Likewise.
22261 (dbl_mp): Likewise.
22262 (sub_magnitudes): Likewise.
22269 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
22271 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22272 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
22275 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
22276 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
22277 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
22278 of __mul for squares.
22279 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
22281 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
22283 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
22284 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22286 2013-02-13 Joseph Myers <joseph@codesourcery.com>
22289 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
22291 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
22292 prototype or function definition. Rename ubp_* variables and
22293 parameters. Remove argv definitions conditional on
22294 [__BOUNDED_POINTERS__].
22295 * debug/backtrace.c (__backtrace): Do not use __unbounded.
22296 * elf/dl-runtime.c (_dl_fixup): Likewise.
22297 * include/set-hooks.h (RUN_HOOK): Likewise.
22298 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
22300 * string/strcpy.c (strcpy): Do not use __unbounded.
22301 * sysdeps/generic/frame.h (struct layout): Likewise.
22302 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
22303 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
22304 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
22305 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
22306 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
22307 (__backtrace): Likewise.
22308 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
22310 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22311 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22312 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22314 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
22315 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
22316 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22317 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22318 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
22319 Do not use __unbounded.
22320 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
22321 Rename __unboundedrlimits parameter to rlimits in prototype.
22322 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
22323 Do not use __unbounded.
22324 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
22325 not use __ptrvalue.
22326 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22327 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
22328 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22329 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
22330 __ptrvalue or __unbounded.
22331 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
22332 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
22334 (__new_msgctl): Do not use __ptrvalue.
22335 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
22337 (__libc_msgrcv): Do not use __ptrvalue.
22338 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
22339 startup_info): Do not use __unbounded.
22340 (__libc_start_main): Likewise. Rename ubp_* variables and
22341 parameters. Remove argv definitions conditional on
22342 [__BOUNDED_POINTERS__].
22343 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
22345 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
22347 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
22349 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
22351 (__new_shmctl): Do not use __ptrvalue.
22352 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22353 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22355 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22356 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
22357 (__libc_sigaction): Likewise.
22358 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
22359 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
22361 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22363 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
22365 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
22367 * string/mempcpy.c: Implement by calling memcpy.
22369 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22371 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
22373 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
22376 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
22377 values in the mantissa.
22379 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
22380 minimize writes to Z.
22381 (sub_magnitudes): Simplify code a bit.
22383 2013-02-12 Roland McGrath <roland@hack.frob.com>
22385 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
22386 from the message. The linker prefixes all warnings with that already.
22388 2013-02-12 Andreas Schwab <schwab@suse.de>
22391 * posix/regexec.c (extend_buffers): Add parameter min_len.
22392 (check_matching): Pass minimum needed length.
22393 (clean_state_log_if_needed): Likewise.
22394 (get_subexp): Likewise.
22395 * posix/Makefile (tests): Add bug-regex34.
22396 (bug-regex34-ENV): Define.
22397 * posix/bug-regex34.c: New file.
22400 * posix/regcomp.c (parse_bracket_exp): When looking up collating
22401 elements compare against the byte sequence of it, not its name.
22402 * posix/Makefile (tests): Add bug-regex35.
22403 (bug-regex35-ENV): Define.
22404 * posix/bug-regex35.c: New file.
22406 2013-02-11 Tom de Vries <tom@codesourcery.com>
22408 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
22410 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
22411 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
22412 (CHECK_EOL): Add undef.
22414 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
22416 * bits/stdlib-bsearch.h: New file.
22417 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
22418 * stdlib/stdlib.h: Likewise.
22420 2013-02-11 Roland McGrath <roland@hack.frob.com>
22422 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
22423 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
22425 * manual/search.texi (Array Search Function): Add missing const in
22427 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
22428 declaration to use rlim_t.
22429 (Basic Scheduling Functions): Remove erroneous const from
22430 sched_getparam prototype. Remove erroneous * from
22431 sched_get_priority_max and sched_get_priority_min prototypes.
22432 (Resource Usage): Fix summary @comment on vtimes to refer to
22433 sys/vtimes.h rather than vtimes.h.
22434 Add missing *s in vtimes prototype.
22435 (Limits on Resources): Fix ulimit prototype to return long int.
22436 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
22437 prototypes to use long int rather than double.
22438 (BSD Random): Fix initstate and setstate to use char *, not void *.
22439 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
22440 prototype to make second argument 'struct aiocb64 *const[]'.
22441 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
22442 (Status of AIO Operations): Remove erroneous const in aio_return and
22443 aio_return64 prototypes.
22444 (Synchronizing I/O): Fix sync prototype to return void.
22445 * manual/startup.texi (Suboptions): Remove an erroneous const in
22446 getsubopt prototype.
22447 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
22448 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
22449 use size_t rather than int.
22450 (Scanning All Users): Likewise for getpwent_r.
22451 (Setting Groups): Add missing const to setgroups prototype.
22452 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
22453 * manual/socket.texi (Host Names): Fix gethostbyaddr and
22454 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
22455 'const void *' rather than 'const char *'.
22456 (Host Address Functions): Likewise for inet_ntop.
22457 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
22458 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
22459 ssize_t for return value.
22460 (Sending Data): Likewise for send, sendto, sendmsg.
22461 (Socket Option Functions): Add a missing const in setsockopt prototype.
22462 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
22463 use wchar_t for the argument.
22464 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
22465 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
22467 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
22468 double/float/long double for second argument.
22469 Fix return types of significand, significandf, significandl.
22470 * manual/filesys.texi (Setting Permissions): Use mode_t for second
22471 argument in fchmod prototype.
22472 (File Owner): Use uid_t and gid_t in fchown prototype.
22473 (File Times): Add const to utimes, futimes, and lutimes prototypes.
22474 (Making Special Files): Use mode_t and dev_t in mknod prototype.
22475 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
22476 use 'const struct dirent **' as argument types to CMP function pointer
22478 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
22479 (File Times): Fix summary magic @comment for struct utimbuf and utime
22480 to refer to utime.h, not time.h.
22481 * manual/string.texi (Argz Functions): Add missing const in
22482 argz_extract and argz_next prototypes.
22483 (Finding Tokens in a String): Likewise for basename.
22484 (String/Array Comparison): Fix typo in wcscasecmp prototype.
22485 (Copying and Concatenation): Fix typo in wmemmove prototype.
22486 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
22487 (Signal Stack): Remove erroneous const in sigstack prototype.
22488 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
22490 (Simple Calendar Time): Likewise for stime.
22491 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
22493 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
22494 say sys/sysctl.h instead.
22495 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
22496 and vsyslog prototypes.
22498 2013-02-11 Tom de Vries <tom@codesourcery.com>
22500 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
22503 2013-02-11 Roland McGrath <roland@hack.frob.com>
22505 * misc/sys/mman.h: Fix typo in mremap comment.
22507 2013-02-08 Roland McGrath <roland@hack.frob.com>
22509 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
22510 the '\0' terminator.
22512 2013-02-08 Joseph Myers <joseph@codesourcery.com>
22515 * debug/segfault.c: Don't include <bp-checks.h>.
22516 * sysdeps/generic/bp-checks.h: Remove file.
22517 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
22518 (__GETDENTS): Don't use CHECK_N.
22519 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
22520 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22521 (__getgroups): Don't use CHECK_N.
22522 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
22523 (setgroups): Don't use CHECK_N.
22524 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
22525 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
22526 (__libc_msgrcv): Don't use CHECK_N.
22527 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
22528 (__libc_msgsnd): Don't use CHECK_N.
22529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
22531 (__libc_pread): Don't use CHECK_N.
22532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
22533 include <bp-checks.h>.
22534 (__libc_pread64): Don't use CHECK_N.
22535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
22536 include <bp-checks.h>.
22537 (__libc_pwrite): Don't use CHECK_N.
22538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
22539 include <bp-checks.h>.
22540 (__libc_pwrite64): Don't use CHECK_N.
22541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
22543 (__libc_pread): Don't use CHECK_N.
22544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
22545 include <bp-checks.h>.
22546 (__libc_pread64): Don't use CHECK_N.
22547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
22548 include <bp-checks.h>.
22549 (__libc_pwrite): Don't use CHECK_N.
22550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
22551 include <bp-checks.h>.
22552 (__libc_pwrite64): Don't use CHECK_N.
22553 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
22554 (do_pread): Don't use CHECK_N.
22555 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
22556 (do_pread64): Don't use CHECK_N.
22557 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
22558 (do_pwrite): Don't use CHECK_N.
22559 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
22560 (do_pwrite64): Don't use CHECK_N.
22561 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
22562 (__libc_readv): Don't use CHECK_N.
22563 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
22564 (semop): Don't use CHECK_N.
22565 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
22567 (semtimedop): Don't use CHECK_N.
22568 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
22569 (__libc_pread): Don't use CHECK_N.
22570 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
22572 (__libc_pread64): Don't use CHECK_N.
22573 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
22575 (__libc_pwrite): Don't use CHECK_N.
22576 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
22578 (__libc_pwrite64): Don't use CHECK_N.
22579 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
22581 (__libc_msgrcv): Don't use CHECK_N.
22582 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
22583 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
22584 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
22585 (__libc_writev): Don't use CHECK_N.
22587 2013-02-08 Roland McGrath <roland@hack.frob.com>
22589 * string/strcpy.c: Removed unused variable.
22591 * Makeconfig (+sysdep-includes): Define with := rather than =.
22592 Use an existing include/ subdir of each sysdeps dir before it.
22594 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22596 * nscd/connection.c (register_traced_file): Comment function.
22597 [HAVE_INOTIFY] (union __inev): Define.
22598 [HAVE_INOTIFY] (inotify_check_files): New function.
22599 [HAVE_INOTIFY] (clear_db_cache): Likewise.
22600 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
22602 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
22604 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22606 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
22607 loaded if not already and that a failure is permanent.
22609 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22612 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
22613 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
22615 2013-02-08 Joseph Myers <joseph@codesourcery.com>
22618 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
22619 (CHECK_1_NULL_OK): Likewise.
22620 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
22621 (__fxstat): Do not use CHECK_1.
22622 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
22624 (___fxstat64): Do not use CHECK_1.
22625 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
22627 (__fxstatat): Do not use CHECK_1.
22628 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
22630 (__fxstatat64): Do not use CHECK_1.
22631 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
22633 (__fxstat): Do not use CHECK_1.
22634 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
22636 (__fxstatat): Do not use CHECK_1.
22637 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22639 (__getresgid): Do not use CHECK_1.
22640 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22642 (__getresuid): Do not use CHECK_1.
22643 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
22645 (__lxstat): Do not use CHECK_1.
22646 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22648 (__old_msgctl): Do not use CHECK_1.
22649 (__new_msgctl): Likewise.
22650 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
22652 (__new_setrlimit): Do not use CHECK_1.
22653 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22655 (__old_shmctl): Do not use CHECK_1.
22656 (__new_shmctl): Likewise.
22657 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
22659 (__xstat): Do not use CHECK_1.
22660 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
22661 (__lxstat): Do not use CHECK_1.
22662 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
22664 (___lxstat64): Do not use CHECK_1.
22665 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
22666 (__old_msgctl): Do not use CHECK_1.
22667 (__new_msgctl): Likewise.
22668 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
22670 (__gettimeofday): Do not use CHECK_1.
22671 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
22672 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
22673 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
22675 (__gettimeofday): Do not use CHECK_1.
22676 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
22677 (__old_shmctl): Do not use CHECK_1_NULL_OK.
22678 (__new_shmctl): Do not use CHECK_1.
22679 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
22681 (do_sigtimedwait): Do not use CHECK_1.
22682 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
22684 (do_sigwaitinfo): Do not use CHECK_1.
22685 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
22687 (msgctl): Do not use CHECK_1.
22688 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
22690 (shmctl): Do not use CHECK_1.
22691 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
22692 (ustat): Do not use CHECK_1.
22693 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
22695 (__fxstat): Do not use CHECK_1.
22696 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
22698 (__fxstatat): Do not use CHECK_1.
22699 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
22701 (__lxstat): Do not use CHECK_1.
22702 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
22704 (__xstat): Do not use CHECK_1.
22705 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
22706 (__xstat): Do not use CHECK_1.
22707 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
22708 (___xstat64): Do not use CHECK_1.
22711 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
22713 (CHECK_BOUNDS_HIGH): Likewise.
22714 * string/strcpy.c: Do not include <bp-checks.h>.
22715 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
22717 2013-02-07 Roland McGrath <roland@hack.frob.com>
22719 * nscd/nscd-client.h (__nscd_drop_map_ref):
22720 Add __attribute__ ((unused)).
22721 * nis/nss-nisplus.h (niserr2nss): Likewise.
22723 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
22724 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
22726 * csu/libc-tls.c (init_static_tls, init_slotinfo):
22727 Remove inline keyword.
22728 * include/rounding-mode.h (round_away): Likewise.
22729 * libio/wfileops.c (adjust_wide_data): Likewise.
22730 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
22731 (__m128i_strloadu_tolower): Likewise.
22732 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
22733 (__m128i_strloadu_tolower): Likewise.
22734 * time/mktime.c (ydhms_diff): Likewise.
22735 * locale/elem-hash.h (elem_hash): Likewise.
22736 * locale/setlocale.c (setdata): Likewise.
22737 * posix/regex_internal.h (re_string_char_size_at): Likewise.
22738 (re_string_wchar_at): Likewise.
22739 (bitset_not, bitset_merge, bitset_mask): Likewise.
22740 [!(__GNUC__ > 3)] (inline): Remove macro.
22741 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
22742 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
22743 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
22744 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22745 * string/memcmp.c (memcmp_bytes): Likewise.
22746 * locale/programs/locarchive.c (compute_hashval): Likewise.
22747 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
22748 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
22749 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
22750 * nss/getent.c (print_rpc, print_protocols): Likewise.
22751 (print_passwd, print_group, print_aliases): Likewise.
22752 * nis/nss-nisplus.h (niserr2nss): Likewise.
22753 * nscd/connections.c (restart_p): Likewise.
22754 Change return type to bool.
22756 2013-02-05 Roland McGrath <roland@hack.frob.com>
22758 * Makeconfig (all-Depend-files): Add existing
22759 $(sorted-subdirs:=/Depend) files.
22760 (all-subdirs): Remove nss.
22761 * sysdeps/unix/inet/Subdirs: Add it here instead.
22762 * hesiod/Depend: New file.
22764 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
22765 instead of calling alloca.
22767 * io/lseek.c (__lseek): Rename to __libc_lseek.
22768 Define __lseek as an alias.
22770 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
22772 2013-02-04 Carlos O'Donell <carlos@redhat.com>
22774 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
22775 else clause and remove check for non-standard endianness.
22777 2013-02-04 David S. Miller <davem@davemloft.net>
22779 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22781 2013-02-04 Joseph Myers <joseph@codesourcery.com>
22784 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
22785 (__ubp_memchr): Remove prototype.
22786 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
22787 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22788 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
22789 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22790 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
22792 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
22793 (__ubp_memchr): Likewise.
22794 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
22795 (__ubp_memchr): Likewise.
22796 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
22797 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
22798 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
22799 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
22801 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22802 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
22803 (__getcwd): Do not use CHECK_STRING.
22804 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22806 (__real_chown): Do not use CHECK_STRING.
22807 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
22809 (fchownat): Do not use CHECK_STRING.
22810 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
22812 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22814 (__lchown): Do not use CHECK_STRING.
22815 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22816 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22817 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22818 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22820 include <bp-checks.h>.
22821 (truncate64): Do not use CHECK_STRING.
22822 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22824 (__real_chown): Do not use CHECK_STRING.
22825 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22827 (__lchown): Do not use CHECK_STRING.
22828 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22830 (__chown): Do not use CHECK_STRING.
22831 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
22833 (truncate64): Do not use CHECK_STRING.
22834 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
22836 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
22837 (__xmknod): Do not use CHECK_STRING.
22838 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22840 (__xmknodat): Do not use CHECK_STRING.
22841 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22842 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22844 2013-02-04 Andreas Schwab <schwab@suse.de>
22847 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
22848 * include/netdb.h: Likewise for h_errno.
22849 * elf/tst-stackguard1.c: Include <tls.h>.
22851 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
22853 * elf/link.h (struct link_map): Extend the l_addr comment.
22854 * include/link.h (struct link_map): Likewise.
22856 2013-02-01 Joseph Myers <joseph@codesourcery.com>
22859 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
22860 (BOUNDED_1): Remove macro.
22861 * debug/backtrace.c: Don't include <bp-checks.h>.
22862 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
22863 (__backtrace): Likewise.
22864 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
22866 (__backtrace): Don't use BOUNDED_1.
22867 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
22869 (__backtrace): Don't use BOUNDED_1.
22870 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
22871 (__backtrace): Don't use BOUNDED_1.
22872 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
22873 (shmat): Don't use BOUNDED_N.
22875 2013-01-31 Joseph Myers <joseph@codesourcery.com>
22878 * sysdeps/generic/bp-start.h: Remove file.
22879 * csu/libc-start.c: Don't include <bp-start.h>.
22880 (LIBC_START_MAIN): Set up __environ directly instead of using
22881 INIT_ARGV_and_ENVIRON.
22882 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
22886 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
22888 (CHECK_FCNTL): Likewise.
22889 (CHECK_N_PAGES): Likewise.
22892 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
22894 (CHECK_SIGSET_NULL_OK): Likewise.
22895 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
22897 (sigpending): Don't use CHECK_SIGSET.
22898 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
22900 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22901 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
22903 (do_sigsuspend): Don't use CHECK_SIGSET.
22904 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
22906 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
22907 (do_sigwait): Don't use CHECK_SIGSET.
22908 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
22910 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
22911 include <bp-checks.h>.
22912 (sigpending): Don't use CHECK_SIGSET.
22913 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
22914 include <bp-checks.h>.
22915 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22916 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
22918 (sigpending): Don't use CHECK_SIGSET.
22919 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
22921 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22924 * sysdeps/generic/bp-semctl.h: Remove file.
22925 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
22926 <bp-checks.h> and <bp-semctl.h>.
22927 (__old_semctl): Don't use CHECK_SEMCTL.
22928 (__new_semctl): Likewise.
22929 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
22931 (__old_semctl): Don't use CHECK_SEMCTL.
22932 (__new_semctl): Likewise.
22933 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
22934 <bp-checks.h> and <bp-semctl.h>.
22935 (__old_semctl): Don't use CHECK_SEMCTL.
22936 (__new_semctl): Likewise.
22937 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
22938 <bp-checks.h> and <bp-semctl.h>.
22939 (semctl): Don't use CHECK_SEMCTL.
22942 * Makerules (elide-bp-thunks): Remove variable.
22943 (elide-routines.oS): Don't use $(elide-bp-thunks).
22944 (elide-routines.os): Likewise.
22945 (elide-routines.o): Likewise.
22946 (elide-routines.op): Likewise.
22947 (elide-routines.og): Likewise.
22948 (objects): Don't use $(bp-thunks).
22949 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
22951 (common-generated): Do not add s-proto-bp.d.
22952 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
22955 Do not generate makefile rules for bounded-pointer thunks.
22956 * sysdeps/generic/bp-thunks.h: Remove file.
22957 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
22958 * sysdeps/unix/s-proto-bp.S: Likewise.
22961 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
22962 parts of result separately when argument is not close to line from
22963 -i to i and one part of argument is small.
22964 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22965 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22966 * math/libm-test.inc (cacos_test): Add more tests.
22967 (casin_test): Likewise.
22968 (casinh_test): Likewise.
22969 * sysdeps/i386/fpu/libm-test-ulps: Update.
22970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22972 2013-01-31 David S. Miller <davem@davemloft.net>
22974 * po/de.po: Update from translation team.
22976 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
22978 * time/tzfile.c: Include stdint.h for SIZE_MAX.
22980 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
22982 * configure.in (_AC_PROG_CC_C89): New definition.
22983 * configure: Regenerate.
22985 * configure.in (AC_PROG_CPP): New definition.
22986 * configure: Regenerate.
22988 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22990 * debug/tst-backtrace.h: New file.
22991 * debug/tst-backtrace2.c: Include tst-backtrace.h.
22992 (ret): Remove variable.
22994 (FAIL): Remove macro.
22995 (NO_INLINE): Likewise.
22996 (fn1): Use match function instead of strstr.
22997 * debug/tst-backtrace3.c: Include tst-backtrace.h.
22998 (ret): Remove variable.
23000 (FAIL): Remove macro.
23001 (NO_INLINE): Likewise.
23002 (fn): Use match function instead of strstr.
23003 * debug/tst-backtrace4.c: Include tst-backtrace.h.
23004 (ret): Remove variable.
23006 (FAIL): Remove macro.
23007 (NO_INLINE): Likewise.
23008 (handle_signal): Use match function instead of strstr.
23009 * debug/tst-backtrace5.c: Include tst-backtrace.h.
23010 (ret): Remove variable.
23012 (FAIL): Remove macro.
23013 (NO_INLINE): Likewise.
23014 (handle_signal): Use match function instead of strstr.
23016 2013-01-23 Roland McGrath <roland@hack.frob.com>
23018 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23020 2013-01-23 David S. Miller <davem@davemloft.net>
23022 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23023 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23024 argument of CAS if possible.
23025 * sysdeps/sparc/sparc64/bits/atomic.h
23026 (__arch_compare_and_exchange_val_32_acq): Likewise.
23027 (__arch_compare_and_exchange_val_64_acq): Likewise.
23029 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
23031 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23032 * sysdeps/posix/ulimit.c: ... this.
23033 Include <limits.h>.
23034 * sysdeps/unix/bsd/ulimit.c: Remove file.
23036 2013-01-23 Adam Conrad <adconrad@0c3.net>
23038 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23039 (LDFLAGS-tst-array5): Likewise.
23041 2013-01-23 Joseph Myers <joseph@codesourcery.com>
23044 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23045 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23046 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23047 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23049 2013-01-21 David S. Miller <davem@davemloft.net>
23051 * sysdeps/sparc/backtrace.c: New file.
23052 * sysdeps/sparc/sparc32/backtrace.h: New file.
23053 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23054 * sysdeps/sparc/sparc64/backtrace.h: New file.
23055 * sysdeps/sparc/sparc64/backtrace.c: Delete.
23056 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23059 2013-01-21 Andreas Schwab <schwab@suse.de>
23062 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23065 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
23067 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23069 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23071 2013-01-18 Joseph Myers <joseph@codesourcery.com>
23072 Mark Mitchell <mark@codesourcery.com>
23073 Tom de Vries <tom@codesourcery.com>
23074 Paul Pluzhnikov <ppluzhnikov@google.com>
23076 * debug/tst-backtrace2.c: New file.
23077 * debug/tst-backtrace3.c: Likewise.
23078 * debug/tst-backtrace4.c: Likewise.
23079 * debug/tst-backtrace5.c: Likewise.
23080 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23081 (CFLAGS-tst-backtrace3.c): Likewise.
23082 (CFLAGS-tst-backtrace4.c): Likewise.
23083 (CFLAGS-tst-backtrace5.c): Likewise.
23084 (LDFLAGS-tst-backtrace2): Likewise.
23085 (LDFLAGS-tst-backtrace3): Likewise.
23086 (LDFLAGS-tst-backtrace4): Likewise.
23087 (LDFLAGS-tst-backtrace5): Likewise.
23088 (tests): Add new tests tst-backtrace2, tst-backtrace3,
23089 tst-backtrace4 and tst-backtrace5.
23091 2013-01-18 Anton Blanchard <anton@samba.org>
23092 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23094 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
23095 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
23096 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
23097 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
23098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23099 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
23100 "+r" and remove output regs list as redundant. Add explicit inline
23101 asm to specify register of return val to work around compiler codegen
23102 bug. Remove (int) cast on return value. Add return type parameter to
23103 use in macro so that this macro does not truncate return value for
23105 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
23106 pass to INTERNAL_VSYSCALL_NCS.
23107 (INLINE_VSYSCALL): Add 'long int' as return type to
23108 INTERNAL_VSYSCALL_NCS macro invocation.
23109 (INTERNAL_VSYSCALL): Add 'long int' as return type to
23110 INTERNAL_VSYSCALL_NCS macro invocation.
23111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23113 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23116 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
23117 Fix application of SIMD FP exception mask.
23119 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
23120 mp_no from a power of two.
23121 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
23122 __mpexp_twomm1. Use __pow_mp.
23124 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
23127 2013-01-17 David S. Miller <davem@davemloft.net>
23129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23131 2013-01-17 Joseph Myers <joseph@codesourcery.com>
23134 * include/complex.h: Condition contents on [!_COMPLEX_H].
23135 (__kernel_casinhf): New prototype.
23136 (__kernel_casinh): Likewise.
23137 (__kernel_casinhl): Likewise.
23138 * math/Makefile (libm_calls): Add k_casinh.
23139 * math/k_casinh.c: New file.
23140 * math/k_casinhf.c: Likewise.
23141 * math/k_casinhl.c: Likewise.
23142 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
23143 finite nonzero arguments.
23144 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
23145 finite nonzero arguments.
23146 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
23147 finite nonzero arguments.
23148 * math/s_casinh.c: Do not include <float.h>.
23149 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
23150 * math/s_casinhf.c: Do not include <float.h>.
23151 (__casinhf): Move code for finite nonzero arguments to
23153 * math/s_casinhl.c: Do not include <float.h>.
23154 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
23156 (__casinhl): Move code for finite nonzero arguments to
23158 * math/libm-test.inc (cacos_test): Add more tests.
23159 * sysdeps/i386/fpu/libm-test-ulps: Update.
23160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23162 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
23164 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
23165 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
23166 [!HAVE_MREMAP]: Remove [defined linux] case.
23167 * malloc/arena.c: Do not include <malloc-sysdep.h>.
23169 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23171 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
23173 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
23175 * elf/elf.h (R_386_SIZE32): New relocation.
23176 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
23178 (elf_machine_rela): Likewise.
23179 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23180 R_X86_64_SIZE64 and R_X86_64_SIZE32.
23182 2013-01-17 Joseph Myers <joseph@codesourcery.com>
23184 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
23185 (FP_FAST_FMA): Do not define.
23186 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
23187 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
23188 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
23189 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
23190 !_SOFT_FLOAT]: Likewise.
23191 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
23192 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
23194 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
23195 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
23196 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
23197 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
23198 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
23199 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
23202 2013-01-16 Andreas Schwab <schwab@suse.de>
23205 * include/stdlib.h (__mktemp): Add declaration.
23206 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
23207 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
23209 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23211 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
23213 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23214 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
23215 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
23217 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
23218 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
23220 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
23222 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
23223 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
23224 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
23226 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
23227 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
23229 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23231 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
23233 2013-01-15 David S. Miller <davem@davemloft.net>
23235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23236 trunc{,f} to libm-sysdep_routes.
23237 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
23240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
23241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
23243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
23245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
23246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
23247 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
23248 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
23249 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
23250 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
23251 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
23252 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
23254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23255 nearbyint{,f} to libm-sysdep_routes.
23256 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
23259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
23261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
23263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
23265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
23266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
23267 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
23269 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
23270 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
23272 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
23273 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
23274 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
23276 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23277 libc_feholdexcept and libc_fesetenv.
23279 2013-01-15 Mike Frysinger <vapier@gentoo.org>
23281 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
23283 2013-01-14 David S. Miller <davem@davemloft.net>
23285 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
23286 (SPARC_ASM_VIS2_IFUNC): Likewise.
23287 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
23288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
23289 use of 'siam' instruction.
23290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
23292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
23294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
23296 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
23297 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
23298 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
23299 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
23300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
23302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
23304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
23306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
23308 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
23309 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
23310 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
23311 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
23312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
23314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23318 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23319 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23320 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23321 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
23323 routines to libm-sysdep_routines.
23324 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23327 fdim/fdimf to libm-sysdep_routines.
23328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
23330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
23331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
23333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
23334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
23335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
23336 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
23337 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
23338 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
23339 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
23341 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23343 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
23344 to optimize copies.
23346 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
23347 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23348 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23350 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
23351 local variable MPTWO.
23352 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23355 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23357 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
23360 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23362 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
23364 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23366 * manual/pattern.texi (glob_t): Document gl_flags.
23367 (glob64_t): Likewise.
23369 2013-01-11 David S. Miller <davem@davemloft.net>
23371 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
23372 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
23373 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
23374 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
23375 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
23376 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
23377 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
23378 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
23379 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
23380 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
23381 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
23382 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
23383 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
23385 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23386 sparc V9 rather than using V8 code.
23387 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23388 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23390 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23392 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
23395 2013-01-11 Roland McGrath <roland@hack.frob.com>
23397 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
23398 not in the main loop.
23399 * configure: Regenerated.
23401 2013-01-11 Joseph Myers <joseph@codesourcery.com>
23403 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
23404 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
23406 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
23407 [!__GLIBC_HAVE_LONG_LONG] case.
23408 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
23409 condition to just #else.
23410 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
23411 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
23412 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
23413 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
23415 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
23416 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23417 #elif condition to just #else.
23418 * sysdeps/unix/sysv/linux/sys/sysmacros.h
23419 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
23420 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23421 #elif condition to just #else.
23423 2013-01-11 Steve Ellcey <sellcey@mips.com>
23425 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
23426 (EF_MIPS_ARCH_64): Fix value.
23427 (EF_MIPS_ARCH_32R2): New.
23428 (EF_MIPS_ARCH_64R2): New.
23430 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
23432 * Makeconfig (+link-pie-before-libc): New.
23433 (+link-pie-after-libc): Likewise.
23434 (+link-pie-tests): Likewise.
23435 (+link-pie): Rewritten.
23436 (link-before-libc): Remove $(config-LDFLAGS).
23437 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
23438 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
23439 (config-LDFLAGS): Renamed to ...
23440 (rtld-LDFLAGS): This.
23441 (rtld-tests-LDFLAGS): New macro.
23442 (link-libc-rpath-link): Likewise.
23443 (link-libc-tests-rpath-link): Likewise.
23444 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23445 (link-libc): Prepand $(link-libc-rpath-link).
23446 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
23447 (test-program-prefix): New macro.
23448 (test-via-rtld-prefix): Likewise.
23449 (test-program-cmd): Likewise.
23450 (host-test-program-cmd): Likewise.
23451 * Makefile ($(common-objpfx)testrun.sh): Replace
23452 $(run-program-prefix) with $(test-program-prefix).
23453 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
23455 ($(common-objpfx)shlib.lds): Likewise.
23456 (build-module-helper): Likewise.
23457 ($(common-objpfx)format.lds): Likewise.
23458 * Rules (binaries-pie-tests): New.
23459 (binaries-pie-notests): Likewise.
23460 (binaries-pie): Rewritten.
23461 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
23462 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
23463 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
23464 (make-test-out): Replace $(host-built-program-cmd) with
23465 $(host-test-program-cmd).
23466 * config.make.in (build-hardcoded-path-in-tests): New variable.
23467 * configure.in (--enable-hardcoded-path-in-tests): New configure
23469 (hardcoded_path_in_tests): New AC_SUBST.
23470 * configure: Regenerated.
23471 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
23472 $(built-program-cmd) with $(test-program-cmd).
23473 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
23474 (test_program_cmd): This.
23475 * elf/Makefile ($(objpfx)order.out): Run test with
23476 $(test-program-prefix).
23477 ($(objpfx)order2.out): Likewise.
23478 ($(objpfx)tst-initorder.out): Likewise.
23479 ($(objpfx)tst-initorder2.out): Likewise.
23480 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
23481 $(test-program-cmd).
23482 ($(objpfx)tst-array1-static.out): Likewise.
23483 ($(objpfx)tst-array2.out): Likewise.
23484 ($(objpfx)tst-array3.out): Likewise.
23485 ($(objpfx)tst-array4.out): Likewise.
23486 ($(objpfx)tst-array5.out): Likewise.
23487 ($(objpfx)tst-array5-static.out): Likewise.
23488 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
23489 $(test-program-cmd).
23490 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
23491 $(run-program-prefix) with $(test-program-prefix).
23492 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
23493 (test_program_prefix): This.
23494 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
23495 $(run-program-prefix) with $(test-program-prefix).
23496 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
23497 (test_program_prefix): This.
23498 * iconvdata/tst-tables.sh: Likewise.
23499 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
23500 $(run-program-prefix) with $(test-program-prefix).
23501 ($(objpfx)tst-translit.out): Likewise.
23502 ($(objpfx)tst-gettext2.out): Likewise.
23503 ($(objpfx)tst-gettext4.out): Likewise.
23504 ($(objpfx)tst-gettext6.out): Likewise.
23505 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
23506 (test_program_prefix): This.
23507 * intl/tst-gettext2.sh: Likewise.
23508 * intl/tst-gettext4.sh Likewise.
23509 * intl/tst-gettext6.sh: Likewise.
23510 * intl/tst-translit.sh: Likewise.
23511 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
23512 with $(test-program-cmd).
23513 * libio/Makefile ($(objpfx)test-freopen.out): Replace
23514 $(run-program-prefix) with $(test-program-prefix).
23515 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
23516 (test_program_prefix): This.
23517 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
23518 $(run-program-prefix) with $(test-program-prefix).
23519 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
23520 (test_program_prefix): This.
23521 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
23522 * posix/Makefile ($(objpfx)globtest.out): Replace
23523 $(run-via-rtld-prefix) and $(test-wrapper) with
23524 $(test-program-prefix) and $(test-via-rtld-prefix).
23525 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
23526 $(test-program-prefix).
23527 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
23528 $(host-test-program-cmd).
23529 (tst-spawn-ARGS): Likewise.
23530 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
23531 $(test-program-prefix).
23532 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
23533 (test_via_rtld_prefix): This.
23534 (test_wrapper): Renamed to ...
23535 (test_program_prefix): This.
23536 (run_program_prefix): Replaced by test_program_prefix.
23537 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
23538 (test_program_prefix): This.
23539 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
23540 with $(host-test-program-cmd).
23541 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
23542 $(run-program-prefix) with $(test-program-prefix).
23543 ($(objpfx)tst-printf.out): Likewise.
23544 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
23545 $(test-program-cmd).
23546 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
23547 (test_program_prefix): This.
23548 * stdio-common/tst-unbputc.sh: Likewise.
23549 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
23550 $(run-program-prefix) with $(test-program-prefix).
23551 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
23552 (test_program_prefix): This.
23553 * string/Makefile ($(objpfx)tst-svc.out): Replace
23554 $(built-program-cmd) with $(test-program-cmd).
23556 2013-01-11 Andreas Jaeger <aj@suse.de>
23559 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
23560 value. Sync with Linux 3.7.
23562 2013-01-10 David S. Miller <davem@davemloft.net>
23564 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
23565 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23566 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23568 2013-01-10 Roland McGrath <roland@hack.frob.com>
23570 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
23572 * configure: Regenerated.
23574 2013-01-10 David S. Miller <davem@davemloft.net>
23576 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23577 sparc V9 rather than using V8 code.
23578 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23579 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23581 2013-01-10 Roland McGrath <roland@hack.frob.com>
23583 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
23584 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
23585 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
23586 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
23587 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
23588 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
23589 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
23590 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
23591 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
23592 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
23593 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
23594 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
23595 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
23596 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
23597 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
23598 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
23599 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
23600 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
23601 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
23602 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
23603 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
23604 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
23605 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
23606 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
23607 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
23608 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
23609 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
23611 2013-01-10 David S. Miller <davem@davemloft.net>
23613 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23615 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23617 * posix/Makefile (tests-static): New variable.
23618 (tests): Add $(tests-static).
23619 (tst-exec-static-ARGS): New variable.
23620 (tst-spawn-static-ARGS): Likewise.
23621 * posix/tst-exec-static.c: New file.
23622 * posix/tst-spawn-static.c: Likewise.
23623 * posix/tst-exec.c: Support run directly.
23624 * posix/tst-spawn.c: Likewise.
23626 2013-01-10 Joseph Myers <joseph@codesourcery.com>
23628 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
23630 * math/bits/mathcalls.h (llrint): Likewise.
23631 (llround): Likewise.
23632 * stdlib/stdlib.h (struct drand48_data): Likewise.
23633 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
23634 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
23635 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
23637 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
23639 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
23640 (elf_greg_t): Likewise.
23641 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
23642 (__jmp_buf): Likewise.
23643 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
23645 (llrint): Likewise, for all definitions.
23646 (llrintl): Likewise.
23648 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
23649 Remove [__GNUC__] condition.
23650 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
23651 condition to just [__USE_ISOC99].
23652 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
23654 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23657 * sysdeps/unix/sysv/linux/x86/bits/environments.h
23658 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
23660 (_POSIX_V6_ILP32_OFF32): Likewise.
23661 (_XBS5_ILP32_OFF32): Likewise.
23662 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
23663 (__ILP32_OFFBIG_LDFLAGS): Likewise.
23665 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23667 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
23669 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
23670 doubles __mpexp_twomm1. Adjust usage.
23671 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
23674 2013-01-10 Andreas Schwab <schwab@suse.de>
23677 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
23678 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
23680 2013-01-09 David S. Miller <davem@davemloft.net>
23683 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
23684 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
23685 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
23686 (TCP_FASTOPEN): Define.
23687 (tcp_repair_opt): New structure.
23688 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
23690 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
23691 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
23692 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
23693 (tcp_cookie_transactions): New structure.
23695 2013-01-09 Anton Blanchard <anton@samba.org>
23697 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
23698 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
23699 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
23700 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
23702 2013-01-09 Joseph Myers <joseph@codesourcery.com>
23704 * include/features.h (__USE_ANSI): Remove.
23706 2013-01-09 Roland McGrath <roland@hack.frob.com>
23708 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
23710 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
23712 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
23714 * sysdeps/s390/fpu/libm-test-ulps: Update.
23716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23718 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
23722 (denorm): Likewise.
23723 (__mp_dbl): Likewise.
23724 (__dbl_mp): Likewise.
23725 (add_magnitudes): Likewise.
23726 (sub_magnitudes): Likewise.
23732 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
23736 (denorm): Likewise.
23737 (__mp_dbl): Likewise.
23738 (__dbl_mp): Likewise.
23739 (add_magnitudes): Likewise.
23740 (sub_magnitudes): Likewise.
23746 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
23750 (denorm): Likewise.
23751 (__mp_dbl): Likewise.
23752 (__dbl_mp): Likewise.
23753 (add_magnitudes): Likewise.
23754 (sub_magnitudes): Likewise.
23761 2013-01-08 Joseph Myers <joseph@codesourcery.com>
23763 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
23764 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
23765 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
23766 2 && __USE_EXTERN_INLINES]: Likewise.
23768 2013-01-08 Andreas Jaeger <aj@suse.de>
23771 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
23773 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23774 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23776 2013-01-07 Anton Blanchard <anton@samba.org>
23778 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
23779 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23780 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
23781 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23782 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23783 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23784 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
23785 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23786 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23787 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23788 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23789 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23790 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23791 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23792 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23793 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23794 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23795 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23796 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23797 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23798 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23799 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
23800 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23801 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23802 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
23803 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23804 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23805 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23806 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
23807 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23808 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23809 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23810 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23811 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23812 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23813 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23814 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23815 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23816 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
23817 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23818 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
23819 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23820 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23822 2013-01-07 Joseph Myers <joseph@codesourcery.com>
23824 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
23825 (__MALLOC_PMT): Likewise.
23826 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
23827 [__GNUC__], only on [_LIBC].
23828 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23829 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
23830 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23831 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
23832 forward declaration.
23833 (realloc_hook_ini): Likewise.
23834 (memalign_hook_ini): Likewise.
23835 (__libc_memalign): Do not use __MALLOC_PMT in variable
23837 (__libc_valloc): Likewise.
23838 (__libc_pvalloc): Likewise.
23839 (__libc_calloc): Likewise.
23840 (__posix_memalign): Likewise.
23843 * math/s_casinh.c: Include <float.h>.
23844 (__casinh): Do not do computation with squaring and square root
23845 for large arguments.
23846 * math/s_casinhf.c: Include <float.h>.
23847 (__casinhf): Do not do computation with squaring and square root
23848 for large arguments.
23849 * math/s_casinhl.c: Include <float.h>.
23850 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
23851 (__casinhl): Do not do computation with squaring and square root
23852 for large arguments.
23853 * math/libm-test.inc (casin_test): Add more tests.
23854 (casinh_test): Likewise.
23855 * sysdeps/i386/fpu/libm-test-ulps: Update.
23856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23858 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
23860 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
23861 (__x86_64_raw_data_cache_size): Likewise.
23862 (__x86_64_data_cache_size_half): Likewise.
23863 (__x86_64_raw_data_cache_size_half): Likewise.
23864 (__x86_64_shared_cache_size): Likewise.
23865 (__x86_64_raw_shared_cache_size): Likewise.
23866 (__x86_64_shared_cache_size_half): Likewise.
23867 (__x86_64_raw_shared_cache_size_half): Likewise.
23868 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
23870 (__x86_data_cache_size): This.
23871 (__x86_64_raw_data_cache_size): Renamed to ...
23872 (__x86_raw_data_cache_size): This.
23873 (__x86_64_data_cache_size_half): Renamed to ...
23874 (__x86_data_cache_size_half): This.
23875 (__x86_64_raw_data_cache_size_half): Renamed to ...
23876 (__x86_raw_data_cache_size_half): This.
23877 (__x86_64_shared_cache_size): Renamed to ...
23878 (__x86_shared_cache_size): This.
23879 (__x86_64_raw_shared_cache_size): Renamed to ...
23880 (__x86_raw_shared_cache_size): This.
23881 (__x86_64_shared_cache_size_half): Renamed to ...
23882 (__x86_shared_cache_size_half): This.
23883 (__x86_64_raw_shared_cache_size_half): Renamed to ...
23884 (__x86_raw_shared_cache_size_half): This.
23885 * sysdeps/x86_64/memcpy.S: Updated.
23886 * sysdeps/x86_64/memset.S: Likewise.
23887 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23888 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23889 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23891 2013-01-04 David S. Miller <davem@davemloft.net>
23893 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23895 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
23897 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
23898 1 to avoid redefinition warning.
23899 (__USE_GNU): Don't define.
23900 (init_signaling_nan): Protoize.
23902 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23904 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23906 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
23907 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
23908 (__cpymn): Likewise.
23909 (norm): Remove commented code.
23910 (denorm): Likewise.
23911 (__mp_dbl): Likewise.
23913 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
23914 (__cpymn): Likewise.
23915 (norm): Remove commented code.
23916 (denorm): Likewise.
23917 (__mp_dbl): Likewise.
23920 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
23921 mp_no value for 1.0 and 2.0.
23922 (norm): Use RADIXI instead of radixi.d.
23923 (denorm): Likewise.
23924 (__mul): Use 0.0 instead of zero.d.
23925 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
23926 mp_no value for 1.0 and 2.0.
23927 (norm): Use RADIXI instead of radixi.d.
23928 (denorm): Likewise.
23929 (__mul): Use 0.0 instead of zero.d.
23931 2013-01-04 Joseph Myers <joseph@codesourcery.com>
23934 * math/s_casinh.c (__casinh): Reduce finite argument to first
23935 quadrant then set signs of results at the end.
23936 * math/s_casinhf.c (__casinhf): Likewise.
23937 * math/s_casinhl.c (__casinhl): Likewise.
23938 * math/libm-test.inc (casin_test): Add more tests.
23939 (casinh_test): Likewise.
23940 * sysdeps/i386/fpu/libm-test-ulps: Update.
23941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23943 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23945 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
23947 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
23949 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
23951 (denorm): Likewise.
23952 (__mp_dbl): Likewise.
23955 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
23956 and adjust the header comment.
23958 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
23959 variable name from declaration.
23961 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
23963 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23964 Initialize COMMON_CPUID_INDEX_7 element.
23965 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
23966 (CPUID_RTM): Likewise.
23967 (HAS_RTM): Likewise.
23968 (COMMON_CPUID_INDEX_7): New enum.
23970 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
23973 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
23974 size is zero, record memory as freed.
23976 2013-01-03 Andreas Jaeger <aj@suse.de>
23978 * po/ia.po: Add new Interlingua translation.
23980 2012-01-03 Allan McRae <allan@archlinux.org>
23982 * locale/programs/localedef.c: Fix description of '--posix' flag.
23984 2013-01-02 Joseph Myers <joseph@codesourcery.com>
23986 * NEWS: Update dates in second copyright notice.
23987 * README: Update copyright dates in example.
23988 * manual/libc.texinfo: Update copyright dates.
23989 * scripts/test-installation.pl: Update copyright date in --version
23992 * hurd/ctty-input.c: Fix copyright notice formatting.
23993 * hurd/ctty-output.c: Likewise.
23994 * hurd/dtable.c: Likewise.
23995 * hurd/hurd-raise.c: Likewise.
23996 * hurd/hurdprio.c: Likewise.
23997 * hurd/msgportdemux.c: Likewise.
23998 * misc/sys/file.h: Likewise.
23999 * misc/sys/ioctl.h: Likewise.
24000 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24001 * sysdeps/mach/hurd/chdir.c: Likewise.
24002 * sysdeps/mach/hurd/fchdir.c: Likewise.
24003 * sysdeps/mach/hurd/rename.c: Likewise.
24004 * sysdeps/mach/hurd/rmdir.c: Likewise.
24005 * sysdeps/mach/hurd/seekdir.c: Likewise.
24006 * sysdeps/mach/hurd/setsid.c: Likewise.
24007 * sysdeps/posix/wait3.c: Likewise.
24009 * All files with FSF copyright notices: Update copyright dates
24010 using scripts/update-copyrights.
24011 * intl/plural.c: Regenerated.
24012 * locale/programs/charmap-kw.h: Likewise.
24013 * locale/programs/locfile-kw.h: Likewise.
24015 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24017 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24020 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24021 calculation loop and add branch prediction.
24023 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24024 check access beyond bounds of m1np.
24026 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24028 (__inv): Remove local variable MPTWO to use the global
24030 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24031 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24033 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24034 MP3HALFS static const.
24036 2013-01-01 David S. Miller <davem@davemloft.net>
24038 * po/ca.po: Update from translation team.
24040 2013-01-01 Joseph Myers <joseph@codesourcery.com>
24042 * scripts/update-copyrights: New file.
24043 * Makeconfig: Reformat copyright notice.
24044 * ctype/ctype.h: Likewise.
24045 * debug/swprintf_chk.c: Likewise.
24046 * elf/dl-cache.c: Likewise.
24047 * elf/dl-debug.c: Likewise.
24048 * elf/dl-object.c: Likewise.
24049 * grp/initgroups.c: Likewise.
24050 * hurd/Makefile: Likewise.
24051 * hurd/hurd/signal.h: Likewise.
24052 * hurd/hurdfault.c: Likewise.
24053 * hurd/hurdioctl.c: Likewise.
24054 * hurd/hurdlookup.c: Likewise.
24055 * hurd/intr-msg.c: Likewise.
24056 * iconv/gconv_open.c: Likewise.
24057 * libio/swprintf.c: Likewise.
24058 * locale/lc-ctype.c: Likewise.
24059 * locale/nl_langinfo.c: Likewise.
24060 * mach/Machrules: Likewise.
24061 * mach/Makefile: Likewise.
24062 * malloc/obstack.h: Likewise.
24063 * manual/Makefile: Likewise.
24064 * manual/tsort.awk: Likewise.
24065 * misc/bits/stab.def: Likewise.
24066 * nis/nis_print_group_entry.c: Likewise.
24067 * nis/nis_table.c: Likewise.
24068 * nis/nss_compat/compat-pwd.c: Likewise.
24069 * nis/nss_compat/compat-spwd.c: Likewise.
24070 * po/Makefile: Likewise.
24071 * posix/fnmatch.c: Likewise.
24072 * posix/regex.h: Likewise.
24073 * resolv/Makefile: Likewise.
24074 * resolv/nss_dns/dns-network.c: Likewise.
24075 * resolv/res_hconf.c: Likewise.
24076 * scripts/gen-sorted.awk: Likewise.
24077 * soft-fp/soft-fp.h: Likewise.
24078 * stdio-common/printf.h: Likewise.
24079 * stdlib/monetary.h: Likewise.
24080 * stdlib/random.c: Likewise.
24081 * stdlib/random_r.c: Likewise.
24082 * sysdeps/generic/Makefile: Likewise.
24083 * sysdeps/gnu/Makefile: Likewise.
24084 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24085 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24086 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24087 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24088 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24089 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24090 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24091 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24092 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24093 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24094 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24095 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24096 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24097 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24098 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
24099 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24100 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24101 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24102 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24103 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24104 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24105 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24106 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24107 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24108 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
24109 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24110 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24111 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
24112 * sysdeps/mach/hurd/errnos.awk: Likewise.
24113 * sysdeps/mach/hurd/fork.c: Likewise.
24114 * sysdeps/mach/hurd/getcwd.c: Likewise.
24115 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
24116 * sysdeps/mach/hurd/mmap.c: Likewise.
24117 * sysdeps/mach/hurd/utimes.c: Likewise.
24118 * sysdeps/mach/hurd/xmknod.c: Likewise.
24119 * sysdeps/posix/profil.c: Likewise.
24120 * sysdeps/posix/readdir_r.c: Likewise.
24121 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24122 * sysdeps/powerpc/bits/setjmp.h: Likewise.
24123 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
24124 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24125 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24126 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24127 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24128 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24129 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24130 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24131 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24132 * sysdeps/pthread/lio_listio.c: Likewise.
24133 * sysdeps/sparc/dl-procinfo.h: Likewise.
24134 * sysdeps/unix/i386/sysdep.S: Likewise.
24135 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
24136 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
24137 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
24138 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
24139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24140 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24141 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24142 * sysdeps/unix/sysv/linux/speed.c: Likewise.
24143 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24144 * sysdeps/wordsize-32/divdi3.c: Likewise.
24145 * time/sys/time.h: Likewise.
24146 * wcsmbs/Makefile: Likewise.
24148 2013-01-01 David S. Miller <davem@davemloft.net>
24150 * po/fr.po: Update from translation team.
24152 * catgets/gencat.c: Update copyright year.
24153 * csu/version.c: Likewise.
24154 * debug/catchsegv.sh: Likewise.
24155 * debug/pcprofiledump.c: Likewise.
24156 * debug/xtrace.sh: Likewise.
24157 * elf/ldconfig.c: Likewise.
24158 * elf/ldd.bash.in: Likewise.
24159 * elf/pldd.c: Likewise.
24160 * elf/sotruss.ksh: Likewise.
24161 * elf/sprof.c: Likewise.
24162 * iconv/iconv_prog.c: Likewise.
24163 * iconv/iconvconfig.c: Likewise.
24164 * locale/programs/locale.c: Likewise.
24165 * locale/programs/localedef.c: Likewise.
24166 * login/programs/pt_chown.c: Likewise.
24167 * malloc/memusage.sh: Likewise.
24168 * malloc/memusagestat.c: Likewise.
24169 * malloc/mtrace.pl: Likewise.
24170 * nscd/nscd.c: Likewise.
24171 * nss/getent.c: Likewise.
24172 * nss/makedb.c: Likewise.
24173 * posix/getconf.c: Likewise.
24175 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24177 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
24180 2012-12-30 Mike Frysinger <vapier@gentoo.org>
24182 * math/bits/mathcalls.h (modf): Use __nonnull.
24184 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24186 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
24187 (split): Use macro CN instead of the bare value.
24188 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
24190 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
24191 instead of the bare value.
24192 (power1): Likewise.
24194 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24196 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
24198 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24200 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
24202 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24203 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24204 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
24205 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24207 2012-12-28 Andreas Jaeger <aj@suse.de>
24209 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
24210 values are from Linux 3.7.
24212 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
24213 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
24215 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24217 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
24220 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
24222 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
24223 variables with preprocessor constants.
24224 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24225 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24226 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24228 2012-12-27 Bruno Haible <bruno@clisp.org>
24231 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
24234 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24236 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
24237 and use variable directly.
24238 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
24240 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24242 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
24243 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24245 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24246 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24247 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
24248 include directive. Remove local variable MPONE.
24249 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
24250 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
24251 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24253 2012-12-25 David S. Miller <davem@davemloft.net>
24255 * version.h (RELEASE): Set to "development".
24256 (VERSION): Set to "2.17.90".
24257 * NEWS: Add 2.18 section.
24259 2012-12-21 David S. Miller <davem@davemloft.net>
24261 * po/hr.po: Update from translation team.
24263 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24265 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
24267 2012-12-19 Steve Ellcey <sellcey@mips.com>
24269 * NEWS: Mention new memcpy for MIPS.
24271 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24273 * manual/contrib.texi (Contributors): Spelling correction.
24275 2012-12-15 David S. Miller <davem@davemloft.net>
24277 * po/ru.po: Update from translation team.
24279 2012-12-13 David S. Miller <davem@davemloft.net>
24281 * NEWS: Mention IFUNC testsuite enhancements.
24283 * po/pl.po: Update from translation team.
24284 * po/bg.po: Likewise.
24286 * manual/contrib.texi (Contributors): Update entries for Hongjiu
24287 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
24289 2012-12-11 David S. Miller <davem@davemloft.net>
24291 * po/sv.po: Update from translation team.
24293 * po/vi.po: Update from translation team.
24295 * po/cs.po: Update from translation team.
24297 * po/de.po: Update from translation team.
24298 * po/eo.po: Likewise.
24299 * po/nl.po: Likewise.
24301 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24304 * manual/argp.texi (Argp Helper Functions): Move node to follow
24305 Argp Parsing State.
24308 * manual/conf.texi (Limits on File System Capacity): Mention if
24309 terminating null is included in the max size.
24311 2012-12-10 Andreas Jaeger <aj@suse.de>
24313 * po/cs.po: Update from translation team.
24315 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24317 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
24318 void pointer and cast to uintptr_t.
24319 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
24321 * sysdeps/s390/s390-64/memcpy.S: Likewise.
24322 * sysdeps/s390/s390-64/memset.S: Likewise.
24324 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
24327 * menual/message.texi (Message Translation): Fix typos.
24328 (Helper programs for gettext): Likewise.
24330 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
24333 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
24336 2012-12-07 David S. Miller <davem@davemloft.net>
24338 * po/libc.pot: Update.
24340 2012-12-07 Richard Henderson <rth@redhat.com>
24343 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
24344 normal/normal case to before the switch.
24345 (_FP_DIV): Likewise.
24347 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
24348 Mike Frysinger <vapier@gentoo.org>
24350 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
24351 check for __NR_fadvise64_64.
24353 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
24355 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
24356 0, not just to plain "0" as a statement.
24357 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
24360 2012-12-06 Joseph Myers <joseph@codesourcery.com>
24362 * NEWS: Use sourceware.org in Bugzilla URL.
24364 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24367 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24369 * stdio-common/tst-put-error.c (do_test): Add newline to the
24370 padded test to ensure flush.
24372 2012-12-05 Jeff Law <law@redhat.com>
24374 * sunrpc/etc.rpc (fedfs_admin): Add entry.
24376 2012-12-05 Joseph Myers <joseph@codesourcery.com>
24378 * README: Don't refer to ports add-on as distributed separately.
24379 Mention AArch64 in list of systems supported in the ports add-on.
24381 * LICENSES: Add more non-FSF copyright and license notices.
24383 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
24386 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
24388 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
24389 10000 as width of padded output.
24391 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24393 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
24395 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
24396 variable LX with __attribute__ ((unused)).
24397 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24399 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24400 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24401 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
24402 with __attribute__ ((unused)).
24404 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
24406 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
24408 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24410 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
24411 (CFLAGS-nldbl-acos.c): New variable.
24412 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
24413 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
24414 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
24415 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
24416 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
24417 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
24418 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
24419 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
24420 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
24421 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
24422 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
24423 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
24424 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
24425 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
24426 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
24427 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
24428 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
24429 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
24430 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
24431 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
24432 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
24433 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
24434 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
24435 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
24436 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
24437 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
24438 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
24439 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
24440 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
24441 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
24442 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
24443 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
24444 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
24445 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
24446 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
24447 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
24448 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
24449 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
24450 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
24451 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
24452 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
24453 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
24454 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
24455 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
24456 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
24457 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
24458 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
24459 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
24460 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
24461 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
24462 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
24463 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
24464 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
24465 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
24466 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
24467 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
24468 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
24469 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
24470 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
24471 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
24472 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
24473 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
24474 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
24475 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
24476 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
24477 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
24478 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
24479 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
24480 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
24481 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
24482 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
24483 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
24484 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
24485 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
24486 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
24487 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
24488 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
24489 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
24490 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
24491 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
24492 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
24493 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
24494 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
24495 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
24496 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
24497 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
24498 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
24499 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
24500 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
24501 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
24502 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
24503 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
24504 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
24505 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
24506 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
24507 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
24508 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
24510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24511 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24514 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
24515 whole low double instead of just low 47 bits when splitting values
24518 2012-12-03 Allan McRae <allan@archlinux.org>
24520 * manual/stdio.texi (Predefined Printf Handlers): Remove
24521 @hsep and @vsep usage.
24523 2012-12-03 Mike Frysinger <vapier@gentoo.org>
24525 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
24526 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
24528 2012-12-03 Jeff Law <law@redhat.com>
24530 * time/sys/time.h (settimeofday): Do not mark TV argument
24533 2012-12-01 Mike Frysinger <vapier@gentoo.org>
24535 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
24536 when currently writing and seek to current position when not.
24537 * libio/Makefile (tests): Remove bug-fclose1.
24538 * libio/bug-fclose1.c: Delete.
24540 2012-12-01 Joseph Myers <joseph@codesourcery.com>
24542 * manual/arith.texi (feenableexcept): Fix typo.
24543 (fedisableexcept): Likewise.
24545 2012-11-30 Roland McGrath <roland@hack.frob.com>
24547 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
24548 second, differently-typed declaration, rather than a cast.
24550 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24552 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
24553 * include/rpc/svc.h: ... here.
24555 2012-11-30 Aurelien Jarno <aurel32@debian.org>
24558 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
24559 depending n and resplen2 to catch cases where answer
24562 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
24564 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
24565 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
24567 2012-11-29 Mike Frysinger <vapier@gentoo.org>
24569 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
24571 2012-11-29 Roland McGrath <roland@hack.frob.com>
24573 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
24575 2012-11-28 Jeff Law <law@redhat.com>
24578 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
24579 dataset_temporary. Track alloca usage into alloca_used.
24580 If dataset is large allocate and release it via malloc/free.
24582 2012-06-04 Florian Weimer <fweimer@redhat.com>
24585 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
24587 2012-11-28 David S. Miller <davem@davemloft.net>
24589 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24591 2012-11-28 Joseph Myers <joseph@codesourcery.com>
24594 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
24595 of pi/2 rounded to nearest to 64 bits.
24596 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
24597 nearest to 64 bits.
24598 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
24601 2012-11-28 Jeff Law <law@redhat.com>
24602 Martin Osvald <mosvald@redhat.com>
24605 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
24606 * sunrpc/svc.c: Include time.h.
24607 (__svc_accept_failed): New function.
24608 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
24609 any reason other than EINTR, call __svc_accept_failed.
24610 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
24611 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
24613 2012-11-28 Andreas Schwab <schwab@suse.de>
24615 * scripts/abilist.awk: Also handle indirect functions in .opd
24618 2012-11-28 Joseph Myers <joseph@codesourcery.com>
24621 * sysdeps/x86/fpu/powl_helper.c: New file.
24622 * sysdeps/x86/fpu/Makefile: Likewise.
24623 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
24625 (__ieee754_powl): Use __powl_helper for finite arguments except
24626 integer exponents below 8.
24627 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
24629 (__ieee754_powl): Use __powl_helper for finite arguments except
24630 integer exponents below 8.
24631 * math/libm-test.inc (pow_test): Add more tests and enable some
24632 previously disabled tests.
24633 * sysdeps/i386/fpu/libm-test-ulps: Update.
24634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24636 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24637 Carlos O'Donell <carlos_odonell@mentor.com>
24639 * nss/makedb.c (is_prime): Assert that input is odd and greater
24640 than 4. Note that fact in a comment too.
24641 (next_prime): Add 4 to input.
24643 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24646 * libio/Makefile (tests): Add test case tst-fwrite-error.
24647 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
24648 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
24649 * libio/tst-fwrite-error.c: New test case.
24651 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
24653 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
24654 before casting to void *.
24655 * include/libc-internal.h (__pointer_type): New macro.
24656 (__integer_if_pointer_type_sub): Likewise.
24657 (__integer_if_pointer_type): Likewise.
24658 (cast_to_integer): Likewise.
24659 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
24660 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
24661 before casting to atomic64_t.
24662 (atomic_exchange_acq): Likewise.
24663 (__arch_exchange_and_add_body): Likewise.
24664 (__arch_add_body): Likewise.
24665 (atomic_add_negative): Likewise.
24666 (atomic_add_zero): Likewise.
24668 2012-11-26 Joseph Myers <joseph@codesourcery.com>
24670 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
24671 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
24672 (add_fdes): Likewise.
24673 (linear_search_fdes): Likewise.
24674 (binary_search_unencoded_fdes): Likewise.
24676 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
24678 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
24680 2012-11-24 Adam Conrad <adconrad@0c3.net>
24682 * configure.in: Autodetect C++ header directories.
24683 * configure: Regenerated.
24685 2012-11-23 Mike Frysinger <vapier@gentoo.org>
24687 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
24689 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
24691 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24693 2012-11-22 Joseph Myers <joseph@codesourcery.com>
24695 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
24696 LDBL_MANT_DIG == 106]: Disable some tests.
24697 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24699 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24703 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
24704 input for small inputs. Return +/- pi/2 for large inputs.
24705 * math/libm-test.inc (atan_test): Add more tests.
24707 * sysdeps/generic/unwind-dw2-fde-glibc.c
24708 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
24709 __attribute__ ((unused)).
24712 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
24713 x * y if x and y are nonzero and z is zero.
24716 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
24717 nonzero exponents with absolute value below 0x1p-117 to +/-
24721 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
24722 up arguments below 2**-450, not just those below 2**-500.
24723 * math/libm-test.inc (hypot_test): Add another test.
24726 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
24727 Return a+b for ratio over 2**120, not 2**60.
24728 * math/libm-test.inc (hypot_test): Add another test.
24730 * math/libm-test.inc (clog_test): Use
24731 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
24732 (clog10_test): Likewise.
24735 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
24737 2012-11-22 Andreas Schwab <schwab@suse.de>
24739 * sysdeps/i386/fpu/libm-test-ulps: Update.
24741 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
24743 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
24744 printf output with newline.
24746 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
24749 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
24750 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
24751 -z nodlopen, -z initfirst and -z execstack support.
24752 * configure: Regenerated.
24754 * elf/elf.h (DF_1_NODIRECT): New macro.
24755 (DF_1_IGNMULDEF): Likewise.
24756 (DF_1_NOKSYMS): Likewise.
24757 (DF_1_NOHDR): Likewise.
24758 (DF_1_EDITED): Likewise.
24759 (DF_1_NORELOC): Likewise.
24760 (DF_1_SYMINTPOSE): Likewise.
24761 (DF_1_GLOBAUDIT): Likewise.
24762 (DF_1_SINGLETON): Likewise.
24763 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
24764 DT_1_SUPPORTED_MASK bits.
24765 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
24767 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
24769 * sysdeps/unix/make-syscalls.sh: Document prefixes.
24771 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
24773 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
24776 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
24777 (sendmmsg): Move declarations...
24778 * socket/sys/socket.h: ... here.
24779 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
24780 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
24782 * socket/recvmmsg.c: ... this new file.
24783 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
24784 (sendmmsg): Rename to __sendmmsg, create weak alias and make
24785 definition of __sendmmsg hidden.
24786 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
24787 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
24788 Move ENOSYS stub into and include it from...
24789 * socket/sendmmsg.c: ... this new file.
24790 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
24791 (sysdep_routines): Move recvmmsg and sendmmsg...
24792 * socket/Makefile (routines): ... here.
24793 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
24794 (GLIBC_PRIVATE): Add __sendmmsg.
24795 * include/sys/socket.h (__sendmmsg): Add declarations.
24796 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
24799 2012-11-20 Joseph Myers <joseph@codesourcery.com>
24801 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
24802 variable I1 with __attribute__ ((unused)).
24803 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24805 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24807 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
24808 DUMMY variables with __attribute__ ((unused)).
24810 * bits/byteswap.h: Include <bits/types.h>.
24811 (__bswap_64): Use __uint64_t instead of unsigned long long int.
24813 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24815 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
24816 string_t. Do not manually set errno.
24817 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
24818 length with __strnlen. Make sure to both set errno and return it on
24821 2012-11-19 David S. Miller <davem@davemloft.net>
24823 With help from Joseph Myers.
24824 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
24825 very large arguments properly.
24826 * math/libm-test.inc (atan_test): New tests.
24827 (atan2_test): New tests.
24828 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24829 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24831 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24834 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
24837 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
24838 [POSIX] (EADDRNOTAVAIL): Likewise.
24839 [POSIX] (EAFNOSUPPORT): Likewise.
24840 [POSIX] (EALREADY): Likewise.
24841 [POSIX] (ECONNABORTED): Likewise.
24842 [POSIX] (ECONNREFUSED): Likewise.
24843 [POSIX] (ECONNRESET): Likewise.
24844 [POSIX] (EDESTADDRREQ): Likewise.
24845 [POSIX] (EDQUOT): Likewise.
24846 [POSIX] (EHOSTUNREACH): Likewise.
24847 [POSIX] (EIDRM): Likewise.
24848 [POSIX] (EISCONN): Likewise.
24849 [POSIX] (ELOOP): Likewise.
24850 [POSIX] (EMULTIHOP): Likewise.
24851 [POSIX] (ENETDOWN): Likewise.
24852 [POSIX] (ENETUNREACH): Likewise.
24853 [POSIX] (ENOBUFS): Likewise.
24854 [POSIX] (ENODATA): Likewise.
24855 [POSIX] (ENOLINK): Likewise.
24856 [POSIX] (ENOMSG): Likewise.
24857 [POSIX] (ENOPROTOOPT): Likewise.
24858 [POSIX] (ENOSR): Likewise.
24859 [POSIX] (ENOSTR): Likewise.
24860 [POSIX] (ENOTCONN): Likewise.
24861 [POSIX] (ENOTSOCK): Likewise.
24862 [POSIX] (EOPNOTSUPP): Likewise.
24863 [POSIX] (EOVERFLOW): Likewise.
24864 [POSIX] (EPROTO): Likewise.
24865 [POSIX] (EPROTONOSUPPORT): Likewise.
24866 [POSIX] (EPROTOTYPE): Likewise.
24867 [POSIX] (ESTALE): Likewise.
24868 [POSIX] (ETIME): Likewise.
24869 [POSIX] (ETXTBSY): Likewise.
24870 [POSIX] (EWOULDBLOCK): Likewise.
24871 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
24872 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
24873 [POSIX] (SEEK_CUR): Likewise.
24874 [POSIX] (SEEK_END): Likewise.
24875 [POSIX || UNIX98] (mode_t): Do not require.
24876 [POSIX] (off_t): Likewise.
24877 [POSIX] (pid_t): Likewise.
24878 [POSIX] (sys/stat.h): Do not allow header.
24879 [POSIX] (unistd.h): Likewise.
24880 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
24881 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
24882 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
24883 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
24885 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
24886 sigevent): Specify elements.
24887 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
24889 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
24890 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
24892 * conform/data/cpio.h-data [POSIX]: Disable whole file.
24893 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
24894 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
24895 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
24896 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
24897 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
24898 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
24899 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
24900 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
24901 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
24902 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
24903 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
24904 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
24905 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
24907 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
24909 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
24911 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
24913 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
24914 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
24915 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
24916 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
24917 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
24918 Specify lower bound on value.
24919 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
24920 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
24921 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
24922 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
24923 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
24924 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
24925 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
24926 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
24928 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
24930 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
24931 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
24932 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
24933 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
24934 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
24935 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
24936 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
24937 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
24938 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
24939 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
24940 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
24941 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
24942 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
24943 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
24944 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
24945 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
24947 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
24949 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
24950 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
24951 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
24952 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
24953 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
24954 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
24956 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
24957 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
24958 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
24959 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
24960 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
24961 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
24962 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
24964 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
24965 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
24966 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
24967 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
24968 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
24969 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
24970 specify as optional.
24971 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
24972 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
24973 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
24974 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
24975 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
24976 [XPG3] (NL_LANGMAX): Likewise.
24977 [POSIX || XPG3] (NL_MSGMAX): Likewise.
24978 [POSIX || XPG3] (NL_NMAX): Likewise.
24979 [POSIX || XPG3] (NL_SETMAX): Likewise.
24980 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
24981 [XPG3] (NZERO): Likewise.
24982 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
24983 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
24984 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
24985 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
24986 (REG_ERANGE): Expect.
24987 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
24989 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
24990 Use (void) in prototype.
24991 [POSIX] (*_t): Allow.
24992 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
24993 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
24994 (WRDE_BADVAL): Expect.
24996 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
24998 [XPG3 || XPG4] (O_RSYNC): Likewise.
24999 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25001 [XPG3 || XPG4] (pthread_sigmask): Likewise.
25002 [XPG3 || XPG4] (sigqueue): Likewise.
25003 [XPG3 || XPG4] (sigtimedwait): Likewise.
25004 [XPG3 || XPG4] (sigwaitinfo): Likewise.
25005 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25006 [XPG3 || XPG4] (vsnprintf): Likewise.
25007 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25009 [XPG3 || XPG4] (blksize_t): Likewise.
25010 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25012 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25013 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25014 [XPG3 || XPG4] (struct itimerspec): Likewise.
25015 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25016 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25017 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25018 [XPG3 || XPG4] (clockid_t): Likewise.
25019 [XPG3 || XPG4] (timer_t): Likewise.
25020 [XPG3 || XPG4] (clock_getres): Likewise.
25021 [XPG3 || XPG4] (clock_gettime): Likewise.
25022 [XPG3 || XPG4] (clock_settime): Likewise.
25023 [XPG3 || XPG4] (nanosleep): Likewise.
25024 [XPG3 || XPG4] (timer_create): Likewise.
25025 [XPG3 || XPG4] (timer_delete): Likewise.
25026 [XPG3 || XPG4] (timer_gettime): Likewise.
25027 [XPG3 || XPG4] (timer_getoverrun): Likewise.
25028 [XPG3 || XPG4] (timer_settime): Likewise.
25029 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25030 [XPG3 || XPG4] (getlogin_r): Likewise.
25031 [XPG3 || XPG4] (pread): Likewise.
25032 [XPG3 || XPG4] (pthread_atfork): Likewise.
25033 [XPG3 || XPG4] (pwrite): Likewise.
25036 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25039 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25041 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25042 finalizing MALLSTREAM.
25044 * sysdeps/mach/hurd/syncfs.c: New file.
25046 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25049 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25050 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25051 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25052 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25053 (_nss_dns_gethostbyname4_r): Likewise.
25054 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25055 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25057 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
25060 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25062 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
25064 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25065 * elf/cache.c (print_entry): Print ",AArch64" for
25068 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25069 * elf/cache.c (print_entry): Print ",hard-float" for
25072 2012-11-18 David S. Miller <davem@davemloft.net>
25074 With help from Joseph Myers.
25075 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25077 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25079 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25080 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25082 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25083 * math/libm-test.inc (y0_test): New tests.
25084 (y1_test): New tests.
25085 * sysdeps/i386/fpu/libm-test-ulps: Update.
25086 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25087 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25089 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
25091 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
25093 * configure: Regenerated.
25095 2012-11-17 David S. Miller <davem@davemloft.net>
25098 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
25099 nonzero exponents with absolute value below 0x1p-128 to +/-
25102 2012-11-17 Joseph Myers <joseph@codesourcery.com>
25104 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
25106 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
25108 * posix/getconf-speclist.c: New file.
25109 * posix/posix-envs.def: Likewise.
25110 * posix/confstr.c (START_ENV_GROUP): New macro.
25111 (END_ENV_GROUP): Likewise.
25112 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25113 (KNOWN_PRESENT_ENV_STRING): Likewise.
25114 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25115 (UNKNOWN_ENVIRONMENT): Likewise.
25116 (confstr): Include posix-envs.def instead of handling
25117 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
25118 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
25119 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
25120 (END_ENV_GROUP): Likewise.
25121 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25122 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25123 (UNKNOWN_ENVIRONMENT): Likewise.
25124 (__sysconf): Include posix-envs.def instead of handling associated
25125 cases directly here.
25126 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
25127 preprocessing getconf-speclist.c rather than running getconf or
25128 generating empty file.
25130 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
25132 * scripts/check-local-headers.sh: Ignore 'mach' headers.
25134 2012-11-16 Andrej Lajovic <natrij@gmail.com>
25137 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
25139 2012-11-16 David S. Miller <davem@davemloft.net>
25141 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
25142 smaller than LDBL_EPSILON/2.0L, just return xm1.
25144 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
25146 * elf/tst-array1.c (init): Set constructor priority to 1000.
25147 (fini): Set destructor priority to 1000.
25148 * elf/tst-array2dep.c: Likewise.
25150 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25153 * libio/fileops.c (_IO_new_file_write): Correctly return error.
25154 (_IO_new_file_xsputn): Also return EOF if none of the input
25155 data was written when overflow failed.
25156 * libio/iopadn.c (_IO_padn): Likewise.
25157 * libio/iowpadn.c (_IO_wpadn): Likewise.
25158 * stdio-common/tst-put-error.c: Add copyright notice.
25159 (do_test): Add case for printing padded string.
25160 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
25161 _IO_padn returned error.
25162 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
25163 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
25166 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25168 * libio/libioP.h: Add comment note that the references to C++
25169 bits are now obsolete.
25171 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25173 * math/libm-test.inc (check_complex): Use asprintf.
25175 2012-11-14 Joseph Myers <joseph@codesourcery.com>
25177 * debug/pcprofiledump.c (print_version): Update copyright year.
25178 * malloc/memusagestat.c (print_version): Likewise.
25180 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
25183 * elf/Makefile (tests): Add tst-audit8.
25184 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
25185 ($(objpfx)tst-audit8.out): New target.
25186 (tst-audit8-ENV): New variable.
25187 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
25188 audit if l_reloc_result is NULL.
25189 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
25190 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
25191 * elf/tst-audit8.c: New file.
25193 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25195 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
25196 * misc/Makefile (CFLAGS-select.c): Define.
25197 * posix/Makefile (CFLAGS-pause.c): Define.
25199 2012-11-13 David S. Miller <davem@davemloft.net>
25201 * crypt/Makefile: Move test targets after toplevel Rules
25202 inclusion. Grab any necessary sysdep routines when linking.
25203 * crypt/md5.c (md5_process_block): Remove define, we will always
25204 name it __md5_process_block.
25205 (md5_finish_ctx): Update md5_process_block call.
25206 (md5_stream): Likewise.
25207 (md5_process_bytes): Likewise.
25208 (md5_process_block): Rename to __md5_process_block and move to ...
25209 * crypt/md5-block.c: ... here.
25210 * crypt/sha256.c (sha256_process_block): Move to ...
25211 * crypt/sha256-block.c: ... here.
25212 * crypt/sha512.c (sha512_process_block): Move to ...
25213 * crypt/sha512-block.c: ... here.
25214 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
25216 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
25217 * sysdeps/sparc/sparc64/multiarch/Makefile
25218 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
25220 (localedef-aux): Add md5 crypto assembler when in locale subdir.
25221 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
25223 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
25224 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
25225 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
25226 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
25227 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
25228 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
25229 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
25230 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
25231 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
25233 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
25234 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
25236 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
25238 2012-11-13 Joseph Myers <joseph@codesourcery.com>
25240 * timezone/tzselect.ksh: Update from tzcode git revision
25241 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
25242 * timezone/zdump.c: Likewise.
25243 * timezone/zic.c: Likewise.
25244 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
25245 in TZVERSION setting, not $(PKGVERSION).
25246 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
25247 REPORT_BUGS_TO settings.
25250 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
25253 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25255 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
25256 detection to immediately after _FP_ROUND().
25257 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
25260 2012-11-11 David S. Miller <davem@davemloft.net>
25262 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
25264 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
25265 __close rather than their public counterparts.
25267 2012-11-10 Joseph Myers <joseph@codesourcery.com>
25269 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
25271 [UNIX98] (sem_timedwait): Do not expect.
25272 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
25273 [XPG4 || UNIX98] (sockatmark): Do not expect.
25274 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
25275 (clock_getcpuclockid): Do not expect.
25276 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
25277 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
25279 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
25280 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
25281 [UNIX98] (vwscanf): Likewise.
25282 [UNIX98] (vswscanf): Likewise.
25284 2012-11-09 Joseph Myers <joseph@codesourcery.com>
25286 * timezone/version.h: Remove file.
25287 * timezone/README: Do not refer to version.h.
25288 * timezone/Makefile ($(objpfx)zic.o): New dependency on
25289 $(objpfx)version.h.
25290 ($(objpfx)zdump.o): Likewise.
25291 ($(objpfx)version.h): New target.
25293 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
25295 * timezone/README: Don't mention modification to tzselect.ksh.
25296 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
25297 work on unmodified tzselect.ksh. Substitute version numbers in
25300 * Makefile (format-me): Remove.
25301 (INSTALL): Adjust indentation. Use commands directly instead of
25302 using $(format-me).
25304 * aclocal.m4 (ACX_PKGVERSION): New macro.
25305 (ACX_BUGURL): Likewise.
25306 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
25307 (PKGVERSION): New AC_DEFINE_UNQUOTED.
25308 (REPORT_BUGS_TO): Likewise.
25309 * configure: Regenerated.
25310 * config.h.in (PKGVERSION): New macro.
25311 (REPORT_BUGS_TO): Likewise.
25312 * config.make.in (PKGVERSION): New variable.
25313 (PKGVERSION_TEXI): Likewise.
25314 (REPORT_BUGS_TO): Likewise.
25315 (REPORT_BUGS_TEXI): Likewise.
25316 * Makefile (format-me): Use -I$(common-objpfx)manual.
25317 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
25318 ($(common-objpfx)manual/%): New target.
25319 (manual/%): Remove target.
25320 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
25321 (print_version): Use PKGVERSION.
25322 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
25323 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
25324 and REPORT_BUGS_TO.
25325 ($(objpfx)xtrace): Likewise.
25326 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
25327 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
25328 (print_version): Use PKGVERSION.
25329 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
25330 (do_version): Use PKGVERSION.
25331 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
25333 (common-ldd-rewrite): Likewise.
25334 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
25335 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
25336 (print_version): Use PKGVERSION.
25337 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
25338 * elf/pldd.c (argp_program_bug_address): Remove variable.
25339 (more_help): New function.
25340 (argp): Use more_help.
25341 (print_version): Use PKGVERSION.
25342 * elf/sln.c (main): Use PKGVERSION.
25343 (usage): Use REPORT_BUGS_TO.
25344 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
25345 (top level): Use PKGVERSION.
25346 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
25347 (print_version): Use PKGVERSION.
25348 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
25349 (print_version): Use PKGVERSION.
25350 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
25351 (print_version): Use PKGVERSION.
25352 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
25353 (print_version): Use PKGVERSION.
25354 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
25355 (print_version): Use PKGVERSION.
25356 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
25357 (print_version): Use PKGVERSION.
25358 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
25360 ($(objpfx)memusage): Likewise.
25361 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
25362 (do_version): Use PKGVERSION.
25363 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
25364 (print_version): Use PKGVERSION.
25365 * malloc/mtrace.pl ($PACKAGE): Remove variable.
25366 ($PKGVERSION): New variable.
25367 ($REPORT_BUGS_TO): Likewise.
25368 (usage): Use $REPORT_BUGS_TO.
25369 (top level): Use $PKGVERSION.
25370 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
25371 ($(objpfx)pkgvers.texi): New rule.
25372 ($(objpfx)stamp-pkgvers): Likewise.
25373 * manual/install.texi: Include pkgvers.texi.
25374 (--with-pkgversion): Document new configure option.
25375 (--with-bugurl): Likewise.
25376 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
25377 than necessarily for this particular distribution. Use
25378 REPORT_BUGS_TO for where to report bugs.
25379 * INSTALL: Regenerated.
25380 * manual/libc.texinfo: Include pkgvers.texi.
25381 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
25382 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
25383 (print_version): Use PKGVERSION.
25384 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
25385 (print_version): Use PKGVERSION.
25386 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
25387 (print_version): Use PKGVERSION.
25388 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
25389 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
25391 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
25392 (print_version): Use PKGVERSION.
25393 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
25394 (print_version): Use PKGVERSION.
25395 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
25398 * timezone/checktab.awk: Update from tzcode 2012i.
25399 * timezone/ialloc.c: Likewise.
25400 * timezone/private.h: Likewise.
25401 * timezone/scheck.c: Likewise.
25402 * timezone/tzfile.h: Likewise.
25403 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
25404 (TZVERSION): Hardcode tzcode version number.
25405 * timezone/zdump.c: Update from tzcode 2012i.
25406 * timezone/zic.c: Likewise.
25407 * timezone/version.h: New file.
25408 * timezone/README: Describe version.h. Update upstream location.
25411 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
25412 (mktemp): Enable declaration.
25413 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
25414 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
25415 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
25416 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
25418 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
25420 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
25422 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
25424 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
25426 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
25430 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
25431 offset in buffer as u_int32_t not u_long. Consistently use memcpy
25432 for copies of such integer values.
25433 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25434 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25436 2012-11-09 Andreas Jaeger <aj@suse.de>
25438 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
25439 definitions and declarations that are provided by
25440 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25442 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25444 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
25445 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
25446 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
25449 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25451 * elf/elf.h: Update comment before AArch64 relocations.
25453 2012-11-07 David S. Miller <davem@davemloft.net>
25455 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
25456 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25457 (__start_context): Declare.
25458 (__makecontext_ret): Delete.
25459 (__makecontext): Hook up __start_context instead of
25461 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
25462 (sysdep_routines): Add __start_context when in stdlib.
25464 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25466 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
25467 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
25468 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
25470 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
25471 (READELF): New variable. Use it instead of hardcoded "readelf".
25473 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
25475 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
25476 * sysdeps/x86/Makefile: Here.
25477 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
25478 * sysdeps/x86/tst-xmmymm.sh: This.
25480 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25482 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
25484 [UNIX98] (pthread_barrier_t): Do not expect.
25485 [UNIX98] (pthread_barrierattr_t): Likewise.
25486 [UNIX98] (pthread_spinlock_t): Likewise.
25487 [UNIX98] (pthread_barrier_destroy): Likewise.
25488 [UNIX98] (pthread_barrier_init): Likewise.
25489 [UNIX98] (pthread_barrier_wait): Likewise.
25490 [UNIX98] (pthread_barrierattr_destroy): Likewise.
25491 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
25492 [UNIX98] (pthread_barrierattr_init): Likewise.
25493 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
25494 [UNIX98] (pthread_getcpuclockid): Likewise.
25495 [UNIX98] (pthread_mutex_timedlock): Likewise.
25496 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
25497 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
25498 [UNIX98] (pthread_sigmask): Likewise.
25499 [UNIX98] (pthread_spin_destroy): Likewise.
25500 [UNIX98] (pthread_spin_init): Likewise.
25501 [UNIX98] (pthread_spin_lock): Likewise.
25502 [UNIX98] (pthread_spin_trylock): Likewise.
25503 [UNIX98] (pthread_spin_unlock): Likewise.
25504 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
25506 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
25507 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
25508 [XPG3 || XPG4] (pthread_cond_t): Likewise.
25509 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
25510 [XPG3 || XPG4] (pthread_key_t): Likewise.
25511 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
25512 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
25513 [XPG3 || XPG4] (pthread_once_t): Likewise.
25514 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
25515 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
25516 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
25517 [XPG3 || XPG4] (pthread_t): Likewise.
25519 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
25521 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
25523 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
25524 Change function return type to int.
25526 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
25527 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
25528 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
25529 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
25530 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
25531 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
25532 [!POSIX] (posix_madvise): Likewise.
25533 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
25535 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
25536 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
25537 (mode_t): Likewise.
25538 (posix_mem_offset): Likewise.
25539 (posix_typed_mem_get_info): Likewise.
25540 (posix_typed_mem_open): Likewise.
25542 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
25543 Change condition to [XOPEN2K8].
25545 * conform/conformtest.pl: Preprocess allow-header data with -x c
25546 instead of from stdin.
25547 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
25548 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
25549 [C99-based standards] (cerfc): Likewise.
25550 [C99-based standards] (cexp2): Likewise.
25551 [C99-based standards] (cexpm1): Likewise.
25552 [C99-based standards] (clog10): Likewise.
25553 [C99-based standards] (clog1p): Likewise.
25554 [C99-based standards] (clog2): Likewise.
25555 [C99-based standards] (clgamma): Likewise.
25556 [C99-based standards] (ctgamma): Likewise.
25557 [C99-based standards] (cerff): Likewise.
25558 [C99-based standards] (cerfcf): Likewise.
25559 [C99-based standards] (cexp2f): Likewise.
25560 [C99-based standards] (cexpm1f): Likewise.
25561 [C99-based standards] (clog10f): Likewise.
25562 [C99-based standards] (clog1pf): Likewise.
25563 [C99-based standards] (clog2f): Likewise.
25564 [C99-based standards] (clgammaf): Likewise.
25565 [C99-based standards] (ctgammaf): Likewise.
25566 [C99-based standards] (cerfl): Likewise.
25567 [C99-based standards] (cerfcl): Likewise.
25568 [C99-based standards] (cexp2l): Likewise.
25569 [C99-based standards] (cexpm1l): Likewise.
25570 [C99-based standards] (clog10l): Likewise.
25571 [C99-based standards] (clog1pl): Likewise.
25572 [C99-based standards] (clog2l): Likewise.
25573 [C99-based standards] (clgammal): Likewise.
25574 [C99-based standards] (ctgammal): Likewise.
25575 * conform/data/inttypes.h-data [C99-based standards]: Include
25576 stdint.h-data. Remove all expectations for stdint.h contents.
25577 [C99-based standards] (PRI*): Do not allow.
25578 [C99-based standards] (SCN*): Likewise.
25579 [C99-based standards] (*_t): Likewise.
25580 [C99-based-standards] (PRId8): Expect macro.
25581 [C99-based-standards] (PRIi8): Likewise.
25582 [C99-based-standards] (PRIo8): Likewise.
25583 [C99-based-standards] (PRIu8): Likewise.
25584 [C99-based-standards] (PRIx8): Likewise.
25585 [C99-based-standards] (PRIX8): Likewise.
25586 [C99-based-standards] (SCNd8): Likewise.
25587 [C99-based-standards] (SCNi8): Likewise.
25588 [C99-based-standards] (SCNo8): Likewise.
25589 [C99-based-standards] (SCNu8): Likewise.
25590 [C99-based-standards] (SCNx8): Likewise.
25591 [C99-based-standards] (PRIdLEAST8): Likewise.
25592 [C99-based-standards] (PRIiLEAST8): Likewise.
25593 [C99-based-standards] (PRIoLEAST8): Likewise.
25594 [C99-based-standards] (PRIuLEAST8): Likewise.
25595 [C99-based-standards] (PRIxLEAST8): Likewise.
25596 [C99-based-standards] (PRIXLEAST8): Likewise.
25597 [C99-based-standards] (SCNdLEAST8): Likewise.
25598 [C99-based-standards] (SCNiLEAST8): Likewise.
25599 [C99-based-standards] (SCNoLEAST8): Likewise.
25600 [C99-based-standards] (SCNuLEAST8): Likewise.
25601 [C99-based-standards] (SCNxLEAST8): Likewise.
25602 [C99-based-standards] (PRIdFAST8): Likewise.
25603 [C99-based-standards] (PRIiFAST8): Likewise.
25604 [C99-based-standards] (PRIoFAST8): Likewise.
25605 [C99-based-standards] (PRIuFAST8): Likewise.
25606 [C99-based-standards] (PRIxFAST8): Likewise.
25607 [C99-based-standards] (PRIXFAST8): Likewise.
25608 [C99-based-standards] (SCNdFAST8): Likewise.
25609 [C99-based-standards] (SCNiFAST8): Likewise.
25610 [C99-based-standards] (SCNoFAST8): Likewise.
25611 [C99-based-standards] (SCNuFAST8): Likewise.
25612 [C99-based-standards] (SCNxFAST8): Likewise.
25613 [C99-based-standards] (PRId16): Likewise.
25614 [C99-based-standards] (PRIi16): Likewise.
25615 [C99-based-standards] (PRIo16): Likewise.
25616 [C99-based-standards] (PRIu16): Likewise.
25617 [C99-based-standards] (PRIx16): Likewise.
25618 [C99-based-standards] (PRIX16): Likewise.
25619 [C99-based-standards] (SCNd16): Likewise.
25620 [C99-based-standards] (SCNi16): Likewise.
25621 [C99-based-standards] (SCNo16): Likewise.
25622 [C99-based-standards] (SCNu16): Likewise.
25623 [C99-based-standards] (SCNx16): Likewise.
25624 [C99-based-standards] (PRIdLEAST16): Likewise.
25625 [C99-based-standards] (PRIiLEAST16): Likewise.
25626 [C99-based-standards] (PRIoLEAST16): Likewise.
25627 [C99-based-standards] (PRIuLEAST16): Likewise.
25628 [C99-based-standards] (PRIxLEAST16): Likewise.
25629 [C99-based-standards] (PRIXLEAST16): Likewise.
25630 [C99-based-standards] (SCNdLEAST16): Likewise.
25631 [C99-based-standards] (SCNiLEAST16): Likewise.
25632 [C99-based-standards] (SCNoLEAST16): Likewise.
25633 [C99-based-standards] (SCNuLEAST16): Likewise.
25634 [C99-based-standards] (SCNxLEAST16): Likewise.
25635 [C99-based-standards] (PRIdFAST16): Likewise.
25636 [C99-based-standards] (PRIiFAST16): Likewise.
25637 [C99-based-standards] (PRIoFAST16): Likewise.
25638 [C99-based-standards] (PRIuFAST16): Likewise.
25639 [C99-based-standards] (PRIxFAST16): Likewise.
25640 [C99-based-standards] (PRIXFAST16): Likewise.
25641 [C99-based-standards] (SCNdFAST16): Likewise.
25642 [C99-based-standards] (SCNiFAST16): Likewise.
25643 [C99-based-standards] (SCNoFAST16): Likewise.
25644 [C99-based-standards] (SCNuFAST16): Likewise.
25645 [C99-based-standards] (SCNxFAST16): Likewise.
25646 [C99-based-standards] (PRId32): Likewise.
25647 [C99-based-standards] (PRIi32): Likewise.
25648 [C99-based-standards] (PRIo32): Likewise.
25649 [C99-based-standards] (PRIu32): Likewise.
25650 [C99-based-standards] (PRIx32): Likewise.
25651 [C99-based-standards] (PRIX32): Likewise.
25652 [C99-based-standards] (SCNd32): Likewise.
25653 [C99-based-standards] (SCNi32): Likewise.
25654 [C99-based-standards] (SCNo32): Likewise.
25655 [C99-based-standards] (SCNu32): Likewise.
25656 [C99-based-standards] (SCNx32): Likewise.
25657 [C99-based-standards] (PRIdLEAST32): Likewise.
25658 [C99-based-standards] (PRIiLEAST32): Likewise.
25659 [C99-based-standards] (PRIoLEAST32): Likewise.
25660 [C99-based-standards] (PRIuLEAST32): Likewise.
25661 [C99-based-standards] (PRIxLEAST32): Likewise.
25662 [C99-based-standards] (PRIXLEAST32): Likewise.
25663 [C99-based-standards] (SCNdLEAST32): Likewise.
25664 [C99-based-standards] (SCNiLEAST32): Likewise.
25665 [C99-based-standards] (SCNoLEAST32): Likewise.
25666 [C99-based-standards] (SCNuLEAST32): Likewise.
25667 [C99-based-standards] (SCNxLEAST32): Likewise.
25668 [C99-based-standards] (PRIdFAST32): Likewise.
25669 [C99-based-standards] (PRIiFAST32): Likewise.
25670 [C99-based-standards] (PRIoFAST32): Likewise.
25671 [C99-based-standards] (PRIuFAST32): Likewise.
25672 [C99-based-standards] (PRIxFAST32): Likewise.
25673 [C99-based-standards] (PRIXFAST32): Likewise.
25674 [C99-based-standards] (SCNdFAST32): Likewise.
25675 [C99-based-standards] (SCNiFAST32): Likewise.
25676 [C99-based-standards] (SCNoFAST32): Likewise.
25677 [C99-based-standards] (SCNuFAST32): Likewise.
25678 [C99-based-standards] (SCNxFAST32): Likewise.
25679 [C99-based-standards] (PRId64): Likewise.
25680 [C99-based-standards] (PRIi64): Likewise.
25681 [C99-based-standards] (PRIo64): Likewise.
25682 [C99-based-standards] (PRIu64): Likewise.
25683 [C99-based-standards] (PRIx64): Likewise.
25684 [C99-based-standards] (PRIX64): Likewise.
25685 [C99-based-standards] (SCNd64): Likewise.
25686 [C99-based-standards] (SCNi64): Likewise.
25687 [C99-based-standards] (SCNo64): Likewise.
25688 [C99-based-standards] (SCNu64): Likewise.
25689 [C99-based-standards] (SCNx64): Likewise.
25690 [C99-based-standards] (PRIdLEAST64): Likewise.
25691 [C99-based-standards] (PRIiLEAST64): Likewise.
25692 [C99-based-standards] (PRIoLEAST64): Likewise.
25693 [C99-based-standards] (PRIuLEAST64): Likewise.
25694 [C99-based-standards] (PRIxLEAST64): Likewise.
25695 [C99-based-standards] (PRIXLEAST64): Likewise.
25696 [C99-based-standards] (SCNdLEAST64): Likewise.
25697 [C99-based-standards] (SCNiLEAST64): Likewise.
25698 [C99-based-standards] (SCNoLEAST64): Likewise.
25699 [C99-based-standards] (SCNuLEAST64): Likewise.
25700 [C99-based-standards] (SCNxLEAST64): Likewise.
25701 [C99-based-standards] (PRIdFAST64): Likewise.
25702 [C99-based-standards] (PRIiFAST64): Likewise.
25703 [C99-based-standards] (PRIoFAST64): Likewise.
25704 [C99-based-standards] (PRIuFAST64): Likewise.
25705 [C99-based-standards] (PRIxFAST64): Likewise.
25706 [C99-based-standards] (PRIXFAST64): Likewise.
25707 [C99-based-standards] (SCNdFAST64): Likewise.
25708 [C99-based-standards] (SCNiFAST64): Likewise.
25709 [C99-based-standards] (SCNoFAST64): Likewise.
25710 [C99-based-standards] (SCNuFAST64): Likewise.
25711 [C99-based-standards] (SCNxFAST64): Likewise.
25712 [C99-based-standards] (PRIdMAX): Likewise.
25713 [C99-based-standards] (PRIiMAX): Likewise.
25714 [C99-based-standards] (PRIoMAX): Likewise.
25715 [C99-based-standards] (PRIuMAX): Likewise.
25716 [C99-based-standards] (PRIxMAX): Likewise.
25717 [C99-based-standards] (PRIXMAX): Likewise.
25718 [C99-based-standards] (SCNdMAX): Likewise.
25719 [C99-based-standards] (SCNiMAX): Likewise.
25720 [C99-based-standards] (SCNoMAX): Likewise.
25721 [C99-based-standards] (SCNuMAX): Likewise.
25722 [C99-based-standards] (SCNxMAX): Likewise.
25723 [C99-based-standards] (PRIdPTR): Likewise.
25724 [C99-based-standards] (PRIiPTR): Likewise.
25725 [C99-based-standards] (PRIoPTR): Likewise.
25726 [C99-based-standards] (PRIuPTR): Likewise.
25727 [C99-based-standards] (PRIxPTR): Likewise.
25728 [C99-based-standards] (PRIXPTR): Likewise.
25729 [C99-based-standards] (SCNdPTR): Likewise.
25730 [C99-based-standards] (SCNiPTR): Likewise.
25731 [C99-based-standards] (SCNoPTR): Likewise.
25732 [C99-based-standards] (SCNuPTR): Likewise.
25733 [C99-based-standards] (SCNxPTR): Likewise.
25734 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
25736 * conform/data/stdint.h-data: Update comments to clarify
25738 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
25740 [C99-based standards] (INT8_MAX): Likewise.
25741 [C99-based standards] (INT16_MIN): Likewise.
25742 [C99-based standards] (INT16_MAX): Likewise.
25743 [C99-based standards] (INT32_MIN): Likewise.
25744 [C99-based standards] (INT32_MAX): Likewise.
25745 [C99-based standards] (INT64_MIN): Likewise.
25746 [C99-based standards] (INT64_MAX): Likewise.
25747 [C99-based standards] (UINT8_MAX): Likewise.
25748 [C99-based standards] (UINT16_MAX): Likewise.
25749 [C99-based standards] (UINT32_MAX): Likewise.
25750 [C99-based standards] (UINT64_MAX): Likewise.
25751 [C99-based standards] (INT_LEAST8_MIN): Likewise.
25752 [C99-based standards] (INT_LEAST8_MAX): Likewise.
25753 [C99-based standards] (INT_LEAST16_MIN): Likewise.
25754 [C99-based standards] (INT_LEAST16_MAX): Likewise.
25755 [C99-based standards] (INT_LEAST32_MIN): Likewise.
25756 [C99-based standards] (INT_LEAST32_MAX): Likewise.
25757 [C99-based standards] (INT_LEAST64_MIN): Likewise.
25758 [C99-based standards] (INT_LEAST64_MAX): Likewise.
25759 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
25760 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
25761 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
25762 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
25763 [C99-based standards] (INT_FAST8_MIN): Likewise.
25764 [C99-based standards] (INT_FAST8_MAX): Likewise.
25765 [C99-based standards] (INT_FAST16_MIN): Likewise.
25766 [C99-based standards] (INT_FAST16_MAX): Likewise.
25767 [C99-based standards] (INT_FAST32_MIN): Likewise.
25768 [C99-based standards] (INT_FAST32_MAX): Likewise.
25769 [C99-based standards] (INT_FAST64_MIN): Likewise.
25770 [C99-based standards] (INT_FAST64_MAX): Likewise.
25771 [C99-based standards] (UINT_FAST8_MAX): Likewise.
25772 [C99-based standards] (UINT_FAST16_MAX): Likewise.
25773 [C99-based standards] (UINT_FAST32_MAX): Likewise.
25774 [C99-based standards] (UINT_FAST64_MAX): Likewise.
25775 [C99-based standards] (INTPTR_MIN): Likewise.
25776 [C99-based standards] (INTPTR_MAX): Likewise.
25777 [C99-based standards] (UINTPTR_MAX): Likewise.
25778 [C99-based standards] (INTMAX_MIN): Likewise.
25779 [C99-based standards] (INTMAX_MAX): Likewise.
25780 [C99-based standards] (UINTMAX_MAX): Likewise.
25781 [C99-based standards] (PTRDIFF_MIN): Likewise.
25782 [C99-based standards] (PTRDIFF_MAX): Likewise.
25783 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
25784 [C99-based standards] (SIZE_MAX): Likewise.
25785 [C99-based standards] (WCHAR_MAX): Likewise.
25786 [C99-based standards] (WINT_MAX): Likewise.
25787 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
25788 constraint on value.
25789 [C99-based standards] (WCHAR_MIN): Likewise.
25790 [C99-based standards] (WINT_MIN): Likewise.
25791 [C99-based standards] (*_t): Allow.
25792 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
25793 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
25794 Include math.h-data and complex.h-data. Remove all expectations
25795 of math.h and complex.h contents.
25796 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
25798 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
25799 (struct tm): Expect tag.
25800 [C99-based-standards] (wcstof): Expect function.
25801 [C99-based-standards] (wcstold): Likewise.
25802 [C99-based-standards] (wcstoll): Likewise.
25803 [C99-based-standards] (wcstoull): Likewise.
25804 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
25805 macro-int-constant. Specify type.
25806 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
25807 constraint on value.
25808 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25810 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
25812 [ISO C standards]: Do not allow headers.
25813 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
25814 wcs[abcdefghijklmnopqrstuvwxyz]*.
25815 [ISO C standards] (*_t): Do not allow.
25816 * conform/data/wctype.h-data [C99-based standards] (iswblank):
25818 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
25819 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25821 [ISO C standards]: Do not allow headers.
25822 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
25823 is[abcdefghijklmnopqrstuvwxyz]*.
25824 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
25825 to[abcdefghijklmnopqrstuvwxyz]*.
25826 [ISO C standards] (*_t): Do not allow.
25827 * conform/data/stdalign.h-data: New file.
25828 * conform/data/stdbool.h-data: Likewise.
25829 * conform/data/stdnoreturn.h-data: Likewise.
25831 2012-11-07 Roland McGrath <roland@hack.frob.com>
25834 * manual/filesys.texi (Directory Entries): Typo fix.
25835 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
25837 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25839 * elf/elf.h (EM_AARCH64): New macro.
25840 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
25841 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
25842 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
25843 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
25844 (R_AARCH64_TLSDESC): Likewise.
25845 (NT_ARM_TLS): Likewise.
25846 (NT_ARM_HW_BREAK): Likewise.
25847 (NT_ARM_HW_WATCH): Likewise.
25849 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25852 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
25853 (__ieee754_powl): Saturate nonzero exponents with absolute value
25854 below 0x1p-79 to +/- 0x1p-79.
25855 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
25856 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
25857 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
25858 nonzero exponents with absolute value below 0x1p-32 to +/-
25860 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
25861 (__ieee754_powl): Saturate nonzero exponents with absolute value
25862 below 0x1p-79 to +/- 0x1p-79.
25863 * math/libm-test.inc (pow_test): Add more tests.
25865 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25867 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
25868 _dl_s390_cap_flags with kernel. Increase string length.
25869 (_dl_s390_platforms): Add z196 and zEC12.
25871 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25873 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
25874 Change XOPEN21K to XOPEN2K.
25876 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
25878 * string/memmove.c: Use memcpy when possible.
25880 2012-11-06 Andreas Jaeger <aj@suse.de>
25882 * po/eo.po: Update from translation team.
25884 2012-11-06 Joseph Myers <joseph@codesourcery.com>
25887 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
25888 exponent and small x and y exponents, scale x or y up. Increase
25889 by 2 the exponent used in scaling up.
25890 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25891 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25892 * math/libm-test.inc (fma_test): Add more tests.
25893 (fma_test_towardzero): Likewise.
25894 (fma_test_downward): Likewise.
25895 (fma_test_upward): Likewise.
25897 2012-11-05 Joseph Myers <joseph@codesourcery.com>
25900 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
25904 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
25905 namespace for names of struct fields.
25906 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
25908 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25909 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
25911 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
25914 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
25916 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25918 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
25922 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
25925 2012-11-04 Joseph Myers <joseph@codesourcery.com>
25928 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
25929 definitely overflow as x * y not x * y + z.
25930 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25931 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25932 * math/libm-test.inc (fma_test): Add more tests.
25933 (fma_test_towardzero): Likewise.
25934 (fma_test_downward): Likewise.
25935 (fma_test_upward): Likewise.
25937 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25941 * include/stub-tag.h: Remove file.
25942 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
25944 * manual/maint.texi (Porting): Don't reference it.
25945 * Makerules ($(objpfx)stubs): Likewise.
25946 * dirent/closedir.c: Don't include <stub-tag.h>.
25947 * dirent/dirfd.c: Likewise.
25948 * dirent/fdopendir.c: Likewise.
25949 * dirent/getdents.c: Likewise.
25950 * dirent/getdents64.c: Likewise.
25951 * dirent/opendir.c: Likewise.
25952 * dirent/readdir.c: Likewise.
25953 * dirent/readdir64.c: Likewise.
25954 * dirent/readdir64_r.c: Likewise.
25955 * dirent/readdir_r.c: Likewise.
25956 * dirent/rewinddir.c: Likewise.
25957 * dirent/seekdir.c: Likewise.
25958 * dirent/telldir.c: Likewise.
25959 * gmon/profil.c: Likewise.
25960 * grp/setgroups.c: Likewise.
25961 * inet/if_index.c: Likewise.
25962 * io/access.c: Likewise.
25963 * io/chdir.c: Likewise.
25964 * io/chmod.c: Likewise.
25965 * io/chown.c: Likewise.
25966 * io/close.c: Likewise.
25967 * io/dup.c: Likewise.
25968 * io/dup2.c: Likewise.
25969 * io/dup3.c: Likewise.
25970 * io/euidaccess.c: Likewise.
25971 * io/faccessat.c: Likewise.
25972 * io/fchdir.c: Likewise.
25973 * io/fchmod.c: Likewise.
25974 * io/fchmodat.c: Likewise.
25975 * io/fchown.c: Likewise.
25976 * io/fchownat.c: Likewise.
25977 * io/fcntl.c: Likewise.
25978 * io/flock.c: Likewise.
25979 * io/fstatfs.c: Likewise.
25980 * io/fstatfs64.c: Likewise.
25981 * io/fstatvfs.c: Likewise.
25982 * io/fstatvfs64.c: Likewise.
25983 * io/futimens.c: Likewise.
25984 * io/fxstat.c: Likewise.
25985 * io/fxstat64.c: Likewise.
25986 * io/fxstatat.c: Likewise.
25987 * io/fxstatat64.c: Likewise.
25988 * io/getcwd.c: Likewise.
25989 * io/isatty.c: Likewise.
25990 * io/lchmod.c: Likewise.
25991 * io/lchown.c: Likewise.
25992 * io/link.c: Likewise.
25993 * io/linkat.c: Likewise.
25994 * io/lseek.c: Likewise.
25995 * io/lseek64.c: Likewise.
25996 * io/lxstat64.c: Likewise.
25997 * io/mkdir.c: Likewise.
25998 * io/mkdirat.c: Likewise.
25999 * io/mkfifo.c: Likewise.
26000 * io/mkfifoat.c: Likewise.
26001 * io/open.c: Likewise.
26002 * io/open64.c: Likewise.
26003 * io/openat.c: Likewise.
26004 * io/openat64.c: Likewise.
26005 * io/pipe.c: Likewise.
26006 * io/pipe2.c: Likewise.
26007 * io/poll.c: Likewise.
26008 * io/posix_fadvise.c: Likewise.
26009 * io/posix_fadvise64.c: Likewise.
26010 * io/posix_fallocate.c: Likewise.
26011 * io/posix_fallocate64.c: Likewise.
26012 * io/read.c: Likewise.
26013 * io/readlink.c: Likewise.
26014 * io/readlinkat.c: Likewise.
26015 * io/rmdir.c: Likewise.
26016 * io/sendfile.c: Likewise.
26017 * io/sendfile64.c: Likewise.
26018 * io/statfs.c: Likewise.
26019 * io/statfs64.c: Likewise.
26020 * io/statvfs.c: Likewise.
26021 * io/statvfs64.c: Likewise.
26022 * io/symlink.c: Likewise.
26023 * io/symlinkat.c: Likewise.
26024 * io/ttyname.c: Likewise.
26025 * io/ttyname_r.c: Likewise.
26026 * io/umask.c: Likewise.
26027 * io/unlink.c: Likewise.
26028 * io/unlinkat.c: Likewise.
26029 * io/utime.c: Likewise.
26030 * io/utimensat.c: Likewise.
26031 * io/write.c: Likewise.
26032 * io/xmknod.c: Likewise.
26033 * io/xmknodat.c: Likewise.
26034 * io/xstat.c: Likewise.
26035 * io/xstat64.c: Likewise.
26036 * login/getpt.c: Likewise.
26037 * login/grantpt.c: Likewise.
26038 * login/unlockpt.c: Likewise.
26039 * math/e_acoshl.c: Likewise.
26040 * math/e_acosl.c: Likewise.
26041 * math/e_asinl.c: Likewise.
26042 * math/e_atan2l.c: Likewise.
26043 * math/e_atanhl.c: Likewise.
26044 * math/e_coshl.c: Likewise.
26045 * math/e_expl.c: Likewise.
26046 * math/e_fmodl.c: Likewise.
26047 * math/e_gammal_r.c: Likewise.
26048 * math/e_hypotl.c: Likewise.
26049 * math/e_j0l.c: Likewise.
26050 * math/e_j1l.c: Likewise.
26051 * math/e_jnl.c: Likewise.
26052 * math/e_lgammal_r.c: Likewise.
26053 * math/e_log10l.c: Likewise.
26054 * math/e_log2l.c: Likewise.
26055 * math/e_logl.c: Likewise.
26056 * math/e_powl.c: Likewise.
26057 * math/e_rem_pio2l.c: Likewise.
26058 * math/e_sinhl.c: Likewise.
26059 * math/e_sqrtl.c: Likewise.
26060 * math/fclrexcpt.c: Likewise.
26061 * math/fedisblxcpt.c: Likewise.
26062 * math/feenablxcpt.c: Likewise.
26063 * math/fegetenv.c: Likewise.
26064 * math/fegetexcept.c: Likewise.
26065 * math/fegetround.c: Likewise.
26066 * math/feholdexcpt.c: Likewise.
26067 * math/fesetenv.c: Likewise.
26068 * math/fesetround.c: Likewise.
26069 * math/feupdateenv.c: Likewise.
26070 * math/fgetexcptflg.c: Likewise.
26071 * math/fraiseexcpt.c: Likewise.
26072 * math/fsetexcptflg.c: Likewise.
26073 * math/ftestexcept.c: Likewise.
26074 * math/k_cosl.c: Likewise.
26075 * math/k_rem_pio2l.c: Likewise.
26076 * math/k_sinl.c: Likewise.
26077 * math/k_tanl.c: Likewise.
26078 * math/s_asinhl.c: Likewise.
26079 * math/s_atanl.c: Likewise.
26080 * math/s_cbrtl.c: Likewise.
26081 * math/s_erfl.c: Likewise.
26082 * math/s_expm1l.c: Likewise.
26083 * math/s_log1pl.c: Likewise.
26084 * math/s_tanhl.c: Likewise.
26085 * misc/acct.c: Likewise.
26086 * misc/brk.c: Likewise.
26087 * misc/chflags.c: Likewise.
26088 * misc/chroot.c: Likewise.
26089 * misc/fchflags.c: Likewise.
26090 * misc/fgetxattr.c: Likewise.
26091 * misc/flistxattr.c: Likewise.
26092 * misc/fremovexattr.c: Likewise.
26093 * misc/fsetxattr.c: Likewise.
26094 * misc/fsync.c: Likewise.
26095 * misc/ftruncate.c: Likewise.
26096 * misc/futimes.c: Likewise.
26097 * misc/futimesat.c: Likewise.
26098 * misc/getdomain.c: Likewise.
26099 * misc/getdtsz.c: Likewise.
26100 * misc/gethostid.c: Likewise.
26101 * misc/gethostname.c: Likewise.
26102 * misc/getloadavg.c: Likewise.
26103 * misc/getpagesize.c: Likewise.
26104 * misc/getsysstats.c: Likewise.
26105 * misc/getxattr.c: Likewise.
26106 * misc/gtty.c: Likewise.
26107 * misc/ioctl.c: Likewise.
26108 * misc/lgetxattr.c: Likewise.
26109 * misc/listxattr.c: Likewise.
26110 * misc/llistxattr.c: Likewise.
26111 * misc/lremovexattr.c: Likewise.
26112 * misc/lsetxattr.c: Likewise.
26113 * misc/lutimes.c: Likewise.
26114 * misc/madvise.c: Likewise.
26115 * misc/mincore.c: Likewise.
26116 * misc/mlock.c: Likewise.
26117 * misc/mlockall.c: Likewise.
26118 * misc/mmap.c: Likewise.
26119 * misc/mprotect.c: Likewise.
26120 * misc/msync.c: Likewise.
26121 * misc/munlock.c: Likewise.
26122 * misc/munlockall.c: Likewise.
26123 * misc/munmap.c: Likewise.
26124 * misc/preadv.c: Likewise.
26125 * misc/preadv64.c: Likewise.
26126 * misc/ptrace.c: Likewise.
26127 * misc/pwritev.c: Likewise.
26128 * misc/pwritev64.c: Likewise.
26129 * misc/readv.c: Likewise.
26130 * misc/reboot.c: Likewise.
26131 * misc/remap_file_pages.c: Likewise.
26132 * misc/removexattr.c: Likewise.
26133 * misc/revoke.c: Likewise.
26134 * misc/select.c: Likewise.
26135 * misc/setdomain.c: Likewise.
26136 * misc/setegid.c: Likewise.
26137 * misc/seteuid.c: Likewise.
26138 * misc/sethostid.c: Likewise.
26139 * misc/sethostname.c: Likewise.
26140 * misc/setregid.c: Likewise.
26141 * misc/setreuid.c: Likewise.
26142 * misc/setxattr.c: Likewise.
26143 * misc/sstk.c: Likewise.
26144 * misc/stty.c: Likewise.
26145 * misc/swapoff.c: Likewise.
26146 * misc/swapon.c: Likewise.
26147 * misc/sync.c: Likewise.
26148 * misc/syncfs.c: Likewise.
26149 * misc/syscall.c: Likewise.
26150 * misc/truncate.c: Likewise.
26151 * misc/ualarm.c: Likewise.
26152 * misc/usleep.c: Likewise.
26153 * misc/ustat.c: Likewise.
26154 * misc/utimes.c: Likewise.
26155 * misc/vhangup.c: Likewise.
26156 * misc/writev.c: Likewise.
26157 * posix/_exit.c: Likewise.
26158 * posix/alarm.c: Likewise.
26159 * posix/execve.c: Likewise.
26160 * posix/fexecve.c: Likewise.
26161 * posix/fork.c: Likewise.
26162 * posix/fpathconf.c: Likewise.
26163 * posix/getaddrinfo.c: Likewise.
26164 * posix/getegid.c: Likewise.
26165 * posix/geteuid.c: Likewise.
26166 * posix/getgid.c: Likewise.
26167 * posix/getgroups.c: Likewise.
26168 * posix/getlogin.c: Likewise.
26169 * posix/getlogin_r.c: Likewise.
26170 * posix/getpgid.c: Likewise.
26171 * posix/getpid.c: Likewise.
26172 * posix/getppid.c: Likewise.
26173 * posix/getresgid.c: Likewise.
26174 * posix/getresuid.c: Likewise.
26175 * posix/getsid.c: Likewise.
26176 * posix/getuid.c: Likewise.
26177 * posix/glob64.c: Likewise.
26178 * posix/nanosleep.c: Likewise.
26179 * posix/pathconf.c: Likewise.
26180 * posix/pause.c: Likewise.
26181 * posix/posix_madvise.c: Likewise.
26182 * posix/pread.c: Likewise.
26183 * posix/pread64.c: Likewise.
26184 * posix/pwrite.c: Likewise.
26185 * posix/pwrite64.c: Likewise.
26186 * posix/sched_getaffinity.c: Likewise.
26187 * posix/sched_getp.c: Likewise.
26188 * posix/sched_gets.c: Likewise.
26189 * posix/sched_primax.c: Likewise.
26190 * posix/sched_primin.c: Likewise.
26191 * posix/sched_rr_gi.c: Likewise.
26192 * posix/sched_setaffinity.c: Likewise.
26193 * posix/sched_setp.c: Likewise.
26194 * posix/sched_sets.c: Likewise.
26195 * posix/sched_yield.c: Likewise.
26196 * posix/setgid.c: Likewise.
26197 * posix/setlogin.c: Likewise.
26198 * posix/setpgid.c: Likewise.
26199 * posix/setresgid.c: Likewise.
26200 * posix/setresuid.c: Likewise.
26201 * posix/setsid.c: Likewise.
26202 * posix/setuid.c: Likewise.
26203 * posix/sleep.c: Likewise.
26204 * posix/spawni.c: Likewise.
26205 * posix/sysconf.c: Likewise.
26206 * posix/times.c: Likewise.
26207 * posix/wait.c: Likewise.
26208 * posix/wait3.c: Likewise.
26209 * posix/wait4.c: Likewise.
26210 * posix/waitpid.c: Likewise.
26211 * resolv/gai_sigqueue.c: Likewise.
26212 * resource/getpriority.c: Likewise.
26213 * resource/getrlimit.c: Likewise.
26214 * resource/getrusage.c: Likewise.
26215 * resource/nice.c: Likewise.
26216 * resource/setpriority.c: Likewise.
26217 * resource/setrlimit.c: Likewise.
26218 * resource/ulimit.c: Likewise.
26219 * rt/aio_cancel.c: Likewise.
26220 * rt/aio_fsync.c: Likewise.
26221 * rt/aio_read.c: Likewise.
26222 * rt/aio_sigqueue.c: Likewise.
26223 * rt/aio_suspend.c: Likewise.
26224 * rt/aio_write.c: Likewise.
26225 * rt/clock_getres.c: Likewise.
26226 * rt/clock_gettime.c: Likewise.
26227 * rt/clock_nanosleep.c: Likewise.
26228 * rt/clock_settime.c: Likewise.
26229 * rt/lio_listio.c: Likewise.
26230 * rt/mq_close.c: Likewise.
26231 * rt/mq_getattr.c: Likewise.
26232 * rt/mq_notify.c: Likewise.
26233 * rt/mq_open.c: Likewise.
26234 * rt/mq_receive.c: Likewise.
26235 * rt/mq_send.c: Likewise.
26236 * rt/mq_setattr.c: Likewise.
26237 * rt/mq_timedreceive.c: Likewise.
26238 * rt/mq_timedsend.c: Likewise.
26239 * rt/mq_unlink.c: Likewise.
26240 * rt/shm_open.c: Likewise.
26241 * rt/shm_unlink.c: Likewise.
26242 * rt/timer_create.c: Likewise.
26243 * rt/timer_delete.c: Likewise.
26244 * rt/timer_getoverr.c: Likewise.
26245 * rt/timer_gettime.c: Likewise.
26246 * rt/timer_settime.c: Likewise.
26247 * setjmp/__longjmp.c: Likewise.
26248 * setjmp/setjmp.c: Likewise.
26249 * signal/kill.c: Likewise.
26250 * signal/killpg.c: Likewise.
26251 * signal/raise.c: Likewise.
26252 * signal/sigaction.c: Likewise.
26253 * signal/sigaltstack.c: Likewise.
26254 * signal/sigblock.c: Likewise.
26255 * signal/sigignore.c: Likewise.
26256 * signal/sigintr.c: Likewise.
26257 * signal/signal.c: Likewise.
26258 * signal/sigpause.c: Likewise.
26259 * signal/sigpending.c: Likewise.
26260 * signal/sigqueue.c: Likewise.
26261 * signal/sigreturn.c: Likewise.
26262 * signal/sigset.c: Likewise.
26263 * signal/sigsetmask.c: Likewise.
26264 * signal/sigstack.c: Likewise.
26265 * signal/sigsuspend.c: Likewise.
26266 * signal/sigtimedwait.c: Likewise.
26267 * signal/sigvec.c: Likewise.
26268 * signal/sigwait.c: Likewise.
26269 * signal/sigwaitinfo.c: Likewise.
26270 * signal/sysv_signal.c: Likewise.
26271 * socket/accept.c: Likewise.
26272 * socket/accept4.c: Likewise.
26273 * socket/bind.c: Likewise.
26274 * socket/connect.c: Likewise.
26275 * socket/getpeername.c: Likewise.
26276 * socket/getsockname.c: Likewise.
26277 * socket/getsockopt.c: Likewise.
26278 * socket/isfdtype.c: Likewise.
26279 * socket/listen.c: Likewise.
26280 * socket/recv.c: Likewise.
26281 * socket/recvfrom.c: Likewise.
26282 * socket/recvmsg.c: Likewise.
26283 * socket/send.c: Likewise.
26284 * socket/sendmsg.c: Likewise.
26285 * socket/sendto.c: Likewise.
26286 * socket/setsockopt.c: Likewise.
26287 * socket/shutdown.c: Likewise.
26288 * socket/sockatmark.c: Likewise.
26289 * socket/socket.c: Likewise.
26290 * socket/socketpair.c: Likewise.
26291 * stdio-common/ctermid.c: Likewise.
26292 * stdio-common/cuserid.c: Likewise.
26293 * stdio-common/remove.c: Likewise.
26294 * stdio-common/rename.c: Likewise.
26295 * stdio-common/renameat.c: Likewise.
26296 * stdio-common/tempname.c: Likewise.
26297 * stdlib/getcontext.c: Likewise.
26298 * stdlib/makecontext.c: Likewise.
26299 * stdlib/setcontext.c: Likewise.
26300 * stdlib/swapcontext.c: Likewise.
26301 * stdlib/system.c: Likewise.
26302 * streams/fattach.c: Likewise.
26303 * streams/fdetach.c: Likewise.
26304 * streams/getmsg.c: Likewise.
26305 * streams/getpmsg.c: Likewise.
26306 * streams/putmsg.c: Likewise.
26307 * streams/putpmsg.c: Likewise.
26308 * sysdeps/unix/bsd/getpt.c: Likewise.
26309 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
26310 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
26311 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26314 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
26315 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26316 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26317 * sysvipc/msgctl.c: Likewise.
26318 * sysvipc/msgget.c: Likewise.
26319 * sysvipc/msgrcv.c: Likewise.
26320 * sysvipc/msgsnd.c: Likewise.
26321 * sysvipc/semctl.c: Likewise.
26322 * sysvipc/semget.c: Likewise.
26323 * sysvipc/semop.c: Likewise.
26324 * sysvipc/semtimedop.c: Likewise.
26325 * sysvipc/shmat.c: Likewise.
26326 * sysvipc/shmctl.c: Likewise.
26327 * sysvipc/shmdt.c: Likewise.
26328 * sysvipc/shmget.c: Likewise.
26329 * termios/tcdrain.c: Likewise.
26330 * termios/tcflow.c: Likewise.
26331 * termios/tcflush.c: Likewise.
26332 * termios/tcgetattr.c: Likewise.
26333 * termios/tcgetpgrp.c: Likewise.
26334 * termios/tcsendbrk.c: Likewise.
26335 * termios/tcsetattr.c: Likewise.
26336 * termios/tcsetpgrp.c: Likewise.
26337 * time/adjtime.c: Likewise.
26338 * time/clock.c: Likewise.
26339 * time/getitimer.c: Likewise.
26340 * time/gettimeofday.c: Likewise.
26341 * time/setitimer.c: Likewise.
26342 * time/settimeofday.c: Likewise.
26343 * time/stime.c: Likewise.
26344 * time/time.c: Likewise.
26346 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
26348 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
26351 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
26353 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
26355 2012-11-03 Joseph Myers <joseph@codesourcery.com>
26358 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
26359 FE_TONEAREST before applying Dekker multiplication and Knuth
26360 addition. Clear inexact exceptions and check for exact zero
26361 results afterwards.
26362 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26363 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26364 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26365 * math/libm-test.inc (fma_test): Add more tests.
26366 (fma_test_towardzero): Likewise.
26367 (fma_test_downward): Likewise.
26368 (fma_test_upward): Likewise.
26369 * sysdeps/generic/math_private.h (default_libc_fesetround): New
26371 (libc_fesetround): New macro.
26372 (libc_fesetroundf): Likewise.
26373 (libc_fesetroundl): Likewise.
26374 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
26376 (libc_fesetround_387): Likewise.
26377 (libc_fesetroundf): New macro.
26378 (libc_fesetround): Likewise.
26379 (libc_fesetroundl): Likewise.
26380 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
26382 (libc_fesetroundf): New macro.
26383 (libc_fesetround): Likewise.
26384 (libc_fesetroundl): Likewise.
26385 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
26386 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
26387 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
26389 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
26390 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
26392 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
26393 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
26395 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
26399 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
26400 integer constant usable in #if and use that to give value to enum
26402 (FE_DIVBYZERO): Likewise.
26403 (FE_UNDERFLOW): Likewise.
26404 (FE_OVERFLOW): Likewise.
26405 (FE_INVALID): Likewise.
26406 (FE_INVALID_SNAN): Likewise.
26407 (FE_INVALID_ISI): Likewise.
26408 (FE_INVALID_IDI): Likewise.
26409 (FE_INVALID_ZDZ): Likewise.
26410 (FE_INVALID_IMZ): Likewise.
26411 (FE_INVALID_COMPARE): Likewise.
26412 (FE_INVALID_SOFTWARE): Likewise.
26413 (FE_INVALID_SQRT): Likewise.
26414 (FE_INVALID_INTEGER_CONVERSION): Likewise.
26415 (FE_TONEAREST): Likewise.
26416 (FE_TOWARDZERO): Likewise.
26417 (FE_UPWARD): Likewise.
26418 (FE_DOWNWARD): Likewise.
26419 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
26420 (FE_DIVBYZERO): Likewise.
26421 (FE_OVERFLOW): Likewise.
26422 (FE_UNDERFLOW): Likewise.
26423 (FE_INEXACT): Likewise.
26424 (FE_TONEAREST): Likewise.
26425 (FE_DOWNWARD): Likewise.
26426 (FE_UPWARD): Likewise.
26427 (FE_TOWARDZERO): Likewise.
26428 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
26429 (FE_UNDERFLOW): Likewise.
26430 (FE_OVERFLOW): Likewise.
26431 (FE_DIVBYZERO): Likewise.
26432 (FE_INVALID): Likewise.
26433 (FE_TONEAREST): Likewise.
26434 (FE_TOWARDZERO): Likewise.
26435 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
26436 (FE_OVERFLOW): Likewise.
26437 (FE_UNDERFLOW): Likewise.
26438 (FE_DIVBYZERO): Likewise.
26439 (FE_INEXACT): Likewise.
26440 (FE_TONEAREST): Likewise.
26441 (FE_TOWARDZERO): Likewise.
26442 (FE_UPWARD): Likewise.
26443 (FE_DOWNWARD): Likewise.
26444 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
26445 (FE_DIVBYZERO): Likewise.
26446 (FE_OVERFLOW): Likewise.
26447 (FE_UNDERFLOW): Likewise.
26448 (FE_INEXACT): Likewise.
26449 (FE_TONEAREST): Likewise.
26450 (FE_DOWNWARD): Likewise.
26451 (FE_UPWARD): Likewise.
26452 (FE_TOWARDZERO): Likewise.
26454 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
26456 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
26458 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
26460 * scripts/cross-test-ssh.sh (command): Use newlines to separate
26461 commands. Quote $PWD.
26462 (blacklist_exports): Don't use remove_newlines. Replace "declare
26464 (remove_newlines): Remove.
26466 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
26468 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
26469 * stdlib/stdlib.h (atof): Moved to ...
26470 * include/bits/stdlib-float.h: Here. New file.
26471 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
26472 * stdlib/bits/stdlib-float.h: New file.
26473 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
26475 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
26478 2012-11-02 Joseph Myers <joseph@codesourcery.com>
26480 * conform/conformtest.pl (@headers): Add fenv.h.
26481 * conform/data/fenv.h-data: New file.
26482 * include/fenv.h [_ISOMAC]: Disable all contents of file except
26483 include of <math/fenv.h>.
26485 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
26486 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
26487 && !UNIX98]. Enables tests for XOPEN2K8.
26488 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
26489 POSIX2008]: Likewise.
26491 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
26492 (struct rusage): Do not expect type or its members.
26495 * math/math.h (FP_NAN): Define macro to integer constant usable in
26496 #if and use that to give value to enum constant.
26497 (FP_INFINITE): Likewise.
26498 (FP_ZERO): Likewise.
26499 (FP_SUBNORMAL): Likewise.
26500 (FP_NORMAL): Likewise.
26502 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
26504 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
26505 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
26508 2012-11-02 Roland McGrath <roland@hack.frob.com>
26510 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
26511 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
26512 autoconf-time if not.
26513 * configure.in: Remove AC_PREREQ.
26515 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26517 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
26518 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
26519 of the internal implementation.
26521 2012-11-02 Joseph Myers <joseph@codesourcery.com>
26523 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
26524 except include of <misc/sys/syslog.h>.
26526 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
26529 function returns with a NULL context exit with zero.
26531 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26533 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
26535 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
26537 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
26538 (run_program_cmd): This.
26539 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
26540 (tst_langinfo): New variable. Use it.
26542 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
26544 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
26545 floating point opcodes.
26547 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26549 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
26552 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
26554 * sysdeps/mach/hurd/powerpc: Remove directory.
26555 * sysdeps/mach/powerpc: Likewise.
26557 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26559 * scripts/check-local-headers.sh: Ignore c++ headers.
26561 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26563 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
26564 __libc_cleanup_region_start argument.
26566 2012-11-01 Joseph Myers <joseph@codesourcery.com>
26570 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
26571 x * y using scaling, not as x * y + z.
26572 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26573 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26574 * math/libm-test.inc (fma_test): Add more tests.
26575 (fma_test_towardzero): Likewise.
26576 (fma_test_downward): Likewise.
26577 (fma_test_upward): Likewise.
26579 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26581 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
26583 2012-10-31 Joseph Myers <joseph@codesourcery.com>
26585 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
26588 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
26590 * rt/tst-shm.c (worker): Correct checking for mmap failure.
26592 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26599 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26602 Fix the order of the list for glibc 2.17.
26603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26606 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26608 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26610 2012-10-31 Joseph Myers <joseph@codesourcery.com>
26613 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
26614 for low part of x being zero before using __atanl (y).
26615 * math/libm-test.inc (atan2_test): Add another test.
26617 * manual/install.texi (Configuring and compiling): Document
26618 general use of test-wrapper and test-wrapper-env.
26619 * INSTALL: Regenerated.
26621 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
26622 (__fma): Do not extract and scale down low bits on after-rounding
26623 systems when result rounded to normal precision would have normal
26625 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
26626 (__fmal): Do not extract and scale down low bits on after-rounding
26627 systems when result rounded to normal precision would have normal
26629 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
26630 (__fmal): Do not extract and scale down low bits on after-rounding
26631 systems when result rounded to normal precision would have normal
26633 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
26635 (fma_test): Add more tests.
26636 (fma_test_towardzero): Likewise.
26637 (fma_test_downward): Likewise.
26638 (fma_test_upward): Likewise.
26640 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
26642 * sysdeps/i386/tininess.h: Renamed to ...
26643 * sysdeps/x86/tininess.h: This.
26644 * sysdeps/x86_64/tininess.h: Removed.
26646 2012-10-30 Joseph Myers <joseph@codesourcery.com>
26648 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
26649 input. Use $(build-program-cmd).
26650 ($(objpfx)tst-array1-static.out): Likewise.
26651 ($(objpfx)tst-array2.out): Likewise.
26652 ($(objpfx)tst-array3.out): Likewise.
26653 ($(objpfx)tst-array4.out): Likewise.
26654 ($(objpfx)tst-array5.out): Likewise.
26655 ($(objpfx)tst-array5-static.out): Likewise.
26657 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
26659 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
26662 * nss/nsswitch.h (nss_interface_function): Provide new
26663 macro for use with NSS functions.
26664 * grp/initgroups.c: Use new macro.
26665 * nss/getXXbyYY.c: Likewise.
26666 * nss/getXXbyYY_r.c: Likewise.
26667 * nss/getXXent.c: Likewise.
26668 * nss/getXXent_r.c: Likewise.
26669 * sysdeps/posix/getaddrinfo.c: Likewise.
26671 2012-10-30 Andreas Jaeger <aj@suse.de>
26673 * po/ru.po: Update Russion translation from translation project.
26675 2012-10-30 Joseph Myers <joseph@codesourcery.com>
26679 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
26680 result and shift together with sticky bit instead of replicating
26681 round-to-nearest rounding.
26682 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26683 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26684 * math/libm-test.inc (fma_test): Add more tests. Do not permit
26685 missing underflow exceptions.
26686 (fma_test_towardzero): Add more tests.
26687 (fma_test_downward): Likewise.
26688 (fma_test_upward): Likewise.
26691 * sysdeps/generic/tininess.h: New file.
26692 * sysdeps/i386/tininess.h: Likewise.
26693 * sysdeps/sh/tininess.h: Likewise.
26694 * sysdeps/x86_64/tininess.h: Likewise.
26695 * stdlib/tst-strtod-underflow.c: Likewise.
26696 * stdlib/tst-tininess.c: Likewise.
26697 * stdlib/strtod_l.c: Include <tininess.h>.
26698 (round_and_return): Do not set errno for exact underflow cases.
26699 Force an underflow exception when setting errno for underflow.
26700 Determine underflow based on rounding to normal precision if
26701 TININESS_AFTER_ROUNDING.
26702 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
26703 ERANGE for exact underflow cases.
26704 * stdlib/Makefile (tests): Add tst-tininess and
26705 tst-strtod-underflow.
26706 ($(objpfx)tst-tininess): Use $(link-libm).
26707 ($(objpfx)tst-strtod-underflow): Likewise.
26709 2012-10-30 Andreas Jaeger <aj@suse.de>
26712 * elf/Makefile (tests): Remove conditional for have-initfini-array
26713 since this is now always required and the variable does not exist
26715 (tests-static): Likewise.
26716 (modules-names): Likewise.
26718 * po/eo.po: Add Esperanto translation from translation project.
26720 * elf/tst-array1.c (fini_array): Make writeable so that it can be
26721 merged with constructor/destructor.
26722 (init_array): Likewise.
26723 * elf/tst-array2dep.c (fini_array): Likewise.
26724 (init_array): Likewise.
26726 2012-10-29 Mike Frysinger <vapier@gentoo.org>
26728 * manual/message.texi: Delete @cartouche tags.
26730 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
26732 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
26734 * sysdeps/mach/hurd/fsync.c: Likewise.
26736 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
26737 [_POSIX_REALTIME_SIGNALS]: Change condition to
26738 [_POSIX_REALTIME_SIGNALS > 0].
26740 2012-10-27 Andreas Jaeger <aj@suse.de>
26742 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
26743 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
26744 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
26745 [__WORDSIZE != 64]: Likewise.
26747 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
26749 * iconvdata/tst-table.sh: Remove ${SHELL}.
26750 * iconvdata/tst-tables.sh: Likewise.
26752 2012-10-25 David S. Miller <davem@davemloft.net>
26754 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26755 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
26758 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
26760 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26761 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
26762 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
26765 2012-10-25 Roland McGrath <roland@hack.frob.com>
26767 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26768 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
26771 2012-10-25 Joseph Myers <joseph@codesourcery.com>
26772 Jim Blandy <jimb@codesourcery.com>
26774 * scripts/cross-test-ssh.sh: New file.
26775 * manual/install.texi (Configuring and compiling): Document use of
26777 * INSTALL: Regenerated.
26779 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
26781 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
26784 2012-10-25 Joseph Myers <joseph@codesourcery.com>
26786 * Makeconfig (run-program-prefix): Fix comment.
26788 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26789 Jim Blandy <jimb@codesourcery.com>
26791 * Makeconfig (test-wrapper): New variable,
26792 (test-wrapper-env): Likewise.
26793 [$(cross-compiling) = yes && $(test-wrapper) != ""]
26794 (run-built-tests): Define to yes.
26795 (run-program-prefix): Use $(test-wrapper).
26796 (built-program-cmd): Likewise.
26797 * Rules (make-test-out): Use $(test-wrapper-env) and
26798 $(host-built-program-cmd).
26799 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
26800 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
26802 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
26803 $(test-wrapper-env) to tst-rtld-load-self.sh.
26804 ($(objpfx)order2.out): Use $(test-wrapper).
26805 ($(objpfx)tst-initorder.out): Likewise.
26806 ($(objpfx)tst-initorder2.out): Likewise.
26807 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
26808 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
26809 (test_wrapper_env): New variable. Use it to run ld.so.
26810 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
26811 Use it to run ld.so.
26812 (test_wrapper_env): Likewise.
26813 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
26814 $(test-wrapper) to run-iconv-test.sh.
26815 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
26816 (ICONV): Use $test_wrapper.
26817 * posix/Makefile ($(objpfx)globtest.out): Pass
26818 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
26819 globtest.sh, not $(run-program-prefix).
26820 * posix/globtest.sh (run_via_rtld_prefix): New variable.
26821 (test_wrapper): Likewise.
26822 (test_wrapper_env): Likewise. Use it to run globtest with HOME
26823 set together with run_via_rtld_prefix.
26824 (run_program_prefix): Define in terms of test_wrapper and
26825 run_via_rtld_prefix.
26827 2012-10-24 Roland McGrath <roland@hack.frob.com>
26829 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
26830 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
26834 * include/time.h: Remove librt_hidden_proto (clock_gettime).
26835 Declare __clock_getres, __clock_gettime, __clock_settime,
26836 __clock_nanosleep, and __clock_getcpuclockid.
26837 * rt/clock_gettime.c: Define __clock_gettime as an alias.
26838 Remove librt_hidden_def (clock_gettime).
26839 * sysdeps/unix/clock_gettime.c: Likewise.
26840 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
26841 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26842 * rt/clock_getres.c: Define __clock_getres as an alias.
26843 * sysdeps/posix/clock_getres.c: Likewise.
26844 * rt/clock_settime.c: Define __clock_settime as an alias.
26845 * sysdeps/unix/clock_settime.c: Likewise.
26846 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
26847 * sysdeps/unix/clock_nanosleep.c: Likewise.
26848 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26849 * rt/clock-compat.c: New file.
26850 * rt/Makefile (librt-routines): Add clock-compat and move
26851 $(clock-routines) to ...
26852 (routines): ... here, new variable.
26853 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
26854 Don't add get_clockfreq here.
26855 * rt/Versions (libc: GLIBC_2.17): New version set.
26856 Add clock_* symbols here.
26857 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
26858 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
26859 (GLIBC_2.17): Add clock_* symbols.
26860 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26861 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26862 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26867 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26868 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26869 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26871 * NEWS: Mention the move.
26873 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26874 Use __open, __read, __close rather than their public counterparts.
26875 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26876 (__get_clockfreq_via_cpuinfo): Likewise.
26877 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
26878 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
26880 * config.h.in (HAVE_IFUNC): New #undef.
26881 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
26883 * configure: Regenerated.
26885 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26887 * configure.in: Move READELF check to start of file.
26888 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
26889 libc_cv_asm_gnu_indirect_function in the process.
26890 * configure: Regenerated.
26892 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26894 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
26895 send the output to /dev/null.
26896 (libc_cv_cc_with_libunwind): Likewise.
26897 (libc_cv_as_noexecstack): Likewise.
26898 * configure: Regenerate.
26900 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26902 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
26904 * posix/globtest.sh (TMPDIR): Do not set.
26905 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
26906 (testout): Likewise.
26908 2012-10-24 Andreas Jaeger <aj@suse.de>
26910 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
26911 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
26912 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
26913 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
26914 posix_fadvise64, posix_fallocate64.
26916 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
26917 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
26918 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
26920 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
26922 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
26924 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
26925 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
26926 <bits/fcntl-linux.h>.
26927 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
26929 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
26930 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
26931 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
26932 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
26933 [__WORDSIZE != 64]: Likewise.
26935 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26937 * Makeconfig (run-built-tests): New variable.
26938 * Rules [$(cross-compiling) = yes]: Change condition to
26939 [$(run-built-tests) = no].
26940 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
26941 to [$(run-built-tests) = yes].
26942 * elf/Makefile [$(cross-compiling) = no]: Likewise
26943 * grp/Makefile [$(cross-compiling) = no]: Likewise.
26944 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
26945 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
26946 * intl/Makefile [$(cross-compiling) = no]: Likewise.
26947 * io/Makefile [$(cross-compiling) = no]: Likewise.
26948 * libio/Makefile [$(cross-compiling) = no]: Likewise.
26949 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
26950 * misc/Makefile [$(cross-compiling) = no]: Likewise.
26951 * posix/Makefile [$(cross-compiling) = no]: Likewise.
26952 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
26953 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
26954 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
26955 * string/Makefile [$(cross-compiling) = no]: Likewise.
26957 * posix/Makefile ($(objpfx)globtest.out): Pass
26958 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
26959 $(rtld-installed-name).
26960 * posix/globtest.sh (elf_objpfx): Remove variable.
26961 (rtld_installed_name): Likewise.
26962 (library_path): Likewise.
26963 (run_program_prefix): New variable. Use for running globtest
26966 2012-10-23 Jim Blandy <jimb@codesourcery.com>
26967 Joseph Myers <joseph@codesourcery.com>
26969 * Makeconfig (host-built-program-cmd): New variable.
26970 * elf/Makefile (tst-stackguard1-ARGS): Use
26971 $(host-built-program-cmd).
26972 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
26973 (tst-spawn-ARGS): Likewise.
26974 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
26976 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26977 Jim Blandy <jimb@codesourcery.com>
26979 * Makeconfig (run-via-rtld-prefix): New variable.
26980 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
26981 (built-program-cmd): Likewise.
26983 2012-10-22 Andreas Jaeger <aj@suse.de>
26985 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
26986 __O_RSYNC if it exists, otherwise to O_SYNC.
26988 2012-10-22 Jim Blandy <jimb@codesourcery.com>
26989 Joseph Myers <joseph@codesourcery.com>
26991 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
26993 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
26995 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
26998 2012-10-22 Andreas Jaeger <aj@suse.de>
27000 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27002 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27004 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27005 bits/fcntl-linux.h.
27007 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27008 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27010 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27012 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27015 2012-10-21 Jim Blandy <jimb@codesourcery.com>
27016 Joseph Myers <joseph@codesourcery.com>
27018 * config.make.in (NM): New variable.
27020 2012-10-21 Andreas Jaeger <aj@suse.de>
27022 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27023 definitions and declarations that are provided by
27024 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27026 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27029 * elf/Makefile (tests-static): Add tst-leaks1-static.
27030 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27031 ($(objpfx)tst-leaks1-static): New rule.
27032 ($(objpfx)tst-leaks1-static-mem): Likewise.
27033 (tst-leaks1-static-ENV): New macro.
27034 * elf/dl-open.c (dl_open_worker): Check the main application
27035 only if SHARED is defined.
27036 * elf/tst-leaks1-static.c: New file.
27038 2012-10-20 Andreas Jaeger <aj@suse.de>
27040 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27041 generic values for Linux.
27042 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27043 and declarations that are provided by <bits/fcntl-linux.h> and
27044 include <bits/fcntl-linux.h>.
27045 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27046 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27048 2012-10-20 Roland McGrath <roland@hack.frob.com>
27050 * io/fcntl.h: Move include of <bits/types.h> to the top and
27051 include it unconditionally.
27053 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27055 * wcsmbs/Makefile (tests-ifunc): New variable.
27056 (tests): Add $(tests-ifunc).
27057 * wcsmbs/test-wcschr-ifunc.c: New file.
27058 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27059 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27060 * wcsmbs/test-wcslen-ifunc.c: Likewise.
27061 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27062 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27064 * string/Makefile (tests-ifunc): New variable.
27065 (tests): Add $(tests-ifunc).
27066 * string/test-memccpy.c (TEST_NAME): New macro.
27067 * string/test-memchr.c (TEST_NAME): Likewise.
27068 * string/test-memcmp.c (TEST_NAME): Likewise.
27069 * string/test-memcpy.c (TEST_NAME): Likewise.
27070 * string/test-memmem.c (TEST_NAME): Likewise.
27071 * string/test-memmove.c (TEST_NAME): Likewise.
27072 * string/test-memset.c (TEST_NAME): Likewise.
27073 * string/test-rawmemchr.c (TEST_NAME): Likewise.
27074 * string/test-stpcpy.c (TEST_NAME): Likewise.
27075 * string/test-stpncpy.c (TEST_NAME): Likewise.
27076 * string/test-strcasecmp.c (TEST_NAME): Likewise.
27077 * string/test-strcasestr.c (TEST_NAME): Likewise.
27078 * string/test-strcat.c (TEST_NAME): Likewise.
27079 * string/test-strchr.c (TEST_NAME): Likewise.
27080 * string/test-strcmp.c(TEST_NAME): Likewise.
27081 * string/test-strcpy.c (TEST_NAME): Likewise.
27082 * string/test-strcspn.c (TEST_NAME): Likewise.
27083 * string/test-strlen.c (TEST_NAME): Likewise.
27084 * string/test-strncasecmp.c (TEST_NAME): Likewise.
27085 * string/test-strncmp.c (TEST_NAME): Likewise.
27086 * string/test-strncpy.c (TEST_NAME): Likewise.
27087 * string/test-strnlen.c (TEST_NAME): Likewise.
27088 * string/test-strpbrk.c (TEST_NAME): Likewise.
27089 * string/test-strrchr.c (TEST_NAME): Likewise.
27090 * string/test-strspn.c (TEST_NAME): Likewise.
27091 * string/test-strstr.c (TEST_NAME): Likewise.
27092 * string/test-bcopy-ifunc.c: New file.
27093 * string/test-bzero-ifunc.c: Likewise.
27094 * string/test-memccpy-ifunc.c: Likewise.
27095 * string/test-memchr-ifunc.c: Likewise.
27096 * string/test-memcmp-ifunc.c: Likewise.
27097 * string/test-memcpy-ifunc.c: Likewise.
27098 * string/test-memmem-ifunc.c: Likewise.
27099 * string/test-memmove-ifunc.c: Likewise.
27100 * string/test-mempcpy-ifunc.c: Likewise.
27101 * string/test-memset-ifunc.c: Likewise.
27102 * string/test-rawmemchr-ifunc.c: Likewise.
27103 * string/test-stpcpy-ifunc.c: Likewise.
27104 * string/test-stpncpy-ifunc.c: Likewise.
27105 * string/test-strcasecmp-ifunc.c: Likewise.
27106 * string/test-strcasestr-ifunc.c: Likewise.
27107 * string/test-strcat-ifunc.c: Likewise.
27108 * string/test-strchr-ifunc.c: Likewise.
27109 * string/test-strchrnul-ifunc.c: Likewise.
27110 * string/test-strcmp-ifunc.c: Likewise.
27111 * string/test-strcpy-ifunc.c: Likewise.
27112 * string/test-strcspn-ifunc.c: Likewise.
27113 * string/test-strlen-ifunc.c: Likewise.
27114 * string/test-strncasecmp-ifunc.c: Likewise.
27115 * string/test-strncat-ifunc.c: Likewise.
27116 * string/test-strncmp-ifunc.c: Likewise.
27117 * string/test-strncpy-ifunc.c: Likewise.
27118 * string/test-strnlen-ifunc.c: Likewise.
27119 * string/test-strpbrk-ifunc.c: Likewise.
27120 * string/test-strrchr-ifunc.c: Likewise.
27121 * string/test-strspn-ifunc.c: Likewise.
27122 * string/test-strstr-ifunc.c: Likewise.
27124 * debug/Makefile (tests-ifunc): New variable.
27125 (tests): Add $(tests-ifunc).
27126 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
27127 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
27128 * debug/test-stpcpy_chk-ifunc.c: New file.
27129 * debug/test-strcpy_chk-ifunc.c: Likewise.
27131 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27134 * elf/dl-load.c (open_verify): Retry read if the entire ELF
27135 header is not read in.
27137 2012-10-19 Joseph Myers <joseph@codesourcery.com>
27139 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
27140 script to $(SHELL) as $<. Pass $(common-objpfx) to script
27141 directly. Pass built executable to script as
27142 $(built-program-cmd).
27143 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
27144 $testprogram without using LD_LIBRARY_PATH and $ldso.
27146 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
27147 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
27148 $(rtld-installed-name).
27149 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
27150 (rtld_installed_name): Likewise.
27151 (library_path): Likewise.
27152 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
27153 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
27154 $(run-program-prefix) to tst-tables.sh.
27155 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
27156 it to run tst-table-from and tst-table-to.
27157 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
27158 Pass it to tst-table.sh.
27159 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
27160 $(run-program-prefix) to tst-gettext.sh.
27161 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
27163 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
27165 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
27166 to run tst-gettext.
27167 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
27168 to run tst-gettext2.
27169 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
27170 to run tst-translit.
27171 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
27172 $(run-program-prefix) to tst-mtrace.sh.
27173 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
27175 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
27176 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
27177 $(rtld-installed-name).
27178 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
27179 (rtld_installed_name): Likewise.
27180 (run_program_prefix): New variable. Use it to run wordexp-test.
27182 * Makeconfig (ARCH): Remove all definitions.
27183 (machine): Likewise.
27184 [ARCH]: Remove conditional code.
27185 [!objdir]: Give error.
27186 [!objdir] (objpfx): Remove.
27187 [!objdir] (common-objpfx): Likewise.
27188 [!objdir] (common-objdir): Likewise.
27189 * configure.in (config_makefile): Remove. Hardcode Makefile in
27190 AC_CONFIG_FILES call.
27191 * configure: Regenerated.
27194 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
27196 (testout): Likewise.
27198 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
27199 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
27200 $(rtld-installed-name).
27201 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
27202 (rtld_installed_name): Likwise.
27203 (runit): Remove function.
27204 (run_getconf): New variable, Use it for running getconf binary.
27206 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
27209 * string/test-memmem.c (check_result): New function.
27210 (do_one_test): Use it.
27211 (check1): New function.
27212 (test_main): Use it.
27214 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
27216 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
27218 2012-10-18 Joseph Myers <joseph@codesourcery.com>
27220 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
27221 (_G_LSEEK64): Likewise.
27222 (_G_MMAP64): Likewise.
27223 (_G_FSTAT64): Likewise.
27224 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
27225 (_G_LSEEK64): Likewise.
27226 (_G_MMAP64): Likewise.
27227 (_G_FSTAT64): Likewise.
27228 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
27229 unconditional. Call __mmap64 directly.
27230 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
27231 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
27232 __lseek64 directly.
27233 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
27234 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
27236 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
27237 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
27238 __lseek64 directly.
27239 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
27240 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
27241 __lseek64 directly.
27242 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
27243 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
27244 __lseek64 directly.
27245 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
27246 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
27247 __fxstat64 directly.
27248 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
27249 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
27251 (freopen64) [!_G_OPEN64]: Remove conditional code.
27252 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
27254 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
27255 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
27257 (ftello64) [!_G_LSEEK64]: Remove conditional code.
27258 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
27260 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27261 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
27263 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
27264 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
27266 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27267 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
27269 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27270 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
27272 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27274 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27277 * manual/memory.texi (Malloc Tunable Parameters): Add note
27278 about free list pointers overwriting some perturb bytes.
27279 Wording suggested by Roland McGrath.
27281 2012-10-17 Joseph Myers <joseph@codesourcery.com>
27283 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
27284 (lgamma_test): Likewise.
27285 (tgamma_test): Likewise.
27287 2012-10-16 Florian Weimer <fweimer@redhat.com>
27290 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
27291 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
27293 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
27295 * NEWS: Mention BZ #14716.
27296 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
27297 when removing AVAILABLE1_USES_J macro.
27299 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
27301 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
27302 (__bswap_64): __uint64_t for unsigned 64-bit int.
27304 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
27306 * include/string.h (memmem): Declare libc hidden alias.
27307 * string/memmem.c (memmem): Define libc hidden alias.
27308 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
27309 __read, __close instead of open, read, close.
27311 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
27313 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
27314 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
27316 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
27317 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
27318 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
27320 (__rawmemchr_sse2): Likewise.
27321 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
27322 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
27323 (__strchr_sse2): Likewise.
27324 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
27325 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
27326 (__strcasecmp_sse2): Likewise.
27327 (__strncasecmp_sse2): Likewise.
27328 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
27329 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
27330 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
27331 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
27332 (__strrchr_sse2): Likewise.
27333 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
27335 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27336 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27337 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27338 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27339 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27340 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27341 * sysdeps/x86_64/multiarch/memset.S: Likewise.
27342 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27343 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
27344 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
27345 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
27346 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
27347 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
27348 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27349 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27350 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27351 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27352 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27353 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
27354 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
27355 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
27356 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
27357 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
27358 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27359 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
27360 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27361 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27362 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27363 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27364 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27366 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
27368 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
27369 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
27370 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
27371 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
27373 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
27375 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
27376 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
27377 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
27378 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
27380 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27381 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27382 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27383 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27384 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27385 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27386 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27387 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27388 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27389 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27390 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27391 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27392 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27393 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
27394 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
27395 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27396 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
27397 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
27398 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27399 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27400 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27401 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27402 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27403 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27404 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27405 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
27406 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
27407 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
27408 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
27409 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27410 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
27411 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27412 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27413 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
27414 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27415 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27416 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27417 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27418 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27419 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27420 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
27422 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
27423 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
27424 * include/ifunc-impl-list.h: New file.
27425 * misc/ifunc-impl-list.c: Likewise.
27426 * misc/Makefile (routines): Add ifunc-impl-list.
27427 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
27428 * string/test-string.h: Include <ifunc-impl-list.h>.
27429 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
27430 TEST_NAME]: New variables.
27431 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
27433 (test_init): Call __libc_ifunc_impl_list to initialize
27434 func_list if TEST_IFUNC and TEST_NAME are defined.
27436 * string/Makefile (strop-tests): Add bcopy and bzero.
27437 * string/test-bcopy.c: New file.
27438 * string/test-bzero.c: Likewise.
27439 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
27441 * string/test-memset.c: Support bzero test if TEST_BZERO is
27443 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
27445 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
27447 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
27450 2012-10-10 Joseph Myers <joseph@codesourcery.com>
27452 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
27453 * configure: Regenerated.
27455 * Makeconfig (+link-static-before-libc): Don't include
27456 $(link-static-libc).
27458 * libio/libio.h (_IO_pos_t): Remove.
27460 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27462 * NEWS: Add note about FIPS mode. Wording suggested by Roland
27465 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27467 * crypt/crypt-entry.c: Include fips-private.h.
27468 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
27469 * crypt/md5c-test.c (main): Tolerate disabled MD5.
27470 * sysdeps/unix/sysv/linux/fips-private.h: New file.
27471 * sysdeps/generic/fips-private.h: New file, dummy fallback.
27473 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27475 * crypt/crypt-private.h: Include stdbool.h.
27476 (_ufc_setup_salt_r): Return bool.
27477 * crypt/crypt-entry.c: Include errno.h.
27478 (__crypt_r): Return NULL with EINVAL for bad salt.
27479 * crypt/crypt_util.c (bad_for_salt): New.
27480 (_ufc_setup_salt_r): Check that salt is long enough and within
27481 the specified alphabet.
27482 * crypt/badsalttest.c: New file.
27483 * crypt/Makefile (tests): Add it.
27484 ($(objpfx)badsalttest): New.
27486 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
27488 * NEWS: Add entry for BZ #14602.
27490 2012-10-09 Joseph Myers <joseph@codesourcery.com>
27492 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
27494 * math/libm-test.inc: Update comment listing what functions and
27496 (isgreater_test): New function.
27497 (isgreaterequal_test): Likewise.
27498 (isless_test): Likewise.
27499 (islessequal_test): Likewise.
27500 (islessgreater_test): Likewise.
27501 (isunordered_test): Likewise.
27502 (main): Call the new functions.
27504 2012-10-09 Roland McGrath <roland@hack.frob.com>
27506 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
27507 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
27508 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
27509 * sysdeps/i386/configure: Regenerated.
27510 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
27511 * sysdeps/mach/configure: Regenerated.
27512 * sysdeps/mach/hurd/configure: Regenerated.
27513 * sysdeps/powerpc/configure: Regenerated.
27514 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27515 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27516 * sysdeps/s390/s390-32/configure: Regenerated.
27517 * sysdeps/s390/s390-64/configure: Regenerated.
27518 * sysdeps/sh/configure: Regenerated.
27519 * sysdeps/sparc/configure: Regenerated.
27520 * sysdeps/unix/sysv/linux/configure: Regenerated.
27521 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27522 * sysdeps/x86_64/configure: Regenerated.
27524 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
27525 defined. Don't check if MAP is NULL.
27527 2012-10-09 Joseph Myers <joseph@codesourcery.com>
27529 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
27530 (_G_stat64): Likewise.
27531 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
27532 (_G_stat64): Likewise.
27533 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
27534 instead of struct _G_stat64.
27535 * libio/fileops.c (mmap_remap_check): Likewise.
27536 (decide_maybe_mmap): Likewise.
27537 (_IO_new_file_seekoff): Likewise.
27538 (_IO_file_stat): Likewise.
27539 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
27541 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
27542 instead of struct _G_stat64.
27543 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27545 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
27548 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27550 (CHECK_EOL): New macro.
27551 (two_way_short_needle): Check beginning of haystack for EOL. Use
27553 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27554 Replace with CHECK_EOL.
27555 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27556 Replace with CHECK_EOL.
27558 2012-10-08 Joseph Myers <joseph@codesourcery.com>
27560 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
27562 * math/libm-test.inc: Update comment listing what functions and
27564 (finite_test): New function.
27565 (isinf_test): Likewise.
27566 (isnan_test): Likewise.
27567 (fpclassify_test): Test subnormal input.
27568 (isfinite_test): Likewise.
27569 (isnormal_test): Likewise.
27570 (main): Call the new functions.
27572 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
27575 * Makerules (%.dynsym): Force C locale when running
27576 $(OBJDUMP) --dynamic-syms.
27578 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
27580 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
27583 2012-10-06 David S. Miller <davem@davemloft.net>
27585 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
27586 upper 32-bits of the length value in %o2 since we use branch-on-register
27587 tests which consider the entire 64-bit register.
27589 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
27591 * string/test-strstr.c (check2): Add a test for page boundary.
27593 2012-10-05 David S. Miller <davem@davemloft.net>
27595 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
27596 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
27598 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27600 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27601 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
27602 and bzero when HWCAP_SPARC_CRYPTO is present.
27604 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
27607 * string/test-strstr.c (check2): New function.
27608 (test_main): Call check2.
27610 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
27612 * string/bug-strcasestr1.c (do_test): Moved to ...
27613 * string/test-strcasestr.c (check1): Here. New function.
27614 (do_one_test): Break out result checking code into ...
27615 (check_result): This. New function.
27616 (do_one_test): Call check_result.
27617 (test_main): Call check1.
27618 * string/bug-strchr1.c (do_test): Moved to ...
27619 * string/test-strchr.c (check1): Here. New function.
27620 (do_one_test): Break out result checking code into ...
27621 (check_result): This. New function.
27622 (do_one_test): Call check_result.
27623 (test_main): Call check1.
27624 * string/bug-strstr1.c (main): Moved to ...
27625 * string/test-strstr.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-strcasestr1.c: Removed.
27631 * string/bug-strchr1.c: Likewise.
27632 * string/bug-strstr1.c: Likewise.
27634 * elf/Makefile (dl-routines): Add hwcaps.
27635 * elf/dl-support.c (_dl_important_hwcaps): Removed.
27636 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
27637 (_dl_important_hwcaps): Moved to ...
27638 * elf/dl-hwcaps.c: Here. New file.
27639 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
27642 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
27643 if IS_IN_rtld isn't defined.
27645 * elf/dl-support.c (_dl_sysinfo_map): New.
27646 Include "get-dynamic-info.h" and "setup-vdso.h".
27647 (_dl_non_dynamic_init): Call setup_vdso.
27648 * elf/dynamic-link.h: Don't include <assert.h>.
27649 (elf_get_dynamic_info): Moved to ...
27650 * elf/get-dynamic-info.h: Here. New file.
27651 * elf/dynamic-link.h: Include "get-dynamic-info.h".
27652 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
27653 * elf/setup-vdso.h: Here. New file.
27654 * elf/rtld.c: Include "setup-vdso.h".
27655 (dl_main): Call setup_vdso.
27657 2012-10-05 Joseph Myers <joseph@codesourcery.com>
27659 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
27660 creal in comment listing functions tested. List finite, isinf,
27661 isnan, isless, islessequal, isgreater, isgreaterequal,
27662 islessgreater, isunordered, lgamma_r and pow10 as functions and
27663 macros not tested. Mention which functions not tested are aliases
27664 for other functions. Fix typo. Note that signs of NaNs are not
27667 * scripts/config.guess: Update from config.git.
27668 * scripts/config.sub: Likewise.
27670 2012-10-04 Roland McGrath <roland@hack.frob.com>
27672 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
27673 * misc/madvise.c (madvise): Renamed to __madvise.
27674 Make madvise a weak alias.
27675 * include/sys/mman.h: Declare __madvise.
27676 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
27677 * sysdeps/unix/syscalls.list
27678 (madvise): Make __madvise the strong name, and madvise a weak alias.
27679 * sysdeps/unix/sysv/linux/syscalls.list
27680 (madvise, mmap): Remove redundant entries.
27681 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
27682 * malloc/malloc.c (mtrim): Likewise.
27683 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
27685 2012-10-03 Roland McGrath <roland@hack.frob.com>
27687 * sysdeps/mach/hurd/dl-cache.c: File removed.
27688 * config.h.in (USE_LDCONFIG): New #undef.
27689 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
27690 * configure: Regenerated.
27691 * elf/Makefile (dl-routines): Add dl-cache only under
27692 [$(use-ldconfig) = yes].
27693 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
27694 cache on [USE_LDCONFIG].
27695 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
27697 * elf/rtld.c (dl_main): Likewise.
27699 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
27701 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
27702 _SC_LEVEL4_CACHE_LINESIZE.
27704 2012-10-03 Roland McGrath <roland@hack.frob.com>
27706 * sysdeps/unix/bsd/confstr.h: File removed.
27708 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
27710 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
27713 2012-10-02 Roland McGrath <roland@hack.frob.com>
27715 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
27716 Make 'mapoff' field ElfW(Off) rather than off_t.
27718 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
27720 * nscd/Makefile: Remove nscd-cflags and all its users.
27721 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
27722 (CFLAGS-nonlib): Add compiler flags for nscd modules.
27725 * malloc.c (malloc_printerr): Clarify error message.
27727 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
27730 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27731 Set bit_FMA_Usable if FMA is supported.
27732 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
27734 (bit_FMA4_Usable): Updated.
27735 (index_FMA_Usable): New macro.
27736 (CPUID_FMA): Likewise
27737 (HAS_FMA): Defined with bit_FMA_Usable.
27739 2012-10-01 Roland McGrath <roland@hack.frob.com>
27741 * bits/types.h (__swblk_t): Type removed.
27742 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
27743 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
27744 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27745 (__SWBLK_T_TYPE): Likewise.
27746 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27747 (__SWBLK_T_TYPE): Likewise.
27748 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27749 (__SWBLK_T_TYPE): Likewise.
27750 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27751 (__SWBLK_T_TYPE): Likewise.
27753 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
27754 Honza Horak <hhorak@redhat.com>
27756 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
27757 (xdr_mapname): Use YPMAXMAP as maxsize.
27758 (xdr_peername): Use YPMAXPEER as maxsize.
27759 (xdr_keydat): Use YPAXRECORD as maxsize.
27760 (xdr_valdat): Use YPMAXRECORD as maxsize.
27762 2012-10-01 Roland McGrath <roland@hack.frob.com>
27764 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
27766 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
27767 * csu/init-first.c: ... here.
27768 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
27769 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27770 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27771 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27772 * sysdeps/i386/init-first.c: File removed.
27773 * sysdeps/sh/init-first.c: File removed.
27775 2012-10-01 Joseph Myers <joseph@codesourcery.com>
27778 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
27779 if x * y might underflow to zero and z is zero.
27780 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27781 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27782 * math/libm-test.inc (min_subnorm_value): New variable.
27783 (fma_test): Add more tests.
27784 (fma_test_towardzero): Likewise.
27785 (fma_test_downward): Likewise
27786 (fma_test_upward): Likewise.
27787 (initialize): Set min_subnorm_value.
27789 2012-09-29 Joseph Myers <joseph@codesourcery.com>
27792 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
27794 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
27795 mode for addition resulting in exact zero.
27796 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
27797 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
27799 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27800 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27801 * math/libm-test.inc (fma_test): Add more tests.
27802 (fma_test_towardzero): New function.
27803 (fma_test_downward): Likewise.
27804 (fma_test_upward): Likewise.
27805 (main): Call the new functions.
27807 2012-09-28 David S. Miller <davem@davemloft.net>
27809 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
27811 2012-09-28 Roland McGrath <roland@hack.frob.com>
27813 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
27814 instead of SIGALRM.
27816 * sysdeps/gnu/_G_config.h: Moved to ...
27817 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
27818 * sysdeps/mach/hurd/_G_config.h: Moved to ...
27819 * sysdeps/generic/_G_config.h: ... here.
27821 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
27823 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
27825 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
27826 Conditionalize target on [libnss_test1.so-version].
27828 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
27830 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
27831 (elfobjdir): Move out of conditionals.
27833 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
27834 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
27835 (__nss_lookup_function): Conditionalize label remove_from_tree on
27836 [!DO_STATIC_NSS || SHARED], matching its only use.
27838 2012-09-28 David S. Miller <davem@davemloft.net>
27840 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
27841 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
27843 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27845 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27846 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
27847 when HWCAP_SPARC_CRYPTO is present.
27849 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27851 * io/tst-mknodat.c: Create a FIFO instead of a socket.
27853 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
27856 * stdio-common/vfprintf.c (process_string_arg): Revert
27859 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
27861 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
27863 * stdio-common/tst-sprintf.c: Include <locale.h>
27864 (main): Test sprintf's handling of incomplete multibyte
27867 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
27869 * elf/dl-runtime.c (VERSYMIDX): Removed.
27870 * elf/dl-version.c (VERSYMIDX): Likewise.
27871 * elf/do-rel.h (VERSYMIDX): Likewise.
27872 (VALIDX): Likewise.
27873 * elf/dynamic-link.h (VERSYMIDX): Likewise.
27874 * elf/rtld.c (VALIDX): Likewise.
27875 (ADDRIDX): Likewise.
27876 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
27877 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
27878 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
27879 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
27880 (VALIDX): Likewise.
27881 (ADDRIDX): Likewise.
27883 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27885 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
27887 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
27890 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
27892 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
27893 addresses are in the same scope as 192.0.2/24.
27894 * posix/gai.conf: Document new scope table defaults.
27896 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27899 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
27900 for ftell. Compute offsets from write pointers instead.
27901 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27903 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27906 * libio/Makefile (tests): New test case tst-fseek.
27907 * libio/tst-fseek.c: New test case to verify that fseek/ftell
27908 combination works in wide mode.
27909 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
27910 state when the external buffer state changes.
27912 2012-09-27 David S. Miller <davem@davemloft.net>
27915 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
27916 pass reloc->r_addend in as the 'high' argument to
27917 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
27919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27921 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27923 * rt/tst-aio2.c: Include <pthread.h>.
27924 * rt/tst-aio3.c: Likewise.
27926 2012-09-27 Steve Ellcey <sellcey@mips.com>
27928 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
27930 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
27932 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
27933 contents on [SHARED].
27935 2012-09-26 Marek Polacek <polacek@redhat.com>
27939 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
27940 for C++ and GCC <4.3 as well as for non GCC compilers.
27942 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27944 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27946 2012-09-25 Roland McGrath <roland@hack.frob.com>
27948 * Makefile.in (all, install): Declare with .PHONY.
27949 Reported by Michael Hope <michael.hope@linaro.org>.
27951 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27953 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
27954 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
27956 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
27958 (sydep_routines): Add the new and the internal functions.
27959 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
27960 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
27962 (GLIBC_2.17): Add the new function.
27963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27964 (GLIBC_2.17): Likewise.
27965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
27966 (GLIBC_2.17): Likewise.
27967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
27968 (GLIBC_2.17): Likewise.
27969 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
27971 2012-09-25 Alan Modra <amodra@gmail.com>
27973 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
27974 Add release barrier before setting once_control to say
27975 initialisation is done. Add hints on lwarx. Use macro in
27977 (clear_once_control): Add release barrier.
27979 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27982 * math/s_clog.c (__clog): Handle more values close to |z| = 1
27984 * math/s_clog10.c (__clog10): Likewise.
27985 * math/s_clog10f.c (__clog10f): Likewise.
27986 * math/s_clog10l.c (__clog10l): Likewise.
27987 * math/s_clogf.c (__clogf): Likewise.
27988 * math/s_clogl.c (__clogl): Likewise.
27989 * math/Makefile (libm-calls): Add x2y2m1.
27990 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
27991 (__x2y2m1): Likewise.
27992 (__x2y2m1l): Likewise.
27993 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
27994 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
27995 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
27996 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27997 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
27998 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
27999 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28000 * sysdeps/i386/fpu/libm-test-ulps: Update.
28001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28004 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28005 int as type of variable DEPTH.
28006 (glob): Use size_t instead of int as type of variables NEWCOUNT
28009 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28011 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28012 Add s_sincosf-sse2.
28013 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28014 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28015 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28016 macros for using routine as __sincosf_ia32.
28017 Use macro for function declaration and weak_alias.
28018 * sysdeps/i386/fpu/libm-test-ulps: Update.
28020 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28021 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28023 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
28024 subnormal argument.
28025 * math/s_cexpf.c (__cexpf): Likewise.
28026 * math/s_csinf.c (__csinf): Likewise.
28027 * math/s_csinhf.c (__csinhf): Likewise.
28028 * math/s_ctanf.c (__ctanf): Likewise.
28029 * math/s_ctanhf.c (__ctanhf): Likewise.
28030 * math/s_ccosh.c (__ccoshf): Likewise.
28031 * math/s_cexp.c (__cexpl): Likewise.
28032 * math/s_csin.c (__csin): Likewise.
28033 * math/s_csinh.c (__csinh): Likewise.
28034 * math/s_ctan.c (__ctan): Likewise.
28035 * math/s_ctanh.c (ctanh): Likewise.
28036 * math/s_ccoshl.c (__ccoshl): Likewise.
28037 * math/s_cexpl.c (__cexpl): Likewise.
28038 * math/s_csinl.c (__csinl): Likewise.
28039 * math/s_csinhl.c (__csinhl): Likewise.
28040 * math/s_ctanl.c (__ctanl): Likewise.
28041 * math/s_ctanhl.c (__ctanhl): Likewise.
28043 2012-09-25 Joseph Myers <joseph@codesourcery.com>
28045 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28046 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28047 (_IO_off_t): Define to __off_t, not _G_off_t.
28048 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28049 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28050 (_IO_wint_t): Define to wint_t, not _G_wint_t.
28051 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28052 type of __dummy and __dummy2 fields.
28053 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28054 (_G_ssize_t): Likewise.
28055 (_G_off_t): Likewise.
28056 (_G_pid_t): Likewise.
28057 (_G_uid_t): Likewise.
28058 (_G_wchar_t): Likewise.
28059 (_G_wint_t): Likewise.
28060 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
28061 (_G_ssize_t): Likewise.
28062 (_G_off_t): Likewise.
28063 (_G_pid_t): Likewise.
28064 (_G_uid_t): Likewise.
28065 (_G_wchar_t): Likewise.
28066 (_G_wint_t): Likewise.
28067 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
28068 (_G_ssize_t): Likewise.
28069 (_G_off_t): Likewise.
28070 (_G_pid_t): Likewise.
28071 (_G_uid_t): Likewise.
28072 (_G_wchar_t): Likewise.
28073 (_G_wint_t): Likewise.
28075 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28077 * malloc/arena.c: Include malloc-sysdep.h.
28078 (shrink_heap): Use check_may_shrink_heap to decide if madvise
28079 is sufficient to shrink the heap or an unmap is needed.
28080 * sysdeps/generic/malloc-sysdep.h: New file. Define
28081 new function check_may_shrink_heap.
28082 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
28083 new function check_may_shrink_heap.
28085 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28087 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
28090 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
28092 * catgets/test-gencat.sh: Add "set -e".
28093 * elf/tst-pathopt.sh: Likewise.
28094 * grp/tst_fgetgrent.sh: Likewise.
28095 * iconvdata/run-iconv-test.sh: Likewise.
28096 * intl/tst-gettext.sh: Likewise.
28097 * intl/tst-gettext2.sh: Likewise.
28098 * intl/tst-gettext4.sh: Likewise.
28099 * intl/tst-gettext6.sh: Likewise.
28100 * intl/tst-translit.sh: Likewise.
28101 * io/ftwtest-sh: Likewise.
28102 * libio/test-freopen.sh: Likewise.
28103 * malloc/tst-mtrace.sh: Likewise.
28104 * posix/globtest.sh: Likewise.
28105 * posix/tst-getconf.sh: Likewise.
28106 * posix/wordexp-tst.sh: Likewise.
28107 * stdio-common/tst-printf.sh: Likewise.
28108 * stdio-common/tst-unbputc.sh: Likewise.
28109 * stdlib/tst-fmtmsg.sh: Likewise.
28110 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28111 * catgets/Makefile: Do not specify -e option when running
28112 testsuite shell scripts.
28113 * elf/Makefile: Likewise.
28114 * grp/Makefile: Likewise.
28115 * iconvdata/Makefile: Likewise.
28116 * intl/Makefile: Likewise.
28117 * io/Makefile: Likewise.
28118 * libio/Makefile: Likewise.
28119 * malloc/Makefile: Likewise.
28120 * posix/Makefile: Likewise.
28121 * stdio-common/Makefile: Likewise.
28122 * stdlib/Makefile: Likewise.
28123 * sysdeps/x86_64/Makefile: Likewise.
28125 * io/ftwtest-sh: Add copyright header.
28126 * posix/globtest.sh: Likewise.
28127 * posix/tst-getconf.sh: Likewise.
28128 * posix/wordexp-tst.sh: Likewise.
28129 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28131 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
28134 * Makeconfig (+link): Defined as $(+link-static) if
28135 $(build-shared) isn't yes.
28136 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
28138 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
28140 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
28143 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
28144 new chunk size with MALLOC_ALIGN_MASK.
28146 2012-09-24 Joseph Myers <joseph@codesourcery.com>
28149 * stdio-common/printf_fphex.c: Include <stdbool.h> and
28151 (__printf_fphex): Determine rounding using get_rounding_mode and
28153 * stdio-common/tst-printf-round.c (struct hex_test): New
28155 (hex_tests): New variable.
28156 (test_hex_in_one_mode): New function.
28157 (do_test): Also run tests for hex float output.
28159 2012-09-21 Joseph Myers <joseph@codesourcery.com>
28161 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28162 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28163 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
28164 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28165 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28166 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
28167 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28168 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28170 2012-09-20 Joseph Myers <joseph@codesourcery.com>
28172 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
28173 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
28174 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
28175 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
28177 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
28180 * elf/rtld.c (dl_main): Limit the check for self loading to normal
28182 * elf/tst-rtld-load-self.sh: New test.
28183 * elf/Makefile: Run it.
28185 2012-09-18 Joseph Myers <joseph@codesourcery.com>
28187 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
28188 (tst-writev-ENV): Remove.
28189 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
28191 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
28193 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
28195 2012-09-17 Joseph Myers <joseph@codesourcery.com>
28197 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
28199 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
28201 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
28202 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
28203 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
28206 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
28209 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
28210 * config.make.in (have-cpp-asm-debuginfo): Removed.
28211 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
28212 * configure: Regenerated.
28214 2012-09-14 Joseph Myers <joseph@codesourcery.com>
28217 * stdio-common/printf_fp.c: Include <stdbool.h> and
28219 (___printf_fp): Determine rounding using get_rounding_mode and
28221 * stdio-common/tst-printf-round.c: New file.
28222 * stdio-common/Makefile (tests): Add tst-printf-round.
28223 (link-libm): New variable.
28224 ($(objpfx)tst-printf-round): Depend in $(link-libm).
28226 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
28229 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
28230 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
28232 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
28235 2012-09-13 Joseph Myers <joseph@codesourcery.com>
28237 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
28238 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28239 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28240 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28242 2012-09-12 Joseph Myers <joseph@codesourcery.com>
28245 * include/rounding-mode.h: New file.
28246 * sysdeps/generic/get-rounding-mode.h: Likewise.
28247 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
28248 * stdlib/strtod_l.c: Include <rounding-mode.h>.
28249 (MAX_VALUE): New macro.
28250 (MIN_VALUE): Likewise.
28251 (overflow_value): New function.
28252 (underflow_value): Likewise.
28253 (round_and_return): Use overflow_value and underflow_value to
28254 determine return values in overflow and underflow cases. Use
28255 round_away to determine rounding depending on rounding mode.
28256 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
28257 determine return values in overflow and underflow cases.
28258 * stdlib/tst-strtod-round.c: Include <fenv.h>.
28259 (struct test_results): New structure.
28260 (struct test): Use struct test_results to store expected results
28261 for all rounding modes.
28262 (TEST): Include expected results for all rounding modes.
28263 (test_in_one_mode): New function.
28264 (do_test): Use test_in_one_mode to compute and check results.
28265 Check results for all rounding modes.
28266 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
28269 2012-12-09 Allan McRae <allan@archlinux.org>
28271 * sysdeps/i386/fpu/libm-test-ulps: Update
28273 2012-09-11 Joseph Myers <joseph@codesourcery.com>
28275 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
28276 (_G_int32_t): Likewise.
28277 (_G_uint16_t): Likewise.
28278 (_G_uint32_t): Likewise.
28279 (_G_HAVE_BOOL): Likewise.
28280 (_G_HAVE_ATEXIT): Likewise.
28281 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28282 (_G_HAVE_IO_FILE_OPEN): Likewise.
28283 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
28284 (_G_int32_t): Likewise.
28285 (_G_uint16_t): Likewise.
28286 (_G_uint32_t): Likewise.
28287 (_G_HAVE_BOOL): Likewise.
28288 (_G_HAVE_ATEXIT): Likewise.
28289 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28290 (_G_HAVE_IO_FILE_OPEN): Likewise.
28291 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
28292 (_G_int32_t): Likewise.
28293 (_G_uint16_t): Likewise.
28294 (_G_uint32_t): Likewise.
28295 (_G_HAVE_BOOL): Likewise.
28296 (_G_HAVE_ATEXIT): Likewise.
28297 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28298 (_G_HAVE_IO_FILE_OPEN): Likewise.
28300 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
28302 * csu/libc-tls.c: Update copyright years.
28304 2012-09-10 Joseph Myers <joseph@codesourcery.com>
28306 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
28307 [!_G_USING_THUNKS]: Remove conditional code.
28308 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
28309 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
28311 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
28312 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
28313 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28314 (_G_VTABLE_LABEL_PREFIX): Likewise.
28315 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28316 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28317 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28318 (_G_VTABLE_LABEL_PREFIX): Likewise.
28319 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28320 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28321 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28322 (_G_VTABLE_LABEL_PREFIX): Likewise.
28323 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28325 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
28327 * libio/Makefile: Include ../Makeconfig before tests.
28328 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
28329 only if $(build-shared) is yes.
28331 * iconv/gconv_db.c: Update copyright years.
28333 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28335 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
28336 unwind info if defined PIC. Fix special cases description.
28337 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
28339 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
28341 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
28343 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
28345 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
28347 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
28350 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
28351 (LDLIBS-tst-chk4): This.
28352 (LDFLAGS-tst-chk5): Renamed to ...
28353 (LDLIBS-tst-chk5): This.
28354 (LDFLAGS-tst-chk6): Renamed to ...
28355 (LDLIBS-tst-chk6): This.
28356 (LDFLAGS-tst-lfschk4): Renamed to ...
28357 (LDLIBS-tst-lfschk4): This.
28358 (LDFLAGS-tst-lfschk5): Renamed to ...
28359 (LDLIBS-tst-lfschk5): This.
28360 (LDFLAGS-tst-lfschk6): Renamed to ...
28361 (LDLIBS-tst-lfschk6): This.
28363 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
28364 on $(common-objpfx)soversions.mk.
28366 2012-09-07 Joseph Myers <joseph@codesourcery.com>
28369 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
28372 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28374 * malloc/arena.c (arena_get_retry): New function that gets
28375 another arena for the caller to try its request on.
28376 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
28377 current arena cannot fulfill the request.
28378 (__libc_memalign): Likewise.
28379 (__libc_memalign): Likewise.
28380 (__libc_pvalloc): Likewise.
28381 (__libc_calloc): Likewise.
28383 2012-09-05 John Tobey <john.tobey@gmail.com>
28386 * manual/arith.texi (Operations on Complex): Fix description
28387 of carg branch cut.
28389 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28392 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
28396 * manual/memory.texi (Memory): Make order of menu items match
28399 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28401 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
28402 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
28403 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
28405 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28407 * csu/libc-tls.c (static_dtv): Renamed to ...
28408 (_dl_static_dtv): This. Make it global.
28409 (_dl_initial_dtv): Removed.
28410 (__libc_setup_tls): Updated.
28411 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
28412 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
28415 2012-09-06 Petr Machata <pmachata@redhat.com>
28417 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
28418 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
28419 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
28420 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
28422 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28425 * csu/libc-tls.c (_dl_initial_dtv): New variable.
28426 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
28429 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28432 * Makeconfig (link-static-before-libc): Replace $(+prector)
28434 (link-static-after-libc): Replace $(+postctor) with
28436 (link-bounded): Replace $(+prector)/$(+postctor) with
28437 $(+prectorT)/$(+postctorT).
28438 (+prectorT): New macro.
28439 (+postctorT): Likewise.
28441 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28443 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
28444 (round_str): Handle values above the maximum for IBM long double
28446 * stdlib/tst-strtod-round.c (tests): Regenerated.
28448 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28450 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
28452 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
28453 zarch_nohighgprs around the zarch optimized routines.
28454 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28455 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28456 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
28459 2012-09-05 David S. Miller <davem@davemloft.net>
28461 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28463 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
28464 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
28465 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
28466 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28469 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28471 * malloc/arena.c: Fold copyright years.
28472 * malloc/mcheck.c, malloc/memusage.c: Likewise.
28474 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28476 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
28478 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28480 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
28482 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28484 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
28485 change internal state upon failure.
28487 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28489 * malloc/mcheck.c (mcheck_check_all): Fix typo.
28490 * malloc/memusage.c (mmap): Likewise.
28491 (mmap64, mremap): Likewise. Adjust name in comment.
28493 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28495 * libio/fileops.c: Fix typos in comments.
28496 * libio/oldfileops.c: Likewise.
28497 * libio/wfileops.c: Likewise.
28499 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28502 * malloc/Makefile (tests): Add tst-malloc-usable test case.
28503 (tst-malloc-usable-ENV): Set environment for test case.
28504 * malloc/hooks.c (malloc_check_get_size): New function to get
28506 * malloc/malloc.c (musable): Use malloc_check_get_size.
28507 * malloc/tst-malloc-usable.c: New test case.
28509 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28511 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
28513 2012-09-05 Allan McRae <allan@archlinux.org>
28516 * configure.in (CXX_SYSINCLUDES): Use compiler output to
28517 determine header location.
28518 * configure: Regenerated.
28520 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28522 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
28524 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
28525 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
28527 (test): Regenerate.
28529 2012-09-04 David S. Miller <davem@davemloft.net>
28531 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
28532 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
28533 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
28535 2012-09-04 Florian Weimer <fweimer@redhat.com>
28537 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
28540 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
28542 2012-09-04 Joseph Myers <joseph@codesourcery.com>
28545 * libio/iogetdelim.c: Include <limits.h>.
28546 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
28547 + len + 1 would overflow.
28549 2012-09-03 Andreas Jaeger <aj@suse.de>
28551 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28552 * sysdeps/i386/fpu/libm-test-ulps: Update.
28554 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28556 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28557 Add s_sinf-sse2, s_conf-sse2.
28559 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
28560 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
28561 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
28562 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
28564 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
28565 for using routine as __sinf_ia32.
28566 Use macro for function declaration and weak_alias.
28567 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
28568 for using routine as __cosf_ia32.
28569 Use macro for function declaration and weak_alias.
28571 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
28572 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
28574 * sysdeps/x86_64/fpu/s_sinf.S: New file.
28575 * sysdeps/x86_64/fpu/s_cosf.S: New file.
28576 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28578 * math/libm-test.inc (cos_test): Add more test cases.
28579 (sin_test): Likewise.
28580 (sincos_test): Likewise.
28582 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28584 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
28585 (IFUNC_RESOLVE): Make pointers to the specialized implementations
28587 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28589 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
28592 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
28593 first element of the GOT.
28594 (elf_machine_load_address): Return the difference between
28595 the runtime address of _DYNAMIC and elf_machine_dynamic ().
28597 2012-09-01 Allan McRae <allan@archlinux.org>
28600 * configure.in (AWK): Require gawk version 3.0 or later.
28601 * configure: Regenerated.
28603 2012-09-01 Joseph Myers <joseph@codesourcery.com>
28605 * sysdeps/unix/sysv/linux/kernel-features.h
28606 (__ASSUME_POSIX_CPU_TIMERS): Remove.
28607 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28608 [__NR_clock_getres]: Make code unconditional.
28609 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
28610 (clock_getcpuclockid): Remove code left unreachable by removal of
28612 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
28613 code unconditional.
28614 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28615 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28616 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
28617 Make code unconditional.
28618 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28619 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28620 * sysdeps/unix/sysv/linux/clock_settime.c
28621 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
28623 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
28624 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28626 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
28629 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
28630 scripts/test-installation.pl.
28632 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
28633 and $ld_so_version if it is set.
28635 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28638 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
28639 failure if reading from procfs failed.
28640 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
28642 2012-08-27 Joseph Myers <joseph@codesourcery.com>
28644 * sysdeps/unix/sysv/linux/kernel-features.h
28645 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
28646 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28647 Remove conditional code.
28648 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28649 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
28650 Remove conditional code.
28651 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28652 * sysdeps/unix/sysv/linux/i386/fxstat.c
28653 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28654 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28655 * sysdeps/unix/sysv/linux/i386/fxstatat.c
28656 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28657 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28658 * sysdeps/unix/sysv/linux/i386/lxstat.c
28659 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28660 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28661 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
28662 Remove conditional code.
28663 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28664 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28665 Remove conditional code.
28666 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28667 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
28668 <kernel-features.h>.
28669 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
28671 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
28672 Remove conditional code.
28673 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28674 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
28675 Remove conditional.
28677 2012-08-27 Mike Frysinger <vapier@gentoo.org>
28680 * NEWS: Add fixed bug number.
28682 2012-08-27 Joseph Myers <joseph@codesourcery.com>
28685 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
28686 underflowing exponent in case of negative sign.
28687 * stdlib/tst-strtod-round-data: Add more tests.
28688 * stdlib/tst-strtod-round.c (tests): Regenerated.
28691 * stdlib/strtod_l.c (NDIG): Remove.
28692 (HEXNDIG): Likewise.
28693 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
28694 smallest representable value.
28695 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
28696 lie within an exact representation of 1/2 ulp of the result.
28697 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
28699 (TENS_P9_IDX): Define unconditionally.
28700 (TENS_P9_SIZE): Likewise.
28701 (TENS_P10_IDX): Likewise.
28702 (TENS_P10_SIZE): Likewise.
28703 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
28704 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
28705 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
28706 entries for 10^2^13 and 10^2^14.
28707 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
28708 (TENS_P13_IDX): Define.
28709 (TENS_P13_SIZE): Likewise.
28710 (TENS_P14_IDX): Likewise.
28711 (TENS_P14_SIZE): Likewise.
28712 (_fpioconst_pow10): Change array size to
28713 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
28715 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
28716 1024]: Add entries for 10^2^13 and 10^2^14.
28717 [LAST_POW10 > _LAST_POW10]: Remove #error.
28718 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
28719 (_fpioconst_pow10): Change array size to
28720 FPIOCONST_POW10_ARRAY_SIZE.
28721 * stdlib/gen-fpioconst.c: New file.
28722 * stdlib/gen-tst-strtod-round.c: Likewise.
28723 * stdlib/tst-strtod-round-data: Likewise.
28724 * stdlib/tst-strtod-round.c: Likewise.
28725 * stdlib/Makefile (tests): Add tst-strtod-round.
28728 * stdlib/strtod_l.c: Include <stdint.h>.
28729 (NDEBUG): Do not define.
28730 (round_and_return): Change EXPONENT parameter to type intmax_t.
28731 Rearrange calculations to avoid internal overflow possibilities.
28732 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
28733 Rearrange calculations to avoid internal overflow possibilities.
28734 Assert that number fits inside MPNSIZE limbs.
28735 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
28736 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
28737 calculations and add assertions to avoid internal overflow
28738 possibilities. Add casts to avoid signed/unsigned operations.
28739 * stdlib/tst-strtod-overflow.c: New file.
28740 * stdlib/Makefile (tests): Add tst-strtod-overflow.
28742 2012-08-25 Marek Polacek <polacek@redhat.com>
28744 * time/time.h: Fix some typos in comments.
28746 2012-08-23 Roland McGrath <roland@hack.frob.com>
28748 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
28749 * posix/tst-rfc3484-2.c: Likewise.
28750 * posix/tst-rfc3484-3.c: Likewise.
28752 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
28754 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
28755 (EF_ARM_ABI_FLOAT_HARD): Likewise.
28757 2012-08-23 Joseph Myers <joseph@codesourcery.com>
28759 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
28760 #include of fxstatat64.c.
28762 2012-08-22 Roland McGrath <roland@hack.frob.com>
28764 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
28765 * shadow/getspent_r.c: Likewise.
28766 * shadow/getspnam.c: Likewise.
28767 * shadow/getspnam_r.c: Likewise.
28768 * gshadow/getsgent.c: Likewise.
28769 * gshadow/getsgent_r.c: Likewise.
28770 * gshadow/getsgnam.c: Likewise.
28771 * gshadow/getsgnam_r.c: Likewise.
28772 * inet/getnetbyad.c: Likewise.
28773 * inet/getnetbyad_r.c: Likewise.
28774 * inet/getnetbynm.c: Likewise.
28775 * inet/getnetbynm_r.c: Likewise.
28776 * inet/getnetent.c: Likewise.
28777 * inet/getnetent_r.c: Likewise.
28778 * inet/getproto.c: Likewise.
28779 * inet/getproto_r.c: Likewise.
28780 * inet/getprtent.c: Likewise.
28781 * inet/getprtent_r.c: Likewise.
28782 * inet/getprtname.c: Likewise.
28783 * inet/getprtname_r.c: Likewise.
28784 * inet/getrpcbyname.c: Likewise.
28785 * inet/getrpcbyname_r.c: Likewise.
28786 * inet/getrpcbynumber.c: Likewise.
28787 * inet/getrpcbynumber_r.c: Likewise.
28788 * inet/getrpcent.c: Likewise.
28789 * inet/getrpcent_r.c: Likewise.
28790 * inet/getaliasent.c: Likewise.
28791 * inet/getaliasent_r.c: Likewise.
28792 * inet/getaliasname.c: Likewise.
28793 * inet/getaliasname_r.c: Likewise.
28794 * nscd/getgrgid_r.c: Likewise.
28795 * nscd/getgrnam_r.c: Likewise.
28796 * nscd/gethstbyad_r.c: Likewise.
28797 * nscd/gethstbynm3_r.c: Likewise.
28798 * nscd/getpwnam_r.c: Likewise.
28799 * nscd/getpwuid_r.c: Likewise.
28800 * nscd/getsrvbynm_r.c: Likewise.
28801 * nscd/getsrvbypt_r.c: Likewise.
28802 * nscd/gai.c: Likewise.
28804 * configure.in (build_nscd): New substituted variable, set
28805 by --disable-build-nscd and defaults to $use_nscd.
28806 * configure: Regenerated.
28807 * config.make.in (build-nscd): New substituted variable.
28808 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
28809 Change conditional to require [$(build-nscd) = yes] as well.
28810 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
28813 * configure.in (use_nscd): New substituted variable, set by
28814 --disable-nscd. If enabled, define USE_NSCD.
28815 * configure: Regenerated.
28816 * config.h.in: Add USE_NSCD.
28817 * config.make.in (use-nscd): New substituted variable.
28818 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
28819 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
28820 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
28821 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
28822 (CFLAGS-getgrnam_r.c): Likewise.
28823 (CFLAGS-initgroups.c): Likewise.
28824 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
28825 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
28827 * inet/getnetgrent_r.c
28828 (nscd_setnetgrent): New function, broken out of ...
28829 (setnetgrent): ... here. Call it.
28830 (innetgr): Conditionalize nscd bits on [USE_NSCD].
28831 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
28832 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
28833 * nscd/Makefile (routines, aux): Move definitions after include of
28834 Makeconfig. Conditionalize on [$(use-nscd) != no].
28835 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
28836 Conditionalize on [USE_NSCD].
28837 (is_nscd, nscd_init_cb): Likewise.
28838 (nss_load_library): Conditionalize init callback on [USE_NSCD].
28839 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
28840 * nss/nss_db/db-init.c: Likewise.
28841 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
28843 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
28844 (make_request): Use it.
28845 (cache_valid_p): New function.
28846 (__check_pf): Use it.
28847 * NEWS: Add item for --disable-nscd.
28849 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
28851 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
28852 to support sed >= 4.2.1-20-ga9bf076.
28853 * configure: Regenerated.
28855 2012-08-22 Roland McGrath <roland@hack.frob.com>
28857 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
28858 Conditionalize whole body on [IREL].
28860 2012-08-22 Jeff Law <law@redhat.com>
28863 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
28864 if the family is PF_UNSPEC.
28866 2012-08-22 Mike Frysinger <vapier@gentoo.org>
28868 * Makerules (lib-version): Rename from V.
28869 (install-lib-nosubdir): Change V to lib-version.
28871 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
28874 * powerpc32/power6/wcschr.c: New file.
28875 * powerpc32/power6/wcscpy.c: New file.
28876 * powerpc32/power6/wcsrchr.c: New file.
28877 * powerpc64/power6/wcschr.c: New file.
28878 * powerpc64/power6/wcscpy.c: New file.
28879 * powerpc64/power6/wcsrchr.c: New file.
28881 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28883 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
28884 (two_way_short_needle): Use it.
28885 * string/strstr.c (AVAILABLE1_USES_J): Define.
28886 * string/strcasestr.c: Likewise.
28888 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
28890 * string/strcasestr.c (TOLOWER): Make side-effect safe.
28893 * NEWS: Add an entry.
28894 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
28895 define their defaults.
28896 (two_way_short_needle): Detect end-of-string on-the-fly.
28897 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
28898 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
28899 * string/bug-strcasestr1.c: New test.
28900 * string/Makefile: Run it.
28902 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28905 * string/str-two-way.h (two_way_short_needle): Optimize matching of
28906 the first character.
28908 2012-08-21 Roland McGrath <roland@hack.frob.com>
28910 * csu/elf-init.c (__libc_csu_irel): Function removed.
28911 * csu/libc-start.c (apply_irel): New function.
28912 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
28914 2012-08-21 Joseph Myers <joseph@codesourcery.com>
28916 * sysdeps/unix/sysv/linux/kernel-features.h
28917 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
28918 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28919 <kernel-features.h>.
28920 [__NR_fadvise64_64]: Make code unconditional.
28921 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
28922 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28923 !__NR_fadvise64_64)]: Likewise.
28924 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28925 !__NR_fadvise64_64))]: Likewise.
28926 [__NR_fadvise64]: Make code unconditional.
28927 [!__NR_fadvise64]: Remove conditional code.
28928 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
28929 <kernel-features.h>.
28930 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28932 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
28935 not include <kernel-features.h>.
28936 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28938 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28940 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
28941 include <kernel-features.h>.
28942 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28944 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28947 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28949 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
28950 slight instruction rearrangements per scrollpipe analysis.
28951 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28953 2012-08-20 Roland McGrath <roland@hack.frob.com>
28955 * manual/syslog.texi (syslog; vsyslog, closelog):
28956 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
28957 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
28959 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
28960 DSOCAPS to match condition on defining it.
28962 2012-08-20 Joseph Myers <joseph@codesourcery.com>
28964 * sysdeps/unix/sysv/linux/kernel-features.h
28965 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
28966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
28967 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28968 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
28970 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28971 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
28973 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28974 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28976 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
28977 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
28979 * sysdeps/unix/sysv/linux/kernel-features.h
28980 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
28981 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
28983 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28984 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
28985 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28986 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28987 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
28988 Make code unconditional.
28989 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28990 (__mmap64) [!__NR_mmap2]: Likewise.
28991 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
28992 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28993 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28994 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
28995 [__NR_mmap2]: Make code unconditional.
28996 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28997 (__mmap64) [!__NR_mmap2]: Likewise.
28999 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29001 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29003 2012-08-18 Andreas Jaeger <aj@suse.de>
29005 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29007 2012-08-18 Mike Frysinger <vapier@gentoo.org>
29009 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29010 * include/unistd.h (__have_sock_cloexec): Likewise.
29011 (__have_pipe2): Likewise.
29012 (__have_dup3): Likewise.
29014 2012-08-18 Mike Frysinger <vapier@gentoo.org>
29017 * include/unistd.h (__have_pipe2): Change define into an extern int.
29018 (__have_dup3): Likewise.
29019 * socket/have_sock_cloexec.c: Include fcntl.h.
29020 (__have_pipe2): New variable.
29021 (__have_dup3): Likewise.
29023 2012-08-17 Mike Frysinger <vapier@gentoo.org>
29025 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29027 2012-08-17 Marek Polacek <polacek@redhat.com>
29029 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29030 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29032 2012-08-17 Roland McGrath <roland@hack.frob.com>
29034 * configure.in: Add AC_SUBST for sysheaders.
29035 * configure: Regenerated.
29036 * config.make.in (sysheaders): New substituted variable.
29038 * sysdeps/unix/mkfifo.c: Moved ...
29039 * sysdeps/posix/mkfifo.c: ... here.
29040 * sysdeps/unix/mkfifoat.c: Moved ...
29041 * sysdeps/posix/mkfifoat.c: ... here.
29043 * sysdeps/unix/utime.c: Moved ...
29044 * sysdeps/posix/utime.c: ... here.
29046 * sysdeps/unix/time.c: Moved ...
29047 * sysdeps/posix/time.c: ... here.
29048 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29049 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
29051 * sysdeps/unix/nice.c: Moved ...
29052 * sysdeps/posix/nice.c: ... here.
29054 * sysdeps/unix/alarm.c: Moved ...
29055 * sysdeps/posix/alarm.c: ... here.
29057 * intl/Makefile ($(codeset_mo)): Depend on the input file.
29059 2012-08-17 Jeff Law <law@redhat.com>
29061 * intl/Makefile (codeset_mo): New variable.
29062 ($(codeset_mo)): New target.
29063 (tst-codeset.out): Depend on that. Remove explicit rule.
29064 (tst-gettext3.out, tst-gettext5.out): Likewise.
29065 (LOCPATH-ENV, tst-codeset-ENV): New variables.
29066 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29067 * intl/tst-codeset.sh: Remove.
29068 * intl/tst-gettext3.sh: Likewise.
29069 * intl/tst-gettext5.sh: Likewise.
29071 2012-08-17 Roland McGrath <roland@hack.frob.com>
29073 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
29074 * sysdeps/unix/syscalls.list: ... here.
29076 * sysdeps/posix/getaddrinfo.c
29077 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29078 (gaiconf_init, gaiconf_reload): Use them.
29079 [!_STATBUF_ST_NSEC]
29080 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29081 Define using time_t rather than struct timespec.
29083 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
29084 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
29086 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29088 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
29089 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
29092 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
29093 __libc_cleanup_push argument.
29095 * bits/param.h: New file.
29096 * misc/sys/param.h: New file.
29097 * include/sys/param.h: New file.
29098 * misc/Makefile (headers): Add bits/param.h.
29099 * sysdeps/generic/sys/param.h: File removed.
29100 * sysdeps/unix/sysv/linux/bits/param.h: New file.
29101 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
29102 * sysdeps/mach/hurd/bits/param.h: New file.
29103 * sysdeps/mach/hurd/sys/param.h: File removed.
29105 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
29108 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
29110 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
29111 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
29114 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
29115 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
29116 rather than -D_IO_MTSAFE_IO conditionally.
29117 * stdio-common/Makefile (CPPFLAGS): Likewise.
29118 * wcsmbs/Makefile (CPPFLAGS): Likewise.
29119 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
29120 Use $(libio-mtsafe).
29121 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
29122 of -D_IO_MTSAFE_IO.
29123 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
29124 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
29125 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
29126 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
29127 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
29128 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
29129 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
29130 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
29131 (CFLAGS-fread_u_chk.c): Likewise.
29132 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
29133 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
29134 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
29135 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
29136 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
29137 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
29138 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
29139 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
29140 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
29142 * libio/Makefile: Test [$(libc-reentrant) = yes]
29143 instead of [$(filter %REENTRANT, $(defines)) nonempty].
29146 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
29147 * sysdeps/pthread/configure: File removed.
29148 * sysdeps/pthread/Makeconfig: New file.
29149 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
29150 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
29152 2012-08-16 Gary Benson <gbenson@redhat.com>
29154 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
29155 unmapping the first object in a namespace.
29157 2012-08-16 Roland McGrath <roland@hack.frob.com>
29159 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
29160 (__internal_setnetgrent): ... this. Add internal_function to
29161 definition. Add libc_hidden_def.
29162 (setnetgrent): Update caller.
29163 (internal_endnetgrent): Renamed to ...
29164 (__internal_endnetgrent): ... this. Add internal_function to
29165 definition. Add libc_hidden_def.
29166 (endnetgrent): Update caller.
29167 (internal_getnetgrent_r): Renamed to ...
29168 (__internal_getnetgrent_r): ... this. Add internal_function to
29169 definition. Add libc_hidden_def.
29170 (__getnetgrent_r): Update caller.
29171 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
29173 2012-08-16 Joseph Myers <joseph@codesourcery.com>
29175 * stdlib/longlong.h: Update from GCC.
29177 2012-08-16 Roland McGrath <roland@hack.frob.com>
29179 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
29180 on _QL, which is set by umul_ppmm but never used.
29181 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
29182 variables, which are set by GMP macros but never used.
29183 * stdio-common/_itowa.c (_itowa): Likewise.
29184 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
29185 * stdlib/mod_1.c (mpn_mod_1): Likewise.
29187 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
29189 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
29190 struct La_sh_regs is not constant.
29191 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
29192 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
29193 and struct La_sparc64_regs are not constant.
29195 2012-08-16 Joseph Myers <joseph@codesourcery.com>
29197 * sysdeps/unix/sysv/linux/kernel-features.h
29198 (__ASSUME_POSIX_TIMERS): Remove.
29199 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29200 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29201 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
29202 Make code unconditional.
29203 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29204 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
29205 Make code unconditional.
29206 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29207 * sysdeps/unix/sysv/linux/clock_nanosleep.c
29208 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
29209 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29210 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
29211 Make code unconditional.
29212 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29213 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
29214 (__libc_missing_posix_timers): Remove.
29216 2012-08-15 Roland McGrath <roland@hack.frob.com>
29218 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
29219 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
29221 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
29223 * elf/dl-sym.c: Include <stdlib.h>.
29225 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
29226 constants, which avoids warnings in 32-bit builds.
29228 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
29229 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
29231 * misc/lseek.c: File moved to ...
29232 * io/lseek.c: ... here.
29234 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
29236 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
29237 shifting LEN more than 31 bits at once.
29239 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29242 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
29243 segmentation fault for a case of two empty input strings.
29244 * string/test-strncasecmp.c (check1): Renamed to...
29245 (bz12205): ...this.
29246 (bz14195): Add new testcase for two empty input strings and N > 0.
29247 (test_main): Call new testcase, adapt for renamed function.
29249 2012-08-15 Andreas Jaeger <aj@suse.de>
29252 * crypt/md5test2.c: New test, based on test supplied by Serge
29253 Belyshev <belyshev@depni.sinp.msu.ru>.
29254 * crypt/Makefile (xtests): Add md5test-giant..
29255 * crypt/Makefile ($(objpfx)md5test-giant): Add.
29257 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
29260 * crypt/md5.c (md5_process_block): Don't assume the buffer
29261 length is less than 2**32.
29262 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
29263 length is less than 2**64.
29265 2012-08-15 Roland McGrath <roland@hack.frob.com>
29267 * string/str-two-way.h: Include <sys/param.h>.
29268 (MAX): Macro removed.
29270 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
29271 Move #define and #undef of memmove to just before and after
29272 including <string.h>.
29274 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
29275 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
29276 and after including <string.h>. Move declarations of
29277 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
29278 to before #include "string/memmove.c".
29280 * include/dirent.h: Declare __getdirentries.
29282 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
29283 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
29285 2012-08-14 Mike Frysinger <vapier@gentoo.org>
29287 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
29288 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
29289 * sysdeps/i386/configure: Regenerated.
29290 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
29291 STABS_CURRENT_FILE, and STABS_FUN.
29292 (END): Remove call to STABS_FUN_END.
29293 (STABS_CURRENT_FILE1): Delete.
29294 (STABS_CURRENT_FILE): Likewise.
29295 (STABS_FUN): Likewise.
29296 (STABS_FUN_END): Likewise.
29297 (STABS_FUN2): Likewise.
29298 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
29299 * sysdeps/x86_64/configure: Regenerated.
29301 2012-08-14 Roland McGrath <roland@hack.frob.com>
29303 * elf/dl-open.c: Include <atomic.h>.
29304 * elf/dl-lookup.c: Likewise.
29306 2012-08-14 Joseph Myers <joseph@codesourcery.com>
29308 * sysdeps/unix/sysv/linux/kernel-features.h
29309 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
29310 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
29312 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
29314 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
29315 condition on __ASSUME_CLONE_THREAD_FLAGS.
29317 2012-08-14 Andreas Jaeger <aj@suse.de>
29319 * sysdeps/i386/fpu/libm-test-ulps: Update.
29321 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
29323 * include/atomic.h (atomic_exchange_and_add): Split into ...
29324 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
29327 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
29329 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29331 2012-08-13 Jeff Law <law@redhat.com>
29333 * manual/stdio.texi (snprintf): Clarify handling of the trailing
29334 null byte in the output string.
29336 2012-08-10 Joseph Myers <joseph@codesourcery.com>
29338 * sysdeps/unix/sysv/linux/kernel-features.h
29339 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
29340 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
29341 (__ASSUME_ARG_MAX_STACK_BASED): Define.
29342 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29343 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
29344 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
29345 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
29347 2012-08-09 Jeff Law <law@redhat.com>
29350 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
29351 When avoid_arena is set, don't retry in the that arena. Pick the
29352 next one, whatever it might be.
29353 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
29354 (arena_lock): Pass in new parameter to arena_get2.
29355 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
29357 (__libc_malloc): Unify retrying after main arena failure with
29358 __libc_memalign version.
29359 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
29361 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
29364 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
29365 to __redirect_strstr.
29366 (__strstr_sse42): Use typeof __redirect_strstr.
29367 (__strstr_ia32): Likewise.
29368 (__libc_strstr): New prototype.
29369 (strstr): Renamed to ...
29370 (__libc_strstr): This.
29371 (strstr): New strong alias of __libc_strstr.
29372 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29373 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
29376 (__libc_time): New prototype.
29377 (time_ifunc): Replace time with __libc_time.
29378 (time): New strong alias and hidden definition of __libc_time.
29379 (__GI_time): Remove strong alias.
29380 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
29381 Include <stddef.h>.
29382 (memmove): Redefined to __redirect_memmove.
29383 (__memmove_sse2): Use typeof __redirect_memmove.
29384 (__memmove_ssse3): Likewise.
29385 (__memmove_ssse3_back): Likewise.
29386 (__libc_memmove): New prototype.
29387 (memmove): Renamed to ...
29388 (__libc_memmove): This.
29389 (memmove): New strong alias of __libc_memmove.
29391 2012-08-08 Mark Salter <msalter@redhat.com>
29394 (R_MN10300_TLS_GD): Define.
29395 (R_MN10300_TLS_LD): Likewise.
29396 (R_MN10300_TLS_LDO): Likewise.
29397 (R_MN10300_TLS_GOTIE): Likewise.
29398 (R_MN10300_TLS_IE): Likewise.
29399 (R_MN10300_TLS_LE): Likewise.
29400 (R_MN10300_TLS_DTPMOD): Likewise.
29401 (R_MN10300_TLS_DTPOFF): Likewise.
29402 (R_MN10300_TLS_TPOFF): Likewise.
29403 (R_MN10300_SYM_DIFF): Likewise.
29404 (R_MN10300_ALIGN): Likewise.
29405 (R_MN10300_NUM): Update.
29407 2012-08-08 Joseph Myers <joseph@codesourcery.com>
29409 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
29412 2012-08-08 Roland McGrath <roland@hack.frob.com>
29414 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
29416 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
29417 sysdeps/unix -> sysdeps/posix move.
29418 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29420 2012-08-07 Allan McRae <allan@archlinux.org>
29423 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
29424 (SUNOS_CPP): Likewise.
29425 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
29427 (open_input): Call CPP using execvp.
29429 2012-08-07 Joseph Myers <joseph@codesourcery.com>
29431 * sysdeps/unix/sysv/linux/kernel-features.h
29432 (__ASSUME_PROT_GROWSUPDOWN): Remove.
29433 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29434 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29435 (__ASSUME_WAITID_SYSCALL): Likewise.
29436 * sysdeps/unix/sysv/linux/dl-execstack.c
29437 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
29438 code unconditional.
29439 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
29441 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
29442 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
29443 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
29445 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
29447 [__ASSUME_WAITID_SYSCALL]: Likewise.
29448 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
29450 2012-08-07 Roland McGrath <roland@hack.frob.com>
29452 * sysdeps/unix/closedir.c: Renamed to ...
29453 * sysdeps/posix/closedir.c: ... here.
29454 * sysdeps/unix/dirfd.c: Renamed to ...
29455 * sysdeps/posix/dirfd.c: ... here.
29456 * sysdeps/unix/dirstream.h: Renamed to ...
29457 * sysdeps/posix/dirstream.h: ... here.
29458 * sysdeps/unix/fdopendir.c: Renamed to ...
29459 * sysdeps/posix/fdopendir.c: ... here.
29460 * sysdeps/unix/opendir.c: Renamed to ...
29461 * sysdeps/posix/opendir.c: ... here.
29462 * sysdeps/unix/readdir.c: Renamed to ...
29463 * sysdeps/posix/readdir.c: ... here.
29464 * sysdeps/unix/readdir_r.c: Renamed to ...
29465 * sysdeps/posix/readdir_r.c: ... here.
29466 * sysdeps/unix/rewinddir.c: Renamed to ...
29467 * sysdeps/posix/rewinddir.c: ... here.
29468 * sysdeps/unix/seekdir.c: Renamed to ...
29469 * sysdeps/posix/seekdir.c: ... here.
29470 * sysdeps/unix/telldir.c: Renamed to ...
29471 * sysdeps/posix/telldir.c: ... here.
29472 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
29473 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
29474 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29475 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
29477 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
29478 * bits/fcntl.h: ... here.
29480 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
29482 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
29483 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
29484 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
29485 (struct flock): Move l_start, l_len to the beginning.
29486 Use __pid_t for l_pid.
29487 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
29488 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
29489 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
29490 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
29491 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
29492 [__USE_LARGEFILE64] (struct flock64): New type.
29493 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
29495 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
29496 * bits/dirent.h: ... here.
29498 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
29499 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
29501 2012-08-07 Joseph Myers <joseph@codesourcery.com>
29503 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29504 Change from 2.6.0 to 2.6.16.
29505 * sysdeps/unix/sysv/linux/configure: Regenerated.
29506 * sysdeps/unix/sysv/linux/kernel-features.h
29507 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
29508 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
29510 (__ASSUME_UTIMES): Likewise.
29511 (__ASSUME_CLONE_STOPPED): Remove.
29512 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
29513 architectures, not kernel version.
29514 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
29515 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29516 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29517 (__ASSUME_WAITID_SYSCALL): Likewise.
29518 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
29519 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
29520 * README: State 2.6.16 as minimum Linux kernel version. Do not
29521 refer to older versions.
29523 2012-08-06 Roland McGrath <roland@hack.frob.com>
29525 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
29526 Define alphasort64 as an alias.
29527 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
29528 Define versionsort64 as an alias.
29529 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
29530 Define scandir64 as an alias.
29531 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
29532 Define scandirat64 as an alias.
29533 * dirent/alphasort64.c (alphasort64):
29534 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
29535 * dirent/versionsort64.c: Likewise.
29536 * dirent/scandir64.c: Likewise.
29537 * dirent/scandirat64.c: Likewise.
29538 * sysdeps/wordsize-64/alphasort.c: File removed.
29539 * sysdeps/wordsize-64/alphasort64.c: File removed.
29540 * sysdeps/wordsize-64/scandir.c: File removed.
29541 * sysdeps/wordsize-64/scandir64.c: File removed.
29542 * sysdeps/wordsize-64/scandirat.c: File removed.
29543 * sysdeps/wordsize-64/scandirat64.c: File removed.
29544 * sysdeps/wordsize-64/versionsort.c: File removed.
29545 * sysdeps/wordsize-64/versionsort64.c: File removed.
29546 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
29547 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
29548 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
29549 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
29550 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
29551 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
29552 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
29553 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
29555 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
29556 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29557 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
29558 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29559 [defined __arch64__ || defined __sparcv9]
29560 (__INO_T_MATCHES_INO64_T): New macro.
29561 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29562 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
29563 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
29564 * sysdeps/unix/sysv/linux/bits/dirent.h
29565 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
29566 (_DIRENT_MATCHES_DIRENT64): New macro.
29568 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
29569 Define lockf64 as an alias.
29570 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
29571 Define fseeko64 as an alias.
29572 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
29573 Define ftello64 as an alias.
29574 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
29575 Define _IO_fgetpos64 and fgetpos64 as aliases.
29576 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
29577 Define _IO_fsetpos64 and fsetpos64 as aliases.
29578 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
29579 Conditionalize body on this.
29580 * libio/fseeko64.c: Likewise.
29581 * libio/ftello64.c: Likewise.
29582 * libio/iofgetpos64.c: Likewise.
29583 * libio/iofsetpos64.c: Likewise.
29584 * sysdeps/wordsize-64/lockf.c: File removed.
29585 * sysdeps/wordsize-64/lockf64.c: File removed.
29586 * sysdeps/wordsize-64/fseeko.c: File removed.
29587 * sysdeps/wordsize-64/fseeko64.c: File removed.
29588 * sysdeps/wordsize-64/ftello.c: File removed.
29589 * sysdeps/wordsize-64/ftello64.c: File removed.
29590 * sysdeps/wordsize-64/iofgetpos.c: File removed.
29591 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
29592 * sysdeps/wordsize-64/iofsetpos.c: File removed.
29593 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
29594 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
29595 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
29596 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
29597 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
29598 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
29599 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
29600 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
29601 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
29602 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
29603 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
29605 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29606 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29607 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
29608 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29609 [defined __arch64__ || defined __sparcv9]
29610 (__OFF_T_MATCHES_OFF64_T): New macro.
29611 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29612 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29613 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29614 (__OFF_T_MATCHES_OFF64_T): New macro.
29616 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29618 * stdlib/secure-getenv.c (__secure_getenv): Replace
29619 GLIBC_2_16 with GLIBC_2_17.
29621 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29623 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
29624 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29626 2012-08-03 David S. Miller <davem@davemloft.net>
29628 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29630 2012-08-03 Joseph Myers <joseph@codesourcery.com>
29632 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
29634 (__ASSUME_CORRECT_SI_PID): Likewise.
29635 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
29636 (__ASSUME_TMPFS_NAME): Likewise.
29637 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
29638 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
29639 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
29640 (HAVE_AUX_SECURE): Make definition unconditional.
29641 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
29642 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
29644 2012-08-03 Roland McGrath <roland@hack.frob.com>
29646 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
29647 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
29648 * sysdeps/mach/hurd/eloop-threshold.h: New file.
29649 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29650 __eloop_threshold instead of SYMLOOP_MAX.
29652 * sysdeps/generic/eloop-threshold.h: New file.
29653 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
29655 * elf/chroot_canon.c (chroot_canon): Likewise.
29657 2012-08-03 Joseph Myers <joseph@codesourcery.com>
29660 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29661 Change to 2.6.0 everywhere.
29662 * sysdeps/unix/sysv/linux/configure: Regenerated.
29663 * sysdeps/unix/sysv/linux/kernel-features.h
29664 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
29665 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
29667 (__ASSUME_POSIX_TIMERS): Define unconditionally.
29668 (__ASSUME_FUTEX_REQUEUE): Remove.
29669 (__ASSUME_STATFS64): Define unconditionally.
29670 (__ASSUME_AT_SECURE): Likewise.
29671 (__ASSUME_CORRECT_SI_PID): Likewise.
29672 (__ASSUME_TGKILL): Define without depending on kernel version for
29674 (__ASSUME_UTIMES): Likewise.
29675 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
29677 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
29678 (__ASSUME_TMPFS_NAME): Likewise.
29679 * README: Update reference to Linux kernel versions.
29681 2012-08-02 Marek Polacek <polacek@redhat.com>
29684 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
29685 libc_cv_asm_type_prefix with %.
29686 * configure: Regenerated.
29687 * include/libc-symbols.h: Remove comment about
29688 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29689 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
29690 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
29691 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
29692 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
29693 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29694 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
29695 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
29696 * elf/tst-unique2mod1.c: Likewise.
29697 * elf/tst-unique1mod2.c: Likewise.
29698 * elf/tst-unique1mod1.c: Likewise.
29699 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
29700 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
29701 Replace ASM_TYPE_DIRECTIVE with .type.
29702 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29703 * sysdeps/i386/sysdep.h: Likewise.
29704 * sysdeps/x86_64/sysdep.h: Likewise.
29705 * sysdeps/sh/sysdep.h: Likewise.
29706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29707 Do not define ASM_TYPE_DIRECTIVE.
29708 * sysdeps/powerpc/sysdep.h: Likewise.
29709 * sysdeps/powerpc/powerpc32/sysdep.h:
29710 Replace ASM_TYPE_DIRECTIVE with .type.
29711 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29712 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29713 * sysdeps/i386/fpu/e_powf.S: Likewise.
29714 * sysdeps/i386/fpu/e_expl.S: Likewise.
29715 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29716 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29717 * sysdeps/i386/fpu/e_pow.S: Likewise.
29718 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29719 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29720 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29721 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29722 * sysdeps/i386/fpu/e_log2.S: Likewise.
29723 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29724 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29725 * sysdeps/i386/fpu/e_powl.S: Likewise.
29726 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29727 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29728 * sysdeps/i386/fpu/e_logl.S: Likewise.
29729 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29730 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29731 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29732 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29733 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29734 * sysdeps/i386/fpu/e_log.S: Likewise.
29735 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29736 * sysdeps/i386/fpu/e_logf.S: Likewise.
29737 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29738 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29739 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29740 * sysdeps/i386/fpu/e_log10.S: Likewise.
29741 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29742 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29743 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29744 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29745 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29746 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29747 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29748 * sysdeps/i386/i686/strtok.S: Likewise.
29749 * sysdeps/i386/i386-mcount.S: Likewise.
29750 * sysdeps/i386/strtok.S: Likewise.
29751 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
29752 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29753 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29754 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29755 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29756 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29757 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29758 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29759 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29760 * sysdeps/x86_64/_mcount.S: Likewise.
29761 * sysdeps/x86_64/strtok.S: Likewise.
29762 * sysdeps/sh/_mcount.S: Likewise.
29764 2012-08-01 Roland McGrath <roland@hack.frob.com>
29766 * libio/iofopen.c: Include <fcntl.h>.
29767 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
29768 (_IO_fopen64, fopen64): Define as aliases.
29769 * libio/iofopen64.c: Include <fcntl.h>.
29770 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
29771 Conditionalize body on this.
29772 * sysdeps/wordsize-64/iofopen.c: File removed.
29773 * sysdeps/wordsize-64/iofopen64.c: File removed.
29775 2012-08-01 Marek Polacek <polacek@redhat.com>
29777 * libc/Makeconfig: Use elf in place of binfmt-subdir.
29778 Use dlfcn directly instead of a variable.
29779 (binfmt-subdir): Do not define.
29782 2012-08-01 Joseph Myers <joseph@codesourcery.com>
29784 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
29785 Remove all definitions.
29786 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
29787 <kernel-features.h>.
29788 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29789 (miss_F_GETOWN_EX): Remove all definitions.
29790 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
29792 [!__ASSUME_FCNTL64]: Remove conditional code.
29793 [__ASSUME_FCNTL64]: Make code unconditional.
29794 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
29795 <kernel-features.h>.
29796 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29797 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
29798 (lockf64) [__NR_fcntl64]: Make code unconditional.
29799 (lockf64) [__ASSUME_FCNTL64]: Likewise.
29801 * sysdeps/unix/sysv/linux/kernel-features.h
29802 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
29803 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
29804 Make code unconditional.
29805 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29806 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
29808 [__NR_vfork]: Make code unconditional.
29809 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29810 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
29812 [__NR_vfork]: Make code unconditional.
29813 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29814 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29816 2012-08-01 Roland McGrath <roland@hack.frob.com>
29818 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
29819 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
29821 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29822 Define mkstemp64 as an alias.
29823 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29824 Define mkstemps64 as an alias.
29825 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29826 Define mkostemp64 as an alias.
29827 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29828 Define mkostemps64 as an alias.
29829 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
29830 Conditionalize body on this.
29831 * misc/mkostemp64.c: Likewise.
29832 * misc/mkostemps64.c: Likewise.
29833 * misc/mkstemps64.c: Likewise.
29834 * sysdeps/wordsize-64/mkstemp64.c: File removed.
29835 * sysdeps/wordsize-64/mkostemp64.c: File removed.
29836 * sysdeps/wordsize-64/mkostemp.c: File removed.
29837 * sysdeps/wordsize-64/mkstemp.c: File removed.
29838 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
29839 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
29840 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
29841 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
29844 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
29845 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
29846 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
29847 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
29849 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
29850 compat_symbol macros from <shlib-compat.h> rather than the underlying
29851 default_symbol_version and symbol_version macros, so that DEFAULT
29852 lines in shlib-versions are respected.
29853 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
29855 2012-08-01 Florian Weimer <fweimer@redhat.com>
29857 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
29858 Declare with warn_unused_result.
29859 (setgid, setregid, setegid, setresgid): Likewise.
29860 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
29862 * WUR-REPORT: Remove set*id functions.
29864 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
29866 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
29868 2012-07-31 Roland McGrath <roland@hack.frob.com>
29871 * include/sys/socket.h (__libc_accept, __libc_accept4):
29872 Add attribute_hidden.
29873 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
29875 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
29877 * inet/getnetgrent_r.c (setup): Likewise.
29879 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
29881 2012-07-31 David S. Miller <davem@davemloft.net>
29883 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29885 2012-07-31 Joseph Myers <joseph@codesourcery.com>
29888 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
29889 value between 1.0 and 2.0 and smaller part has absolute value less
29891 * math/s_clog10.c (__clog10): Likewise.
29892 * math/s_clog10f.c (__clog10f): Likewise.
29893 * math/s_clog10l.c (__clog10l): Likewise.
29894 * math/s_clogf.c (__clogf): Likewise.
29895 * math/s_clogl.c (__clogl): Likewise.
29896 * math/libm-test.inc (clog_test): Add more tests.
29897 (clog10_test): Likewise.
29898 * sysdeps/i386/fpu/libm-test-ulps: Update.
29899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29901 2012-07-31 Florian Weimer <fweimer@redhat.com>
29903 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
29904 Exit with zero in case no suitable GID is found, and write a
29905 message to standard error.
29907 2012-07-30 Roland McGrath <roland@hack.frob.com>
29909 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
29911 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
29912 (MAXPATHLEN): Removed.
29913 (NOGROUP, NODEV): New macros.
29914 (setbit, clrbit, isset, isclr): New macros.
29915 (howmany, roundup, powerof2): New macros.
29916 (DEV_BSIZE): New macro.
29918 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
29919 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
29921 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
29922 definition on [!__NO_LONG_DOUBLE_MATH].
29924 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
29925 PTR_MANGLE and PTR_DEMANGLE.
29927 * socket/accept4.c (accept4): Rename to __libc_accept4.
29928 Define accept4 as a weak alias.
29930 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
29931 on [_DIRENT_HAVE_D_TYPE].
29932 * io/ftw.c (ftw_dir): Likewise.
29934 * io/xmknod.c (__xmknod): Don't check PATH for being null.
29936 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
29938 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
29939 Use the BSD numbers rather than the arbitrary ones we had.
29940 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
29941 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
29942 (SIGXCPU, SIGXFSZ): New macros.
29945 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
29946 initializer on [_LIBC_REENTRANT].
29948 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
29949 definitions inside [_POSIX_MAPPED_FILES].
29951 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
29953 * dirent/opendir.c: Include <fcntl.h>.
29955 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
29956 (__libc_getspecific): Likewise.
29957 (__libc_key_create): Likewise.
29959 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
29960 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
29961 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
29962 (tmpfile64): Define as alias.
29963 * sysdeps/wordsize-64/tmpfile.c: File removed.
29964 * sysdeps/wordsize-64/tmpfile64.c: File removed.
29965 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
29966 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
29968 * stdio-common/vfscanf.c: Include <stdbool.h>.
29969 * nss/makedb.c: Likewise.
29970 * stdio-common/_i18n_number.h: Likewise.
29971 * argp/argp-help.c: Likewise.
29972 * posix/wordexp.c: Likewise.
29973 * sysdeps/posix/spawni.c: Likewise.
29974 * nss/nss_files/files-initgroups.c: Likewise.
29975 * stdio-common/reg-modifier.c: Include <stdlib.h>.
29976 * nss/nss_files/files-initgroups.c: Likewise.
29977 * nss/nss_db/db-netgrp.c: Likewise.
29978 * nss/nss_db/db-initgroups.c: Likewise.
29979 * io/fchmodat.c: Include <sys/stat.h>.
29981 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
29982 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
29984 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
29987 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
29988 Add multiple inclusion protection.
29990 2012-07-27 David S. Miller <davem@davemloft.net>
29992 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29994 2012-07-27 Gary Benson <gbenson@redhat.com>
29997 * elf/rtld.c: Include <stap-probe.h>.
29998 (dl_main): Added static probes "init_start" and "init_complete".
29999 * elf/dl-load.c: Include <stap-probe.h>.
30000 (lose): Take new parameter "nsid".
30001 Added static probe "map_failed".
30002 (_dl_map_object_from_fd): Pass namespace id to lose.
30003 Added static probe "map_start".
30004 (open_verify): Pass namespace id to lose.
30005 * elf/dl-open.c: Include <stap-probe.h>.
30006 (dl_open_worker) Added static probes "map_complete", "reloc_start"
30007 and "reloc_complete".
30008 * elf/dl-close.c: Include <stap-probe.h>.
30009 (_dl_close_worker): Added static probes "unmap_start" and
30011 * elf/rtld-debugger-interface.txt: New file documenting the above.
30013 2012-07-26 Roland McGrath <roland@hack.frob.com>
30015 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30016 rather than a string variable.
30017 * sunrpc/rpc_main.c (h_output): Likewise.
30018 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30020 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
30022 * inet/check_native.c: New file.
30024 2012-07-26 Joseph Myers <joseph@codesourcery.com>
30027 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30028 if larger part has absolute value 1.0.
30029 * math/s_clog10.c (__clog10): Likewise.
30030 * math/s_clog10f.c (__clog10f): Likewise.
30031 * math/s_clog10l.c (__clog10l): Likewise.
30032 * math/s_clogf.c (__clogf): Likewise.
30033 * math/s_clogl.c (__clogl): Likewise.
30034 * math/libm-test.inc (clog_test): Add more tests.
30035 (clog10_test): Likewise.
30036 * sysdeps/i386/fpu/libm-test-ulps: Update.
30037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30039 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30040 (pltexit): Likewise.
30041 (La_regs): Likewise.
30042 (La_retval): Likewise.
30043 (int_retval): Likewise.
30044 Update #error for removed macros to refer only to definitions in
30046 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30048 (pltexit): Likewise.
30049 (La_regs): Likewise.
30050 (La_retval): Likewise.
30051 (int_retval): Likewise.
30052 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30054 (pltexit): Likewise.
30055 (La_regs): Likewise.
30056 (La_retval): Likewise.
30057 (int_retval): Likewise.
30058 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
30060 (pltexit): Likewise.
30061 (La_regs): Likewise.
30062 (La_retval): Likewise.
30063 (int_retval): Likewise.
30064 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
30066 (pltexit): Likewise.
30067 (La_regs): Likewise.
30068 (La_retval): Likewise.
30069 (int_retval): Likewise.
30070 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
30072 (pltexit): Likewise.
30073 (La_regs): Likewise.
30074 (La_retval): Likewise.
30075 (int_retval): Likewise.
30076 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30078 (pltexit): Likewise.
30079 (La_regs): Likewise.
30080 (La_retval): Likewise.
30081 (int_retval): Likewise.
30082 * sysdeps/generic/tst-audit.h: Update comment to refer only to
30083 macro definitions in tst-audit.h.
30084 * sysdeps/i386/tst-audit.h: New file.
30085 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
30086 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
30087 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
30088 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
30089 * sysdeps/sh/tst-audit.h: Likewise.
30090 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
30091 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
30092 * sysdeps/x86_64/tst-audit.h: Likewise.
30094 2012-07-26 Andreas Jaeger <aj@suse.de>
30096 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
30099 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
30100 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
30101 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
30103 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
30104 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
30105 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
30107 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
30110 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
30112 (si_call_addr, si_syscall, si_arch): Define new macro.
30113 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
30115 (si_call_addr, si_syscall, si_arch): Define new marcro.
30116 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
30118 (si_call_addr, si_syscall, si_arch): Define new macro.
30119 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
30121 (si_call_addr, si_syscall, si_arch): Define new macro.
30123 2012-07-25 Joseph Myers <joseph@codesourcery.com>
30126 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30127 Change to 2.4.21 where previously 2.4.1.
30128 * sysdeps/unix/sysv/linux/configure: Regenerated.
30129 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
30130 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
30131 Linux kernel version.
30132 (__ASSUME_STD_AUXV): Remove.
30133 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
30135 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
30136 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
30137 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
30138 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
30139 (__ASSUME_NETLINK_SUPPORT): Likewise.
30140 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
30141 (__no_netlink_support): Remove conditional definition.
30142 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
30144 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30145 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
30146 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
30147 (if_nameindex_ioctl): Remove.
30148 (if_nameindex_netlink): Do not handle __no_netlink_support.
30149 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30151 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
30152 Remove conditional code.
30153 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30155 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
30157 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30158 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
30159 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
30161 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
30162 [!__ASSUME_STD_AUXV]: Remove conditional code.
30163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
30164 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
30165 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
30166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
30167 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
30168 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30170 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30172 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
30173 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30175 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30177 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30180 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
30183 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30184 code unconditional.
30185 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30187 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30189 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30192 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30194 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30197 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30198 code unconditional.
30199 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30201 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30203 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30206 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30207 code unconditional.
30208 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30210 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30212 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30215 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
30217 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
30218 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
30219 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30220 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
30221 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
30222 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30223 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30224 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
30225 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
30226 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30227 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
30228 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
30229 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
30230 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30231 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
30232 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
30233 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
30234 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
30235 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
30236 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
30237 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
30238 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
30239 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30241 2012-07-25 Florian Weimer <fweimer@redhat.com>
30243 * Versions.def: Add GLIBC_2.17.
30244 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
30245 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
30246 Introduce __libc_secure_getenv.
30247 * stdlib/Versions (2.17): Add secure_getenv
30248 (GLIBC_PRIVATE): Add __libc_secure_getenv.
30249 * stdlib/secure-getenv.c: Rename __secure_getenv to
30250 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
30251 symbol __secure_getenv for GLIBC_2.0.
30252 * stdlib/tst-secure-getenv.c: New.
30253 * stdlib/Makefile (tests): Add testcase.
30254 * manual/startup.texi (Environment Access): Document
30256 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
30257 __libc_secure_getenv.
30258 * inet/ruserpass.c (ruserpass): Likewise.
30259 * malloc/mtrace.c (mtrace): Likewise.
30260 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
30261 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
30262 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
30263 * sysdeps/posix/tempname.c: Likewise. Evaluate
30264 HAVE_SECURE_GETENV.
30265 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
30266 __secure_getenv to __libc_secure_getenv.
30267 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
30268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30272 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30274 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30275 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30276 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30277 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30278 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30280 2012-07-25 Joseph Myers <joseph@codesourcery.com>
30282 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
30283 (struct La_i86_retval): Likewise.
30284 (struct La_x86_64_regs): Likewise.
30285 (struct La_x86_64_retval): Likewise.
30286 (struct La_x32_regs): Likewise.
30287 (struct La_x32_retval): Likewise.
30288 (struct La_ppc32_regs): Likewise.
30289 (struct La_ppc32_retval): Likewise.
30290 (struct La_ppc64_regs): Likewise.
30291 (struct La_ppc64_retval): Likewise.
30292 (struct La_sh_regs): Likewise.
30293 (struct La_sh_retval): Likewise.
30294 (struct La_s390_32_regs): Likewise.
30295 (struct La_s390_32_retval): Likewise.
30296 (struct La_s390_64_regs): Likewise.
30297 (struct La_s390_64_retval): Likewise.
30298 (struct La_sparc32_regs): Likewise.
30299 (struct La_sparc32_retval): Likewise.
30300 (struct La_sparc64_regs): Likewise.
30301 (struct La_sparc64_retval): Likewise.
30302 (struct audit_ifaces): Remove architecture-specific pltenter and
30304 * sysdeps/i386/ldsodefs.h: New file.
30305 * sysdeps/powerpc/ldsodefs.h: Likewise.
30306 * sysdeps/s390/ldsodefs.h: Likewise.
30307 * sysdeps/sh/ldsodefs.h: Likewise.
30308 * sysdeps/sparc/ldsodefs.h: Likewise.
30309 * sysdeps/x86_64/ldsodefs.h: Likewise.
30311 2012-07-25 Marek Polacek <polacek@redhat.com>
30314 * math/libm-test.inc (yn_test): Add another test.
30315 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
30316 to ERANGE when the result is +-Inf.
30317 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30318 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30319 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
30320 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
30322 2012-07-24 Joseph Myers <joseph@codesourcery.com>
30324 * conform/data/time.h-data (NULL): Use macro-constant. Require
30326 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
30328 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
30330 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
30332 * configure.in <sysdeps resolving>: Correct printing
30334 * configure: Regenerate.
30336 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
30338 * math/w_ilogb.c: Include <limits.h>.
30339 * math/w_ilogbl.c: Likewise.
30341 2012-07-20 Joseph Myers <joseph@codesourcery.com>
30343 * manual/lang.texi (__va_copy): Document primarily as ISO C99
30344 va_copy. Document allowing for unavailable va_copy only as
30345 pre-C99 compatibility.
30346 * manual/string.texi (Copying and Concatenation): Use va_copy
30347 instead of __va_copy in concat example.
30349 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
30351 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
30352 (__sendto): Use create_address_port. Initialize APORT and deallocate
30355 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
30356 with O_NOLINK passed to __file_name_lookup.
30358 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
30359 with O_NOLINK passed to __file_name_lookup.
30361 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
30362 negative N or less than NGIDS.
30364 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
30365 type to string_t. Set ERANGE as errno and return it if NAME is not big
30366 enough. Use memcpy instead of strncpy.
30368 2012-07-20 Joseph Myers <joseph@codesourcery.com>
30370 * elf/Makefile (check-data): Remove.
30371 (localplt.data): New vpath directive.
30372 ($(objpfx)check-localplt.out): Use localplt.data from vpath
30373 instead of $(check-data).
30374 * scripts/data/localplt-generic.data: Move to ...
30375 * sysdeps/generic/localplt.data: ... here.
30376 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
30377 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
30378 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
30379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30381 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
30382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30384 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
30385 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
30387 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
30388 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30390 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
30391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
30393 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
30394 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
30397 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30399 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
30400 PPC32 and PPC64 files.
30401 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
30402 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
30404 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30406 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
30407 __makecontext_ret to ...
30408 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30409 ... here and call exit if uc_link is NULL. New file.
30410 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
30411 __makecontext_ret.S.
30412 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
30413 __makecontext_ret to ...
30414 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30415 ... here and call exit if uc_link is NULL. New file.
30416 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
30417 __makecontext_ret.S.
30419 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30421 * elf/elf.h (R_390_IRELATIVE): New definition.
30422 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
30423 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
30424 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
30425 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30426 (elf_machine_lazy_rel): Likewise.
30427 * sysdeps/s390/dl-irel.h: New file.
30428 * sysdeps/s390/s390-64/memcpy.S: New asm code.
30429 * sysdeps/s390/s390-64/memset.S: New asm code.
30430 * sysdeps/s390/s390-64/memcmp.S: New asm code.
30431 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
30432 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
30433 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
30434 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
30435 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
30436 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
30437 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
30438 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
30439 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
30440 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
30441 * sysdeps/s390/s390-32/memcpy.S: New asm code.
30442 * sysdeps/s390/s390-32/memset.S: New asm code.
30443 * sysdeps/s390/s390-32/memcmp.S: New asm code.
30445 2012-07-17 Marek Polacek <polacek@redhat.com>
30448 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
30449 * sysdeps/s390/s390-64/configure.in: Likewise.
30450 * sysdeps/sparc/configure.in: Likewise.
30451 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
30452 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
30453 * sysdeps/i386/configure.in: Likewise.
30454 * sysdeps/x86_64/configure.in: Likewise.
30455 * sysdeps/sh/configure.in: Likewise.
30456 * sysdeps/s390/s390-32/configure: Regenerated.
30457 * sysdeps/s390/s390-64/configure: Likewise.
30458 * sysdeps/x86_64/configure: Likewise.
30459 * sysdeps/sh/configure: Likewise.
30460 * sysdeps/powerpc/powerpc64/configure: Likewise.
30461 * sysdeps/powerpc/powerpc32/configure: Likewise.
30462 * sysdeps/sparc/configure: Likwise.
30463 * sysdeps/i386/configure: Likewise.
30465 * elf/dl-open.c: Comment fixes.
30467 2012-07-17 Joseph Myers <joseph@codesourcery.com>
30469 * Makefile [CXX] (check-data): Remove.
30470 [CXX] (c++-types.data): New vpath directive.
30471 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
30472 vpath. Do not allow for C++ type data being missing.
30473 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
30474 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
30475 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
30476 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
30477 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
30478 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
30479 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
30480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30482 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
30483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30485 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
30486 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
30488 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
30489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
30491 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
30492 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
30494 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
30495 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
30497 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
30498 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
30500 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
30501 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
30503 * elf/tls-macros.h (TLS_LE): Move architecture-specific
30504 definitions to architecture-specific files.
30505 (TLS_IE): Likewise.
30506 (TLS_LD): Likewise.
30507 (TLS_GD): Likewise.
30508 * sysdeps/i386/tls-macros.h: New file.
30509 * sysdeps/powerpc/tls-macros.h: Likewise.
30510 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
30511 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
30512 * sysdeps/sh/tls-macros.h: Likewise.
30513 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
30514 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
30515 * sysdeps/x86_64/tls-macros.h: Likewise.
30517 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30519 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
30520 zero value for regular exit case.
30522 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30523 (__start_context): Preserve zero value for regular exit case.
30525 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30526 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30528 * manual/setjmp.texi (setcontext): Clarify normal process
30529 termination when uc_link is the null pointer.
30530 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
30533 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
30535 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
30536 preprocessor. Test for each exception mask separately.
30538 2012-07-16 Andreas Jaeger <aj@suse.de>
30540 * po/ru.po: Update from translation team.
30542 2012-07-15 Joseph Myers <joseph@codesourcery.com>
30544 * conform/data/string.h-data (NULL): Use macro-constant. Require
30546 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30547 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30548 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
30549 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
30550 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30552 2012-07-13 Andreas Jaeger <aj@suse.de>
30554 * po/fr.po: Update from translation team.
30556 2012-07-12 Marek Polacek <polacek@redhat.com>
30559 * math/libm-test.inc (yn_test): Add test for BZ #14173.
30560 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
30563 2012-07-12 Joseph Myers <joseph@codesourcery.com>
30566 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30567 Change to 2.4.1 where previously 2.4.0.
30568 * sysdeps/unix/sysv/linux/configure: Regenerated.
30569 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
30570 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
30572 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
30573 (__ASSUME_AT_CLKTCK): Remove.
30574 (__ASSUME_AT_PAGESIZE): Likewise.
30575 (__ASSUME_AT_XID): Likewise.
30576 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
30577 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
30578 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
30580 (HAVE_AUX_PAGESIZE): Likewise.
30581 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
30582 [__ASSUME_AT_CLKTCK]: Make code unconditional.
30583 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
30585 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
30588 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
30589 the temporary buffer used to invoke __gethostbyname2_r,
30590 __gethostbyaddr_r and gethostbyname4_r to make room for struct
30591 host_data / struct gaih_addrtuple.
30592 * resolv/nss_dns/dns-host.c (global scope): Move definition of
30593 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
30594 header file nss/nsswitch.h.
30595 * nss/nsswitch.h (global scope): Add definition of implementation
30596 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
30597 resolv/nss_dns/dns-host.c).
30599 2012-07-11 Andreas Jaeger <aj@suse.de>
30601 * po/fr.po: Update from translation team.
30603 * po/sv.po: Update from translation team
30604 * po/fr.po: Another update from translation team.
30606 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30608 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
30609 for subnormals or multiply small sinh result by itself.
30610 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30613 2012-07-11 David S. Miller <davem@davemloft.net>
30615 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30617 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
30620 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
30621 (INTERNAL_MARK): Shift it here.
30623 2012-07-10 Marek Polacek <polacek@redhat.com>
30626 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
30627 libc_cv_asm_global_directive with .globl.
30628 * configure: Regenerated.
30629 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
30631 * sysdeps/i386/configure: Regenerated.
30632 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
30634 * sysdeps/x86_64/configure: Regenerated.
30635 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
30636 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
30637 * elf/tst-unique2mod2.c: Likewise.
30638 * elf/tst-unique2mod1.c: Likewise.
30639 * elf/tst-unique1mod2.c: Likewise.
30640 * elf/tst-unique1mod1.c: Likewise.
30641 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30642 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30643 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30644 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30645 * sysdeps/mach/sysdep.h: Likewise.
30646 * sysdeps/i386/sysdep.h: Likewise.
30647 * sysdeps/i386/i386-mcount.S: Likewise.
30648 * sysdeps/x86_64/_mcount.S: Likewise.
30649 * sysdeps/x86_64/sysdep.h: Likewise.
30650 * sysdeps/sh/_mcount.S: Likewise.
30651 * sysdeps/sh/sysdep.h: Likewise.
30652 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
30653 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
30654 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
30655 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30656 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
30657 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
30658 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
30659 * locale/localeinfo.h: Likewise.
30660 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
30661 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
30663 2012-07-09 Roland McGrath <roland@hack.frob.com>
30666 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
30668 * manual/message.texi (The Uniforum approach): Likewise.
30669 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
30670 (glibc iconv Implementation): Likewise.
30672 2012-07-09 Joseph Myers <joseph@codesourcery.com>
30675 * math/s_clog.c (__clog): Avoid scaling a value down where that
30676 could result in underflow.
30677 * math/s_clog10.c (__clog10): Likewise.
30678 * math/s_clog10f.c (__clog10f): Likewise.
30679 * math/s_clog10l.c (__clog10l): Likewise.
30680 * math/s_clogf.c (__clogf): Likewise.
30681 * math/s_clogl.c (__clogl): Likewise.
30682 * math/libm-test.inc (clog_test): Add more tests.
30683 (clog10_test): Likewise.
30684 * sysdeps/i386/fpu/libm-test-ulps: Update.
30685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30687 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
30690 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
30691 by 7 not 8 to examine high bit of fractional part.
30694 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
30695 for call to __mcount_internal.
30696 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
30697 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
30698 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
30700 2012-07-06 Joseph Myers <joseph@codesourcery.com>
30703 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
30704 approximation for values within 0x1p-13f of an odd multiple of
30706 * math/libm-test.inc (tan_test): Do not allow spurious underflow
30707 exception. Add more tests.
30708 * sysdeps/i386/fpu/libm-test-ulps: Update.
30711 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
30712 inputs and return -1 for them. Do not check for +Inf in case not
30713 reachable for +Inf.
30714 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
30715 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
30716 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30717 and return -1 for them. Do not check for +Inf in case not
30718 reachable for +Inf.
30719 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
30721 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30722 and return -1 for them. Do not check for +Inf in case not
30723 reachable for +Inf.
30724 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
30725 spurious underflow.
30726 * sysdeps/i386/fpu/libm-test-ulps: Update.
30727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30729 2012-07-06 Mike Frysinger <vapier@gentoo.org>
30731 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
30733 2012-07-05 Joseph Myers <joseph@codesourcery.com>
30737 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
30738 could result in spurious underflow. Scale down values above
30739 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
30740 * math/s_csqrtf.c (__csqrtf): Likewise.
30741 * math/s_csqrtl.c (__csqrtl): Likewise.
30742 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
30743 spurious underflow.
30744 * sysdeps/i386/fpu/libm-test-ulps: Update.
30745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30747 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
30749 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
30751 * catgets/xopen-msg.awk: New file.
30752 * catgets/xopen-msg.sed: Removed.
30754 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
30756 * intl/po2test.awk: New file.
30757 * intl/po2test.sed: Removed.
30759 2012-07-04 Joseph Myers <joseph@codesourcery.com>
30762 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
30763 or multiply small sinh result by itself.
30764 * math/s_ctanf.c (__ctanf): Likewise.
30765 * math/s_ctanh.c (__ctanh): Likewise.
30766 * math/s_ctanhf.c (__ctanhf): Likewise.
30767 * math/s_ctanhl.c (__ctanhl): Likewise.
30768 * math/s_ctanl.c (__ctanl): Likewise.
30769 * math/libm-test.inc (ctan_test_tonearest): New function.
30770 (ctan_test_towardzero): Likewise.
30771 (ctan_test_downward): Likewise.
30772 (ctan_test_upward): Likewise.
30773 (ctanh_test_tonearest): Likewise.
30774 (ctanh_test_towardzero): Likewise.
30775 (ctanh_test_downward): Likewise.
30776 (ctanh_test_upward): Likewise.
30777 (main): Call these new functions.
30778 * sysdeps/i386/fpu/libm-test-ulps: Update.
30779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30781 2012-07-03 Mike Frysinger <vapier@gentoo.org>
30783 * .gitignore: Delete /ports entry.
30785 2012-07-03 Andreas Jaeger <aj@suse.de>
30787 * po/bg.po: Update from translation team.
30788 * po/cs.po: Likewise.
30789 * po/de.po: Likewise.
30790 * po/hr.po: Likewise.
30791 * po/nl.pl: Likewise.
30792 * po/pl.po: Likewise.
30793 * po/vi.po: Likewise.
30795 2012-07-03 Joseph Myers <joseph@codesourcery.com>
30797 * Makeconfig [!+link] (+link-before-libc): New variable.
30798 [!+link] (+link-after-libc): Likewise.
30799 [!+link] (+link-tests): Likewise.
30800 [!+link] (+link): Define in terms of $(+link-before-libc) and
30801 $(+link-after-libc).
30802 [!+link-static] (+link-static-before-libc): New variable.
30803 [!+link-static] (+link-static-after-libc): Likewise.
30804 [!+link-static] (+link-static-tests): Likewise.
30805 [!+link-static] (+link-static): Define in terms of
30806 $(+link-static-before-libc) and $(+link-static-after-libc).
30807 [build-shared] (link-libc-before-gnulib): New variable.
30808 [build-shared] (link-libc-tests): Likewise.
30809 [build-shared] (link-libc): Define in terms of
30810 $(link-libc-before-gnulib).
30811 [!build-shared] (link-libc-tests): New variable.
30812 (link-libc-static-tests): New variable.
30813 [!gnulib] (gnulib-arch): New variable.
30814 [!gnulib] (gnulib-tests): Likewise.
30815 [!gnulib] (static-gnulib-arch): Likewise.
30816 [!gnulib] (static-gnulib-tests): Likewise.
30817 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
30818 Define with "=" instead of ":=".
30819 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
30820 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
30821 * Rules (binaries-all-notests): New variable.
30822 (binaries-all-tests): Likewise.
30823 (binaries-static-notests): Likewise.
30824 (binaries-static-tests): Likewise.
30825 (binaries-all): Define using $(binaries-all-notests) and
30826 $(binaries-all-tests).
30827 (binaries-static): Define using $(binaries-static-notests) and
30828 $(binaries-static-tests).
30829 (binaries-shared-tests): New variable.
30830 (binaries-shared-notests): Likewise.
30831 (binaries-shared): Remove variable.
30832 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
30833 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
30834 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
30835 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
30836 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
30837 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
30838 * elf/Makefile (sln-modules): New variable.
30839 (extra-objs): Add $(sln-modules:=.o).
30840 (ldconfig-modules): Add static-stubs.
30841 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
30842 * elf/static-stubs.c: New file.
30845 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
30846 by 7 not 8 to examine high bit of fractional part. Use volatile
30847 variables when splitting into final array of floats if
30848 __FLT_EVAL_METHOD__ != 0.
30849 * math/libm-test.inc (cos_test): Add another test.
30850 (sin_test): Likewise.
30851 * sysdeps/i386/fpu/libm-test-ulps: Update.
30854 * math/libm-test.inc (cosh_test): Add more tests.
30856 * version.h (RELEASE): Set to "development".
30857 (VERSION): Set to "2.16.90".
30859 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
30861 * NEWS: Update copyright. Remove last-updated date.
30862 Mention math library bug fixes and timezone data changes.
30863 * README: Mention GNU/Hurd, x32, and HPPA support status.
30865 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
30867 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
30869 2012-06-27 Andreas Jaeger <aj@suse.de>
30871 * manual/contrib.texi (Contributors): Add Samuel Thibault.
30873 2012-06-25 Andreas Jaeger <aj@suse.de>
30875 * sysdeps/s390/fpu/libm-test-ulps: Update.
30877 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
30878 Thomas Schwinge <thomas@codesourcery.com>
30880 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
30881 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
30882 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
30885 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
30887 * sysdeps/mach/start.c: Remove file.
30888 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
30889 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
30890 * sysdeps/sh/init-first.c: Likewise.
30892 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
30893 registers for frame unwinding purposes, add CFI directives.
30894 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30895 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
30896 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
30899 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
30900 __fortify_fail returning.
30901 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30903 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
30904 sysdeps/sh/____longjmp_chk.S.
30905 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
30906 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
30907 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
30908 (gen-as-const-headers): Append sigaltstack-offsets.sym.
30910 * sysdeps/sh/abort-instr.h: New file.
30911 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
30912 process in case exit returns.
30914 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
30915 initialize the GOT register before use.
30917 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
30918 calculation of ARGC > 4.
30920 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
30921 meaningful names to some local labels.
30923 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30924 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30926 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
30927 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
30928 (__arch_compare_and_exchange_val_16_acq): Likewise.
30929 (__arch_compare_and_exchange_val_32_acq): Likewise.
30930 (atomic_exchange_and_add): Fix gUSA sequence.
30931 (atomic_add): Likewise.
30932 (atomic_add_negative): Likewise.
30933 (atomic_add_zero): Likewise.
30934 (atomic_bit_test_set): Likewise.
30936 2012-06-22 Andreas Schwab <schwab@redhat.com>
30939 * include/link.h (struct link_map): Add l_free_initfini.
30940 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
30942 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
30943 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
30944 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
30947 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
30949 * configure.in: Use AC_LANG_SOURCE.
30950 * configure: Regenerate.
30952 2012-06-22 Roland McGrath <roland@hack.frob.com>
30954 * configure.in (libc_cv_localstatedir): New substituted variable.
30955 * configure: Regenerated.
30956 * config.make.in (localstatedir): New variable, substituted from
30957 libc_cv_localstatedir.
30958 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
30959 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
30960 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
30961 * sysdeps/gnu/configure: Regenerated.
30963 2012-06-21 Jeff Law <law@redhat.com>
30966 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
30967 free. Simplify list management for _LIBC case.
30969 2012-06-21 Joseph Myers <joseph@codesourcery.com>
30972 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30973 Clear sign bit of 64-bit integer value before comparing against
30976 * sysdeps/mach/configure: Regenerated.
30978 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
30981 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
30983 2012-06-21 Jeff Law <law@redhat.com>
30986 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
30987 uint16_t for elements in the "seen" array to avoid char overflows.
30988 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30989 * elf/dl-open.c (dl_open_worker): Likewise.
30991 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
30993 * scripts/list-sources.sh: Scan PORTS for translations.
30994 * po/libc.pot: Regenerated.
30996 2012-06-21 Andreas Jaeger <aj@suse.de>
30999 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31001 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31002 * bits/byteswap-16.h (__bswap_16): Likewise.
31003 * bits/byteswap.h (__bswap_constant_16): Likewise.
31005 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
31008 * sysdeps/i386/fpu_control.h: Removed.
31009 * sysdeps/x86_64/fpu_control.h: Moved to ...
31010 * sysdeps/x86/fpu_control.h: Here.
31012 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31013 (_FPU_SETCW): Likewise.
31015 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
31018 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31019 * sysdeps/x86/fpu/bits/mathinline.h: This.
31020 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31024 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31025 functions if __x86_64__ is defined.
31027 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
31029 * string/endian.h: Add !__ASSEMBLER__ condition for including
31030 conversion interfaces.
31032 2012-06-15 Joseph Myers <joseph@codesourcery.com>
31035 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31036 of ABS(x) in calculating zero to negative powers other than odd
31038 * math/libm-test.inc (pow_test): Add more tests.
31040 2012-06-15 Andreas Jaeger <aj@suse.de>
31042 * manual/contrib.texi (Contributors): Update entry of Liubov
31043 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31046 2012-06-15 Cyril Hrubis <metan@ucw.cz>
31048 * string/string.h: Add __wur to GNU version of strerror_r.
31050 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
31053 * string/Makefile (tests): Add tst-strtok_r.
31054 * string/tst-strtok_r.c: New file.
31055 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31056 RAX_LP/RDX_LP on SAVE_PTR.
31058 2012-06-14 Roland McGrath <roland@hack.frob.com>
31060 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31062 2012-06-14 Joseph Myers <joseph@codesourcery.com>
31064 * libm_test.inc (csqrt_test): Allow more spurious underflow
31066 (j0_test): Likewise.
31067 (j1_test): Likewise.
31068 (y0_test): Likewise.
31069 (y1_test): Likewise.
31071 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
31073 * po/Makefile (libc.pot): Use UTF-8 charset.
31075 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
31078 Suppress sign-conversion warning from FD_SET.
31079 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31080 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31081 not unsigned long int.
31082 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31084 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
31088 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
31089 __extern_always_inline instead of __extern_inline.
31090 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
31091 (__signbit): Likewise.
31092 (__signbitl): Support C++ namespace.
31093 (lrintf): New inline function.
31095 (llrintf): Likewise.
31096 (llrint): Likewise.
31106 (floorf): Likewise.
31107 (nearbyint): Likewise.
31108 (nearbyintf): Likewise.
31110 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
31112 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
31113 non-default versions.
31115 2012-06-11 Roland McGrath <roland@hack.frob.com>
31118 * manual/argp.texi (Argp): Reword argp_parse description slightly.
31120 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
31122 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
31123 (FE_UPWARD, FE_DOWNWARD): Don't define.
31124 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
31125 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31127 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
31129 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31130 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31132 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31134 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31135 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
31136 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
31137 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
31139 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
31142 * sysdeps/i386/fpu/bits/fenv.h: Removed.
31143 * sysdeps/i386/fpu/Implies: New file.
31144 * sysdeps/x86_64/fpu/Implies: Likewise.
31145 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
31146 * sysdeps/x86/fpu/bits/fenv.h: This.
31148 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
31151 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
31154 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
31155 character 0xffff that matches the last element of the
31158 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31160 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
31163 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31165 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
31166 values higher than 25.6283.
31168 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31170 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
31171 subnormal exponent extraction and add some __builtin_expect.
31172 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
31173 Fix for subnormal mantissa calculation.
31175 2012-06-04 Mike Frysinger <vapier@gentoo.org>
31177 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
31178 cpu2 is -1 and errno is not ENOSYS.
31180 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
31183 * sysdeps/i386/i486/bits/string.h: Renamed to ...
31184 * sysdeps/x86/bits/string.h: This.
31185 * sysdeps/x86_64/bits/string.h: Removed.
31187 * sysdeps/i386/i486/bits/string.h: Define inline functions only
31188 if not compiling for x86-64, but compiling for >= i486.
31190 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
31191 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
31193 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
31194 New macro from Linux kernel 3.4.0.
31195 (FP_XSTATE_MAGIC2): Likewise.
31196 (FP_XSTATE_MAGIC2_SIZE): Likewise.
31197 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
31198 (struct _fpx_sw_bytes): New struct.
31199 (struct _xsave_hdr): Likewise.
31200 (struct _ymmh_state): Likewise.
31201 (struct _xstate): Likewise.
31203 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
31204 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
31205 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
31206 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
31207 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
31208 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
31210 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
31211 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
31212 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
31213 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
31214 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
31215 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
31217 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31220 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
31221 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
31222 (sysdep_headers): Include sys/platform/ppc.h.
31223 * sysdeps/powerpc/test-gettimebase.c: Test for
31224 __ppc_get_timebase() to catch future ISA opcode/insn changes.
31225 * manual/Makefile (appendices): Include platform.texi.
31226 * manual/contrib.texi (Contributors): Update @node pointers.
31227 * manual/maint.texi (Maintenance): Likewise.
31228 (Platform): New node.
31229 * manual/platform.texi: New file. Document the new features.
31231 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31232 Jakub Jelinek <jakub@redhat.com>
31235 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
31236 where __builtin_expect is unavailable.
31238 2012-06-03 David S. Miller <davem@davemloft.net>
31240 * stdlib/longlong.h: Updated from GCC.
31242 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
31245 * sysdeps/powerpc/powerpc32/mcount.c: New file.
31246 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
31248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31249 (GLIBC_2.16): Likewise.
31251 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31253 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
31255 2012-06-01 Joseph Myers <joseph@codesourcery.com>
31257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
31258 (default-abi): New variable.
31259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
31260 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
31262 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
31264 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
31266 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
31269 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
31270 definition. Document in comment.
31272 2012-06-01 David S. Miller <davem@davemloft.net>
31274 * stdlib/longlong.h: Updated from GCC.
31276 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31279 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
31280 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
31281 sys/debugreg.h sys/io.h here.
31282 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
31283 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
31285 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
31286 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
31287 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
31288 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
31289 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
31290 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
31292 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
31293 Define only if __x86_64__ is defined.
31295 2012-06-01 Joseph Myers <joseph@codesourcery.com>
31298 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
31299 Use int64_t for variable i.
31300 * math/libm-test.inc (fmod_test): Add more tests.
31302 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
31303 z computation is not scheduled after fetestexcept.
31304 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
31305 Use math_force_eval instead of asm to ensure calculation scheduled
31306 before exception test.
31307 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
31308 Ensure a1 + u.d computation is not scheduled after fetestexcept.
31310 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
31312 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
31313 computation is not scheduled after fetestexcept.
31315 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31318 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
31319 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
31321 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31323 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
31324 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31326 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31329 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
31331 (__WCHAR_MIN): Support __WORDSIZE == 64.
31332 (__WCHAR_MAX): Likewise.
31334 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
31335 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
31338 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
31339 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
31342 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
31343 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
31345 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
31346 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
31348 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
31349 Defined to 1 if __x86_64__ isn't defined.
31350 (_STAT_VER_LINUX_OLD): New.
31351 (st_atime): Remove duplicate.
31352 (st_mtime): Likewise.
31353 (st_ctime): Likewise.
31355 2012-05-31 David S. Miller <davem@davemloft.net>
31357 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
31360 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
31362 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
31366 * elf/dl-reloc.c: Include <_itoa.h>.
31367 (_dl_reloc_bad_type): Remove use of INTUSE.
31368 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
31369 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
31370 * stdio-common/psiginfo.c (psiginfo): Likewise.
31371 * stdio-common/psignal.c (psignal): Likewise.
31372 * string/strsignal.c (strsignal): Likewise.
31373 * include/signal.h (_sys_siglist): Declare hidden proto.
31374 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
31375 INTVARDEF with libc_hidden_data_def.
31376 * stdio-common/itoa-udigits.c: Likewise.
31377 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
31378 (_itoa_lower_digits_internal): Remove declaration.
31379 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
31380 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
31381 (_sys_sigabbrev_internal): Remove aliases.
31382 (_sys_siglist): Define hidden alias.
31384 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
31386 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31389 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31392 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
31393 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
31395 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
31396 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
31397 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
31398 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
31399 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
31400 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
31402 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
31403 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
31404 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
31406 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
31414 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
31415 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
31416 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
31418 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
31419 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
31420 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
31421 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
31422 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
31423 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
31425 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
31426 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
31428 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
31429 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
31431 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
31432 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
31433 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
31435 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
31436 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
31438 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
31440 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
31441 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
31442 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
31444 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
31446 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
31448 2012-05-31 Joseph Myers <joseph@codesourcery.com>
31450 * math/math.h (M_El): Use two more decimal places.
31451 (M_LOG2El): Likewise.
31452 (M_LOG10El): Likewise.
31453 (M_LN2l): Likewise.
31454 (M_LN10l): Likewise.
31456 (M_PI_2l): Likewise.
31457 (M_PI_4l): Likewise.
31458 (M_1_PIl): Likewise.
31459 (M_2_PIl): Likewise.
31460 (M_2_SQRTPIl): Likewise.
31461 (M_SQRT2l): Likewise.
31462 (M_SQRT1_2l): Likewise.
31464 2012-05-31 David S. Miller <davem@davemloft.net>
31466 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
31467 values between float registers.
31468 * sysdeps/sparc/sparc64/memset.S: Likewise.
31469 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31471 2012-05-31 Mike Frysinger <vapier@gentoo.org>
31473 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
31474 -D_FORTIFY_SOURCE=1.
31475 (CPPFLAGS-tst-longjmp_chk.c): Define.
31476 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
31477 (CPPFLAGS-tst-longjmp_chk2.c): Define.
31478 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
31479 CFLAGS-tst-wchar-h.c.
31481 2012-05-31 Marek Polacek <polacek@redhat.com>
31484 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
31485 __endmntent_internal): Remove declaration.
31486 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
31487 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
31488 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
31490 2012-05-30 David S. Miller <davem@davemloft.net>
31492 * sysdeps/sparc/sparc32/soft-fp/q_util.c
31493 (___Q_simulate_exceptions): Use real FP ops rather than writing
31495 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
31498 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31501 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
31502 * sysdeps/x86/bits/xtitypes.h: This.
31504 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
31505 * sysdeps/x86/bits/wordsize.h: This.
31507 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
31508 * sysdeps/x86/bits/huge_vall.h: This.
31510 * sysdeps/i386/bits/select.h: Removed.
31511 * sysdeps/x86_64/bits/select.h: Renamed to ...
31512 * sysdeps/x86/bits/select.h: This.
31514 * sysdeps/i386/bits/setjmp.h: Removed.
31515 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
31516 * sysdeps/x86/bits/setjmp.h: This.
31518 * sysdeps/i386/bits/mathdef.h: Removed.
31519 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
31520 * sysdeps/x86/bits/mathdef.h: This.
31522 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
31525 * include/sys/socket.h (__connect_internal)
31526 (__libc_sa_len_internal): Remove declaration.
31527 (__connect, __libc_sa_len): Declare hidden_proto.
31528 (SA_LEN): Remove use of INTUSE.
31529 * socket/connect.c: Add libc_hidden_def.
31530 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
31531 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
31532 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
31534 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31535 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
31536 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
31537 of adding _internal alias.
31539 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31542 * sysdeps/i386/bits/link.h: Removed.
31543 * sysdeps/i386/bits/linkmap.h: Likewise.
31544 * sysdeps/x86_64/bits/link.h: Renamed to ...
31545 * sysdeps/x86/bits/link.h: This.
31546 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
31547 * sysdeps/x86/bits/linkmap.h: This.
31549 * sysdeps/i386/bits/endian.h: Removed.
31550 * sysdeps/x86_64/bits/endian.h: Renamed to ...
31551 * sysdeps/x86/bits/endian.h: This.
31553 * sysdeps/i386/bits/byteswap.h: Removed.
31554 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31555 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
31556 * sysdeps/x86/bits/byteswap.h: This.
31557 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
31558 * sysdeps/x86/bits/byteswap-16.h: This.
31559 * sysdeps/i386/Implies: Add x86.
31560 * sysdeps/x86_64/Implies: Likewise.
31562 2012-05-30 David S. Miller <davem@davemloft.net>
31564 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
31565 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
31566 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31567 (FP_TRAPPING_EXCEPTIONS): Define.
31568 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31569 (FP_TRAPPING_EXCEPTIONS): Define.
31570 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
31571 subnormals only when inexact has been signalled or underflow
31572 exceptions are enabled.
31573 (_FP_PACK_CANONICAL): Likewise.
31575 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31578 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
31579 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
31581 2012-05-30 Richard Henderson <rth@twiddle.net>
31583 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
31584 with #ifndef NOT_IN_libc.
31586 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
31587 marked to avoid plt entry.
31589 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31592 * Makeconfig (default-abi): New macro.
31593 (abi-includes): Likewise.
31594 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
31595 $(abi-$(default-abi)-lib-soname) for soname if defined.
31596 ($(common-objpfx)gnu/lib-names.stmp): Generate from
31598 * Makefile (installed-stubs): Likewise.
31599 * include/stubs-biarch.h: Removed.
31600 * scripts/lib-names.awk: Only handle one library at a time.
31601 * scripts/soversions.awk: Remove WORDSIZE support.
31602 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
31604 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
31606 (syscall-list-default-condition): Likewise.
31607 (syscall-list-default-condition): Likewise.
31608 (syscall-list-includes): Likewise.
31609 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
31610 syscall-list-* with abi-*. Handle undefined abi-variants.
31611 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
31612 * sysdeps/unix/sysv/linux/i386/Implies: New file.
31613 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
31614 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
31615 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
31616 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
31618 (syscall-list-32-options): Likewise.
31619 (syscall-list-32-condition): Likewise.
31620 (syscall-list-64-options): Likewise.
31621 (syscall-list-64-condition): Likewise.
31622 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
31624 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
31627 (abi-64-ld-soname): New macro.
31628 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
31629 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
31632 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
31633 * sysdeps/x86_64/x32/shlib-versions: Likewise.
31635 2012-05-30 Joseph Myers <joseph@codesourcery.com>
31637 * sysdeps/unix/sysv/linux/kernel-features.h
31638 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
31639 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
31640 include <kernel-features.h>.
31641 [!__NR_ftruncate64]: Remove conditional code.
31642 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31643 [__NR_ftruncate64]: Make code unconditional.
31644 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31645 * sysdeps/unix/sysv/linux/truncate64.c: Do not
31646 include <kernel-features.h>.
31647 [!__NR_ftruncate64]: Remove conditional code.
31648 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31649 [__NR_ftruncate64]: Make code unconditional.
31650 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/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/powerpc/powerpc32/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.
31664 * configure.in (libc_cv_fpie): Weaken to a compile test using
31665 LIBC_TRY_CC_OPTION.
31666 * configure: Regenerated.
31668 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
31671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
31672 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
31673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
31676 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
31677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
31678 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
31679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
31680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31683 2012-05-27 David S. Miller <davem@davemloft.net>
31685 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
31687 (__Q_simulate_exceptions): Return void. Change to simulate
31688 exceptions by writing into the %fsr.
31689 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
31690 (__Qp_handle_exceptions): Likewise.
31692 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
31693 __Qp_handle_exceptions.
31694 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
31695 __Qp_handle_exceptions.
31696 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31697 as unused and give dummy FP_RND_NEAREST initializer.
31698 (FP_INHIBIT_RESULTS): Define.
31699 (___Q_simulate_exceptions): Update declaration.
31700 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
31702 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31703 as unused and give dummy FP_RND_NEAREST initializer.
31704 (__Qp_handle_exceptions): Update declaration.
31705 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
31708 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
31710 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
31711 the temporary FPU control word.
31712 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
31713 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
31714 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
31715 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31716 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31717 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
31718 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
31719 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31720 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31721 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
31722 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31724 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31726 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
31729 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
31731 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
31732 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
31733 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
31734 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
31736 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
31737 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
31740 2012-05-27 Ulrich Drepper <drepper@gmail.com>
31742 * po/h.po: Update from translation team.
31744 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
31746 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
31748 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
31749 handling of denormals.
31750 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31751 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
31752 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31753 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31754 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31755 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
31756 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
31759 2012-05-26 Marek Polacek <polacek@redhat.com>
31762 * math/libm-test.inc (fma_test): Don't always expect underflow
31765 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31768 * elf/tst-execstack.c: Include stackinfo.h.
31769 (do_test): Adjust test case to ensure that pthread_getattr_np
31770 behaviour remains the same after marking stack executable.
31772 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31774 * sysdeps/unix/sysv/linux/kernel-features.h
31775 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
31776 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
31778 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31779 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31780 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
31782 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31783 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31785 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
31787 * configure.in: Define the default includes to being none.
31788 * configure: Regenerated.
31790 2012-05-25 Roland McGrath <roland@hack.frob.com>
31792 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
31793 * sysdeps/x86_64/setjmp.S: Likewise.
31794 * sysdeps/i386/bsd-setjmp.S: Likewise.
31795 * sysdeps/i386/bsd-_setjmp.S: Likewise.
31796 * sysdeps/i386/setjmp.S: Likewise.
31797 * sysdeps/i386/__longjmp.S: Likewise.
31798 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31799 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
31801 * include/stap-probe.h: New file.
31802 * configure.in: Handle --enable-systemtap.
31803 * configure: Regenerated.
31804 * config.h.in (USE_STAP_PROBE): New #undef.
31805 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
31806 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
31807 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31809 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31812 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31813 to 2.4.0 where earlier.
31814 * sysdeps/unix/sysv/linux/configure: Regenerated.
31815 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31816 <kernel-features.h>.
31817 [__ASSUME_32BITUIDS]: Make code unconditional.
31818 [!__ASSUME_32BITUIDS]: Remove conditional code.
31819 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
31820 <kernel-features.h>.
31821 [__ASSUME_32BITUIDS]: Make code unconditional.
31822 [!__ASSUME_32BITUIDS]: Remove conditional code.
31823 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
31824 [__ASSUME_32BITUIDS]: Make code unconditional.
31825 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
31826 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
31827 <kernel-features.h>.
31828 [__ASSUME_32BITUIDS]: Make code unconditional.
31829 [!__ASSUME_32BITUIDS]: Remove conditional code.
31830 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
31831 <kernel-features.h>.
31832 [__ASSUME_32BITUIDS]: Make code unconditional.
31833 [!__ASSUME_32BITUIDS]: Remove conditional code.
31834 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
31835 <kernel-features.h>.
31836 [__ASSUME_32BITUIDS]: Make code unconditional.
31837 [!__ASSUME_32BITUIDS]: Remove conditional code.
31838 * sysdeps/unix/sysv/linux/i386/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
31867 <kernel-features.h>.
31868 [__NR_setresgid] (__setresgid): Do not declare.
31869 [__ASSUME_32BITUIDS]: Make code unconditional.
31870 [!__ASSUME_32BITUIDS]: Remove conditional code.
31871 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
31872 <kernel-features.h>.
31873 [__NR_setresuid] (__setresuid): Do not declare.
31874 [__ASSUME_32BITUIDS]: Make code unconditional.
31875 [!__ASSUME_32BITUIDS]: Remove conditional code.
31876 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
31877 <kernel-features.h>.
31878 [__ASSUME_32BITUIDS]: Make code unconditional.
31879 [!__ASSUME_32BITUIDS]: Remove conditional code.
31880 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
31881 <kernel-features.h>.
31882 [__ASSUME_32BITUIDS]: Make code unconditional.
31883 [!__ASSUME_32BITUIDS]: Remove conditional code.
31884 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
31885 <kernel-features.h>.
31886 [__ASSUME_32BITUIDS]: Make code unconditional.
31887 [!__ASSUME_32BITUIDS]: Remove conditional code.
31888 * sysdeps/unix/sysv/linux/i386/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
31917 (__ASSUME_SETRESUID_SYSCALL): Remove.
31918 (__ASSUME_SETRESGID_SYSCALL): Likewise.
31919 (__ASSUME_32BITUIDS): Likewise.
31920 (__ASSUME_LDT_WORKS): Likewise.
31921 (__ASSUME_O_DIRECTORY): Likewise.
31922 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
31923 architecture but not kernel version.
31924 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31925 (__ASSUME_MMAP2_SYSCALL): Likewise.
31926 (__ASSUME_STAT64_SYSCALL): Likewise.
31927 (__ASSUME_IPC64): Likewise.
31928 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
31929 <kernel-features.h>.
31930 [__ASSUME_32BITUIDS]: Make code unconditional.
31931 [!__ASSUME_32BITUIDS]: Remove conditional code.
31932 * sysdeps/unix/sysv/linux/opendir.c: Do not include
31933 <kernel-features.h>.
31934 [__ASSUME_O_DIRECTORY]: Make code unconditional.
31935 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
31936 132096]: Remove conditional code.
31937 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
31938 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31939 <kernel-features.h>.
31940 [__ASSUME_32BITUIDS]: Make code unconditional.
31941 [!__ASSUME_32BITUIDS]: Remove conditional code.
31942 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31943 <kernel-features.h>.
31944 [__ASSUME_32BITUIDS]: Make code unconditional.
31945 [!__ASSUME_32BITUIDS]: Remove conditional code.
31946 * sysdeps/unix/sysv/linux/setegid.c: Do not include
31947 <kernel-features.h>.
31948 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
31950 (__setresgid): Do not declare.
31951 [__ASSUME_32BITUIDS]: Make code unconditional.
31952 [!__ASSUME_32BITUIDS]: Remove conditional code.
31953 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
31954 <kernel-features.h>.
31955 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
31957 (__setresuid): Do not declare.
31958 [__ASSUME_32BITUIDS]: Make code unconditional.
31959 [!__ASSUME_32BITUIDS]: Remove conditional code.
31960 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31961 <kernel-features.h>.
31962 [__ASSUME_32BITUIDS]: Make code unconditional.
31963 [!__ASSUME_32BITUIDS]: Remove conditional code.
31964 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
31965 <kernel-features.h>.
31966 [__ASSUME_32BITUIDS]: Make code unconditional.
31967 [!__ASSUME_32BITUIDS]: Remove conditional code.
31969 2012-05-25 Richard Henderson <rth@twiddle.net>
31971 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
31972 dl_hwcap to ifunc resolver.
31973 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
31975 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
31976 dl_hwcap to ifunc resolver.
31977 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
31979 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31982 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
31983 for |x| <= 2**-26, not 2**-57.
31984 * math/libm-test.inc (acos_test): Do not allow spurious underflow
31987 2012-05-24 Jeff Law <law@redhat.com>
31989 * stdio-common/Makefile (tests): Add bug25.
31990 * stdio-common/bug25.c: New test.
31992 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31995 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
31996 multiple of MALLOC_ALIGNMENT in size.
31997 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
31999 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32001 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32003 (FILENAME_MAX): Use macro-int-constant.
32004 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
32005 (_IOFBF): Use macro-int-constant.
32006 (_IOLBF): Likewise.
32007 (_IONBF): Likewise.
32008 (SEEK_CUR): Likewise.
32009 (SEEK_END): Likewise.
32010 (SEEK_SET): Likewise.
32011 (TMP_MAX): Likewise.
32012 (EOF): Use macro-int-constant. Require < 0.
32013 (NULL): Use macro-constant. Require == 0.
32014 (stdin): Require type to be FILE *.
32015 (stdout): Likewise.
32016 (stderr): Likewise.
32017 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32018 macro-int-constant.
32019 (EXIT_SUCCESS): Likewise.
32020 (NULL): Use macro-constant. Require == 0.
32021 (RAND_MAX): Use macro-int-constant.
32022 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32023 [C99-based standards] (strtof): Require function.
32024 [C99-based standards] (strtold): Likewise.
32025 [C99-based standards] (strtoll): Likewise.
32026 [C99-based standards] (strtoull): Likewise.
32027 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32028 [ISO || ISO99 || ISO11] (limits.h): Likewise.
32029 [ISO || ISO99 || ISO11] (math.h): Likewise.
32030 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32031 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32032 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32034 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
32037 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32038 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32039 * intl/dgettext.c (DCGETTEXT): Likewise.
32040 * intl/gettext.c (DCGETTEXT): Likewise.
32041 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32042 * posix/regex_internal.h (gettext): Likewise.
32043 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32044 Remove declaration.
32045 * include/argz.h (__argz_count_internal)
32046 (__argz_stringify_internal): Remove declaration.
32047 (__argz_count, __argz_stringify): Declare hidden proto.
32048 * intl/dcgettext.c: Remove use of INTDEF.
32049 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32050 * string/argz-stringify.c: Likewise.
32051 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32052 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32053 Declare hidden proto.
32054 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32055 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32056 Declare hidden proto.
32057 * include/stdio.h (__asprintf_internal): Don't declare.
32058 (__asprintf): Don't define as macro. Declare hidden proto.
32059 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32060 (__fsetlocking): Declare hidden proto.
32061 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32062 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32064 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32065 (_IO_setlinebuf): Remove use of INTUSE.
32066 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32067 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32068 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32069 Remove declaration.
32070 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32071 (_IO_do_flush): Remove use of INTUSE.
32072 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32073 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32074 (_IO_adjust_column, _IO_least_wmarker)
32075 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32076 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32077 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32078 (_IO_default_doallocate, _IO_wdefault_doallocate)
32079 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32080 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32081 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32082 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32083 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
32084 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
32085 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
32086 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
32087 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
32088 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
32089 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
32090 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
32091 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
32093 (_IO_flush_all_internal, _IO_adjust_column_internal)
32094 (_IO_default_uflow_internal, _IO_default_finish_internal)
32095 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
32096 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
32097 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
32098 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
32099 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
32100 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
32101 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
32102 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
32103 (_IO_file_close_internal, _IO_file_close_it_internal)
32104 (_IO_file_underflow_internal, _IO_file_overflow_internal)
32105 (_IO_file_init_internal, _IO_file_attach_internal)
32106 (_IO_file_fopen_internal, _IO_file_read_internal)
32107 (_IO_file_sync_internal, _IO_file_seek_internal)
32108 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
32109 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
32110 (_IO_str_underflow_internal, _IO_str_overflow_internal)
32111 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
32112 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
32113 (_IO_list_all_internal, _IO_link_in_internal)
32114 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
32115 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
32116 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
32117 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
32118 (_IO_do_write_internal, _IO_padn_internal)
32119 (_IO_getline_info_internal, _IO_getline_internal)
32120 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
32121 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
32122 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
32123 (_IO_vfscanf_internal, _IO_vfprintf_internal)
32124 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
32125 (_IO_init_internal, _IO_un_link_internal): Don't declare.
32126 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
32127 with libc_hidden_ver, remove use of INTUSE.
32128 * libio/genops.c: Likewise.
32129 * libio/freopen.c: Likewise.
32130 * libio/freopen64.c: Likewise.
32131 * libio/iofclose.c: Likewise.
32132 * libio/iofdopen.c: Likewise.
32133 * libio/iofflush.c: Likewise.
32134 * libio/iofflush_u.c: Likewise.
32135 * libio/iofgets.c: Likewise.
32136 * libio/iofgets_u.c: Likewise.
32137 * libio/iofopen.c: Likewise.
32138 * libio/iofopncook.c: Likewise.
32139 * libio/iofread.c: Likewise.
32140 * libio/iofread_u.c: Likewise.
32141 * libio/ioftell.c: Likewise.
32142 * libio/iofwrite.c: Likewise.
32143 * libio/iogetline.c: Likewise.
32144 * libio/iogets.c: Likewise.
32145 * libio/iogetwline.c: Likewise.
32146 * libio/iopadn.c: Likewise.
32147 * libio/iopopen.c: Likewise.
32148 * libio/ioseekoff.c: Likewise.
32149 * libio/ioseekpos.c: Likewise.
32150 * libio/iosetbuffer.c: Likewise.
32151 * libio/iosetvbuf.c: Likewise.
32152 * libio/ioungetc.c: Likewise.
32153 * libio/ioungetwc.c: Likewise.
32154 * libio/iovdprintf.c: Likewise.
32155 * libio/iovsprintf.c: Likewise.
32156 * libio/iovsscanf.c: Likewise.
32157 * libio/memstream.c: Likewise.
32158 * libio/obprintf.c: Likewise.
32159 * libio/oldfileops.c: Likewise.
32160 * libio/oldiofclose.c: Likewise.
32161 * libio/oldiofdopen.c: Likewise.
32162 * libio/oldiofopen.c: Likewise.
32163 * libio/oldiopopen.c: Likewise.
32164 * libio/oldstdfiles.c: Likewise.
32165 * libio/putc.c: Likewise.
32166 * libio/setbuf.c: Likewise.
32167 * libio/setlinebuf.c: Likewise.
32168 * libio/stdfiles.c: Likewise.
32169 * libio/strops.c: Likewise.
32170 * libio/vasprintf.c: Likewise.
32171 * libio/vscanf.c: Likewise.
32172 * libio/vsnprintf.c: Likewise.
32173 * libio/vswprintf.c: Likewise.
32174 * libio/wfiledoalloc.c: Likewise.
32175 * libio/wfileops.c: Likewise.
32176 * libio/wgenops.c: Likewise.
32177 * libio/wmemstream.c: Likewise.
32178 * libio/wstrops.c: Likewise.
32179 * libio/__fpurge.c: Likewise.
32180 * libio/__fsetlocking.c: Likewise.
32181 * assert/assert.c: Likewise.
32182 * debug/fgets_chk.c: Likewise.
32183 * debug/fgets_u_chk.c: Likewise.
32184 * debug/fread_chk.c: Likewise.
32185 * debug/fread_u_chk.c: Likewise.
32186 * debug/gets_chk.c: Likewise.
32187 * debug/obprintf_chk.c: Likewise.
32188 * debug/vasprintf_chk.c: Likewise.
32189 * debug/vdprintf_chk.c: Likewise.
32190 * debug/vsnprintf_chk.c: Likewise.
32191 * debug/vsprintf_chk.c: Likewise.
32192 * malloc/mtrace.c: Likewise.
32193 * misc/error.c: Likewise.
32194 * misc/syslog.c: Likewise.
32195 * stdio-common/asprintf.c: Likewise.
32196 * stdio-common/fxprintf.c: Likewise.
32197 * stdio-common/getw.c: Likewise.
32198 * stdio-common/isoc99_fscanf.c: Likewise.
32199 * stdio-common/isoc99_scanf.c: Likewise.
32200 * stdio-common/isoc99_vfscanf.c: Likewise.
32201 * stdio-common/isoc99_vscanf.c: Likewise.
32202 * stdio-common/isoc99_vsscanf.c: Likewise.
32203 * stdio-common/printf-prs.c: Likewise.
32204 * stdio-common/printf_fp.c: Likewise.
32205 * stdio-common/printf_fphex.c: Likewise.
32206 * stdio-common/printf_size.c: Likewise.
32207 * stdio-common/putw.c: Likewise.
32208 * stdio-common/scanf.c: Likewise.
32209 * stdio-common/sprintf.c: Likewise.
32210 * stdio-common/tmpfile.c: Likewise.
32211 * stdio-common/vfprintf.c: Likewise.
32212 * stdio-common/vfscanf.c: Likewise.
32213 * stdlib/strfmon_l.c: Likewise.
32214 * sunrpc/openchild.c: Likewise.
32215 * sunrpc/xdr_stdio.c: Likewise.
32216 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
32217 * sysdeps/mach/hurd/tmpfile.c: Likewise.
32219 2012-05-24 Roland McGrath <roland@hack.frob.com>
32221 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32223 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
32224 in the third column, to generate for the shared library an IFUNC
32225 that uses _dl_vdso_vsym.
32226 * Makerules (COMPILE.c, compile-stdin.c): New variables.
32227 * Makeconfig (object-suffixes-noshared): New variable.
32229 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
32230 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
32231 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
32232 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
32235 * include/sys/time.h (__gettimeofday): Remove macro.
32236 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
32237 * time/gettimeofday.c (__gettimeofday): Remove #undef.
32239 (__gettimeofday): Add libc_hidden_def.
32240 (gettimeofday): Add libc_hidden_weak.
32241 * sysdeps/mach/gettimeofday.c: Likewise.
32242 * sysdeps/posix/gettimeofday.c: Likewise.
32243 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32244 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
32245 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
32246 (__gettimeofday_internal): Remove strong_alias.
32247 (__gettimeofday): Add libc_hidden_def.
32248 (gettimeofday): Add libc_hidden_weak.
32249 * sysdeps/unix/syscalls.list (gettimeofday):
32250 Remove __gettimeofday_internal alias.
32252 2012-05-24 Daniel Jacobowitz <drow@false.org>
32253 H.J. Lu <hongjiu.lu@intel.com>
32256 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
32257 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
32258 (largebin_index_32_big): New.
32259 (largebin_index): Use it for 16-byte alignment.
32260 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
32261 correction with front_misalign.
32263 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
32266 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32268 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
32270 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32272 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
32274 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
32276 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
32278 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
32280 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32282 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
32284 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
32286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
32291 * scripts/data/c++-types-x32-linux-gnu.data: New file.
32292 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
32294 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32298 * math/libm-test.inc (exp_test): Add test from bug 14036.
32299 (pow_test): Add test from bug 10846.
32301 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
32303 (special_function): Do not include flags in test name.
32304 (parse_args): Likewise.
32305 * sysdeps/i386/fpu/libm-test-ulps: Update.
32306 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32307 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32308 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32311 * math/gen-libm-test.pl (%beautify): Add entries for underflow
32313 * math/libm-test.inc ("Philosophy"): Update comment about
32315 (UNDERFLOW_EXCEPTION): New macro.
32316 (UNDERFLOW_EXCEPTION_OK): Likewise.
32317 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
32318 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
32319 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
32320 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
32321 (INVALID_EXCEPTION_OK): Update value.
32322 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32323 (OVERFLOW_EXCEPTION_OK): Likewise.
32324 (IGNORE_ZERO_INF_SIGN): Likewise.
32325 (test_exceptions): Handle underflow exceptions.
32326 (acos_test): Update for underflow exception expectations.
32327 (cexp_test): Likewise.
32328 (clog_test): Likewise.
32329 (clog10_test): Likewise.
32330 (csqrt_test): Likewise.
32331 (ctan_test): Likewise.
32332 (ctanh_test): Likewise.
32333 (exp_test): Likewise.
32334 (exp10_test): Likewise.
32335 (exp2_test): Likewise.
32336 (expm1_test): Likewise.
32337 (fma_test): Likewise.
32338 (j0_test): Likewise.
32339 (jn_test): Likewise.
32340 (nexttoward_test): Likewise.
32341 (pow_test): Likewise.
32342 (scalbn_test): Likewise.
32343 (scalbln_test): Likewise.
32344 (tan_test): Likewise.
32345 (y1_test): Likewise.
32346 * sysdeps/i386/fpu/libm-test-ulps: Update.
32347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32349 2012-05-23 David S. Miller <davem@davemloft.net>
32351 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32352 (__libc_sigaction): Remove unused local variables.
32354 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32356 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
32358 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
32360 mktime: avoid signed integer overflow
32361 * time/mktime.c (__mktime_internal): Do not mishandle the case
32362 where diff == INT_MIN.
32364 mktime: simplify computation of average
32365 * time/mktime.c (ranged_convert): Use new time_t_avg function
32366 instead of rolling our own (probably-slower) code.
32368 mktime: do not assume signed right shift propagates sign bit
32369 * time/mktime.c (isdst_differ): New static function.
32370 (__mktime_internal): No need to normalize tm_isdst now.
32371 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
32374 mktime: merge another wrapv change from gnulib
32375 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
32376 from some compilers.
32378 mktime: remove incorrect attempt at unusual arithmetics
32379 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
32380 The code didn't really work on such machines anyway.
32381 (TYPE_MINIMUM): Assume two's complement.
32382 (twos_complement_arithmetic): Verify that long_int and time_t
32383 are two's complement (or unsigned, in the latter case).
32385 mktime: check signed shifts on long_int and time_t, too
32386 * time/mktime.c (SHR): Check that shifts work as desired
32387 on the types long_int and time_t too, as SHR is used on
32390 mktime: do not assume 'long' is wide enough
32391 * time/mktime.c (verify): Move decl up.
32392 (long_int): New type.
32393 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
32394 to remove assumption in the code that 'long' is wide enough to
32395 store year values. This assumption is not true on x32 and on
32396 some non-glibc platforms.
32398 mktime: merge wrapv change from gnulib
32399 * time/mktime.c (WRAPV): New macro.
32400 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
32401 (guess_time_tm, __mktime_internal): Do not assume that signed
32402 integer overflow wraps around; modern compilers generate code
32403 where this assumption is no longer valid.
32405 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32407 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32408 Replace "jmp L(pseudo_end)" with "ret".
32409 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
32412 2012-05-23 Andreas Jaeger <aj@suse.de>
32414 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
32415 * sysdeps/unix/sysv/linux/poll.c: Remove file.
32417 2012-05-23 Andreas Jaeger <aj@suse.de>
32418 Maximilian Attems <max@stro.at>
32420 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
32423 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32425 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
32426 code so that pseudo_end is just ret and the stack pointer is
32427 correct also for static library in error case.
32429 2012-05-23 Joseph Myers <joseph@codesourcery.com>
32431 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
32432 move to syscalls.list.
32433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32438 * manual/install.texi (Running make install): Do not mention Linux
32439 kernel version for which pt_chown is not needed.
32440 (Linux): Do not mention problems with nscd with 2.0 kernels.
32441 * INSTALL: Regenerated.
32443 2012-05-23 Andreas Jaeger <aj@suse.de>
32445 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
32446 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
32448 * sysdeps/unix/sysv/linux/s390/bits/mman.h
32449 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32450 * sysdeps/unix/sysv/linux/sh/bits/mman.h
32451 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32452 * sysdeps/unix/sysv/linux/i386/bits/mman.h
32453 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32454 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
32455 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32456 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
32457 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32458 * sysdeps/unix/sysv/linux/bits/in.h
32459 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
32461 2012-05-22 Roland McGrath <roland@hack.frob.com>
32463 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
32464 (PREPARE_VERSION): Just use assert instead, it will be elided
32465 under [NDEBUG] anyway.
32467 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32469 * sysdeps/unix/sysv/linux/Makefile: Include
32470 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
32471 (sysdep_routines): Remove sysctl.
32472 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
32473 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
32474 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
32475 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
32476 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
32478 2012-05-22 Andreas Jaeger <aj@suse.de>
32480 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
32481 that pseudo_end is just ret and the stack pointer is correct also
32482 for static library in error case.
32484 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
32487 * nss/nsswitch.c (defconfig_entries): New variable.
32488 (__nss_database_lookup): Don't leak defconfig entries.
32489 (nss_parse_service_list): Don't leak on error paths.
32490 (free_database_entries): New function.
32491 (free_defconfig): New function.
32492 (free_mem): Move common code to free_database_entries.
32494 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32496 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
32498 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
32500 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32501 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
32502 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
32504 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
32505 (INTERNAL_SYSCALL_TYPES): Likewise.
32506 (LOAD_ARGS_TYPES_[1-6]): Likewise.
32507 (LOAD_REGS_TYPES_[1-6]): Likewise.
32508 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
32509 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
32511 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32513 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
32514 copysignl for GLIBC_2_0.
32515 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
32516 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
32517 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
32518 logbl for GLIBC_2_0.
32519 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32520 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32522 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32524 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
32525 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32527 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32530 * time/mktime.c: Update copyright years.
32532 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
32534 mktime: merge comment-quoting-style change from gnulib
32535 * time/mktime.c: Quote 'like this' in comments.
32536 The GNU coding standards suggest that we no longer quote `like this',
32537 as "`" and "'" are typically rendered asymmetrically nowadays.
32538 The typical gnulib style is to quote 'like this' when quoting
32539 code, and "like this" when quoting English.
32541 * time/mktime.c (compile-command): Add "-I.".
32543 mktime: merge mktime-internal.h change from gnulib
32544 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
32546 mktime: merge time_r change from gnulib
32547 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
32549 mktime: merge DEBUG change from gnulib
32550 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
32551 case system <time.h> has a #define.
32553 mktime: merge <sys/types.h> change from gnulib
32554 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
32555 since <time.t> is now guaranteed to define time_t.
32557 mktime: merge HAVE_CONFIG_H change from gnulib
32558 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
32560 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32562 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32565 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
32567 (struct rusage): Use anonymous union to pad each field to
32570 2012-05-21 David S. Miller <davem@davemloft.net>
32572 * Makefules (o-iterator): Remove .s cases.
32573 (compile-command.s): Delete.
32574 (COMPILE.s): Delete.
32575 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
32577 2012-05-21 Joseph Myers <joseph@codesourcery.com>
32579 * configure.in (libc_cv_predef_stack_protector): Only consider
32580 "foobar" and "__stack_chk_fail" lines in libc_undefs.
32581 * configure: Regenerated.
32583 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32585 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32586 New macro. Use R*LP on int and pointer.
32587 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
32588 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
32589 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
32590 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
32592 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
32593 [__WORDSIZE_TIME64_COMPAT32] instead of
32594 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
32595 (struct utmp): Likewise.
32596 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
32597 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
32599 (__WORDSIZE_TIME64_COMPAT32): This.
32600 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
32601 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
32602 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
32603 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
32604 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
32605 (__WORDSIZE_TIME64_COMPAT32): New macro.
32607 2012-05-21 Andreas Jaeger <aj@suse.de>
32609 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
32610 only if [SHARED]. Add prototype for __wcschr_ia32.
32612 2012-05-21 Roland McGrath <roland@hack.frob.com>
32614 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
32615 of %rbp unmolested in the jmp_buf while mangling the low bits.
32616 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
32617 unmolested high bits of %rbp while demangling the low bits.
32618 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32620 2012-05-21 Andreas Jaeger <aj@suse.de>
32622 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
32623 * sunrpc/svc_simple.c: Use it for registerrpc.
32624 * sunrpc/xcrypt.c: Use it for passwd2des.
32626 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
32628 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32630 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
32631 Don't define if [__SYSCALL_WORDSIZE != 32].
32632 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
32635 2012-05-21 Bruno Haible <bruno@clisp.org>
32636 Andreas Jaeger <aj@suse.de>
32638 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
32639 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
32640 inptr and inend for must_buffer_ch.
32641 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
32642 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
32643 * stdio-common/Makefile (tests): Remove bug15.
32644 (bug15-ENV): Remove macro.
32645 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
32648 2012-05-19 Andreas Jaeger <aj@suse.de>
32649 Roland McGrath <roland@hack.frob.com>
32651 * manual/contrib.texi: Completely rewritten. It contains now an
32652 alphabetical list of contributors and their contributions.
32654 2012-05-21 Richard Henderson <rth@twiddle.net>
32656 * misc/getauxval.c (__getauxval): Use unsigned long int.
32657 * misc/sys/auxv.h: Include <sys/cdefs.h>.
32658 (getauxval): Use unsigned long int.
32660 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32662 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32664 2012-05-21 Roland McGrath <roland@hack.frob.com>
32666 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
32667 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
32668 __alignof__ (long double).
32670 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32674 2012-05-20 Richard Henderson <rth@twiddle.net>
32676 * misc/getauxval.c: New file.
32677 * misc/sys/auxv.h: New file.
32678 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
32679 (routines): Add getauxval.
32680 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
32681 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
32682 * elf/dl-sysdep.c (_dl_auxv): Remove.
32683 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
32684 * elf/dl-support.c (_dl_auxv): New variable.
32685 (_dl_aux_init): Initialize it.
32686 * manual/startup.texi (Auxiliary Vector): New node.
32687 * sysdeps/generic/bits/hwcap.h: New file.
32688 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
32689 * sysdeps/powerpc/sysdep.h: ... here. Include it.
32690 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
32691 * sysdeps/sparc/sysdep.h: ... here. Include it.
32692 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
32693 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
32694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
32697 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
32698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
32699 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
32700 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32701 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32702 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
32703 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
32705 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32709 2012-05-19 David S. Miller <davem@davemloft.net>
32711 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32713 2012-05-19 Joseph Myers <joseph@codesourcery.com>
32716 * math/s_ccosh.c: Include <float.h>
32717 (__ccosh): Avoid internal overflow calculating sinh and cosh
32718 values before multiplying by sin and cos values.
32719 * math/s_ccoshf.c: Likewise.
32720 * math/s_ccoshl.c: Likewise.
32721 * math/s_csin.c: Likewise.
32722 * math/s_csinf.c: Likewise.
32723 * math/s_csinl.c: Likewise.
32724 * math/s_csinh.c: Likewise.
32725 * math/s_csinhf.c: Likewise.
32726 * math/s_csinhl.c: Likewise.
32727 * math/libm-test.inc (ccos_test): Add more tests.
32728 (ccosh_test): Likewise.
32729 (csin_test): Likewise.
32730 (csinh_test): Likewise.
32731 * sysdeps/i386/fpu/libm-test-ulps: Update.
32732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32734 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
32736 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
32737 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
32739 * sysdeps/x86_64/x32/_itoa.h: Add comment.
32741 2012-05-19 Joseph Myers <joseph@codesourcery.com>
32743 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
32744 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
32745 * sysdeps/powerpc/soft-fp/Versions: Likewise.
32746 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
32747 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
32748 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
32749 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
32750 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
32751 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
32752 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
32753 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
32754 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
32755 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
32756 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
32757 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
32758 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
32759 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
32760 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
32761 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
32762 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
32763 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
32764 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
32765 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
32766 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
32767 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
32768 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
32769 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
32770 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
32771 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
32772 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
32773 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
32775 2012-05-18 Andreas Jaeger <aj@suse.de>
32777 * csu/.gitignore: Delete.
32779 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32781 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
32782 (timex): Use __syscall_slong_t.
32784 2012-05-18 Andreas Jaeger <aj@suse.de>
32785 Carlos O'Donell <carlos_odonell@mentor.com>
32787 * manual/install.texi (Configuring and compiling): Update
32788 description about files modified in the source directory.
32789 * INSTALL: Regenerated.
32791 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32793 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
32794 value. Use "or" to set return value to -1.
32795 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
32796 negate return value.
32798 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32800 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
32801 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
32802 failure if the compiler has Graphite support disabled.
32803 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
32805 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
32806 (CFLAGS-memmove.c): Likewise.
32807 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
32810 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32812 * sysdeps/x86_64/x32/_itoa.h: New file.
32814 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
32815 getdents system call only if kernel and user dirents have the
32816 same d_ino and d_off.
32818 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32819 LLONG_MAX != LONG_MAX.
32820 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32821 (_fitoa_word): Likewise.
32823 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
32825 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
32826 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
32827 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
32829 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
32830 include <bits/wordsize.h>. Check __x86_64__ instead of
32832 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
32833 if __x86_64__ is defined. Use anonymous union on fpstate.
32835 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
32838 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
32840 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32841 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
32842 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
32843 Refer to _rtld_local_ro instead of _rtld_global_ro.
32844 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
32846 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
32848 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
32850 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
32851 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
32852 of _rtld_global, and rtld_progname instead of _dl_argv[0].
32854 * sysdeps/powerpc/powerpc32/dl-machine.c
32855 (__elf_machine_runtime_setup) [PROF]: Don't reference
32858 2012-05-18 Andreas Jaeger <aj@suse.de>
32860 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
32861 function only available for GCCs before 3.4 since GCC 3.4
32862 introduced a builtin.
32864 (llrintf): Likewise.
32865 (llrint): Likewise.
32872 (nearbyint): Likewise.
32873 (nearbyintf): Likewise.
32877 (floorf): Likewise.
32879 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32881 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
32882 on both fields and cast pointer to __syscall_ulong_t.
32884 * bits/types.h (__fsword_t): New type.
32885 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
32886 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
32887 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32888 (__FSWORD_T_TYPE): Likewise.
32889 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32890 (__FSWORD_T_TYPE): Likewise.
32891 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32892 (__FSWORD_T_TYPE): Likewise.
32893 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
32894 (__FSWORD_T_TYPE): Likewise.
32895 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
32896 __SWORD_TYPE with __fsword_t.
32897 (statfs64): Likewise.
32899 2012-05-17 David S. Miller <davem@davemloft.net>
32901 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
32903 2012-05-17 Andreas Jaeger <aj@suse.de>
32905 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
32908 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32910 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
32912 2012-05-17 Andreas Jaeger <aj@suse.de>
32914 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
32917 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32919 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
32921 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32923 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
32924 * sysdeps/x86_64/tst-mallocalign1.c: New file.
32926 2012-05-17 Andreas Jaeger <aj@suse.de>
32927 Carlos O'Donell <carlos_odonell@mentor.com>
32930 * sysdeps/x86_64/multiarch/init-arch.h
32931 (bit_YMM_Usable): Rename to...
32932 (bit_AVX_Usable): ... this.
32933 (bit_FMA4_Usable): New macro.
32934 (bit_XMM_state): New macro.
32935 (bit_YMM_state): New macro.
32936 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
32937 [__ASSEMBLER__] (index_AVX_Usable): ... this.
32938 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
32939 (CPUID_OSXSAVE): New macro.
32940 (CPUID_AVX): New macro.
32941 (CPUID_FMA4): New macro.
32942 (index_YMM_Usable): Rename to...
32943 (index_AVX_Usable): ... this.
32944 (HAS_AVX): Use HAS_ARCH_FEATURE.
32945 (HAS_FMA4): Likewise.
32946 (HAS_YMM_USABLE): Remove.
32947 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32948 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
32950 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
32951 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
32952 * sysdeps/x86_64/multiarch/Makefile: Likewise.
32953 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
32954 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
32956 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32958 * math/libm-test.c: Support platforms without multiple rounding modes.
32959 * math/bug-nextafter.c: Support platforms without FP exceptions.
32960 * math/bug-nexttoward.c: Likewise.
32961 * math/test-fenv.c: Likewise.
32962 * math/test-misc.c: Likewise.
32963 * stdlib/bug-getcontext.c: Likewise.
32965 2012-05-17 Andreas Jaeger <aj@suse.de>
32967 * manual/examples/search.c (critter_cmp): Change signature to
32969 * manual/string.texi (Collation Functions): Likewise.
32971 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32973 * bits/types.h: Fold copyright years.
32974 * bits/typesizes.h: Likewise.
32975 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
32976 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32977 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
32978 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
32979 * time/time.h: Likewise.
32981 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
32984 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
32985 in instead of returning them. Return void.
32986 (__libc_mallinfo): Accumulate over all arenas.
32987 (__malloc_stats): Adjust for change in int_mallinfo interface.
32989 2012-05-16 Roland McGrath <roland@hack.frob.com>
32992 * configure.in (NM): Add AC_CHECK_TOOL for it.
32993 (libc_extra_cflags): New substituted variable.
32994 Check for -fstack-protector being used implicitly.
32995 * configure: Regenerated.
32996 * config.make.in (config-extra-cflags): New variable,
32997 gets @libc_extra_cflags@.
32998 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33001 * configure.in: Check for _FORTIFY_SOURCE being predefined.
33002 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33003 * configure: Regenerated.
33004 * config.make.in (CPPUNDEFS): New substituted variable.
33005 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33006 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33007 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33009 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33011 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33012 (mq_attr): Use __syscall_slong_t.
33014 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33016 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33017 Check __x86_64__ instead of __WORDSIZE.
33018 (_STAT_VER_LINUX): Likewise.
33019 (stat): Check __x86_64__ instead of __WORDSIZE. Use
33020 __syscall_ulong_t and __syscall_slong_t.
33021 (stat64): Likewise.
33023 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33025 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33027 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33029 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33031 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33033 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33036 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33037 include <bits/wordsize.h>. Check __x86_64__ instead of
33039 (greg_t): Use "__extension__ long long int" if __x86_64__ is
33041 (mcontext_t): Replace "unsigned long" with "unsigned long long".
33043 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33044 include <bits/wordsize.h>. Check __x86_64__ instead of
33046 (user_regs_struct): Use "__extension__ unsigned long long"
33047 instead of "unsigned long" if __x86_64__ is defined.
33048 (user): Likewise. Pad after pointer field if __ILP32__ is
33051 2012-05-16 Joseph Myers <joseph@codesourcery.com>
33053 * configure.in (makeinfo): Require version 4.5 or later. Allow
33055 * configure: Regenerated.
33056 * manual/install.texi (texinfo): Increase version requirement to
33058 * INSTALL: Regenerated.
33060 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33062 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33064 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33066 * sysdeps/x86_64/x32/ffs.c: New file.
33068 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33070 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33071 defined. Use __syscall_ulong_t.
33072 (shminfo): Use __syscall_ulong_t.
33073 (shm_info): Likewise.
33075 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33078 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33080 (msgqnum_t): Use __syscall_ulong_t.
33081 (msglen_t): Likewise.
33082 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
33085 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
33086 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33088 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33090 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
33091 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
33093 * sysvipc/sys/msg.h (msgbuf): Replace long int with
33096 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
33097 include <bits/wordsize.h>. Check __x86_64__ instead of
33100 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
33101 "unsigned long long int" if __x86_64__ is defined.
33102 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
33104 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
33105 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33106 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
33108 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
33110 (GET_PC): Cast to uintptr_t first.
33111 (GET_FRAME): Likewise.
33112 (GET_STACK): Likewise.
33114 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
33115 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
33116 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
33117 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
33118 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
33119 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
33120 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
33121 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
33122 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33123 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
33124 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
33125 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
33126 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33127 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
33128 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
33129 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
33130 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
33131 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
33132 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
33133 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
33134 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
33135 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
33136 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
33137 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
33138 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
33139 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
33140 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
33141 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
33142 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
33144 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
33146 * Makerules (+depfiles): Also collect depfiles from .oS in
33148 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
33149 .oS, $(libnldbl-routines)).
33151 * Makerules (native-compile-mkdep-flags): Define.
33152 * sunrpc/Makefile (extra-objs): Add $(addprefix
33153 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
33154 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
33155 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
33156 calling $(make-target-directory).
33158 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33160 * bits/types.h (__snseconds_t): Removed.
33161 * time/time.h (struct timespec): Replace __snseconds_t with
33163 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
33164 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
33166 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33167 (__SNSECONDS_T_TYPE): Likewise.
33168 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33169 (__SNSECONDS_T_TYPE): Likewise.
33170 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33171 (__SNSECONDS_T_TYPE): Likewise.
33173 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33175 * sysdeps/mach/hurd/bits/typesizes.h
33176 (__SYSCALL_SLONG_TYPE): New macro.
33177 (__SYSCALL_ULONG_TYPE): Likewise.
33179 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33181 * bits/types.h (__syscall_slong_t): New type.
33182 (__syscall_ulong_t): Likewise.
33184 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
33185 (__SYSCALL_ULONG_TYPE): Likewise.
33186 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33187 (__SYSCALL_SLONG_TYPE): Likewise.
33188 (__SYSCALL_ULONG_TYPE): Likewise.
33189 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33190 (__SYSCALL_SLONG_TYPE): Likewise.
33191 (__SYSCALL_ULONG_TYPE): Likewise.
33192 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33193 (__SYSCALL_SLONG_TYPE): Likewise.
33194 (__SYSCALL_ULONG_TYPE): Likewise.
33196 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33198 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
33199 Add sigaltstack-offsets.sym.
33200 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
33201 <sigaltstack-offsets.h>.
33202 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
33203 longjmp_msg pointer.
33204 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
33205 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
33207 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
33209 2012-05-15 Joseph Myers <joseph@codesourcery.com>
33211 * elf/stackguard-macros.h: Remove file.
33212 * sysdeps/generic/stackguard-macros.h: New file.
33213 * sysdeps/i386/stackguard-macros.h: Likewise.
33214 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33215 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33216 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33217 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33218 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33219 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33220 * sysdeps/x86_64/stackguard-macros.h: Likewise.
33221 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
33222 <elf/stackguard-macros.h>.
33225 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
33226 __aligned__ in attribute.
33227 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
33228 (gregset_t): Likewise.
33230 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33232 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
33233 * sysdeps/x86_64/64/Implies-after: Here. New file.
33234 * sysdeps/x86_64/x32/Implies-after: New file.
33236 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33238 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
33239 and access return value for _dl_profile_fixup. Use R10_LP to
33242 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33244 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
33246 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33248 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
33249 * sysdeps/x86_64/x32/sysdep.h: New file.
33251 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33253 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
33254 * sysdeps/x86_64/setjmp.S: Likewise.
33256 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33258 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
33259 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
33260 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
33261 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
33262 remove unused global constant.
33264 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
33266 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
33267 include of <not-cancel.h>.
33269 2012-05-15 Roland McGrath <roland@hack.frob.com>
33271 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
33273 2012-05-15 Jeff Law <law@redhat.com>
33274 Andreas Jaeger <aj@suse.de>
33277 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
33279 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
33280 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
33281 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
33282 code changing __hst_map_handle.map.
33284 2012-05-15 Roland McGrath <roland@hack.frob.com>
33286 * configure.in (sysnames): Look for Implies-before and Implies-after
33288 * configure: Regenerated.
33290 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33292 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
33293 8-byte data alignment with LP_SIZE alignment.
33295 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33297 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
33300 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33302 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
33304 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33306 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
33307 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
33308 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
33310 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33312 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33314 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
33315 (stackinfo_sub_sp): Likewise.
33317 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33319 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
33322 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33324 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
33327 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33329 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
33332 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33334 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
33336 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33338 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
33339 into R11_LP and load __x86_64_shared_cache_size_half into
33342 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33344 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
33347 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33349 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
33351 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
33353 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
33355 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
33356 powerpc32/power7/fpu/s_logb.c via #include.
33357 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
33358 powerpc32/power7/fpu/s_logbf.c via #include.
33359 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
33360 powerpc32/power7/fpu/s_logbl.c via #include.
33362 2012-05-15 Joseph Myers <joseph@codesourcery.com>
33364 * README.libm: Remove file.
33366 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33368 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
33369 count for x32. Use R*_LP and omit operand-size suffix.
33371 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33373 * shlib-versions: Move x86_64-.*-linux.* entries to ...
33374 * sysdeps/x86_64/64/shlib-versions: Here. New file.
33375 * sysdeps/x86_64/x32/shlib-versions: New file.
33377 2012-05-14 Roland McGrath <roland@hack.frob.com>
33379 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
33380 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
33381 Use _dl_fatal_printf instead.
33383 2012-05-14 Joseph Myers <joseph@codesourcery.com>
33385 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
33386 set if not set by the user. Do not allow for being unset.
33387 * sysdeps/unix/sysv/linux/configure: Regenerated.
33389 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33391 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
33392 the `q' suffix from lea and replace .quad with ASM_ADDR.
33394 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33396 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
33397 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
33399 (PTR_DEMANGLE): Likewise.
33401 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33403 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
33405 (ASM_ADDR): Likewise.
33406 (RAX_LP): Likewise.
33407 (RBP_LP): Likewise.
33408 (RBX_LP): Likewise.
33409 (RCX_LP): Likewise.
33410 (RDI_LP): Likewise.
33411 (RSI_LP): Likewise.
33412 (RSP_LP): Likewise.
33415 (R10_LP): Likewise.
33416 (R10_LP): Likewise.
33417 (R11_LP): Likewise.
33418 (R12_LP): Likewise.
33419 (R13_LP): Likewise.
33420 (R14_LP): Likewise.
33421 (R15_LP): Likewise.
33423 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33425 * sysdeps/x86_64/x32/dl-machine.h: New file.
33427 2012-05-14 Andreas Jaeger <aj@suse.de>
33429 * manual/Makefile (subdir): Remove export of subdir.
33430 (all): Remove target.
33431 (.PHONY): Remove all from list.
33432 (mkinstalldirs): Remove.
33433 (.PHONY): Remove installdirs from list.
33434 ($(inst_infodir)/libc.info): Use make-target-directory.
33435 (installdirs): Remove.
33436 (subdir_%): Remove.
33437 (glibc-targets): Remove.
33440 ($(objpfx)stubs ../po/manual.pot): Remove.
33441 ($(objpfx)stamp%): Remove.
33442 (make-target-directory): Remove.
33443 (subdir_install): Remove.
33444 (routines): Remove.
33451 * manual/.gitignore: Remove, it's not needed anymore.
33452 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
33454 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
33456 (texis): Renamed to $(objpfx)texis.
33457 (texis-path): New, contains path to generated files.
33458 (chapters.%): Use texis-path for complete path, add extra argument
33460 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
33461 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
33462 (summary,texi, stamp-summary): Use complete path of
33463 files. Generate files in build dir.
33464 (dir-add.texi): Build in build dir.
33465 (libm-err.texi,stamp-libm-err): Likewise.
33466 (version.texi, stamp-version): Likewise.
33467 (.%c.texi): Likewise.
33468 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
33469 (mostlyclean): Remove target.
33470 (realclean): Remove target.
33471 (generated): Add new variable with contents from mostlyclean and
33472 realclean, remove entries duplicated in common-mostlyclean, add
33473 stamp-libm-err and stamp-version.
33474 (generated-dirs): Add libc directory.
33475 ($(inst_infodir)/libc.info): Install files from build dir.
33477 * manual/install.texi (Configuring and compiling): Adjust since
33478 the info files are not part of the tar ball anymore.
33480 2012-05-14 Andreas Jaeger <aj@suse.de>
33482 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
33485 2012-05-14 Joseph Myers <joseph@codesourcery.com>
33488 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33489 to 2.2.0 where earlier.
33490 * sysdeps/unix/sysv/linux/configure: Regenerated.
33491 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
33492 Remove conditional code.
33493 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
33494 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
33495 Remove conditional code.
33496 [!__NR_lchown]: Likewise.
33497 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33498 [__NR_lchown]: Likewise.
33499 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
33500 comment referencing __ASSUME_LCHOWN_SYSCALL.
33501 * sysdeps/unix/sysv/linux/i386/sigaction.c
33502 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33503 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33504 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
33505 Remove conditional code.
33506 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
33507 (__protocol_available): Remove #if 0 code.
33508 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
33510 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
33511 * sysdeps/unix/sysv/linux/kernel-features.h
33512 (__ASSUME_GETCWD_SYSCALL): Don't define.
33513 (__ASSUME_REALTIME_SIGNALS): Likewise.
33514 (__ASSUME_PREAD_SYSCALL): Likewise.
33515 (__ASSUME_PWRITE_SYSCALL): Likewise.
33516 (__ASSUME_POLL_SYSCALL): Likewise.
33517 (__ASSUME_LCHOWN_SYSCALL): Likewise.
33518 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
33520 (__ASSUME_SIOCGIFNAME): Don't define.
33521 (__ASSUME_MSG_NOSIGNAL): Likewise.
33522 (__ASSUME_SENDFILE): Define unconditionally.
33523 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
33524 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
33526 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
33527 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
33528 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33529 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33530 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
33531 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33532 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
33534 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33535 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33537 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33538 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
33540 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33541 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33543 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33544 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
33546 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33547 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33549 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33550 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
33552 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33553 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33555 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33556 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33557 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
33558 Remove conditional code.
33559 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33560 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33561 Remove conditional code.
33562 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33563 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
33564 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
33565 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33566 Remove conditional code.
33567 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33568 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
33569 Remove conditional code.
33570 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33571 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
33572 Remove conditional code.
33573 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33574 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33575 Remove conditional code.
33576 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33577 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33578 Remove conditional code.
33579 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33580 * sysdeps/unix/sysv/linux/sh/pwrite64.c
33581 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33582 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33583 * sysdeps/unix/sysv/linux/sigaction.c
33584 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33585 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33586 * sysdeps/unix/sysv/linux/sigpending.c
33587 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33588 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33589 * sysdeps/unix/sysv/linux/sigprocmask.c
33590 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33591 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33592 * sysdeps/unix/sysv/linux/sigsuspend.c
33593 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33594 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33595 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33596 (__libc_missing_rt_sigs): Remove.
33597 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
33598 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
33599 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
33600 Remove conditional code.
33601 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
33602 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
33604 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
33605 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
33606 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
33607 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
33609 2012-05-14 Andreas Jaeger <aj@suse.de>
33611 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
33612 it's not used in glibc.
33613 (__coshm1): Likewise.
33614 (__acosh1p): Likewise.
33617 * manual/string.texi (Copying and Concatenation): Add missing
33618 variable in concat example.
33619 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
33621 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33624 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
33625 __builtin_clzl with __builtin_clzll.
33627 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33630 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
33633 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33635 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
33636 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
33637 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
33638 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
33640 2012-05-14 Mike Frysinger <vapier@gentoo.org>
33642 * NEWS: Update ia64 info.
33644 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
33646 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
33649 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
33651 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
33652 * sysdeps/unix/syscalls.list (dup3): Likewise.
33653 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
33654 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
33656 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33658 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
33659 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
33661 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33663 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
33665 (TLS_IE): Use mov/add instead of movq/addq to load thread
33667 (TLS_GD_PREFIX): New.
33670 2012-05-11 David S. Miller <davem@davemloft.net>
33672 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
33673 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
33674 (_FPU_SETCW): Likewise.
33676 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33678 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
33679 is 32-byte aligned.
33681 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
33684 * iconvdata/gb18030.c: Update tables.
33685 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
33686 characters specially.
33687 (BODY for TO_LOOP): Add encoding of missing ranges.
33689 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
33692 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
33693 * sysdeps/mach/hurd/dup3.c: Likewise.
33694 * sysdeps/mach/hurd/readlinkat.c: Likewise.
33695 * sysdeps/powerpc/memmove.c:: Likewise.
33697 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33699 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
33700 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
33702 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33704 * elf/elf.h (R_X86_64_RELATIVE64): New.
33705 (R_X86_64_NUM): Updated.
33706 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33707 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
33708 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
33709 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
33710 tst-quad1pie tst-quad2pie
33711 (modules-names): Add tst-quadmod1 tst-quadmod2.
33712 ($(objpfx)tst-quad1): New dependency.
33713 ($(objpfx)tst-quad2): Likewise.
33714 ($(objpfx)tst-quad1pie): Likewise.
33715 ($(objpfx)tst-quad2pie): Likewise.
33716 * sysdeps/x86_64/tst-quad1.c: New file.
33717 * sysdeps/x86_64/tst-quad1pie.c: New file.
33718 * sysdeps/x86_64/tst-quad2.c: Likewise.
33719 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
33720 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
33721 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
33722 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
33723 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
33725 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33727 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
33728 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
33729 * streams/stropts.h (t_scalar_t): Define type.
33731 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
33732 (_PATH_PRESERVE): Set to "/var/lib".
33733 (_PATH_RWHODIR): Set to "/var/spool/rwho".
33735 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
33738 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
33739 if __dir_mkfile succeeded.
33741 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
33742 checking for _hurd_dtablesize. Unlock it right after having
33743 finished _hurd_dtable allocation.
33745 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33747 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
33748 * sysdeps/mach/hurd/configure: Regenerated.
33749 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
33750 special-casing to...
33751 * sysdeps/gnu/configure.in: ... this new file.
33752 * sysdeps/unix/sysv/linux/configure: Regenerated.
33753 * sysdeps/gnu/configure: New generated file.
33755 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
33756 for Linux: use nsec instead of usec, as well as:
33757 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
33758 members of type struct timespec.
33759 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
33761 (struct stat64): Likewise.
33762 (_STATBUF_ST_NSEC): New macro.
33763 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
33765 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33766 __strtoul_internal rather than strtoul.
33768 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33770 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
33773 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33775 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
33776 which preserves existing values.
33777 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
33779 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33781 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
33782 TIMEOUT values. Return EINVAL for NFDS values either negative or
33783 greater than FD_SETSIZE.
33785 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33787 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
33788 allocated, call __vm_protect to finish enabling the existing space, and
33789 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
33790 allocate the remainder.
33792 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33794 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
33795 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
33797 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33799 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
33800 sysdeps/mach/hurd/readlink.c.
33802 * posix/tst-sysconf.c (posix_options): Only use
33803 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
33804 _POSIX_SYNCHRONIZED_IO when they are defined
33805 * sysdeps/mach/hurd/bits/posix_opt.h:
33806 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
33807 (_XOPEN_REALTIME): Undefine macro.
33808 (_XOPEN_REALTIME_THREADS): Undefine macro.
33809 (_XOPEN_SHM): Undefine macro.
33810 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
33812 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
33814 (_POSIX_ASYNC_IO): Undefine macro.
33815 (_POSIX_PRIORITIZED_IO): Undefine macro.
33816 (_POSIX_SPIN_LOCKS): Define macro to -1.
33818 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
33819 SA_NODEFER, SA_RESETHAND.
33820 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
33821 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
33824 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33826 * elf/Makefile (pldd-modules): Define unconditionally.
33828 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33830 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
33832 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33834 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
33835 Return ENOENT when name is empty.
33836 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
33838 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33840 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
33842 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
33844 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33846 Fix mlock in all cases except non-readable pages.
33847 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
33848 instead of VM_PROT_ALL as parameter to __vm_wire function.
33850 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
33851 (__mkdir): When path is `/', just fail with EEXIST.
33852 * sysdeps/mach/hurd/mkdirat.c: Likewise.
33854 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33856 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
33857 <sys/uio.h> (for writev).
33858 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
33859 and <sys/param.h> (for MIN).
33861 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33863 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
33864 REQUESTED_TIME. Properly set the remaining time and return EINTR
33867 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33869 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
33870 Depend on against $(link-rpcuserlibs).
33872 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33874 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
33875 (__libc_stack_end): Do not use attribute_relro.
33876 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
33877 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
33878 to libthread-provided value.
33879 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
33882 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33885 * bits/libc-lock.h (__libc_once_get): New macro.
33886 * sysdeps/mach/bits/libc-lock.h: Likewise.
33887 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
33888 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
33889 instead of using implementation details.
33891 * libio/fileops.c: Unconditionally include <kernel-features.h>.
33892 * libio/freopen.c: Likewise.
33893 * libio/freopen64.c: Likewise.
33894 * misc/syslog.c: Likewise.
33895 * nscd/connections.c: Likewise.
33896 * nscd/netgroupcache.c: Likewise.
33897 * sysdeps/posix/getcwd.c: Likewise.
33899 2012-05-10 Roland McGrath <roland@hack.frob.com>
33901 * math/w_ilogbf.c: Add #include <limits.h>.
33903 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33905 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
33906 path instead of returning without unlocking.
33908 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
33909 immediate-write ioctls.
33910 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
33912 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33914 * sysdeps/mach/hurd/i386/init-first.c (init): Use
33915 __builtin_frame_address instead of making assumptions about the
33916 location of the return address relative to DATA. Force early load of
33917 the return address.
33918 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
33919 __builtin_frame_address.
33922 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
33923 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
33924 implement dup3 and do some further code clean-ups.
33925 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
33926 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
33928 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33930 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
33932 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
33933 HURD_CRITICAL_END around holding _hurd_dtable_lock.
33934 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
33935 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
33936 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
33939 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
33940 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
33941 when handler == SIG_ERR, not when handler != SIG_ERR.
33943 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33945 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
33946 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
33949 accept4 for GNU Hurd.
33950 * include/sys/socket.h (__libc_accept4): New prototype.
33951 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
33952 to implement __libc_accept4.
33953 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
33955 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
33957 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
33958 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
33959 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
33960 signal-defines.sym.
33962 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33964 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
33966 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33968 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33969 assertion on O_CLOEXEC flag.
33970 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
33971 * hurd/intern-fd.c: Likewise.
33972 * hurd/port2fd.c: Likewise.
33974 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33977 * bits/in.h (IPV6_PKTINFO): Define new macro.
33978 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33980 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33985 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
33986 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33987 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
33988 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33989 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33990 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33991 * math/libm-test.inc (logb_test) : Additional logb tests.
33993 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
33994 Andreas Jaeger <aj@suse.de>
33996 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
33997 * configure: Regenerated.
33998 * config.h.in (LINK_OBSOLETE_RPC): New macro.
33999 * config.make.in (link-obsolete-rpc): New substituted variable.
34000 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34001 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34002 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34003 (shared-only-routines): Don't set it under [link-obsolete-rpc],
34004 so that libc.a contains the symbols.
34005 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34006 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34007 * sunrpc/auth_none.c: Likewise.
34008 * sunrpc/auth_unix.c: Likewise.
34009 * sunrpc/authdes_prot.c: Likewise.
34010 * sunrpc/authuxprot.c: Likewise.
34011 * sunrpc/clnt_gen.c: Likewise.
34012 * sunrpc/clnt_perr.c: Likewise.
34013 * sunrpc/clnt_raw.c: Likewise.
34014 * sunrpc/clnt_simp.c: Likewise.
34015 * sunrpc/clnt_tcp.c: Likewise.
34016 * sunrpc/clnt_udp.c: Likewise.
34017 * sunrpc/clnt_unix.c: Likewise.
34018 * sunrpc/des_crypt.c: Likewise.
34019 * sunrpc/des_soft.c: Likewise.
34020 * sunrpc/get_myaddr.c: Likewise.
34021 * sunrpc/key_call.c: Likewise.
34022 * sunrpc/key_prot.c: Likewise.
34023 * sunrpc/netname.c: Likewise.
34024 * sunrpc/pm_getmaps.c: Likewise.
34025 * sunrpc/pm_getport.c: Likewise.
34026 * sunrpc/pmap_clnt.c: Likewise.
34027 * sunrpc/pmap_prot.c: Likewise.
34028 * sunrpc/pmap_prot2.c: Likewise.
34029 * sunrpc/pmap_rmt.c: Likewise.
34030 * sunrpc/publickey.c: Likewise.
34031 * sunrpc/rpc_cmsg.c: Likewise.
34032 * sunrpc/rpc_common.c: Likewise.
34033 * sunrpc/rpc_dtable.c: Likewise.
34034 * sunrpc/rpc_prot.c: Likewise.
34035 * sunrpc/rpc_thread.c: Likewise.
34036 * sunrpc/rtime.c: Likewise.
34037 * sunrpc/svc.c: Likewise.
34038 * sunrpc/svc_auth.c: Likewise.
34039 * sunrpc/svc_raw.c: Likewise.
34040 * sunrpc/svc_run.c: Likewise.
34041 * sunrpc/svc_tcp.c: Likewise.
34042 * sunrpc/svc_udp.c: Likewise.
34043 * sunrpc/svc_unix.c: Likewise.
34044 * sunrpc/svcauth_des.c: Likewise.
34045 * sunrpc/xcrypt.c: Likewise.
34046 * sunrpc/xdr.c: Likewise.
34047 * sunrpc/xdr_array.c: Likewise.
34048 * sunrpc/xdr_float.c: Likewise.
34049 * sunrpc/xdr_intXX_t.c: Likewise.
34050 * sunrpc/xdr_mem.c: Likewise.
34051 * sunrpc/xdr_rec.c: Likewise.
34052 * sunrpc/xdr_ref.c: Likewise.
34053 * sunrpc/xdr_sizeof.c: Likewise.
34054 * sunrpc/xdr_stdio.c: Likewise.
34056 2012-05-10 Roland McGrath <roland@hack.frob.com>
34058 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34059 change. Update copyright years.
34061 2012-05-10 Joseph Myers <joseph@codesourcery.com>
34063 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34065 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
34066 Joseph Myers <joseph@codesourcery.com>
34067 Paul Pluzhnikov <ppluzhnikov@google.com>
34070 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34072 [cross-compiling] (extra-libs): Likewise.
34073 [cross-compiling] (extra-libs-others): Likewise.
34074 [cross-compiling] (librpcsvc-routines): Likewise.
34075 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34076 [cross-compiling] (omit-deps): Likewise.
34077 (sunrpc-CPPFLAGS): New variable.
34078 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34079 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34080 (cross-rpcgen-objs): New variable.
34081 (extra-objs): Append $(cross-rpcgen-objs).
34082 ($(cross-rpcgen-objs)): New rule.
34083 ($(objpfx)cross-rpcgen): Likewise.
34084 (rpcgen-cmd): Define to use $(built-program-file). Expand
34086 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
34087 ($(objpfx)x%.stmp): Likewise.
34088 * sunrpc/proto.h [IS_IN_build] (_): Define.
34089 [IS_IN_build] (_libc_intl_domainname): Likewise.
34091 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34093 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
34094 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
34095 and R_X86_64_TPOFF64.
34097 2012-05-10 Joseph Myers <joseph@codesourcery.com>
34099 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
34100 sysdeps/unix/sysv/syscalls.list.
34103 * sysdeps/unix/sysv/syscalls.list: Remove file.
34105 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
34108 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
34109 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
34110 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
34111 (__LC_IDENTIFICATION): Make these macros useful in #if
34112 expressions, as required by C99.
34114 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
34116 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
34117 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
34120 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
34122 * stdlib/longlong.h: Updated from GCC.
34124 2012-05-09 Andreas Jaeger <aj@suse.de>
34126 * nscd/nscd.c (run_modes): Make named enum, reorder so that
34127 default is first entry.
34128 (run_mode): Set type.
34129 (main): Remove informal message about syslog.
34130 (options): Fix typo.
34133 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
34136 (llrintf): Likewise.
34137 (llrint): Likewise.
34140 (nearbyint): Likewise.
34141 (nearbyintf): Likewise.
34143 2012-05-09 Andreas Jaeger <aj@suse.de>
34144 Pedro Alves <palves@redhat.com>
34146 * nscd/nscd.c (run_mode): Use enum.
34147 (main): Cleanup coding style issue.
34149 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
34150 Andreas Jaeger <aj@suse.de>
34152 * nscd/nscd.c (go_background): Replaced with...
34153 (run_mode): ... this.
34154 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
34155 (options): Add -F --foreground.
34156 (main): Implement it.
34157 (parse_opt): Parse it.
34159 2012-05-09 Andreas Jaeger <aj@suse.de>
34162 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
34163 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
34164 -Wconversion warning.
34165 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
34168 2012-05-09 Joseph Myers <joseph@codesourcery.com>
34170 * conform/data/locale.h-data (NULL): Use macro-constant. Require
34172 (LC_ALL): Use macro-int-constant.
34173 (LC_COLLATE): Likewise.
34174 (LC_CTYPE): Likewise.
34175 (LC_MESSAGES): Likewise.
34176 (LC_MONETARY): Likewise.
34177 (LC_NUMERIC): Likewise.
34178 (LC_TIME): Likewise.
34179 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
34180 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34181 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34182 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
34184 [C99-based standards] (float_t): Expect type.
34185 [C99-based standards] (double_t): Expect type.
34186 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
34188 [C99-based standards] (HUGE_VALL): Likewise.
34189 [C99-based standards] (INFINITY): Likewise.
34190 [C99-based standards] (NAN): Likewise.
34191 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34192 [C99-based standards] (FP_NAN): Likewise.
34193 [C99-based standards] (FP_NORMAL): Likewise.
34194 [C99-based standards] (FP_SUBNORMAL): Likewise.
34195 [C99-based standards] (FP_ZERO): Likewise.
34196 [C99-based standards] (FP_FAST_FMA): Use
34197 optional-macro-int-constant. Specify type. Require == 1.
34198 [C99-based standards] (FP_FAST_FMAF): Likewise.
34199 [C99-based standards] (FP_FAST_FMAL): Likewise.
34200 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34201 [C99-based standards] (FP_ILOGBNAN): Likewise.
34202 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
34204 [C99-based standards] (MATH_ERREXCEPT): Likewise.
34205 [C99-based standards] (math_errhandling): Specify type.
34206 [ISO99 || ISO11] (signgam): Do not allow.
34207 [non-C99-based standards] (copysignf): Do not allow.
34208 [non-C99-based standards] (exp2f): Likewise.
34209 [non-C99-based standards] (log2f): Likewise.
34210 [non-C99-based standards] (modff): Allow.
34211 [non-C99-based standards] (erff): Do not allow.
34212 [non-C99-based standards] (erfcf): Likewise.
34213 [non-C99-based standards] (gammaf): Likewise.
34214 [non-C99-based standards] (hypotf): Likewise.
34215 [non-C99-based standards] (j0f): Likewise.
34216 [non-C99-based standards] (j1f): Likewise.
34217 [non-C99-based standards] (jnf): Likewise.
34218 [non-C99-based standards] (lgammaf): Likewise.
34219 [non-C99-based standards] (tgammaf): Likewise.
34220 [non-C99-based standards] (y0f): Likewise.
34221 [non-C99-based standards] (y1f): Likewise.
34222 [non-C99-based standards] (ynf): Likewise.
34223 [non-C99-based standards] (isnanf): Likewise.
34224 [non-C99-based standards] (acoshf): Likewise.
34225 [non-C99-based standards] (asinhf): Likewise.
34226 [non-C99-based standards] (atanhf): Likewise.
34227 [non-C99-based standards] (cbrtf): Likewise.
34228 [non-C99-based standards] (expm1f): Likewise.
34229 [non-C99-based standards] (ilogbf): Likewise.
34230 [non-C99-based standards] (log1pf): Likewise.
34231 [non-C99-based standards] (logbf): Likewise.
34232 [non-C99-based standards] (nextafterf): Likewise.
34233 [non-C99-based standards] (remainderf): Likewise.
34234 [non-C99-based standards] (rintf): Likewise.
34235 [non-C99-based standards] (scalbf): Likewise.
34236 [non-C99-based standards] (copysignl): Likewise.
34237 [non-C99-based standards] (exp2l): Likewise.
34238 [non-C99-based standards] (log2l): Likewise.
34239 [non-C99-based standards] (modfl): Allow.
34240 [non-C99-based standards] (erfl): Do not allow.
34241 [non-C99-based standards] (erfcl): Likewise.
34242 [non-C99-based standards] (gammal): Likewise.
34243 [non-C99-based standards] (hypotl): Likewise.
34244 [non-C99-based standards] (j0l): Likewise.
34245 [non-C99-based standards] (j1l): Likewise.
34246 [non-C99-based standards] (jnl): Likewise.
34247 [non-C99-based standards] (lgammal): Likewise.
34248 [non-C99-based standards] (tgammal): Likewise.
34249 [non-C99-based standards] (y0l): Likewise.
34250 [non-C99-based standards] (y1l): Likewise.
34251 [non-C99-based standards] (ynl): Likewise.
34252 [non-C99-based standards] (isnanl): Likewise.
34253 [non-C99-based standards] (acoshl): Likewise.
34254 [non-C99-based standards] (asinhl): Likewise.
34255 [non-C99-based standards] (atanhl): Likewise.
34256 [non-C99-based standards] (cbrtl): Likewise.
34257 [non-C99-based standards] (expm1l): Likewise.
34258 [non-C99-based standards] (ilogbl): Likewise.
34259 [non-C99-based standards] (log1pl): Likewise.
34260 [non-C99-based standards] (logbl): Likewise.
34261 [non-C99-based standards] (nextafterl): Likewise.
34262 [non-C99-based standards] (remainderl): Likewise.
34263 [non-C99-based standards] (rintl): Likewise.
34264 [non-C99-based standards] (scalbl): Likewise.
34265 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34266 [non-C99-based standards] (FP_*): Do not allow.
34267 [C99-based standards] (FP_*): Change to
34268 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34269 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34271 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
34272 (SIG_ERR): Likewise.
34273 [X/Open-based standards] (SIG_HOLD): Likewise.
34274 (SIG_IGN): Likewise.
34275 (SIGABRT): Use macro-int-constant. Specify type. Require
34277 (SIGFPE): Likewise.
34278 (SIGILL): Likewise.
34279 (SIGINT): Likewise.
34280 (SIGSEGV): Likewise.
34281 (SIGTER): Likewise.
34282 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
34283 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
34284 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
34285 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
34286 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
34287 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
34288 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
34289 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
34290 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
34291 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
34292 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
34293 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
34294 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
34295 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
34296 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
34297 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
34298 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
34299 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
34300 [X/Open-based standards] (SIGTRAP): Likewise.
34301 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
34302 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
34303 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
34304 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
34305 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34308 2012-05-08 Ian Wienand <ianw@vmware.com>
34311 * time/tzset.c (__tzset_parse_tz): Update default rules for
34312 daylight time changes in the Energy Policy Act of 2005.
34314 2012-05-09 Andreas Jaeger <aj@suse.de>
34317 * elf/ldconfig.c (parse_conf): Change string to make clear that
34318 ldconfig only issued a warning if ld.so.conf does not exist.
34320 2012-05-08 David S. Miller <davem@davemloft.net>
34322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
34323 movxtod instead of popping the value on the stack.
34325 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34327 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
34329 * config.h.in: Add HAVE_ARM_PCS_VFP.
34331 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
34334 * include/features.h: Warn if user requests __FORTIFY_SOURCE
34335 checking but the checks are disabled for any reason.
34337 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
34339 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
34340 and ELF64_R_TYPE with ELFW(R_TYPE).
34342 2012-05-08 Joseph Myers <joseph@codesourcery.com>
34344 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
34345 (ulimit): Likewise.
34347 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
34348 (settimeofday): Likewise.
34350 2012-05-08 Mike Frysinger <vapier@gentoo.org>
34352 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
34353 a struct th_u2 inside the union, and move tu_block/tu_code into
34354 a new th_u3 union of tu_block/tu_code inside of that. Move
34355 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
34356 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
34357 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
34358 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
34359 (th_stuff): Change to th_u1.tu_stuff.
34361 (th_msg): Change to th_u1.th_u2.tu_data.
34363 2012-05-07 David S. Miller <davem@davemloft.net>
34365 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34368 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
34369 (SETUP_PIC_REG): Use it.
34370 (SETUP_PIC_REG_LEAF): Use it.
34372 2012-05-07 Joseph Myers <joseph@codesourcery.com>
34376 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34378 (EXPL_FINITE): Likewise.
34379 (FLDLOG): Likewise.
34380 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34381 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34383 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34385 (EXPL_FINITE): Likewise.
34386 (FLDLOG): Likewise.
34387 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34388 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34390 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
34391 test of -max_value argument for long double.
34392 * sysdeps/i386/fpu/libm-test-ulps: Update.
34393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34395 2012-05-06 David S. Miller <davem@davemloft.net>
34397 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
34398 quad soft-float symbols whose references which are compiler
34400 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34402 2012-05-06 Joseph Myers <joseph@codesourcery.com>
34406 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34408 (EXPL_FINITE): Likewise.
34409 (FLDLOG): Likewise.
34412 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34413 Adjust comments for base varying.
34414 (__expl_finite): Change alias to EXPL_FINITE.
34415 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
34417 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
34418 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34419 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34420 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
34421 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34423 (EXPL_FINITE): Likewise.
34424 (FLDLOG): Likewise.
34427 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34428 Adjust comments for base varying.
34429 (__expl_finite): Change alias to EXPL_FINITE.
34430 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
34432 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34435 * math/libm-test.inc (check_float_internal): Correct ulp
34436 calculation for subnormal expected results.
34438 2012-05-06 Andreas Jaeger <aj@suse.de>
34440 * Makeconfig (+math-flags): New, set to -frounding-math.
34441 (+cflags): Add +math-flags so that all of glibc gets compiled with
34444 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
34446 2012-05-05 Joseph Myers <joseph@codesourcery.com>
34448 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
34454 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
34455 (__ieee754_expl): Allow for and saturate large arguments.
34456 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
34457 (u_threshold): Likewise.
34458 (__exp): Call __ieee754_exp before checking for overflow and
34460 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
34461 (u_threshold): Likewise.
34462 (__expf): Call __ieee754_expf before checking for overflow and
34464 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
34465 (u_threshold): Likewise.
34466 (__expl): Call __ieee754_expl before checking for overflow and
34468 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
34469 (__ieee754_expl): Allow for and saturate large arguments.
34470 * math/libm-test.inc (exp_test): Add another test. Do not allow
34471 missing overflow exception on overflow.
34472 (expm1_test): Do not allow missing overflow exception on overflow.
34474 * sysdeps/i386/fpu/e_expl.c: Move to ...
34475 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
34476 rather than using inline asm.
34477 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
34478 * sysdeps/x86_64/fpu/e_expl.S: Copy from
34479 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
34481 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
34484 (signal): Likewise.
34488 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34490 * sysdeps/unix/syscalls.list (adjtime): Add entry from
34491 sysdeps/unix/common/syscalls.list.
34492 (fchmod): Likewise.
34493 (fchown): Likewise.
34494 (ftruncate): Likewise.
34495 (getrusage): Likewise.
34496 (gettimeofday): Likewise.
34497 (setpgid): Likewise.
34498 (setregid): Likewise.
34499 (setreuid): Likewise.
34500 (sigaction): Likewise.
34501 (truncate): Likewise.
34502 (vhangup): Likewise.
34503 * sysdeps/unix/common/syscalls.list: Remove file.
34504 * sysdeps/unix/bsd/Implies: Don't include unix/common.
34505 * sysdeps/unix/sysv/linux/Implies: Likewise.
34507 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
34509 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
34510 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
34511 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
34513 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34515 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
34517 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
34518 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
34520 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
34521 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
34523 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
34524 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
34526 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
34527 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
34529 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
34530 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
34532 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
34533 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
34535 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34537 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
34539 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
34541 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
34543 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
34544 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
34546 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
34548 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
34550 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
34552 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34554 * sysdeps/unix/common/bits/dirent.h: Remove file.
34555 * sysdeps/unix/common/bits/fcntl.h: Likewise.
34557 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
34558 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
34559 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
34560 * sysdeps/unix/bsd/isatty.c: Likewise.
34561 * sysdeps/unix/bsd/tcdrain.c: Likewise.
34562 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
34563 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
34565 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34568 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
34569 long double comparison inaccuracies.
34570 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
34571 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34573 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
34575 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
34576 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
34578 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34581 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
34582 nonzero digits before rounding a hex value.
34583 * stdlib/tst-strtod.c (tests): Add another test.
34585 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34587 * sysdeps/s390/fpu/libm-test-ulps: Update.
34589 2012-05-03 Andreas Jaeger <aj@suse.de>
34591 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
34592 does not get optimized out.
34593 (malloc_opt_barrier): New.
34595 2012-05-03 Andreas Jaeger <aj@suse.de>
34596 Roland McGrath <roland@hack.frob.com>
34598 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
34599 intermediate file deletion.
34600 (generated): Add .symlist files.
34602 2012-05-03 Joseph Myers <joseph@codesourcery.com>
34605 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
34606 Redirect under this condition.
34607 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34608 [__USE_GNU] (__dprintf_chk): Not under this condition.
34609 [__USE_GNU] (__vdprintf_chk): Likewise.
34610 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
34611 under this condition.
34612 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34613 [__USE_XOPEN2K8] (dprintf): Define under this condition.
34614 [__USE_XOPEN2K8] (vdprintf): Likewise.
34615 [__USE_GNU] (__dprintf_chk): Not under this condition.
34616 [__USE_GNU] (__vdprintf_chk): Likewise.
34617 [__USE_GNU] (dprintf): Likewise.
34618 [__USE_GNU] (vdprintf): Likewise.
34620 2012-05-03 Roland McGrath <roland@hack.frob.com>
34622 * elf/Makefile (common-generated): Set this instead of generated for
34623 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
34624 $(all-built-dso)-derived lists.
34626 2012-05-03 Andreas Jaeger <aj@suse.de>
34628 * sysdeps/i386/fpu/libm-test-ulps: Update.
34631 * FAQ.in: Likewise.
34632 * scripts/gen-FAQ.pl: Likewise.
34633 * manual/install.texi (Installation): Point to online location of
34635 * Makefile (files-for-dist): Remove FAQ.
34638 2012-05-02 Allan McRae <allan@archlinux.org>
34640 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
34641 (LDFLAGS-reldepmod5.so): Likewise.
34642 (LDFLAGS-reldep6mod1.so): Likewise.
34643 (LDFLAGS-reldep6mod4.so): Likewise.
34644 (LDFLAGS-reldep8mod3.so): Likewise.
34645 (LDFLAGS-unload4mod1.so): Likewise.
34646 (LDFLAGS-unload4mod2.so): Likewise.
34647 (LDFLAGS-tst-initorder): Likewise.
34648 (LDFLAGS-tst-initordera2.so): Likewise.
34649 (LDFLAGS-tst-initordera3.so): Likewise.
34650 (LDFLAGS-tst-initordera4.so): Likewise.
34651 (LDFLAGS-tst-initorderb2.so): Likewise.
34652 (LDFLAGS-noload): Likewise.
34653 (LDFLAGS-next): Likewise.
34654 (LDFLAGS-order2mod1.so): Likewise.
34655 (LDFLAGS-order2mod2.so): Likewise.
34656 (LDFLAGS-tst-initorder2): Likewise.
34657 (LDFLAGS-tst-initorder2a.so): Likewise.
34658 (LDFLAGS-tst-initorder2b.so): Likewise.
34659 (LDFLAGS-tst-initorder2c.so): Likewise.
34660 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
34662 2012-05-02 David S. Miller <davem@davemloft.net>
34664 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34666 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
34669 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
34671 2012-05-02 Andreas Jaeger <aj@suse.de>
34673 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
34674 since we manipulate rounding mode.
34675 (CPPFLAGS-test-idouble.c): Likewise.
34676 (CPPFLAGS-test-ifloat.c): Likewise.
34677 (CFLAGS-test-ldouble.c): Likewise.
34678 (CFLAGS-test-double.c): Likewise.
34679 (CFLAGS-test-float.c): Likewise.
34680 (CFLAGS-test-misc.c): Likewise.
34681 (CFLAGS-test-test-fenv.c): Likewise.
34683 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34687 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
34688 comparisons to determine direction to adjust input.
34690 2012-05-01 Roland McGrath <roland@hack.frob.com>
34692 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
34693 output to the target.
34695 * scripts/localplt.awk: New file.
34696 * elf/Makefile ($(objpfx)check-localplt): Target removed.
34697 (check-localplt-CFLAGS): Variable removed.
34698 ($(all-built-dso:=.jmprel)): New static pattern rule.
34699 (generated): Add those targets.
34700 (localplt-built-dso): New variable.
34701 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
34703 * elf/check-localplt.c: File removed.
34705 * scripts/check-execstack.awk: New file.
34706 * elf/Makefile ($(objpfx)check-execstack): Target removed.
34707 (check-execstack-CFLAGS): Variable removed.
34708 ($(objpfx)check-execstack.h): Target removed.
34709 ($(objpfx)execstack-default): New target.
34710 (generated): Add that instead of check-execstack.h.
34711 ($(all-built-dso:=.phdr)): New static pattern rule.
34712 (generated): Add those targets.
34713 * elf/check-execstack.c: File removed.
34715 * scripts/check-textrel.awk: New file.
34716 * elf/Makefile ($(objpfx)check-textrel): Target removed.
34717 (check-textrel-CFLAGS): Variable removed.
34718 (all-built-dso): Use := to define.o
34719 ($(all-built-dso:=.dyn)): New static pattern rule.
34720 (generated): Add those targets.
34721 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
34722 * config.make.in (READELF): New substituted variable.
34723 * elf/check-textrel.c: File removed.
34725 2012-05-01 Joseph Myers <joseph@codesourcery.com>
34727 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34729 * conform/data/ctype.h-data [C99-based standards] (isblank):
34731 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
34732 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
34733 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34734 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
34735 Specify type. Require positive value.
34736 (EILSEQ): Likewise.
34737 (ERANGE): Likewise.
34738 [ISO || POSIX] (EILSEQ): Do not expect.
34739 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
34740 Specify type. Require positive value.
34741 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
34742 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
34743 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
34744 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
34745 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
34746 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
34747 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
34748 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
34749 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
34750 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
34751 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
34752 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
34753 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
34754 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
34755 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
34756 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
34757 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
34758 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
34759 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
34760 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
34761 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
34762 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
34763 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
34764 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
34765 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
34766 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
34767 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
34768 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
34769 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
34770 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
34771 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
34772 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
34773 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
34774 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
34775 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
34776 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
34777 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
34778 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
34779 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
34780 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
34781 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
34782 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
34783 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
34784 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
34785 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
34786 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
34787 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
34788 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
34789 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
34790 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
34791 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
34792 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
34793 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
34794 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
34795 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
34796 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
34797 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
34798 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
34799 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
34800 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
34801 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
34802 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
34803 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
34804 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
34805 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
34806 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
34807 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
34808 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
34809 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
34810 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
34811 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
34812 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
34813 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
34814 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
34815 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
34816 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
34817 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
34819 (FLT_ROUNDS): Expect as macro, not constant.
34820 (FLT_MANT_DIG): Use macro-int-constant.
34821 (DBL_MANT_DIG): Likewise.
34822 (LDBL_MANT_DIG): Likewise.
34823 (FLT_DIG): Likewise.
34824 (DBL_DIG): Likewise.
34825 (LDBL_DIG): Likewise.
34826 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
34827 (DBL_MIN_EXP): Likewise.
34828 (LDBL_MIN_EXP): Likewise.
34829 (FLT_MAX_EXP): Use macro-int-constant.
34830 (DBL_MAX_EXP): Likewise.
34831 (LDBL_MAX_EXP): Likewise.
34832 (FLT_MAX_10_EXP): Likewise.
34833 (DBL_MAX_10_EXP): Likewise.
34834 (LDBL_MAX_10_EXP): Likewise.
34835 (FLT_MAX): Use macro-constant.
34836 (DBL_MAX): Likewise.
34837 (LDBL_MAX): Likewise.
34838 (FLT_EPSILON): Use macro-constant. Give upper bound.
34839 (DBL_EPSILON): Likewise.
34840 (LDBL_EPSILON): Likewise.
34841 (FLT_MIN): Likewise.
34842 (DBL_MIN): Likewise.
34843 (LDBL_MIN): Likewise.
34844 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
34845 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
34846 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
34847 [ISO11] (FLT_HAS_SUBNORM): Likewise.
34848 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
34849 [ISO11] (DBL_DECIMAL_DIG): Likewise.
34850 [ISO11] (FLT_DECIMAL_DIG): Likewise.
34851 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
34852 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
34853 [ISO11] (FLT_TRUE_MIN): Likewise.
34854 [ISO11] (LDBL_TRUE_MIN): Likewise.
34855 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34856 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
34857 (SCHAR_MIN): Use macro-int-constant. Specify type.
34858 (SCHAR_MAX): Likewise.
34859 (UCHAR_MAX): Likewise.
34860 (CHAR_MIN): Likewise.
34861 (CHAR_MAX): Likewise.
34862 (MB_LEN_MAX): Use macro-int-constant.
34863 (SHRT_MIN): Use macro-int-constant. Specify type.
34864 (SHRT_MAX): Likewise.
34865 (USHRT_MAX): Likewise.
34866 (INT_MAX): Likewise.
34867 (INT_MIN): Use macro-int-constant. Specify type. Make upper
34869 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
34871 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34873 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
34874 bound negative. Suffix upper bound with "L".
34875 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34877 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
34879 [C99-based standards] (LLONG_MAX): Likewise.
34880 [C99-based standards] (ULLONG_MAX): Likewise.
34881 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
34883 [ISO11] (max_align_t): Require type.
34884 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34886 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
34887 from $CFLAGS, without defining away __attribute__ calls.
34888 (checknamespace): Use $CFLAGS_namespace.
34890 * conform/conformtest.pl (@keywords): Only include C99 keywords
34891 for standards based on C99 or C11.
34893 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
34895 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
34898 * conform/conformtest.pl: Handle "macro-int-constant" and test for
34899 usability of symbols in #if.
34901 * conform/conformtest.pl: If macro or constant types start
34902 "promoted:", expect the symbol to be of the following type
34903 promoted by the integer promotions.
34905 * conform/conformtest.pl: Parse all "constant" and "macro" lines
34906 in one place. Also handle "macro-constant".
34908 * conform/conformtest.pl: Only accept expected macro values with
34909 "==". Parse all "macro" lines in one place.
34910 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
34912 * conform/conformtest.pl: Handle braced types on "constant" lines
34913 instead of handling "typed-constant".
34914 * conform/data/signal.h-data: Use "constant" instead of
34917 * conform/conformtest.pl: Handle "optional-" at start of lines in
34918 one place rather than duplicating several cases. Handle each
34919 format of "macro" line with initial "optional-".
34921 * conform/conformtest.pl: Only accept expected constant or
34922 optional-constant values with "==". Parse all "constant" lines in
34923 one place. Parse all "optional-constant" lines in one place.
34924 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
34925 * conform/data/fmtmsg.h-data: Likewise.
34926 * conform/data/netinet/in.h-data: Likewise.
34927 * conform/data/tar.h-data: Likewise.
34928 * conform/data/limits.h-data: Use "==" form on "constant" and
34929 "optional-constant" lines.
34931 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
34932 Use -std=c99 for XOPEN2K.
34933 (@knownproblems): Remove.
34934 (newtoken): Don't check %isknown.
34936 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
34937 Do not expect macro.
34938 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
34939 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
34940 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
34941 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
34942 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
34943 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
34944 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
34945 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
34946 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
34947 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34948 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
34949 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
34950 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
34951 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34952 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
34953 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
34954 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
34955 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
34956 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
34957 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
34958 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
34959 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
34960 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
34961 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
34962 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
34963 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
34964 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
34965 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
34966 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
34967 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
34968 [XPG3] (acosh): Likewise.
34969 [XPG3] (asinh): Likewise.
34970 [XPG3] (atanh): Likewise.
34971 [XPG3] (cbrt): Likewise.
34972 [XPG3] (expm1): Likewise.
34973 [XPG3] (ilogb): Likewise.
34974 [XPG3] (log1p): Likewise.
34975 [XPG3] (logb): Likewise.
34976 [XPG3] (nextafter): Likewise.
34977 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
34978 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
34979 [XPG3] (remainder): Likewise.
34980 [XPG3] (rint): Likewise.
34981 [XPG3 || XPG4 || UNIX98] (round): Likewise.
34982 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
34983 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
34984 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
34985 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
34986 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
34987 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
34988 [UNIX98 || XOPEN2K] (scalb): Expect.
34989 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
34990 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
34991 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
34992 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
34993 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
34994 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
34995 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
34996 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
34997 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
34998 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
34999 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35000 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35001 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35002 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35003 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35004 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35005 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35006 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35007 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35008 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35009 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35010 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35011 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35012 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35013 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35014 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35015 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35016 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35017 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35018 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35019 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35020 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35021 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35022 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35023 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35024 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35025 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35026 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35027 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35028 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35029 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35030 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35031 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35032 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35033 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35034 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35035 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35036 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35037 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35038 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35039 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35040 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35041 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35042 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35043 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35044 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35045 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35046 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35047 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35048 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35049 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35050 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35051 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35052 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35053 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35054 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35055 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35056 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35057 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35058 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35059 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35060 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35061 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35062 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35063 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35064 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35065 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35066 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35067 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35068 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35069 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35070 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35071 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35072 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35073 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35074 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35075 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35076 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35077 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35078 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35079 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35080 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35081 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35082 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35083 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
35084 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
35085 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
35086 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
35087 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
35088 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
35089 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
35090 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
35091 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
35092 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
35093 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
35094 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
35095 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
35096 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
35097 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
35098 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
35099 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
35100 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
35101 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
35102 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
35103 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
35104 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
35105 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
35106 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
35107 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
35108 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
35109 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
35110 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
35111 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
35112 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
35113 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
35114 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
35115 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
35116 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
35117 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
35118 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
35119 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
35120 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
35121 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
35122 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
35123 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
35124 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
35125 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
35127 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
35128 _XOPEN_SOURCE_EXTENDED for XPG4.
35130 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
35132 * Makeconfig (localtime): Remove variable.
35133 (inst_localtime-file): Likewise.
35135 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
35149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
35153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35156 2012-05-01 Joseph Myers <joseph@codesourcery.com>
35160 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
35161 comparisons to determine direction to adjust input.
35162 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35163 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
35164 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35166 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35168 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35170 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35171 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35173 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35175 * math/libm-test.inc (nexttoward_test): Add more tests.
35177 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35180 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
35181 in version GLIBC_2.1, not GLIBC_2.0.
35182 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
35185 2012-04-30 Joseph Myers <joseph@codesourcery.com>
35188 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
35190 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35191 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
35192 * math/libm-test.inc (acos_test): Add more tests.
35193 (asin_test): Likewise.
35194 * sysdeps/i386/fpu/libm-test-ulps: Update.
35195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35198 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
35200 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
35201 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35202 * math/libm-test.inc (acos_test_tonearest): New function.
35203 (acos_test_towardzero): Likewise.
35204 (acos_test_downward): Likewise.
35205 (acos_test_upward): Likewise.
35206 (asin_test_tonearest): Likewise.
35207 (asin_test_towardzero): Likewise.
35208 (asin_test_downward): Likewise.
35209 (asin_test_upward): Likewise.
35210 (main): Call the new functions.
35211 * sysdeps/i386/fpu/libm-test-ulps: Update.
35212 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35216 * math/e_exp10.c: Include <float.h>.
35217 (__ieee754_exp10): Handle underflow here rather than multiplying
35218 large negative argument by M_LN10.
35219 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
35221 * math/e_exp10l.c: Include <float.h>.
35222 (__ieee754_exp10l): Handle underflow here rather than multiplying
35223 large negative argument by M_LN10l.
35224 * math/libm-test.inc (exp10_test): Add another test. Do not allow
35225 spurious overflow exception on underflow.
35227 2012-04-29 Marek Polacek <polacek@redhat.com>
35229 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
35230 (__fortify_function): New macro.
35231 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
35232 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
35233 __extern_always_inline.
35234 * libio/bits/stdio2.h: Likewise.
35235 * libio/bits/stdio.h: Likewise.
35236 * string/string.h: Likewise.
35237 * string/bits/string3.h: Likewise.
35238 * include/stdio.h: Likewise.
35239 * stdlib/bits/stdlib.h: Likewise.
35240 * stdlib/stdlib.h: Likewise.
35241 * rt/bits/mqueue2.h: Likewise.
35242 * rt/mqueue.h: Likewise.
35243 * posix/bits/unistd.h: Likewise.
35244 * posix/unistd.h: Likewise.
35245 * io/bits/poll2.h: Likewise.
35246 * io/bits/fcntl2.h: Likewise.
35247 * io/fcntl.h: Likewise.
35248 * io/sys/poll.h: Likewise.
35249 * misc/bits/syslog.h: Likewise.
35250 * misc/bits/syslog-ldbl.h: Likewise.
35251 * misc/sys/syslog.h: Likewise.
35252 * socket/bits/socket2.h: Likewise.
35253 * socket/sys/socket.h: Likewise.
35254 * debug/tst-chk1.c: Likewise.
35255 * wcsmbs/bits/wchar2.h: Likewise.
35256 * wcsmbs/bits/wchar-ldbl.h: Likewise.
35257 * wcsmbs/wchar.h: Likewise.
35259 2012-04-29 Andreas Jaeger <aj@suse.de>
35261 * Makerules (tests): Remove enable-check-abi protection.
35262 (check-abi-warn): Remove.
35263 (check-abi-%): Remove check-abi-warn usage.
35265 * configure.in: Remove check-abi configure option.
35266 * configure: Regenerated.
35267 * config.make.in (enable-check-abi): Remove.
35269 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
35272 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
35273 double functions to double *_finite functions.
35276 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
35277 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
35279 * stdio-common/Makefile (tests): Add tst-sprintf3.
35280 * stdio-common/tst-sprintf3.c: New file.
35282 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
35283 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
35285 2012-04-28 Joseph Myers <joseph@codesourcery.com>
35287 * conform/conformtest.pl: Remove duplicate typed-constant
35290 2012-04-28 David S. Miller <davem@davemloft.net>
35292 * Makerules (%.abilist): Add vpath on sysdep_dirs.
35293 (check-abi-%): Remove AWK script prerequisite and explicit
35295 (check-abi): Rewrite to just diff the symlist with the abilist.
35296 (config-tls, config-abi-config): Delete, no longer used.
35297 (update-abi-%): Remove AWK script and explicit abilist directory.
35298 (update-abi): Rewrite to simply compare and conditionally copy the
35299 symlist and the sysdep abilist file. Remove update-abi-config
35301 * abilist/ld.abilist: Remove.
35302 * abilist/libBrokenLocale.abilist: Remove.
35303 * abilist/libanl.abilist: Remove.
35304 * abilist/libcrypt.abilist: Remove.
35305 * abilist/libdl.abilist: Remove.
35306 * abilist/librt.abilist: Remove.
35307 * abilist/libthread_db.abilist: Remove.
35308 * abilist/libutil.abilist: Remove.
35309 * scripts/extract-abilist.awk: Remove.
35310 * scripts/merge-abilist.awk: Remove.
35311 * sysdeps/generic/libcidn.abilist: New file.
35312 * sysdeps/generic/libnss_compat.abilist: New file.
35313 * sysdeps/generic/libnss_db.abilist: New file.
35314 * sysdeps/generic/libnss_dns.abilist: New file.
35315 * sysdeps/generic/libnss_files.abilist: New file.
35316 * sysdeps/generic/libnss_hesiod.abilist: New file.
35317 * sysdeps/generic/libnss_nis.abilist: New file.
35318 * sysdeps/generic/libnss_nisplus.abilist: New file.
35319 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
35320 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
35321 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
35323 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
35324 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
35325 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
35326 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
35327 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
35328 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
35329 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
35330 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
35331 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
35333 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
35334 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
35335 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
35336 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
35338 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
35339 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
35340 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
35341 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
35342 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
35343 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
35345 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
35346 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
35347 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
35349 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
35350 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
35352 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
35354 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
35356 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
35358 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
35360 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
35362 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
35364 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
35366 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
35368 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
35370 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
35372 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
35374 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
35376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
35378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
35384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
35390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
35403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
35405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
35409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
35411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
35413 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
35415 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
35417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
35421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
35423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
35427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
35428 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
35430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
35434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
35436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
35438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
35440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
35442 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
35446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
35448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
35452 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35453 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
35454 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
35456 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
35457 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
35458 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
35459 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
35460 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
35461 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
35462 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
35463 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
35464 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
35465 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
35466 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
35467 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
35469 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35471 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
35473 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
35475 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
35477 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
35479 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
35481 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35483 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35485 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
35487 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35489 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
35491 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
35492 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
35494 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35496 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
35498 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
35500 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
35502 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
35504 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
35506 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35508 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35510 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
35512 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35514 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
35517 2012-04-28 Joseph Myers <joseph@codesourcery.com>
35519 * conform/conformtest.pl: Fix typo in handling typed-constant from
35522 2012-04-27 Joseph Myers <joseph@codesourcery.com>
35524 * README: Cut down references to pre-2.6 Linux kernels and
35525 Linuxthreads. Update lists of configurations in libc and ports
35526 and sort alphabetically. Say "or newer" with Linux kernel version
35529 * config.h.in [IS_IN_build]: Allow compiling without optimization.
35531 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35534 * math/libm-test.inc (logb_test_downward): New test to expose
35535 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
35538 2012-04-27 Joseph Myers <joseph@codesourcery.com>
35541 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
35543 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
35544 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
35546 2012-04-26 Joseph Myers <joseph@codesourcery.com>
35548 * sysdeps/unix/i386/brk.S: Remove file.
35549 * sysdeps/unix/i386/dl-brk.S: Likewise.
35550 * sysdeps/unix/i386/pipe.S: Likewise.
35551 * sysdeps/unix/i386/sigreturn.S: Likewise.
35552 * sysdeps/unix/i386/syscall.S: Likewise.
35553 * sysdeps/unix/i386/vfork.S: Likewise.
35554 * sysdeps/unix/i386/wait.S: Likewise.
35556 * sysdeps/unix/common/tcsendbrk.c: Move to ...
35557 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
35559 * configure.in (arm*-none*): Do not allow without
35560 --enable-hacker-mode.
35561 (netbsd*): Remove case setting base_os.
35562 (386bsd*): Likewise.
35563 (freebsd*): Likewise.
35566 (sunos*): Likewise.
35567 (ultrix*): Likewise.
35568 (newsos*): Likewise.
35569 (dynix*): Likewise.
35575 (minix*): Likewise.
35576 (irix4*): Likewise.
35577 (irix6*): Likewise.
35578 (solaris[2-9]*): Likewise.
35580 * configure: Regenerated.
35582 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35585 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
35586 overflow or cancellation in calculating denominator.
35587 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
35588 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
35589 down expression to avoid unexpected rounding in newer GCCs.
35590 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
35592 2012-04-26 David S. Miller <davem@davemloft.net>
35594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
35595 long-double compat symbols.
35596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
35600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
35602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
35603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
35604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
35605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
35606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
35607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
35608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35610 2012-04-25 David S. Miller <davem@davemloft.net>
35612 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
35613 HWCAP_* values only after the memory barriers have been defined.
35614 (atomic_full_barrier): Define.
35615 (atomic_read_barrier): Define.
35616 (atomic_write_barrier): Define.
35618 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35620 * shlib-versions: Add libgcc_s version information.
35621 * sysdeps/generic/libgcc_s.h: Remove.
35622 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
35624 * sysdeps/gnu/unwind-resume.c: Likewise.
35625 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
35627 2012-04-25 David S. Miller <davem@davemloft.net>
35629 * sysdeps/unix/sparc/brk.S: Delete.
35630 * sysdeps/unix/sparc/dl-brk.S: Delete.
35631 * sysdeps/unix/sparc/pipe.S: Delete.
35632 * sysdeps/unix/sparc/sysdep.S: Delete.
35633 * sysdeps/unix/sparc/sysdep.h: Delete.
35634 * sysdeps/unix/sparc/vfork.S: Delete.
35635 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
35636 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
35637 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
35638 (ret_ERRVAL, r0, r1, MOVE): Define.
35639 (JUMPTARGET): Remove.
35640 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
35641 sysdeps/unix/sparc/sysdep.h
35642 (ENTRY, END): Remove.
35643 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35645 2012-04-25 Joseph Myers <joseph@codesourcery.com>
35647 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
35648 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
35651 * timezone/README: Update upstream location and email address for
35653 * timezone/zdump.c: Update from tzcode 2012b.
35654 * timezone/zic.c: Likewise.
35656 * configure.in (libc_cv_as_needed): Remove test.
35657 * configure: Regenerated.
35658 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
35659 conditional definition.
35660 [$(have-as-needed) != yes] (no-as-needed): Likewise.
35661 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
35662 * config.make.in (have-as-needed): Remove variable.
35664 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35665 Paul Pluzhnikov <ppluzhnikov@google.com>
35667 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
35670 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
35672 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
35673 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
35674 * sysdeps/sh/strlen.S: Likewise.
35676 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35678 * sysdeps/unix/fork.S: Remove file.
35679 * sysdeps/unix/i386/fork.S: Likewise.
35680 * sysdeps/unix/sparc/fork.S: Likewise.
35682 * sysdeps/unix/system.c: Remove file.
35683 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
35685 * sysdeps/unix/getegid.S: Remove file.
35686 * sysdeps/unix/geteuid.S: Likewise.
35688 2012-04-24 Roland McGrath <roland@hack.frob.com>
35690 * scripts/check-localplt.awk: New file.
35691 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
35693 * scripts/data/localplt-generic.data: Add a comment.
35695 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
35696 NODE when __dir_mkfile failed.
35697 * sysdeps/mach/hurd/symlinkat.c: Likewise.
35698 Reported by Ludovic Courtès <ludo@gnu.org>.
35700 2012-04-24 Andreas Jaeger <aj@suse.de>
35702 * Makerules (common-clean): Also remove gen-as-const-headers
35705 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35707 * Makerules (native-compile): Do not change working directory for
35708 build. Use $(OUTPUT_OPTION) in command.
35709 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
35711 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35714 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
35715 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
35716 * math/libm-test.inc (floor_test): Add more tests.
35717 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
35719 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35721 * sysdeps/unix/getdents.c: Remove file.
35722 * sysdeps/unix/sysv/getdents.c: Likewise.
35723 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
35725 * sysdeps/unix/syscalls.list (madvise): Add syscall from
35726 sysdeps/unix/mman/syscalls.list.
35728 (mprotect): Likewise.
35730 (munmap): Likewise.
35731 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
35732 * sysdeps/unix/mman/syscalls.list: Remove.
35733 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
35735 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
35736 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
35737 * configure: Regenerated.
35738 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
35739 $(libgcc_s_suffix).
35740 * config.make.in (libgcc_s_suffix): Remove variable.
35742 2012-04-23 Joseph Myers <joseph@codesourcery.com>
35744 * sysdeps/unix/sysv/gethostname.c: Move to ...
35745 * sysdeps/posix/gethostname.c: ... here.
35747 * sysdeps/unix/execve.S: Remove file.
35749 * sysdeps/unix/_exit.S: Remove file.
35751 2012-04-23 Andreas Jaeger <aj@suse.de>
35754 * manual/Makefile: Remove make dist support, there's no
35755 need for a stand-alone documentation tar ball.
35756 (TEXI2DVI): Define always, it's not in Makeconfig.
35759 (edition): Removed.
35760 (glibc-doc-$(edition).tar): Removed
35764 (ETAGS): Remove, it's in Makeconfig.
35765 (move-if-change): Remove, it's in Makeconfig.
35767 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
35770 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
35771 (strtod, strtof, strtold, strtol, strtoul, strtoq)
35772 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
35773 (strtod_l, strtof_l, strtold_l): Remove __wur.
35774 It is not necessarily an error to ignore strtol's return value.
35775 One can reliably look at the stored endptr to decide whether
35776 the number had valid syntax.
35778 2012-04-21 Andreas Jaeger <aj@suse.de>
35781 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
35783 2012-04-21 Joseph Myers <joseph@codesourcery.com>
35785 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
35786 * sysdeps/unix/sysv/Versions: Remove file.
35788 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
35791 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35793 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
35796 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
35797 version from __vm86.
35799 2012-04-20 Joseph Myers <joseph@codesourcery.com>
35801 * sysdeps/unix/common/lxstat.c: Remove file.
35802 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
35804 * sysdeps/unix/sysv/Makefile: Remove file.
35806 * sysdeps/unix/sysv/direct.h: Remove file.
35808 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
35809 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
35810 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
35811 * sysdeps/unix/sysv/bits/signum.h: Likewise.
35812 * sysdeps/unix/sysv/bits/stat.h: Likewise.
35813 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
35814 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
35816 * sysdeps/unix/sysv/setrlimit.c: Remove file.
35818 * sysdeps/unix/xmknod.c: Remove file.
35819 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
35821 * sysdeps/unix/sysv/settimeofday.c: Remove file.
35823 * sysdeps/unix/sysv/i386/time.S: Remove file.
35825 * sysdeps/unix/fxstat.c: Remove file.
35826 * sysdeps/unix/xstat.c: Likewise.
35827 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
35829 * sysdeps/unix/sysv/sigaction.c: Remove file.
35831 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
35832 (sysdep_headers): Remove variable.
35833 [termio.h not in sysdep_headers] (generated): Likewise.
35834 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
35835 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
35836 * sysdeps/unix/sysv/tcdrain.c: Likewise.
35837 * sysdeps/unix/sysv/tcflow.c: Likewise.
35838 * sysdeps/unix/sysv/tcflush.c: Likewise.
35839 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
35840 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
35841 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
35842 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
35843 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
35845 * sysdeps/unix/siglist.c: Remove file.
35847 * sysdeps/unix/getppid.S: Remove file.
35849 * sysdeps/unix/mkdir.c: Remove file.
35850 * sysdeps/unix/rmdir.c: Likewise.
35852 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
35854 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
35856 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
35857 errlist-compat value.
35859 2012-04-18 David S. Miller <davem@davemloft.net>
35861 * sysdeps/generic/memcopy.h (reg_char): Delete.
35862 * debug/strcat_chk.c: Use char, not reg_char.
35863 * debug/strcpy_chk.c: Likewise.
35864 * debug/strncat_chk.c: Likewise.
35865 * debug/strncpy_chk.c: Likewise.
35866 * string/memchr.c: Likewise.
35867 * string/memrchr.c: Likewise.
35868 * string/rawmemchr.c: Likewise.
35869 * string/strcat.c: Likewise.
35870 * string/strchr.c: Likewise.
35871 * string/strchrnul.c: Likewise.
35872 * string/strcmp.c: Likewise.
35873 * string/strcpy.c: Likewise.
35874 * string/strncat.c: Likewise.
35875 * string/strncmp.c: Likewise.
35876 * string/strncpy.c: Likewise.
35878 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35880 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
35881 __builtin_memcopy is called when src and dest ranges are known to not
35884 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35886 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
35887 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
35888 fwd_align_merge macro call.
35889 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
35890 bwd_align_merge macro call.
35891 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35893 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35895 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
35896 bwd_align_merge macros.
35897 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
35898 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
35899 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35901 2012-04-18 David S. Miller <davem@davemloft.net>
35903 * sysdeps/sparc/sparc64/memcopy.h: Delete.
35905 2012-04-18 Andreas Jaeger <aj@suse.de>
35908 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
35909 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
35910 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35912 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
35913 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
35914 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35916 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
35917 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
35918 Adjust for changed ldbl-128 files.
35920 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
35921 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
35922 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35924 2012-04-17 David S. Miller <davem@davemloft.net>
35926 * sysdeps/sparc/sparc32/memcopy.h: Delete.
35928 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
35930 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
35931 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
35932 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
35933 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
35934 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35935 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
35937 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35940 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
35941 * math/libm-test.inc: Add ilogb errno and exception tests.
35942 * math/w_ilogb.c: New file: ilogb wrapper.
35943 * math/w_ilogbf.c: New file: ilogbf wrapper.
35944 * math/w_ilogbl.c: New file: ilogbl wrapper.
35945 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
35946 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
35947 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
35948 exception being thrown with 0.0 as argument.
35949 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
35950 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
35951 exception being thrown with 0.0 as argument.
35952 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
35953 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35954 exception being thrown with 0.0 as argument.
35955 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
35956 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35957 exception being thrown with 0.0 as argument.
35958 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
35959 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
35960 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
35961 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
35962 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
35963 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
35964 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
35965 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
35966 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
35968 2012-04-17 Petr Baudis <pasky@ucw.cz>
35970 * include/sys/uio.h: Change __vector to __iovec to avoid clash
35973 2012-04-16 Marek Polacek <polacek@redhat.com>
35975 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
35977 2012-04-16 Marek Polacek <polacek@redhat.com>
35979 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
35980 operands of fdivp instruction.
35982 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35984 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
35985 * elf/tst-auditmod3b.c: Likewise.
35986 * elf/tst-auditmod4b.c: Likewise.
35987 * elf/tst-auditmod5b.c: Likewise.
35988 * elf/tst-auditmod6b.c: Likewise.
35989 * elf/tst-auditmod6c.c: Likewise.
35990 * elf/tst-auditmod7b.c: Likewise.
35991 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
35992 * sysdeps/x86_64/preconfigure.in: Likewise.
35993 * sysdeps/x86_64/preconfigure: Regenerated.
35995 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35997 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36000 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
36002 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36003 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36005 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
36008 * locale/iso-639.def: Fix gl language name. Spotted by
36011 2012-04-12 Roland McGrath <roland@hack.frob.com>
36014 * libio/libio.h (__io_write_fn): Update comment.
36016 2012-04-12 Petr Baudis <pasky@ucw.cz>
36019 * stdio.texi (Hook Functions): The user provided writer function
36020 is not allowed to return -1.
36022 2012-04-11 David S. Miller <davem@davemloft.net>
36024 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36026 2012-04-11 Mike Frysinger <vapier@gentoo.org>
36028 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36029 Add a leading slash to rtkaio.
36031 2012-04-11 Jim Meyering <meyering@redhat.com>
36034 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36035 It is not necessarily an error to ignore fwrite's return
36036 value. One can reliably use ferror to test for errors after
36039 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36041 * bits/types.h (__snseconds_t): New type.
36042 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36044 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36045 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36046 (__SNSECONDS_T_TYPE): Likewise.
36047 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36048 (__SNSECONDS_T_TYPE): Likewise.
36049 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36050 (__SNSECONDS_T_TYPE): Likewise.
36052 2012-04-10 Andreas Jaeger <aj@suse.de>
36055 * manual/time.texi (Processor Time): Return type of times is
36056 elapsed real time since an arbitrary point in the past.
36057 (CPU Time): Move CLK_TCK from here...
36058 (Processor Time): ...to here. Correct description.
36059 * manual/conf.texi (Constants for Sysconf): Correct description of
36062 2012-04-10 David S. Miller <davem@davemloft.net>
36065 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36066 where the is a gap between DT_REL(A) and DT_JMPREL.
36068 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36070 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36071 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36072 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36074 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36076 * elf/dl-support.c (_dl_inhibit_cache): New variable.
36077 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36078 (dl_main): Handle --inhibit-cache.
36079 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36081 * elf/dl-load.c (_dl_map_object): Use it.
36082 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36084 2012-04-09 Joseph Myers <joseph@codesourcery.com>
36087 * sysdeps/i386/fpu/e_powl.S (p78): New object.
36088 (__ieee754_powl): Saturate large exponents rather than testing for
36089 overflow of y*log2(x).
36090 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36091 * math/libm-test.inc (pow_test): Do not permit spurious overflow
36095 * math/s_ctan.c: Include <float.h>.
36096 (__ctan): Avoid internal overflow or cancellation in calculating
36098 * math/s_ctanf.c: Likewise.
36099 * math/s_ctanl.c: Likewise.
36100 * math/s_ctanh.c: Likewise.
36101 * math/s_ctanhf.c: Likewise.
36102 * math/s_ctanhl.c: Likewise.
36103 * math/libm-test.inc (ctan_test): Add more tests.
36104 (ctanh_test): Likewise.
36105 * sysdeps/i386/fpu/libm-test-ulps: Update.
36106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36108 2012-04-09 Andreas Jaeger <aj@suse.de>
36111 * manual/filesys.texi (Directory Entries): Mention that d_namlen
36112 is an optional BSD extension.
36115 * manual/stdio.texi (Opening Streams): Document additional fopen
36118 2012-04-09 Roland McGrath <roland@hack.frob.com>
36120 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
36121 %eax without telling the compiler.
36123 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
36126 * manual/install.texi: Use sourceware.org.
36128 2012-04-09 Joseph Myers <joseph@codesourcery.com>
36131 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
36132 (__ieee754_pow): Generate overflow and underflow using huge*huge
36133 and tiny*tiny rather than just returning constant infinity or zero
36134 for large exponents.
36135 * math/libm-test.inc (pow_test): Require overflow exceptions for
36136 applicable cases of large exponents.
36139 * sysdeps/i386/fpu/e_pow.S (p10): New object.
36140 (__ieee754_pow): Use iterative multiplication algorithm only for
36141 integer exponents with absolute value below 1024. Check for odd
36142 integer exponents when using algorithm for real exponents.
36143 * math/libm-test.inc (pow_test): Add more tests.
36144 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36146 2012-04-08 Joseph Myers <joseph@codesourcery.com>
36149 * math/libm-test.inc (exp_test): Do not allow overflow exception
36152 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
36155 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
36156 instead of __kernel_standard_f.
36158 2012-04-08 Mike Frysinger <vapier@gentoo.org>
36160 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
36161 * sysdeps/x86_64/memset_chk.S: Likewise.
36163 2012-04-08 Andreas Jaeger <aj@suse.de>
36166 * manual/startup.texi (Environment Access): Describe return value
36167 for putenv and setenv.
36170 * manual/filesys.texi (Directory Entries): Add description for
36174 * manual/filesys.texi (Directory Entries): Clarify that it's file
36175 system not operating system in the description of DT_UNKNOWN.
36178 * manual/syslog.texi (closelog): Fix reference, it's openlog.
36180 2012-04-08 Stephen Compall <s11@member.fsf.org>
36183 * manual/llio.texi (Opening and Closing Files): Add cross
36184 reference to explain mode argument.
36186 2012-04-07 Mike Frysinger <vapier@gentoo.org>
36188 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
36189 * sysdeps/x86_64/memset_chk.S: Likewise.
36191 2012-04-07 David S. Miller <davem@davemloft.net>
36193 * elf/elf.h (R_SPARC_WDISP10): Define.
36194 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
36196 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
36197 R_SPARC_SIZE64 and R_SPARC_H34.
36199 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
36201 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
36202 conditions and remove no longer applicable assertion.
36204 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36206 * bits/byteswap.h: Include <features.h>.
36207 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36208 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36210 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36212 * bits/byteswap.h (__bswap_16): Removed.
36213 Include <bits/byteswap-16.h> to get __bswap_16.
36214 * sysdeps/i386/bits/byteswap.h: Likewise.
36215 * sysdeps/s390/bits/byteswap.h: Likewise.
36216 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36217 * bits/byteswap-16.h: New file.
36218 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36219 * sysdeps/s390/bits/byteswap-16.h: Likewise.
36220 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
36221 * string/Makefile (headers): Add bits/byteswap-16.h.
36223 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36226 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
36228 * nss/Makefile (tests-static, tests): Add tst-nss-static.
36229 * nss/tst-nss-static.c: New.
36231 2012-04-06 Robert Millan <rmh@gnu.org>
36234 * manual/llio.texi (File Position Primitive): lseek
36235 refers to WHENCE when it really means OFFSET.
36237 2012-04-06 Andreas Jaeger <aj@suse.de>
36239 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
36240 strncmp declarations.
36242 * abilist/libc.abilist: Add __poll and __ppoll.
36244 2012-04-05 David S. Miller <davem@davemloft.net>
36246 * scripts/check-local-headers.sh: Accept a host triplet in the
36247 path matched by the exclude regexp.
36249 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
36251 * sysdeps/powerpc/powerpc32/dl-machine.h
36252 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
36253 * sysdeps/s390/s390-32/dl-machine.h
36254 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36255 * sysdeps/sparc/sparc32/dl-machine.h
36256 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36257 * sysdeps/sparc/sparc64/dl-machine.h
36258 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36260 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
36262 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
36263 undefined symbol errors.
36265 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
36268 2012-04-05 Michael Matz <matz@suse.de>
36271 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
36273 2012-04-05 Andreas Jaeger <aj@suse.de>
36276 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
36279 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36281 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
36282 which ROUND is no valid rounding mode.
36284 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36286 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
36288 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
36290 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36292 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
36293 an exception using FPU order intentionally.
36295 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36297 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
36298 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
36299 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
36300 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
36302 2012-04-05 Simon Josefsson <simon@josefsson.org>
36305 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
36306 EINVAL when BUFLEN is too smal.
36308 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
36311 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
36312 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
36314 2012-04-03 Andreas Jaeger <aj@suse.de>
36317 * manual/setjmp.texi (System V contexts): Fix sentence.
36320 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
36321 New macro for this case.
36322 [!__GNUC__] (__bswap_64): New inline function for this case.
36323 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36324 * bits/byteswap.h: Likewise.
36325 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
36326 ull, guard with __GLIBC_HAVE_LONG_LONG.
36328 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
36329 __GLIBC_HAVE_LONG_LONG.
36331 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
36332 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
36334 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36337 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
36338 inptr and inend, rather than using last_ch.
36340 2012-04-02 David S. Miller <davem@davemloft.net>
36342 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
36343 * stdio-common/printf-parse.h (read_int): Change return type to
36344 'int', return -1 on INT_MAX overflow.
36345 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
36346 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
36347 overflows INT_MAX. Check for overflow of in-format-string precision
36348 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
36349 SIZE_MAX not INT_MAX for integer overflow test.
36350 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
36351 skip the construct in the format string but do not record anything.
36352 * stdio-common/bug22.c: Adjust to test both width/prevision
36353 INT_MAX overflow as well as total length INT_MAX overflow. Check
36354 explicitly for proper errno values.
36356 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
36358 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
36360 * string/test-strcmp.c [! WIDE]: Likewise.
36361 * time/tst-mktime2.c: Likewise for INT_MAX.
36362 * string/test-string.h: #include <sys/param.h> for MIN.
36364 * csu/init-first.c (__libc_init_first): Call __ctype_init.
36365 * sysdeps/i386/init-first.c (init): Likewise.
36366 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
36367 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
36368 * sysdeps/sh/init-first.c (init): Likewise.
36370 2012-04-01 Ulrich Drepper <drepper@gmail.com>
36372 * po/ru.po: Update from translation team.
36373 * po/vi.po: Likewise.
36375 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
36377 * resolv/nss_dns/dns-host.c: Merge copyright years.
36379 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36381 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36382 Optimize memcpy with prefetch if
36383 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
36384 src, dst pointers have unequal 16 byte alignments.
36386 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36389 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
36390 from a CNAME entry and return the minimum ttl for the query.
36391 (gaih_getanswer_slice): Likewise.
36393 2012-03-30 Jeff Law <law@redhat.com>
36395 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
36397 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
36398 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
36400 * resolv/nss_dns/dns-host.c: Update copyright year.
36402 2012-03-30 Ulrich Drepper <drepper@gmail.com>
36404 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
36405 requests to save a system call. Fix check that all bytes are sent.
36407 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
36408 comments for sendmmsg.
36410 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36413 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
36414 with only 1 character between 0x0041 and 0x01b0.
36415 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
36416 * wcsmbs/tst-mbsnrtowcs.c: New file.
36418 2012-03-29 David S. Miller <davem@davemloft.net>
36420 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
36421 small copies by hand.
36423 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36426 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
36427 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
36430 2012-03-28 David S. Miller <davem@davemloft.net>
36432 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
36433 that branches into memcpy.
36434 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36435 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36436 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36437 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36438 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
36440 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
36441 implementation too.
36442 * sysdeps/sparc/mempcpy.S: New file.
36444 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
36445 the IFUNC routine in the libc case.
36446 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36448 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
36449 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
36450 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
36451 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
36452 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36453 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
36454 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
36455 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
36457 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36458 loop to 256 bytes instead of 64 bytes and fix test signedness.
36460 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
36461 * sysdeps/sparc/sparc32/Makefile: rather than here...
36462 * sysdeps/sparc/sparc64/Makefile: and here.
36464 2012-03-28 Ulrich Drepper <drepper@gmail.com>
36466 * malloc/mallocbug.c: Avoid warnings about unused variables.
36468 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
36471 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
36472 in the right place. Discard and retry query if response is
36473 larger than input buffer size.
36475 2012-03-28 Joseph Myers <joseph@codesourcery.com>
36480 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
36481 x for large integer exponent.
36482 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36483 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
36484 sign of result as needed afterwards.
36485 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36486 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
36487 result for underflowing pow the same as for overflow.
36488 (__kernel_standard_l): Handle powl overflow and underflow here
36489 rather than calling __kernel_standard.
36490 * math/libm-test.inc (pow_test): Add more tests.
36505 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
36506 * sysdeps/ieee754/k_standard.c: Include <float.h>.
36507 (__kernel_standard_l): New function.
36508 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
36510 * math/w_acosl.c (__acosl): Likewise.
36511 * math/w_asinl.c (__asinl): Likewise.
36512 * math/w_atan2l.c (__atan2l): Likewise.
36513 * math/w_atanhl.c (__atanhl): Likewise.
36514 * math/w_coshl.c (__coshl): Likewise.
36515 * math/w_exp10l.c (__exp10l): Likewise.
36516 * math/w_exp2l.c (__exp2l): Likewise.
36517 * math/w_fmodl.c (__fmodl): Likewise.
36518 * math/w_hypotl.c (__hypotl): Likewise.
36519 * math/w_j0l.c (__j0l, __y0l): Likewise.
36520 * math/w_j1l.c (__j1l, __y1l): Likewise.
36521 * math/w_jnl.c (__jnl, __ynl): Likewise.
36522 * math/w_lgammal.c (__lgammal): Likewise.
36523 * math/w_log10l.c (__log10l): Likewise.
36524 * math/w_log2l.c (__log2l): Likewise.
36525 * math/w_logl.c (__logl): Likewise.
36526 * math/w_powl.c (__powl): Likewise.
36527 * math/w_remainderl.c (__remainderl): Likewise.
36528 * math/w_scalbl.c (sysv_scalbl): Likewise.
36529 * math/w_sinhl.c (__sinhl): Likewise.
36530 * math/w_sqrtl.c (__sqrtl): Likewise.
36531 * math/w_tgammal.c (__tgammal): Likewise.
36532 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
36533 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
36534 * math/libm-test.inc (acos_test): Add more tests.
36535 (acosh_test): Likewise.
36536 (asin_test): Likewise.
36537 (atanh_test): Likewise.
36538 (exp_test): Likewise.
36539 (exp10_test): Likewise.
36540 (exp2_test): Likewise.
36541 (expm1_test): Likewise.
36542 (lgamma_test): Likewise.
36543 (log_test): Likewise.
36544 (log10_test): Likewise.
36545 (log1p_test): Likewise.
36546 (log2_test): Likewise.
36547 (pow_test): Do not allow some spurious overflow exceptions.
36548 (sqrt_test): Add more tests.
36549 (tgamma_test): Likewise.
36550 (y0_test): Likewise.
36551 (y1_test): Likewise.
36552 (yn_test): Likewise.
36554 2012-03-27 Anton Blanchard <anton@samba.org>
36556 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
36558 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36559 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36560 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36562 2012-03-27 David S. Miller <davem@davemloft.net>
36564 * conform/Makefile: Run run-conformtest.sh using $(BASH).
36566 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
36567 have-as-vis3 check.
36569 2012-03-27 Andreas Jaeger <aj@suse.de>
36571 * sysdeps/x86_64/elf/configure.in: Moved to ...
36572 * sysdeps/x86_64/configure.in: ... here.
36573 * sysdeps/x86_64/elf/start.S: Moved to ...
36574 * sysdeps/x86_64/start.S: ... here.
36575 * sysdeps/x86_64/elf/configure: Delete.
36577 * sysdeps/x86_64/configure.in: Merge contents from
36578 sysdeps/i386/configure.in (without i686 check).
36580 * sysdeps/i386/elf/Versions: Merge into ...
36581 * sysdeps/i386/Versions: ... this.
36582 * sysdeps/i386/elf/Versions: Delete file.
36583 * sysdeps/i386/elf/start.S: Moved to ...
36584 * sysdeps/i386/start.S: ...here.
36585 * sysdeps/i386/elf/configure.in: Merge into...
36586 * sysdeps/i386/configure.in: ...here.
36587 * sysdeps/i386/elf/configure.in: Delete file.
36588 * sysdeps/i386/elf/configure: Delete file.
36590 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
36591 * debug/backtracesyms.c: ... here.
36592 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
36593 * debug/backtracesymsfd.c: ... here.
36594 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
36595 * sysdeps/generic/ifunc-sel.h: ... here.
36597 * sysdeps/unix/i386/start.c: Delete file.
36598 * sysdeps/unix/sparc/start.c: Delete file.
36599 * sysdeps/unix/start.c: Delete file.
36601 * sysdeps/sh/elf/configure.in: Moved to ...
36602 * sysdeps/sh/configure.in: ... here.
36603 * sysdeps/sh/elf/start.S: Moved to ...
36604 * sysdeps/sh/start.S: ... here.
36605 * sysdeps/sh/elf/configure: Delete file.
36607 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
36608 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
36609 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
36610 * sysdeps/powerpc/powerpc64/entry.h: ... here.
36611 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
36612 * sysdeps/powerpc/powerpc64/start.S: here.
36613 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
36614 * sysdeps/powerpc/powerpc64/Makefile: ... this.
36615 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
36616 * sysdeps/powerpc/powerpc64/configure.in: ... this.
36617 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
36619 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
36620 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
36621 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
36622 * sysdeps/powerpc/powerpc32/start.S: ... here.
36623 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
36624 * sysdeps/powerpc/powerpc32/configure.in: ... this.
36625 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
36627 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
36628 * sysdeps/powerpc/ifunc-sel.h: ... here.
36629 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
36630 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
36632 * sysdeps/sparc/elf/configure.in: Moved to ...
36633 * sysdeps/sparc/configure.in: ... here.
36634 * sysdeps/sparc/elf/configure: Delete file.
36635 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
36636 * sysdeps/sparc/sparc32/start.S: ... here.
36637 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
36638 * sysdeps/sparc/sparc64/start.S: ... here.
36639 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
36640 * sysdeps/sparc/sparc32/Makefile: ... this.
36641 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
36642 * sysdeps/sparc/sparc64/Makefile: ... this.
36644 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
36645 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
36646 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
36647 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
36648 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
36649 * sysdeps/s390/s390-32/setjmp.S: ... here.
36650 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
36651 * sysdeps/s390/s390-32/configure.in: ... here.
36652 * sysdeps/s390/s390-32/elf/configure: Delete file.
36653 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
36654 * sysdeps/s390/s390-32/start.S: ... here.
36656 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
36657 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
36658 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
36659 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
36660 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
36661 * sysdeps/s390/s390-64/setjmp.S: ... here.
36662 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
36663 * sysdeps/s390/s390-64/configure.in: ... here
36664 * sysdeps/s390/s390-64/elf/configure: Delete file.
36665 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
36666 * sysdeps/s390/s390-64/start.S: ... here.
36667 * sysdeps/s390/s390-64/elf/configure: Delete.
36669 * configure.in: Remove support for elf directories in sysdeps.
36671 * configure: Regenerated.
36672 * sysdeps/i386/configure: Regenerated.
36673 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36674 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36675 * sysdeps/s390/s390-32/configure: Regenerated.
36676 * sysdeps/s390/s390-64/configure: Regenerated.
36677 * sysdeps/sh/configure: Regenerated.
36678 * sysdeps/sparc/configure: Regenerated.
36679 * sysdeps/x86_64/configure: Regenerated.
36681 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
36683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36685 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
36686 denormal result into account.
36688 2012-03-25 Roland McGrath <roland@hack.frob.com>
36690 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
36691 Reported by Allan McRae <allan@archlinux.org>.
36693 2012-03-23 Jeff Law <law@redhat.com>
36695 * nss/getnssent.c (__nss_getent): Fix typo.
36697 2012-03-23 David S. Miller <davem@davemloft.net>
36699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36701 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
36703 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
36704 to pad to uint64_t for each field.
36705 (dl_tls_index): Replace unsigned long with uint64_t.
36707 2012-03-23 Daniel Jacobowitz <dmj@google.com>
36708 Paul Pluzhnikov <ppluzhnikov@google.com>
36711 * grp/Makefile (otherlibs): Don't set it.
36712 * inet/Makefile (otherlibs): Likewise.
36713 * login/Makefile (otherlibs): Likewise.
36714 * nscd/Makefile (otherlibs): Likewise.
36715 * posix/Makefile (otherlibs): Likewise.
36716 * pwd/Makefile (otherlibs): Likewise.
36717 * rt/Makefile (otherlibs): Likewise.
36718 * sunrpc/Makefile (otherlibs): Likewise.
36719 * nss/Makefile (otherlibs): Likewise.
36720 Add libnss_files to routines and static-only-routines.
36721 ($(objpfx)getent): Remove rule.
36722 * resolv/Makefile: Add libnss_dns and libresolv to routines and
36723 static-only-routines.
36725 2012-03-22 Joseph Myers <joseph@codesourcery.com>
36728 * math/s_cexp.c: Include <float.h>.
36729 (__cexp): Handle exp result overflowing not necessarily
36730 overflowing both real and imaginary parts of result.
36731 * math/s_cexpf.c: Likewise.
36732 * math/s_cexpl.c: Likewise.
36733 * math/libm-test.inc (cexp_test): Add more tests.
36734 * sysdeps/i386/fpu/libm-test-ulps: Update.
36735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36737 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36739 * include/link.h (ELFW): New macro.
36740 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
36741 Replace ELF64_R_TYPE with ELFW(R_TYPE).
36743 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36745 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
36748 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36750 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
36752 (struct La_x32_retval): Likewise.
36754 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36756 * sysdeps/x86_64/preconfigure.in: New file.
36757 * sysdeps/x86_64/preconfigure: New generated file.
36759 2012-03-22 Joseph Myers <joseph@codesourcery.com>
36762 * math/e_exp2l.c: Include <float.h>.
36763 (__ieee754_exp2l): Handle overflow and underflow cases
36764 separately. Only pass fractional part of argument to
36766 * math/libm-test.inc (exp2_test): Add more tests.
36768 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
36769 negating x to take absolute value.
36770 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36772 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36773 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
36775 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
36776 computing low part if x was negated.
36777 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36779 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36781 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
36782 la_x32_gnu_pltexit.
36783 (pltexit): Cast int_retval to ptrdiff_t.
36784 * elf/tst-auditmod3b.c: Likewise.
36785 * elf/tst-auditmod4b.c: Likewise.
36786 * elf/tst-auditmod5b.c: Likewise.
36787 * elf/tst-auditmod6b.c: Likewise.
36788 * elf/tst-auditmod6c.c: Likewise.
36789 * elf/tst-auditmod7b.c: Likewise.
36791 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
36792 and x32_gnu_pltexit.
36794 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
36795 __ELF_NATIVE_CLASS.
36796 (La_x32_regs): New macro.
36797 (La_x32_retval): Likewise.
36798 (la_x32_gnu_pltenter): New function prototype.
36799 (la_x32_gnu_pltexit): Likewise.
36801 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
36803 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
36806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36808 * configure.in (libc_cv_cc_nofma): Check for option to disable
36809 generation of FMA instructions.
36810 * configure: Regenerate.
36811 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
36812 * sysdeps/ieee754/dbl-64/Makefile: New file.
36813 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36814 Remove brandred-fma4.
36815 (CFLAGS-brandred-fma4.c): Remove.
36816 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
36817 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
36819 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
36822 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36824 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36825 LLONG_MAX != LONG_MAX.
36826 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36827 (_fitoa_word): Likewise.
36828 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
36829 LLONG_MAX != LONG_MAX.
36830 * stdio-common/_itowa.h: Include <_itoa.h>.
36831 (_itowa_word): Use _ITOA_WORD_TYPE on value.
36832 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
36833 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
36834 only if not defined.
36835 (_ITOA_WORD_TYPE): Likewise.
36836 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36837 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
36839 2012-03-21 David S. Miller <davem@davemloft.net>
36841 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36843 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36845 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
36846 of x86_64 when setting libc_cv_slibdir, libdir and
36848 * sysdeps/unix/sysv/linux/configure: Regenerated.
36850 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36852 * manual/lang.texi (Old Varargs): Remove section.
36853 (How Variadic): Update menu.
36854 (va_start): Do not mention varargs.h.
36856 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36857 Joseph Myers <joseph@codesourcery.com>
36859 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
36861 * configure: Regenerated.
36863 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36865 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
36866 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
36869 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36872 * Makefile (files-for-dist): Remove NOTES.
36873 (NOTES): Remove rule.
36874 * README: Don't refer to NOTES.
36875 * manual/creature.texi: Don't include macros.texi.
36876 * manual/intro.texi (creature.texi): Remove comment referring to
36879 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
36880 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
36881 * configure: Regenerated.
36882 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
36883 LIBC_TRY_CC_OPTION.
36884 (libc_cv_as_i686): Likewise.
36885 (libc_cv_cc_avx): Likewise.
36886 (libc_cv_cc_sse2avx): Likewise.
36887 (libc_cv_cc_fma4): Likewise.
36888 (libc_cv_cc_novzeroupper): Likewise.
36889 * sysdeps/i386/configure: Regenerated.
36892 * sysdeps/i386/fpu/s_cexp.S: Remove.
36893 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36894 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36895 * math/libm-test.inc (cexp_test): Add more tests.
36896 * sysdeps/i386/fpu/libm-test-ulps: Update.
36897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36899 2012-03-21 Allan McRae <allan@archlinux.org>
36901 * timezone/Makefile: Do not install iso3166.tab and zone.tab
36903 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36906 * math/w_exp2.c: Do not include <float.h>.
36907 (o_threshold, u_threshold): Remove.
36908 (__exp2): Calculate result before checking finiteness and calling
36910 * math/w_exp2f.c: Likewise.
36911 * math/w_exp2l.c: Likewise.
36912 * math/libm-test.inc (exp2_test): Require overflow exception for
36916 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
36917 range of signed 64-bit integers before using fistpll. Remove
36918 checks for whether integers fit in mantissa bits.
36919 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
36920 the range of signed 32-bit integers before using fistpl. Remove
36921 checks for whether integers fit in mantissa bits.
36922 * sysdeps/i386/fpu/e_powl.S (p64): New object.
36923 (__ieee754_powl): Test for y outside the range of signed 64-bit
36924 integers before using fistpll. Reduce 64-bit values to 63-bit
36926 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
36927 divide-by-zero is raised for zero to large negative powers.
36928 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
36929 (__ieee754_powl): Test for y outside the range of signed 64-bit
36930 integers before using fistpll. Reduce 64-bit values to 63-bit
36932 * math/libm-test.inc (pow_test): Add more tests.
36934 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36936 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
36937 <stdio-common/_itoa.h>.
36938 * debug/segfault.c: Likewise.
36939 * elf/dl-cache.c: Likewise.
36940 * elf/dl-minimal.c: Likewise.
36941 * elf/dl-misc.c: Likewise.
36942 * elf/dl-sysdep.c: Likewise.
36943 * elf/dl-version.c: Likewise.
36944 * elf/rtld.c: Likewise.
36945 * hurd/hurdsock.c: Likewise.
36946 * hurd/lookup-retry.c: Likewise.
36947 * malloc/malloc.c: Likewise.
36948 * malloc/mtrace.c: Likewise.
36949 * nscd/nscd_getgr_r.c: Likewise.
36950 * nscd/nscd_getpw_r.c: Likewise.
36951 * nscd/nscd_getserv_r.c: Likewise.
36952 * posix/getopt_init.c: Likewise.
36953 * posix/wordexp.c: Likewise.
36954 * stdio-common/_itoa.c: Likewise.
36955 * stdio-common/printf_fphex.c: Likewise.
36956 * stdio-common/vfprintf.c: Likewise.
36957 * string/_strerror.c: Likewise.
36958 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
36959 * sysdeps/i386/i686/hp-timing.h: Likewise.
36960 * sysdeps/mach/_strerror.c: Likewise.
36961 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
36962 * sysdeps/mach/hurd/sethostid.c: Likewise.
36963 * sysdeps/mach/hurd/xmknodat.c: Likewise.
36964 * sysdeps/mach/xpg-strerror.c: Likewise.
36965 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36966 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36967 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
36968 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
36969 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36970 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
36971 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36972 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36973 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
36974 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
36975 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
36976 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36977 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
36978 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36979 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36980 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
36981 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
36982 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
36983 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36984 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36985 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
36987 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
36989 * stdio-common/_itoa.h: Moved to ...
36990 * sysdeps/generic/_itoa.h: Here.
36992 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
36994 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
36995 instead of "_itoa.h" and "_itowa.h".
36996 * stdio-common/vfprintf.: Likewise.
36998 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37000 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37002 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37003 (__signbit): Likwise.
37004 (llrintf): Likwise.
37007 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37009 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37012 2012-03-20 Joseph Myers <joseph@codesourcery.com>
37014 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37015 OVERFLOW_EXCEPTION_OK.
37016 * math/libm-test.inc ("Philosophy"): Update comment about
37018 (OVERFLOW_EXCEPTION): Define.
37019 (OVERFLOW_EXCEPTION_OK): Likewise.
37020 (INVALID_EXCEPTION_OK): Renumber.
37021 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37022 (IGNORE_ZERO_INF_SIGN): Likewise.
37023 (test_exceptions): Handle FE_OVERFLOW.
37024 (exp10_test): Expect overflow exceptions.
37025 (exp2_test): Likewise.
37026 (expm1_test): Likewise.
37027 (nextafter_test): Likewise.
37028 (pow_test): Likewise.
37029 (scalbn_test): Likewise.
37030 (scalbln_test): Likewise.
37032 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37034 * sysdeps/x86_64/bits/atomic.h
37035 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37037 (atomic_exchange_acq): Likewise.
37038 (__arch_exchange_and_add_body): Likewise.
37039 (__arch_add_body): Likewise.
37040 (atomic_add_negative): Likewise.
37041 (atomic_add_zero): Likewise.
37043 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37045 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
37046 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37048 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37050 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37051 Check __x86_64__ instead of __WORDSIZE.
37053 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37055 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37057 2012-03-19 David S. Miller <davem@davemloft.net>
37059 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37061 * sysdeps/sparc/fpu/fenv_private.h: New file.
37062 * sysdeps/sparc/fpu/math_private.h: Use it.
37063 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37065 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
37066 (libc_feholdexcept_setroundl): Remove.
37067 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37069 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37070 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37072 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37074 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37075 int64_t instead of long int.
37076 (INSERT_WORDS64): Likwise.
37078 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37080 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37081 _Unwind_GetCFA return to _Unwind_Ptr first.
37083 2012-03-19 Joseph Myers <joseph@codesourcery.com>
37086 * math/s_clog.c: Include <float.h>.
37087 (__clog): Scale large or subnormal inputs.
37088 * math/s_clogf.c: Likewise.
37089 * math/s_clogl.c: Likewise.
37090 * math/s_clog10.c: Include <float.h>.
37091 (M_LOG10_2): Define.
37092 (__clog10): Scale large or subnormal inputs.
37093 * math/s_clog10f.c: Likewise.
37094 * math/s_clog10l.c: Likewise.
37095 * math/libm-test.inc (clog_test): Add more tests.
37096 (clog10_test): Likewise.
37097 * sysdeps/i386/fpu/libm-test-ulps: Update.
37098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37101 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
37103 * math/libm-test.inc (atan2_test): Add another test.
37105 * Makerules (common-objdir-compile): Remove.
37106 * sysdeps/unix/Makefile (config-generated): Do not add
37107 $(unix-generated) to variable.
37108 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
37109 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
37111 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
37113 [generic bits/local_lim.h] (before-compile): Do not append to
37115 [generic bits/local_lim.h] (common-generated): Likewise.
37116 [generic sys/param.h] (before-compile): Do not append to variable.
37117 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
37118 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
37119 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
37120 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
37122 [generic sys/param.h] (sys/param.h-includes): Remove variable.
37123 [generic sys/param.h] (sys/param.h-includes): Remove rule.
37124 [generic sys/param.h] ($(addprefix
37125 $(common-objpfx),$(sys/param.h-includes))): Likewise.
37126 [generic sys/param.h] (common-generated): Do not append to
37128 [generic sys/param.h] (sysdep_headers): Likewise.
37129 [generic bits/errno.h] (before-compile): Do not append to
37131 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
37133 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
37134 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
37135 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
37136 [generic bits/errno.h] (common-generated): Do not append to
37138 [generic bits/ioctls.h] (before-compile): Do not append to
37140 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
37142 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
37143 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
37144 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
37146 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
37147 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
37148 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
37149 [generic bits/ioctls.h] (common-generated): Do not append to
37151 [generic sys/syscall.h] (syscall.h): Remove variable.
37152 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
37154 [generic sys/syscall.h] (before-compile): Do not append to
37156 [generic sys/syscall.h] (common-generated): Likewise.
37157 * sysdeps/unix/errnos-tmpl.c: Remove file.
37158 * sysdeps/unix/errnos.awk: Likewise.
37159 * sysdeps/unix/ioctls-tmpl.c: Likewise.
37160 * sysdeps/unix/ioctls.awk: Likewise.
37161 * sysdeps/unix/mk-local_lim.c: Likewise.
37162 * sysdeps/unix/snarf-ioctls: Likewise.
37164 2012-03-19 Richard Henderson <rth@twiddle.net>
37166 * sysdeps/i386/fpu/fenv_private.h: New file.
37167 * sysdeps/i386/fpu/math_private.h: Use it.
37168 (math_opt_barrier, math_force_eval): Remove.
37169 (libc_feholdexcept_setround_53bit): Remove.
37170 (libc_feupdateenv_53bit): Remove.
37171 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37172 (math_opt_barrier, math_force_eval): Remove.
37173 (libc_feholdexcept): Remove.
37174 (libc_feholdexcept_setround): Remove.
37175 (libc_fetestexcept, libc_fesetenv): Remove.
37176 (libc_feupdateenv_test): Remove.
37177 (libc_feupdateenv, libc_feholdsetround): Remove.
37178 (libc_feresetround): Remove.
37180 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
37181 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37183 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
37184 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
37185 (libc_feupdateenv_testl): New.
37186 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
37187 (libc_feupdateenv_testf): New.
37188 (libc_feupdateenv): Use libc_feupdateenv_test.
37189 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
37190 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
37192 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
37193 (libc_feholdsetroundf, libc_feholdsetroundl): New.
37194 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
37195 (libc_feresetround_noex): New.
37196 (libc_feresetround_noexf): New.
37197 (libc_feresetround_noexl): New.
37198 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
37199 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
37200 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
37201 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
37203 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37204 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
37206 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
37207 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
37208 SET_RESTORE_ROUND_NOEX.
37209 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
37210 SET_RESTORE_ROUND_NOEXF.
37211 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
37212 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
37213 (libc_feholdsetroundf): New.
37214 (libc_feresetround, libc_feresetroundf): New.
37216 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
37217 (libc_feholdexcept_setround_53bit): Convert from macro to function.
37218 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
37220 * sysdeps/generic/math_private.h: Include <fenv.h>.
37221 (default_libc_feholdexcept): New.
37222 (default_libc_feholdexcept_setround): New.
37223 (default_libc_fesetenv, default_libc_feupdateenv): New.
37224 (libc_feholdexcept): Only define if undefined.
37225 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
37226 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
37227 (libc_feholdexcept_setroundl): Likewise.
37228 (libc_feholdexcept_setround_53bit): Likewise.
37229 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
37230 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
37231 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
37232 (libc_feupdateenv_53bit): Likewise.
37233 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
37234 (libc_feholdexcept): Convert from macro to inline function.
37235 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
37236 (libc_fesetenv, libc_feupdateenv): Likewise.
37238 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
37239 not previously defined.
37240 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
37241 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
37242 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
37243 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
37244 * sysdeps/ieee754/flt-32/math_private.h: New file.
37245 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
37246 math_private.h below SET_FLOAT_WORD.
37247 (__isnan, __isinf_ns, __finite): Remove.
37248 (__isnanf, __isinf_nsf, __finitef): Remove.
37250 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
37252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37254 2012-03-17 David S. Miller <davem@davemloft.net>
37257 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
37260 2012-03-16 David S. Miller <davem@davemloft.net>
37262 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
37266 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
37268 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
37269 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
37270 sysdep_routines when subdir is sysvipc.
37271 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
37272 __getshmlba helper.
37274 * sysdeps/sparc/fpu/libm-test/ulps: Update.
37276 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37278 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
37281 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37283 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
37284 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
37285 (__lround): Renamed to ...
37286 (__llround): This. Replace long int with long long int.
37287 Define lround functions as aliases of llround functions.
37288 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
37290 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37292 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
37293 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
37294 adresses to uintptr_t. Replace "long int" and "unsigned long
37295 int" with "greg_t" on va_arg.
37297 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37299 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
37300 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
37302 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
37303 Move e_machine check before EI_CLASS check. Handle x32
37304 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
37305 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
37306 SKIP_EM_IA_64 and include
37307 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
37309 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
37310 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
37311 (add_system_dir): New macro.
37313 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
37314 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
37316 2012-03-16 Joseph Myers <joseph@codesourcery.com>
37327 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
37329 * math/w_j0f.c (j0f): Likewise.
37331 * math/w_j0l.c (__j0l): Likewise.
37333 * math/w_j1.c (j1): Likewise.
37335 * math/w_j1f.c (j1f): Likewise.
37337 * math/w_j1l.c (__j1l): Likewise.
37339 * math/w_jn.c (jn): Likewise.
37341 * math/w_jnf.c (jnf): Likewise.
37343 * math/w_jnl.c (__jnl): Likewise.
37345 * math/libm-test.inc (j0_test): Add more tests.
37346 (j1_test): Likewise.
37347 (jn_test): Likewise. Add trailing semicolon to existing test.
37348 (y0_test): Likewise.
37349 (y1_test): Likewise.
37350 * sysdeps/i386/fpu/libm-test-ulps: Update.
37351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37355 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
37356 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
37357 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
37358 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
37359 (__tanl): Set errno for infinite argument.
37360 * sysdeps/i386/fpu/mptan.c: Remove.
37361 * sysdeps/i386/fpu/s_tan.S: Likewise.
37362 * sysdeps/i386/fpu/s_tanl.S: Likewise.
37363 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
37364 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
37365 * math/libm-test.inc (tan_test): Add more tests and enable more
37366 tests for double and long double.
37367 * sysdeps/i386/fpu/libm-test-ulps: Update.
37368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37370 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
37372 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
37373 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
37375 2012-03-16 Roland McGrath <roland@hack.frob.com>
37377 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
37378 * configure.in: Use it for both main tree and add-ons.
37379 * configure: Regenerated.
37381 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37383 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
37385 2012-03-16 Joseph Myers <joseph@codesourcery.com>
37387 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
37391 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
37392 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
37393 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
37394 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
37395 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
37397 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
37398 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
37399 != 0 for prec == 2.
37400 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
37401 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
37402 * sysdeps/i386/fpu/s_cosl.S: Likewise.
37403 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
37404 * sysdeps/i386/fpu/s_sinl.S: Likewise.
37405 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
37406 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
37407 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
37408 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
37409 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
37410 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
37411 * math/libm-test.inc (cos_test): Add more tests and enable more
37412 tests for long double.
37413 (sin_test): Likewise.
37414 (sincos_test): Likewise.
37415 * sysdeps/i386/fpu/libm-test-ulps: Update.
37416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37418 2012-03-16 David S. Miller <davem@davemloft.net>
37420 * sysdeps/sparc/fpu/math_private.h: New file.
37422 2012-03-15 David S. Miller <davem@davemloft.net>
37424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
37426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
37427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
37429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
37430 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
37431 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
37432 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
37433 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
37434 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
37436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37438 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
37439 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
37441 * sysdeps/sparc/sparc-ifunc.h: New file.
37442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
37444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
37447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
37449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
37450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
37451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
37456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
37458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
37460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
37462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
37464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
37465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
37466 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37467 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37468 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
37469 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
37470 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37471 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37472 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
37473 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
37474 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
37475 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
37476 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
37477 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
37478 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
37479 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
37480 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
37481 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
37482 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
37483 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
37484 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
37485 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
37487 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37489 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
37491 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37493 2012-03-15 Andreas Jaeger <aj@suse.de>
37496 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
37497 ieee754/flt-32 implementation for sin, cos and sincos.
37498 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
37499 * sysdeps/i386/fpu/s_cosf.S: Likewise.
37500 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
37501 * sysdeps/i386/fpu/s_sinf.S: Likewise.
37502 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
37503 ieee754/flt-32 implementation for tan.
37505 * math/libm-test.inc (cos_test): Enable some large input tests for
37507 (sin_test): Likewise.
37508 (sincos_test): Likewise.
37509 (tan_test): Add tests for large input.
37511 * sysdeps/i386/fpu/libm-test-ulps: Update.
37513 2012-03-15 Andreas Jaeger <aj@suse.de>
37516 * math/libm-test.inc (cos_test): Add more test cases.
37517 (sin_test): Likewise.
37518 (sincos_test): Likewise.
37520 2012-03-15 Andreas Jaeger <aj@suse.de>
37523 * math/libm-test.inc (cos_test): Add a test case for large input
37525 (sin_test): Likewise.
37526 (sincos_test): Likewise.
37528 2012-03-15 Andreas Jaeger <aj@suse.de>
37529 Joseph Myers <joseph@codesourcery.com>
37532 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
37533 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
37534 * sysdeps/i386/fpu/branred.c: Likewise.
37535 * sysdeps/i386/fpu/dosincos.c: Likewise.
37536 * sysdeps/i386/fpu/mpa.c: Likewise.
37537 * sysdeps/i386/fpu/s_cos.S: Likewise.
37538 * sysdeps/i386/fpu/s_sin.S: Likewise.
37539 * sysdeps/i386/fpu/s_sincos.S: Likewise.
37540 * sysdeps/i386/fpu/sincos32.c: Likewise.
37542 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
37544 (libc_feupdateenv_53bit): Define.
37545 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
37547 (libc_feupdateenv_53bit): Define.
37549 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
37550 53 bit (without extend i386 double precision).
37552 * math/libm-test.inc (sincos_test): Add tests for large input.
37556 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37558 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37560 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37562 2012-03-15 David S. Miller <davem@davemloft.net>
37564 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
37565 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
37566 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
37567 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
37568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
37569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
37570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
37571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
37572 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
37573 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
37574 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
37575 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
37576 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
37577 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
37578 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
37579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
37581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
37582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
37584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
37585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
37587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
37588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
37590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
37591 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
37592 fmin/fmax sysdep routines.
37593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37595 2012-03-14 David S. Miller <davem@davemloft.net>
37597 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
37598 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
37599 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
37600 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
37601 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
37602 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
37603 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
37604 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
37605 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
37606 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
37607 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
37608 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
37609 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
37610 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
37611 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
37612 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
37613 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
37614 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
37615 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
37616 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
37617 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
37618 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
37619 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
37620 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
37621 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
37622 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
37623 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
37624 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
37625 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
37627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
37629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
37630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
37632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
37633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
37635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
37636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
37638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
37639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
37641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
37642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
37644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
37646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
37648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
37650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
37652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
37654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
37656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
37657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
37659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
37660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
37662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
37663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
37665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
37666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
37669 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37672 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37674 * sysdeps/sparc/configure.in: New file.
37675 * sysdeps/sparc/configure: Generate.
37676 * configure.in (libc_cv_sparc_as_vis3): Substitute.
37677 * configure: Regenerate.
37678 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
37679 * config.make.in (have-as-vis3): New.
37680 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
37681 available use -Av9d instead of -Av9a.
37682 * sysdeps/sparc/sparc64/Makefile: Likewise.
37683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
37684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
37686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
37688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
37690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
37692 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
37693 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
37694 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
37695 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
37696 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
37698 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
37699 fzeros/fnegs to load 0x80000000 into a float register instead of
37701 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
37703 2012-03-14 Joseph Myers <joseph@codesourcery.com>
37705 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37707 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
37708 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
37709 ($(inst_includedir)/bits/syscall.h): Remove rule.
37710 ($(objpfx)bits/syscall.d): Include instead of
37711 $(objpfx)syscall-list.d.
37712 (generated): Change syscall-list.h and syscall-list.d to
37713 bits/syscall.h and bits/syscall.d.
37715 2012-03-14 Roland McGrath <roland@hack.frob.com>
37718 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
37720 2012-03-14 Joseph Myers <joseph@codesourcery.com>
37723 * math/s_csqrt.c: Include <float.h>.
37724 (__csqrt): Scale large or subnormal inputs.
37725 * math/s_csqrtf.c: Likewise.
37726 * math/s_csqrtl.c: Likewise.
37727 * math/libm-test.inc (csqrt_test): Add more tests.
37728 * sysdeps/i386/fpu/libm-test-ulps: Update.
37729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37732 * math/libm-test.inc (hypot_test): Add more tests.
37734 2012-03-13 David S. Miller <davem@davemloft.net>
37737 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
37738 double-precision for the calculation instead of scaling.
37740 2012-03-13 Joseph Myers <joseph@codesourcery.com>
37742 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
37743 manipulate bits before adding and subtracting TWO52[sx].
37744 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
37745 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
37747 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
37749 2012-03-13 David S. Miller <davem@davemloft.net>
37751 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
37752 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
37753 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
37754 rtld-global-offsets.h
37755 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37757 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
37760 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
37762 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
37763 'err' in the ifdef scope in which it is actually used.
37765 * nss/nss_db/db-init.c: Include string.h
37767 2012-03-12 David S. Miller <davem@davemloft.net>
37769 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37770 masking out of the most significant byte of random value used.
37771 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37772 Fix coding style in previous change.
37774 * sysdeps/unix/sysv/linux/kernel-features.h
37775 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
37776 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
37778 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
37781 2012-03-11 David S. Miller <davem@davemloft.net>
37783 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37784 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
37785 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
37786 for 'resultvar' otherwise things get truncated on 64-bit.
37788 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37789 Fix masking out of the most significant byte of random value used.
37791 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37793 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
37795 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37797 2012-03-09 David S. Miller <davem@davemloft.net>
37799 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
37800 variables with appropriate CPP guards.
37801 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
37802 from the frame pointer, not the stack pointer. Correct layout
37803 comments. Fix test on resulting framesize and the management of
37804 the outregs buffer for pltexit. Preserve floating point return
37805 values across _dl_call_pltexit call.
37806 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
37807 framesize and the management of the outregs buffer for pltexit.
37808 Preserve floating point return values across _dl_call_pltexit
37810 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
37811 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
37812 (la_sparc64_gnu_pltexit): New functions.
37813 (print_exit): Fix format string for return register value.
37815 2012-03-10 Joseph Myers <joseph@codesourcery.com>
37817 * sunrpc/Makefile (others): Add rpcgen.
37818 ($(objpfx)rpcgen): Remove special build rule and dependency on
37820 * sunrpc/rpcgen.c: New file.
37822 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
37825 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
37826 * stdio-common/bug-vfprintf-nargs.c: Likewise.
37827 * sysdeps/i386/crti.S: Likewise.
37828 * sysdeps/i386/crtn.S: Likewise.
37829 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
37830 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
37831 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
37832 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
37833 * sysdeps/sh/crti.S: Likewise.
37834 * sysdeps/sh/crtn.S: Likewise.
37835 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37838 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
37840 * locale/programs/locfile-kw.gperf: Likewise.
37841 * locale/programs/charmap-kw.h: Regenerated.
37842 * locale/programs/locfile-kw.h: Likewise.
37845 * intl/plural.y: Replace FSF snail mail address with URL.
37846 * intl/plural.c: Regenerated.
37848 2012-03-09 Richard Henderson <rth@twiddle.net>
37850 * include/math_private.h: Remove file.
37851 * math/math_private.h: Move file ...
37852 * sysdeps/generic/math_private.h: ... here.
37854 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
37855 * sysdeps/powerpc/fpu/math_private.h: Likewise.
37856 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37858 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
37859 and <math_private.h>.
37860 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37861 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37862 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37863 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37864 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37865 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
37866 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37867 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37868 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37869 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37870 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37871 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37872 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37873 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37874 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37875 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37876 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37877 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37878 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37879 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37880 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37881 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37882 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37883 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37884 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37885 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37886 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37887 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37888 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37889 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37890 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37891 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37892 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37893 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37894 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37895 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37896 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37897 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37898 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37899 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37900 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
37901 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37902 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37903 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37904 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37905 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37906 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
37907 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37908 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37909 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37910 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37911 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
37912 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37913 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37914 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37915 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37916 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37917 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37918 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37919 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
37920 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37921 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37922 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37923 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37924 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
37925 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37926 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37927 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37928 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
37929 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
37930 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37931 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37932 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37933 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37934 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
37935 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
37936 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
37937 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37938 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
37939 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
37940 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37941 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
37942 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37943 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37944 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37945 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37946 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
37947 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
37948 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37949 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37950 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37951 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37952 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37953 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37954 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37955 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37956 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37957 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37958 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37959 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37960 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37961 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37962 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37963 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37964 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37965 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37966 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37967 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37968 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37969 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37970 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37971 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37972 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37973 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37974 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
37975 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37976 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37977 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37978 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37979 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37980 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37981 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37982 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37983 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
37984 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37985 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37986 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37987 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
37988 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37989 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
37990 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
37991 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37992 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37993 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
37994 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
37995 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37996 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37997 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37998 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
37999 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38000 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38001 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38002 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38003 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38004 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38005 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38006 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38007 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38008 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38009 * sysdeps/ieee754/k_standard.c: Likewise.
38010 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38011 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38012 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38013 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38014 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38015 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38016 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38017 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38018 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38019 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38020 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38021 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38022 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38023 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38024 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38025 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38026 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38027 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38028 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38029 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38030 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38031 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38032 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38033 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38034 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38035 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38036 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38037 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38038 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38039 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38040 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38041 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38042 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38043 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38044 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38045 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38046 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38047 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38048 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38049 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38050 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38051 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38052 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38053 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38054 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38055 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38056 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38057 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38058 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38059 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38060 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38061 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38062 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38063 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38064 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38065 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38066 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38067 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38068 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38069 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38070 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38071 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38072 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38073 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38074 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38075 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38076 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38077 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38078 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38079 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38080 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38081 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38082 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38083 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38084 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38085 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38086 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
38087 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38088 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38089 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38090 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38091 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38092 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38093 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38094 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
38095 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38096 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38097 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
38098 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38099 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38100 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
38101 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38102 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38103 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38104 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38105 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38106 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
38107 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38108 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38109 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
38110 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38111 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38112 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38113 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38114 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
38115 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38116 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38117 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38118 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
38119 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38120 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38121 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38122 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38123 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38124 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38125 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38126 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38127 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38128 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38129 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38130 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38131 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38132 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38133 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38134 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38135 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
38136 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38137 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38138 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38139 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38140 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38141 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38142 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38143 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38144 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38145 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38146 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
38147 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38148 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38149 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
38150 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
38151 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38152 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
38153 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
38154 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38155 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38156 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38157 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38158 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38159 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
38160 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38161 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38162 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38163 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38164 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
38165 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
38166 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38167 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38168 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38169 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38170 * sysdeps/ieee754/s_lib_version.c: Likewise.
38171 * sysdeps/ieee754/s_matherr.c: Likewise.
38172 * sysdeps/ieee754/s_signgam.c: Likewise.
38173 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38174 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38175 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
38176 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
38177 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
38178 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38179 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
38180 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
38181 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
38182 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
38183 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38184 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
38185 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38186 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38187 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
38188 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38189 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38190 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38191 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38192 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38193 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38195 2012-03-09 Joseph Myers <joseph@codesourcery.com>
38197 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
38198 * sunrpc/rpc_main.c: Likewise.
38199 * sunrpc/rpc_svcout.c: Likewise.
38201 2012-03-09 David S. Miller <davem@davemloft.net>
38203 * include/math_private.h: New file.
38205 2012-03-09 Joseph Myers <joseph@codesourcery.com>
38207 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
38208 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
38209 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
38210 from <bits/socket_type.h>.
38211 (enum __socket_type): Don't define here.
38212 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
38213 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38214 bits/socket_type.h.
38217 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
38218 checking __USE_GNU.
38220 * Makerules ($(inst_includedir)/%.h): New rule.
38221 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
38222 (install-others): Remove variable setting.
38223 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
38225 2012-03-08 Richard Henderson <rth@twiddle.net>
38227 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
38228 from macro to inline function; merge with the
38229 !__LIBC_INTERNAL_MATH_INLINES version.
38230 (__ieee754_sqrtf): Likewise.
38232 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
38233 to inline function.
38234 (__rintf, __floor, __floorf): Likewise.
38236 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
38237 macro to inline function.
38238 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
38240 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
38241 not <math/math_private.h>.
38243 2012-03-08 David S. Miller <davem@davemloft.net>
38245 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
38247 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
38249 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
38251 * resolv/gai_misc.c (handle_requests): Fix struct timespec
38253 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
38254 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38256 2012-03-08 Ulrich Drepper <drepper@gmail.com>
38258 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
38259 be defined individually, they must be defined as a block. Define
38260 S for printing a string instead of hidint the different by using a
38261 macro for adding the 'l'.
38262 * stdio-common/tst-fphex-wide.c: Adjust.
38264 2012-03-07 Marek Polacek <polacek@redhat.com>
38266 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
38268 2012-03-08 Marek Polacek <polacek@redhat.com>
38271 * stdio-common/Makefile (tests): Add tst-fphex-wide.
38272 * stdio-common/tst-fphex.c: Define a few macros to make the
38273 test reusable. Use them.
38274 * stdio-common/tst-fphex-wide.c: New file.
38276 2012-03-08 Joseph Myers <joseph@codesourcery.com>
38279 * manual/macros.texi (gnusystems): New macro.
38280 (nongnusystems): Likewise.
38281 (gnulinuxhurdsystems): Likewise.
38282 (gnuhurdsystems): Likewise..
38283 (gnulinuxsystems): Likewise.
38284 * manual/charset.texi: Use new macros or @theglibc{} to refer to
38285 variants of the GNU system, not "GNU system".
38286 * manual/conf.texi: Likewise.
38287 * manual/errno.texi: Likewise. Update example of errno macro
38289 * manual/filesys.texi: Likewise.
38290 (getumask): Document as specific to GNU/Hurd.
38291 * manual/install.texi: Likewise. Reword some references to
38293 * manual/intro.texi: Likewise.
38294 * manual/io.texi: Likewise.
38295 (File Name Portability): Detail which constraints are inapplicable
38296 to all GNU systems and which are only inapplicable to GNU/Hurd.
38297 * manual/job.texi: Likewise.
38298 * manual/llio.texi: Likewise.
38299 (O_NOCTTY): Document as present on GNU/Linux.
38300 * manual/maint.texi: Likewise.
38301 * manual/memory.texi: Likewise.
38302 * manual/pattern.texi: Likewise.
38303 * manual/pipe.texi: Likewise.
38304 * manual/process.texi: Likewise.
38305 * manual/resource.texi: Likewise.
38306 (RUSAGE_CHILDREN): Remove statement about specifying a particular
38308 * manual/setjmp.texi: Likewise.
38309 * manual/signal.texi: Likewise.
38310 * manual/startup.texi: Likewise.
38311 * manual/stdio.texi: Likewise.
38312 * manual/terminal.texi: Likewise.
38313 (ONLCR): Document as POSIX.
38314 (OXTABS): Document availability on GNU/Linux as XTABS.
38315 (ONOEOT): Document availability separately from other bits.
38316 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
38317 * manual/time.texi: Likewise.
38318 * manual/users.texi: Likewise.
38319 * INSTALL: Regenerated.
38320 * sysdeps/gnu/errlist.c: Regenerated.
38322 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
38323 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
38324 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
38326 * configure: Regenerated.
38328 2012-03-07 Joseph Myers <joseph@codesourcery.com>
38330 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
38331 default includes instead of AC_HEADER_CHECK.
38332 * sysdeps/i386/configure: Regenerated.
38335 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
38336 * math/s_cacoshf.c (__cacoshf): Likewise.
38337 * math/s_cacoshl.c (__cacoshl): Likewise.
38338 * math/s_casinh.c (__casinh): Set signs of result from argument.
38339 * math/s_casinhf.c (__casinhf): Likewise.
38340 * math/s_casinhl.c (__casinhl): Likewise.
38341 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
38342 (casinh_test): Add more tests.
38343 * sysdeps/i386/fpu/libm-test-ulps: Update.
38344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38346 2012-03-07 Ulrich Drepper <drepper@gmail.com>
38348 * po/zh_TW.po: Update from translation team.
38350 * login/Makefile (distribute): Remove variable.
38351 * catgets/Makefile: Likewise.
38352 * mach/Makefile: Likewise.
38353 * malloc/Makefile: Likewise.
38354 * misc/Makefile: Likewise.
38355 * iconv/Makefile: Likewise.
38356 * nscd/Makefile: Likewise.
38357 * hurd/Makefile: Likewise.
38358 * manual/Makefile: Likewise.
38359 * locale/Makefile: Likewise.
38360 * intl/Makefile: Likewise.
38361 * conform/Makefile: Likewise.
38362 * nss/Makefile: Likewise.
38363 * time/Makefile: Likewise.
38364 * soft-fp/Makefile: Likewise.
38365 * dirent/Makefile: Likewise.
38366 * gmon/Makefile: Likewise.
38367 * po/Makefile: Likewise.
38368 * rt/Makefile: Likewise.
38369 * socket/Makefile: Likewise.
38370 * math/Makefile: Likewise.
38371 * signal/Makefile: Likewise.
38372 * debug/Makefile: Likewise.
38373 * elf/Makefile: Likewise.
38374 * timezone/Makefile: Likewise.
38375 * stdlib/Makefile: Likewise.
38376 * iconvdata/Makefile: Likewise.
38377 * sunrpc/Makefile: Likewise.
38378 * io/Makefile: Likewise.
38379 * argp/Makefile: Likewise.
38380 * inet/Makefile: Likewise.
38381 * hesiod/Makefile: Likewise.
38382 * grp/Makefile: Likewise.
38383 * csu/Makefile: Likewise.
38384 * wctype/Makefile: Likewise.
38385 * crypt/Makefile: Likewise.
38386 * libio/Makefile: Likewise.
38387 * string/Makefile: Likewise.
38388 * nis/Makefile: Likewise.
38389 * resolv/Makefile: Likewise.
38390 * stdio-common/Makefile: Likewise.
38391 * wcsmbs/Makefile: Likewise.
38392 * dlfcn/Makefile: Likewise.
38393 * posix/Makefile: Likewise.
38396 * timezone/Makefile: Don't install timezone files, just the programs
38399 2012-03-06 Ulrich Drepper <drepper@gmail.com>
38401 * nss/databases.def: Add missing gshadow entry.
38403 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
38405 2012-03-06 Marek Polacek <polacek@redhat.com>
38408 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
38409 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38410 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
38411 * stdio-common/tst-long-dbl-fphex.c: New file.
38413 2012-03-06 David S. Miller <davem@davemloft.net>
38415 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38416 (set_obp_int): New function.
38417 (get_obp_int): New function.
38418 (__get_clockfreq_via_dev_openprom): Likewise.
38419 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
38420 Avoid unused variable warnings on 'val' and use builtin_expect.
38421 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
38423 (INLINE_CLONE_SYSCALL): Likewise.
38425 2012-03-05 David S. Miller <davem@davemloft.net>
38427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38429 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
38431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38433 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
38434 only for |x| >= 40.
38435 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38437 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
38439 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
38440 Replace gettimeofday with __vdso_gettimeofday.
38442 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38443 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
38444 __vdso_clock_gettime and __vdso_getcpu.
38446 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
38447 time with __vdso_time.
38449 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38451 * manual/lang.texi (size_t): Note types to which size_t may be
38452 equivalent with the GNU C Library, but do not describe when
38453 differences between them are significant.
38455 2012-03-05 Andreas Jaeger <aj@suse.de>
38457 * sysdeps/i386/fpu/libm-test-ulps: Update.
38459 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38462 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
38463 (__ieee754_pow): Save and restore rounding mode and use
38464 round-to-nearest for main computations.
38465 * math/libm-test.inc (pow_test_tonearest): New function.
38466 (pow_test_towardzero): Likewise.
38467 (pow_test_downward): Likewise.
38468 (pow_test_upward): Likewise.
38469 (main): Call the new functions.
38470 * sysdeps/i386/fpu/libm-test-ulps: Update.
38471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38474 * math/libm-test.inc (cosh_test_tonearest): New function.
38475 (cosh_test_towardzero): Likewise.
38476 (cosh_test_downward): Likewise.
38477 (cosh_test_upward): Likewise.
38478 (sinh_test_tonearest): Likewise.
38479 (sinh_test_towardzero): Likewise.
38480 (sinh_test_downward): Likewise.
38481 (sinh_test_upward): Likewise.
38482 (main): Call the new functions.
38483 * sysdeps/i386/fpu/libm-test-ulps: Update.
38484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38486 2012-03-05 Tom de Vries <tom@codesourcery.com>
38488 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
38489 default stack guard is set in last bytes.
38490 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
38492 2012-03-05 Kees Cook <keescook@chromium.org>
38494 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
38497 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
38498 possibly allocate from heap instead of stack.
38499 * stdio-common/bug-vfprintf-nargs.c: New file.
38500 * stdio-common/Makefile (tests): Add nargs overflow test.
38502 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
38504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38506 2012-03-03 Marek Polacek <polacek@redhat.com>
38508 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
38509 * math/math_private.h: Likewise.
38510 * stdlib/tst-strtod.c: Likewise.
38511 * sysdeps/i386/i486/bits/atomic.h: Likewise.
38512 * sysdeps/x86_64/bits/atomic.h: Likewise.
38514 2012-03-02 David S. Miller <davem@davemloft.net>
38516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
38517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
38518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
38519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
38520 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
38521 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
38522 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
38523 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
38525 2012-03-02 Roland McGrath <roland@hack.frob.com>
38528 * manual/examples/README: New file, says the example source files
38529 can be used under GPL>=2.
38530 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
38531 line containing just "*/".
38532 * manual/examples/add.c: Add copyright header (GPL>=2).
38533 * manual/examples/argp-ex1.c: Likewise.
38534 * manual/examples/argp-ex2.c: Likewise.
38535 * manual/examples/argp-ex3.c: Likewise.
38536 * manual/examples/argp-ex4.c: Likewise.
38537 * manual/examples/atexit.c: Likewise.
38538 * manual/examples/db.c: Likewise.
38539 * manual/examples/dir.c: Likewise.
38540 * manual/examples/dir2.c: Likewise.
38541 * manual/examples/execinfo.c: Likewise.
38542 * manual/examples/filecli.c: Likewise.
38543 * manual/examples/filesrv.c: Likewise.
38544 * manual/examples/fmtmsgexpl.c: Likewise.
38545 * manual/examples/genpass.c: Likewise.
38546 * manual/examples/inetcli.c: Likewise.
38547 * manual/examples/inetsrv.c: Likewise.
38548 * manual/examples/isockad.c: Likewise.
38549 * manual/examples/longopt.c: Likewise.
38550 * manual/examples/memopen.c: Likewise.
38551 * manual/examples/memstrm.c: Likewise.
38552 * manual/examples/mkfsock.c: Likewise.
38553 * manual/examples/mkisock.c: Likewise.
38554 * manual/examples/mygetpass.c: Likewise.
38555 * manual/examples/pipe.c: Likewise.
38556 * manual/examples/popen.c: Likewise.
38557 * manual/examples/rprintf.c: Likewise.
38558 * manual/examples/search.c: Likewise.
38559 * manual/examples/select.c: Likewise.
38560 * manual/examples/setjmp.c: Likewise.
38561 * manual/examples/sigh1.c: Likewise.
38562 * manual/examples/sigusr.c: Likewise.
38563 * manual/examples/stpcpy.c: Likewise.
38564 * manual/examples/strdupa.c: Likewise.
38565 * manual/examples/strftim.c: Likewise.
38566 * manual/examples/strncat.c: Likewise.
38567 * manual/examples/subopt.c: Likewise.
38568 * manual/examples/swapcontext.c: Likewise.
38569 * manual/examples/termios.c: Likewise.
38570 * manual/examples/testopt.c: Likewise.
38571 * manual/examples/testpass.c: Likewise.
38572 * manual/examples/timeval_subtract.c: Likewise.
38575 * manual/time.texi (Elapsed Time): Move timeval_subtract example
38577 * manual/timeval_subtract.c.texi: ... here, new file.
38579 2012-03-02 David S. Miller <davem@davemloft.net>
38581 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
38583 2012-03-02 Joseph Myers <joseph@codesourcery.com>
38586 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
38587 (__sin): Save and restore rounding mode and use round-to-nearest
38588 for all computations.
38589 (__cos): Save and restore rounding mode and use round-to-nearest
38590 for all computations.
38591 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
38593 (tan): Save and restore rounding mode and use round-to-nearest for
38595 * math/libm-test.inc (cos_test_tonearest): New function.
38596 (cos_test_towardzero): Likewise.
38597 (cos_test_downward): Likewise.
38598 (cos_test_upward): Likewise.
38599 (sin_test_tonearest): Likewise.
38600 (sin_test_towardzero): Likewise.
38601 (sin_test_downward): Likewise.
38602 (sin_test_upward): Likewise.
38603 (tan_test_tonearest): Likewise.
38604 (tan_test_towardzero): Likewise.
38605 (tan_test_downward): Likewise.
38606 (tan_test_upward): Likewise.
38607 (main): Call the new functions.
38608 * sysdeps/i386/fpu/libm-test-ulps: Update.
38609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38612 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
38613 small n, then large n, before computing and testing k+n.
38614 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38615 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
38617 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
38619 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
38620 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
38621 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
38622 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
38623 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38624 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38625 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
38626 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
38627 * math/libm-test.inc (scalbn_test): Add more tests.
38628 (scalbln_test): Likewise.
38630 * manual/filesys.texi (mode_t): Describe constraints on size and
38631 signedness, not exact equivalence to a particular type.
38633 (ino64_t): Likewise.
38635 (nlink_t): Likewise.
38636 (blkcnt_t): Likewise.
38637 (blkcnt64_t): Likewise.
38638 * manual/llio.texi (off_t): Likewise.
38641 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
38642 (__ieee754_exp): Save and restore rounding mode and use
38643 round-to-nearest for all computations.
38644 * math/libm-test.inc (exp_test_tonearest): New function.
38645 (exp_test_towardzero): Likewise.
38646 (exp_test_downward): Likewise.
38647 (exp_test_upward): Likewise.
38648 (main): Call the new functions.
38649 * sysdeps/i386/fpu/libm-test-ulps: Update.
38650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38652 2012-03-01 Chris Demetriou <cgd@google.com>
38654 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
38655 have predictable order.
38657 2012-03-01 David S. Miller <davem@davemloft.net>
38659 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
38661 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
38662 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
38663 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
38664 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
38666 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
38667 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
38668 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
38669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
38670 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
38671 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
38672 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
38673 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
38674 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
38676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38678 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
38679 * sysdeps/sparc/fpu/libm-test-ulps: to here.
38680 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
38682 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
38683 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38684 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38685 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
38686 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
38687 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
38688 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
38689 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38690 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38691 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
38692 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
38693 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38694 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38695 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38696 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38697 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38698 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
38699 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
38700 * sysdeps/sparc/elf/configure: Regenerated.
38702 2012-03-01 Joseph Myers <joseph@codesourcery.com>
38704 * configure.in (AS, LD): Require binutils 2.20 or later.
38705 * configure: Regenerated.
38706 * manual/install.texi (Tools for Compilation): Give binutils 2.20
38707 as required minimum version.
38708 * INSTALL: Regenerated.
38712 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
38713 before squaring exponent.
38714 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
38715 bottom long double and 27 bits of top long double before squaring
38717 * math/libm-test.inc (erfc_test): Add more tests.
38718 * sysdeps/i386/fpu/libm-test-ulps: Update.
38719 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38722 2012-03-01 Kai Tietz <ktietz@redhat.com>
38724 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
38725 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
38726 containing bit-fields.
38727 * soft-fp/extended.h (_FP_UNION_E): Likewise.
38728 * soft-fp/single.h (_FP_UNION_S): Likewise.
38729 * soft-fp/double.h (_FP_UNION_D): Likewise.
38731 2012-02-29 Joseph Myers <joseph@codesourcery.com>
38734 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
38735 not include ../strcmp.S.
38736 [USE_AS_STRNCASECMP_L]: Likewise.
38737 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
38738 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
38739 * sysdeps/i386/i686/multiarch/strncase_l-c.c
38740 (__strncasecmp_l_ia32): Define as alias to
38741 __strncasecmp_l_nonascii.
38744 * math/libm-test.inc (expm1_test): Add test for bug 5794.
38745 * sysdeps/i386/fpu/libm-test-ulps: Update.
38746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38748 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
38749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38751 2012-02-29 Jeff Law <law@redhat.com>
38753 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
38754 out of bounds read.
38756 2012-02-29 Marek Polacek <polacek@redhat.com>
38759 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
38760 * elf/Makefile: Add rules to run tst-unused-dep.out.
38762 2012-02-28 David S. Miller <davem@davemloft.net>
38764 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
38765 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
38766 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
38767 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
38768 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
38769 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
38771 2012-02-29 Joseph Myers <joseph@codesourcery.com>
38773 * math/libm-test.inc (llround_test): Move one test from
38774 lround_test. Use TEST_f_L in moved test.
38775 (lround_test): Move misplaced test to llround_test. Add testcase
38778 2012-02-28 Ulrich Drepper <drepper@gmail.com>
38780 * sysdeps/x86_64/fpu/e_expf.S: New file.
38781 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
38783 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
38786 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
38787 of remain_len that may cause incomplete multi-byte character and
38789 * posix/bug-regex33.c: New file.
38790 * posix/Makefile (tests): Add bug-regex33.
38792 2012-02-28 Joseph Myers <joseph@codesourcery.com>
38794 * manual/macros.texi: New file.
38795 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
38796 * manual/libc.texinfo: Include macros.texi.
38797 * manual/creatute.texi: Likewise.
38798 * manual/install.texi: Likewise.
38799 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
38800 @glibcadj{} in references to the GNU C Library.
38801 * manual/charset.texi: Likewise.
38802 * manual/conf.texi: Likewise.
38803 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
38804 when not using those macros.
38805 * manual/creature.texi: Likewise.
38806 * manual/crypt.texi: Likewise.
38807 * manual/errno.texi: Likewise.
38808 * manual/filesys.texi: Likewise.
38809 * manual/header.texi: Likewise.
38810 * manual/install.texi: Likewise.
38811 * manual/intro.texi: Likewise.
38812 * manual/io.texi: Likewise.
38813 * manual/job.texi: Likewise.
38814 * manual/lang.texi: Likewise.
38815 * manual/libc.texiinfo: Likewise.
38816 * manual/llio.texi: Likewise.
38817 * manual/locale.texi: Likewise.
38818 * manual/maint.texi: Likewise.
38819 * manual/math.texi: Likewise.
38820 * manual/memory.texi: Likewise.
38821 * manual/message.texi: Likewise.
38822 * manual/nss.texi: Likewise.
38823 * manual/pattern.texi: Likewise.
38824 * manual/process.texi: Likewise.
38825 * manual/resource.texi: Likewise.
38826 * manual/search.texi: Likewise.
38827 * manual/setjmp.texi: Likewise.
38828 * manual/signal.texi: Likewise.
38829 * manual/socket.texi: Likewise.
38830 * manual/startup.texi: Likewise.
38831 * manual/stdio.texi: Likewise.
38832 * manual/string.texi: Likewise.
38833 * manual/sysinfo.texi: Likewise.
38834 * manual/syslog.texi: Likewise.
38835 * manual/terminal.texi: Likewise.
38836 * manual/time.texi: Likewise.
38837 * manual/users.texi: Likewise.
38838 * INSTALL: Regenerated.
38839 * NOTES: Regenerated.
38840 * sysdeps/gnu/errlist.c: Regenerated.
38842 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
38844 * include/dirent.h: Include <dirstream.h> before
38847 2012-02-28 David S. Miller <davem@davemloft.net>
38849 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
38850 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
38851 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
38852 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
38854 2012-02-27 David S. Miller <davem@davemloft.net>
38856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
38857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
38858 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
38859 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
38861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
38862 frame pointer instead of stack pointer relative arg slot.
38863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38864 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38865 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38867 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
38870 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
38872 2012-02-27 David S. Miller <davem@davemloft.net>
38874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
38875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
38878 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38879 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38880 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
38881 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
38883 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38885 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
38886 later. Allow versions 5-9.
38887 * configure: Regenerated.
38888 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
38889 required minimum version and 4.6 as recommended version. Do not
38890 mention bugs in GCC 2.7 and 2.8.
38891 * INSTALL: Regenerated.
38893 2012-02-27 David S. Miller <davem@davemloft.net>
38895 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
38896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
38897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
38898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
38899 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
38900 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
38901 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
38902 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
38904 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
38905 manipulate bits before adding and subtracting TWO112[sx].
38906 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38908 2012-02-27 Roland McGrath <roland@hack.frob.com>
38911 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
38912 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
38913 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
38914 being in POSIX, because they are in 1003.1-2008.
38916 * rt/tst-aio.c: Include <fcntl.h>.
38917 * rt/tst-aio7.c: Likewise.
38918 * rt/tst-aio64.c: Likewise.
38920 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
38922 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38924 * manual/install.texi (--with-headers): Describe headers as
38925 interface headers, not private headers.
38926 (Specific advice for GNU/Linux systems): Describe use of headers
38927 from "make headers_install", not private headers from older
38929 * INSTALL: Regenerated.
38930 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
38932 * sysdeps/unix/sysv/linux/configure: Regenerated.
38934 * manual/llio.texi (fclean): Remove documentation.
38936 * manual/Makefile (libc-texi-generated): New variable. Include
38938 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
38939 $(libc-texi-generated), not duplicated list of files.
38940 (version.texi, stamp-version): New rules.
38941 (realclean): Remove $(libc-texi-generated), not individual files
38942 from that list. Do not remove dir-add.texinfo.
38943 * manual/libc.texinfo: Comment out uses of edition numbers and
38944 references to printed manual. Remove last-updated dates.
38945 (EDITION): Comment out.
38947 (VERSION, UPDATED): Remove.
38948 (version.texi): Include.
38950 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
38952 * sysdeps/posix/spawni.c: Include <signal.h>.
38953 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
38954 * sysdeps/pthread/aio_fsync.c: Likewise.
38956 2012-02-26 Ulrich Drepper <drepper@gmail.com>
38958 * conform/Makefile (tests): Run only when not cross-compiling and
38959 when fast-check is not defined.
38961 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
38962 * conform/data/limits.h-data: Fixes for POSIX2008.
38963 * conform/run-conformtest.sh: Run all tests.
38964 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
38966 * include/bits/dlfcn.h: Likewise.
38967 * include/langinfo.h: Likewise.
38968 * include/monetary.h: Likewise.
38969 * include/sys/poll.h: Likewise.
38971 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
38973 * posix/spawn.h: Define __need_sigset_t.
38974 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
38975 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
38976 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
38977 to get sigevent_t only.
38978 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
38979 only for __USE_GNU.
38980 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38981 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38982 process_vm_writev only for __USE_GNU.
38983 * termios/termios.h: Declare tcgetsid also for POSIX2008.
38985 * conform/Makefile: For now ignore errors from run-conformtest.
38986 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
38987 POSIX to avoid namespace pollution. Don't prepend headers.
38988 * conform/data/aio.h-data: Fixes for POSIX testing.
38989 * conform/data/fcntl.h-data: Likewise.
38990 * conform/data/glob.h-data: Likewise.
38991 * conform/data/grp.h-data: Likewise.
38992 * conform/data/pthread.h-data: Likewise.
38993 * conform/data/pwd.h-data: Likewise.
38994 * conform/data/signal.h-data: Likewise.
38995 * conform/data/spawn.h-data: Likewise.
38996 * conform/data/stdio.h-data: Likewise.
38997 * conform/data/stdlib.h-data: Likewise.
38998 * conform/data/stropts.h-data: Likewise.
38999 * conform/data/sys/mman.h-data: Likewise.
39000 * conform/data/sys/stat.h-data: Likewise.
39001 * conform/data/sys/types.h-data: Likewise.
39002 * conform/data/sys/wait.h-data: Likewise.
39003 * conform/data/time.h-data: Likewise.
39004 * conform/data/unistd.h-data: Likewise.
39005 * conform/data/utime.h-data: Likewise.
39007 * io/sys/stat.h: fchmod was always in POSIX.
39008 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39009 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39010 * rt/aio.h: Define __need_timespec before including <time.h>.
39011 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39012 struct. Add forward declaration of pthread_attr_t and use it in
39014 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39015 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39016 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39017 always remove CLK_TCK definition.
39019 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
39021 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39023 2012-02-25 Ulrich Drepper <drepper@gmail.com>
39025 * conform/run-conformtest.sh: New file.
39026 * conform/Makefile: Run run-conformtest for tests.
39027 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
39030 * conform/data/uchar.h-data: New file.
39031 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39032 * conform/data/arpa/inet.h-data: Likewise.
39033 * conform/data/assert.h-data: Likewise.
39034 * conform/data/complex.h-data: Likewise.
39035 * conform/data/cpio.h-data: Likewise.
39036 * conform/data/ctype.h-data: Likewise.
39037 * conform/data/dirent.h-data: Likewise.
39038 * conform/data/dlfcn.h-data: Likewise.
39039 * conform/data/errno.h-data: Likewise.
39040 * conform/data/fcntl.h-data: Likewise.
39041 * conform/data/float.h-data: Likewise.
39042 * conform/data/fmtmsg.h-data: Likewise.
39043 * conform/data/fnmatch.h-data: Likewise.
39044 * conform/data/ftw.h-data: Likewise.
39045 * conform/data/glob.h-data: Likewise.
39046 * conform/data/grp.h-data: Likewise.
39047 * conform/data/iconv.h-data: Likewise.
39048 * conform/data/inttypes.h-data: Likewise.
39049 * conform/data/langinfo.h-data: Likewise.
39050 * conform/data/libgen.h-data: Likewise.
39051 * conform/data/limits.h-data: Likewise.
39052 * conform/data/locale.h-data: Likewise.
39053 * conform/data/math.h-data: Likewise.
39054 * conform/data/monetary.h-data: Likewise.
39055 * conform/data/mqueue.h-data: Likewise.
39056 * conform/data/ndbm.h-data: Likewise.
39057 * conform/data/net/if.h-data: Likewise.
39058 * conform/data/netdb.h-data: Likewise.
39059 * conform/data/netinet/in.h-data: Likewise.
39060 * conform/data/nl_types.h-data: Likewise.
39061 * conform/data/poll.h-data: Likewise.
39062 * conform/data/pthread.h-data: Likewise.
39063 * conform/data/pwd.h-data: Likewise.
39064 * conform/data/regex.h-data: Likewise.
39065 * conform/data/sched.h-data: Likewise.
39066 * conform/data/search.h-data: Likewise.
39067 * conform/data/semaphore.h-data: Likewise.
39068 * conform/data/setjmp.h-data: Likewise.
39069 * conform/data/signal.h-data: Likewise.
39070 * conform/data/spawn.h-data: Likewise.
39071 * conform/data/stdarg.h-data: Likewise.
39072 * conform/data/stdio.h-data: Likewise.
39073 * conform/data/stdlib.h-data: Likewise.
39074 * conform/data/string.h-data: Likewise.
39075 * conform/data/strings.h-data: Likewise.
39076 * conform/data/stropts.h-data: Likewise.
39077 * conform/data/sys/ipc.h-data: Likewise.
39078 * conform/data/sys/mman.h-data: Likewise.
39079 * conform/data/sys/msg.h-data: Likewise.
39080 * conform/data/sys/resource.h-data: Likewise.
39081 * conform/data/sys/select.h-data: Likewise.
39082 * conform/data/sys/sem.h-data: Likewise.
39083 * conform/data/sys/shm.h-data: Likewise.
39084 * conform/data/sys/socket.h-data: Likewise.
39085 * conform/data/sys/stat.h-data: Likewise.
39086 * conform/data/sys/statvfs.h-data: Likewise.
39087 * conform/data/sys/time.h-data: Likewise.
39088 * conform/data/sys/timeb.h-data: Likewise.
39089 * conform/data/sys/times.h-data: Likewise.
39090 * conform/data/sys/types.h-data: Likewise.
39091 * conform/data/sys/uio.h-data: Likewise.
39092 * conform/data/sys/un.h-data: Likewise.
39093 * conform/data/sys/utsname.h-data: Likewise.
39094 * conform/data/sys/wait.h-data: Likewise.
39095 * conform/data/syslog.h-data: Likewise.
39096 * conform/data/tar.h-data: Likewise.
39097 * conform/data/termios.h-data: Likewise.
39098 * conform/data/utime.h-data: Likewise.
39099 * conform/data/utmpx.h-data: Likewise.
39100 * conform/data/varargs.h-data: Likewise.
39101 * conform/data/wchar.h-data: Likewise.
39102 * conform/data/wctype.h-data: Likewise.
39103 * conform/data/wordexp.h-data: Likewise.
39105 * include/stropts.h: New file.
39106 * include/uchar.h: New file.
39107 * include/aio.h: Changes to allow conformtest.pl to use the headers.
39108 * include/assert.h: Likewise.
39109 * include/ctype.h: Likewise.
39110 * include/dirent.h: Likewise.
39111 * include/dlfcn.h: Likewise.
39112 * include/fcntl.h: Likewise.
39113 * include/fnmatch.h: Likewise.
39114 * include/glob.h: Likewise.
39115 * include/grp.h: Likewise.
39116 * include/libio.h: Likewise.
39117 * include/locale.h: Likewise.
39118 * include/math.h: Likewise.
39119 * include/net/if.h: Likewise.
39120 * include/netdb.h: Likewise.
39121 * include/netinet/in.h: Likewise.
39122 * include/pthread.h: Likewise.
39123 * include/pwd.h: Likewise.
39124 * include/regex.h: Likewise.
39125 * include/sched.h: Likewise.
39126 * include/search.h: Likewise.
39127 * include/setjmp.h: Likewise.
39128 * include/signal.h: Likewise.
39129 * include/stdio.h: Likewise.
39130 * include/stdlib.h: Likewise.
39131 * include/string.h: Likewise.
39132 * include/sys/cdefs.h: Likewise.
39133 * include/sys/mman.h: Likewise.
39134 * include/sys/msg.h: Likewise.
39135 * include/sys/resource.h: Likewise.
39136 * include/sys/select.h: Likewise.
39137 * include/sys/socket.h: Likewise.
39138 * include/sys/stat.h: Likewise.
39139 * include/sys/statvfs.h: Likewise.
39140 * include/sys/time.h: Likewise.
39141 * include/sys/times.h: Likewise.
39142 * include/sys/uio.h: Likewise.
39143 * include/sys/utsname.h: Likewise.
39144 * include/sys/wait.h: Likewise.
39145 * include/termios.h: Likewise.
39146 * include/time.h: Likewise.
39147 * include/ulimit.h: Likewise.
39148 * include/unistd.h: Likewise.
39149 * include/utime.h: Likewise.
39150 * include/wchar.h: Likewise.
39151 * include/wctype.h: Likewise.
39152 * include/wordexp.h: Likewise.
39154 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
39156 * time/time.h: TIME_UTC must be a macro.
39157 Make timespec_get available for ISO C11 only as well.
39159 2012-02-24 Ulrich Drepper <drepper@gmail.com>
39161 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
39162 Reported by Peng Haitao <penght@cn.fujitsu.com>.
39164 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39166 * configure.in: Use -o not -a in test for unsupported multi-arch.
39168 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39170 * manual/texinfo.tex: Update to version 2012-01-19.16.
39172 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39174 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
39176 2012-02-24 Roland McGrath <roland@hack.frob.com>
39179 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
39180 * manual/fdl-1.3.texi: New file.
39181 * manual/fdl-1.1.texi: File removed.
39184 * manual/libc.texinfo (FDL_VERSION): New @set.
39185 Use it for mention of FDL in cover text.
39186 (Documentation License): Use it in @include file name.
39188 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39189 Roland McGrath <roland@hack.frob.com>
39192 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
39193 (not LONG_LONG_MAX and LONG_LONG_MIN.
39194 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
39195 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
39197 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
39199 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39203 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
39204 manipulate bits before adding and subtracting TWO23[sx].
39205 * math/libm-test.inc (nearbyint_test): Add more tests.
39207 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39210 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
39211 bits before adding and subtracting TWO23[sx].
39212 * math/libm-test.inc (rint_test): Add more tests.
39213 (rint_test_tonearest): Likewise.
39214 (rint_test_towardzero): Likewise.
39215 (rint_test_downward): Likewise.
39216 (rint_test_upward: Likewise.
39218 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39221 * include/stdc-predef.h: New file. Extracted from features.h.
39222 * include/features.h: Include stdc-predef.h.
39223 * Makefile (headers): Add stdc-predef.h.
39224 * CONFORMANCE (Compiler limitations): Update.
39226 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39228 * manual/libc.texinfo (VERSION, UPDATED): Revert.
39230 2012-02-21 David S. Miller <davem@davemloft.net>
39232 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
39233 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39235 2012-02-20 David S. Miller <davem@davemloft.net>
39237 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
39238 using a normal save/restore sequence, rather than allocating a
39239 dummy stack frame just to store a frame pointer and restore.
39240 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39242 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39244 * manual/install.texi: Fix stray word in line-wrapped comment.
39246 2012-02-20 David S. Miller <davem@davemloft.net>
39248 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
39249 both binutils and gcc support GOTDATA.
39251 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
39252 "rd %pc" in the PIC register setup sequences.
39254 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
39255 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39256 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39257 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39258 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39259 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39260 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39261 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39262 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
39263 (SYSCALL_ERROR_HANDLER): Likewise.
39264 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39265 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39266 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
39267 (SYSCALL_ERROR_HANDLER): Likewise.
39269 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
39270 (HAVE_GCC_GOTDATA): New.
39271 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
39272 relocation support in both binutils and gcc.
39273 * sysdeps/sparc/elf/configure: Regenerate.
39275 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
39276 * sysdeps/sparc/sparc32/elf/configure: Delete.
39277 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
39278 * sysdeps/sparc/sparc64/elf/configure: Delete.
39279 * sysdeps/sparc/elf/configure.in: New file.
39280 * sysdeps/sparc/elf/configure: Generate.
39282 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
39283 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
39284 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39285 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
39286 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
39288 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39290 * manual/install.texi: Do not mention specific glibc version
39292 * manual/libc.texinfo (VERSION, UPDATED): Update.
39293 (@copying): Use @copyright{} and range of years.
39295 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39298 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
39299 [crti.S not in sysdirs] (generated): Do not append.
39300 [crti.S not in sysdirs] (omit-deps): Likewise.
39301 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
39302 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
39303 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
39304 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
39305 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
39307 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
39308 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
39309 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
39310 * csu/defs.awk: Remove file.
39311 * sysdeps/generic/initfini.c: Likewise.
39312 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
39314 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
39317 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39319 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
39320 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
39321 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
39322 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
39323 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39324 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
39326 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
39327 (__EPOLL_PACKED): Define to empty if not defined by
39329 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
39330 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39333 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39335 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
39336 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
39337 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
39338 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
39340 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
39341 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39344 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39346 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
39348 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39349 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39350 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
39351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39353 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
39355 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39356 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39358 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
39360 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
39361 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
39363 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
39365 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
39368 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
39370 * math/w_acos.c: Use non-signaling floating-point comparisons.
39371 * math/w_acosf.c: Likewise.
39372 * math/w_acosh.c: Likewise.
39373 * math/w_acoshf.c: Likewise.
39374 * math/w_acoshl.c: Likewise.
39375 * math/w_acosl.c: Likewise.
39376 * math/w_asin.c: Likewise.
39377 * math/w_asinf.c: Likewise.
39378 * math/w_asinl.c: Likewise.
39379 * math/w_atanh.c: Likewise.
39380 * math/w_atanhf.c: Likewise.
39381 * math/w_atanhl.c: Likewise.
39382 * math/w_exp2.c: Likewise.
39383 * math/w_exp2f.c: Likewise.
39384 * math/w_exp2l.c: Likewise.
39385 * math/w_j0.c: Likewise.
39386 * math/w_j0f.c: Likewise.
39387 * math/w_j0l.c: Likewise.
39388 * math/w_j1.c: Likewise.
39389 * math/w_j1f.c: Likewise.
39390 * math/w_j1l.c: Likewise.
39391 * math/w_jn.c: Likewise.
39392 * math/w_jnf.c: Likewise.
39393 * math/w_log.c: Likewise.
39394 * math/w_log10.c: Likewise.
39395 * math/w_log10f.c: Likewise.
39396 * math/w_log10l.c: Likewise.
39397 * math/w_log2.c: Likewise.
39398 * math/w_log2f.c: Likewise.
39399 * math/w_log2l.c: Likewise.
39400 * math/w_logf.c: Likewise.
39401 * math/w_logl.c: Likewise.
39402 * math/w_sqrt.c: Likewise.
39403 * math/w_sqrtf.c: Likewise.
39404 * math/w_sqrtl.c: Likewise.
39405 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39406 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
39407 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39408 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39409 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39411 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39414 * manual/string.texi (strnlen): Use correct parameter name in
39415 equivalent expression.
39417 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39420 * manual/users.texi (seteuid): Consistently use neweuid for
39423 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39426 * manual/nss.texi (Services in the NSS configuration): Correct
39427 list of services in example configuration file.
39429 2012-02-19 Nick Bowler <nbowler@draconx.ca>
39432 * manual/arith.texi: Remove statements about negative zero
39433 behaving identically to zero.
39435 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39438 * manual/install.texi: Do not document upgrading from libc5.
39440 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39443 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
39445 2012-02-18 David S. Miller <davem@davemloft.net>
39447 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
39448 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
39449 %o7 across the call.
39450 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
39452 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
39453 SETUP_PIC_REG_LEAF.
39454 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39455 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
39456 * sysdeps/sparc/crtn.S: Likewise.
39458 2012-02-17 Ulrich Drepper <drepper@gmail.com>
39460 * aout/Makefile: Remove.
39462 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
39465 * manual/examples/argp-ex1.c (main): Format definition in GNU
39467 * manual/examples/argp-ex2.c (main): Likewise.
39468 * manual/examples/argp-ex3.c (main): Likewise.
39469 * manual/examples/argp-ex4.c (main): Likewise.
39470 * manual/examples/longopt.c (main): Use new-style prototype
39472 * manual/examples/strncat.c (main): Specify return type and use
39473 (void) for arguments.
39474 * manual/examples/subopt.c (main): Use char **argv argument.
39476 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39479 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
39482 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
39485 * manual/string.texi (strchr): Change when strchrnul is
39488 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
39491 * manual/locale.texi (setlocale): Document LOCPATH.
39493 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39496 * manual/process.texi (execle): Move @dots{} before last argument.
39498 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
39501 * manual/charset.texi (Generic Charset Conversion): Fix typo
39502 (LC_TYPE -> LC_CTYPE).
39504 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
39507 * manual/arith.texi (scalbn): Use @var{} on parameter names.
39508 (scalbnf): Likewise.
39509 (scalbnl): Likewise.
39510 (scalbln): Likewise.
39511 (scalblnf): Likewise.
39512 (scalblnl): Likewise.
39513 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
39514 (vwarnx): Likewise.
39517 * manual/filesys.texi (telldir): Use braces around return type.
39518 * manual/llio.texi (mmap): Add space after comma.
39519 (mmap64): Likewise.
39520 * manual/math.texi (jn): Use @var{} on parameter names.
39526 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
39528 * manual/resource.texi (ulimit): Use @dots{} instead of literal
39530 (sched_get_priority_min): Remove semicolon on @deftypefun line.
39531 (sched_get_priority_max): Likewise.
39532 * manual/signal.texi (sigvec): Add space after comma.
39533 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
39535 (if_indextoname): Likewise.
39536 (if_freenameindex): Likewise.
39537 (sendto): Use ',' instead of '.' in prototype.
39538 * manual/startup.texi (syscall): Use @dots{} instead of literal
39540 * manual/stdio.texi (__fpending): Separate initial words of
39541 paragraph from @deftypefun line.
39542 * manual/syslog.texi (syslog): Use @dots{} instead of literal
39544 (vsyslog): Use @var{} on parameter names.
39545 * manual/terminal.texi (stty): Use @var{} on parameter names.
39546 * manual/users.texi (getutmp): Use @var{} on parameter names.
39547 (getutmpx): Likewise.
39549 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39552 * manual/stdio.texi (fopen): Fix typos in description of
39555 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
39558 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
39559 get clock_id definition.
39561 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
39564 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
39565 (madvise): Cast every argument to void on its own.
39567 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39570 * manual/startup.texi (Exit Status): Fix typo.
39572 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39575 * manual/examples/argp-ex1.c: Include <stdlib.h>.
39576 * manual/examples/argp-ex2.c: Likewise.
39577 * manual/examples/argp-ex3.c: Likewise.
39579 2012-02-16 Richard Henderson <rth@redhat.com>
39581 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
39582 * sysdeps/s390/s390-32/initfini.c: Remove.
39583 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
39584 * sysdeps/s390/s390-64/initfini.c: Remove.
39586 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39588 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
39589 compiler output for sysdeps/generic/initfini.c.
39590 * sysdeps/sh/elf/initfini.c: Remove file.
39592 2012-02-16 David S. Miller <davem@davemloft.net>
39595 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
39597 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
39598 * sysdeps/sparc/crti.S: New file.
39599 * sysdeps/sparc/crtn.S: New file.
39600 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
39601 * sysdeps/sparc/sparc64/Makefile: Likewise.
39603 2012-02-15 Mike Frysinger <vapier@gentoo.org>
39606 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
39608 2012-02-15 Roland McGrath <roland@hack.frob.com>
39611 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
39613 * mach/devstream.c (cookie_io_functions_t): Macro removed.
39614 (write, read, close): Likewise.
39615 Patch by Aurelien Jarno <aurelien@aurel32.net>.
39617 2012-02-15 Joseph Myers <joseph@codesourcery.com>
39619 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
39620 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
39621 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
39622 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
39624 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
39625 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39628 2012-02-14 Marek Polacek <polacek@redhat.com>
39630 * sysdeps/x86_64/crti.S: New file.
39631 * sysdeps/x86_64/crtn.S: New file.
39632 * sysdeps/x86_64/elf/initfini.c: Remove file.
39634 2012-02-13 Joseph Myers <joseph@codesourcery.com>
39636 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
39637 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
39638 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
39639 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
39641 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
39642 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39645 2012-02-13 Joseph Myers <joseph@codesourcery.com>
39647 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
39648 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
39649 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
39650 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
39652 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
39653 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39656 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
39658 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
39659 __feraiseexcept instead of feraiseexcept.
39661 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
39662 nanosleep invocations.
39663 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
39664 strings, and add error checking for a nanosleep invocations.
39666 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
39668 Replace FSF snail mail address with URLs, as per GNU coding standards.
39669 Most of the snail mail addresses were wrong anyway, and omitting
39670 them makes the source code easier to maintain. Almost all of the
39671 changes are to license notices and to locale LC_IDENTIFICATION
39672 addresses, except for this one:
39673 * manual/libc.texinfo: In "Published by", give the FSF's URL,
39674 not its snail mail address.
39676 2012-02-09 Richard Henderson <rth@twiddle.net>
39678 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
39679 of kernel-features.h.
39681 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
39683 2012-02-08 Marek Polacek <polacek@redhat.com>
39685 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
39686 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
39687 * sysdeps/gnu/_G_config.h: Likewise.
39688 * sysdeps/generic/_G_config.h: Likewise.
39690 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
39692 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
39694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39696 * sysdeps/powerpc/powerpc32/crti.S: New file.
39697 * sysdeps/powerpc/powerpc32/crtn.S: New file.
39698 * sysdeps/powerpc/powerpc64/crti.S: New file.
39699 * sysdeps/powerpc/powerpc64/crtn.S: New file.
39701 * Makeconfig (have-initfini): Don't set.
39702 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
39703 * configure.in (nopic_initfini): Don't substitute.
39704 * config.h.in (HAVE_INITFINI): Don't #undef.
39705 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
39706 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
39708 2012-02-08 Joseph Myers <joseph@codesourcery.com>
39710 Support crti.S and crtn.S provided directly by architectures.
39711 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
39712 [crti.S in sysdirs] (omit-deps): Likewise.
39713 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
39714 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
39715 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
39716 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
39717 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
39718 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
39719 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
39720 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
39721 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
39722 compiler output for sysdeps/generic/initfini.c.
39723 * sysdeps/i386/elf/Makefile: Remove file.
39724 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
39726 2012-02-07 Marek Polacek <polacek@redhat.com>
39728 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
39729 * sysdeps/gnu/_G_config.h: Likewise.
39730 * sysdeps/mach/hurd/_G_config.h: Likewise.
39732 2012-02-07 Marek Polacek <polacek@redhat.com>
39734 * math/Makefile (tests): Add tst-CMPLX2.
39735 * math/tst-CMPLX2.c: New file.
39737 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
39739 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39741 * math/libm-test.inc (jn_test): Add missing L suffix.
39743 2012-02-06 Marek Polacek <polacek@redhat.com>
39745 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
39746 * sysdeps/i386/fpu/e_powf.S: Likewise.
39747 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39748 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39749 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39750 * sysdeps/i386/fpu/e_pow.S: Likewise.
39751 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39752 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39753 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39754 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39755 * sysdeps/i386/fpu/e_log2.S: Likewise.
39756 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39757 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39758 * sysdeps/i386/fpu/e_powl.S: Likewise.
39759 * sysdeps/i386/fpu/s_log1p.S: Likewise.
39760 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39761 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39762 * sysdeps/i386/fpu/e_logl.S: Likewise.
39763 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39764 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
39765 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39766 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39767 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39768 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39769 * sysdeps/i386/fpu/e_log.S: Likewise.
39770 * sysdeps/i386/fpu/s_cexp.S: Likewise.
39771 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39772 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
39773 * sysdeps/i386/fpu/e_logf.S: Likewise.
39774 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39775 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39776 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
39777 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39778 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39779 * sysdeps/i386/fpu/e_log10.S: Likewise.
39780 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39781 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39782 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39783 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39784 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39785 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39786 * sysdeps/i386/asm-syntax.h: Likewise.
39787 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39788 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39789 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39790 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
39791 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
39792 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39793 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39794 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39795 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39796 * sysdeps/powerpc/sysdep.h: Likewise.
39797 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
39798 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39800 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39803 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
39805 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39807 * sysdeps/i386/sysdep.h: Include <features.h>.
39808 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
39811 2012-02-05 Joseph Myers <joseph@codesourcery.com>
39813 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
39815 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
39818 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39820 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
39821 (SETUP_PIC_REG): Use GET_PC_THUNK.
39822 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
39825 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39827 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
39828 for non-PIC compilation.
39829 (SETUP_PIC_REG): Add .p2align directive.
39830 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
39831 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39832 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39833 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39834 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39835 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39836 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39837 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39838 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39839 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39840 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39841 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39842 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39843 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39844 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39845 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39846 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39847 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39848 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39849 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39850 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39851 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39852 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39853 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39854 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39855 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39856 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39857 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39858 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39859 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39860 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39861 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39862 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39863 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39864 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39865 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39866 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39867 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39868 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39869 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39870 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39872 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39874 * math/tst-CMPLX.c: Include <stdio.h>.
39876 2012-01-31 Joseph Myers <joseph@codesourcery.com>
39878 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
39880 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39881 * sysdeps/sparc/bits/mathdef.h: Likewise.
39883 2012-01-31 Marek Polacek <polacek@redhat.com>
39885 * libio/libio.h: Don't define _PARAMS.
39886 * locale/programs/config.h: Don't define PARAMS.
39887 * stdlib/strtol_l.c: Likewise.
39888 (__strtol_l): Remove PARAMS from the prototype.
39890 2012-01-31 Ulrich Drepper <drepper@gmail.com>
39892 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
39893 names. Just use the correct names. Remove unnecessary wrapper
39895 * malloc/arena.c: Likewise.
39896 * malloc/hooks.c: Likewise.
39898 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
39899 ARENA_TEST says not to. Simplify test for creation of a new arena.
39900 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
39902 2012-01-30 Ulrich Drepper <drepper@gmail.com>
39904 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
39906 (update_get_addr): New function.
39907 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
39908 GET_ADDR_MODULE parameter.
39910 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39912 * crypt/cert.c: Remove __STDC__ conditionals.
39913 * crypt/crypt-entry.c: Likewise.
39914 * crypt/crypt_util.c: Likewise.
39915 * libio/filedoalloc.c: Likewise.
39916 * libio/fileops.c: Likewise.
39917 * libio/genops.c: Likewise.
39918 * libio/iofclose.c: Likewise.
39919 * libio/iofdopen.c: Likewise.
39920 * libio/iofopen.c: Likewise.
39921 * libio/iofopen64.c: Likewise.
39922 * libio/iogetdelim.c: Likewise.
39923 * libio/iopopen.c: Likewise.
39924 * libio/obprintf.c: Likewise.
39925 * libio/oldfileops.c: Likewise.
39926 * libio/oldiofclose.c: Likewise.
39927 * libio/oldiofdopen.c: Likewise.
39928 * libio/oldiofopen.c: Likewise.
39929 * libio/oldiopopen.c: Likewise.
39930 * libio/wfiledoalloc.c: Likewise.
39931 * libio/wgenops.c: Likewise.
39932 * locale/programs/xmalloc.c: Likewise.
39933 * misc/syslog.c: Likewise.
39934 * stdio-common/xbug.c: Likewise.
39935 * string/memchr.c: Likewise.
39936 * string/memcmp.c: Likewise.
39937 * string/memrchr.c: Likewise.
39938 * string/rawmemchr.c: Likewise.
39939 * sysdeps/posix/getcwd.c: Likewise.
39940 * time/strftime_l.c: Likewise.
39942 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39944 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
39945 * config.make.in (config-cflags-sse2avx): Define.
39946 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
39949 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
39951 * scripts/config.guess: Update from upstream config git repository.
39952 * scripts/config.sub: Likewise.
39954 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
39956 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
39958 (R_TILEPRO_*, R_TILEGX_*): New macros.
39960 * scripts/firstversions.awk: Fix bug in version range handling.
39962 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
39964 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
39966 * include/sys/epoll.h: New file.
39967 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
39970 2012-01-28 Ulrich Drepper <drepper@gmail.com>
39972 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
39973 Avoid unnecessary __WORDSIZE == 64 test.
39974 (fmaxf): Use VEX format if possible.
39979 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
39980 * math/math_private.h: Remove libc_fegetround* and
39982 * sysdeps/i386/configure.in: Check for -msse2avx.
39983 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
39984 also if SSE2AVX is defined.
39985 Remove libc_fegetround* and libc_fesetround*.
39986 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
39987 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
39988 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
39990 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39991 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39992 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39993 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39994 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39996 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
39998 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40000 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40002 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40004 2012-01-27 Ulrich Drepper <drepper@gmail.com>
40007 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40009 * Makeconfig (libm): Define.
40010 * elf/Makefile: Add rules to build and run tst-relsort1.
40011 * elf/tst-relsort1.c: New file.
40012 * elf/tst-relsort1mod1.c: New file.
40013 * elf/tst-relsort1mod2.c: New file.
40015 2012-01-27 Joseph Myers <joseph@codesourcery.com>
40017 * math/s_ldexp.c: Remove __STDC__ conditionals.
40018 * math/s_ldexpf.c: Likewise.
40019 * math/s_ldexpl.c: Likewise.
40020 * math/s_nextafter.c: Likewise.
40021 * math/s_nexttowardf.c: Likewise.
40022 * math/s_significand.c: Likewise.
40023 * math/s_significandf.c: Likewise.
40024 * math/s_significandl.c: Likewise.
40025 * math/w_jnl.c: Likewise.
40026 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40027 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40028 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40029 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40030 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40031 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40032 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40033 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40034 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40035 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40036 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40037 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40038 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40039 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40040 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40041 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40042 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40043 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40044 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40045 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40046 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40047 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40048 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40049 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40050 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40051 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40052 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40053 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40054 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40055 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40056 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40057 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40058 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40059 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40060 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40061 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40062 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40063 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40064 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40065 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40066 * sysdeps/ieee754/k_standard.c: Likewise.
40067 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40068 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40069 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40070 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40071 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40072 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40073 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40074 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40075 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40076 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40077 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40078 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40079 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40080 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40081 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40082 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40083 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40084 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40085 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40086 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40087 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40088 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40089 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40090 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40091 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40092 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40093 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40094 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40095 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40096 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40097 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40098 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
40099 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40100 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40101 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40102 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40103 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
40104 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40105 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40106 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
40107 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
40108 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40109 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40110 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
40111 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40112 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40113 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40114 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40115 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40116 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40117 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
40118 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40119 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40120 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40121 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40122 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40123 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
40124 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40125 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40126 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40127 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40128 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40129 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40130 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40131 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40132 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40133 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40134 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40135 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40136 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40137 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40138 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40139 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40140 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40141 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40142 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40143 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40144 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40145 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40146 * sysdeps/ieee754/s_matherr.c: Likewise.
40147 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40148 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40149 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40150 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40152 2012-01-26 Joseph Myers <joseph@codesourcery.com>
40154 * crypt/md5.h: Remove __STDC__ conditionals.
40155 * libio/libioP.h: Likewise.
40156 * locale/programs/config.h: Likewise.
40157 * sysdeps/generic/sysdep.h: Likewise.
40158 * sysdeps/i386/asm-syntax.h: Likewise.
40159 * sysdeps/s390/asm-syntax.h: Likewise.
40160 * sysdeps/unix/sysdep.h: Likewise.
40161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40164 2012-01-26 Joseph Myers <joseph@codesourcery.com>
40166 * libio/libio.h: Remove __STDC__ conditionals.
40167 * malloc/obstack.h: Likewise.
40168 * math/complex.h: Likewise.
40169 * math/math.h: Likewise.
40170 * sysdeps/generic/_G_config.h: Likewise.
40171 * sysdeps/gnu/_G_config.h: Likewise.
40172 * sysdeps/mach/hurd/_G_config.h: Likewise.
40173 * sysdeps/powerpc/bits/mathdef.h: Likewise.
40174 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40175 * sysdeps/sparc/bits/mathdef.h: Likewise.
40177 2012-01-26 Ulrich Drepper <drepper@gmail.com>
40180 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
40181 Clean up HAS_* macros.
40182 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
40183 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
40185 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
40187 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40188 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40189 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40190 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40191 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40193 2012-01-25 Joseph Myers <joseph@codesourcery.com>
40195 * elf/tst-unique3.cc (gets): Remove declaration.
40196 * elf/tst-unique3lib.cc (gets): Likewise.
40197 * elf/tst-unique3lib2.cc (gets): Likewise.
40198 * elf/tst-unique4.cc (gets): Likewise.
40200 2012-01-24 Ulrich Drepper <drepper@gmail.com>
40202 * include/stdio.h: Add C++ protection. Add gets declarations and
40204 * debug/tst-chk1.c: Don't declare gets here.
40205 * stdio-common/tst-gets.c: Likewise.
40207 2012-01-24 Joseph Myers <joseph@codesourcery.com>
40209 * posix/glob: Remove directory.
40211 2012-01-24 Joseph Myers <joseph@codesourcery.com>
40213 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
40215 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
40217 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
40218 of the non-standard EPFNOSUPPORT.
40220 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
40222 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
40223 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
40224 ANYWHERE set to 1 only on KERN_NO_SPACE error.
40226 2012-01-21 Ulrich Drepper <drepper@gmail.com>
40228 * wcsmbs/uchar.h: Test __STDC_VERSION__.
40230 2012-01-20 Ulrich Drepper <drepper@gmail.com>
40232 * nscd/aicache.c (addhstaiX): Do not cache negative results of
40234 * nscd/grpcache.c (cache_addgr): Likewise.
40235 * nscd/hstcache.c (cache_addhst): Likewise.
40236 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40237 * nscd/pwdcache.c (cache_addpw): Likewise.
40238 * nscd/servicescache.c (cache_addserv): Likewise.
40240 2012-01-16 Ulrich Drepper <drepper@gmail.com>
40242 * malloc/malloc.c: Various cleanups.
40243 * malloc/hooks.c: Likewise.
40245 * stdlib/Makefile (tests): Add bug-fmtmsg1.
40246 * stdlib/bug-fmtmsg1.c: New file.
40248 * stdlib/fmtmsg.c (init): Add missing unlock.
40249 Patch by Peng Haitao <penght@cn.fujitsu.com>.
40251 2012-01-12 Marek Polacek <polacek@redhat.com>
40253 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
40256 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40258 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
40259 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
40260 macro to ensure uniqueness of label name.
40261 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40262 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40264 2012-01-11 Ulrich Drepper <drepper@gmail.com>
40266 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
40268 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
40269 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40270 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40271 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
40273 2012-01-10 Ulrich Drepper <drepper@gmail.com>
40275 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
40277 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
40278 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40279 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40281 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
40283 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
40284 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40285 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40286 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
40288 * math/bits/math-finite.h: Add ldexp support.
40290 2012-01-10 Marek Polacek <polacek@redhat.com>
40292 * locale/programs/localedef.h (show_archive_content): Add noreturn
40295 2012-01-09 Ulrich Drepper <drepper@gmail.com>
40297 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
40299 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40301 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
40303 * io/Makefile (headers): Add bits/poll2.h.
40305 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
40307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
40308 typo #include statement.
40310 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40312 * include/sys/cdefs.h: Define __attribute_alloc_size.
40313 * catgets/gencat.c: Add alloc_size attribute and apply consistently
40314 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
40315 * elf/pldd.c: Likewise.
40316 * iconv/iconv_charmap.c: Likewise.
40317 * iconv/iconvconfig.c: Likewise.
40318 * iconv/strtab.c: Likewise.
40319 * locale/programs/locale.c: Likewise.
40320 * locale/programs/localedef.h: Likewise.
40321 * locale/programs/simple-hash.c: Likewise.
40322 * nscd/nscd.h: Likewise.
40323 * nss/makedb.c: Likewise.
40324 * sysdeps/generic/ldconfig.h: Likewise.
40325 * locale/programs/localedef.c: Remove xmalloc prototype.
40326 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
40328 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40330 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
40333 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40335 * math/Makefile (tests): Add tst-CMPLX.
40336 * math/tst-CMPLX.c: New file.
40338 * math/complex.h (CMPLXL): Fix typo.
40340 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
40341 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
40343 * debug/tst-chk1.c: Add poll and ppoll tests.
40344 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
40345 * include/sys/poll.h: Add hidden proto for ppoll.
40346 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
40347 * sysdeps/mach/hurd/ppoll.c: Likewise.
40348 * io/ppoll.c: Likewise.
40349 * debug/poll_chk.c: New file.
40350 * debug/ppoll_chk.c: New file.
40351 * include/bits/poll2.h: New file.
40352 * io/bits/poll2.h: New file.
40355 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
40357 * configure.in: static is always set to yes. Remove.
40358 * config.make.in: Don't set build-static.
40359 * Makeconfig: Remove use of build-static.
40360 * dlfcn/Makefile: Likewise.
40361 * elf/Makefile: Likewise.
40362 * math/Makefile: Likewise.
40363 * misc/Makefile: Likewise.
40364 * nptl/Makefile: Likewise.
40365 * sysdeps/mach/hurd/Makefile: Likewise.
40367 * configure.in: PWD_P is not used anymore.
40368 * config.make.in: Remove PWD_P entry.
40370 * configure.in: Remove last remnants of RANLIB.
40371 No need to check for signed size_t anymore.
40372 Don't set libc_commonpagesize and libc_relro_required here for Alpha
40374 Remove __builtin_expect test because we require at least gcc 3.4.
40375 * aclocal.m4: Likewise.
40377 * wcsmbs/mbrtoc16.c: Implement using towc function.
40378 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
40379 * wcsmbs/wcsmbsload.c: Likewise.
40380 * iconv/gconv_simple.c: Likewise.
40381 * iconv/gconv_int.h: Likewise.
40382 * iconv/gconv_builtin.h: Likewise.
40383 * iconv/iconv_prog.c: Remove CHAR16 handling.
40385 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
40387 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
40389 * configure.in: Remove --with-elf and --enable-bounded options.
40390 Dont set base_machine for ia64. More non-ELF conditions removed.
40391 Remove testing and setting of leading underscore information.
40392 * config.make.in (build-bounded): Set to no.
40393 * config.h.in: Remove NO_UNDERSCORES entry.
40394 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
40396 * csu/start.c: Remove !NO_UNDERSCORE code.
40397 * locale/localeinfo.h: Likewise.
40398 * sysdeps/generic/machine-gmon.h: Likewise.
40399 * sysdeps/generic/sysdep.h: Likewise.
40400 * sysdeps/i386/sysdep.h: Likewise.
40401 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40402 * sysdeps/mach/sysdep.h: Likewise.
40403 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40404 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40405 * sysdeps/sh/sysdep.h: Likewise.
40406 * sysdeps/sparc/sparc32/alloca.S: Likewise.
40407 * sysdeps/unix/i386/sysdep.S: Likewise.
40408 * sysdeps/unix/sparc/start.c: Likewise.
40409 * sysdeps/unix/sparc/sysdep.S: Likewise.
40410 * sysdeps/unix/sparc/sysdep.h: Likewise.
40411 * sysdeps/unix/start.c: Likewise.
40412 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40413 * sysdeps/x86_64/sysdep.h: Likewise.
40415 2012-01-07 Ulrich Drepper <drepper@gmail.com>
40418 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
40420 * argp/argp-fmtstream.h: Use const instead __const.
40421 * argp/argp.h: Likewise.
40422 * assert/assert.h: Likewise.
40423 * bits/fenv.h: Likewise.
40424 * bits/sched.h: Likewise.
40425 * bits/sigset.h: Likewise.
40426 * bits/sigthread.h: Likewise.
40427 * catgets/nl_types.h: Likewise.
40428 * conform/data/pthread.h-data: Likewise.
40429 * crypt/crypt-private.h: Likewise.
40430 * crypt/crypt.h: Likewise.
40431 * crypt/crypt_util.c: Likewise.
40432 * ctype/ctype.h: Likewise.
40433 * debug/execinfo.h: Likewise.
40434 * debug/mbsnrtowcs_chk.c: Likewise.
40435 * debug/mbsrtowcs_chk.c: Likewise.
40436 * debug/wcsnrtombs_chk.c: Likewise.
40437 * debug/wcsrtombs_chk.c: Likewise.
40438 * debug/wcstombs_chk.c: Likewise.
40439 * dirent/dirent.h: Likewise.
40440 * dlfcn/dlfcn.h: Likewise.
40441 * elf/neededtest4.c: Likewise.
40442 * grp/grp.h: Likewise.
40443 * gshadow/gshadow.h: Likewise.
40444 * iconv/gconv.h: Likewise.
40445 * iconv/gconv_int.h: Likewise.
40446 * iconv/gconv_simple.c: Likewise.
40447 * iconv/iconv.h: Likewise.
40448 * iconv/loop.c: Likewise.
40449 * iconv/skeleton.c: Likewise.
40450 * include/aio.h: Likewise.
40451 * include/aliases.h: Likewise.
40452 * include/argz.h: Likewise.
40453 * include/arpa/inet.h: Likewise.
40454 * include/assert.h: Likewise.
40455 * include/dirent.h: Likewise.
40456 * include/dlfcn.h: Likewise.
40457 * include/execinfo.h: Likewise.
40458 * include/fcntl.h: Likewise.
40459 * include/fenv.h: Likewise.
40460 * include/glob.h: Likewise.
40461 * include/grp.h: Likewise.
40462 * include/libintl.h: Likewise.
40463 * include/mntent.h: Likewise.
40464 * include/netdb.h: Likewise.
40465 * include/pwd.h: Likewise.
40466 * include/rpc/netdb.h: Likewise.
40467 * include/sched.h: Likewise.
40468 * include/search.h: Likewise.
40469 * include/shadow.h: Likewise.
40470 * include/signal.h: Likewise.
40471 * include/stdio.h: Likewise.
40472 * include/stdlib.h: Likewise.
40473 * include/string.h: Likewise.
40474 * include/sys/socket.h: Likewise.
40475 * include/sys/stat.h: Likewise.
40476 * include/sys/statfs.h: Likewise.
40477 * include/sys/statvfs.h: Likewise.
40478 * include/sys/syslog.h: Likewise.
40479 * include/sys/time.h: Likewise.
40480 * include/sys/uio.h: Likewise.
40481 * include/time.h: Likewise.
40482 * include/unistd.h: Likewise.
40483 * include/utmp.h: Likewise.
40484 * include/wchar.h: Likewise.
40485 * include/wctype.h: Likewise.
40486 * inet/aliases.h: Likewise.
40487 * inet/arpa/inet.h: Likewise.
40488 * inet/netinet/ether.h: Likewise.
40489 * inet/netinet/in.h: Likewise.
40490 * intl/libintl.h: Likewise.
40491 * io/bits/fcntl2.h: Likewise.
40492 * io/fcntl.h: Likewise.
40493 * io/ftw.h: Likewise.
40494 * io/sys/poll.h: Likewise.
40495 * io/sys/stat.h: Likewise.
40496 * io/sys/statfs.h: Likewise.
40497 * io/sys/statvfs.h: Likewise.
40498 * io/utime.h: Likewise.
40499 * libio/bits/stdio.h: Likewise.
40500 * libio/bits/stdio2.h: Likewise.
40501 * libio/libio.h: Likewise.
40502 * libio/libioP.h: Likewise.
40503 * libio/stdio.h: Likewise.
40504 * locale/lc-ctype.c: Likewise.
40505 * locale/locale.h: Likewise.
40506 * login/utmp.h: Likewise.
40507 * malloc/arena.c: Likewise.
40508 * malloc/malloc.c: Likewise.
40509 * malloc/malloc.h: Likewise.
40510 * malloc/mcheck.c: Likewise.
40511 * malloc/mtrace.c: Likewise.
40512 * math/bits/mathcalls.h: Likewise.
40513 * math/fenv.h: Likewise.
40514 * math/math_private.h: Likewise.
40515 * misc/bits/error.h: Likewise.
40516 * misc/bits/syslog.h: Likewise.
40517 * misc/err.h: Likewise.
40518 * misc/error.h: Likewise.
40519 * misc/fstab.h: Likewise.
40520 * misc/mntent.h: Likewise.
40521 * misc/regexp.h: Likewise.
40522 * misc/search.h: Likewise.
40523 * misc/sgtty.h: Likewise.
40524 * misc/sys/mman.h: Likewise.
40525 * misc/sys/syslog.h: Likewise.
40526 * misc/sys/uio.h: Likewise.
40527 * misc/sys/xattr.h: Likewise.
40528 * misc/ttyent.h: Likewise.
40529 * nis/rpcsvc/ypclnt.h: Likewise.
40530 * nss/nss.h: Likewise.
40531 * posix/bits/unistd.h: Likewise.
40532 * posix/fnmatch.h: Likewise.
40533 * posix/glob.h: Likewise.
40534 * posix/sched.h: Likewise.
40535 * posix/spawn.h: Likewise.
40536 * posix/sys/wait.h: Likewise.
40537 * posix/unistd.h: Likewise.
40538 * posix/wordexp.h: Likewise.
40539 * pwd/pwd.h: Likewise.
40540 * resolv/netdb.h: Likewise.
40541 * resource/sys/resource.h: Likewise.
40542 * rt/aio.h: Likewise.
40543 * rt/bits/mqueue2.h: Likewise.
40544 * rt/mqueue.h: Likewise.
40545 * shadow/shadow.h: Likewise.
40546 * signal/signal.h: Likewise.
40547 * socket/send.c: Likewise.
40548 * socket/sendto.c: Likewise.
40549 * socket/sys/socket.h: Likewise.
40550 * stdio-common/printf.h: Likewise.
40551 * stdlib/bits/stdlib.h: Likewise.
40552 * stdlib/fmtmsg.h: Likewise.
40553 * stdlib/monetary.h: Likewise.
40554 * stdlib/stdlib.h: Likewise.
40555 * stdlib/ucontext.h: Likewise.
40556 * streams/stropts.h: Likewise.
40557 * string/argz.h: Likewise.
40558 * string/bits/string2.h: Likewise.
40559 * string/string.h: Likewise.
40560 * string/strings.h: Likewise.
40561 * sunrpc/rpc/auth.h: Likewise.
40562 * sunrpc/rpc/auth_des.h: Likewise.
40563 * sunrpc/rpc/clnt.h: Likewise.
40564 * sunrpc/rpc/netdb.h: Likewise.
40565 * sunrpc/rpc/pmap_clnt.h: Likewise.
40566 * sunrpc/rpc/xdr.h: Likewise.
40567 * sysdeps/generic/inttypes.h: Likewise.
40568 * sysdeps/generic/net/if.h: Likewise.
40569 * sysdeps/generic/sys/swap.h: Likewise.
40570 * sysdeps/gnu/net/if.h: Likewise.
40571 * sysdeps/gnu/utmpx.h: Likewise.
40572 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
40573 * sysdeps/i386/i486/bits/string.h: Likewise.
40574 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
40575 * sysdeps/s390/bits/string.h: Likewise.
40576 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
40577 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
40578 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
40579 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
40580 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
40581 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
40582 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
40583 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
40584 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
40585 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
40586 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
40587 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
40588 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
40589 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
40590 * sysdeps/unix/sysv/linux/readv.c: Likewise.
40591 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
40592 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40593 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40594 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
40595 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
40596 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40597 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
40598 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
40599 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
40600 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
40601 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
40602 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
40603 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40604 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
40605 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
40606 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
40607 * sysvipc/sys/ipc.h: Likewise.
40608 * sysvipc/sys/msg.h: Likewise.
40609 * sysvipc/sys/sem.h: Likewise.
40610 * sysvipc/sys/shm.h: Likewise.
40611 * termios/termios.h: Likewise.
40612 * time/sys/time.h: Likewise.
40613 * time/time.h: Likewise.
40614 * wcsmbs/bits/wchar2.h: Likewise.
40615 * wcsmbs/uchar.h: Likewise.
40616 * wcsmbs/wchar.h: Likewise.
40617 * wctype/wctype.h: Likewise.
40620 * Makeconfig: Remove all but ELF support including AIX support.
40621 * Makerules: Likewise.
40622 * config.h.in: Likewise.
40623 * config.make.in: Likewise.
40624 * configure: Likewise.
40625 * configure.in: Likewise.
40626 * csu/Makefile: Likewise.
40627 * csu/version.c: Likewise.
40628 * debug/Makefile: Likewise.
40629 * dlfcn/Makefile: Likewise.
40630 * elf/Makefile: Likewise.
40631 * extra-lib.mk: Likewise.
40632 * iconv/Makefile: Likewise.
40633 * include/libc-symbols.h: Likewise.
40634 * include/shlib-compat.h: Likewise.
40635 * resolv/Makefile: Likewise.
40636 * resolv/res_libc.c: Likewise.
40637 * rt/Makefile: Likewise.
40638 * sysdeps/i386/asm-syntax.h: Likewise.
40639 * sysdeps/i386/sysdep.h: Likewise.
40640 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40641 * sysdeps/mach/sysdep.h: Likewise.
40642 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
40643 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
40644 * sysdeps/s390/asm-syntax.h: Likewise.
40645 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40646 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40647 * sysdeps/sh/sysdep.h: Likewise.
40648 * sysdeps/unix/sparc/sysdep.h: Likewise.
40649 * sysdeps/wordsize-32/divdi3.c: Likewise.
40650 * sysdeps/x86_64/sysdep.h: Likewise.
40652 * argp/Versions: Remove _argp_unlock_xxx.
40655 * abilist/ld.abilist: Update. Adjust for removal of tls option.
40656 * abilist/libBrokenLocale.abilist: Likewise.
40657 * abilist/libanl.abilist: Likewise.
40658 * abilist/libc.abilist: Likewise.
40659 * abilist/libcrypt.abilist: Likewise.
40660 * abilist/libdl.abilist: Likewise.
40661 * abilist/libm.abilist: Likewise.
40662 * abilist/libnsl.abilist: Likewise.
40663 * abilist/libpthread.abilist: Likewise.
40664 * abilist/libresolv.abilist: Likewise.
40665 * abilist/librt.abilist: Likewise.
40666 * abilist/libthread_db.abilist: Likewise.
40667 * abilist/libutil.abilist: Likewise.
40668 * abilist/libnss_db.abilist: New file.
40670 * scripts/abilist.awk: Add support for indirect functions.
40672 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
40674 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
40676 * shlib-versions: Remove entries for ports architectures.
40678 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
40680 * elf/stackguard-macros.h: Remove support for IA-64.
40681 * elf/tst-auditmod1.c: Likewise.
40682 * sysdeps/generic/ldsodefs.h: Likewise.
40684 * sysdeps/unix/sysv/linux/configure.in: Ports should define
40685 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
40689 * configure.in: Remove --enable-omitfp support.
40691 * config.make.in: Likewise.
40692 * Makeconfig: Likewise.
40693 * manual/install.texi: Likewise.
40695 In case anyone cares, the IA-64 architecture could move to ports.
40696 * sysdeps/ia64/*: Removed.
40697 * sysdeps/unix/sysv/linux/ia64/*: Removed.
40698 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
40701 * configure.in: Remove entries for unsupported architectures.
40704 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
40705 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
40707 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
40708 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
40709 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
40710 fall back to using wcrtomb.
40711 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
40712 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
40714 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
40715 * wcsmbs/tst-c16c32-1.c: New file.
40717 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
40720 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
40722 * elf/tst-unique3.cc: Add explicit declaration of gets.
40723 * elf/tst-unique3lib.cc: Likewise.
40724 * elf/tst-unique3lib2.cc: Likewise.
40725 * elf/tst-unique4.cc: Likewise.
40727 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
40729 2012-01-06 Joseph Myers <joseph@codesourcery.com>
40732 * assert/assert.h (static_assert): Don't define for C++.
40733 * libio/stdio.h (gets): Do declare for C++ <= C++11.
40734 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
40736 2012-01-03 Ulrich Drepper <drepper@gmail.com>
40738 * iconv/loop.c (single loop): Fix assertion in storing of
40741 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
40743 2012-01-01 Ulrich Drepper <drepper@gmail.com>
40745 * posix/getconf.c: Update copyright year.
40746 * nss/getent.c: Likewise.
40747 * nss/makedb.c: Likewise.
40748 * iconv/iconvconfig.c: Likewise.
40749 * iconv/iconv_prog.c: Likewise.
40750 * elf/ldconfig.c: Likewise.
40751 * elf/pldd.c: Likewise.
40752 * elf/sotruss.ksh: Likewise.
40753 * catgets/gencat.c: Likewise.
40754 * csu/version.c: Likewise.
40755 * elf/ldd.bash.in: Likewise.
40756 * elf/sprof.c (print_version): Likewise.
40757 * locale/programs/locale.c: Likewise.
40758 * locale/programs/localedef.c: Likewise.
40759 * login/programs/pt_chown.c: Likewise.
40760 * nscd/nscd.c (print_version): Likewise.
40761 * debug/xtrace.sh: Likewise.
40762 * malloc/memusage.sh: Likewise.
40763 * malloc/mtrace.pl: Likewise.
40764 * debug/catchsegv.sh: Likewise.
40766 2011-12-30 Jakub Jelinek <jakub@redhat.com>
40768 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
40771 2011-12-24 Ulrich Drepper <drepper@gmail.com>
40774 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
40775 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
40777 * iconv/gconv_int.h: Likewise.
40778 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
40779 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
40780 from libc for GLIBC_2.16.
40781 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
40782 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
40783 * wcsmbs/uchar.h: Really define mbstate_t.
40784 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
40785 * wcsmbs/c16rtomb.c: New file.
40786 * wcsmbs/mbrtoc16.c: New file.
40787 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
40788 for C/POSIX locale.
40789 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
40790 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
40792 * wcsmbs/wchar.h: Add missing __restrict.
40794 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40797 * time/Makefile (routines): Add timespec_get.
40798 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
40799 * time/time.h: Define TIME_UTC and declare timespec_get. Define
40800 timespec for ISO C11.
40801 * time/timespec_get.c: New file.
40802 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
40803 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
40806 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
40807 * stdlib/stdlib.h: Declare aligned_alloc.
40808 * Versions.def: Add GLIBC_2.16 for libc.
40809 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
40812 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
40815 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
40819 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
40822 * assert/assert.h (static_assert): Define.
40824 * version.h: Update for 2.16 development version.
40827 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
40830 * version.h (RELEASE): Bump for 2.15 release.
40831 * include/features.h (__GLIBC_MINOR__): Bump to 15.
40833 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
40834 Patch by Marek Polacek <mpolacek@redhat.com>.
40836 * bits/byteswap.h: Protect long long constants with __extension__.
40837 * sysdeps/i386/bits/byteswap.h: Likewise.
40838 * sysdeps/ia64/bits/byteswap.h: Likewise.
40839 * sysdeps/s390/bits/byteswap.h: Likewise.
40840 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40842 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40845 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
40846 destination buffer.
40847 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40849 2011-12-23 Marek Polacek <polacek@redhat.com>
40851 * elf/dl-addr.c (determine_info): Add inline keyword.
40852 * elf/tst-auditmod4b.c (check_avx): Likewise.
40853 * elf/tst-auditmod6b.c (check_avx): Likewise.
40854 * elf/tst-auditmod6c.c (check_avx): Likewise.
40855 * elf/tst-auditmod7b.c (check_avx): Likewise.
40857 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40859 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
40862 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40865 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
40866 processing for last bytes.
40868 2011-08-06 Bruno Haible <bruno@clisp.org>
40871 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
40872 U+0385, not to U+1FEE.
40875 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
40876 entry for U+00A5 U+0301.
40878 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40881 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
40882 buffer for the output is too small.
40884 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
40888 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
40889 SSE flags if possible.
40891 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40894 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
40895 processing for last bytes.
40897 2011-12-22 Joseph Myers <joseph@codesourcery.com>
40899 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
40900 (syscall-list-default-options, syscall-list-default-condition)
40901 (syscall-list-includes): Define.
40902 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
40903 list of ABIs and options and #if conditions for each ABI. Do not
40904 handle common syscalls between ABIs specially.
40905 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
40907 (syscall-list-variants, syscall-list-32bit-options)
40908 (syscall-list-32bit-condition, syscall-list-64bit-options)
40909 (syscall-list-64bit-condition): Define.
40910 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
40911 (syscall-list-variants, syscall-list-32bit-options)
40912 (syscall-list-32bit-condition, syscall-list-64bit-options)
40913 (syscall-list-64bit-condition): Define.
40914 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
40916 (syscall-list-variants, syscall-list-32bit-options)
40917 (syscall-list-32bit-condition, syscall-list-64bit-options)
40918 (syscall-list-64bit-condition): Define.
40919 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
40921 (syscall-list-variants, syscall-list-32bit-options)
40922 (syscall-list-32bit-condition, syscall-list-64bit-options)
40923 (syscall-list-64bit-condition): Define.
40925 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40927 * locale/iso-639.def: Add brx entry.
40930 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
40931 Proposed by Mariusz_Cukr <marcukr@op.pl>.
40933 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
40934 __feraiseexcept_renamed.
40936 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40939 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
40940 EPOLLET with unsigned values.
40941 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40942 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40944 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
40945 to large cancellation.
40946 * math/s_cacoshf.c: Likewise.
40947 * math/s_cacoshl.c: Likewise.
40949 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
40953 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
40954 * math/s_cacoshf.c: Likewise.
40955 * math/s_cacoshl.c: Likewise.
40957 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40960 * iconv/gconv.h: Define __GCONV_SWAP.
40961 * iconvdata/unicode.c: The swap bit must be stored in __flags.
40962 * iconvdata/utf-16.c: Likewise.
40963 * iconvdata/utf-32.c: Likewise.
40965 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
40968 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
40969 numerator after shifting it by one limb.
40971 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
40973 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
40974 under [__USE_EXTERN_INLINES].
40976 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40979 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
40981 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40983 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
40984 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
40986 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
40987 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
40988 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
40989 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
40990 for strncasecmp/strncasecmp_l compilation.
40991 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
40992 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
40994 2011-12-08 Marek Polacek <mpolacek@redhat.com>
40997 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41000 2011-12-17 Ulrich Drepper <drepper@gmail.com>
41003 * time/tzfile.c (__tzfile_read): Check values from file header.
41005 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
41007 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41008 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41009 * powerpc/powerpc32/dl-start.S: Likewise.
41010 * powerpc/powerpc32/elf/start.S: Likewise.
41011 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41012 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41013 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41014 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41015 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41016 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41017 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41018 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41019 * powerpc/powerpc32/fpu/s_round.S: Likewise.
41020 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41021 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41022 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41023 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41024 * powerpc/powerpc32/memset.S: Likewise.
41025 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41026 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41027 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41028 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41029 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41030 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41031 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41032 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41033 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41034 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41035 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41036 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41037 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41039 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41041 * math/libm-test.inc: Added more nearbyint tests.
41042 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41043 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41044 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41045 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41047 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
41049 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41052 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41054 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41055 Add wcscpy-ssse3 wcscpy-c.
41056 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41057 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41058 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41059 * sysdeps/x86_64/wcschr.S: New file.
41060 * sysdeps/x86_64/wcsrchr.S: New file.
41061 * string/test-strcmp.c: Remove checking of wcscmp function for
41063 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41064 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41065 wcsrchr-sse2 wcsrchr-c.
41066 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41067 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41068 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41069 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41070 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41071 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41072 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41073 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41074 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41075 * wcsmbc/wcschr.c (WCSCHR): New macro.
41077 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41079 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41080 * wcsmbs/test-wcsrchr.c: New file.
41081 * string/test-strrchr.c: Add wcsrchr support.
41083 * wcsmbs/test-wcscpy.c: New file.
41084 * string/test-strcpy.c: Add wcscpy support.
41087 2011-12-10 Ulrich Drepper <drepper@gmail.com>
41089 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
41092 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
41095 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
41097 2011-12-04 Ulrich Drepper <drepper@gmail.com>
41099 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
41100 Minor optimizations.
41102 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
41103 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
41104 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
41106 2011-12-03 Ulrich Drepper <drepper@gmail.com>
41108 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
41109 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
41110 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
41111 for gcc to avoid warnings.
41112 * inet/Makefile (tests): Add tst-checks.
41113 * inet/tst-checks.c: New file.
41115 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
41118 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
41121 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
41122 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
41124 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
41126 2011-12-02 Ulrich Drepper <drepper@gmail.com>
41128 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
41131 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
41133 2011-11-29 Joseph Myers <joseph@codesourcery.com>
41135 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
41136 conditional on GCC version.
41137 (__arch_compare_and_exchange_val_8_acq)
41138 (__arch_compare_and_exchange_val_16_acq)
41139 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
41140 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
41141 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
41143 2011-12-02 Joseph Myers <joseph@codesourcery.com>
41145 * sysdeps/sh/backtrace.c: New file.
41147 2011-12-02 Andreas Schwab <schwab@redhat.com>
41149 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
41152 2011-12-01 Andreas Schwab <schwab@redhat.com>
41154 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
41155 falling back to utime.
41157 2011-11-30 Andreas Schwab <schwab@redhat.com>
41159 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
41160 expectations for float.
41162 2011-11-29 Andreas Schwab <schwab@redhat.com>
41164 * locale/weight.h (findidx): Add parameter len.
41165 * locale/weightwc.h (findidx): Likewise.
41166 * posix/fnmatch_loop.c (FCT): Adjust caller.
41167 * posix/regcomp.c (build_equiv_class): Likewise.
41168 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
41169 * posix/regexec.c (check_node_accept_bytes): Likewise.
41170 * string/strcoll_l.c (STRCOLL): Likewise.
41171 * string/strxfrm_l.c (STRXFRM): Likewise.
41173 2011-11-17 Ulrich Drepper <drepper@gmail.com>
41175 * Makefile.in: Remove CVSOPT handling.
41176 * configure.in: Remove use of AC_REVISION.
41177 * iconvdata/Makefile (distribute): No need to filter out CVS.
41178 * scripts/list-sources.sh: Remove CVS, subversion and monotone
41181 2011-11-16 Andreas Schwab <schwab@redhat.com>
41183 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
41184 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
41185 [USE_AS_STRNCASECMP_L]: Likewise.
41186 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
41187 NO_TLS_DIRECT_SEG_REFS.
41188 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
41189 Fix argument offsets for non-PIC.
41190 [USE_AS_STRNCASECMP_L]: Likewise.
41191 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
41192 NO_TLS_DIRECT_SEG_REFS.
41194 2011-11-15 Ulrich Drepper <drepper@gmail.com>
41196 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
41198 * locale/loadlocale.c (_nl_load_locale): Likewise.
41200 2011-11-15 Andreas Schwab <schwab@redhat.com>
41202 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
41203 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
41204 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
41205 (SYSCALL_GETTIME): Set errno on error.
41207 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
41208 count references to noai6ai_cached.
41210 2011-11-15 Ulrich Drepper <drepper@gmail.com>
41212 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
41214 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
41215 FD_CLOEXEC for /proc/self/maps.
41217 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
41218 FD_CLOEXEC for /proc/meminfo.
41220 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
41223 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
41224 FD_CLOEXEC for given file.
41226 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
41228 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
41229 FD_CLOEXEC for /etc/hosts.
41230 (_gethtent): Likewise.
41232 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
41234 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
41235 cancellation and set FD_CLOEXEC for /etc/netgroup.
41237 * nss/nss_files/files-key.c (search): Don't allow cancellation when
41238 reading /etc/publickey.
41240 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
41241 allow cancellation when reading /etc/group.
41243 * nss/nss_files/files-alias.c (internal_setent): Don't allow
41245 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
41247 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
41248 when using data file.
41250 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
41252 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
41253 (write_nis_obj): Use "c" and "e" in fopen.
41255 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
41257 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
41259 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
41261 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
41263 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
41266 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
41268 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
41270 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
41272 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
41273 file parsing and set FD_CLOEXEC.
41275 2011-11-14 Ulrich Drepper <drepper@gmail.com>
41277 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
41279 2011-11-14 Andreas Schwab <schwab@redhat.com>
41281 * malloc/arena.c (arena_get2): Don't call reused_arena when
41282 _int_new_arena failed.
41284 2011-11-14 Ulrich Drepper <drepper@gmail.com>
41286 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
41287 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
41288 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
41289 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41290 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41291 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
41292 to compile strcasecmp and strncasecmp.
41293 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
41294 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
41296 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
41298 2011-11-13 Ulrich Drepper <drepper@gmail.com>
41300 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
41301 locale-defines.sym to gen-as-const-headers.
41302 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
41303 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
41304 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
41305 to compile strcasecmp and strncasecmp.
41306 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
41307 strcasecmp_l and strncasecmp_l.
41308 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
41309 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
41310 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
41311 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
41312 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
41313 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
41314 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
41315 * sysdeps/i386/i686/multiarch/strncase.S: New file.
41316 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
41317 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
41318 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
41320 2011-11-12 Ulrich Drepper <drepper@gmail.com>
41322 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
41323 result of SYSDEP_GETTIME_CPU to retval.
41324 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
41325 parameter list to macro. Remove trailing semicolon. Adjust users.
41327 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
41330 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
41332 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
41334 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
41335 from unused variable.
41337 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
41339 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
41342 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
41345 * sunrpc/rpc_prot.c (rejected): Fix case value.
41347 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
41348 unsigned long long int to avoid warnings in shift.
41350 * posix/regex_internal.c (re_string_reconstruct): Actually use result
41352 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
41355 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
41356 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41357 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41359 * nis/nis_table.c (nis_list): Use variable of correct type for
41360 result of __follow_path call.
41362 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41364 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
41365 of math functions ceil, trunc, floor, round, and sqrt, when
41366 avaliable on the platform.
41367 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
41369 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41370 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41371 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41373 2011-10-30 Marek Polacek <mpolacek@redhat.com>
41375 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
41376 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41378 2011-11-11 Roland McGrath <roland@hack.frob.com>
41380 * include/unistd.h: Fix __readlink return type.
41381 Reported by Chris Metcalf <cmetcalf@tilera.com>.
41383 2011-11-11 Ulrich Drepper <drepper@gmail.com>
41385 * stdlib/ucontext.h: Undo last change for makecontext.
41387 2011-11-11 Andreas Schwab <schwab@redhat.com>
41389 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
41391 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
41392 * setjmp/setjmp.h: Mark functions as non-leaf.
41393 * setjmp/bits/setjmp2.h: Likewise.
41394 * stdlib/ucontext.h: Likewise.
41396 2011-11-10 Andreas Schwab <schwab@redhat.com>
41398 * malloc/arena.c (_int_new_arena): Don't increment narenas.
41399 (reused_arena): Don't check arena limit.
41400 (arena_get2): Atomically check arena limit.
41402 2011-11-08 Ulrich Drepper <drepper@gmail.com>
41404 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
41405 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
41407 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
41410 2011-11-07 Andreas Schwab <schwab@redhat.com>
41412 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
41413 handler when locking.
41415 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41416 Fix size of allocated buffer.
41418 2011-11-04 Andreas Schwab <schwab@redhat.com>
41421 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
41422 declarations for long double functions.
41423 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
41425 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
41427 2011-11-03 Andreas Schwab <schwab@redhat.com>
41429 * nscd/nscd.c (main): Don't start AVC thread until credentials are
41432 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
41435 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
41437 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
41439 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
41441 * include/alloca.h (stackinfo_alloca_round): Define.
41442 (extend_alloca): Use it.
41443 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
41444 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
41447 * scripts/check-local-headers.sh: Ignore libaudit.h.
41449 * nscd/Makefile (extra-objs): Make recursively expanded.
41451 2011-11-01 Ulrich Drepper <drepper@gmail.com>
41453 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
41454 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41456 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
41457 * posix/tst-rfc3484-2.c: Likewise.
41458 * posix/tst-rfc3484-3.c: Likewise.
41460 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41462 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
41464 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
41465 process_vm_writev from libc using GLIBC_2.15 version.
41467 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
41469 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
41471 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
41474 2011-10-31 Ulrich Drepper <drepper@gmail.com>
41477 * nss/getent.c (initgroups_keys): Show error message in case no group
41480 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
41481 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
41482 __bump_nl_timestamp.
41483 * nscd/connections (nscd_init): When host database is served open
41484 netlink socket and request notification about configuration changes.
41485 (main_loop_poll): Track netlink file descriptor and bump timestamp
41486 in case data becomes available.
41487 (main_loop_epoll): Likewise.
41488 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
41489 (database_pers_head): Add extra_data fileds.
41490 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
41491 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
41492 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
41494 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
41495 in6ai data, call __free_in6ai.
41496 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
41497 Add -DHAVE_NETLINK.
41498 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
41499 interface information. Reuse previous data if netlink timestamp
41501 (__bump_nl_timestamp): New function.
41502 (__free_in6ai): New function.
41504 2011-10-30 Ulrich Drepper <drepper@gmail.com>
41506 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
41507 close_not_cancel_no_status here.
41508 (__check_pf): Reorganize code a bit to not call close twice if OOM.
41510 2011-10-29 Ulrich Drepper <drepper@gmail.com>
41513 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
41516 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
41517 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
41518 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
41520 2011-07-03 Andreas Jaeger <aj@suse.de>
41523 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
41524 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
41525 * math/libm-test.inc (sin_test): Add test case.
41527 2011-10-29 Ulrich Drepper <drepper@gmail.com>
41530 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
41531 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41533 * elf/chroot_canon.c (chroot_canon): Cleanups.
41535 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
41538 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
41539 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41541 * string/test-strchr.c: Make usable for strchrnul testing.
41542 * string/test-strchrnul.c: New file.
41543 * string/Makefile (strop-tests): Add strchrnul.
41545 * po/it.po: Update from translation team.
41546 * po/es.po: Likewise.
41548 2011-10-28 Ulrich Drepper <drepper@gmail.com>
41550 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
41551 the three constants needed as parameters. Drop the others.
41552 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
41553 __m128i_strloadu_tolower.
41554 Create and initialize variable zero and use it in all the places
41555 where _mm_setzero_si128 was used.
41557 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
41558 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
41559 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
41560 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
41562 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
41563 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
41564 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
41565 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
41566 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
41567 __mpranred, __mptan.
41568 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
41569 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
41570 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
41571 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
41572 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
41573 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
41574 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
41575 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
41576 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
41578 2011-10-28 Andreas Schwab <schwab@redhat.com>
41580 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
41581 redefine if SHARED.
41582 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
41584 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
41585 wide char related routines to wcsmbs subdir.
41587 2011-10-27 Andreas Schwab <schwab@redhat.com>
41590 * misc/sys/cdefs.h (__THROWNL): Define.
41591 * posix/unistd.h: Use __THREADNL instead of __THREAD
41592 for memory synchronization functions.
41594 2011-10-26 Roland McGrath <roland@hack.frob.com>
41597 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
41599 * manual/stdio.texi (Obstack Streams): Node removed.
41601 2011-10-26 Andreas Schwab <schwab@redhat.com>
41603 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
41604 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41605 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41607 * math/math_private.h (math_force_eval): Allow non-addressable
41609 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
41611 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41613 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
41614 file is not needed.
41616 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
41617 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
41618 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41619 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41620 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41621 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41622 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41623 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
41625 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
41626 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
41627 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
41628 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
41629 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
41630 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
41631 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
41632 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
41633 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
41634 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
41635 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
41636 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
41637 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
41638 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
41639 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
41640 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
41641 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
41642 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
41643 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
41645 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
41646 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
41648 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
41649 place. Use VEX encoding when compiling for AVX.
41651 2011-10-25 Andreas Schwab <schwab@redhat.com>
41653 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
41654 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41656 * string/test-strchr.c (do_test): Don't generate NUL bytes.
41658 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41660 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
41661 useless if() expression.
41662 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41663 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41664 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41665 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41666 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41667 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41668 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41669 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41670 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41671 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41672 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41673 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41674 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41675 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41676 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41677 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41678 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41679 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41680 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41682 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
41684 2011-10-25 Andreas Schwab <schwab@redhat.com>
41686 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
41688 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41690 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41692 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
41693 .text section. Avoid duplicate constants.
41694 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41695 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41696 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41697 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41698 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41699 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41700 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41701 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41702 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41703 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
41704 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41705 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41706 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41707 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41708 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41709 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41710 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41711 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41712 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41713 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41714 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41715 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41716 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41717 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
41718 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
41719 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
41720 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
41721 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
41722 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
41723 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
41724 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
41725 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
41726 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41727 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
41728 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
41729 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
41730 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
41731 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
41732 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
41733 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
41734 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
41735 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
41736 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
41737 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
41738 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
41740 2011-10-24 Ulrich Drepper <drepper@gmail.com>
41742 * sysdeps/x86_64/dla.h: Move to ...
41743 * sysdeps/x86_64/fpu/dla.h: ...here.
41744 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
41745 situations. Use __builtin_fma only for gcc 4.6 and up.
41747 * config.make.in: Add have-mfma4 entry.
41748 * configure.in: Substitute libc_cv_cc_fma4.
41749 * math/Makefile (dbl-only-routines): Add sincostab.
41750 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
41751 Use __sincostab not sincos.
41752 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
41754 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41755 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41756 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41757 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
41759 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
41760 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
41761 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
41762 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
41764 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
41765 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
41767 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
41768 define aliases when function name is a macro.
41769 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
41770 sysdeps/ieee754/dbl-64/sincos.tbl.
41771 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
41772 fma4-enabled routines.
41773 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
41774 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
41775 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
41776 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
41777 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
41778 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
41779 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
41780 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
41781 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
41782 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
41783 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
41784 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
41785 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
41786 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
41787 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
41788 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
41789 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
41790 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
41791 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
41792 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
41793 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
41794 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
41795 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
41796 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
41797 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
41798 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
41799 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
41800 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
41801 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
41802 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
41804 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
41806 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41807 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41808 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41809 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41810 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41811 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41812 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41813 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41815 2011-10-24 Andreas Schwab <schwab@redhat.com>
41817 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
41819 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41821 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
41823 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
41825 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
41827 * string/strnlen.c: Don't define STRNLEN, reverse logic.
41828 Remove unused variable magic_bits.
41829 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
41831 * string/strnlen.c: Define and use STRNLEN macro.
41832 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
41833 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
41834 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
41835 * wcsmbs/wcslen.c: Define and use WCSLEN.
41836 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
41837 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
41838 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
41839 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
41840 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
41841 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
41842 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41844 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41846 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41847 strnlen-sse2-no-bsf.
41848 Rename strlen-no-bsf to strlen-sse2-no-bsf.
41849 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
41850 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
41851 Add strnlen support.
41852 (USE_AS_STRNLEN): New macro.
41853 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
41854 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
41855 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
41856 * sysdeps/x86_64/wcslen.S: New file.
41858 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
41860 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41861 XMM-moves are used for copying on small sizes.
41863 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41865 * wcsmbs/Makefile (strop-tests): Add wcschr.
41866 * wcsmbs/test-wcschr.c: New file.
41867 * string/test-strchr.c: Update.
41868 Add wcschr support.
41871 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41873 * wcsmbs/Makefile (strop-tests): Add wcslen.
41874 * wcsmbs/test-wcslen.c: New file.
41875 * string/test-strlen.c: Update.
41876 Add wcslen support.
41879 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41881 * po/it.po: Update from translation team.
41883 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41885 * sysdeps/x86_64/wcscmp.S: Update.
41886 Fix wrong comparison semantics.
41887 wcscmp shall use signed comparison not unsigned.
41888 Don't use substraction to avoid overflow bug.
41889 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41890 * wcsmbc/wcscmp.c: Likewise.
41891 * string/test-strcmp.c: Likewise.
41892 Add new tests to check cases with negative values.
41894 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41896 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
41897 * sysdeps/x86_64/dla.h: ...here. New file.
41898 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
41899 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41900 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41901 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41902 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41903 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41904 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41905 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41906 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41908 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
41910 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
41911 __ynl_finite aliases.
41913 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41915 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41917 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
41919 [DLA_FMA] (EMULV): Use DLA_FMA.
41920 [DLA_FMA] (MUL12): Use EMULV.
41921 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
41922 that are not needed.
41923 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41924 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41925 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41926 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41927 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41928 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41929 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41931 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
41933 * math/s_nan.c: Undef __nan.
41934 * math/s_nanf.c: Undef __nanf.
41935 * math/s_nanl.c: Undef __nanl.
41936 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
41939 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41941 * math/s_catan.c: Add branch predictions.
41942 * math/s_catanf.c: Likewise.
41943 * math/s_catanh.c: Likewise.
41944 * math/s_catanhf.c: Likewise.
41945 * math/s_catanhl.c: Likewise.
41946 * math/s_catanl.c: Likewise.
41947 * math/s_cexp.c: Likewise.
41948 * math/s_cexpf.c: Likewise.
41949 * math/s_cexpl.c: Likewise.
41950 * math/s_clog.c: Likewise.
41951 * math/s_clog10.c: Likewise.
41952 * math/s_clog10f.c: Likewise.
41953 * math/s_clog10l.c: Likewise.
41954 * math/s_clogf.c: Likewise.
41955 * math/s_clogl.c: Likewise.
41956 * math/s_csqrt.c: Likewise.
41957 * math/s_csqrtf.c: Likewise.
41958 * math/s_csqrtl.c: Likewise.
41959 * math/s_ctanf.c: Likewise.
41960 * math/s_ctanh.c: Likewise.
41961 * math/s_ctanhf.c: Likewise.
41962 * math/s_ctanhl.c: Likewise.
41963 * math/s_ctanl.c: Likewise.
41965 * math/math_private.h: Define __nan, __nanf, __nanl.
41966 * math/s_cacosh.c: Include <math_private.h>.
41967 * math/s_cacoshl.c: Likewise.
41968 * math/s_casinh.c: Likewise.
41969 * math/s_casinhf.c: Likewise.
41970 * math/s_casinhl.c: Likewise.
41971 * math/s_ccos.c: Rely entire on ccosh.
41972 * math/s_ccosf.c: Rely entire on ccoshf.
41973 * math/s_ccosl.c: Rely entirely on ccoshl.
41974 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
41975 Remove tests for FE_INVALID.
41976 * math/s_ccoshf.c: Likewise.
41977 * math/s_ccoshl.c: Likewise.
41978 * math/s_csin.c: Likewise.
41979 * math/s_csinf.c: Likewise.
41980 * math/s_csinh.c Likewise.
41981 * math/s_csinhf.c: Likewise.
41982 * math/s_csinhl.c: Likewise.
41983 * math/s_csinl.c: Likewise.
41984 * math/s_ctan.c: Likewise.
41985 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
41986 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
41987 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
41989 2011-10-21 Ulrich Drepper <drepper@gmail.com>
41991 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
41992 compilation problems.
41994 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
41997 2011-10-20 Ulrich Drepper <drepper@gmail.com>
41999 * sysdeps/i386/configure.in: Test for -mfma4 option.
42000 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42001 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42002 COMMON_CPUID_INDEX_80000001.
42003 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42004 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42005 use it if FMA3 is not supported.
42006 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42008 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42009 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42011 2011-10-20 Andreas Schwab <schwab@redhat.com>
42014 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42015 it would create a cycle with a link time dependency.
42017 2011-10-19 Ulrich Drepper <drepper@gmail.com>
42019 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42021 * string/Makefile (strop-tests): Add rawmemchr.
42022 * string/test-rawmemchr.c: New file.
42024 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42025 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
42026 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
42027 when compiling str{,n}casecmp and when AVX is available. Hook up
42028 new optimized code in initializers.
42030 2011-10-19 Andreas Schwab <schwab@redhat.com>
42032 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42033 __feraiseexcept instead of feraiseexcept.
42035 2011-10-18 Ulrich Drepper <drepper@gmail.com>
42037 * math/math_private.h: Define defaults for libc_fetestexcept and
42039 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42040 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42041 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42042 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42043 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42044 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42045 libc_fetestexcept and libc_feupdateenv.
42047 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42048 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42049 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42050 * sysdeps/x86_64/fpu/math_private.h: Define special version of
42051 libc_feholdexcept_setround.
42053 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42054 Add s_nearbyint-c and s_nearbyintf-c.
42055 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42056 nearbyintf inlines.
42057 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42058 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42059 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42060 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42062 * math/math_private.h: Define defaults for libc_fegetround,
42063 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42064 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42065 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42066 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42067 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42068 standard functions.
42069 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42070 Remove comments and hacks for old compiler versions.
42071 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42072 libc_fegetround, libc_fesetround, libc_feholdexcept, and
42073 libc_feholdexceptl.
42075 2011-10-18 Andreas Schwab <schwab@redhat.com>
42077 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
42078 (__feraiseexcept_renamed): Add __NTH.
42079 (feraiseexcept): Add __NTH. Rename local variables to fix
42080 namespace violations.
42082 2011-10-17 Ulrich Drepper <drepper@gmail.com>
42084 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
42086 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
42088 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
42089 recently added interfaces.
42090 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
42092 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
42093 about macro parameter expansion.
42095 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
42096 __NO_MATH_INLINES is defined. Cleanups.
42098 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
42099 and __floorf is target has SSE4.1.
42100 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
42101 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
42102 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
42103 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
42105 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
42107 (floorf): Likewise.
42109 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
42111 2011-10-17 Andreas Schwab <schwab@redhat.com>
42113 * misc/sys/cdefs.h: Fix last change.
42115 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
42118 2011-10-16 Ulrich Drepper <drepper@gmail.com>
42120 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
42122 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
42123 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42124 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42125 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42126 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42127 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42128 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42129 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42130 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42131 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
42132 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
42133 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
42134 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
42135 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
42136 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
42137 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
42138 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
42139 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
42140 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
42141 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
42142 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
42143 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
42145 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
42146 ceil, ceilf, floor, floorf.
42148 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
42149 Perform IRELATIVE relocations last.
42151 * elf/do-rel.h: Add another parameter nrelative, replacing the
42152 local variable with the same name. Change name of the function
42153 to end in Rel or Rela (uppercase).
42154 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
42155 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
42156 elf_dynamic_do_##reloc function.
42158 2011-10-15 Ulrich Drepper <drepper@gmail.com>
42160 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
42161 is sufficient, at least on modern CPUs.
42163 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
42165 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
42166 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
42168 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
42170 * math/bits/math-finite.h: Add entries for exp.
42171 * math/e_expl.c: Add __*_finite alias.
42172 * sysdeps/i386/fpu/e_exp.S: Likewise.
42173 * sysdeps/i386/fpu/e_expf.S: Likewise.
42174 * sysdeps/i386/fpu/e_expl.c: Likewise.
42175 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42176 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42177 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42178 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42179 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
42180 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42181 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42183 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
42184 is sufficient, at least on modern CPUs.
42186 * ctype/ctype-info.c (__ctype_init): Define.
42187 * include/ctype.h (__ctype_init): Declare.
42188 (__ctype_b_loc): The variable is always initialized.
42189 (__ctype_toupper_loc): Likewise.
42190 (__ctype_tolower_loc): Likewise.
42191 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
42192 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
42194 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
42196 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
42198 * configure.in: Also look in $cxxmachine/include for C++ system
42201 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42203 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
42204 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
42205 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
42206 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
42207 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
42208 (USE_AS_WMEMCMP): New macro.
42210 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
42211 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
42212 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
42213 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
42214 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42215 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
42216 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
42217 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
42218 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
42219 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
42220 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
42221 (USE_AS_WMEMCMP): New macro.
42222 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
42223 * sysdeps/string/test-memcmp.c: Update.
42224 Fix simple_wmemcmp.
42226 * wcsmbs/wmemcmp.c: Update.
42227 (WMEMCMP): New macro.
42230 2011-10-12 Andreas Jaeger <aj@suse.de>
42233 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
42235 2011-10-15 Ulrich Drepper <drepper@gmail.com>
42237 * libio/iofwide.c (do_length): Avoid warning.
42239 * ctype/ctype.h (__isctype_f): Add missing __THROW.
42241 2011-10-14 Ulrich Drepper <drepper@gmail.com>
42243 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
42245 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
42246 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
42247 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
42248 * sysdeps/i386/i686/fpu/e_log.S: New file.
42249 * sysdeps/i386/i686/fpu/e_logf.S: New file.
42250 * sysdeps/i386/i686/fpu/e_logl.S: New file.
42252 * ctype/ctype.h: Add support for inlined isXXX functions when
42253 compiling C++ code.
42255 2011-10-14 Andreas Schwab <schwab@redhat.com>
42257 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42259 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
42261 2011-10-13 Roland McGrath <roland@hack.frob.com>
42264 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
42266 2011-10-13 Andreas Schwab <schwab@redhat.com>
42268 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
42269 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
42272 * sysdeps/x86_64/memrchr.S: Check for zero size.
42274 * string/stratcliff.c: Add memrchr tests.
42276 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42278 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42279 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
42280 rawmemchr-sse2 rawmemchr-sse2-bsf.
42281 * sysdeps/i386/i686/multiarch/memchr.S: New file.
42282 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
42283 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
42284 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
42285 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
42286 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
42287 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
42288 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
42289 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
42290 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
42291 * string/memrchr.c (MEMRCHR): New macro.
42293 2011-10-12 Ulrich Drepper <drepper@gmail.com>
42295 Add integration with gcc's -ffinite-math-only and optimize wrapper
42297 * Versions.def: Define GLIBC_2.15 version for libm.
42298 * math/Makefile (headers): Add bits/math-finite.h.
42299 * math/bits/math-finite.h: New file.
42300 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
42301 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
42302 * math/e_acoshl.c: Add __*_finite alias.
42303 * math/e_acosl.c: Likewise.
42304 * math/e_asinl.c: Likewise.
42305 * math/e_atan2l.c: Likewise.
42306 * math/e_atanhl.c: Likewise.
42307 * math/e_coshl.c: Likewise.
42308 * math/e_exp10.c: Likewise.
42309 * math/e_exp10f.c: Likewise.
42310 * math/e_exp10l.c: Likewise.
42311 * math/e_exp2l.c: Likewise.
42312 * math/e_fmodl.c: Likewise.
42313 * math/e_gammal_r.c: Likewise.
42314 * math/e_hypotl.c: Likewise.
42315 * math/e_j0l.c: Likewise.
42316 * math/e_j1l.c: Likewise.
42317 * math/e_jnl.c: Likewise.
42318 * math/e_lgammal_r.c: Likewise.
42319 * math/e_log10l.c: Likewise.
42320 * math/e_log2l.c: Likewise.
42321 * math/e_logl.c: Likewise.
42322 * math/e_powl.c: Likewise.
42323 * math/e_sinhl.c: Likewise.
42324 * math/e_sqrtl.c: Likewise.
42325 * math/e_scalb.c: Completely rewritten and optimized.
42326 * math/e_scalbf.c: Likewise.
42327 * math/e_scalbl.c: Likewise.
42328 * math/w_acos.c: Likewise.
42329 * math/w_acosf.c: Likewise.
42330 * math/w_acosl.c: Likewise.
42331 * math/w_acosh.c: Likewise.
42332 * math/w_acoshf.c: Likewise.
42333 * math/w_acoshl.c: Likewise.
42334 * math/w_asin.c: Likewise.
42335 * math/w_asinf.c: Likewise.
42336 * math/w_asinl.c: Likewise.
42337 * math/w_atan2.c: Likewise.
42338 * math/w_atan2f.c: Likewise.
42339 * math/w_atan2l.c: Likewise.
42340 * math/w_atanh.c: Likewise.
42341 * math/w_atanhf.c: Likewise.
42342 * math/w_atanhl.c: Likewise.
42343 * math/w_exp10.c: Likewise.
42344 * math/w_exp10f.c: Likewise.
42345 * math/w_exp10l.c: Likewise.
42346 * math/w_fmod.c: Likewise.
42347 * math/w_fmodf.c: Likewise.
42348 * math/w_fmodl.c: Likewise.
42349 * math/w_j0.c: Likewise.
42350 * math/w_j0f.c: Likewise.
42351 * math/w_j0l.c: Likewise.
42352 * math/w_j1.c: Likewise.
42353 * math/w_j1f.c: Likewise.
42354 * math/w_j1l.c: Likewise.
42355 * math/w_jn.c: Likewise.
42356 * math/w_jnf.c: Likewise.
42357 * math/w_log.c: Likewise.
42358 * math/w_logf.c: Likewise.
42359 * math/w_logl.c: Likewise.
42360 * math/w_log10.c: Likewise.
42361 * math/w_log10f.c: Likewise.
42362 * math/w_log10l.c: Likewise.
42363 * math/w_log2.c: Likewise.
42364 * math/w_log2f.c: Likewise.
42365 * math/w_log2l.c: Likewise.
42366 * math/w_pow.c: Likewise.
42367 * math/w_powf.c: Likewise.
42368 * math/w_powl.c: Likewise.
42369 * math/w_remainder.c: Likewise.
42370 * math/w_remainderf.c: Likewise.
42371 * math/w_remainderl.c: Likewise.
42372 * math/w_scalb.c: Likewise.
42373 * math/w_scalbf.c: Likewise.
42374 * math/w_scalbl.c: Likewise.
42375 * math/w_sqrt.c: Likewise.
42376 * math/w_sqrtf.c: Likewise.
42377 * math/w_sqrtl.c: Likewise.
42378 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
42379 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
42381 * math/math_private.h: Declare __kernel_standard_f.
42382 * math/w_cosh.c: Remove cruft and optimize a bit.
42383 * math/w_coshf.c: Likewise.
42384 * math/w_coshl.c: Likewise.
42385 * math/w_exp2.c: Likewise.
42386 * math/w_exp2f.c: Likewise.
42387 * math/w_exp2l.c: Likewise.
42388 * math/w_hypot.c: Likewise.
42389 * math/w_hypotf.c: Likewise.
42390 * math/w_hypotl.c: Likewise.
42391 * math/w_lgamma.c: Likewise.
42392 * math/w_lgamma_r.c: Likewise.
42393 * math/w_lgammaf.c: Likewise.
42394 * math/w_lgammaf_r.c: Likewise.
42395 * math/w_lgammal.c: Likewise.
42396 * math/w_lgammal_r.c: Likewise.
42397 * math/w_sinh.c: Likewise.
42398 * math/w_sinhf.c: Likewise.
42399 * math/w_sinhl.c: Likewise.
42400 * math/w_tgamma.c: Likewise.
42401 * math/w_tgammaf.c: Likewise.
42402 * math/w_tgammal.c: Likewise.
42403 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42404 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42405 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
42406 Minor optimizations. Pretty printing. Remove cruft.
42407 * sysdeps/i386/fpu/e_acosf.S: Likewise.
42408 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42409 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42410 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42411 * sysdeps/i386/fpu/e_acosl.c: Likewise.
42412 * sysdeps/i386/fpu/e_asin.S: Likewise.
42413 * sysdeps/i386/fpu/e_asinf.S: Likewise.
42414 * sysdeps/i386/fpu/e_atan2.S: Likewise.
42415 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
42416 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
42417 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42418 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42419 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42420 * sysdeps/i386/fpu/e_exp10.S: Likewise.
42421 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
42422 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
42423 * sysdeps/i386/fpu/e_exp2.S: Likewise.
42424 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
42425 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
42426 * sysdeps/i386/fpu/e_fmod.S: Likewise.
42427 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
42428 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
42429 * sysdeps/i386/fpu/e_hypot.S: Likewise.
42430 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
42431 * sysdeps/i386/fpu/e_log.S: Likewise.
42432 * sysdeps/i386/fpu/e_log10.S: Likewise.
42433 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42434 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42435 * sysdeps/i386/fpu/e_log2.S: Likewise.
42436 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42437 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42438 * sysdeps/i386/fpu/e_logf.S: Likewise.
42439 * sysdeps/i386/fpu/e_logl.S: Likewise.
42440 * sysdeps/i386/fpu/e_pow.S: Likewise.
42441 * sysdeps/i386/fpu/e_powf.S: Likewise.
42442 * sysdeps/i386/fpu/e_powl.S: Likewise.
42443 * sysdeps/i386/fpu/e_remainder.S: Likewise.
42444 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
42445 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
42446 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42447 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42448 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42449 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
42450 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
42451 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
42452 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42453 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42454 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42455 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42456 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42457 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42458 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42459 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42460 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42461 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42462 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42463 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42464 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42465 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42466 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42467 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42468 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42469 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42470 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42471 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42472 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42473 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42474 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42475 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42476 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42477 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42478 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42479 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42480 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
42481 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42482 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42483 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42484 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42485 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42486 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42487 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42488 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42489 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42490 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42491 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42492 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42493 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42494 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42495 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42496 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42497 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42498 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42499 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42500 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42501 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
42502 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42503 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42504 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42505 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42506 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42507 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42508 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42509 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42510 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42511 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42512 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42513 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42514 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42515 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42516 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42517 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42518 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42519 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42520 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
42521 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42522 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42523 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42524 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42525 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42526 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42527 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42528 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42529 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42530 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42531 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42532 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42533 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42534 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
42535 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42536 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42537 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42538 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42539 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42540 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42541 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42542 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42543 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42544 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42545 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42546 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42547 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42548 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42549 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
42550 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
42551 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
42552 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
42553 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
42554 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
42555 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
42556 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42557 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42558 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42559 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42560 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
42561 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42562 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
42563 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
42564 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
42565 (__isnanf): Likewise.
42566 (__isinf_ns): Likewise.
42567 (__isinf_nsf): Likewise.
42568 (__finite): Likewise.
42569 (__finitef): Likewise.
42570 (__ieee754_sqrt): Define as macro.
42571 (__ieee754_sqrtf): Define as macro.
42572 (__ieee754_sqrtl): Define as macro.
42573 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
42575 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
42576 __FINITE_MATH_ONLY__ consistent.
42577 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
42579 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
42581 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
42584 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
42586 2011-10-09 Ulrich Drepper <drepper@gmail.com>
42588 * po/ja.po: Update from translation team.
42590 2011-10-08 Roland McGrath <roland@hack.frob.com>
42592 * locale/programs/locarchive.c (prepare_address_space): New function.
42593 (create_archive, enlarge_archive, open_archive): Use it.
42595 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
42596 inside [SHARED], where it is used.
42598 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
42600 * nss/getent.c (netgroup_keys): Remove unused variable.
42601 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42603 2011-10-08 Ulrich Drepper <drepper@gmail.com>
42605 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
42606 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
42607 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
42608 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
42609 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
42610 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
42611 * math/Makefile (libm-calls): Add s_isinf_ns.
42612 * math/divtc3.c: Use __isinf_nsl instead of isinf.
42613 * math/multc3.c: Likewise.
42614 * math/s_casin.c: Likewise.
42615 * math/s_casinf.c: Likewise.
42616 * math/s_casinl.c: Likewise.
42617 * math/s_ccos.c: Likewise.
42618 * math/s_ccosf.c: Likewise.
42619 * math/s_ccosl.c: Likewise.
42620 * math/s_ctan.c: Likewise.
42621 * math/s_ctanf.c: Likewise.
42622 * math/s_ctanh.c: Likewise.
42623 * math/s_ctanhf.c: Likewise.
42624 * math/s_ctanhl.c: Likewise.
42625 * math/s_ctanl.c: Likewise.
42626 * math/w_fmod.c: Likewise.
42627 * math/w_fmodf.c: Likewise.
42628 * math/w_fmodl.c: Likewise.
42629 * math/w_remainder.c: Likewise.
42630 * math/w_remainderf.c: Likewise.
42631 * math/w_remainderl.c: Likewise.
42632 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
42633 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
42634 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
42635 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
42636 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
42637 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
42638 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
42639 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
42641 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
42643 * stdio-common/printf_fphex.c: Likewise.
42644 * stdio-common/printf_size.c: Likewise.
42646 * math/e_exp10.c: Include math_private.h using <...> not "...".
42647 * math/e_exp10f.c: Likewise.
42648 * math/e_exp10l.c: Likewise.
42649 * math/e_exp2l.c: Likewise.
42650 * math/e_j0l.c: Likewise.
42651 * math/e_j1l.c: Likewise.
42652 * math/e_jnl.c: Likewise.
42653 * math/e_lgammal_r.c: Likewise.
42654 * math/e_rem_pio2l.c: Likewise.
42655 * math/e_scalb.c: Likewise.
42656 * math/e_scalbf.c: Likewise.
42657 * math/e_scalbl.c: Likewise.
42658 * math/k_cosl.c: Likewise.
42659 * math/k_sinl.c: Likewise.
42660 * math/k_tanl.c: Likewise.
42661 * math/s_cacoshf.c: Likewise.
42662 * math/s_catan.c: Likewise.
42663 * math/s_catanf.c: Likewise.
42664 * math/s_catanh.c: Likewise.
42665 * math/s_catanhf.c: Likewise.
42666 * math/s_catanhl.c: Likewise.
42667 * math/s_catanl.c: Likewise.
42668 * math/s_ccosh.c: Likewise.
42669 * math/s_ccoshf.c: Likewise.
42670 * math/s_ccoshl.c: Likewise.
42671 * math/s_cexp.c: Likewise.
42672 * math/s_cexpf.c: Likewise.
42673 * math/s_cexpl.c: Likewise.
42674 * math/s_clog.c: Likewise.
42675 * math/s_clog10.c: Likewise.
42676 * math/s_clog10f.c: Likewise.
42677 * math/s_clog10l.c: Likewise.
42678 * math/s_clogf.c: Likewise.
42679 * math/s_clogl.c: Likewise.
42680 * math/s_csin.c: Likewise.
42681 * math/s_csinf.c: Likewise.
42682 * math/s_csinh.c: Likewise.
42683 * math/s_csinhf.c: Likewise.
42684 * math/s_csinhl.c: Likewise.
42685 * math/s_csinl.c: Likewise.
42686 * math/s_csqrt.c: Likewise.
42687 * math/s_csqrtf.c: Likewise.
42688 * math/s_csqrtl.c: Likewise.
42689 * math/s_ctan.c: Likewise.
42690 * math/s_ctanf.c: Likewise.
42691 * math/s_ctanh.c: Likewise.
42692 * math/s_ctanhf.c: Likewise.
42693 * math/s_ctanhl.c: Likewise.
42694 * math/s_ctanl.c: Likewise.
42695 * math/s_ldexp.c: Likewise.
42696 * math/s_ldexpf.c: Likewise.
42697 * math/s_ldexpl.c: Likewise.
42698 * math/s_significand.c: Likewise.
42699 * math/s_significandf.c: Likewise.
42700 * math/s_significandl.c: Likewise.
42701 * math/w_acos.c: Likewise.
42702 * math/w_acosf.c: Likewise.
42703 * math/w_acosh.c: Likewise.
42704 * math/w_acoshf.c: Likewise.
42705 * math/w_acoshl.c: Likewise.
42706 * math/w_acosl.c: Likewise.
42707 * math/w_asin.c: Likewise.
42708 * math/w_asinf.c: Likewise.
42709 * math/w_asinl.c: Likewise.
42710 * math/w_atan2.c: Likewise.
42711 * math/w_atan2f.c: Likewise.
42712 * math/w_atan2l.c: Likewise.
42713 * math/w_atanh.c: Likewise.
42714 * math/w_atanhf.c: Likewise.
42715 * math/w_atanhl.c: Likewise.
42716 * math/w_cosh.c: Likewise.
42717 * math/w_coshf.c: Likewise.
42718 * math/w_coshl.c: Likewise.
42719 * math/w_dremf.c: Likewise.
42720 * math/w_exp10.c: Likewise.
42721 * math/w_exp10f.c: Likewise.
42722 * math/w_exp10l.c: Likewise.
42723 * math/w_exp2.c: Likewise.
42724 * math/w_exp2f.c: Likewise.
42725 * math/w_fmod.c: Likewise.
42726 * math/w_fmodf.c: Likewise.
42727 * math/w_fmodl.c: Likewise.
42728 * math/w_hypot.c: Likewise.
42729 * math/w_hypotf.c: Likewise.
42730 * math/w_hypotl.c: Likewise.
42731 * math/w_j0.c: Likewise.
42732 * math/w_j0f.c: Likewise.
42733 * math/w_j0l.c: Likewise.
42734 * math/w_j1.c: Likewise.
42735 * math/w_j1f.c: Likewise.
42736 * math/w_j1l.c: Likewise.
42737 * math/w_jn.c: Likewise.
42738 * math/w_jnf.c: Likewise.
42739 * math/w_jnl.c: Likewise.
42740 * math/w_lgamma.c: Likewise.
42741 * math/w_lgamma_r.c: Likewise.
42742 * math/w_lgammaf.c: Likewise.
42743 * math/w_lgammaf_r.c: Likewise.
42744 * math/w_lgammal.c: Likewise.
42745 * math/w_lgammal_r.c: Likewise.
42746 * math/w_log.c: Likewise.
42747 * math/w_log10.c: Likewise.
42748 * math/w_log10f.c: Likewise.
42749 * math/w_log10l.c: Likewise.
42750 * math/w_log2.c: Likewise.
42751 * math/w_log2f.c: Likewise.
42752 * math/w_log2l.c: Likewise.
42753 * math/w_logf.c: Likewise.
42754 * math/w_logl.c: Likewise.
42755 * math/w_pow.c: Likewise.
42756 * math/w_powf.c: Likewise.
42757 * math/w_powl.c: Likewise.
42758 * math/w_remainder.c: Likewise.
42759 * math/w_remainderf.c: Likewise.
42760 * math/w_remainderl.c: Likewise.
42761 * math/w_scalb.c: Likewise.
42762 * math/w_scalbf.c: Likewise.
42763 * math/w_scalbl.c: Likewise.
42764 * math/w_sinh.c: Likewise.
42765 * math/w_sinhf.c: Likewise.
42766 * math/w_sinhl.c: Likewise.
42767 * math/w_sqrt.c: Likewise.
42768 * math/w_sqrtf.c: Likewise.
42769 * math/w_sqrtl.c: Likewise.
42770 * math/w_tgamma.c: Likewise.
42771 * math/w_tgammaf.c: Likewise.
42772 * math/w_tgammal.c: Likewise.
42774 * po/ja.po: Update from translation team.
42776 2011-09-29 Andreas Jaeger <aj@suse.de>
42779 * sunrpc/netname.c (netname2host): Fix logic.
42783 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
42785 * math/w_remainder.c (__remainder): Likewise.
42786 * math/w_remainderf.c (__remainderf): Likewise.
42787 * math/libm-test.inc (remainder_test): Add test cases.
42789 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42791 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
42794 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42796 * string/test-memcmp.c: Avoid unncessary #defines.
42797 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42799 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42801 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
42802 Use new sse2 version for core i3 - i7 as it's faster
42803 than sse42 version.
42804 (bit_Prefer_PMINUB_for_stringop): New.
42805 * sysdeps/x86_64/rawmemchr.S: Update.
42806 Replace with faster SSE2 version.
42807 * sysdeps/x86_64/memrchr.S: New file.
42808 * sysdeps/x86_64/memchr.S: Update.
42809 Replace with faster SSE2 version.
42811 2011-09-12 Marek Polacek <mpolacek@redhat.com>
42813 * elf/dl-load.c (lose): Add cast to avoid warning.
42815 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42817 * po/ca.po: Update from translation team.
42819 * inet/getnetgrent_r.c: Hook up nscd.
42820 * nscd/Makefile (routines): Add nscd_netgroup.
42821 (nscd-modules): Add netgroupcache.
42822 (CFLAGS-netgroupcache.c): Define.
42823 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
42824 (cache_search): Add const to second parameter.
42825 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
42827 (dbs): Add netgrdb entry.
42828 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
42829 (verify_persistent_db): Handle netgrdb.
42830 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
42831 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
42833 (netgroup_response_header): Define.
42834 (innetgroup_response_header): Define.
42835 (datahead): Add netgroup_response_header and innetgroup_response_header
42837 * nscd/nscd.conf: Add entries for netgroup cache.
42838 * nscd/nscd.h (dbtype): Add netgrdb.
42839 (_PATH_NSCD_NETGROUP_DB): Define.
42840 (netgroup_iov_disabled): Declare.
42841 (xmalloc, xcalloc, xrealloc): Move declarations here.
42842 (cache_search): Adjust prototype.
42843 Add netgroup-related prototypes.
42844 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
42845 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
42846 (__nscd_innetgr): Declare.
42847 * nscd/selinux.c (perms): Use access_vector_t as element type and
42848 add netgroup-related initializers.
42849 * nscd/netgroupcache.c: New file.
42850 * nscd/nscd_netgroup.c: New file.
42851 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
42852 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
42853 For four parameters use innetgr.
42854 * nss/nss_files/files-init.c: Add definition and callback for netgr.
42855 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
42856 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
42857 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
42859 * nscd/connections.c (register_traced_file): Don't register file
42860 for disabled databases.
42862 2011-10-06 Ulrich Drepper <drepper@gmail.com>
42864 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
42866 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
42867 from tree and freeing node.
42869 2011-09-25 Jiri Olsa <jolsa@redhat.com>
42871 * nss/nsswitch.c (__nss_database_lookup): Handle
42872 nss_parse_service_list out of memory case.
42874 2011-09-15 Jiri Olsa <jolsa@redhat.com>
42876 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
42877 out of memory case.
42879 2011-10-04 Andreas Schwab <schwab@redhat.com>
42881 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
42882 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
42884 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
42885 elf_machine_rela, elf_machine_lazy_rel.
42886 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
42887 (ELF_DYNAMIC_DO_REL): Likewise.
42888 (ELF_DYNAMIC_DO_RELA): Likewise.
42889 (ELF_DYNAMIC_RELOCATE): Likewise.
42890 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
42891 to ELF_DYNAMIC_DO_REL.
42892 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
42893 (dl_main): In trace mode always set __RTLD_NOIFUNC.
42894 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
42896 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
42897 skip_ifunc, don't call ifunc function if non-zero.
42898 (elf_machine_rela): Likewise.
42899 (elf_machine_lazy_rel): Likewise.
42900 (elf_machine_lazy_rela): Likewise.
42901 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
42902 (elf_machine_lazy_rel): Likewise.
42903 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
42905 (elf_machine_lazy_rel): Likewise.
42906 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42908 (elf_machine_lazy_rel): Likewise.
42909 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
42910 (elf_machine_lazy_rel): Likewise.
42911 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
42912 (elf_machine_lazy_rel): Likewise.
42913 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42914 (elf_machine_lazy_rel): Likewise.
42915 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
42916 (elf_machine_lazy_rel): Likewise.
42917 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
42918 (elf_machine_lazy_rel): Likewise.
42919 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42920 (elf_machine_lazy_rel): Likewise.
42922 2011-09-28 Ulrich Drepper <drepper@gmail.com>
42924 * nss/nss_files/files-init.c (_nss_files_init): Use static
42925 initialization for all the *_traced_file variables.
42927 2011-09-28 Andreas Schwab <schwab@redhat.com>
42929 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42931 2011-09-27 Roland McGrath <roland@hack.frob.com>
42934 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
42936 2011-09-27 Andreas Schwab <schwab@redhat.com>
42938 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42939 Reread the line before reparsing it.
42941 2011-09-26 Andreas Schwab <schwab@redhat.com>
42943 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
42945 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
42946 Maxim Kuvyrkov <maxim@codesourcery.com>
42947 Joseph Myers <joseph@codesourcery.com>
42949 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
42950 if needed for __stack_chk_guard.
42952 2011-09-19 Roland McGrath <roland@hack.frob.com>
42954 * sysdeps/posix/spawni.c (script_execute): Always define it.
42955 It will be optimized away if unused.
42956 (maybe_script_execute): New function.
42957 (__spawni): Call it.
42959 * Makerules: Don't include tls.make.
42960 (config-tls): Always set to thread.
42961 * tls.make.c: File removed.
42963 2011-09-19 Mike Frysinger <vapier@gentoo.org>
42965 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
42966 * config.make.in (CPPFLAGS-config): New substituted variable.
42968 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42970 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
42973 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
42974 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
42976 2011-09-15 Roland McGrath <roland@hack.frob.com>
42978 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
42979 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
42980 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42981 (CALL_FAIL): Likewise.
42982 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
42983 (CALL_FAIL): Macro removed.
42984 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
42986 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42988 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
42989 for __FINITE_MATH_ONLY__ == 1.
42991 2011-09-15 Andreas Schwab <schwab@redhat.com>
42993 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
42994 __ieee754_sqrt instead of sqrt.
42995 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
42996 __ieee754_sqrtf instead of sqrtf.
42997 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
42998 __floorf instead of floorf.
42999 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43000 __floorf, __truncf instead of floorf, truncf.
43002 2011-09-14 Ulrich Drepper <drepper@gmail.com>
43004 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43006 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43007 __extern_always_inline.
43008 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43011 2011-09-14 Andreas Schwab <schwab@redhat.com>
43013 * elf/rtld.c (dl_main): Also relocate in dependency order when
43014 doing symbol dependency testing.
43016 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
43018 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43019 Always define `refsym'.
43021 2011-09-13 Andreas Schwab <schwab@redhat.com>
43023 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43024 (__FD_ELT): Renamed from __FDELT.
43025 * misc/bits/select2.h (__FD_ELT): Likewise.
43026 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43027 __FD_MASK instead of __FDELT, __FDMASK.
43028 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43030 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43033 * elf/Makefile (gen-ldd): Fix pattern.
43035 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43036 (init_tls): Likewise.
43038 2011-09-12 Ulrich Drepper <drepper@gmail.com>
43040 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43042 2011-09-12 Andreas Schwab <schwab@redhat.com>
43044 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43045 `struct cmsghdr *' instead of `void *'.
43046 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43049 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
43051 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43053 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43054 ldd_rewrite_script.
43056 2011-09-11 Ulrich Drepper <drepper@gmail.com>
43058 * configure.in: Remove --with-tls option.
43059 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43060 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43061 out in case it is missing.
43062 * sysdeps/ia64/elf/configure.in: Likewise.
43063 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43064 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43065 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43066 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43067 * sysdeps/sh/elf/configure.in: Likewise.
43068 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43069 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43070 * sysdeps/x86_64/elf/configure.in: Likewise.
43071 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43072 * sysdeps/mach/hurd/tls.h: Likewise.
43075 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43078 * configure.in: Fix use of AC_INIT.
43080 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43082 2011-09-10 Ulrich Drepper <drepper@gmail.com>
43084 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
43086 * malloc/hooks.c: Likewise.
43089 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
43090 variables statically.
43091 (narenas): Initialize.
43092 (list_lock): Initialize.
43093 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
43094 initializtion of main_arena and list_lock. Small cleanups.
43095 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
43096 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
43097 Add initializers to main_arena and mp_.
43098 (malloc_state): Remove pagesize member. Change all users to use
43101 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
43102 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
43103 is always initialized.
43105 * malloc/malloc.c: Removed unused configurations and dead code.
43106 * malloc/arena.c: Likewise.
43107 * malloc/hooks.c: Likewise.
43108 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
43110 * include/tls.h: Removed. USE___THREAD must always be defined.
43111 * bits/libc-tsd.h: Don't handle !USE___THREAD.
43112 * elf/dl-libc.c: Likewise.
43113 * elf/dl-tsd.c: Likewise.
43114 * include/errno.h: Likewise.
43115 * include/netdb.h: Likewise.
43116 * include/resolv.h: Likewise.
43117 * inet/herrno-loc.c: Likewise.
43118 * inet/herrno.c: Likewise.
43119 * malloc/arena.c: Likewise.
43120 * malloc/hooks.c: Likewise.
43121 * malloc/malloc.c: Likewise.
43122 * resolv/res-state.c: Likewise.
43123 * resolv/res_libc.c: Likewise.
43124 * sysdeps/i386/dl-machine.h: Likewise.
43125 * sysdeps/ia64/dl-machine.h: Likewise.
43126 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43127 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43128 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43129 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43130 * sysdeps/sh/dl-machine.h: Likewise.
43131 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43132 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43133 * sysdeps/unix/i386/sysdep.S: Likewise.
43134 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43135 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43136 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43137 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43138 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43139 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43140 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43141 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43142 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43143 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43144 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43145 * sysdeps/x86_64/dl-machine.h: Likewise.
43146 * tls.make.c: Likewise.
43148 * configure.in: Remove --with-__thread option. Make tests for
43149 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
43150 tls_model attribute fail if no support is available. Remove
43152 * Makeconfig: Adjust for dropped configure option. All features are
43154 * Makerules: Likewise.
43155 * Versions.def: Likewise.
43156 * argp/argp-fmtstream.c: Likewise.
43157 * argp/argp-fmtstream.h: Likewise.
43158 * argp/argp-help.c: Likewise.
43159 * assert/assert.c: Likewise.
43160 * config.h.in: Likewise.
43161 * config.make.in: Likewise.
43162 * configure: Likewise.
43163 * configure.in: Likewise.
43164 * csu/Versions: Likewise.
43165 * csu/init.c: Likewise.
43166 * elf/tst-audit2.c: Likewise.
43167 * elf/tst-tls10.c: Likewise.
43168 * elf/tst-tls10.h: Likewise.
43169 * elf/tst-tls11.c: Likewise.
43170 * elf/tst-tls12.c: Likewise.
43171 * elf/tst-tls14.c: Likewise.
43172 * elf/tst-tlsmod11.c: Likewise.
43173 * elf/tst-tlsmod12.c: Likewise.
43174 * elf/tst-tlsmod13.c: Likewise.
43175 * elf/tst-tlsmod13a.c: Likewise.
43176 * elf/tst-tlsmod14a.c: Likewise.
43177 * elf/tst-tlsmod15b.c: Likewise.
43178 * elf/tst-tlsmod16a.c: Likewise.
43179 * elf/tst-tlsmod16b.c: Likewise.
43180 * elf/tst-tlsmod7.c: Likewise.
43181 * elf/tst-tlsmod8.c: Likewise.
43182 * elf/tst-tlsmod9.c: Likewise.
43183 * gmon/gmon.c: Likewise.
43184 * grp/fgetgrent_r.c: Likewise.
43185 * grp/putgrent.c: Likewise.
43186 * hurd/fopenport.c: Likewise.
43187 * include/libc-symbols.h: Likewise.
43188 * include/tls.h: Likewise.
43189 * intl/gettextP.h: Likewise.
43190 * intl/loadinfo.h: Likewise.
43191 * locale/global-locale.c: Likewise.
43192 * locale/localeinfo.h: Likewise.
43193 * mach/devstream.c: Likewise.
43194 * malloc/arena.c: Likewise.
43195 * malloc/set-freeres.c: Likewise.
43196 * misc/err.c: Likewise.
43197 * misc/getttyent.c: Likewise.
43198 * misc/mntent_r.c: Likewise.
43199 * posix/getopt.c: Likewise.
43200 * posix/wordexp.c: Likewise.
43201 * pwd/fgetpwent_r.c: Likewise.
43202 * resolv/Versions: Likewise.
43203 * resolv/res_hconf.c: Likewise.
43204 * shadow/fgetspent_r.c: Likewise.
43205 * shadow/putspent.c: Likewise.
43206 * stdio-common/printf_fphex.c: Likewise.
43207 * stdio-common/tmpfile.c: Likewise.
43208 * stdlib/abort.c: Likewise.
43209 * stdlib/fmtmsg.c: Likewise.
43210 * sunrpc/auth_unix.c: Likewise.
43211 * sunrpc/clnt_perr.c: Likewise.
43212 * sunrpc/clnt_tcp.c: Likewise.
43213 * sunrpc/clnt_udp.c: Likewise.
43214 * sunrpc/clnt_unix.c: Likewise.
43215 * sunrpc/openchild.c: Likewise.
43216 * sunrpc/svc_simple.c: Likewise.
43217 * sunrpc/svc_tcp.c: Likewise.
43218 * sunrpc/svc_udp.c: Likewise.
43219 * sunrpc/svc_unix.c: Likewise.
43220 * sunrpc/xdr.c: Likewise.
43221 * sunrpc/xdr_array.c: Likewise.
43222 * sunrpc/xdr_rec.c: Likewise.
43223 * sunrpc/xdr_ref.c: Likewise.
43224 * sunrpc/xdr_stdio.c: Likewise.
43226 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43228 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43230 2011-07-03 Andreas Jaeger <aj@suse.de>
43232 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
43233 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
43234 regenerate with gen-libm-tests.pl.
43236 2010-05-12 Petr Baudis <pasky@suse.cz>
43239 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
43240 around j0() zero points by switching to j1().
43241 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43242 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43243 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43244 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43246 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43248 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
43250 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
43252 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43253 Patch in part by Pavel Roskin <proski@gnu.org>.
43256 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
43258 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
43259 Free memory block if necessary.
43262 * libio/genops.c (INTDEF): For string streams the _lock pointer can
43263 be NULL. Don't lock in this case.
43265 2011-09-09 Roland McGrath <roland@hack.frob.com>
43267 * elf/elf.h (ELFOSABI_GNU): New macro.
43268 (ELFOSABI_LINUX): Define to that.
43270 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
43272 * string/strncat.c (strncat): Undef the symbol in case it has been
43273 defined in bits/string.h.
43275 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43277 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
43279 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
43282 2011-08-17 Andreas Jaeger <aj@suse.de>
43284 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
43286 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
43287 Ian Lance Taylor <iant@google.com>
43289 * math/libm-test.inc (lround_test): New testcase.
43290 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
43292 2011-09-08 Ulrich Drepper <drepper@gmail.com>
43294 * Makefile: Remove support for automatic cvs check-ins.
43295 * Makerules: Likewise.
43296 * config.make.in: Likewise.
43297 * configure.in: Likewise.
43298 * intl/Makefile: Likewise.
43299 * locale/Makefile: Likewise.
43300 * po/Makefile: Likewise.
43301 * posix/Makefile: Likewise.
43302 * sysdeps/gnu/Makefile: Likewise.
43303 * sysdeps/mach/hurd/Makefile: Likewise.
43304 * sysdeps/sparc/sparc32/Makefile: Likewise.
43307 * posix/Makefile (bug-regex32-ENV): Define.
43308 Patch by John Stanley <jpsinthemix@verizon.net>.
43310 * misc/Makefile (headers): Add bits/select2.h.
43311 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
43312 * misc/bits/select2.h: New file.
43313 * include/bits/select2.h: New file.
43314 * debug/Makefile (routines): Add fdelt_chk.
43315 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
43316 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
43318 * debug/fdelt_chk.c: New file.
43320 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
43321 * wcsmbs/test-wmemcmp.c: Likewise.
43322 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
43323 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
43325 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43327 * string/Makefile (strop-tests): Add memcmp.
43328 * string/test-wmemcmp.c: New file.
43329 * string/test-memcmp.c: Add wmemcmp support.
43331 2011-09-08 Roland McGrath <roland@hack.frob.com>
43334 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
43337 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
43338 garbage value in a __mach_port_mod_refs call in the cases of the
43339 task-self and thread-self ports.
43341 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43343 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
43345 2011-09-08 Andreas Schwab <schwab@redhat.com>
43347 * elf/dl-load.c (lose): Check for non-null L.
43349 2011-09-07 Ulrich Drepper <drepper@gmail.com>
43351 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
43353 * elf/dl-libc.c (dlerror_run): Pass back error code from
43357 * elf/dl-load.c (lose): Free l_origin if it is valid.
43359 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
43361 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43362 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43363 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43364 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43365 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43366 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
43368 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43370 * sysdeps/powerpc/fpu/e_hypot.c: New file.
43371 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
43372 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
43373 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
43374 * sysdeps/powerpc/fpu/k_cosf.c: New file.
43375 * sysdeps/powerpc/fpu/k_sinf.c: New file.
43376 * sysdeps/powerpc/fpu/s_cosf.c: New file.
43377 * sysdeps/powerpc/fpu/s_sinf.c: New file.
43378 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
43379 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
43381 2011-08-15 Alan Modra <amodra@gmail.com>
43384 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
43385 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
43386 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
43387 ppc_mcount to static-only-routines.
43388 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
43390 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
43391 __mcount_internal with usual JUMPTARGET. Remove useless nop.
43393 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
43395 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
43396 for finite and infinity parameters.
43398 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43400 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
43401 and add nop instructions for throughput optimization.
43402 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43404 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
43406 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
43407 aligned copy for power7 with vector-scalar instructions.
43408 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43410 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
43412 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
43415 2011-09-07 Andreas Schwab <schwab@redhat.com>
43418 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
43421 2011-09-07 Ulrich Drepper <drepper@gmail.com>
43423 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43424 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
43425 syscall wrapper around clock_gettime in __vdso_clock_gettime.
43426 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
43429 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43431 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
43432 Forgot to demangle the pointer.
43434 * sysdeps/i386/sysdep.h: Define atom_text_section.
43435 * sysdeps/x86_64/sysdep.h: Likewise.
43436 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
43437 section with atom_text_section.
43438 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43439 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43440 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43441 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43442 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
43444 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
43445 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
43446 already be defined. Change to take two parameters and don't assign
43447 result to variable. Adjust all users.
43448 Define INTERNAL_GETTIME if not already defined.
43449 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
43451 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
43452 HAVE_CLOCK_GETTIME_VSYSCALL.
43453 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
43455 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
43456 gettimeofday vsyscall, just use time.
43458 2011-09-06 Andreas Schwab <schwab@redhat.com>
43460 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
43463 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43465 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
43467 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
43469 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
43470 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
43471 syscall if possible.
43473 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43475 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
43476 e_ident. Don't pass to find_mapsXX.
43477 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
43479 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43481 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43482 strchr-sse2-no-bsf strrchr-sse2-no-bsf
43483 * sysdeps/x86_64/multiarch/strchr.S: Update.
43484 Check bit_slow_BSF bit.
43485 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43486 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
43487 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
43489 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43492 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
43494 (tryshell): Define.
43495 (__spawni): Change last parameter to be flag. Test
43496 SPAWN_XFLAGS_USE_PATH flag to use path or not.
43497 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
43498 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
43499 * posix/spawni.c: Likewise.
43500 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
43501 * posix/spawnp.c: Likewise. Change normal version to use
43502 SPAWN_XFLAGS_USE_PATH.
43503 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
43504 SPAWN_XFLAGS_TRY_SHELL.
43507 * posix/glob.h: Remove gcc 1.x support.
43510 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
43512 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43514 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43515 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
43517 * sysdeps/i386/i686/multiarch/strchr.S: New file.
43518 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
43519 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
43520 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
43521 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
43522 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
43524 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43526 * sysdeps/x86_64/wcscmp.S: New file.
43528 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
43529 wcscmp-c wcscmp-sse2
43530 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
43531 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
43532 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
43533 * wcsmbs/wcscmp.c: Allow renaming.
43535 2011-09-05 David S. Miller <davem@davemloft.net>
43537 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
43538 stack slot, rather than the struct return pointer slot.
43539 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
43540 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
43541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
43542 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
43544 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43546 * po/ja.po: Update from translation team.
43549 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
43550 kernel in 64-bit binaries.
43552 2011-09-01 David S. Miller <davem@davemloft.net>
43554 * elf/elf.h (HWCAP_SPARC_*): Move to..
43555 * sysdeps/sparc/sysdep.h: this new file and add new values.
43556 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
43557 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
43558 _DL_HWCAP_COUNT to 24.
43559 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43561 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
43562 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
43563 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
43564 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
43565 instead of magic constants.
43566 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43568 2011-08-31 David S. Miller <davem@davemloft.net>
43570 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
43571 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
43572 Reimplement to do errno handling inline.
43573 (SYSCALL_ERROR_HANDLER): New macro.
43574 (__SYSCALL_STRING): Do not do errno handling in asm.
43575 (__CLONE_SYSCALL_STRING): Delete.
43576 (__INTERNAL_SYSCALL_STRING): Delete.
43577 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
43578 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
43579 (PSEUDO): Reimplement to do errno handling inline.
43580 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
43581 (SYSCALL_ERROR_HANDLER): New macro.
43582 (__SYSCALL_STRING): Do not do errno handling in asm.
43583 (__CLONE_SYSCALL_STRING): Delete.
43584 (__INTERNAL_SYSCALL_STRING): Delete.
43585 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
43586 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
43588 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
43589 (inline_syscall*): Add 'err' argument.
43590 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
43591 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
43592 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
43593 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
43595 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
43596 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43598 2011-08-30 Andreas Schwab <schwab@redhat.com>
43600 * elf/rtld.c (dl_main): Relocate objects in dependency order.
43602 2011-08-29 Jiri Olsa <jolsa@redhat.com>
43604 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
43607 2011-08-24 David S. Miller <davem@davemloft.net>
43609 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
43611 2011-08-24 Andreas Schwab <schwab@redhat.com>
43613 * elf/Makefile: Add rules to build and run unload8 test.
43614 * elf/unload8.c: New file.
43615 * elf/unload8mod1.c: New file.
43616 * elf/unload8mod1x.c: New file.
43617 * elf/unload8mod2.c: New file.
43618 * elf/unload8mod3.c: New file.
43620 * elf/dl-close.c (_dl_close_worker): Reset private search list if
43623 2011-08-23 David S. Miller <davem@davemloft.net>
43625 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
43626 subtract stack bias.
43627 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
43628 %sp not %fp in calculations.
43629 (_JMPBUF_UNWINDS_ADJ): Likewise.
43631 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
43632 (aio_suspend): Call it to force an exception region around the
43633 AIO_MISC_WAIT() invocation.
43635 2011-08-23 Andreas Schwab <schwab@redhat.com>
43637 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
43640 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
43642 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
43644 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
43645 and <dl-machine.h>.
43646 (Elf64_FuncDesc): Remove.
43648 2011-08-22 David S. Miller <davem@davemloft.net>
43650 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
43651 sigaltstack check, add missing cfi directives.
43652 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
43653 missing cfi directives, and sigaltstack handling.
43655 2011-08-16 Andreas Schwab <schwab@redhat.com>
43658 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
43659 object is seen twice.
43660 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43662 * elf/Makefile (distribute): Add tst-initorder2.c.
43663 (tests): Add tst-initorder2.
43664 (modules-names): Add tst-initorder2a tst-initorder2b
43665 tst-initorder2c tst-initorder2d. Add rules to build them.
43666 ($(objpfx)tst-initorder2.out): New rule.
43667 * elf/tst-initorder2.c: New file.
43668 * elf/tst-initorder2.exp: New file.
43670 2011-08-22 Andreas Schwab <schwab@redhat.com>
43672 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
43674 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
43675 dependencies back to end of function.
43677 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43678 $(elfobjdir)/ld.so.
43680 2011-08-21 Ulrich Drepper <drepper@gmail.com>
43682 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
43683 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
43684 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
43685 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
43686 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
43687 of __vdso_gettimeofday.
43688 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
43689 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
43691 (_libc_vdso_platform_setup): Remove initialization of
43692 __vdso_gettimeofday and __vdso_time.
43694 2011-08-20 Ulrich Drepper <drepper@gmail.com>
43696 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
43697 and fgetc_unlocked.
43698 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
43701 * elf/dl-open.c (add_to_global): Report additions to the global scope
43702 for LD_DEBUG=scopes.
43703 (dl_open_worker): Also print scope of newly loaded dependencies.
43704 (_dl_show_scope): Indicate if there is no scope.
43707 * stdio-common/Makefile (tests): Add bug24.
43708 * stdio-common/bug24.c: New file.
43710 2011-08-19 Andreas Jaeger <aj@suse.de>
43713 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
43714 non-existant file when using close-on-exec mode.
43716 2011-08-20 Ulrich Drepper <drepper@gmail.com>
43718 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
43719 the very first instruction.
43721 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
43722 the CFI state in the end.
43723 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
43724 inclusion of dl-trampoline.h.
43725 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
43727 2011-08-19 Andreas Schwab <schwab@redhat.com>
43729 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
43730 expectations for long double.
43732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
43733 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
43735 2011-08-14 David S. Miller <davem@davemloft.net>
43737 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
43738 artificual limit depends upon the system page size.
43740 2011-08-17 Ulrich Drepper <drepper@gmail.com>
43742 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
43743 * resolv/Makefile: Define CFLAGS-libresolv.
43745 2011-08-17 Andreas Schwab <schwab@redhat.com>
43747 * nss/makedb.c (compute_tables): Make variables used in nested
43750 2011-08-17 Ulrich Drepper <drepper@gmail.com>
43752 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
43753 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
43754 if buffer was too small.
43756 * elf/pldd.c (main): Attach to all threads in the process.
43757 Rewrite /proc handling to use *at functions.
43759 2011-08-16 Ulrich Drepper <drepper@gmail.com>
43761 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
43762 specifies first scope to show.
43763 (dl_open_worker): Update callers. Move printing scope of new
43764 object to before the relocation.
43765 * elf/rtld.c (dl_main): Update _dl_show_scope call.
43766 * sysdeps/generic/ldsodefs.h: Update declaration.
43768 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
43769 string for the scope number.
43771 2011-08-14 Ulrich Drepper <drepper@gmail.com>
43773 * nscd/servicescache.c (cache_addserv): Make sure written is always
43776 2011-08-14 Roland McGrath <roland@hack.frob.com>
43778 * sysdeps/i386/i486/bits/atomic.h
43779 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
43780 statement expression, so as to suppress "set but not used" warning.
43781 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
43783 * string/strncat.c (STRNCAT): Use prototype definition.
43785 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
43786 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
43788 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
43789 (localedef-modules): Add localedef.
43790 (locale-modules): Add locale.
43792 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
43793 * elf/rtld.c (dl_main): Invert order of assignment in last change,
43794 to avoid a warning.
43796 2011-08-14 David S. Miller <davem@davemloft.net>
43798 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
43799 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
43801 2011-08-13 Ulrich Drepper <drepper@gmail.com>
43803 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
43804 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
43805 * elf/rtld.c (dl_main): Set l_name of vDSO.
43806 Call _dl_show_scope when DL_DEBUG_SCOPES.
43807 (process_dl_debug): Recognize scopes flag and also set it for all.
43808 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
43809 Declare _dl_show_scope.
43811 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
43812 (do_dlopen): Pass caller_dlopen to dl_open.
43813 (__libc_dlopen_mode): Initialize caller_dlopen.
43815 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
43816 of libc. Make tolower call locale-independent. Optimize a bit by
43817 using isdigit instead of isalnum.
43818 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
43820 2011-08-12 Ulrich Drepper <drepper@gmail.com>
43822 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
43823 was a dependency or dynamically loaded.
43825 2011-08-11 Ulrich Drepper <drepper@gmail.com>
43827 * intl/l10nflist.c: Allow architecture-specific pop function.
43828 * sysdeps/x86_64/l10nflist.c: New file.
43830 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
43833 2011-08-10 Andreas Schwab <schwab@redhat.com>
43835 * include/dirent.h: Add libc_hidden_proto for scandirat and
43836 scandirat64. Don't declare __scandirat64.
43837 * dirent/scandirat.c: Add libc_hidden_def.
43838 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
43839 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
43841 2011-08-10 David S. Miller <davem@davemloft.net>
43843 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
43845 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43846 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43847 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43849 2011-08-09 Ulrich Drepper <drepper@gmail.com>
43851 * Versions.def [libc]: Add GLIBC_2.15.
43852 * dirent/Makefile (routines): Add scandirat and scandirat64.
43853 * dirent/Versions [libc]: Export scandirat and scandirat64 for
43855 * dirent/dirent.h: Declare scandirat and scandirat64.
43856 * dirent/scandirat.c: New file.
43857 * dirent/scandirat64.c: New file.
43858 * sysdeps/wordsize-64/scandirat.c: New file.
43859 * sysdeps/wordsize-64/scandirat64.c: New file.
43860 * dirent/opendir.c: Define opendirat.
43861 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
43863 * dirent/scandir64.c: Adjust for scandir.c change.
43864 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
43865 __scandirat64, and __scandir_cancel_handler.
43866 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
43867 additional parameter and use openat instead of open (outside of ld.so).
43868 Add new __opendir as wrapper around __opendirat.
43869 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
43870 here without requiring old scandirat implementation.
43872 2011-08-08 Ulrich Drepper <drepper@gmail.com>
43874 * dirent/scandir.c (cancel_handler): Renamed to
43875 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
43876 defined. Adjust users.
43877 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
43878 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
43880 2011-08-04 Ulrich Drepper <drepper@gmail.com>
43882 * string/test-string.h (IMPL): Use __STRING to expand name and then
43885 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
43888 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43890 * string/Makefile: Update.
43891 (strop-tests): Append strncat.
43892 * string/test-wcscmp.c: New file.
43893 New comprehensive test for wcscmp.
43894 * string/test-strcmp.c: Update.
43895 (WIDE): New define.
43897 2011-07-22 Andreas Schwab <schwab@redhat.com>
43899 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
43902 2011-07-26 Andreas Schwab <schwab@redhat.com>
43904 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43905 encoding to ACE if AI_IDN.
43907 2011-08-01 Jakub Jelinek <jakub@redhat.com>
43909 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
43910 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
43912 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43914 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
43915 Fix overflow bug in strncat.
43916 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43918 * string/test-strncat.c: Update.
43919 Add new tests for checking overflow bugs.
43921 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43923 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43924 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
43925 * sysdeps/i386/i686/multiarch/strcat.S: New file.
43926 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
43927 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
43928 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
43929 * sysdeps/i386/i686/multiarch/strncat.S: New file.
43930 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
43931 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
43933 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
43934 (USE_AS_STRCAT): Define.
43935 Add strcat and strncat support.
43936 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43938 2011-07-25 Andreas Schwab <schwab@redhat.com>
43940 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
43941 __n bigger than INT_MAX+1.
43942 (__strncmp_g): Likewise.
43944 2011-07-23 Ulrich Drepper <drepper@gmail.com>
43946 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
43947 * libio/stido.h: Likewise.
43949 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
43951 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
43954 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
43955 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43956 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43957 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
43958 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43961 * scripts/test-installation.pl: Don't expect libnss_test1 to be
43964 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
43966 (_dl_x86_64_save_sse): Likewise.
43968 2011-07-22 Ulrich Drepper <drepper@gmail.com>
43970 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
43972 (_dl_x86_64_save_sse): Likewise.
43974 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
43976 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
43978 2011-07-21 Andreas Schwab <schwab@redhat.com>
43980 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
43982 (_dl_x86_64_save_sse): Use correct AVX check.
43984 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43986 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
43987 bug in strncpy/strncat.
43988 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43990 2011-07-21 Ulrich Drepper <drepper@gmail.com>
43992 * string/tester.c (test_strcat): Add tests for different alignments
43993 of source and destination.
43994 (test_strncat): Likewise.
43996 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43999 * posix/glob.c (glob): Check passed in values before using them in
44000 expressions to avoid some overflows.
44001 (glob_in_dir): Likewise.
44004 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44005 check for AVX enablement so that we don't crash with old kernels and
44007 * elf/tst-audit4.c: Add same checks here.
44008 * elf/tst-audit6.c: Likewise.
44010 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
44012 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
44014 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44016 2011-07-20 Ulrich Drepper <drepper@gmail.com>
44018 * po/cs.po: Update from translation team.
44019 * po/bg.po: Likewise.
44021 2011-07-12 Marek Polacek <mpolacek@redhat.com>
44023 * misc/sys/cdefs.h: Add support for const attribute.
44024 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44025 to gnu_dev_{major,minor,makedev} functions.
44027 2011-07-20 Marek Polacek <mpolacek@redhat.com>
44029 * intl/dcigettext.c (get_output_charset): Add missing bracket.
44031 2011-07-20 Andreas Schwab <schwab@redhat.com>
44033 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44036 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44038 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44039 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44040 register in order to avoid conflicts with the soft frame pointer
44041 being held in r11 when necessary.
44042 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44043 (INTERNAL_VSYSCALL_NCS): Likewise.
44045 2011-07-14 Marek Polacek <mpolacek@redhat.com>
44047 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44048 * elf/dl-fini.c (_dl_fini): Adjust caller.
44049 * elf/dl-close.c (_dl_close_worker): Likewise.
44050 * sysdeps/generic/ldsodefs.h: Adjust declaration.
44052 2011-07-15 Marek Polacek <mpolacek@redhat.com>
44054 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44055 "aux_cache->nlibs < 0".
44057 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44058 in the reload-count case.
44060 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44062 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44063 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44064 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44065 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44066 * sysdeps/x86_64/multiarch/strcat.S: New file.
44067 * sysdeps/x86_64/multiarch/strncat.S: New file.
44068 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44069 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44070 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44071 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44072 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44073 (USE_AS_STRCAT): Define.
44074 Add strcat and strncat support.
44075 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44076 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44077 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44078 * string/strncat.c: Update.
44079 (USE_AS_STRNCAT): Define.
44080 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44081 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44083 * sysdeps/x86_64/multiarch/init-arch.h
44084 (bit_Prefer_PMINUB_for_stringop): New.
44085 (index_Prefer_PMINUB_for_stringop): Likewise.
44086 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
44087 bit_Prefer_PMINUB_for_stringop.
44089 2011-07-19 Ulrich Drepper <drepper@gmail.com>
44091 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
44093 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
44094 of casting of buffer.
44095 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
44096 buffer32 and buffer64.
44097 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
44098 writes instead of casting of buffer.
44099 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
44101 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
44104 2011-07-19 Andreas Schwab <schwab@redhat.com>
44106 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
44108 2011-07-19 Ulrich Drepper <drepper@gmail.com>
44110 * nscd/nscd.c (termination_handler): Don't do anything for a database
44111 if it has not yet been initialized.
44113 2011-07-18 Ulrich Drepper <drepper@gmail.com>
44115 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44117 2011-07-15 Marek Polacek <mpolacek@redhat.com>
44119 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44121 2011-07-18 Ulrich Drepper <drepper@gmail.com>
44123 * po/nl.po: Update from translation team.
44124 * po/sv.po: Likewise.
44126 2011-07-16 Roland McGrath <roland@hack.frob.com>
44128 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
44129 now disallowed by GCC.
44131 * configure.in (use-default-link): Default to yes if a test -shared
44132 link meets our qualifications.
44133 * configure: Regenerated.
44135 * config.make.in (output-format): New variable.
44136 * configure.in: Check for ld --print-output-format support.
44137 * configure: Regenerated.
44138 * Makerules ($(common-objpfx)format.lds)
44139 [$(output-format) != unknown]: Just use $(output-format),
44140 instead of the linker-script munging.
44142 2011-07-14 Roland McGrath <roland@hack.frob.com>
44144 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
44145 of $(common-objpfx)shlib.lds.
44146 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
44148 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
44149 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
44151 * configure.in (-z relro check): Adjust test code to add a large
44152 writable data section after it.
44153 * configure: Regenerated.
44155 2011-07-11 Roland McGrath <roland@hack.frob.com>
44157 * configure.in (-z relro check): Fix test code to make the variable
44159 * configure: Regenerated.
44161 2011-07-11 Ulrich Drepper <drepper@gmail.com>
44163 * nscd/nscd.h (struct traced_file): Define.
44164 (struct database_dyn): Remove inotify_descr, reset_res, and filename
44165 elements. Add traced_files.
44166 (inotify_fd): Declare.
44167 (register_traced_file): Declare.
44168 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
44169 (inotify_fd): Export.
44170 (resolv_conf_descr): Remove.
44171 (nscd_init): Move inotify descriptor creation to main.
44172 Don't register files for notification here.
44173 (register_traced_file): New function.
44174 (invalidate_cache): Don't use reset_res to determine whether to call
44175 res_init, go through the list of registered files.
44176 (main_loop_poll): The inotify descriptors are now stored in the
44177 structures for the traced files.
44178 (main_loop_epoll): Likewise
44179 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
44180 to __nss_disable_nscd.
44181 * nscd/cache.c (prune_cache): There is no single inotify descriptor
44182 for a database anymore. Check the records for all the registered
44184 * nss/Makefile (libnss_files-routines): Add files-init.
44185 (libnss_db-routines): Add db-init.
44186 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
44187 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
44188 * nss/nss_db/db-init.c: New file.
44189 * nss/nss_files/files-init.c: New file.
44190 * nss/nsswitch.c (nss_load_library): New function. Broken out of
44191 __nss_lookup_function.
44192 (__nss_lookup_function): Call nss_load_library.
44193 (nss_load_all_libraries): New function.
44194 (__nss_disable_nscd): Take parameter with callback function for files
44195 to register. Set is_nscd. Load all the DSOs for the NSS modules
44196 used for the cached services.
44197 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
44198 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
44199 options for features to all the files in nscd.
44201 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
44203 2011-07-10 Roland McGrath <roland@hack.frob.com>
44205 * csu/elf-init.c (__libc_csu_init): Comment typo.
44207 2011-07-09 Ulrich Drepper <drepper@gmail.com>
44209 * po/pl.po: Update from translation team.
44210 * po/ja.po: Likewise.
44211 * po/ru.po: Likewise.
44212 * po/ko.po: Likewise.
44213 * po/fr.po: Likewise.
44215 2011-07-09 Roland McGrath <roland@hack.frob.com>
44217 * configure.in (.ctors/.dtors header and trailer check):
44218 Use an empirical test on a built program.
44219 * configure: Regenerated.
44221 * configure.in (-z relro check): Use an empirical test on a built DSO.
44222 Detect, but do not require, on ia64.
44223 * configure: Regenerated.
44225 * configure.in (READELF): Find it with AC_CHECK_TOOL.
44226 Update tests that use readelf to use $READELF instead.
44227 * configure: Regenerated.
44229 2011-07-08 Ulrich Drepper <drepper@gmail.com>
44231 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
44232 if the result is not used.
44234 2011-07-05 Andreas Jaeger <aj@suse.de>
44237 * stdlib/tst-strtod.c: Add testcase.
44239 2011-07-07 Ulrich Drepper <drepper@gmail.com>
44241 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
44242 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
44243 The latter has a higher limit. Take additional parameter to pass to
44245 (__pathconf): Pass file to __statfs_link_max.
44246 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
44248 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
44252 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
44253 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44255 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
44256 (__statfs_filesize_max): Likewise.
44257 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
44259 2011-07-05 Andreas Jaeger <aj@suse.de>
44261 * resolv/res_comp.c (dn_skipname): Remove unused variable.
44263 2011-07-06 Marek Polacek <mpolacek@redhat.com>
44265 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
44267 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
44270 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
44272 * Makefile (strop-tests): Add strncat.
44273 * string/test-strncat.c: New file.
44275 2011-06-30 Marek Polacek <mpolacek@redhat.com>
44277 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
44279 2011-06-21 Andreas Jaeger <aj@suse.de>
44281 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
44282 Copy rule from iconvdata/Makefile.
44284 2011-07-06 Ulrich Drepper <drepper@gmail.com>
44287 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
44288 but no long options are defined, just return 'W'.
44290 2011-06-22 Marek Polacek <mpolacek@redhat.com>
44293 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
44295 2011-07-06 Ulrich Drepper <drepper@gmail.com>
44297 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
44299 (innetgr): Likewise.
44301 2011-07-05 Roland McGrath <roland@hack.frob.com>
44303 * config.make.in (install_root): Default to $(DESTDIR).
44305 2011-07-05 Ulrich Drepper <drepper@gmail.com>
44307 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
44309 2011-07-02 Roland McGrath <roland@hack.frob.com>
44311 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
44313 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
44314 containing directory rather than embedding absolute directory names.
44316 * scripts/check-local-headers.sh: Rewritten using awk.
44317 Match by word, not by line. Print error messages for matches.
44318 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
44320 * Makerules [shlib-lds-flags empty]:
44321 ($(common-objpfx)libc_pic.opts): New target.
44322 ($(common-objpfx)libc_pic.os.clean): New target.
44323 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
44325 * config.make.in (OBJCOPY): New variable.
44326 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
44327 * configure: Regenerated.
44329 * config.make.in (use-default-link): New variable.
44330 * configure.in (use_default_link): Grok --with-default-link to set it.
44331 * configure: Regenerated.
44332 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
44333 (shlib-lds, shlib-lds-flags): Define to empty.
44335 * Makerules (shlib-lds): New variable.
44336 (shlib-lds-flags): New variable.
44337 (build-shlib, build-moduile, build-module-asneeded): Use it.
44338 ($(common-objpfx)libc.so): Use $(shlib-lds).
44339 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
44340 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
44342 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
44343 DT_FLAGS/DT_FLAGS_1 with zero flags.
44345 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
44346 linker script munging.
44348 2011-07-02 Ulrich Drepper <drepper@gmail.com>
44350 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
44352 * crypt/sha512.c (sha512_process_block): Perform total addition using
44353 128-bit if possible.
44354 (__sha512_finish_ctx): Likewise.
44355 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
44357 * crypt/sha256.c (SWAP64): Define.
44358 (sha256_process_block): Perform total addition using 64-bit if
44360 (__sha256_finish_ctx): Likewise.
44362 2011-07-01 Ulrich Drepper <drepper@gmail.com>
44364 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
44365 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44366 * nscd/hstcache.c (cache_addhst): Likewise.
44367 * nscd/grpcache.c (cache_addgr): Likewise.
44368 * nscd/aicache.c (addhstaiX): Likewise
44369 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
44371 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
44373 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
44374 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44375 * nscd/hstcache.c (cache_addhst): Likewise.
44376 * nscd/grpcache.c (cache_addgr): Likewise.
44377 * nscd/aicache.c (addhstaiX): Likewise
44379 2011-07-01 Andreas Schwab <schwab@redhat.com>
44381 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
44382 domain only when needed.
44384 2011-06-30 Andreas Schwab <schwab@redhat.com>
44386 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
44387 is always restored.
44389 2011-06-29 Ulrich Drepper <drepper@gmail.com>
44391 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
44392 are re-adding the entry.
44393 * nscd/servicescache.c (cache_addserv): Likewise.
44395 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
44397 * sysdeps/generic/dl-irel.h: fix protection against multiple
44399 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
44401 2011-06-28 Ulrich Drepper <drepper@gmail.com>
44404 * malloc/memusage.sh: Fix quoting in message.
44405 * debug/xtrace.sh: Likewise.
44407 * configure.in: Remove support for --experimental-malloc option, make
44409 * config.make.in: Likewise.
44410 * malloc/Makefile: Likewise.
44412 2011-06-27 Andreas Schwab <schwab@redhat.com>
44414 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
44415 two-byte characters.
44417 2011-06-27 Roland McGrath <roland@hack.frob.com>
44419 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
44420 AC_CACHE_CHECK invocation.
44421 * configure: Regenerated.
44423 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
44425 2011-06-27 Ulrich Drepper <drepper@gmail.com>
44428 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
44429 bit from old_res_options.
44431 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
44433 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
44434 value type for setfct.
44436 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
44438 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44439 __gettimeofday instead of gettimeofday.
44441 2011-06-26 Ulrich Drepper <drepper@gmail.com>
44443 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44445 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
44447 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
44449 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
44452 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44454 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44455 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44456 strcpy-sse2-unaligned strncpy-sse2-unaligned
44457 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
44458 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
44459 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
44460 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
44461 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
44462 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
44463 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
44464 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
44465 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
44466 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
44467 (STRCPY): Support SSE2 and SSSE3 versions.
44469 2011-06-24 Ulrich Drepper <drepper@gmail.com>
44472 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
44473 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
44474 kernels which artificially limit size of requests.
44476 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44478 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44479 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44480 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
44481 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
44482 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
44483 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
44484 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
44485 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
44486 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
44487 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
44488 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
44489 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
44490 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
44491 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
44492 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
44493 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44494 Enable unaligned load optimization for Intel Core i3, i5 and i7
44496 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
44498 (index_Fast_Unaligned_Load): Define.
44499 (HAS_FAST_UNALIGNED_LOAD): Define.
44501 2011-06-23 Marek Polacek <mpolacek@redhat.com>
44503 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
44505 2011-06-22 Ulrich Drepper <drepper@gmail.com>
44508 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
44509 until it is clear that the information is realy needed.
44510 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
44512 2011-06-22 Andreas Schwab <schwab@redhat.com>
44514 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
44516 2011-06-22 Ulrich Drepper <drepper@gmail.com>
44518 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44519 /sys/devices/system/cpu/online if it is usable.
44521 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
44522 reading the information from the /proc filesystem to once a second.
44524 2011-06-21 Andreas Jaeger <aj@suse.de>
44526 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
44527 NULL after inclusion of kernel headers.
44529 2011-06-21 Ulrich Drepper <drepper@gmail.com>
44531 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
44532 calls to internal_setent.
44535 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
44536 addresses using gethostbyname4_r ignore IPv4 addresses.
44538 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
44539 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
44541 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
44543 2011-06-20 David S. Miller <davem@davemloft.net>
44545 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
44547 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
44549 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
44550 (elf_irel): Use it.
44551 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
44552 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
44553 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
44554 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
44555 * sysdeps/x86_64/dl-irel.h: Likewise.
44557 * elf/dl-runtime.c: Use elf_ifunc_invoke.
44558 * elf/dl-sym.c: Likewise.
44560 2011-06-15 Ulrich Drepper <drepper@gmail.com>
44562 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
44563 need to dereference resplen2.
44565 2011-06-14 Andreas Schwab <schwab@redhat.com>
44567 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
44569 2011-06-15 Ulrich Drepper <drepper@gmail.com>
44571 * Makeconfig: Define vardbdir and inst_vardbdir.
44572 * nss/Makefile: Add rules to install db-Makefile.
44574 * nss/nss_db/db-XXX.c: Cleanup.
44576 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
44577 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
44579 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
44580 * nss/makedb.c: Implement -g option to specify that value strings
44581 are generated and should not be added to table iterated over for
44583 * nss/nss_db/db-initgroups.c: New file.
44585 * nss/getent.c: Add support for initgroups lookups through getgrouplist
44588 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
44589 (internal_getgrouplist): Adjust to name change.
44590 Update use_initgroups_entry if this is not the first call.
44591 * nss/databases.def: Add initgroups entry.
44593 * nss/makedb.c (compute_tables): Check result of multiple hash table
44594 sizes to minimize maximum chain length.
44596 2011-06-14 Ulrich Drepper <drepper@gmail.com>
44598 * Versions.def: Add entry for libnss_db.
44599 * shlib-versions: Likewise.
44600 * nss/Makefile: Add rules to build libnss_db.
44601 * nss/Versions: Add libnss_db information. Organize libnss_files
44603 * nss/db-Makefile: Add gshadow support. Change rules for the new
44604 makedb progra. Some minor improvements to generate smaller files.
44605 * nss/nss_db/nss_db.h: Move NSS database header data structures to
44607 * nss/makedb.c: ...here.
44608 Improve database format to be smaller and require less memory at
44610 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
44612 * nss/nss_db/db-netgrp.c: Likewise.
44613 * nss/nss_db/db-open.c: Likewise.
44614 * nss/nss_files/flies-XXX.x: Adjust comments.
44615 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
44616 * nss/nss_files/files-grp.c: Likewise.
44617 * nss/nss_files/files-hosts.c: Likewise.
44618 * nss/nss_files/files-network.c: Likewise.
44619 * nss/nss_files/files-proto.c: Likewise.
44620 * nss/nss_files/files-pwd.c: Likewise.
44621 * nss/nss_files/files-rpc.c: Likewise.
44622 * nss/nss_files/files-service.c: Likewise.
44623 * nss/nss_files/files-sgrp.c: Likewise.
44624 * nss/nss_files/files-spwd.c: Likewise.
44625 * nss/nss_db/db-alias.c: Removed.
44626 * nss/nss_db/dummy-db.h: Removed.
44628 2011-06-02 Ulrich Drepper <drepper@gmail.com>
44630 * nss/makedb.c: Rewritten to not use database library.
44631 * nss/Makefile: Update to build new makedb program.
44633 2011-06-14 Andreas Jaeger <aj@suse.de>
44635 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
44636 memset declaration.
44638 2011-06-10 Andreas Schwab <schwab@redhat.com>
44640 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
44643 2011-06-10 Roland McGrath <roland@hack.frob.com>
44645 * Makerules (shlib.lds): Fail if the linker script comes out empty.
44646 * elf/Makefile ($(objpfx)ld.so): Likewise.
44648 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
44649 Don't list ld.so twice in dependencies.
44651 * posix/bug-regex31.c: Include <stdlib.h>.
44653 * nscd/hstcache.c (cache_addhst): Remove unused variable.
44655 * nis/nss_compat/compat-spwd.c
44656 (getspent_next_nss_netgr): Remove unused variable.
44657 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
44659 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
44660 nonmembers" output to use the right array.
44662 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
44664 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
44666 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
44667 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
44668 * catgets/gencat.c (read_input_file): Likewise.
44669 * locale/programs/locarchive.c (enlarge_archive): Likewise.
44671 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
44672 variable definition inside #if's controlling its use.
44674 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
44676 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
44678 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
44680 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
44683 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
44685 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
44686 * configure: Regenerated.
44688 * Makerules: Revert last change.
44689 * elf/Makefile: Likewise.
44691 2011-06-09 Roland McGrath <roland@hack.frob.com>
44693 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
44694 * elf/Makefile ($(objpfx)librtld.os): Likewise.
44695 (reloc-link): Likewise.
44697 2011-06-09 Ulrich Drepper <drepper@gmail.com>
44699 * elf/Makefile: Add rules to build pldd.
44700 * elf/pldd.c: New file.
44701 * elf/pldd-xx.c: New file.
44703 2011-06-07 Ulrich Drepper <drepper@gmail.com>
44705 * version.h: Update for 2.15 development version.
44707 2011-06-07 David S. Miller <davem@davemloft.net>
44709 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
44711 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
44712 elf_machine_lazy_rel): Likewise.
44713 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44714 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
44715 elf_machine_lazy_rel): Likewise.
44716 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
44717 dl_hwcap via passed in argument.
44718 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
44721 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44723 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
44725 2011-06-06 Roland McGrath <roland@hack.frob.com>
44728 * manual/fdl-1.1.texi: New file, verbatim from:
44729 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
44730 * manual/lgpl-2.1.texi: New file, verbatim from:
44731 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
44732 * manual/Makefile (licenses): New variable, list those new file names.
44734 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
44736 * manual/fdl.texi: File removed.
44737 * manual/lesser.texi: File removed.
44738 * manual/libc.texinfo (Copying, Documentation License):
44739 Use new @include file names, put @appendix directive before @include.
44741 2011-06-04 Jakub Jelinek <jakub@redhat.com>
44744 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
44745 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
44746 (mq_open): Add __NTH.
44748 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
44750 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44751 Assume Intel Core i3/i5/i7 processor if AVX is available.
44753 2011-05-31 Ulrich Drepper <drepper@gmail.com>
44755 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44758 2011-05-31 Andreas Schwab <schwab@redhat.com>
44760 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
44761 memory. Use alloca_account. Fix memory leak when retrying.
44763 2011-05-31 Ulrich Drepper <drepper@gmail.com>
44765 * version.h (RELEASE): Bump for 2.14 release.
44766 * include/features.h (__GLIBC_MINOR__): Bump to 14.
44768 * config.make.in (RANLIB): Remove entry.
44770 2011-05-30 Ulrich Drepper <drepper@gmail.com>
44772 * po/Makefile (po-sed-cmd): Add ksh to extensions.
44773 (libc.pot): Work around missing support for .ksh extension in xgettext.
44776 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
44777 if both request failed.
44778 (send_dg): In case of server errors clear resplen or *resplen2.
44781 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
44782 when there are multiple maps.
44783 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
44784 (_dl_fini): Remove test here.
44786 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
44788 2011-05-29 Ulrich Drepper <drepper@gmail.com>
44791 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
44792 bit from old_res_options.
44793 (gaih_inet): Likewise.
44796 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
44799 * resolv/res_init.c (res_setoptions): Make the code more compact.
44802 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
44806 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
44808 * malloc/malloc.h: Mark malloc hook variables as deprecated.
44811 * malloc/malloc.h: Declare malloc hook variables as volatile.
44813 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
44817 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
44818 raise in the comment.
44819 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44820 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44821 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
44823 2011-05-28 Ulrich Drepper <drepper@gmail.com>
44826 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
44827 grow the buffers more if it already has to be sufficient.
44828 (build_wcs_upper_buffer): Likewise.
44829 * posix/regexec.c (check_matching): Likewise.
44830 (clean_state_log_if_needed): Likewise.
44831 (extend_buffers): Don't enlarge buffers beyond size of the input
44833 Patches mostly by Emil Wojak <emil@wojak.eu>.
44834 * posix/bug-regex32.c: New file.
44835 * posix/Makefile (tests): Add bug-regex32.
44837 * locale/findlocale.c (_nl_find_locale): Return right away if
44838 _nl_explode_name failed.
44839 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
44841 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
44843 * debug/xtrace.sh: Unify messages.
44844 * malloc/memusage.sh: Likewise.
44847 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
44848 time symbol from vDSO. Substitute with vsyscall if not available.
44849 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
44852 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
44853 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
44854 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
44855 Add sendmmsg and internal_sendmmsg.
44856 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
44857 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
44858 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
44860 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
44861 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
44862 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
44864 2011-05-27 Ulrich Drepper <drepper@gmail.com>
44867 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
44868 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
44870 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
44874 * iconvdata/Makefile (tests): Add bug-iconv9.
44875 * iconvdata/bug-iconv9.c: New file.
44877 2011-05-27 Andreas Schwab <schwab@redhat.com>
44880 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
44882 2011-05-25 Jakub Jelinek <jakub@redhat.com>
44884 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44885 (struct user_regs_struct): Change intcs field back to cs.
44887 2011-05-25 Ulrich Drepper <drepper@gmail.com>
44889 * po/ja.po: Update from translation team.
44891 2011-05-23 Ulrich Drepper <drepper@gmail.com>
44894 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
44895 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
44897 2011-05-20 Andreas Schwab <schwab@redhat.com>
44899 * stdlib/longlong.h: Update from GCC.
44901 2011-05-23 Andreas Schwab <schwab@redhat.com>
44903 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
44905 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
44906 Add parameter name.
44907 (__sysconf): Pass it down.
44909 2011-05-22 Ulrich Drepper <drepper@gmail.com>
44912 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
44914 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44915 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
44916 add in in __libc_use_alloca calls. Adjust callers.
44917 (glob): Use malloc in some situations.
44919 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
44920 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
44923 2011-05-21 Ulrich Drepper <drepper@gmail.com>
44925 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
44926 and CLOCK_BOOTTIME_ALARM.
44929 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
44932 * string/_strerror.c (__strerror_r): Print negative errors as signed
44936 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
44937 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
44938 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
44940 * configure.in: Fix typo in redirection and correct removal of test
44941 files in two cases.
44944 * locale/setlocale.c (new_composite_name): Fix test to check for
44945 identical name of all categories.
44948 * libio/filedoalloc.c (local_isatty): New function.
44949 (_IO_file_doallocate): Use local_isatty.
44950 * stdio-common/perror.c (perror): In case a new stream is used
44951 forward the stream error.
44952 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
44955 2011-05-20 Ulrich Drepper <drepper@gmail.com>
44958 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
44960 * include/alloca.h (extend_alloca_account): Define.
44963 * posix/regex.h: Fix comments with documentation of user-accessible
44964 fields after compilation and describe correct free'ing of pattern
44965 after re_compile_pattern.
44966 Patch by Reuben Thomas <rrt@sc3d.org>.
44968 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
44970 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
44971 and -mno-altivec to prevent the compiler from using Altivec and/or
44972 VSX instructions when the corresponding registers are not available.
44974 2011-05-19 Andreas Schwab <schwab@redhat.com>
44976 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
44978 2011-05-19 Ulrich Drepper <drepper@gmail.com>
44980 * libio/freopen.c (freopen): Use __dup2, not dup2.
44981 * libio/freopen64.c (freopen64): Likewise.
44983 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
44986 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
44987 * math/Makefile (tests): Add test-powl.
44988 (CFLAGS-test-powl.c): Define.
44989 * math/test-powl.c: New file.
44991 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
44993 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
44995 2011-05-17 Ulrich Drepper <drepper@gmail.com>
44998 * iconvdata/gb18030.c: Update to GB18020-2005.
45000 2011-05-16 Ulrich Drepper <drepper@gmail.com>
45002 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45003 RE_SYNTAX_POSIX_AWK): Update to match recent development.
45004 Patch by Aharon Robbins <arnold@skeeve.com>.
45007 * stdlib/putenv.c (putenv): Don't always create copy of the variable
45011 * misc/pselect.c (__pselect): Handle timeout value errors hidden
45012 through underflows.
45015 * misc/error.c (error_at_line): Ensure file_name and old_file_name
45016 point to strings before performing equality test for error_one_per_line
45020 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45023 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45024 (struct user_fpregs_struct): Avoid __uint*_t types.
45027 * malloc/mtrace.c (tr_where): Add additional parameter to point to
45028 symbol info. Use it instead of calling _dl_addr locally.
45029 (lock_and_info): New function.
45030 (tr_freehook): Call lock_and_info and pass symbol info as additional
45031 parameter to tr_where.
45032 (tr_mallochook): Likewise.
45033 (tr_reallochook): Likewise.
45034 (tr_memalignhook): Likewise.
45036 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
45037 used and couldn't be at all thread-safe.
45039 2011-05-15 Ulrich Drepper <drepper@gmail.com>
45041 * libio/freopen.c (freopen): Don't close old file descriptor
45042 before the new one is opened. Instead dup the new file descriptor
45043 to the old one after the new stream is created.
45044 * libio/freopen64.c (freopen64): Likewise.
45045 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45046 * libio/fileops.c (_IO_new_file_close_it): Handle new
45047 _IO_FLAGS2_NOCLOSE flag.
45048 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45049 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45050 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45051 _IO_FLAGS2_NOCLOSE flag.
45052 * include/unistd.h: Add hidden_proto for dup3.
45053 Define __have_dup3.
45054 * io/dup3.c: Define hidden symbol.
45055 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45058 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45059 when an incomplete long option is used.
45060 * posix/tst-getopt_long1.c: New file.
45061 * posix/Makefile (tests): Add tst-getopt_long1.
45064 * scripts/config.guess: Update from autoconf-2.68.
45065 * scripts/config.sub: Likewise.
45068 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45070 (has_cpuclock): ...this. New function.
45071 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45072 macro here based on has_cpuclock code.
45075 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45076 First byte (not low byte) is now always NUL.
45077 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45079 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45080 Use non-cancelable interfaces.
45083 * locale/iso-639.def: Add entry for Sorani.
45086 * include/stdlib.h: Move include protection to the right place.
45087 Define abort_msg_s. Declare __abort_msg with it.
45088 * stdlib/abort.c (__abort_msg): Adjust type.
45089 * assert/assert.c (__assert_fail_base): New function. Majority
45090 of code from __assert_fail. Allocate memory for __abort_msg with
45092 (__assert_fail): Now call __assert_fail_base.
45093 * assert/assert-perr.c: Remove bulk of implementation. Use
45094 __assert_fail_base.
45095 * include/assert.hL Declare __assert_fail_base.
45096 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
45098 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
45100 2011-05-14 Ulrich Drepper <drepper@gmail.com>
45104 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
45105 until all modules are registered in the DTV.
45106 * elf/Makefile: Add rules to build and run tst-tls19.
45107 * elf/tst-tls19.c: New file.
45108 * elf/tst-tls19mod1.c: New file.
45109 * elf/tst-tls19mod2.c: New file.
45110 * elf/tst-tls19mod3.c: New file.
45111 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
45114 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
45118 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
45119 two-byte sequence errors.
45120 * iconvdata/Makefile (tests): Add bug-iconv8.
45121 * iconvdata/bug-iconv8.c: New file.
45124 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
45127 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
45130 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
45131 (dummy_getcfa): New function.
45132 (init): Get _Unwind_GetCFA address, use dummy if not found.
45133 (backtrace_helper): In recursion check, also check whether CFA changes.
45134 (__backtrace): Completely initialize arg.
45136 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
45137 storing incomplete byte sequence in state object. Avoid testing for
45138 guaranteed too small input if we know there is enough data available.
45140 2011-05-11 Andreas Schwab <schwab@redhat.com>
45142 * Makeconfig (+link-pie): Indent.
45143 * Rules (binaries-pie): Define if $(have-fpie) and
45145 (binaries-shared): Also filter out $(binaries-pie).
45146 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
45147 * nscd/Makefile (others-pie): Add nscd.
45148 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
45149 ($(objpfx)nscd): Remove command override.
45150 * login/Makefile (others-pie): Add pt_chown.
45151 ($(objpfx)pt_chown): Remove command override.
45152 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
45153 remove command overrides.
45155 2011-05-13 Ulrich Drepper <drepper@gmail.com>
45157 * libio/tst_putwc.c: Fix error messages.
45160 * libio/fileops.c (_IO_new_file_close_it): Always flush when
45161 currently writing and seek to current position when not.
45162 * libio/Makefile (tests): Add bug-fclose1.
45163 * libio/bug-fclose1.c: New file.
45165 2011-05-12 Ulrich Drepper <drepper@gmail.com>
45168 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
45169 don't set DF_1_NODELETE here.
45170 (do_lookup_x): When entering new entry test for copy relocation
45171 and if necessary set DF_1_NODELETE flag.
45172 * elf/tst-unique4.cc: New file.
45173 * elf/tst-unique4.h: New file.
45174 * elf/tst-unique4lib.cc: New file.
45175 * elf/Makefile: Add rules to build and run tst-unique4.
45176 Patch by Piotr Bury <pbury@goahead.com>.
45178 2011-05-11 Ulrich Drepper <drepper@gmail.com>
45181 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
45184 * misc/mntent_r.c (addmntent): Flush the stream after the output
45187 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
45188 (is_trusted_path_normalize): Skip initial colon. Append slash
45189 to empty buffer. Duplicate is_trusted_path code but allow
45190 constructed patch to be prefix.
45191 (is_dst): Allow $ORIGIN followed by /.
45192 (_dl_dst_substitute): Correct clearing of check_for_trusted.
45193 Correct testing of result of is_trusted_path_normalize
45194 (decompose_rpath): Fix warning.
45196 2011-05-10 Ulrich Drepper <drepper@gmail.com>
45199 * grp/initgroups.c (internal_getgrouplist): When we found the service
45200 list through the initgroups entry in nsswitch.conf do not always
45201 continue on a successful lookup. Don't always use the
45202 __nss_group_database value if it is set.
45203 * nss/nsswitch.conf (initgroups): Change action for successful db
45204 lookup to continue for compatibility.
45206 2011-05-09 Ulrich Drepper <drepper@gmail.com>
45209 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
45211 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
45213 * iconvdata/tst-tables.sh: Likewise.
45214 * iconvdata/cp770.c: New file.
45215 * iconvdata/cp771.c: New file.
45216 * iconvdata/cp772.c: New file.
45217 * iconvdata/cp773.c: New file.
45218 * iconvdata/cp774.c: New file.
45219 * iconvdata/testdata/CP770: New file.
45220 * iconvdata/testdata/CP770..UTF8: New file.
45221 * iconvdata/testdata/CP771: New file.
45222 * iconvdata/testdata/CP771..UTF8: New file.
45223 * iconvdata/testdata/CP772: New file.
45224 * iconvdata/testdata/CP772..UTF8: New file.
45225 * iconvdata/testdata/CP773: New file.
45226 * iconvdata/testdata/CP773..UTF8: New file.
45227 * iconvdata/testdata/CP774: New file.
45228 * iconvdata/testdata/CP774..UTF8: New file.
45230 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
45232 * iconvdata/gen-8bit-gap.sh: Likewise.
45233 * iconvdata/gen-8bit.sh: Likewise.
45235 * locale/iso-639.def: Add ary entry.
45238 * locale/C-translit.h.in: Add U20A1 transliteration.
45241 * locale/iso-639.def: Add wae entry.
45242 Patch by Kevin Bortis <bortis@translate-wae.ch>.
45245 * locale/programs/localedef.c (construct_output_path): Use ssize_t
45249 * locale/C-translit.h.in: Add entry for U20B9.
45250 Patch by pravin.d.s@gmail.com.
45252 2011-05-08 Ulrich Drepper <drepper@gmail.com>
45255 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
45256 ENAMETOOLONG use generic getcwd.
45257 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
45258 in rtld. Use *stat64.
45259 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
45260 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
45261 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
45262 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
45263 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
45264 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
45265 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
45266 __fstatat64 macros.
45267 * include/dirent.h: Add libc_hidden_proto for rewinddir.
45268 * dirent/rewinddir.c: Add libc_hidden_def.
45269 * sysdeps/mach/hurd/rewinddir.c: Likewise.
45270 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
45272 * include/dirent.h (__alloc_dir): Add flags parameter.
45273 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
45274 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
45276 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
45277 from fdopendir if O_CLOEXEC is already set.
45279 2011-03-15 Alan Modra <amodra@gmail.com>
45281 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
45282 l_tls_firstbyte_offset non-zero. Save padding offset in
45283 l_tls_firstbyte_offset for later use.
45284 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
45285 freeing static tls block.
45287 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
45289 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
45290 where #ifdef was intended. The intent is to prevent ARG_MAX from
45291 being defined by the kernel headers.
45293 2011-05-07 Ulrich Drepper <drepper@gmail.com>
45296 * resolv/resolv.h: Define RES_NOTLDQUERY.
45297 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
45298 no-tld-query and set RES_NOTLDQUERY.
45299 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
45300 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
45301 modern BIND to search name as TLD unless forbidden.
45303 2011-05-07 Petr Baudis <pasky@suse.cz>
45304 Ulrich Drepper <drepper@gmail.com>
45307 * elf/dl-load.c (fillin_rpath): Move trusted path check...
45308 (is_trusted_path): ...to here.
45309 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
45310 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
45311 using is_trusted_path_normalize() in setuid scripts.
45313 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45315 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
45316 __BEGIN/__END_DECLS.
45318 2011-05-06 Ulrich Drepper <drepper@gmail.com>
45320 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
45321 NSS_STATUS_NOTFOUND if no record was found.
45323 2011-05-05 Andreas Schwab <schwab@redhat.com>
45325 * sunrpc/Makefile (headers): Add rpc/netdb.h.
45326 (headers-not-in-tirpc): Remove rpc/netdb.h
45327 * resolv/netdb.h: Revert last change.
45329 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45331 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
45332 circular dependency between libgcc.a and libc.a.
45334 2011-05-05 Andreas Schwab <schwab@redhat.com>
45336 * resolv/netdb.h: Don't include <rpc/netdb.h>.
45337 * nis/Makefile: Don't install rpcsvc/*.
45338 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
45339 instead of <rpc/types.h>.
45340 (MAXHOSTNAMELEN): Define.
45342 2011-05-03 Andreas Schwab <schwab@redhat.com>
45344 * elf/ldconfig.c (add_dir): Don't crash on empty path.
45346 2011-04-28 Maciej Babinski <mbabinski@google.com>
45349 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
45350 gethostbyname4_r when IPv6 results are possible.
45352 2011-05-02 Ulrich Drepper <drepper@gmail.com>
45355 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
45356 _PC_PIPE_BUF handling.
45358 2011-04-30 Bruno Haible <bruno@clisp.org>
45361 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
45362 * resolv/netdb.h (getnameinfo): Change type of flags parameter
45364 * inet/getnameinfo.c (getnameinfo): Likewise.
45366 2011-04-29 Ulrich Drepper <drepper@gmail.com>
45368 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
45369 to groups setting in database lookup.
45370 * nss/nsswitch.conf: Add initgroups entry.
45372 2011-04-22 Ulrich Drepper <drepper@gmail.com>
45375 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
45377 Patch by Eric Blake <eblake@redhat.com>.
45379 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
45381 * sunrpc/Makefile (need-export-routines): Add svc_run.
45382 (routines): Remove svc_run.
45383 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
45384 * sunrpc/clnt_perr.c (clnt_perrno): Export.
45385 * sunrpc/svc_run.c (svc_run): Likewise.
45386 * sunrpc/svc_udp.c (svcudp_create): Likewise.
45388 2011-04-21 Ulrich Drepper <drepper@gmail.com>
45390 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
45391 problem in reallocation in last patch.
45393 2011-04-20 Ulrich Drepper <drepper@gmail.com>
45395 * sunrpc/Makefile: Move inclusion of Rules.
45397 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45399 * nss/nss_files/files-initgroups.c: New file.
45400 * nss/Makefile (libnss_files-routines): Add files-initgroups.
45401 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
45402 _nss_files_initgroups_dyn.
45404 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
45406 * elf/elf.h (R_ARM_IRELATIVE): Define.
45408 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45410 * po/ru.po: Update from translation team.
45412 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45414 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
45417 2011-02-06 Mike Frysinger <vapier@gentoo.org>
45420 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
45421 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
45422 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45423 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45424 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45426 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
45428 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
45430 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45431 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45432 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45434 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45437 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
45439 * stdlib/bug-getcontext.c: New file.
45440 * stdlib/Makefile: Add rules to build and run bug-getcontext.
45442 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45444 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
45445 instructions into .machine "z9-109".
45446 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
45447 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
45449 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45451 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45452 between environment variables and auxiliary vector.
45454 2011-04-16 Ulrich Drepper <drepper@gmail.com>
45456 * Makefile: Add rules to build linkobj/libc.so.
45457 * include/libc-symbols.h: Define libc_hidden_nolink.
45458 * include/rpc/auth.h: Mark functions which are to be hidden.
45459 * include/rpc/auth_des.h: Likewise.
45460 * include/rpc/auth_unix.h: Likewise.
45461 * include/rpc/clnt.h: Likewise.
45462 * include/rpc/des_crypt.h: Likewise.
45463 * include/rpc/key_prot.h: Likewise.
45464 * include/rpc/pmap_clnt.h: Likewise.
45465 * include/rpc/pmap_prot.h: Likewise.
45466 * include/rpc/pmap_rmt.h: Likewise.
45467 * include/rpc/rpc_msg.h: Likewise.
45468 * include/rpc/svc.h: Likewise.
45469 * include/rpc/svc_auth.h: Likewise.
45470 * include/rpc/xdr.h: Likewise.
45471 * nis/Makefile: Link all DSOs against linkobj/libc.so.
45472 * nss/Makefile: Likewise.
45473 * sunrpc/Makefile: Don't install headers. Build library with normal
45474 entry points. Don't build rpcinfo. Link RPC tests appropriately.
45475 * sunrpc/auth_des.c: Hide exported symbols by default, export some
45476 for the compat linking library. Remove use of INTDEF/INTUSE.
45477 * sunrpc/auth_none.c: Likewise.
45478 * sunrpc/auth_unix.c: Likewise.
45479 * sunrpc/authdes_prot.c: Likewise.
45480 * sunrpc/authuxprot.c: Likewise.
45481 * sunrpc/clnt_gen.c: Likewise.
45482 * sunrpc/clnt_perr.c: Likewise.
45483 * sunrpc/clnt_raw.c: Likewise.
45484 * sunrpc/clnt_simp.c: Likewise.
45485 * sunrpc/clnt_tcp.c: Likewise.
45486 * sunrpc/clnt_udp.c: Likewise.
45487 * sunrpc/clnt_unix.c: Likewise.
45488 * sunrpc/des_crypt.c: Likewise.
45489 * sunrpc/des_soft.c: Likewise.
45490 * sunrpc/get_myaddr.c: Likewise.
45491 * sunrpc/key_call.c: Likewise.
45492 * sunrpc/key_prot.c: Likewise.
45493 * sunrpc/netname.c: Likewise.
45494 * sunrpc/pm_getmaps.c: Likewise.
45495 * sunrpc/pm_getport.c: Likewise.
45496 * sunrpc/pmap_clnt.c: Likewise.
45497 * sunrpc/pmap_prot.c: Likewise.
45498 * sunrpc/pmap_prot2.c: Likewise.
45499 * sunrpc/pmap_rmt.c: Likewise.
45500 * sunrpc/publickey.c: Likewise.
45501 * sunrpc/rpc_cmsg.c: Likewise.
45502 * sunrpc/rpc_common.c: Likewise.
45503 * sunrpc/rpc_dtable.c: Likewise.
45504 * sunrpc/rpc_prot.c: Likewise.
45505 * sunrpc/rpc_thread.c: Likewise.
45506 * sunrpc/rtime.c: Likewise.
45507 * sunrpc/svc.c: Likewise.
45508 * sunrpc/svc_auth.c: Likewise.
45509 * sunrpc/svc_authux.c: Likewise.
45510 * sunrpc/svc_raw.c: Likewise.
45511 * sunrpc/svc_run.c: Likewise.
45512 * sunrpc/svc_simple.c: Likewise.
45513 * sunrpc/svc_tcp.c: Likewise.
45514 * sunrpc/svc_udp.c: Likewise.
45515 * sunrpc/svc_unix.c: Likewise.
45516 * sunrpc/svcauth_des.c: Likewise.
45517 * sunrpc/xcrypt.c: Likewise.
45518 * sunrpc/xdr.c: Likewise.
45519 * sunrpc/xdr_array.c: Likewise.
45520 * sunrpc/xdr_float.c: Likewise.
45521 * sunrpc/xdr_intXX_t.c: Likewise.
45522 * sunrpc/xdr_mem.c: Likewise.
45523 * sunrpc/xdr_rec.c: Likewise.
45524 * sunrpc/xdr_ref.c: Likewise.
45525 * sunrpc/xdr_sizeof.c: Likewise.
45526 * sunrpc/xdr_stdio.c: Likewise.
45528 2011-04-10 Ulrich Drepper <drepper@gmail.com>
45531 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
45532 * sysdeps/ia64/dl-tls.h: Likewise.
45533 * sysdeps/powerpc/dl-tls.h: Likewise.
45534 * sysdeps/s390/dl-tls.h: Likewise.
45535 * sysdeps/sh/dl-tls.h: Likewise.
45536 * sysdeps/sparc/dl-tls.h: Likewise.
45537 * sysdeps/x86_64/dl-tls.h: Likewise.
45538 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
45540 2011-03-14 Andreas Schwab <schwab@redhat.com>
45542 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
45543 rpath element also skip the following colon.
45544 (expand_dynamic_string_token): Add is_path parameter and pass
45545 down to DL_DST_REQUIRED and _dl_dst_substitute.
45546 (decompose_rpath): Call expand_dynamic_string_token with
45547 non-zero is_path. Ignore empty rpaths.
45548 (_dl_map_object_from_fd): Call expand_dynamic_string_token
45551 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
45553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45556 2011-04-09 Ulrich Drepper <drepper@gmail.com>
45559 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
45560 Patch by Filipe David Manana <fdmanana@apache.org>.
45562 2011-04-07 Andreas Schwab <schwab@redhat.com>
45564 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
45565 Maintain aligned stack.
45566 (CHECK_RSP): Remove unused macro.
45568 2011-04-03 Ulrich Drepper <drepper@gmail.com>
45570 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
45571 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
45573 2011-04-02 Ulrich Drepper <drepper@gmail.com>
45575 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
45577 * include/features.h: Mention __USE_XOPEN2K8 in comment.
45579 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
45582 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
45583 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
45584 * sysdeps/x86_64/memmove.c: New file.
45585 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
45586 (memcpy): Renamed to ...
45587 (__new_memcpy): This.
45588 (memcpy): Provide GLIBC_2_14 memcpy.
45589 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
45590 (memcpy): Provide GLIBC_2_2_5 memcpy.
45592 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45595 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
45597 2011-03-30 Andreas Schwab <schwab@redhat.com>
45599 * misc/syncfs.c: New file.
45600 * misc/Makefile (routines): Add syncfs.
45601 * posix/unistd.h: Declare syncfs.
45602 * sysdeps/unix/syscalls.list: Add syncfs.
45604 2011-04-01 Andreas Schwab <schwab@redhat.com>
45606 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
45608 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45609 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45610 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45611 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45612 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45613 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
45614 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45616 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45618 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
45619 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45620 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
45621 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45622 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45623 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45624 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45626 * io/Makefile: Compile fallocate.c, fallocate64.c, and
45627 sync_file_range.c with -fexceptions.
45628 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
45629 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
45630 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
45631 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
45632 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
45633 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45634 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
45635 sync_file_range as cancellation point
45636 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
45637 now a wrapper around __call_sync_file_range with cancellation handling.
45638 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
45639 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
45640 function name to __call_sync_file_range.
45641 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
45642 Add call_sync_file_range.
45644 2011-04-01 Andreas Schwab <schwab@redhat.com>
45646 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45649 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45651 * iconv/iconv.h: Fix typo in comment.
45652 * io/fcntl.h: Likewise.
45653 * libio/stdio.h: Likewise.
45654 * posix/spawn.h: Likewise.
45655 * posix/unistd.h: Likewise.
45656 * stdlib/stdlib.h: Likewise.
45657 * time/time.h: Likewise.
45658 * wcsmbs/wchar.h: Likewise.
45660 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
45661 open_by_handle): Add.
45662 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
45663 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
45664 Augment a few comments.
45665 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45666 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45667 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45668 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45669 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45670 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
45673 * io/fcntl.h (AT_EMPTY_PATH): Define.
45675 2011-03-30 Ulrich Drepper <drepper@gmail.com>
45677 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
45678 * sysdeps/unix/sysv/linux/bits/time.h: New file.
45679 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
45681 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
45682 * Versions.def: Add GLIBC_2.14.
45683 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
45686 2011-03-22 Ulrich Drepper <drepper@gmail.com>
45688 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
45690 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45692 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
45695 * string/test-strncmp.c (do_page_test): New function.
45696 (check2): Likewise.
45697 (test_main): Call check2.
45698 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
45700 2011-03-20 Ulrich Drepper <drepper@gmail.com>
45703 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
45704 Handle cache information in CPU leaf 4.
45705 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45707 2011-03-18 Ulrich Drepper <drepper@gmail.com>
45710 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
45711 character representation.
45712 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
45714 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
45716 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
45717 END(__isnan) to END(__isnanf) to match function entry point/label
45718 EALIGN(__isnanf,...).
45720 2011-03-10 Jakub Jelinek <jakub@redhat.com>
45722 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
45724 2011-03-10 Ulrich Drepper <drepper@gmail.com>
45727 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
45728 copy from the symbol referenced in the relocation to initialize the
45730 Patch by Piotr Bury <pbury@goahead.com>.
45731 * elf/Makefile: Add rules to build and tst-unique3.
45732 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
45733 * elf/tst-unique3.cc: New file.
45734 * elf/tst-unique3.h: New file.
45735 * elf/tst-unique3lib.cc: New file.
45736 * elf/tst-unique3lib2.cc: New file.
45738 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
45740 2011-03-10 Mike Frysinger <vapier@gentoo.org>
45742 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
45743 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
45746 2011-03-06 Ulrich Drepper <drepper@gmail.com>
45748 * elf/dl-load.c (_dl_map_object): If we are looking for the first
45749 to-be-loaded object along a path to loader is ld.so.
45751 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45752 Ulrich Drepper <drepper@gmail.com>
45754 * sysdeps/x86_64/memset.S: After aligning destination, code
45755 branches to different locations depending on the value of
45756 misalignment, when multiarch is enabled. Fix this.
45758 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45760 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
45761 Set _x86_64_preferred_memory_instruction for AMD processsors.
45762 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45763 Set bit_Prefer_SSE_for_memop for AMD processors.
45765 2011-03-04 Ulrich Drepper <drepper@gmail.com>
45767 * libio/fmemopen.c (fmemopen): Optimize a bit.
45769 2011-03-03 Andreas Schwab <schwab@redhat.com>
45771 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
45773 2011-03-03 Roland McGrath <roland@redhat.com>
45775 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
45777 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
45779 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
45780 __bzero_ultra1 instead of __memset_ultra1.
45782 2011-02-23 Andreas Schwab <schwab@redhat.com>
45783 Ulrich Drepper <drepper@gmail.com>
45786 * include/link.h (struct link_map): Add l_orig_initfini.
45787 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
45788 returning unsuccessfully.
45789 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
45790 close of a file loaded at startup, restore the original l_initfini
45792 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
45793 list, store the pointer.
45794 * elf/Makefile ($(objpfx)noload-mem): New rule.
45795 (noload-ENV): Define.
45796 (tests): Add $(objpfx)noload-mem.
45797 * elf/noload.c: Include <memcheck.h>.
45798 (main): Call mtrace. Close all opened handles.
45800 2011-02-17 Andreas Schwab <schwab@redhat.com>
45803 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
45804 dependencies are missing.
45806 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
45808 Fix __if_freereq crash: Unlike the generic version which uses free,
45810 * sysdeps/mach/hurd/ifreq.h: New file.
45812 2011-01-27 Petr Baudis <pasky@suse.cz>
45813 Ulrich Drepper <drepper@gmail.com>
45816 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
45817 to extend_alloca().
45818 * stdio-common/bug23.c: New file.
45819 * stdio-common/Makefile (tests): Add bug23.
45821 2010-09-28 Andreas Schwab <schwab@redhat.com>
45822 Ulrich Drepper <drepper@gmail.com>
45825 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
45826 before performing relro protection. At old place add assertion
45827 to make sure nothing changed.
45829 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
45830 Glauber de Oliveira Costa <glommer@gmail.com>
45832 * elf/elf.h: Add new ARM TLS relocs.
45834 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
45836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45837 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
45839 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
45841 * sysdeps/wordsize-64/tst-writev.c: New file.
45843 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
45845 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
45846 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
45847 insns in _dl_start to prevent a TOC reference before relocs are
45850 2011-02-15 Ulrich Drepper <drepper@gmail.com>
45853 * Makeconfig: Remove RANLIB definition.
45854 * Makerules: Don't use RANLIB.
45855 * aclocal.m4: Remove ranlib test.
45856 * configure.in: No need to check for ranlib.
45857 * elf/rtld-Rules: Don't use RANLIB.
45859 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
45861 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
45863 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
45864 inclusion protection macro.
45866 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
45867 SIGRTMIN and SIGRTMAX and print information in that case only when
45868 SIGRTMIN is defined.
45870 2011-02-11 Jakub Jelinek <jakub@redhat.com>
45872 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
45873 arginfo fn returning -1.
45875 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
45876 and thousands string is zero terminated.
45878 2011-02-03 Andreas Schwab <schwab@redhat.com>
45880 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
45881 sysdeps/unix/sysv/linux/bits/socket.h.
45883 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
45885 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
45886 (__CPU_COUNT): Remove old macros.
45887 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
45888 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
45889 (__CPU_ALLOC, __CPU_FREE): Add macros.
45890 (__sched_cpualloc, __sched_cpufree): Add declarations.
45892 2011-02-05 Ulrich Drepper <drepper@gmail.com>
45894 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
45895 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
45896 * nscd/aicache.c (addhstaiX): Return timeout of added value.
45897 (readdhstai): Return value of addhstaiX call.
45898 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
45899 (addgrbyX): Return value returned by cache_addgr.
45900 (readdgrbyname): Return value returned by addgrbyX.
45901 (readdgrbygid): Likewise.
45902 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
45903 (addpwbyX): Return value returned by cache_addpw.
45904 (readdpwbyname): Return value returned by addhstbyX.
45905 (readdpwbyuid): Likewise.
45906 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
45907 (addservbyX): Return value returned by cache_addserv.
45908 (readdservbyname): Return value returned by addservbyX:
45909 (readdservbyport): Likewise.
45910 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
45911 (addhstbyX): Return value returned by cache_addhst.
45912 (readdhstbyname): Return value returned by addhstbyX.
45913 (readdhstbyaddr): Likewise.
45914 (readdhstbynamev6): Likewise.
45915 (readdhstbyaddrv6): Likewise.
45916 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
45917 (readdinitgroups): Return value returned by addinitgroupsX.
45918 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
45919 (prune_cache): Keep track of timeout value of re-added entries.
45920 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
45921 * nscd/nscd.h: Adjust prototypes of readd* functions.
45923 2011-02-04 Roland McGrath <roland@redhat.com>
45925 * nis/nis_server.c (nis_servstate): Use the right name for 0.
45926 (nis_stats): Likewise.
45927 * nis/nis_modify.c (nis_modify): Likewise.
45928 * nis/nis_remove.c (nis_remove): Likewise.
45929 * nis/nis_add.c (nis_add): Likewise.
45931 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
45933 * posix/fnmatch_loop.c: Add some consts.
45935 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
45937 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
45940 * config.make.in (config-cflags-novzeroupper): Define.
45941 * configure.in: Substitute libc_cv_cc_novzeroupper.
45942 * elf/Makefile (AVX-CFLAGS): Define.
45943 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
45944 (CFLAGS-tst-auditmod4a.c): Likewise.
45945 (CFLAGS-tst-auditmod4b.c): Likewise.
45946 (CFLAGS-tst-auditmod6b.c): Likewise.
45947 (CFLAGS-tst-auditmod6c.c): Likewise.
45948 (CFLAGS-tst-auditmod7b.c): Likewise.
45949 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
45951 2011-02-02 Ulrich Drepper <drepper@gmail.com>
45953 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
45954 function to the callback.
45955 Patch partly by Jiri Olsa <jolsa@redhat.com>.
45957 2011-02-02 Andreas Schwab <schwab@redhat.com>
45959 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
45962 2011-01-19 Ulrich Drepper <drepper@gmail.com>
45965 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
45967 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
45969 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
45972 * elf/Makefile: Add rules to build and run new test.
45973 * elf/tst-initorder.c: New file.
45974 * elf/tst-initorder.exp: New file.
45975 * elf/tst-initordera1.c: New file.
45976 * elf/tst-initordera2.c: New file.
45977 * elf/tst-initordera3.c: New file.
45978 * elf/tst-initordera4.c: New file.
45979 * elf/tst-initorderb1.c: New file.
45980 * elf/tst-initorderb2.c: New file.
45981 * elf/tst-order-a1.c: New file.
45982 * elf/tst-order-a2.c: New file.
45983 * elf/tst-order-a3.c: New file.
45984 * elf/tst-order-a4.c: New file.
45985 * elf/tst-order-b1.c: New file.
45986 * elf/tst-order-b2.c: New file.
45987 * elf/tst-order-main.c: New file.
45988 New test case by George Gensure <werkt0@gmail.com>.
45990 2010-10-01 Andreas Schwab <schwab@redhat.com>
45992 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45993 decoding ACE if AI_CANONIDN.
45995 2011-01-18 Ulrich Drepper <drepper@gmail.com>
45997 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
45999 2011-01-17 Ulrich Drepper <drepper@gmail.com>
46001 * version.h (RELEASE): Bump for 2.13 release.
46002 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46004 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46006 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46008 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46009 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46010 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46011 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46012 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46013 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46015 * posix/getconf.c: Update copyright year.
46016 * catgets/gencat.c: Likewise.
46017 * csu/version.c: Likewise.
46018 * debug/catchsegv.sh: Likewise.
46019 * debug/xtrace.sh: Likewise.
46020 * elf/ldconfig.c: Likewise.
46021 * elf/ldd.bash.in: Likewise.
46022 * elf/sprof.c (print_version): Likewise.
46023 * iconv/iconv_prog.c: Likewise.
46024 * iconv/iconvconfig.c: Likewise.
46025 * locale/programs/locale.c: Likewise.
46026 * locale/programs/localedef.c: Likewise.
46027 * malloc/memusage.sh: Likewise.
46028 * malloc/mtrace.pl: Likewise.
46029 * nscd/nscd.c (print_version): Likewise.
46030 * nss/getent.c: Likewise.
46032 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46033 PF_CAIF, and PF_ALG.
46034 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46036 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
46038 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46039 (modules-names): Use them.
46040 (ifunc-test-modules, ifunc-pie-tests): Define.
46041 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46042 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46043 (test-extras): Likewise.
46044 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46045 $(compile-command.c).
46046 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46047 (all-built-dso): Define.
46048 (check-textrel.out, check-execstack.out): Depend on it.
46050 * configure.in: Don't override --enable-multi-arch.
46052 2011-01-15 Ulrich Drepper <drepper@gmail.com>
46055 * nscd/hstcache.c (tryagain): Define.
46056 (cache_addhst): Return tryagain not notfound for temporary errors.
46057 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46060 2011-01-14 Ulrich Drepper <drepper@gmail.com>
46063 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46064 to make the syscall.
46065 * sysdeps/unix/sysv/linux/setgroups.c: New file.
46068 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46069 and fall back to matching as normal character if the string ends before
46070 the matching ']' is found. This is what POSIX requires.
46071 * posix/testfnm.c: Adjust test result.
46072 * posix/globtest.sh: Adjust test result. Add new test.
46073 * posix/tst-fnmatch.input: Likewise.
46074 * posix/tst-fnmatch2.c: Add new test.
46076 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
46078 * elf/Makefile (check-execstack): Revert last change. Depend on
46080 (check-execstack.h): New target.
46081 (generated): Add check-execstack.h.
46082 * elf/check-execstack.c: Include "check-execstack.h".
46083 (main): Revert last change.
46084 (handle_file): Return zero if GNU_STACK is absent and
46085 DEFAULT_STACK_PERMS doesn't include PF_X.
46087 2011-01-13 Ulrich Drepper <drepper@gmail.com>
46089 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
46090 in child fails because the descriptor is already closed.
46091 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
46092 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
46093 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
46096 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
46100 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
46101 temporary buffer used to handle multi lookups locally.
46102 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
46104 2011-01-12 Ulrich Drepper <drepper@gmail.com>
46106 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
46109 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
46111 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
46112 alignment for SSE2.
46114 2011-01-12 Ulrich Drepper <drepper@gmail.com>
46117 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
46118 characters. When rounding increased number of integer digits recompute
46120 * stdio-common/tst-grouping.c: New file.
46121 * stdio-common/Makefile: Add rules to build and run tst-grouping.
46123 2011-01-09 Ulrich Drepper <drepper@gmail.com>
46125 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
46126 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
46128 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
46130 * bits/select.h: Likewise.
46132 2011-01-08 Ulrich Drepper <drepper@gmail.com>
46134 * po/ja.po: Update from translation team.
46136 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
46139 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
46140 implementation just like for lxstat, fxstatat, et al.
46142 2010-12-27 Jim Meyering <meyering@redhat.com>
46145 * posix/regexec.c (build_trtable): Return failure indication upon
46146 calloc failure. Otherwise, re_search_internal could infloop on OOM.
46148 2010-12-25 Ulrich Drepper <drepper@gmail.com>
46151 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
46152 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
46153 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
46154 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
46157 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
46160 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
46161 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
46163 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
46165 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
46166 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
46167 script has SORT_BY_INIT_PRIORITY.
46168 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
46169 NO_CTORS_DTORS_SECTIONS is defined.
46170 * elf/soinit.c: Likewise.
46171 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
46172 NO_CTORS_DTORS_SECTIONS is defined.
46173 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
46174 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
46175 * sysdeps/sh/init-first.c: Likewise.
46176 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
46178 2010-12-24 Ulrich Drepper <drepper@gmail.com>
46180 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
46181 always use the slow path.
46183 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
46185 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
46186 similar rule which adds the sysdep directories to the header search in
46187 order to pick up the correct platform stackinfo.h.
46188 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
46189 perform test if it is, otherwise return successfully without testing.
46190 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
46191 DEFAULT_STACK_PERMS define in stackinfo.h.
46192 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
46193 defined in stackinfo.h.
46194 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
46195 DEFAULT_STACK_PERMS defined in stackinfo.h.
46196 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
46197 * sysdeps/ia64/stackinfo.h: Likewise.
46198 * sysdeps/s390/stackinfo.h: Likewise.
46199 * sysdeps/sh/stackinfo.h: Likewise.
46200 * sysdeps/sparc/stackinfo.h: Likewise.
46201 * sysdeps/x86_64/stackinfo.h: Likewise.
46202 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
46203 PF_X for powerpc64. Retain PF_X for powerpc32.
46205 2010-12-19 Ulrich Drepper <drepper@gmail.com>
46207 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
46209 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
46210 GETDENTS_64BIT_ALIGNED.
46212 2010-12-14 Ulrich Drepper <dreper@gmail.com>
46214 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
46216 2010-12-10 Andreas Schwab <schwab@redhat.com>
46218 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
46221 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
46222 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
46224 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
46225 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
46227 2010-12-09 Ulrich Drepper <drepper@gmail.com>
46230 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
46233 2010-12-09 Jakub Jelinek <jakub@redhat.com>
46235 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
46237 2010-12-03 Ulrich Drepper <drepper@gmail.com>
46239 * po/it.po: Update from translation team.
46241 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
46243 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
46246 2010-11-30 Ulrich Drepper <drepper@gmail.com>
46248 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
46250 2010-11-24 Andreas Schwab <schwab@redhat.com>
46252 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
46254 (gaih_getanswer_slice): Likewise.
46256 2010-10-20 Jakub Jelinek <jakub@redhat.com>
46258 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
46260 2010-05-31 Petr Baudis <pasky@suse.cz>
46263 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
46264 silently even in the chroot mode.
46266 2010-11-22 Ulrich Drepper <drepper@gmail.com>
46268 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
46269 last patch a bit. Pretty printing
46271 2010-05-31 Petr Baudis <pasky@suse.cz>
46274 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
46275 initialization of skip_initgroups_dyn.
46277 2010-11-19 Ulrich Drepper <drepper@gmail.com>
46279 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
46280 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46282 2010-11-16 Ulrich Drepper <drepper@gmail.com>
46284 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
46286 2010-11-11 Andreas Schwab <schwab@redhat.com>
46288 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
46289 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
46290 (tst-fnmatch-ENV): Set MALLOC_TRACE.
46291 ($(objpfx)tst-fnmatch-mem): New rule.
46292 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
46293 * posix/tst-fnmatch.c (main): Call mtrace.
46295 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
46297 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46298 Support Intel processor model 6 and model 0x2c.
46300 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
46302 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
46305 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
46308 * string/test-strncasecmp.c (check_result): New function.
46309 (do_one_test): Use it.
46310 (check1): New function.
46311 (test_main): Use it.
46312 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
46313 Support strcasecmp and strncasecmp.
46315 2010-11-08 Ulrich Drepper <drepper@gmail.com>
46318 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
46319 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46321 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
46323 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
46325 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46327 * sysdeps/x86_64/multiarch/bzero.S: New file.
46328 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
46329 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
46330 * sysdeps/x86_64/multiarch/memset.S: New file.
46331 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
46332 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46333 Set bit_Prefer_SSE_for_memop for Intel processors.
46334 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
46336 (index_Prefer_SSE_for_memop): Define.
46337 (HAS_PREFER_SSE_FOR_MEMOP): Define.
46339 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
46341 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
46342 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
46344 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
46347 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46348 (__x86_64_raw_data_cache_size_half): Likewise.
46349 (__x86_64_raw_shared_cache_size): Likewise.
46350 (__x86_64_raw_shared_cache_size_half): Likewise.
46352 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46353 (__x86_64_raw_data_cache_size_half): Likewise.
46354 (__x86_64_raw_shared_cache_size): Likewise.
46355 (__x86_64_raw_shared_cache_size_half): Likewise.
46356 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
46357 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
46358 and __x86_64_raw_shared_cache_size_half. Round
46359 __x86_64_data_cache_size_half, __x86_64_data_cache_size
46360 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
46361 to multiple of 256 bytes.
46363 2010-11-03 Ulrich Drepper <drepper@gmail.com>
46366 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
46367 of inacessible symlinks. Verify result of symlink before returning it.
46368 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46369 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
46371 2010-10-28 Erich Ritz <erichritz@gmail.com>
46373 * math/math.h (isinf): Fix typo in comment.
46375 2010-11-01 Ulrich Drepper <drepper@gmail.com>
46377 * po/da.po: Update from translation team.
46379 2010-10-26 Ulrich Drepper <drepper@gmail.com>
46381 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
46382 is added to the list.
46384 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46385 Ulrich Drepper <drepper@gmail.com>
46387 * elf/dl-object.c (_dl_new_object): Don't append the new object to
46388 the global list here. Move code to...
46389 (_dl_add_to_namespace_list): ...here. New function.
46390 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
46391 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
46392 * elf/dl-load.c (lose): Don't remove the element from the list.
46393 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
46394 (_dl_map_object): Likewise.
46396 2010-10-25 Ulrich Drepper <drepper@gmail.com>
46399 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
46400 into all bytes of SSE register.
46401 Patch by Richard Li <richardpku@gmail.com>.
46403 2010-10-24 Ulrich Drepper <drepper@gmail.com>
46406 * malloc/malloc.c (_int_free): Fill correct number of bytes when
46409 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
46411 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
46412 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
46413 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
46414 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
46417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
46419 2010-10-22 Andreas Schwab <schwab@redhat.com>
46421 * include/dlfcn.h (__RTLD_SECURE): Define.
46422 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
46423 mode & __RTLD_SECURE instead.
46424 (open_path): Rename preloaded parameter to secure.
46425 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
46426 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
46427 * elf/dl-deps.c (openaux): Likewise.
46428 * elf/rtld.c (struct map_args): Remove is_preloaded.
46429 (map_doit): Don't use it.
46430 (dl_main): Likewise.
46431 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
46432 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
46434 2010-09-09 Andreas Schwab <schwab@redhat.com>
46436 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
46437 (sysd-rules-targets): Remove duplicates.
46438 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
46439 rtld-%.$o dependency.
46441 2010-10-18 Andreas Schwab <schwab@redhat.com>
46443 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
46444 _dl_map_object do it.
46446 2010-10-19 Ulrich Drepper <drepper@gmail.com>
46448 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
46449 fast fma builtins, define the macros in the C99 standard.
46450 (FP_FAST_FMAF): Likewise.
46451 (FP_FAST_FMAL): Likewise.
46452 * sysdeps/x86_64/bits/mathdef.h: Likewise.
46454 * bits/mathdef.h: Update copyright year.
46455 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46457 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
46459 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
46460 builtins, define the macros in the C99 standard.
46461 (FP_FAST_FMAF): Likewise.
46462 (FP_FAST_FMAL): Likewise.
46463 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46465 (FP_FAST_FMAF): Likewise.
46467 2010-10-15 Jakub Jelinek <jakub@redhat.com>
46470 * math/libm-test.inc (fma_test): Some new testcases.
46471 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
46472 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
46473 y and infinite z. Do multiplication by C already in long double.
46474 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
46475 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
46476 y and infinite z. Do bitwise or of inexact bit into u.d.
46477 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
46478 * sysdeps/i386/fpu/s_fmaf.S: Removed.
46479 * sysdeps/i386/fpu/s_fma.S: Removed.
46480 * sysdeps/i386/fpu/s_fmal.S: Removed.
46482 2010-10-16 Jakub Jelinek <jakub@redhat.com>
46485 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
46486 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
46487 computation is not scheduled after fetestexcept. Fix value
46488 of minimum denormal long double.
46490 2010-10-14 Jakub Jelinek <jakub@redhat.com>
46493 * math/libm-test.inc (fma_test): Add some more tests.
46494 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
46497 2010-10-15 Andreas Schwab <schwab@redhat.com>
46499 * scripts/data/localplt-s390-linux-gnu.data: New file.
46500 * scripts/data/localplt-s390x-linux-gnu.data: New file.
46502 2010-10-13 Jakub Jelinek <jakub@redhat.com>
46505 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
46506 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
46508 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
46510 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
46511 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
46512 if one of x and y is very large and the other is subnormal.
46513 * sysdeps/s390/fpu/s_fmaf.c: New file.
46514 * sysdeps/s390/fpu/s_fma.c: New file.
46515 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
46516 * sysdeps/powerpc/fpu/s_fma.S: New file.
46517 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
46518 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
46519 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
46521 2010-10-12 Jakub Jelinek <jakub@redhat.com>
46524 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
46526 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
46527 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
46528 * sysdeps/i386/i686/multiarch/s_fma.c: Include
46529 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
46530 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
46531 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
46532 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
46534 2010-10-12 Ulrich Drepper <drepper@redhat.com>
46537 * posix/regcomp.c (parse_branch): One more memory leak plugged.
46538 * posix/bug-regex31.input: Add test case.
46540 2010-10-11 Ulrich Drepper <drepper@gmail.com>
46542 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
46543 * posix/bug-regex31.input: New file.
46546 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
46547 (parse_sub_exp): Fix last change, use postorder.
46549 * posix/bug-regex31.c: New file.
46550 * posix/Makefile: Add rules to build and run bug-regex31.
46552 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
46555 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
46558 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
46559 to have entries in sys_siglist.
46562 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
46565 2010-10-07 Jakub Jelinek <jakub@redhat.com>
46568 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
46569 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
46570 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
46571 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
46572 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46573 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
46574 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
46575 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
46576 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
46577 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
46578 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
46579 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
46580 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
46581 * math/ftestexcept.c (fetestexcept): Likewise.
46582 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
46583 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
46584 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
46585 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
46586 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
46587 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
46588 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46590 2010-10-11 Ulrich Drepper <drepper@gmail.com>
46593 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
46596 2010-10-06 Ulrich Drepper <drepper@gmail.com>
46598 * string/bug-strstr1.c: New file.
46599 * string/Makefile: Add rules to build and run bug-strstr1.
46601 2010-10-05 Eric Blake <eblake@redhat.com>
46604 * string/str-two-way.h (two_way_long_needle): Always clear memory
46605 when skipping input due to the shift table.
46607 2010-10-03 Ulrich Drepper <drepper@gmail.com>
46610 * malloc/mcheck.c: Handle large requests.
46613 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
46614 for strncmp and strncasecmp.
46615 * string/stratcliff.c: Add tests for strcmp and strncmp.
46616 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
46618 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46620 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
46623 2010-09-30 Andreas Jaeger <aj@suse.de>
46625 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
46626 (CGROUP_SUPER_MAGIC): Define.
46627 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46628 Handle btrfs and cgroup file systems.
46629 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
46632 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
46634 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
46635 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
46637 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46640 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
46641 trying to locate the ELF header.
46643 2010-09-27 Andreas Schwab <schwab@redhat.com>
46646 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
46647 Mask out sign-bit copies when constructing f_fsid.
46649 2010-09-24 Petr Baudis <pasky@suse.cz>
46651 * debug/stack_chk_fail_local.c: Add missing licence exception.
46652 * debug/warning-nop.c: Likewise.
46654 2010-09-15 Joseph Myers <joseph@codesourcery.com>
46656 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
46657 implementing getdents64 using getdents syscall, set d_type if
46658 __ASSUME_GETDENTS32_D_TYPE.
46660 2010-09-16 Andreas Schwab <schwab@redhat.com>
46662 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
46663 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
46665 2010-09-21 Ulrich Drepper <drepper@redhat.com>
46668 * posix/unistd.h: Undo change of feature selection for ftruncate from
46671 2010-09-20 Ulrich Drepper <drepper@redhat.com>
46673 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
46676 2010-09-20 Andreas Schwab <schwab@redhat.com>
46678 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
46680 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46682 2010-09-14 Andreas Schwab <schwab@redhat.com>
46684 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
46685 variables after CHECK_SP call.
46686 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
46688 2010-09-13 Andreas Schwab <schwab@redhat.com>
46689 Ulrich Drepper <drepper@redhat.com>
46691 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
46692 re-relocationg ld.so.
46693 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
46694 _dl_init_paths call.
46695 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
46698 2010-09-14 Ulrich Drepper <drepper@redhat.com>
46700 * resolv/res_init.c (__res_vinit): Count the default server we added.
46702 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
46703 Ulrich Drepper <drepper@redhat.com>
46706 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46707 (____longjmp_chk): Use %ebx for saving value across system call.
46710 2010-09-06 Andreas Schwab <schwab@redhat.com>
46712 * manual/Makefile: Don't mix pattern rules with normal rules.
46714 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
46716 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
46718 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
46719 * libio/iofopncook.c (_IO_cookie_init): Likewise.
46720 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
46721 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
46722 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46725 2010-09-04 Ulrich Drepper <drepper@redhat.com>
46728 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
46729 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
46731 2010-09-02 Ulrich Drepper <drepper@redhat.com>
46733 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
46734 * sysdeps/x86_64/addmul_1.S: Likewise.
46735 * sysdeps/x86_64/lshift.S: Likewise.
46736 * sysdeps/x86_64/mul_1.S: Likewise.
46737 * sysdeps/x86_64/rshift.S: Likewise.
46738 * sysdeps/x86_64/sub_n.S: Likewise.
46739 * sysdeps/x86_64/submul_1.S: Likewise.
46741 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
46743 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
46744 Define __sched_param instead of SCHED_* and sched_param when
46745 <bits/sched.h> is included with __need_schedparam defined.
46746 * bits/sched.h [__need_schedparam]
46747 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
46748 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
46749 (__defined_schedparam): Define to 1.
46750 (__sched_param): New structure, identical to sched_param.
46751 (__need_schedparam): Undefine.
46753 2010-08-31 Mike Frysinger <vapier@gentoo.org>
46755 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
46756 (epoll_create1): Declare.
46758 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
46760 2010-08-31 Andreas Schwab <schwab@redhat.com>
46763 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
46764 shifting retval into place.
46766 2010-09-01 Ulrich Drepper <drepper@redhat.com>
46768 * nis/rpcsvc/nis.h: Update copyright notice.
46769 * nis/rpcsvc/nis.x: Likewise.
46770 * nis/rpcsvc/nis_callback.h: Likewise.
46771 * nis/rpcsvc/nis_callback.x: Likewise.
46772 * nis/rpcsvc/nis_object.x: Likewise.
46773 * nis/rpcsvc/nis_tags.h: Likewise.
46774 * nis/rpcsvc/yp.h: Likewise.
46775 * nis/rpcsvc/yp.x: Likewise.
46776 * nis/rpcsvc/ypupd.h: Likewise.
46777 * nis/yp_xdr.c: Likewise.
46778 * nis/ypupdate_xdr.c: Likewise.
46780 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
46781 mainly the body of pmap_getport. Add parameters to specify timeouts.
46782 (pmap_getport): Use __libc_rpc_getport.
46783 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
46784 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
46785 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
46787 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
46789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
46792 2010-08-27 Roland McGrath <roland@redhat.com>
46794 * sysdeps/i386/i686/multiarch/Makefile
46795 (CFLAGS-varshift.c): New variable.
46797 2010-08-27 Ulrich Drepper <drepper@redhat.com>
46799 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
46800 * sysdeps/i386/i686/multiarch/varshift.c: New file.
46802 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
46804 * sysdeps/x86_64/strlen.S: Minimal code improvement.
46806 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
46808 * sysdeps/x86_64/strlen.S: Unroll the loop.
46809 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46810 strlen-sse2 strlen-sse2-bsf.
46811 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
46812 __strlen_no_bsf if bit_Slow_BSF is set.
46813 (__strlen_sse42): Removed.
46814 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
46815 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
46817 2010-08-25 Roland McGrath <roland@redhat.com>
46819 * sysdeps/x86_64/multiarch/varshift.S: File removed.
46820 * sysdeps/x86_64/multiarch/varshift.c: New file.
46821 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
46822 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
46823 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
46824 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46826 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
46828 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46829 strlen-sse2 strlen-sse2-bsf.
46830 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
46831 __strlen_sse2_bsf if bit_Slow_BSF is unset.
46832 (__strlen_sse2): Removed.
46833 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
46834 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
46835 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46836 bit_Slow_BSF for Atom.
46837 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
46838 (index_Slow_BSF): Define.
46839 (HAS_SLOW_BSF): Define.
46841 2010-08-25 Ulrich Drepper <drepper@redhat.com>
46844 * resolv/res_init.c (__res_vinit): When no server address at all
46845 is given default to loopback.
46847 2010-08-24 Roland McGrath <roland@redhat.com>
46849 * configure.in: Remove config-name.h generation.
46850 * configure: Regenerated.
46851 * config-name.in: File removed.
46852 * scripts/config-uname.sh: New file.
46853 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
46854 ($(objdir)config-name.h): New target.
46856 * sunrpc/rpc_parse.h: Avoid nested comment.
46858 2010-08-24 Richard Henderson <rth@redhat.com>
46859 Ulrich Drepper <drepper@redhat.com>
46860 H.J. Lu <hongjiu.lu@intel.com>
46862 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
46863 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
46864 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
46865 Replace _mm_srli_si128 with __m128i_shift_right. Replace
46866 _mm_alignr_epi8 with _mm_loadu_si128.
46867 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
46868 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
46869 (__m128i_shift_right): Removed.
46870 * sysdeps/i386/i686/multiarch/varshift.h: New file.
46871 * sysdeps/i386/i686/multiarch/varshift.S: New file.
46872 * sysdeps/x86_64/multiarch/varshift.h: New file.
46873 * sysdeps/x86_64/multiarch/varshift.S: New file.
46875 2010-08-21 Mike Frysinger <vapier@gentoo.org>
46877 * configure.in: Move assembler checks to before sysdep dir checking.
46879 2010-08-20 Petr Baudis <pasky@suse.cz>
46881 * LICENSES: Sync the sunrpc license.
46883 2010-08-19 Ulrich Drepper <drepper@redhat.com>
46885 * sunrpc/auth_des.c: Update copyright notice once again.
46886 * sunrpc/auth_none.c: Likewise.
46887 * sunrpc/auth_unix.c: Likewise.
46888 * sunrpc/authdes_prot.c: Likewise.
46889 * sunrpc/authuxprot.c: Likewise.
46890 * sunrpc/bindrsvprt.c: Likewise.
46891 * sunrpc/clnt_gen.c: Likewise.
46892 * sunrpc/clnt_perr.c: Likewise.
46893 * sunrpc/clnt_raw.c: Likewise.
46894 * sunrpc/clnt_simp.c: Likewise.
46895 * sunrpc/clnt_tcp.c: Likewise.
46896 * sunrpc/clnt_udp.c: Likewise.
46897 * sunrpc/clnt_unix.c: Likewise.
46898 * sunrpc/des_crypt.c: Likewise.
46899 * sunrpc/des_soft.c: Likewise.
46900 * sunrpc/get_myaddr.c: Likewise.
46901 * sunrpc/getrpcport.c: Likewise.
46902 * sunrpc/key_call.c: Likewise.
46903 * sunrpc/key_prot.c: Likewise.
46904 * sunrpc/openchild.c: Likewise.
46905 * sunrpc/pm_getmaps.c: Likewise.
46906 * sunrpc/pm_getport.c: Likewise.
46907 * sunrpc/pmap_clnt.c: Likewise.
46908 * sunrpc/pmap_prot.c: Likewise.
46909 * sunrpc/pmap_prot2.c: Likewise.
46910 * sunrpc/pmap_rmt.c: Likewise.
46911 * sunrpc/rpc/auth.h: Likewise.
46912 * sunrpc/rpc/auth_unix.h: Likewise.
46913 * sunrpc/rpc/clnt.h: Likewise.
46914 * sunrpc/rpc/des_crypt.h: Likewise.
46915 * sunrpc/rpc/key_prot.h: Likewise.
46916 * sunrpc/rpc/netdb.h: Likewise.
46917 * sunrpc/rpc/pmap_clnt.h: Likewise.
46918 * sunrpc/rpc/pmap_prot.h: Likewise.
46919 * sunrpc/rpc/pmap_rmt.h: Likewise.
46920 * sunrpc/rpc/rpc.h: Likewise.
46921 * sunrpc/rpc/rpc_des.h: Likewise.
46922 * sunrpc/rpc/rpc_msg.h: Likewise.
46923 * sunrpc/rpc/svc.h: Likewise.
46924 * sunrpc/rpc/svc_auth.h: Likewise.
46925 * sunrpc/rpc/types.h: Likewise.
46926 * sunrpc/rpc/xdr.h: Likewise.
46927 * sunrpc/rpc_clntout.c: Likewise.
46928 * sunrpc/rpc_cmsg.c: Likewise.
46929 * sunrpc/rpc_common.c: Likewise.
46930 * sunrpc/rpc_cout.c: Likewise.
46931 * sunrpc/rpc_dtable.c: Likewise.
46932 * sunrpc/rpc_hout.c: Likewise.
46933 * sunrpc/rpc_main.c: Likewise.
46934 * sunrpc/rpc_parse.c: Likewise.
46935 * sunrpc/rpc_parse.h: Likewise.
46936 * sunrpc/rpc_prot.c: Likewise.
46937 * sunrpc/rpc_sample.c: Likewise.
46938 * sunrpc/rpc_scan.c: Likewise.
46939 * sunrpc/rpc_scan.h: Likewise.
46940 * sunrpc/rpc_svcout.c: Likewise.
46941 * sunrpc/rpc_tblout.c: Likewise.
46942 * sunrpc/rpc_util.c: Likewise.
46943 * sunrpc/rpc_util.h: Likewise.
46944 * sunrpc/rpcinfo.c: Likewise.
46945 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
46946 * sunrpc/rpcsvc/key_prot.x: Likewise.
46947 * sunrpc/rpcsvc/klm_prot.x: Likewise.
46948 * sunrpc/rpcsvc/mount.x: Likewise.
46949 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
46950 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
46951 * sunrpc/rpcsvc/rex.x: Likewise.
46952 * sunrpc/rpcsvc/rstat.x: Likewise.
46953 * sunrpc/rpcsvc/rusers.x: Likewise.
46954 * sunrpc/rpcsvc/sm_inter.x: Likewise.
46955 * sunrpc/rpcsvc/spray.x: Likewise.
46956 * sunrpc/rpcsvc/yppasswd.x: Likewise.
46957 * sunrpc/rtime.c: Likewise.
46958 * sunrpc/svc.c: Likewise.
46959 * sunrpc/svc_auth.c: Likewise.
46960 * sunrpc/svc_authux.c: Likewise.
46961 * sunrpc/svc_raw.c: Likewise.
46962 * sunrpc/svc_run.c: Likewise.
46963 * sunrpc/svc_simple.c: Likewise.
46964 * sunrpc/svc_tcp.c: Likewise.
46965 * sunrpc/svc_udp.c: Likewise.
46966 * sunrpc/svc_unix.c: Likewise.
46967 * sunrpc/svcauth_des.c: Likewise.
46968 * sunrpc/xcrypt.c: Likewise.
46969 * sunrpc/xdr.c: Likewise.
46970 * sunrpc/xdr_array.c: Likewise.
46971 * sunrpc/xdr_float.c: Likewise.
46972 * sunrpc/xdr_mem.c: Likewise.
46973 * sunrpc/xdr_rec.c: Likewise.
46974 * sunrpc/xdr_ref.c: Likewise.
46975 * sunrpc/xdr_sizeof.c: Likewise.
46976 * sunrpc/xdr_stdio.c: Likewise.
46978 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
46981 2010-08-19 Andreas Schwab <schwab@redhat.com>
46983 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
46985 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
46987 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
46988 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
46989 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
46990 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
46991 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
46992 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
46993 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
46994 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
46995 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
46996 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
46997 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
46998 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
46999 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47000 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47002 2010-07-26 Anton Blanchard <anton@samba.org>
47004 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47005 * malloc/arena.c (heap_trim): Likewise.
47007 2010-08-16 Ulrich Drepper <drepper@redhat.com>
47009 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47011 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47012 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47014 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
47016 * sysdeps/i386/elf/Makefile: New file.
47018 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47020 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47021 from fanotify_init.
47022 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47023 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47025 2010-08-15 Ulrich Drepper <drepper@redhat.com>
47027 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47029 * sysdeps/multiarch/strcmp.S: Likewise.
47031 2010-08-14 Ulrich Drepper <drepper@redhat.com>
47033 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47034 strncase_l-nonascii.
47035 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47036 Add strncase_l-ssse3.
47037 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47038 * sysdeps/x86_64/strcmp.S: Likewise.
47039 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47040 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47041 * sysdeps/x86_64/strncase.S: New file.
47042 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47043 * sysdeps/x86_64/strncase_l.S: New file.
47044 * string/Makefile (strop-tests): Add strncasecmp.
47045 * string/test-strncasecmp.c: New file.
47047 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47050 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47051 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47053 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47055 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47057 2010-08-12 Ulrich Drepper <drepper@redhat.com>
47059 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47060 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47061 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47063 2010-05-01 Alan Modra <amodra@gmail.com>
47065 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47066 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47067 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47068 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47069 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47070 tidying. Don't tail-call __sigjmp_save for static lib.
47071 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47073 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47074 (CALL_MCOUNT): Add eh info, and nop after bl.
47075 (TAIL_CALL_SYSCALL_ERROR): New macro.
47076 (PSEUDO_RET): Use it.
47077 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47078 Correct save location of integer regs and cr.
47079 (_dl_profile_resolve): Correct cr save location. Delete nops
47080 after bl when SHARED. Reduce cfi size a little by better
47081 placement of cfi directives.
47082 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47083 make a stack frame. Instead use parm save area as a temp.
47084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
47085 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
47086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47087 Don't make a stack frame for parent, use parm save area.
47088 Increase child stack frame to 112 bytes. Don't save unused reg,
47089 and adjust reg usage. Set up cfi on error recovery and
47090 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
47091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47092 (__makecontext): Add dummy nop after jump to exit.
47093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
47094 Use correct parm save area and cr save, reduce stack frame.
47095 Correct cfi for possible PSEUDO_RET frame setup.
47096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
47097 Branch to local label emitted by PSEUDO_RET rather than
47100 2010-08-12 Andreas Schwab <schwab@redhat.com>
47103 * locale/programs/locale.c (print_assignment): New function.
47104 (show_locale_vars): Use it.
47106 2010-08-11 Ulrich Drepper <drepper@redhat.com>
47108 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
47110 (struct statfs64): Likewise.
47111 (_STATFS_F_FLAGS): Define.
47112 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
47113 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47114 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
47115 (ST_VALID): Define locally.
47116 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
47117 __statvfs_getflags, use the provided value.
47118 * sysdeps/unix/sysv/linux/kernel-features.h: Define
47119 __ASSUME_STATFS_F_FLAGS.
47121 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
47123 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
47124 Add sys/fanotify.h.
47125 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
47126 fanotify_mask for GLIBC_2.13.
47127 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
47128 fanotify_init and fanotify_mark.
47129 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47130 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
47132 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
47134 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
47135 prlimit64 for GLIBC_2.13.
47136 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
47138 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
47140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
47141 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47142 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
47143 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
47144 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
47146 * sysdeps/unix/sysv/linux/prlimit.c: New file.
47149 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
47150 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
47152 * nss/Makefile: Add rules to build and run tst-nss-test1.
47153 * shlib-versions: Add entry for libnss_test1.
47154 * nss/nss_test1.c: New file.
47155 * nss/tst-nss-test1.c: New file.
47157 * nss/nsswitch.c (__nss_database_custom): Define new variable.
47158 (__nss_configure_lookup): Set appropriate entry in
47159 __nss_configure_lookup to true.
47160 * nss/nsswitch.h: Define enum with indeces of databases in
47161 databases and __nss_database_custom arrays. Declare
47162 __nss_database_custom.
47163 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
47164 to avoid using nscd when custom rules are installed.
47165 * nss/getXXbyYY_r.c: Likewise.
47166 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47168 * nss/nss_files/files-parse.c: Whitespace fixes.
47170 2010-08-09 Ulrich Drepper <drepper@redhat.com>
47173 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
47174 * posix/fnmatch_loop.c: Likewise.
47176 2010-07-17 Andi Kleen <ak@linux.intel.com>
47178 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
47179 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
47180 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
47181 * Versions.def [GLIBC_2.13]: Add.
47183 2010-08-06 Ulrich Drepper <drepper@redhat.com>
47185 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47186 Also fail if tpwd after pwuid call is NULL.
47188 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
47190 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
47191 when converting to ms.
47193 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47195 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
47196 EOPNOTSUPP errors with ENOTTY.
47197 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
47198 EOPNOTSUPP errors with ENOTTY.
47200 2010-07-31 Ulrich Drepper <drepper@redhat.com>
47202 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47203 Add strcasecmp_l-ssse3.
47204 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
47206 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
47207 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
47208 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
47210 2010-07-30 Ulrich Drepper <drepper@redhat.com>
47212 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
47214 * string/Makefile (strop-tests): Add strcasecmp.
47215 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47216 strcasecmp_l-nonascii.
47217 (gen-as-const-headers): Add locale-defines.sym.
47218 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
47219 * sysdeps/x86_64/strcasecmp.S: New file.
47220 * sysdeps/x86_64/strcasecmp_l.S: New file.
47221 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
47222 * sysdeps/x86_64/locale-defines.sym: New file.
47223 * string/test-strcasecmp.c: New file.
47225 * string/test-strcasestr.c: Test both ends of the range of characters.
47226 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
47228 2010-07-29 Roland McGrath <roland@redhat.com>
47231 * manual/locale.texi (Yes-or-No Questions): Fix example code.
47233 2010-07-27 Ulrich Drepper <drepper@redhat.com>
47235 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
47238 2010-07-27 Andreas Schwab <schwab@redhat.com>
47240 * manual/memory.texi (Malloc Tunable Parameters): Document
47243 2010-07-26 Roland McGrath <roland@redhat.com>
47246 * configure.in (-fgnu89-inline check): Set and substitute
47247 gnu89_inline, not libc_cv_gnu89_inline.
47248 * configure: Regenerated.
47249 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
47251 2010-07-26 Ulrich Drepper <drepper@redhat.com>
47253 * string/test-strnlen.c: New file.
47254 * string/Makefile (strop-tests): Add strnlen.
47255 * string/tester.c (test_strnlen): Add a few more test cases.
47256 * string/tst-strlen.c: Better error reporting.
47258 * sysdeps/x86_64/strnlen.S: New file.
47260 2010-07-24 Ulrich Drepper <drepper@redhat.com>
47262 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
47263 lower-latency instructions.
47265 2010-07-23 Ulrich Drepper <drepper@redhat.com>
47267 * string/test-strcasestr.c: New file.
47268 * string/test-strstr.c: New file.
47269 * string/Makefile (strop-tests): Add strstr and strcasestr.
47270 * string/str-two-way.h: Don't undefine MAX.
47271 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
47273 2010-07-21 Andreas Schwab <schwab@redhat.com>
47275 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47276 strcasestr-nonascii.
47277 (CFLAGS-strcasestr-nonascii.c): Define.
47278 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
47279 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
47280 Remove unused attribute.
47282 2010-07-20 Roland McGrath <roland@redhat.com>
47284 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
47285 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
47286 ld.so.cache was broken. With it, there is no way to disable dsocaps
47287 like LD_HWCAP_MASK can disable hwcaps.
47289 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47291 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
47293 2010-07-16 Ulrich Drepper <drepper@redhat.com>
47295 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
47296 call in strcasestr.
47297 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
47298 __strcasestr_sse42_nonascii.
47299 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
47300 strcasestr-nonascii.c.
47301 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
47303 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
47305 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
47306 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
47307 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
47308 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
47310 2010-07-09 Ulrich Drepper <drepper@redhat.com>
47312 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
47315 2010-07-06 Andreas Schwab <schwab@redhat.com>
47318 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
47321 2010-07-06 Ulrich Drepper <drepper@redhat.com>
47323 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
47324 _PC_PIPE_BUF using F_GETPIPE_SZ.
47326 2010-07-05 Roland McGrath <roland@redhat.com>
47328 * manual/arith.texi (Rounding Functions): Fix rint description
47329 implicit in round description.
47331 2010-07-02 Ulrich Drepper <drepper@redhat.com>
47333 * elf/Makefile: Fix linking for a few tests to make recent linker
47336 2010-06-30 Andreas Schwab <schwab@redhat.com>
47338 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47339 $(common-objpfx)libc_nonshared.a.
47341 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
47343 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
47344 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
47345 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47346 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47347 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
47348 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
47349 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47350 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
47352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
47353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
47354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
47356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
47358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
47359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
47360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
47361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
47363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
47365 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
47366 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
47367 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
47368 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
47369 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
47370 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
47371 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
47372 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
47373 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
47374 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
47375 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
47376 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
47377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
47378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
47379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
47380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
47381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
47382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
47383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
47384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
47385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
47386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
47387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
47388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
47389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
47390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
47392 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
47394 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
47395 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
47396 * string/memmove.c (memmove): Renamed to ...
47397 (MEMMOVE): ...this. Default to memmove.
47398 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
47399 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
47401 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47402 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
47403 mempcpy-ssse3-back memmove-ssse3-back.
47404 * sysdeps/x86_64/multiarch/bcopy.S: New file .
47405 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
47406 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
47407 * sysdeps/x86_64/multiarch/memcpy.S: New file.
47408 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
47409 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
47410 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
47411 * sysdeps/x86_64/multiarch/memmove.c: New file.
47412 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
47413 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
47414 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
47415 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
47416 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
47417 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
47419 (index_Fast_Copy_Backward): Define.
47420 (HAS_ARCH_FEATURE): Define.
47421 (HAS_FAST_REP_STRING): Define.
47422 (HAS_FAST_COPY_BACKWARD): Define.
47424 2010-06-21 Andreas Schwab <schwab@redhat.com>
47426 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47427 Restore proper fallback handling.
47429 2010-06-19 Ulrich Drepper <drepper@redhat.com>
47432 * posix/group_member.c (__group_member): Correct checking loop.
47434 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
47435 OOM in getpwuid_r correctly. Return error number when the caller
47436 should return, otherwise -1.
47437 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
47438 call returning > 0 value.
47439 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
47441 2010-06-07 Andreas Schwab <schwab@redhat.com>
47443 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
47444 libc_nonshared.a from targets in modules-names.
47446 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
47448 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
47451 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
47453 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
47454 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
47455 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
47456 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
47458 2010-06-02 Andreas Schwab <schwab@redhat.com>
47460 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
47462 2010-06-14 Ulrich Drepper <drepper@redhat.com>
47464 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
47466 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47467 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47468 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47469 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47470 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47471 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
47473 2010-06-14 Roland McGrath <roland@redhat.com>
47475 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
47477 2010-06-07 Jakub Jelinek <jakub@redhat.com>
47479 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
47480 __REDIRECT followed by __THROW.
47481 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
47482 * posix/getopt.h (getopt): Likewise.
47484 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47486 * hurd/lookup-at.c (__file_name_lookup_at): Accept
47487 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
47488 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
47490 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
47491 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
47493 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
47495 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
47497 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
47500 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47501 Properly check family and model.
47503 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
47505 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
47507 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
47509 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
47511 2010-05-21 Ulrich Drepper <drepper@redhat.com>
47513 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
47516 2010-05-19 Andreas Schwab <schwab@redhat.com>
47518 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
47521 2010-05-21 Andreas Schwab <schwab@redhat.com>
47523 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
47524 and internal_recvmmsg.
47525 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
47526 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
47527 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
47528 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
47530 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
47531 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47532 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47534 2010-05-20 Andreas Schwab <schwab@redhat.com>
47536 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
47538 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
47540 POWER7 optimizations.
47541 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
47542 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
47544 2010-05-19 Ulrich Drepper <drepper@redhat.com>
47546 * version.h: Update for 2.13 development version.
47548 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
47550 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
47551 exceptions. Return 0.
47553 2010-05-07 Roland McGrath <roland@redhat.com>
47555 * elf/ldconfig.c (main): Add a const.
47557 2010-05-06 Ulrich Drepper <drepper@redhat.com>
47559 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
47560 (args_options): Add no-idn option.
47561 (ahosts_keys_int): Add idn_flags to ai_flags.
47562 (parse_option): Handle 'i' option to clear idn_flags.
47564 * malloc/malloc.c (_int_free): Possible race in the most recently
47565 added check. Only act on the data if no current modification
47568 See ChangeLog.17 for earlier changes.