1 2014-06-25 Joseph Myers <joseph@codesourcery.com>
3 * sysdeps/unix/sysv/linux/kernel-features.h
4 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
5 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
6 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
7 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8 Remove conditional code.
10 2014-06-25 Will Newton <will.newton@linaro.org>
12 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
13 (_dl_arm_cap_flags): Add HWCAP2 values.
14 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
15 (_DL_HWCAP_COUNT): Increase to 37.
16 (_DL_HWCAP_LAST): New define.
17 (_DL_HWCAP2_LAST): New define.
18 (_dl_procinfo): Add support for printing
20 (_dl_string_hwcap): Use _dl_hwcap_string.
22 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26 2014-06-25 Joseph Myers <joseph@codesourcery.com>
28 * README: Do not mention ports directory.
30 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
32 * sysdeps/unix/sysv/linux/futimes.c: Do not include
34 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
35 conditional variable definition.
36 (__futimes): Update comment.
37 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
38 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
41 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
43 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
45 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
47 * math/auto-libm-test-in: Add more tests of exp10.
48 * math/auto-libm-test-out: Regenerated.
49 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51 * sysdeps/unix/sysv/linux/kernel-features.h
52 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
53 * sysdeps/unix/sysv/linux/readv.c: Do not include
55 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
56 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
57 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
59 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
61 * sysdeps/unix/sysv/linux/writev.c: Do not include
63 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
64 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
65 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
67 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
70 2014-06-25 Will Newton <will.newton@linaro.org>
72 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
73 comment changes throughout the file. Remove checks
74 for HAVE_*_H definitions that are not required.
75 (__gen_tempname): Call abort if an unknown kind value is
78 2014-06-25 Andreas Schwab <schwab@suse.de>
81 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
82 scalbln, scalblnf, scalblnl in libc.
84 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
87 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
88 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
89 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
91 2014-06-24 Roland McGrath <roland@hack.frob.com>
93 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
94 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
95 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
96 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
98 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
99 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
101 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
102 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
103 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
104 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
105 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
106 * sysdeps/x86/bits/pthreadtypes.h: ... here.
107 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
108 * sysdeps/x86/bits/semaphore.h: ... here.
109 * sysdeps/x86/nptl/elide.h: Moved ...
110 * sysdeps/x86/elide.h: ... here.
111 * sysdeps/x86_64/nptl/Implies: File removed.
112 * sysdeps/i386/nptl/Implies: File removed.
114 2014-06-24 Joseph Myers <joseph@codesourcery.com>
117 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
118 return the argument for normal arguments with exponent below -64.
119 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
121 * math/auto-libm-test-in: Add another test of expm1.
122 * math/auto-libm-test-out: Regenerated.
125 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
126 calling __erfcl for arguments at least 16.
127 * math/auto-libm-test-in: Add more tests of erf.
128 * math/auto-libm-test-out: Regenerated.
130 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
131 individual architectures.
132 * sysdeps/unix/sysv/linux/configure: Regenerated.
133 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
134 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
135 * sysdeps/unix/sysv/linux/powerpc/configure.ac
136 (ldd_rewrite_script): Define variable.
137 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
142 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
143 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
144 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
145 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
146 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
147 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
148 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
149 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
151 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
154 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
155 Rename member __data.d to __data.__elision_data.
157 2014-06-24 Wilco <wdijkstr@arm.com>
159 * NEWS: Add 16918 to fixed bug list.
161 2014-06-24 Wilco <wdijkstr@arm.com>
163 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
165 2014-06-24 Wilco <wdijkstr@arm.com>
167 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
168 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
169 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
170 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
171 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
172 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
173 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
176 2014-06-24 Wilco <wdijkstr@arm.com>
178 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
180 2014-06-24 Wilco <wdijkstr@arm.com>
182 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
183 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
184 * sysdeps/arm/fesetround.c (fesetround): Remove space.
185 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
187 2014-06-24 Wilco <wdijkstr@arm.com>
190 * sysdeps/arm/feupdateenv.c (feupdateenv):
191 Rewrite to reduce FPSCR accesses and fix return value.
193 2014-06-24 Wilco <wdijkstr@arm.com>
195 * sysdeps/arm/fclrexcpt.c (feclearexcept):
196 Optimize to avoid unnecessary FPSCR writes.
197 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
198 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
199 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
200 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
202 2014-06-24 Wilco <wdijkstr@arm.com>
204 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
205 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
206 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
207 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
208 Call libc_fetestexcept_vfp.
209 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
210 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
211 __SOFTFP__ ifdef so that they can be built for softfp.
213 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
215 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
216 argument type signed char.
218 * Makerules (check-abi): Dump diff of symlist if the test
221 2014-06-23 Roland McGrath <roland@hack.frob.com>
223 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
226 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
227 Remove unused variable ST.
229 2014-06-23 Joseph Myers <joseph@codesourcery.com>
233 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
234 small arguments before calling __expm1.
235 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
236 small arguments before calling __expm1f.
237 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
238 small arguments before calling __expm1l.
239 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
241 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
242 * math/auto-libm-test-in: Add more cosh tests. Do not allow
243 spurious underflow for some cosh tests.
244 * math/auto-libm-test-out: Regenerated.
245 * sysdeps/i386/fpu/libm-test-ulps: Update.
248 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
249 (__ieee754_y1): Set errno if return value overflows.
250 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
251 (__ieee754_y1f): Set errno if return value overflows.
252 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
253 (__ieee754_y1l): Set errno if return value overflows.
254 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
255 (__ieee754_y1l): Set errno if return value overflows.
256 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
257 * math/auto-libm-test-out: Regenerated.
259 * math/gen-auto-libm-tests.c: Document use of
260 ignore-zero-inf-sign.
261 (input_flag_type): Add value flag_ignore_zero_inf_sign.
262 (input_flags): Add ignore-zero-inf-sign.
263 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
264 * math/gen-libm-test.pl (generate_testfile): Handle
265 ignore-zero-inf-sign.
266 * math/auto-libm-test-in: Mark some cpow tests with
267 ignore-zero-inf-sign and some with xfail-rounding.
268 * math/auto-libm-test-out: Regenerated.
269 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
270 * sysdeps/i386/fpu/libm-test-ulps: Update.
271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
274 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
275 overflowing or underflowing operations take place with sign of
277 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
278 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
279 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
280 (__ieee754_pow): Recompute overflowing and underflowing results in
281 original rounding mode.
282 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
283 (__powl_helper): Allow negative argument X and scale negated value
284 as needed. Avoid passing value outside [-1, 1] to f2xm1.
285 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
286 overflowing or underflowing operations take place with sign of
288 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
290 * math/auto-libm-test-in: Add more tests of pow.
291 * math/auto-libm-test-out: Regenerated.
292 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
293 (pow_tonearest_test_data): Remove.
294 (pow_test_tonearest): Likewise.
295 (pow_towardzero_test_data): Likewise.
296 (pow_test_towardzero): Likewise.
297 (pow_downward_test_data): Likewise.
298 (pow_test_downward): Likewise.
299 (pow_upward_test_data): Likewise.
300 (pow_test_upward): Likewise.
301 (main): Don't call removed functions.
302 * sysdeps/i386/fpu/libm-test-ulps: Update.
303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
305 2014-06-23 Roland McGrath <roland@hack.frob.com>
307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
481 2014-06-23 Will Newton <will.newton@linaro.org>
482 Wilco <wdijkstr@arm.com>
484 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
485 implementation. Include get-rounding-mode.h.
486 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
487 [!libc_feholdsetround_noex_ctx]: Define
488 libc_feholdsetround_noex_ctx.
489 [!libc_feholdsetround_noexf_ctx]: Define
490 libc_feholdsetround_noexf_ctx.
491 [!libc_feholdsetround_noexl_ctx]: Define
492 libc_feholdsetround_noexl_ctx.
493 (libc_feholdsetround_ctx): New function.
494 (libc_feresetround_ctx): New function.
495 (libc_feholdsetround_noex_ctx): New function.
496 (libc_feresetround_noex_ctx): New function.
498 2014-06-23 Roland McGrath <roland@hack.frob.com>
500 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
501 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
502 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
503 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
504 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
505 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
507 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
508 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
509 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
510 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
511 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
512 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
513 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
514 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
515 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
516 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
517 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
519 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
521 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
522 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
523 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
524 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
525 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
527 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
528 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
529 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
530 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
531 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
532 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
533 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
534 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
536 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
537 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
539 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
540 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
541 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
542 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
544 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
545 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
546 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
547 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
548 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
549 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
550 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
551 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
552 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
553 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
555 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
557 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
558 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
559 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
560 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
561 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
562 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
563 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
564 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
565 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
566 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
567 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
568 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
569 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
571 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
572 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
573 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
574 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
575 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
576 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
578 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
579 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
580 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
581 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
582 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
584 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
585 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
586 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
587 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
588 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
589 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
590 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
591 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
592 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
593 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
594 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
595 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
596 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
597 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
598 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
599 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
600 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
601 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
602 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
603 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
604 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
605 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
606 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
607 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
608 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
609 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
610 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
611 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
613 2014-06-23 Joseph Myers <joseph@codesourcery.com>
615 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
616 (FALLOC_FL_COLLAPSE_RANGE): New macro.
617 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
618 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
619 (IPV6_PMTUDISC_INTERFACE): Likewise.
620 (IPV6_PMTUDISC_OMIT): Likewise.
622 2014-06-23 Andreas Schwab <schwab@suse.de>
624 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
625 Remove unused errout label.
627 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
629 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
630 macro: hardware supports Vector Crypto instructions.
632 2014-06-23 Will Newton <will.newton@linaro.org>
634 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
635 rather than __builtin_expect.
637 * elf/dl-lookup.c (undefined_msg): Remove variable.
638 (_dl_lookup_symbol_x): Replace undefined_msg with string
641 * elf/dl-lookup.c (do_lookup_unique): New function.
642 (do_lookup_x): Move STB_GNU_UNIQUE handling code
643 to a separate function.
645 2014-06-23 Andreas Schwab <schwab@suse.de>
648 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
649 before reading the next line.
651 2014-06-23 Will Newton <will.newton@linaro.org>
653 * test-skeleton.c (signal_handler): Use printf and %m
654 rather than perror. Use printf rather than fprintf to
655 stderr. Use puts rather than fputs to stderr.
658 2014-06-22 Ludovic Courtès <ludo@gnu.org>
660 * nscd/nscd.c (thread_info_t): Remove typedef.
661 (thread_info): Remove variable.
663 2014-06-21 Allan McRae <allan@archlinux.org>
665 * NEWS: Mention CVE-2014-4043.
667 2014-06-20 Roland McGrath <roland@hack.frob.com>
669 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
670 * nptl/smp.h: ... here.
672 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
674 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
675 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
676 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
677 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
679 * nptl/allocatestack.c: Include <stack-aliasing.h>.
680 * nptl/stack-aliasing.h: New file.
681 * sysdeps/i386/i686/stack-aliasing.h: New file.
682 * sysdeps/i386/i686/nptl/Makefile: File removed.
683 * sysdeps/x86_64/stack-aliasing.h: New file.
684 * sysdeps/x86_64/nptl/Makefile
685 (CFLAGS-pthread_create.c): Variable removed.
687 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
688 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
690 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
691 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
694 2014-06-21 Joseph Myers <joseph@codesourcery.com>
696 * sysdeps/unix/sysv/linux/arm/kernel-features.h
697 (__ASSUME_SIGFRAME_V2): Remove macro.
698 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
699 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
700 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
701 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
702 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
703 Declare as function. Remove conditional macro definitions.
704 (__default_rt_sa_restorer): Likewise.
705 (__default_sa_restorer_v1): Remove declaration.
706 (__default_sa_restorer_v2): Likewise.
707 (__default_rt_sa_restorer_v1): Likewise.
708 (__default_rt_sa_restorer_v2): Likewise.
709 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
710 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
711 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
713 2014-06-20 Roland McGrath <roland@hack.frob.com>
715 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
716 (libpthread-routines): Add sysdep.
717 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
718 * sysdeps/unix/sysv/linux/sparc/Versions
719 (libpthread: GLIBC_2.3.3): New version set.
720 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
721 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
722 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
723 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
724 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
725 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
727 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
728 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
729 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
730 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
731 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
732 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
733 * sysdeps/sparc/nptl/sem_init.c: ... here.
734 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
735 * sysdeps/sparc/nptl/sem_post.c: ... here.
736 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
737 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
738 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
739 * sysdeps/sparc/nptl/sem_wait.c: ... here.
740 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
741 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
742 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
743 (libpthread-routines): Add cpu_relax.
744 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
746 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
747 (librt: GLIBC_2.3.3): New version set.
748 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
749 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
750 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
751 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
752 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
753 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
754 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
755 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
757 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
758 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
759 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
760 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
761 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
762 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
763 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
764 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
765 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
766 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
768 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
770 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
772 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
774 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
776 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
778 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
780 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
782 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
784 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
786 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
788 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
790 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
791 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
792 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
793 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
794 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
795 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
796 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
797 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
798 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
799 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
800 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
802 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
803 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
804 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
805 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
806 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
808 2014-06-20 Joseph Myers <joseph@codesourcery.com>
810 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
811 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
812 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
813 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
814 * nscd/nscd.c: Likewise.
815 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
816 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
817 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
818 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
820 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
822 (init_mq_netlink): Remove conditional have_sock_cloexec
823 definitions. Remove code conditional on have_sock_cloexec < 0.
824 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
825 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
826 * sysdeps/unix/sysv/linux/opensock.c: Do not include
828 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
829 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
831 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
833 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
834 Add tests for memset_chk and memset.
836 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
839 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
842 * elf/tst-dl-iter-static.c: New file.
843 * elf/Makefile (tests-static): Add tst-dl-iter-static.
845 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
848 2014-06-20 Joseph Myers <joseph@codesourcery.com>
850 * sysdeps/unix/sysv/linux/kernel-features.h
851 (__ASSUME_F_GETOWN_EX): Remove macro.
852 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
854 (miss_F_GETOWN_EX): Remove variable or macro.
855 (do_fcntl): Do not check miss_F_GETOWN_EX.
856 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
858 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
860 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
861 [!__ASSUME_AT_RANDOM]: Remove conditional code.
862 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
864 * sysdeps/unix/sysv/linux/kernel-features.h
865 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
866 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
867 [ADJ_OFFSET_SS_READ]: Make code unconditional.
868 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
870 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
873 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
874 Fix calculation of the symbol's value.
875 * sysdeps/arm/tst-armtlsdescloc.c: New file.
876 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
877 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
878 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
879 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
880 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
881 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
882 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
883 (modules-names): Add `tst-armtlsdescmod',
884 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
885 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
886 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
887 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
888 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
889 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
890 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
891 ($(objpfx)tst-armtlsdescloc): New dependency.
892 ($(objpfx)tst-armtlsdescextnow): Likewise.
893 ($(objpfx)tst-armtlsdescextlazy): Likewise.
894 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
896 * sysdeps/arm/configure: Regenerate.
898 2014-06-20 Joseph Myers <joseph@codesourcery.com>
900 * include/fcntl.h (__atfct_seterrno): Remove prototype.
901 (__atfct_seterrno_2): Likewise.
902 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
904 (__ASSUME_ATFCTS): Do not undefine and redefine.
905 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
906 (__have_atfcts): Remove conditional definition.
907 (__fxstatat([__NR_fstatat64]: Make code unconditional.
908 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
909 unreachable if [__ASSUME_ATFCTS].
910 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
911 not undefine and redefine.
912 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
914 (faccessat) [__NR_faccessat]: Make code unconditional.
915 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
916 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
918 (fchmodat) [__NR_fchmodat]: Make code unconditional.
919 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
920 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
922 (fchownat) [__NR_fchownat]: Make code unconditional.
923 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
924 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
926 (futimesat) [__NR_futimesat]: Make code unconditional.
927 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
928 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
930 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
931 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
932 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
934 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
935 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
936 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
937 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
939 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
940 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
941 * sysdeps/unix/sysv/linux/linkat.c: Do not include
943 (linkat) [__NR_linkat]: Make code unconditional.
944 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
945 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
946 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
948 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
949 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
950 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
952 (mkdirat) [__NR_mkdirat]: Make code unconditional.
953 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
954 * sysdeps/unix/sysv/linux/openat.c: Do not include
956 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
957 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
958 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
959 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
960 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
961 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
963 (readlinkat) [__NR_readlinkat]: Make code unconditional.
964 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
965 result of INLINE_SYSCALL directly, not via int variable.
966 * sysdeps/unix/sysv/linux/renameat.c: Do not include
968 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
969 (renameat) [__NR_renameat]: Make code unconditional.
970 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
971 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
972 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
973 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
974 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
975 (__ASSUME_ATFCTS): Do not undefine and redefine.
976 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
978 (symlinkat) [__NR_symlinkat]: Make code unconditional.
979 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
980 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
982 (unlinkat) [__NR_unlinkat]: Make code unconditional.
983 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
984 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
985 (__ASSUME_ATFCTS): Do not undefine and redefine.
986 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
988 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
989 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
990 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
992 (__xmknodat) [__NR_mknodat]: Make code unconditional.
993 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
995 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
997 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
999 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
1002 * posix/regcomp.c (parse_reg_exp): Deallocate partially
1003 constructed tree before returning error.
1004 * posix/bug-regexp36.c: Expand test case.
1006 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1009 * math/libm-test.inc (scalbln_test_date):
1010 Add errno expectations.
1011 * math/w_scalblnf.c: New File.
1012 Add wrapper which checks for setting errno to ERANGE.
1013 Add weak_alias for corresponding scalbln function.
1014 * math/w_scalbln.c: Likewise.
1015 * math/w_scalblnl.c: Likewise.
1016 * math/Makefile (libm-calls): Add w_scalbln.
1017 * sysdeps/ieee754/flt-32/s_scalblnf.c:
1018 Remove weak_alias for corresponding scalbln function.
1019 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1020 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1021 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1022 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1023 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
1024 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1025 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
1026 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1027 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
1028 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
1029 Remove long_double_symbol for scalblnl function in libm, libc.
1030 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
1031 Add wrapper which checks for setting errno to ERANGE.
1032 Add long_double_symbol for scalblnl function in libm, libc.
1033 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
1034 Remove long_double_symbol for scalblnl in libm.
1035 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
1036 Add wrapper which checks for setting errno to ERANGE.
1037 Add long_double_symbol for scalblnl function in libm.
1038 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
1039 Do not use wrapper because of own implementation.
1041 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
1043 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
1044 3 bytes for __pad1 for x32.
1045 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
1047 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
1048 H.J. Lu <hongjiu.lu@intel.com>
1050 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
1051 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
1052 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1053 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1054 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1056 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
1059 * posix/regcomp.c (parse_expression): Deallocate partially
1060 constructed tree before returning error.
1061 * posix/Makefile.c (tests): Add bug-regex36.
1062 (generated): Add bug-regex36.mtrace.
1063 (tests-special): Add $(objpfx)bug-regex36-mem.out
1064 (bug-regex36-ENV): New variable.
1065 ($(objpfx)bug-regex36-mem.out): New rule.
1066 * posix/bug-regex36.c: New file.
1068 2014-06-19 Will Newton <will.newton@linaro.org>
1070 * malloc/malloc.c (systrim): If extra is zero then return
1073 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1075 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
1077 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
1079 * sysdeps/aarch64/strchr.S: New file.
1081 2014-06-18 Joseph Myers <joseph@codesourcery.com>
1084 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
1085 from arguments -2 or below.
1086 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1087 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1089 2014-06-18 Andreas Schwab <schwab@suse.de>
1092 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
1093 of a bracket expr not to run off the end of the string.
1094 * posix/Makefile (tests): Add tst-fnmatch3.
1095 * posix/tst-fnmatch3.c: New file.
1097 2014-06-18 Joseph Myers <joseph@codesourcery.com>
1099 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
1100 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1101 [$(cross-compiling) = no]: Likewise.
1102 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1103 [$(cross-compiling) = no]: Likewise.
1105 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1108 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
1109 double, adjusted for any remainder from the high double.
1110 * math/libm-test.inc (nearbyint): Add tests.
1113 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1115 * nptl/sysdeps/powerpc/Makefile: Moved ...
1116 * sysdeps/powerpc/nptl/Makefile: ... here.
1117 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
1118 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
1119 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
1120 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
1121 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
1122 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
1123 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
1124 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
1125 * nptl/sysdeps/powerpc/tls.h: Moved ...
1126 * sysdeps/powerpc/nptl/tls.h: ... here.
1128 2014-06-16 Joseph Myers <joseph@codesourcery.com>
1131 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
1132 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1133 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
1134 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
1135 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1136 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
1137 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
1138 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1139 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
1141 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
1143 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1145 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
1147 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
1150 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
1153 2014-06-16 Florian Weimer <fweimer@redhat.com>
1156 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
1157 non-executed part of the test.
1159 2014-06-16 Andreas Schwab <schwab@suse.de>
1161 * string/bits/string2.h (strdup, strndup): Update feature guard.
1163 2014-06-14 David S. Miller <davem@davemloft.net>
1165 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1167 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
1169 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
1170 that was previously under [RESET_PID].
1171 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
1173 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
1174 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
1175 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
1176 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1177 (__libc_vfork): New strong alias.
1178 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
1180 2014-06-14 Andi Kleen <ak@linux.intel.com>
1182 * sysdeps/generic/elide.h: New file.
1184 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1186 * Makefile (installed-headers): Adjust path of pthread.h header.
1188 2014-06-13 Roland McGrath <roland@hack.frob.com>
1190 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
1191 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
1192 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
1193 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
1195 * nptl/sysdeps/s390/Makefile: Moved ...
1196 * sysdeps/s390/nptl/Makefile: ... here.
1197 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
1198 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
1199 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
1200 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
1201 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
1202 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
1203 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
1204 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
1205 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
1206 * sysdeps/s390/nptl/pthreaddef.h: ... here.
1207 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
1208 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
1209 * nptl/sysdeps/s390/tls.h: Moved ...
1210 * sysdeps/s390/nptl/tls.h: ... here.
1212 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
1213 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
1215 2014-06-13 David S. Miller <davem@davemloft.net>
1217 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
1218 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
1219 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
1220 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
1221 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
1222 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
1223 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
1224 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
1225 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
1226 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
1227 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
1228 Remove RESET_PID cpp guards.
1229 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
1230 Remove RESET_PID cpp guards.
1231 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
1233 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
1235 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
1238 2014-06-13 Andi Kleen <ak@linux.intel.com>
1240 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
1241 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
1242 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
1243 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
1244 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
1245 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
1246 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
1247 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
1248 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
1249 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
1250 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
1251 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
1252 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
1253 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
1254 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
1255 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
1256 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
1257 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
1258 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
1259 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
1261 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
1262 (pthread_rwlock_rdlock): Add elision.
1263 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
1264 (pthread_rwlock_wrlock): Add elision.
1265 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
1266 (pthread_rwlock_trywrlock): Add elision.
1267 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
1268 (pthread_rwlock_tryrdlock): Add elision.
1269 * nptl/pthread_rwlock_unlock.c: Include elide.h.
1270 (pthread_rwlock_tryrdlock): Add elision unlock.
1271 * nptl/sysdeps/pthread/pthread.h:
1272 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
1273 (PTHREAD_RWLOCK_INITIALIZER,
1274 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
1275 Handle new elision field.
1276 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
1277 * sysdeps/arm/nptl/bits/pthreadtypes.h
1278 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1279 * sysdeps/sh/nptl/bits/pthreadtypes.h
1280 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1281 * sysdeps/tile/nptl/bits/pthreadtypes.h
1282 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1283 * sysdeps/a/nptl/bits/pthreadtypes.h
1284 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1285 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1286 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1287 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1288 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1289 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
1290 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1291 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1292 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1293 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1294 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1295 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1296 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1297 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1298 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1299 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
1300 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1301 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
1302 (elision_init): Set try_xbegin to zero when no RTM.
1303 * sysdeps/x86/nptl/bits/pthreadtypes.h
1304 (pthread_rwlock_t): Change __pad1 to __rwelision.
1305 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1307 2014-06-13 Andi Kleen <ak@linux.intel.com>
1309 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
1310 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
1311 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
1312 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
1314 2014-06-13 Meador Inge <meadori@codesourcery.com>
1317 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
1318 that the cached result has been set before returning it.
1320 2014-06-12 Roland McGrath <roland@hack.frob.com>
1322 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
1323 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
1324 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
1325 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
1326 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
1327 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
1329 * nptl/sysdeps/sparc/Makefile: Moved ...
1330 * sysdeps/sparc/nptl/Makefile: ... here.
1331 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
1332 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
1333 * nptl/sysdeps/sparc/tls.h: Moved ...
1334 * sysdeps/sparc/nptl/tls.h: ... here.
1335 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
1336 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
1337 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
1338 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
1339 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
1340 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
1341 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
1342 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
1343 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
1344 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
1345 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
1346 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
1347 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
1348 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
1349 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
1350 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
1351 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
1352 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
1354 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
1355 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
1357 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
1358 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
1360 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
1361 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
1364 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1366 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
1367 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
1369 * sysdeps/pthread/posix-timer.h: Include <list.h>.
1370 (struct list_links): Type removed.
1371 (struct thread_node, struct timer_node): Replace struct list_links
1372 with struct list_head.
1373 (list_unlink_ip): Likewise.
1374 * sysdeps/pthread/timer_routines.c
1375 (timer_free_list, thread_free_list, thread_active_list): Likewise.
1376 (list_append, list_insbefore): Likewise.
1377 (list_init): Function removed.
1378 (thread_init, init_module): Use INIT_LIST_HEAD instead.
1379 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
1380 * sysdeps/pthread/Makefile: ... here, new file.
1382 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
1383 * sysdeps/nptl/Implies: ... here.
1384 * sysdeps/unix/sysv/linux/Implies: Add nptl.
1385 * nptl/sysdeps/pthread/list.h: Moved ...
1386 * include/list.h: ... here.
1387 * nptl/sysdeps/pthread/createthread.c: Moved ...
1388 * nptl/createthread.c: ... here.
1389 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
1390 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
1391 * nptl/pt-longjmp.c: ... here.
1392 * nptl/sysdeps/pthread/Makefile: Moved ...
1393 * sysdeps/nptl/Makefile: ... here.
1394 * nptl/sysdeps/pthread/Subdirs: Moved ...
1395 * sysdeps/nptl/Subdirs: ... here.
1396 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
1397 * sysdeps/nptl/aio_misc.h: ... here.
1398 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
1399 * sysdeps/nptl/bits/libc-lock.h: ... here.
1400 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
1401 * sysdeps/nptl/bits/libc-lockP.h: ... here.
1402 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
1403 * sysdeps/nptl/bits/stdio-lock.h: ... here.
1404 * nptl/sysdeps/pthread/configure: Moved ...
1405 * sysdeps/nptl/configure: ... here.
1406 * nptl/sysdeps/pthread/configure.ac: Moved ...
1407 * sysdeps/nptl/configure.ac: ... here.
1408 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
1409 * sysdeps/nptl/gai_misc.h: ... here.
1410 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
1411 * sysdeps/nptl/librt-cancellation.c: ... here.
1412 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
1413 * sysdeps/nptl/malloc-machine.h: ... here.
1414 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
1415 * sysdeps/nptl/pthread-functions.h: ... here.
1416 * nptl/sysdeps/pthread/pthread.h: Moved ...
1417 * sysdeps/nptl/pthread.h: ... here.
1418 * nptl/sysdeps/pthread/setxid.h: Moved ...
1419 * sysdeps/nptl/setxid.h: ... here.
1420 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
1421 * sysdeps/nptl/sigfillset.c: ... here.
1422 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
1423 * sysdeps/nptl/tcb-offsets.h: ... here.
1424 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
1425 * sysdeps/nptl/tst-mqueue8x.c: ... here.
1426 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
1427 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
1428 * nptl/sysdeps/pthread/allocalim.h: Moved ...
1429 * sysdeps/pthread/allocalim.h: ... here.
1430 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
1431 * sysdeps/pthread/bits/sigthread.h: ... here.
1432 * nptl/sysdeps/pthread/flockfile.c: Moved ...
1433 * sysdeps/pthread/flockfile.c: ... here.
1434 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
1435 * sysdeps/pthread/ftrylockfile.c: ... here.
1436 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
1437 * sysdeps/pthread/funlockfile.c: ... here.
1438 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
1439 * sysdeps/pthread/posix-timer.h: ... here.
1440 * nptl/sysdeps/pthread/timer_create.c: Moved ...
1441 * sysdeps/pthread/timer_create.c: ... here.
1442 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
1443 * sysdeps/pthread/timer_delete.c: ... here.
1444 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
1445 * sysdeps/pthread/timer_getoverr.c: ... here.
1446 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
1447 * sysdeps/pthread/timer_gettime.c: ... here.
1448 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
1449 * sysdeps/pthread/timer_routines.c: ... here.
1450 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
1451 * sysdeps/pthread/timer_settime.c: ... here.
1452 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
1453 * sysdeps/pthread/tst-timer.c: ... here.
1454 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
1455 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
1457 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
1458 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
1460 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
1461 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
1462 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
1463 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
1464 Update #include target.
1465 * nptl/sysdeps/i386/i686/Makefile: Moved ...
1466 * sysdeps/i386/i686/nptl/Makefile: ... here.
1467 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
1468 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
1469 Update #include target.
1470 * nptl/sysdeps/i386/i686/tls.h: Moved ...
1471 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
1472 * nptl/sysdeps/i386/Makefile: Moved ...
1473 * sysdeps/i386/nptl/Makefile: ... here.
1474 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
1475 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
1476 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
1477 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
1478 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
1479 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
1480 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
1481 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
1482 * sysdeps/i386/nptl/pthreaddef.h: ... here.
1483 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
1484 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
1485 * nptl/sysdeps/i386/tls.h: Moved ...
1486 * sysdeps/i386/nptl/tls.h: ... here.
1488 * sysdeps/sh/Makefile [$(subdir) = csu]
1489 (gen-as-const-headers): Add tcb-offsets.sym.
1490 * nptl/sysdeps/sh/Makefile: File removed.
1491 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
1492 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
1493 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
1494 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
1495 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
1496 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
1497 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
1498 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
1499 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
1500 * sysdeps/sh/nptl/pthreaddef.h: ... here.
1501 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
1502 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
1503 * nptl/sysdeps/sh/tls.h: Moved ...
1504 * sysdeps/sh/nptl/tls.h: ... here.
1505 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
1506 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
1507 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
1508 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
1509 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
1510 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
1511 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
1512 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
1513 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
1514 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
1515 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
1516 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
1517 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
1518 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
1519 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
1520 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
1521 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
1522 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
1523 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
1524 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
1525 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
1526 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
1527 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
1528 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
1529 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
1531 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
1532 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
1534 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
1535 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
1536 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
1537 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
1538 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
1539 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
1540 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
1541 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
1542 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
1543 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
1544 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
1545 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
1546 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
1547 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
1548 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
1549 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
1550 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
1551 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
1552 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
1554 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1556 * posix/spawn_faction_addopen.c: Include string.h.
1558 2014-06-11 Roland McGrath <roland@hack.frob.com>
1560 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
1561 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
1562 * nptl/sysdeps/x86_64/Makefile: Moved ...
1563 * sysdeps/x86_64/nptl/Makefile: ... here.
1564 * nptl/sysdeps/x86_64/configure: Moved ...
1565 * sysdeps/x86_64/nptl/configure: ... here.
1566 * nptl/sysdeps/x86_64/configure.ac: Moved ...
1567 * sysdeps/x86_64/nptl/configure.ac: ... here.
1568 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
1569 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
1570 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
1571 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
1572 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
1573 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
1574 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
1575 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
1576 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
1577 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
1578 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
1579 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
1580 * nptl/sysdeps/x86_64/tls.h: Moved ...
1581 * sysdeps/x86_64/nptl/tls.h: ... here.
1582 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
1583 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
1584 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
1585 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
1587 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
1589 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1591 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1593 2014-06-11 Joseph Myers <joseph@codesourcery.com>
1595 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
1597 [POSIX] (off_t): Likewise.
1598 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
1599 [POSIX] (S_ISBLK): Require macro.
1600 [POSIX] (S_ISCHR): Likewise.
1601 [POSIX] (S_ISDIR): Likewise.
1602 [POSIX] (S_ISFIFO): Likewise.
1603 [POSIX] (S_ISREG): Likewise.
1604 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
1606 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
1608 [POSIX] (time_t): Likewise.
1609 [POSIX] (timer_t): Likewise.
1611 2014-06-11 Florian Weimer <fweimer@redhat.com>
1614 * posix/spawn_int.h (struct __spawn_action): Make the path string
1615 non-const to support deallocation.
1616 * posix/spawn_faction_addopen.c
1617 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
1618 * posix/spawn_faction_destroy.c
1619 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
1620 path in all spawn_do_open actions.
1621 * posix/tst-spawn.c (do_test): Exercise the copy operation in
1622 posix_spawn_file_actions_addopen.
1624 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
1626 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
1627 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
1628 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
1629 conditional code always true.
1630 (__libc_vfork): New alias.
1632 2014-06-11 Roland McGrath <roland@hack.frob.com>
1634 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1635 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
1637 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
1639 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1640 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
1642 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1643 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
1645 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1646 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
1648 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1650 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
1651 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
1652 multiarch strcmp for PPC64.
1653 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
1654 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
1655 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
1656 multiarch optimizations.
1657 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1658 (__libc_ifunc_impl_list): Likewise.
1660 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1662 * benchtests/scripts/validate_benchout.py: New script.
1663 * benchtests/Makefile (bench-func): Call it.
1664 * benchtests/scripts/benchout.schema.json: New file.
1666 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
1668 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
1669 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
1670 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
1671 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
1672 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
1673 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1674 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
1675 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
1676 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
1677 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
1678 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
1679 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
1680 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
1681 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
1682 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
1683 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
1684 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
1686 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
1688 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
1690 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
1691 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
1693 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
1695 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
1697 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
1699 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
1701 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
1702 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
1704 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
1706 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
1708 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
1710 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
1712 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
1713 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
1715 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
1717 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
1719 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
1721 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
1723 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
1725 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
1727 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
1728 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
1730 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
1732 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
1734 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
1736 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
1738 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
1740 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
1742 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
1743 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
1745 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
1747 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
1749 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
1751 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
1753 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
1754 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
1756 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
1758 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
1760 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
1761 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
1763 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
1764 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
1766 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
1768 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
1770 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
1772 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
1774 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
1776 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
1778 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
1779 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
1781 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
1783 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
1785 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
1787 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
1788 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
1789 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
1790 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
1791 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
1793 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
1795 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
1796 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
1797 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
1798 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
1799 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
1800 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
1801 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
1802 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
1803 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
1804 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
1805 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
1806 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
1807 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
1809 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
1810 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
1812 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
1813 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
1814 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
1815 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
1817 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
1818 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
1819 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
1820 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
1821 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
1822 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
1823 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
1825 2014-06-10 Wilco <wdijkstr@arm.com>
1827 * math/test-fenv-return.c: New file.
1828 * math/Makefile: Add new test test-fenv-return.
1830 2014-06-10 Joseph Myers <joseph@codesourcery.com>
1833 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
1835 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
1836 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1837 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
1838 0.0L for an argument of 1.0L.
1839 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1841 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
1842 value when x - 1 is zero.
1843 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
1844 * sysdeps/i386/fpu/libm-test-ulps: Update.
1845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1847 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
1850 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
1852 2014-06-09 Roland McGrath <roland@hack.frob.com>
1854 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
1855 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
1857 2014-06-09 Roland McGrath <roland@hack.frob.com>
1859 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1860 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
1862 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1863 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
1865 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1866 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
1868 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1869 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
1871 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
1872 if not already defined.
1873 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
1874 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
1875 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
1876 (TLS_INIT_TP): Use it.
1877 (TLS_DEFINE_INIT_TP): New macro.
1878 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
1880 2014-06-09 Joseph Myers <joseph@codesourcery.com>
1882 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
1884 [POSIX] (IXANY): Likewise.
1885 [POSIX] (OLCUC): Likewise.
1886 [POSIX || POSIX2008] (CBAUD): Do not allow.
1887 [POSIX || POSIX2008] (DEFECHO): Likewise.
1888 [POSIX || POSIX2008] (ECHOCTL): Likewise.
1889 [POSIX || POSIX2008] (ECHOKE): Likewise.
1890 [POSIX || POSIX2008] (ECHOPRT): Likewise.
1891 [POSIX || POSIX2008] (EXTA): Likewise.
1892 [POSIX || POSIX2008] (EXTB): Likewise.
1893 [POSIX || POSIX2008] (FLUSHO): Likewise.
1894 [POSIX || POSIX2008] (LOBLK): Likewise.
1895 [POSIX || POSIX2008] (PENDIN): Likewise.
1896 [POSIX || POSIX2008] (SWTCH): Likewise.
1897 [POSIX || POSIX2008] (VDISCARD): Likewise.
1898 [POSIX || POSIX2008] (VDSUSP): Likewise.
1899 [POSIX || POSIX2008] (VLNEXT): Likewise.
1900 [POSIX || POSIX2008] (VREPRINT): Likewise.
1901 [POSIX || POSIX2008] (VSTATUS): Likewise.
1902 [POSIX || POSIX2008] (VWERASE): Likewise.
1903 (B*): Change to B[0123456789]*.
1904 * conform/data/time.h-data [POSIX || UNIX98]
1905 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
1906 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1907 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
1908 [POSIX] (tm_*): Do not allow.
1910 2014-06-07 Joseph Myers <joseph@codesourcery.com>
1912 * Makefile (install): Don't set LANGUAGE.
1913 * Makefile.in (install): Likewise.
1914 * assert/Makefile (test-assert-ENV): Remove variable.
1915 (test-assert-perr-ENV): Likewise.
1916 * elf/Makefile (neededtest4-ENV): Likewise.
1917 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1918 [$(cross-compiling) = no]: Don't set LANGUAGE.
1919 * io/ftwtest-sh (LANG): Remove variable.
1920 * libio/Makefile (tst-widetext-ENV): Likewise.
1921 * manual/install.texi (Running make install): Don't refer to
1922 environment settings for make install.
1923 * INSTALL: Regenerated.
1924 * nptl/tst-tls6.sh: Don't set LANG.
1925 * posix/globtest.sh (LANG): Remove variable.
1926 * string/Makefile (tester-ENV): Likewise.
1927 (inl-tester-ENV): Likewise.
1928 (noinl-tester-ENV): Likewise.
1929 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1930 [$(cross-compiling) = no]: Don't set LANGUAGE.
1931 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
1932 without explicit environment settings.
1934 2014-06-06 Roland McGrath <roland@hack.frob.com>
1936 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
1937 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
1938 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
1939 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
1941 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
1943 * crypt/crypt-private.h [DOS]: Add some includes taken from the
1944 other files in the crypt directory.
1945 * crypt/crypt.c: Remove duplicate includes.
1946 * crypt/crypt-entry.c: Likewise.
1947 * crypt/crypt_util.c: Likewise.
1949 2014-06-06 Joseph Myers <joseph@codesourcery.com>
1951 * Makeconfig (run-program-env): New variable.
1952 (run-program-prefix-before-env): Likewise.
1953 (run-program-prefix-after-env): Likewise.
1954 (run-program-prefix): Define in terms of new variables.
1955 (built-program-cmd-before-env): New variable.
1956 (built-program-cmd-after-env): Likewise.
1957 (built-program-cmd): Define in terms of new variables.
1958 (test-program-prefix-before-env): New variable.
1959 (test-program-prefix-after-env): Likewise.
1960 (test-program-prefix): Define in terms of new variables.
1961 (test-program-cmd-before-env): New variable.
1962 (test-program-cmd-after-env): Likewise.
1963 (test-program-cmd): Define in terms of new variables.
1964 * Rules (make-test-out): Use $(run-program-env).
1965 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
1966 (help): Do not mention environment variables. Mention
1967 --timeoutfactor option.
1968 (timeoutfactor): New variable.
1969 (blacklist_exports): Remove function.
1970 (exports): Remove variable.
1971 (command): Do not include ${exports}.
1972 * manual/install.texi (Configuring and compiling): Do not mention
1973 test wrappers preserving environment variables. Mention that last
1974 assignment to a variable must take precedence.
1975 * INSTALL: Regenerated.
1976 * benchtests/Makefile (run-bench): Use $(run-program-env).
1977 * catgets/Makefile ($(objpfx)test1.cat): Use
1978 $(built-program-cmd-before-env), $(run-program-env) and
1979 $(built-program-cmd-after-env).
1980 ($(objpfx)test2.cat): Do not specify environment variables
1982 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
1983 $(run-program-env) and $(built-program-cmd-after-env).
1984 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
1985 $(run-program-env) and $(test-program-cmd-after-env).
1986 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
1988 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
1989 run_program_env and test_program_cmd_after_env arguments.
1990 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
1991 * elf/tst-pathopt.sh: Use run_program_env argument.
1992 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
1993 $(test-wrapper-env) and $(run-program-env).
1994 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
1995 run_program_env arguments.
1996 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
1997 * intl/Makefile ($(objpfx)tst-gettext.out): Use
1998 $(test-program-prefix-before-env), $(run-program-env) and
1999 $(test-program-prefix-after-env).
2000 ($(objpfx)tst-gettext2.out): Likewise.
2001 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
2002 run_program_env and test_program_prefix_after_env arguments.
2003 * intl/tst-gettext2.sh: Likewise.
2004 * intl/tst-gettext4.sh: Do not set environment variables
2006 * intl/tst-gettext6.sh: Likewise.
2007 * intl/tst-translit.sh: Likewise.
2008 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
2009 $(test-program-prefix-before-env), $(run-program-env) and
2010 $(test-program-prefix-after-env).
2011 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
2012 run_program_env and test_program_prefix_after_env arguments.
2013 * math/Makefile (run-regen-ulps): Use $(run-program-env).
2014 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
2015 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
2016 explicitly with each use of ${test_wrapper_env}.
2017 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
2018 $(test-program-prefix-before-env), $(run-program-env) and
2019 $(test-program-prefix-after-env).
2020 * posix/tst-getconf.sh: Do not set environment variables
2022 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
2023 run_program_env and test_program_prefix_after_env arguments.
2024 * stdio-common/tst-printf.sh: Do not set environment variables
2026 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
2027 $(test-program-prefix-before-env), $(run-program-env) and
2028 $(test-program-prefix-after-env).
2029 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
2030 run_program_env and test_program_prefix_after_env arguments.
2031 Split $test calls into $test_pre and $test.
2032 * timezone/Makefile (build-testdata): Use
2033 $(built-program-cmd-before-env), $(run-program-env) and
2034 $(built-program-cmd-after-env).
2036 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2038 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
2039 strlen for non SHARED builds.
2041 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2043 * nptl/allocatestack.c (check_list): Inlined function...
2044 (__reclaim_stacks): ... here.
2046 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
2049 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2052 2014-06-05 Joseph Myers <joseph@codesourcery.com>
2054 * Rules (make-test-out): Include
2055 LOCPATH=$(common-objpfx)localedata in default environment.
2056 * debug/Makefile (tst-chk1-ENV): Remove variable.
2057 (tst-chk2-ENV): Likewise.
2058 (tst-chk3-ENV): Likewise.
2059 (tst-chk4-ENV): Likewise.
2060 (tst-chk5-ENV): Likewise.
2061 (tst-chk6-ENV): Likewise.
2062 (tst-lfschk1-ENV): Likewise.
2063 (tst-lfschk2-ENV): Likewise.
2064 (tst-lfschk3-ENV): Likewise.
2065 (tst-lfschk4-ENV): Likewise.
2066 (tst-lfschk5-ENV): Likewise.
2067 (tst-lfschk6-ENV): Likewise.
2068 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
2069 (tst-iconv7-ENV): Likewise.
2070 * intl/Makefile (LOCPATH-ENV): Likewise.
2071 (tst-codeset-ENV): Likewise.
2072 (tst-gettext3-ENV): Likewise.
2073 (tst-gettext5-ENV): Likewise.
2074 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
2075 (tst-fopenloc-ENV): Likewise.
2076 (tst-fgetws-ENV): Remove variable.
2077 (tst-ungetwc1-ENV): Likewise.
2078 (tst-ungetwc2-ENV): Likewise.
2079 (bug-ungetwc2-ENV): Likewise.
2080 (tst-swscanf-ENV): Likewise.
2081 (bug-ftell-ENV): Likewise.
2082 (tst-fgetwc-ENV): Likewise.
2083 (tst-fseek-ENV): Likewise.
2084 (tst-ftell-partial-wide-ENV): Likewise.
2085 (tst-ftell-active-handler-ENV): Likewise.
2086 (tst-ftell-append-ENV): Likewise.
2087 * posix/Makefile (tst-fnmatch-ENV): Likewise.
2088 (tst-regexloc-ENV): Likewise.
2089 (bug-regex1-ENV): Likewise.
2090 (tst-regex-ENV): Likewise.
2091 (tst-regex2-ENV): Likewise.
2092 (bug-regex5-ENV): Likewise.
2093 (bug-regex6-ENV): Likewise.
2094 (bug-regex17-ENV): Likewise.
2095 (bug-regex18-ENV): Likewise.
2096 (bug-regex19-ENV): Likewise.
2097 (bug-regex20-ENV): Likewise.
2098 (bug-regex22-ENV): Likewise.
2099 (bug-regex23-ENV): Likewise.
2100 (bug-regex25-ENV): Likewise.
2101 (bug-regex26-ENV): Likewise.
2102 (bug-regex30-ENV): Likewise.
2103 (bug-regex32-ENV): Likewise.
2104 (bug-regex33-ENV): Likewise.
2105 (bug-regex34-ENV): Likewise.
2106 (bug-regex35-ENV): Likewise.
2107 (tst-rxspencer-ENV): Likewise.
2108 (tst-rxspencer-no-utf8-ENV): Likewise.
2109 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
2110 (tst-sscanf-ENV): Likewise.
2111 (tst-swprintf-ENV): Likewise.
2112 (tst-swscanf-ENV): Likewise.
2113 (test-vfprintf-ENV): Likewise.
2114 (scanf13-ENV): Likewise.
2115 (bug14-ENV): Likewise.
2116 (tst-grouping-ENV): Likewise.
2117 * stdlib/Makefile (tst-strtod-ENV): Likewise.
2118 (tst-strtod3-ENV): Likewise.
2119 (tst-strtod4-ENV): Likewise.
2120 (tst-strtod5-ENV): Likewise.
2121 (testmb2-ENV): Likewise./
2122 * string/Makefile (tst-strxfrm-ENV): Likewise.
2123 (tst-strxfrm2-ENV): Likewise.
2124 (bug-strcoll1-ENV): Likewise.
2125 (test-strcasecmp-ENV): Likewise.
2126 (test-strncasecmp-ENV): Likewise.
2127 * time/Makefile (tst-strptime-ENV): Likewise.
2128 (tst-ftime_l-ENV): Likewise.
2129 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
2130 (tst-mbrtowc-ENV): Likewise.
2131 (tst-wcrtomb-ENV): Likewise.
2132 (tst-mbrtowc2-ENV): Likewise.
2133 (tst-c16c32-1-ENV): Likewise.
2134 (tst-mbsnrtowcs-ENV): Likewise.
2136 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
2138 * manual/resource.texi (How to get information about the memory
2139 subsystem?): Fix typo.
2140 Reported by Peon de la Parra Ivan <peon@keba.com>
2142 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
2145 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
2146 (pthread_spin_lock): Branch out of spin loop to proper location.
2147 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
2148 (pthread_spin_lock): Likewise.
2150 * nptl/tst-spin4.c: New test.
2151 * nptl/Makefile (tests): Add tst-spin4.
2153 2014-06-03 Andreas Schwab <schwab@suse.de>
2156 * resolv/res_send.c (send_dg): Reload file descriptor after
2159 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
2161 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2163 2014-06-03 Richard Henderson <rth@redhat.com>
2165 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
2166 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
2167 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
2168 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
2169 in the SAVE_PID block.
2170 (__libc_vfork): New alias.
2171 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
2173 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
2174 child in registers, not on the stack. Remove RESET_PID conditionals.
2175 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
2177 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
2179 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2181 2014-06-03 Wilco <wdijkstr@arm.com>
2183 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
2184 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
2185 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2186 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
2187 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
2190 2014-06-03 Wilco <wdijkstr@arm.com>
2192 * sysdeps/aarch64/fpu/math_private.h
2193 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
2194 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
2195 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
2196 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2199 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2201 * crypt/crypt-private.h: Include ufc-crypt.h.
2202 (__b64_from_24bit): Declare extern.
2203 * crypt/crypt_util.c(__b64_from_24bit): New function.
2204 (b64t): New static const variable.
2205 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
2206 (b64t): Remove variable.
2207 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
2208 * crypt/sha256-crypt.c: Include crypt-private.h.
2209 (b64t): Remove variable.
2210 (__sha256_crypt_r): Remove b64_from_24bit and replace
2211 with __b64_from_24bit.
2212 * crypt/sha512-crypt.c: Likewise.
2214 2014-06-02 Roland McGrath <roland@hack.frob.com>
2216 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
2217 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
2218 Label the code __libc_vfork rather than __vfork.
2219 [!NOT_IN_libc] (vfork): Define as weak alias.
2220 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
2221 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
2222 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
2224 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2226 * malloc/malloc.c (malloc_info): Fix format specifier for
2229 2014-06-02 Wilco <wdijkstr@arm.com>
2231 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
2234 2014-06-02 Wilco <wdijkstr@arm.com>
2237 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
2238 Rewrite to reduce FPCR/FPSR accesses.
2240 2014-06-01 David S. Miller <davem@davemloft.net>
2242 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2244 2014-05-31 David S. Miller <davem@davemloft.net>
2246 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
2247 to occur in round to nearest mode when |x| >= 2.0
2249 2014-05-30 Richard Henderson <rth@twiddle.net>
2251 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
2252 (PSEUDO_RET_NOERRNO): Remove.
2253 (ret): Don't redefine.
2254 (ret_NOERRNO): Define in terms of ret.
2255 (ret_ERRVAL): Likewise.
2257 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
2258 use of PSEUDO_RET; perform the error check directly.
2260 2014-05-30 Marko Myllynen <myllynen@redhat.com>
2262 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
2265 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2267 * malloc/malloc (malloc_info): Fix formatting.
2269 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2270 Roland McGrath <roland@hack.frob.com>
2272 * malloc/malloc (malloc_info): Also print mmapped statistics.
2274 2014-05-30 Roland McGrath <roland@hack.frob.com>
2276 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
2277 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
2279 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
2281 * malloc/malloc.c (malloc_info): Inline mi_arena.
2283 2014-05-29 Richard Henderson <rth@twiddle.net>
2285 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
2286 Remove comma before expanding ASM_ARGS_##nr.
2287 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
2288 Make _x0 a strict output; make _x8 a strict input; adjust expansion
2290 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
2291 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
2292 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
2293 (ASM_ARGS_1): Add leading comma.
2295 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
2296 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
2297 to __errno_location.
2298 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
2299 Remove the expected plt for __errno_location.
2301 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2302 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
2305 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2306 Always allocate 64 bytes of stack frame. Use ldp/stp to create
2307 it and break it down.
2308 (DOCARGS_0, DOCARGS_1): Do nothing.
2309 (DOCARGS_2): Update to store into the new stack frame.
2310 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
2311 (UNDOCARGS_1): Update to restore from the new stack frame.
2312 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
2313 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
2315 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2316 (SINGLE_THREAD_P): New parameter for result regno.
2317 (PSEUDO): Update to match; use cbz instead of beq.
2319 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2320 Use ENTRY to define the _nocancel entry point. Share the syscall
2321 and syscall error check paths with the cancel path.
2324 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
2325 whitespace; tabs before and after asm mnemonics.
2327 2014-05-29 Eric Wong <normalperson@yhbt.net>
2330 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2331 Call fstat64 or stat64 internally, depending on arguments passed.
2332 Replace stat buffer argument with file descriptor argument.
2333 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
2334 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2335 Pass fd to __internal_statvfs instead of calling fstat64.
2336 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
2337 Pass fd to __internal_statvfs64 instead of calling fstat64.
2338 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
2339 Pass -1 to __internal_statvfs instead of calling stat64.
2340 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
2341 Pass -1 to __internal_statvfs64 instead of calling stat64.
2343 2014-05-28 Roland McGrath <roland@hack.frob.com>
2345 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
2346 that was previously under [RESET_PID].
2347 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
2349 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
2350 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
2352 2014-05-27 Roland McGrath <roland@hack.frob.com>
2354 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
2356 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
2357 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
2359 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
2361 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
2363 2014-05-27 Andreas Schwab <schwab@suse.de>
2365 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
2367 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2368 * elf/rtld.c (init_tls, dl_main): Likewise.
2369 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
2370 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
2371 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
2372 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
2373 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
2374 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
2375 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
2376 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
2377 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
2378 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
2379 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
2380 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
2381 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
2382 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
2383 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
2384 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
2385 * sysdeps/generic/tls.h: Update description.
2387 2014-05-27 Will Newton <will.newton@linaro.org>
2390 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
2391 and restore r2 rather than just restoring.
2393 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2396 * libio/tst-ftell-append.c: New test case.
2397 * libio/Makefile (tests): Add test case.
2398 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
2400 * libio/wfileops.c (do_ftell_wide): Likewise.
2402 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2404 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2406 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
2408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
2409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2410 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
2411 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
2412 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
2413 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
2414 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
2415 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
2416 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
2419 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
2422 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
2423 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
2424 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
2425 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
2426 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
2428 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
2429 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
2431 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
2433 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
2435 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
2436 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
2437 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
2439 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
2440 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
2441 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
2442 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
2444 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
2446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
2447 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
2449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
2450 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
2452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
2453 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
2457 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
2460 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
2464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
2465 conditional [RESET_PID].
2466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2467 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
2469 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
2472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
2474 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2475 (__libc_vfork): New strong alias.
2476 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
2478 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
2481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
2483 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
2484 (__libc_vfork): New strong alias.
2485 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
2487 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
2490 2014-05-26 Carlos O'Donell <carlos@redhat.com>
2492 * malloc/malloc.c (mi_arena): New function.
2493 (malloc_info): Remove nested function mi_arena. Call non-nosted
2496 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2498 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
2500 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
2501 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
2502 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
2503 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
2504 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
2505 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
2506 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
2508 2014-05-26 Andreas Schwab <schwab@suse.de>
2511 * locale/programs/repertoire.c (repertoire_read): Add slash
2512 between I18NPATH element and file name.
2513 * locale/programs/locfile.c (locfile_read): Likewise.
2515 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2517 * nptl/pthread_mutexattr_settype.c
2518 (__pthread_mutexattr_settype):
2519 Disable lock elision for PTHREAD_MUTEX_NORMAL.
2521 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2523 * nptl/tst-mutex5 (do_test):
2524 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
2526 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2528 * benchtests/README: Document 'init' directive.
2529 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
2531 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
2532 (parse_file): Recognize 'init' directive.
2534 2014-05-26 Kyle McMartin <kyle@redhat.com>
2537 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
2538 alignment of struct pthread.
2540 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2543 * nscd/netgroupcache.c (addgetnetgrentX): Look for
2544 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2545 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
2546 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2548 2014-05-25 Richard Henderson <rth@twiddle.net>
2550 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2551 (SINGLE_THREAD_P_PIC): Remove.
2552 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
2553 (SINGLE_THREAD_P_PIC): Remove.
2555 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
2556 branch to syscall error ...
2558 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
2559 from __local_syscall_error to .Lsyscall_error.
2560 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
2561 (SYSCALL_ERROR): Update label name.
2563 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2564 Do not use DOARGS/UNDOARGS.
2565 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
2566 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
2567 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
2568 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
2569 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
2571 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
2574 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
2575 define if !NOT_IN_libc.
2576 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
2577 define with non-default symbol versions.
2579 2014-05-23 Richard Henderson <rth@twiddle.net>
2581 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
2582 (vfork, __vfork): Define via compat_symbol.
2584 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
2585 [!HAVE_IFUNC] (vfork_compat): Remove.
2586 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
2588 2014-05-23 Joseph Myers <joseph@codesourcery.com>
2591 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
2592 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
2595 2014-05-23 Richard Henderson <rth@twiddle.net>
2597 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
2598 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
2599 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
2600 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
2602 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
2603 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
2604 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
2605 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
2606 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
2607 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
2608 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
2609 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
2610 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
2611 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
2612 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
2613 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
2614 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
2615 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
2616 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
2617 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
2618 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
2619 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
2620 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
2621 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
2622 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
2623 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
2624 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
2625 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
2626 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
2627 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
2628 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
2629 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
2630 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
2631 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
2632 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
2633 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
2634 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
2635 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
2636 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
2637 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
2638 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
2639 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
2640 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
2641 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
2642 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
2643 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
2644 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
2645 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
2646 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
2647 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
2648 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
2649 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
2650 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
2651 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
2652 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
2653 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
2654 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
2655 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
2656 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
2657 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
2659 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
2660 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
2661 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
2662 before exiting on error.
2663 (__libc_vfork): New strong alias.
2664 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
2665 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
2667 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
2668 that was previously under [RESET_PID].
2669 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
2671 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
2673 2014-05-23 Joseph Myers <joseph@codesourcery.com>
2676 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
2677 value when x - 1 is zero.
2678 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
2679 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2680 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
2681 0.0L for an argument of 1.0L.
2682 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
2684 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
2685 value when x - 1 is zero.
2686 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
2687 * sysdeps/i386/fpu/libm-test-ulps: Update.
2688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2690 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2692 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
2693 alphasort and versionsort.
2695 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2697 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
2699 [copysignf]: Likewise.
2701 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2703 * crypt/md5-crypt.c: Fix formatting.
2705 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2707 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
2708 (b64_from_24bit): New function.
2710 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2712 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
2713 libc_hidden_builtin_def to ifunc.
2714 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2715 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
2717 2014-05-21 Roland McGrath <roland@hack.frob.com>
2719 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
2720 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
2722 2014-05-21 Joseph Myers <joseph@codesourcery.com>
2724 * nscd/Depend (linuxthreads): Remove.
2726 * resolv/Depend (linuxthreads): Remove.
2727 * rt/Depend (linuxthreads): Remove.
2729 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
2730 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
2731 $(common-objpfx)elf/.
2732 (link-libc-before-gnulib): Likewise.
2733 (elfobjdir): Remove variable.
2734 * Makefile (install): Use $(elf-objpfx) instead of
2735 $(common-objpfx)elf/.
2736 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
2738 (link-libc-deps): Likewise.
2739 ($(common-objpfx)libc.so): Likewise.
2740 ($(common-objpfx)linkobj/libc.so): Likewise.
2741 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
2742 instead of $(common-objpfx)elf/.
2743 (symbolic-link-list): Likewise.
2744 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2745 [$(cross-compiling) = no]: Likewise.
2746 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
2748 (static-gnulib-arch): Likewise.
2749 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2750 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
2751 $(common-objpfx)elf/.
2753 2014-05-21 Richard Henderson <rth@redhat.com>
2755 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2756 (SINGLE_THREAD_P): Use the correct width load. Fold
2757 into the ldr offset.
2759 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
2760 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
2762 2014-05-20 Joseph Myers <joseph@codesourcery.com>
2764 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
2765 (libgcc_s_resume): Use __attribute_used__.
2766 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
2769 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2771 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
2772 optimization when used with float constants.
2774 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2776 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
2779 * locale/nl_langinfo_l.c: Make direct reference to every
2780 _nl_current_CATEGORY symbol.
2781 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
2782 (tests-static): Add tst-langinfo-static.
2783 (tests-special): Add tst-langinfo-static.out.
2784 ($(objpfx)tst-langinfo.out): Redirect output.
2785 ($(objpfx)tst-langinfo-static.out): New.
2786 * localedata/tst-langinfo.sh: Send output to stdout.
2787 * localedata/tst-langinfo-static.c: New file.
2790 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
2791 when the shift amount is modulo the limb size.
2793 2014-05-20 Richard Henderson <rth@redhat.com>
2796 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
2797 Change type of sa_flags from unsigned int to int.
2800 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
2802 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
2804 2014-05-20 Will Newton <will.newton@linaro.org>
2806 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2807 Test the return value of the system call in the nocancel case.
2809 2014-05-20 Will Newton <will.newton@linaro.org>
2810 Yvan Roux <yvan.roux@linaro.org>
2812 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
2813 #include of asm/ptrace.h.
2814 (PTRACE_GET_THREAD_AREA): Remove #undef.
2815 (PTRACE_GETHBPREGS): Likewise.
2816 (PTRACE_SETHBPREGS): Likewise.
2817 (struct user_regs_struct): New structure.
2818 (struct user_fpsimd_struct): New structure.
2819 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
2820 #include of asm/ptrace.h and second #include of sys/user.h.
2821 (PTRACE_GET_THREAD_AREA): Remove #undef.
2822 (PTRACE_GETHBPREGS): Likewise.
2823 (PTRACE_SETHBPREGS): Likewise.
2824 (ELF_NGREG): Use new struct user_regs_struct.
2825 (elf_fpregset_t): Use new struct user_fpsimd_struct.
2827 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2829 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
2830 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
2832 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2835 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
2836 membar to avoid block loads/stores to overlap previous stores.
2838 2014-05-17 Richard Henderson <rth@redhat.com>
2840 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
2841 Create the __##syscall_name##_nocancel entry point.
2842 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
2843 Remove; let the sysdep-cancel.h code create it.
2845 2014-05-17 David S. Miller <davem@davemloft.net>
2847 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
2848 Protect with __USE_GNU.
2849 (TIOCSET_TEMPT): Likewise.
2850 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2851 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
2852 these are already provided in bits/ioctl-types.h
2854 2014-05-16 Roland McGrath <roland@hack.frob.com>
2856 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
2857 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
2859 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
2860 Use wait4 regardless of [__NR_waitpid].
2862 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2865 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2866 (_FP_NANSIGN_Q): Set the quiet bit.
2868 2014-05-16 Joseph Myers <joseph@codesourcery.com>
2870 * benchtests/Makefile
2871 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
2872 not $(common-objpfx)math/libm.so.
2873 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
2874 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
2875 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
2876 $(common-objpfx)dlfcn/libdl.so.
2877 ($(objpfx)tst-audit8): Depend on $(libm), not
2878 $(common-objpfx)math/libm.so.
2879 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
2880 not $(common-objpfx)dlfcn/libdl.so.
2882 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2883 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
2884 [$(build-shared) = yes].
2885 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
2886 $(common-objpfx)nptl/libpthread.so.
2887 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
2888 $(common-objpfx)math/libm.so$(libm.so-version) or
2889 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
2890 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
2891 $(common-objpfx)dlfcn/libdl.so.
2892 * setjmp/Makefile (link-libm): Remove variable.
2893 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
2894 * stdio-common/Makefile (link-libm): Remove variable.
2895 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
2896 * stdlib/Makefile (link-libm): Remove variable.
2897 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
2898 ($(objpfx)tst-strtod-round): Likewise.
2899 ($(objpfx)tst-tininess): Likewise.
2900 ($(objpfx)tst-strtod-underflow): Likewise.
2901 ($(objpfx)tst-strtod6): Likewise.
2902 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
2903 $(libdl), not $(common-objpfx)nptl/libpthread.so and
2904 $(common-objpfx)dlfcn/libdl.so.
2906 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2908 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
2909 BSD terminal modes definitions.
2911 2014-05-16 Roland McGrath <roland@hack.frob.com>
2913 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
2914 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
2916 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
2917 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
2918 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
2919 Don't do #include_next.
2920 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
2921 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
2922 Don't do #include_next.
2923 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
2924 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
2925 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
2926 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
2928 2014-05-16 Allan McRae <allan@archlinux.org>
2930 * po/sv.po: Update Swedish translation from translation project.
2932 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
2935 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
2938 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
2939 errno if the TIOCGPTN ioctl fails with an error different than
2941 * login/tst-ptsname.c: New file.
2942 * login/Makefile (tests): Add tst-ptsname.
2945 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
2948 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2951 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
2952 herrno to return EAI_AGAIN.
2954 2014-05-14 Roland McGrath <roland@hack.frob.com>
2956 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
2957 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
2958 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
2959 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
2960 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
2961 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
2962 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
2963 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
2964 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
2965 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
2966 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
2967 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
2968 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
2969 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
2970 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
2971 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
2972 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
2973 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
2974 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
2975 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
2976 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
2977 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
2978 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
2979 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
2980 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
2981 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
2982 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
2983 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
2984 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
2985 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
2986 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
2987 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
2988 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
2989 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
2990 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2992 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
2993 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
2994 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
2995 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
2996 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
2997 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
2998 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
2999 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
3000 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
3001 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
3002 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
3003 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
3004 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
3005 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
3006 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
3007 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
3008 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
3009 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
3010 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
3011 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
3012 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
3013 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
3014 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
3015 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
3016 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
3017 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
3018 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
3019 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3021 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
3022 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
3023 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
3024 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
3025 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
3026 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
3027 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
3028 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
3029 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
3030 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
3031 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
3032 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
3033 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
3034 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
3035 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
3036 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
3037 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
3038 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
3039 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
3040 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3042 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
3043 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
3044 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
3046 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
3047 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
3048 (libpthread-sysdep_routines): Add elision-related stuff here instead.
3049 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
3050 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
3051 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
3052 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
3053 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
3054 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
3055 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
3056 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
3057 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
3058 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
3059 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
3060 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
3061 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
3062 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
3063 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
3064 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
3065 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
3066 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
3067 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
3068 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
3069 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
3070 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
3071 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
3072 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
3073 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
3074 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
3075 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
3076 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
3078 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
3079 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
3081 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
3082 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
3083 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
3084 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
3085 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
3086 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
3088 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
3089 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3091 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
3092 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3094 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
3095 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
3097 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
3098 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
3099 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
3100 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3102 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
3103 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
3104 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
3105 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
3106 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
3107 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
3108 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
3109 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3111 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
3112 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3114 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3116 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
3117 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
3118 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
3119 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
3120 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3122 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3124 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
3126 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
3127 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
3128 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
3129 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
3130 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
3131 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
3133 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
3134 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3136 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
3137 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3139 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
3140 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
3142 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
3143 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
3144 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
3145 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
3147 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
3148 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
3149 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
3150 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
3151 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
3152 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
3153 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
3154 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3156 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
3157 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3159 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3161 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
3162 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
3163 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
3164 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
3165 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3167 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3169 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
3171 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
3172 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
3173 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
3174 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
3175 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
3176 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
3177 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
3178 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
3179 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
3180 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
3182 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
3183 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3185 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
3186 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3188 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
3189 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
3191 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
3192 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
3193 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
3194 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
3195 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
3196 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3198 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
3199 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
3200 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
3201 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
3202 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
3203 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
3204 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
3205 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3207 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
3208 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3210 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3212 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
3213 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
3214 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
3215 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
3216 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3218 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3220 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
3222 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
3223 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
3224 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
3225 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
3226 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
3227 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
3228 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
3229 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
3230 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
3231 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
3232 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
3234 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
3235 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
3237 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
3238 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
3240 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
3241 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
3242 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
3243 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
3244 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
3245 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
3246 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
3247 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
3248 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
3249 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
3250 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
3251 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
3252 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
3253 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
3254 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
3255 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
3256 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
3257 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
3259 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
3260 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
3261 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
3262 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
3264 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
3265 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
3266 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
3267 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
3268 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
3269 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
3270 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
3271 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
3273 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
3274 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
3276 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
3277 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
3278 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
3279 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
3280 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
3281 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
3282 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
3283 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
3284 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
3285 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
3286 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
3287 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
3288 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
3289 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
3290 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
3291 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
3292 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
3294 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
3295 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
3296 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
3297 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
3298 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
3300 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
3301 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
3302 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
3303 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
3304 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
3305 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
3306 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
3307 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
3308 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
3309 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
3311 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
3312 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
3314 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
3315 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3316 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
3317 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
3318 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
3319 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
3320 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
3321 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
3322 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
3323 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
3324 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
3325 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
3326 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
3327 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
3328 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
3330 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
3332 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3334 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3336 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3338 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
3340 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
3342 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3344 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
3346 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
3348 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
3349 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
3350 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
3351 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
3352 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
3353 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
3354 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
3355 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
3356 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
3357 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
3358 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
3359 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
3360 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
3361 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
3362 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3364 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
3365 that was previously under [RESET_PID].
3366 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3367 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
3368 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
3370 * sysdeps/i386/nptl/Implies: New file.
3371 * sysdeps/x86_64/nptl/Implies: New file.
3372 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
3373 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3374 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
3375 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
3377 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
3378 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3379 (__libc_vfork): New strong alias.
3380 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
3381 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
3383 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
3384 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3385 (__libc_vfork): New strong alias.
3386 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
3387 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
3389 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
3390 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3391 (__libc_vfork): New strong alias.
3392 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
3393 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
3394 * nptl/pt-vfork.c: New file.
3395 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
3396 (libpthread: GLIBC_2.20): New version set (empty).
3398 2014-05-14 Will Newton <will.newton@linaro.org>
3400 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
3403 2014-05-14 Joseph Myers <joseph@codesourcery.com>
3406 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
3407 arguments with exponent 65 or above.
3408 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
3409 arguments 0x1p113L or above.
3410 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
3411 to arguments 0x1p107L or above.
3412 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
3413 positive arguments with exponent 65 or above.
3414 * math/auto-libm-test-in: Add more tests of log1p.
3415 * math/auto-libm-test-out: Regenerated.
3418 * math/s_cacos.c (__cacos): Ensure zero real part of result from
3419 non-finite arguments is +0.
3420 * math/s_cacosf.c (__cacosf): Likewise.
3421 * math/s_cacosl.c (__cacosl): Likewise.
3422 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
3423 * sysdeps/i386/fpu/libm-test-ulps: Update.
3424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3427 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
3429 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
3430 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
3431 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
3432 for explicit high bit of mantissa when testing for argument equal
3434 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
3435 * sysdeps/i386/fpu/libm-test-ulps: Update.
3436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3439 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
3440 (__erf): Scale by 16 instead of 8 in potentially underflowing
3441 case. Ensure exception if result actually underflows.
3442 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
3443 (__erff): Scale by 16 instead of 8 in potentially underflowing
3444 case. Ensure exception if result actually underflows.
3445 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
3446 (efx8): Remove variable.
3447 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3448 case. Ensure exception if result actually underflows.
3449 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
3450 (efx8): Remove variable.
3451 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3452 case. Ensure exception if result actually underflows.
3453 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
3454 (efx8): Remove variable.
3455 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3456 case. Ensure exception if result actually underflows.
3457 * math/auto-libm-test-in: Add more tests of erf.
3458 * math/auto-libm-test-out: Regenerated.
3460 2014-05-14 Andreas Schwab <schwab@suse.de>
3462 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
3463 Remove code conditionalized on USE___THREAD.
3465 * config.h.in (HAVE_PT_CHOWN): Define as 0.
3466 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
3469 2014-05-14 Joseph Myers <joseph@codesourcery.com>
3471 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
3472 Define unconditionally.
3473 (__ASSUME_O_CLOEXEC): Likewise.
3474 (__ASSUME_SOCK_CLOEXEC): Likewise.
3475 (__ASSUME_IN_NONBLOCK): Likewise.
3476 (__ASSUME_PIPE2): Likewise.
3477 (__ASSUME_EVENTFD2): Likewise.
3478 (__ASSUME_SIGNALFD4): Likewise.
3479 (__ASSUME_DUP3): Likewise.
3480 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3481 (__ASSUME_DUP3): Do not define.
3482 (__ASSUME_EVENTFD2): Likewise.
3483 (__ASSUME_IN_NONBLOCK): Likewise.
3484 (__ASSUME_O_CLOEXEC): Likewise.
3485 (__ASSUME_PIPE2): Likewise.
3486 (__ASSUME_SIGNALFD4): Likewise.
3487 (__ASSUME_SOCK_CLOEXEC): Likewise.
3488 (__ASSUME_UTIMES): Undefine.
3489 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3490 (__ASSUME_UTIMES): Do not define.
3491 (__ASSUME_O_CLOEXEC): Likewise.
3492 (__ASSUME_SOCK_CLOEXEC): Likewise.
3493 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
3494 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
3496 (__ASSUME_PIPE2): Likewise.
3497 (__ASSUME_EVENTFD2): Likewise.
3498 (__ASSUME_SIGNALFD4): Likewise.
3499 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
3500 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
3502 (__ASSUME_EVENTFD2): Likewise.
3503 (__ASSUME_SIGNALFD4): Likewise.
3504 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3505 (__ASSUME_32BITUIDS): Likewise.
3506 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3507 (__ASSUME_IPC64): Likewise.
3508 (__ASSUME_ST_INO_64_BIT): Likewise.
3509 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
3510 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
3511 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3512 (__ASSUME_UTIMES): Do not define.
3513 (__ASSUME_PSELECT): Likewise.
3514 (__ASSUME_PPOLL): Likewise.
3515 (__ASSUME_O_CLOEXEC): Likewise.
3516 (__ASSUME_SOCK_CLOEXEC): Likewise.
3517 (__ASSUME_IN_NONBLOCK): Likewise.
3518 (__ASSUME_PIPE2): Likewise.
3519 (__ASSUME_EVENTFD2): Likewise.
3520 (__ASSUME_SIGNALFD4): Likewise.
3521 (__ASSUME_DUP3): Likewise.
3522 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3523 (__ASSUME_UTIMES): Likewise.
3524 (__ASSUME_O_CLOEXEC): Likewise.
3525 (__ASSUME_SOCK_CLOEXEC): Likewise.
3526 (__ASSUME_IN_NONBLOCK): Likewise.
3527 (__ASSUME_PIPE2): Likewise.
3528 (__ASSUME_EVENTFD2): Likewise.
3529 (__ASSUME_SIGNALFD4): Likewise.
3530 (__ASSUME_DUP3): Likewise.
3531 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3532 (__ASSUME_UTIMES): Likewise.
3533 (__ASSUME_O_CLOEXEC): Likewise.
3534 (__ASSUME_SOCK_CLOEXEC): Likewise.
3535 (__ASSUME_IN_NONBLOCK): Likewise.
3536 (__ASSUME_PIPE2): Likewise.
3537 (__ASSUME_EVENTFD2): Likewise.
3538 (__ASSUME_SIGNALFD4): Likewise.
3539 (__ASSUME_DUP3): Likewise.
3540 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
3542 (__ASSUME_UTIMES): Likewise.
3543 (__ASSUME_EVENTFD2): Likewise.
3544 (__ASSUME_SIGNALFD4): Likewise.
3545 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3546 (__ASSUME_O_CLOEXEC): Likewise.
3547 (__ASSUME_SOCK_CLOEXEC): Likewise.
3548 (__ASSUME_IN_NONBLOCK): Likewise.
3549 (__ASSUME_PIPE2): Likewise.
3550 (__ASSUME_EVENTFD2): Likewise.
3551 (__ASSUME_SIGNALFD4): Likewise.
3552 (__ASSUME_DUP3): Likewise.
3553 (__ASSUME_UTIMES): Undefine.
3555 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
3556 feclearexcept. Remove symbol versioning code.
3557 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
3558 symbol versioning code.
3559 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
3560 symbol versioning code.
3561 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
3562 feupdateenv. Remove symbol versioning code.
3563 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
3564 fegetexceptflag. Remove symbol versioning code.
3565 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
3566 fesetexceptflag. Remove symbol versioning code.
3567 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
3568 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
3569 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
3570 (__posix_fadvise64_l32): Remove prototype.
3571 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
3574 2014-05-13 Roland McGrath <roland@hack.frob.com>
3576 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
3577 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
3578 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
3579 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
3581 2014-05-13 Sami Kerola <kerolasa@iki.fi>
3583 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
3584 current working directory
3586 2014-05-13 Roland McGrath <roland@hack.frob.com>
3588 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
3589 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
3590 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
3591 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
3592 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
3593 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
3594 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
3595 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
3596 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
3597 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
3598 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
3599 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
3600 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
3601 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
3602 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
3603 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
3604 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
3605 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
3606 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
3607 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
3608 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
3609 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
3610 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
3611 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
3612 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
3613 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
3614 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
3615 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
3616 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
3617 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
3618 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
3619 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
3620 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
3621 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
3622 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
3623 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
3624 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
3625 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
3626 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
3627 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
3628 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
3629 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
3631 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
3632 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
3634 * sysdeps/unix/sysv/linux/arm/Makefile
3635 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3636 Add rt-aeabi_unwind_cpp_pr1.
3637 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
3638 Add nptl-aeabi_unwind_cpp_pr1.
3639 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
3640 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
3641 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
3642 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3643 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
3644 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3646 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
3647 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
3648 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
3649 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
3651 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
3652 Deconditionalize the code that was previously under [RESET_PID].
3653 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
3655 * sysdeps/generic/exit-thread.h: New file.
3656 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
3657 * include/unistd.h (__exit_thread): Remove declaration.
3658 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
3659 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
3660 * csu/libc-start.c: Include <exit-thread.h>.
3661 (LIBC_START_MAIN): Pass no argument to __exit_thread.
3662 * nptl/pthread_create.c: Include <exit-thread.h>.
3663 (start_thread): Call __exit_thread in place of __exit_thread_inline.
3664 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
3665 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
3666 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
3667 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
3668 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
3669 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
3670 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
3671 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
3672 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
3673 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
3674 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
3675 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
3676 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
3677 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
3678 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
3679 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
3681 2014-05-13 Andreas Schwab <schwab@suse.de>
3683 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
3685 2014-05-12 Joseph Myers <joseph@codesourcery.com>
3687 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3688 (__ASSUME_UTIMES): Do not condition on kernel version.
3689 (__ASSUME_PSELECT): Define unconditionally.
3690 (__ASSUME_PPOLL): Likewise.
3691 (__ASSUME_ATFCTS): Likewise.
3692 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
3693 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
3694 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
3695 (__ASSUME_UTIMENSAT): Define unconditionally.
3696 (__ASSUME_PRIVATE_FUTEX): Likewise.
3697 (__ASSUME_FALLOCATE): Likewise.
3698 (__ASSUME_O_CLOEXEC): Likewise.
3699 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
3700 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
3701 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
3702 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
3703 (__ASSUME_IN_NONBLOCK): Likewise.
3704 (__ASSUME_PIPE2): Likewise.
3705 (__ASSUME_EVENTFD2): Likewise.
3706 (__ASSUME_SIGNALFD4): Likewise.
3707 (__ASSUME_DUP3): Likewise.
3708 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3709 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
3710 (__ASSUME_AT_RANDOM): Likewise.
3711 (__ASSUME_PREADV): Likewise.
3712 (__ASSUME_PWRITEV): Likewise.
3713 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
3714 (__ASSUME_F_GETOWN_EX): Define unconditionally.
3715 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
3716 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3717 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
3718 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3719 (__ASSUME_O_CLOEXEC): Define unconditionally.
3720 (__ASSUME_PSELECT): Do not undefine conditionally.
3721 (__ASSUME_PPOLL): Likewise.
3722 (__ASSUME_ATFCTS): Likewise.
3723 (__ASSUME_SET_ROBUST_LIST): Likewise.
3724 (__ASSUME_UTIMENSAT): Likewise.
3725 (__ASSUME_FDATASYNC): Define unconditionally.
3726 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3727 (__ASSUME_SIGFRAME_V2): Likewise.
3728 )__ASSUME_EVENTFD2): Likewise.
3729 (__ASSUME_SIGNALFD4): Likewise.
3730 (__ASSUME_PSELECT): Do not undefine conditionally.
3731 (__ASSUME_PPOLL): Likewise.
3732 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3733 (__ASSUME_PSELECT): Define unconditionally.
3734 (__ASSUME_PPOLL): Likewise.
3735 (__ASSUME_O_CLOEXEC): Likewise.
3736 (__ASSUME_SOCK_CLOEXEC): Likewise.
3737 (__ASSUME_IN_NONBLOCK): Likewise.
3738 (__ASSUME_PIPE2): Likewise.
3739 (__ASSUME_EVENTFD2): Likewise.
3740 (__ASSUME_SIGNALFD4): Likewise.
3741 (__ASSUME_DUP3): Likewise.
3742 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3743 (__ASSUME_O_CLOEXEC): Likewise.
3744 (__ASSUME_SOCK_CLOEXEC): Likewise.
3745 (__ASSUME_IN_NONBLOCK): Likewise.
3746 (__ASSUME_PIPE2): Likewise.
3747 (__ASSUME_EVENTFD2): Likewise.
3748 (__ASSUME_SIGNALFD4): Likewise.
3749 (__ASSUME_DUP3): Likewise.
3750 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3751 (__ASSUME_EVENTFD2): Likewise.
3752 (__ASSUME_SIGNALFD4): Likewise.
3753 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3755 2014-05-12 Andreas Schwab <schwab@suse.de>
3758 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
3759 (_nss_nis_gethostbyname4_r): Return error if item length is larger
3760 than maximum RPC packet size.
3761 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
3762 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
3763 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
3764 (_nss_nis_getservbyport_r): Likewise.
3766 2014-05-12 Will Newton <will.newton@linaro.org>
3768 * malloc/Makefile (tests): Add tst-mallopt.
3769 * malloc/tst-mallopt.c: New file.
3771 2014-05-09 Roland McGrath <roland@hack.frob.com>
3773 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
3774 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
3776 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3778 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
3779 (tst-tlsmod6.so): Likewise.
3781 2014-05-09 Roland McGrath <roland@hack.frob.com>
3783 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
3785 2014-05-09 Joseph Myers <joseph@codesourcery.com>
3788 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
3789 and <dl-procinfo.h>.
3790 (__fegetenv): Save SSE state in envp->__eip if supported.
3791 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
3792 envp->__eip if supported.
3793 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
3794 and <dl-procinfo.h>.
3795 (__fesetenv): Always set __eip, __cs_selector, __opcode,
3796 __data_offset and __data_selector in environment to 0. Set SSE
3798 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3800 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
3802 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
3804 2014-05-09 Will Newton <will.newton@linaro.org>
3806 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
3807 and libc_relro_required for ARM.
3808 * sysdeps/arm/preconfigure: Regenerate.
3810 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
3811 Stefan Liebler <stli@linux.vnet.ibm.com>
3813 * config.make.in (enable-lock-elision): New Makefile variable.
3814 * configure.ac: Likewise.
3815 * configure: Regenerate.
3816 * sysdeps/s390/configure.ac:
3817 Add check for gcc transactions support.
3818 * sysdeps/s390/configure: Regenerate.
3819 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
3820 Build elision files if enabled.
3821 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
3822 Add lock elision support for s390.
3823 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3824 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
3825 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
3826 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3827 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3828 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3829 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3831 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
3833 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
3835 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
3837 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
3838 (__lll_timedlock_elision, __lll_lock_elision)
3839 (__lll_unlock_elision, __lll_trylock_elision)
3840 (lll_timedlock_elision, lll_lock_elision)
3841 (lll_unlock_elision, lll_trylock_elision): Add.
3842 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3843 (pthread_mutex_t): Add lock elision support for s390.
3845 2014-05-14 Wilco <wdijkstr@arm.com>
3847 * sysdeps/arm/fclrexcpt.c: Cleanup.
3848 * sysdeps/arm/fedisblxcpt.c: Cleanup.
3849 * sysdeps/arm/feenablxcpt.c: Cleanup.
3850 * sysdeps/arm/fegetenv.c: Cleanup.
3851 * sysdeps/arm/fegetexcept.c: Cleanup.
3852 * sysdeps/arm/fegetround.c: Cleanup.
3853 * sysdeps/arm/feholdexcpt.c: Cleanup.
3854 * sysdeps/arm/fesetenv.c: Cleanup.
3855 * sysdeps/arm/fesetround.c: Cleanup.
3856 * sysdeps/arm/feupdateenv.c: Cleanup.
3857 * sysdeps/arm/fgetexcptflg.c: Cleanup.
3858 * sysdeps/arm/fraiseexcpt.c: Cleanup.
3859 * sysdeps/arm/fsetexcptflg.c: Cleanup.
3860 * sysdeps/arm/ftestexcept.c: Cleanup.
3861 * sysdeps/arm/get-rounding-mode.h: Cleanup.
3862 * sysdeps/arm/setfpucw.c: Cleanup.
3864 2014-05-09 Will Newton <will.newton@linaro.org>
3866 * sysdeps/arm/armv7/strcmp.S: New file.
3867 * NEWS: Mention addition of ARMv7 optimized strcmp.
3869 2014-05-08 Roland McGrath <roland@hack.frob.com>
3871 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
3872 look for %.ac rather than %.in.
3874 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
3875 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
3876 * sysdeps/mach/hurd/configure: Regenerated.
3877 * sysdeps/unix/sysv/linux/configure: Regenerated.
3879 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
3881 2014-05-07 Steve Ellcey <sellcey@mips.com>
3884 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
3888 2014-05-07 Andreas Schwab <schwab@suse.de>
3890 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
3891 when skipping over non-matching result from nscd.
3893 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
3896 * nptl/sockperf.c (client): Check socket return value.
3899 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
3900 nscd security class.
3902 2014-05-06 Roland McGrath <roland@hack.frob.com>
3904 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
3905 * sysdeps/arm/unwind.h: ... here.
3907 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
3910 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
3913 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3915 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
3916 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
3917 multiarch strncpy for PPC64.
3918 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
3919 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
3920 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
3921 multiarch optimizations.
3922 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3923 (__libc_ifunc_impl_list): Likewise.
3924 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
3925 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
3926 multiarch stpncpy for PPC64.
3927 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
3928 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
3930 2014-05-06 Andreas Schwab <schwab@suse.de>
3933 * gmon/mcount.c (_MCOUNT_DECL): Use
3934 atomic_compare_and_exchange_bool_acq instead of
3935 catomic_compare_and_exchange_bool_acq.
3937 2014-05-05 Roland McGrath <roland@hack.frob.com>
3939 * elf/Makefile (others, install-bin): Remove pldd.
3940 (pldd-modules): Variable removed.
3941 ($(objpfx)pldd): Target removed.
3942 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
3943 (others, install-bin): Append pldd here.
3944 ($(objpfx)pldd): New target.
3946 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
3947 to 0, so the first #if test emitted later doesn't see it undefined.
3948 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
3949 * sysdeps/gnu/errlist.c: Regenerated.
3951 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3953 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3954 [libc_hidden_builtin_def]: Define to empty value.
3955 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
3956 [libc_hidden_builtin_def]: Likewise.
3957 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
3958 [libc_hidden_builtin_def]: Likewise.
3959 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
3960 [libc_hidden_builtin_def]: Likewise.
3961 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
3962 __redirect_memcpy and define ifunc as default hidden symbol.
3963 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
3964 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
3966 2014-05-04 Adam Conrad <adconrad@0c3.net>
3968 * locale/iso-4217.def: Reintroduce XDR currency.
3970 2014-05-04 Allan McRae <allan@archlinux.org>
3972 * po/eo.po: Update Esperanto translation from translation project.
3974 2014-05-02 Carlos O'Donell <carlos@redhat.com>
3976 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
3977 and FEATURE_INDEX_MAX to 1.
3978 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
3980 2014-05-01 Steve Ellcey <sellcey@mips.com>
3982 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
3983 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
3984 * iconvdata/big5.c (ONE_DIRECTION): Define.
3985 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
3986 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
3987 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
3988 * iconvdata/cp932.c (ONE_DIRECTION): Define.
3989 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
3990 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
3991 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
3992 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
3993 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
3994 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
3995 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
3996 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
3997 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
3998 * iconvdata/gbk.c (ONE_DIRECTION): Define.
3999 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
4000 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
4001 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
4002 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
4003 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
4004 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
4005 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
4006 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
4007 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
4008 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
4009 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
4010 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
4011 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
4012 * iconvdata/iso646.c (ONE_DIRECTION): Define.
4013 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
4014 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
4015 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
4016 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
4017 * iconvdata/johab.c (ONE_DIRECTION): Define.
4018 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
4019 * iconvdata/sjis.c (ONE_DIRECTION): Define.
4020 * iconvdata/t.61.c (ONE_DIRECTION): Define.
4021 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
4022 * iconvdata/tscii.c (ONE_DIRECTION): Define.
4023 * iconvdata/uhc.c (ONE_DIRECTION): Define.
4024 * iconvdata/unicode.c (ONE_DIRECTION): Define.
4025 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
4026 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
4027 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
4029 2014-05-01 Roland McGrath <roland@hack.frob.com>
4031 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
4032 (_IO_JUMPS_OFFSET): Define to 0.
4034 * nptl/sysdeps/pthread/bits/libc-lock.h
4035 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4036 (__libc_lock_define_initialized_recursive): Always define using
4037 initializer. Modern compilers treat uninitialized (implicit zero) and
4038 explicit zero initializers the same (i.e. put the datum in bss).
4040 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4042 * nscd/nscd-client.h: Include <string.h>.
4044 2014-05-01 David S. Miller <davem@davemloft.net>
4047 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
4048 multiple zero bytes exist at the end of a string.
4049 Reported by Aurelien Jarno <aurelien@aurel32.net>
4051 * string/test-strcmp.c (check): Add explicit test for situations where
4052 there are multiple zero bytes after the first.
4054 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4057 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
4058 when compiling wprintf.
4059 * stdio-common/tstdiomisc.c (t3): New function.
4062 2014-05-01 Steve Ellcey <sellcey@mips.com>
4064 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
4065 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
4066 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
4067 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
4069 2014-05-01 Steve Ellcey <sellcey@mips.com>
4071 * stdlib/longlong.h: Updated from GCC.
4073 2014-05-01 Will Newton <will.newton@linaro.org>
4074 Bernard Ogden <bernie.ogden@linaro.org>
4076 * NEWS: Update fixed bug list.
4079 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
4081 2014-04-30 David S. Miller <davem@davemloft.net>
4083 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
4084 (libc_feholdexcept_setround_sparc_ctx): New function.
4085 (libc_fesetenv_sparc_ctx): Likewise.
4086 (libc_feupdateenv_sparc_ctx): Likewise.
4087 (libc_feholdsetround_sparc_ctx): Likewise.
4088 (libc_feholdexcept_setround_ctx): Define.
4089 (libc_feholdexcept_setroundf_ctx): Likewise.
4090 (libc_feholdexcept_setroundl_ctx): Likewise.
4091 (libc_fesetenv_ctx): Likewise.
4092 (libc_fesetenvf_ctx): Likewise.
4093 (libc_fesetenvl_ctx): Likewise.
4094 (libc_feupdateenv_ctx): Likewise.
4095 (libc_feupdateenvf_ctx): Likewise.
4096 (libc_feupdateenvl_ctx): Likewise.
4097 (libc_feresetround_ctx): Likewise.
4098 (libc_feresetroundf_ctx): Likewise.
4099 (libc_feresetroundl_ctx): Likewise.
4100 (libc_feholdsetround_ctx): Likewise.
4101 (libc_feholdsetroundf_ctx): Likewise.
4102 (libc_feholdsetroundl_ctx): Likewise.
4104 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4105 with __USE_GNU instead of XOPEN cpp guards.
4107 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
4110 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4111 with XOPEN cpp guards.
4113 2014-04-30 Julian Brown <julian@codesourcery.com>
4116 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
4119 2014-04-30 Joseph Myers <joseph@codesourcery.com>
4122 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4124 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
4125 * sysdeps/unix/sysv/linux/configure: Regenerated.
4126 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
4127 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
4128 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
4129 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
4130 * README: Update reference to required Linux kernel version.
4131 * manual/install.texi (Linux): Update reference to required Linux
4132 kernel headers version.
4133 * INSTALL: Regenerated.
4135 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
4137 [POSIX] (limits.h): Likewise.
4138 [POSIX] (math.h): Likewise.
4139 [POSIX] (sys/wait.h): Likewise.
4140 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
4142 [POSIX] (stddef.h): Do not allow header inclusion.
4144 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4146 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
4148 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
4150 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4151 Return immediately after lll_futex_wake.
4153 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4156 * nscd/nscd-client.h (datahead_init_common): Initialize entire
4158 (datahead_init_pos): Call datahead_init_common early.
4159 (datahead_init_neg): Likewise.
4161 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
4162 datahead_init_neg): New functions.
4163 * nscd/aicache.c (addhstaiX): Use them.
4164 * nscd/grpcache.c (cache_addgr): Likewise.
4165 * nscd/hstcache.c (cache_addhst): Likewise.
4166 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4167 * nscd/netgroupcache.c (do_notfound): Likewise.
4168 (addgetnetgrentX): Likewise.
4169 (addinnetgrX): Likewise.
4170 * nscd/pwdcache.c (cache_addpw): Likewise.
4171 * nscd/servicescache.c (cache_addserv): Likewise.
4173 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4174 Atsushi Onoe <atsushi@onoe.org>
4179 * resolv/res_query.c (__libc_res_nsearch): Return if at least
4180 one response is valid.
4181 * resolv/res_send.c (send_dg): Check for validity of other
4182 response if the current response is a referral.
4184 2014-04-29 Steve Ellcey <sellcey@mips.com>
4186 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
4188 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
4191 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
4192 Always divide by positive zero when computing -Inf result.
4193 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4194 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4196 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4198 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
4199 FPSCR if value do not change.
4200 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4201 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
4202 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4203 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4204 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4205 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
4208 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
4210 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
4211 * sysdeps/unix/sysv/linux/hppa: Move directory from
4212 ports/systeps/unix/sysv/linux/hppa.
4213 * README: Update listing for hppa-*-linux-gnu.
4215 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
4218 * manual/stdio.texi (Hook functions): Fix types of stream hook
4221 * socket/sys/socket.h: Fix typo in comment.
4223 2014-04-28 Wilco <wdijkstr@arm.com>
4225 * sysdeps/arm/fenv_private.h: New file.
4226 * sysdeps/arm/math_private.h: New file.
4227 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
4229 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
4231 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
4233 (La_x86_64_retval): Likewise.
4235 2014-04-24 Ian Bolton <ian.bolton@arm.com>
4237 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
4238 fpsr if value didn't change.
4239 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
4240 to fpcr if value didn't change.
4241 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
4242 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
4243 fpsr or fpcr if value didn't change.
4244 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4245 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
4246 fpcr if value didn't change.
4247 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
4248 to fpsr if value didn't change.
4250 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4252 * nptl/tst-sem3.c: Use test-skeleton.c
4253 (main): Rename to do_test. Use return instead of
4255 * nptl/tst-sem4.c: Use test-skeleton.c
4256 (main): Rename to do_test.
4258 2014-04-22 David S. Miller <davem@davemloft.net>
4260 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4261 (struct sigaction): New struct member __glibc_reserved0, change
4262 type of sa_flags to int.
4264 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
4266 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
4267 (COUNT_LEADING_ZEROS_0): Define for AArch64.
4269 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4271 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
4272 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
4274 2014-04-22 Will Newton <will.newton@linaro.org>
4275 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
4277 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
4278 (__longjmp): Add longjmp and longjmp_target SystemTap
4280 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
4281 (__sigsetjmp): Add setjmp SystemTap probe.
4283 2014-04-17 Carlos O'Donell <carlos@redhat.com>
4285 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
4288 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4290 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
4292 * sysdeps/powerpc/fpu/fenv_private.h
4293 (libc_feholdexcept_setroundl_ctx): Define to
4294 libc_feholdexcept_setround_ppc_ctx.
4295 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
4296 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
4297 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
4298 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
4300 2014-04-17 Ian Bolton <ian.bolton@arm.com>
4302 * sysdeps/aarch64/math-tests.h: New file.
4304 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
4306 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
4308 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4309 Check and set bit_AVX2_Usable.
4310 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
4312 (bit_AVX2): Likewise.
4313 (index_AVX2_Usable): Likewise.
4314 (CPUID_AVX2): Likewise.
4315 (HAS_AVX2): Likewise.
4317 2014-04-17 Will Newton <will.newton@linaro.org>
4319 * manual/setjmp.texi (System V contexts): Add note that
4320 calling setcontext on a context created by a call to a
4321 signal handler is undefined. Update text to note that
4322 setcontext from a signal handler is possible but not
4326 * stdlib/tst-setcontext.c: Include signal.h.
4327 (main): Check that the signal stack before and
4328 after swapcontext is the same.
4330 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
4331 Re-implement to restore registers in user code and avoid
4332 rt_sigreturn system call.
4334 2014-04-17 Wilco <wdijkstr@arm.com>
4336 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
4337 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
4338 * math/test-fenv.c: Skip exception trap tests on targets which only
4339 support non-stop mode.
4341 2014-04-17 Ian Bolton <ian.bolton@arm.com>
4342 Wilco Dijkstra <wilco.dijkstra@arm.com>
4344 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
4345 (libc_feholdsetround_aarch64_ctx)
4346 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
4347 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
4348 (libc_feresetround_ctx, libc_feresetroundf_ctx)
4349 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
4350 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
4351 (libc_feresetround_noexl_ctx): Define.
4353 2014-04-16 Richard Henderson <rth@redhat.com>
4355 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
4357 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
4360 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
4361 const from the non-libc, non-ldso copy.
4363 * sysdeps/alpha/libm-test-ulps: Regenerate.
4365 2014-04-16 Ian Bolton <ian.bolton@arm.com>
4366 Wilco Dijkstra <wilco.dijkstra@arm.com>
4368 * sysdeps/aarch64/fpu/math_private.h: New file.
4370 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
4372 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4374 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
4376 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
4377 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
4378 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
4379 Intel MPX bound registers before _dl_profile_fixup.
4380 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
4381 registers after _dl_profile_fixup. Save and restore bound
4382 registers bnd0/bnd1 when calling _dl_call_pltexit.
4383 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
4384 (LR_BND_OFFSET): Likewise.
4385 (LRV_BND0_OFFSET): Likewise.
4386 (LRV_BND1_OFFSET): Likewise.
4388 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4390 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
4392 * sysdeps/mach/hurd/i386/tls.h: ... here.
4393 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
4394 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
4397 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4399 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
4401 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4403 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4405 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4408 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
4409 * sysdeps/s390/configure: Regenerate.
4412 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
4413 Set round-to-nearest internally to reduce error accumulation.
4415 2014-04-16 Alan Modra <amodra@gmail.com>
4419 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
4420 * math/libm-test.inc (frexp_test_data): Add tests.
4421 * NEWS: Update fixed bug list.
4423 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4425 * benchtests/Makefile: Depend on libraries in build directory.
4426 (bench-math): Separate out math tests.
4427 (bench-pthread): Separate out pthread tests.
4428 (bench): Include math and pthread tests.
4430 2014-04-14 Carlos O'Donell <carlos@redhat.com>
4433 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
4434 _dl_debug_initialize.
4436 * configure.ac: Remove SELinux header check.
4437 * configure: Regenerate.
4438 * nscd/selinux.c (perms): Array of const char* to permission names.
4439 (nscd_request_avc_has_perm): Call security_deny_unknown to find
4440 default policy. Call string_to_security_class and string_to_av_perm to
4441 translate strings. Enforce default policy and call avs_has_perm with
4442 results of translated strings.
4444 2014-04-13 David S. Miller <davem@davemloft.net>
4446 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4448 2014-04-12 Allan McRae <allan@archlinux.org>
4451 * manual/string.texi (Collation Functions): Fix qsort argument
4453 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4455 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
4457 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
4458 Make the test a no-op if there are no exceptions defined.
4460 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
4462 * elf/Makefile (tests): make tst-dlopen-aout conditional on
4463 enable-hardcoded-path-in-tests
4465 2014-04-11 Will Newton <will.newton@linaro.org>
4467 * benchtests/Makefile (extra-objs): Add json-lib.o.
4468 (bench-func): Tidy up JSON output.
4469 * benchtests/bench-skeleton.c: Include json-lib.h.
4470 (main): Use JSON library functions to do output of
4472 * benchtests/bench-timing-type.c (main): Output the
4473 timing type simply, leaving formatting to the user.
4474 * benchtests/json-lib.c: New file.
4475 * benchtests/json-lib.h: Likewise.
4477 2014-04-11 Torvald Riegel <triegel@redhat.com>
4480 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
4481 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
4482 memory barriers. Add comments.
4483 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
4484 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
4485 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
4486 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
4487 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
4488 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
4490 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4492 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
4493 * sysdeps/s390/s390-64/configure.ac: ... this ...
4494 * sysdeps/s390/configure.ac: ... to here.
4495 * sysdeps/s390/s390-32/configure: Delete file.
4496 * sysdeps/s390/s390-64/configure: Delete file.
4497 * sysdeps/s390/configure: Regenerate.
4499 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
4501 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
4503 2014-04-11 Will Newton <will.newton@linaro.org>
4505 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
4506 to zero if it is not defined elsewhere. (mtrim): Test
4507 the value of MALLOC_DEBUG with #if rather than #ifdef.
4509 2014-04-10 Torvald Riegel <triegel@redhat.com>
4511 * benchtests/pthread_once-inputs: New file.
4512 * benchtests/pthread_once-source.c: New file.
4513 * benchtests/README: Update documentation.
4515 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
4516 H.J. Lu <hongjiu.lu@intel.com>
4518 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
4519 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
4520 * sysdeps/x86_64/configure: Regenerated.
4521 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
4523 (REGISTER_SAVE_RAX): Likewise.
4524 (REGISTER_SAVE_RCX): Likewise.
4525 (REGISTER_SAVE_RDX): Likewise.
4526 (REGISTER_SAVE_RSI): Likewise.
4527 (REGISTER_SAVE_RDI): Likewise.
4528 (REGISTER_SAVE_R8): Likewise.
4529 (REGISTER_SAVE_R9): Likewise.
4530 (REGISTER_SAVE_BND0): Likewise.
4531 (REGISTER_SAVE_BND1): Likewise.
4532 (REGISTER_SAVE_BND2): Likewise.
4533 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
4534 bound registers when calling _dl_fixup.
4536 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4538 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
4539 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
4541 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
4542 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
4543 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
4544 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
4545 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
4546 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
4547 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
4549 2014-04-09 Peter Brett <peter@peter-b.co.uk>
4552 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
4553 pathconf(_PC_NAME_MAX).
4555 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4557 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
4559 (__PTHREAD_SPINS): Move definition to ...
4560 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4561 (__PTHREAD_SPINS): ... here.
4562 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4563 (__PTHREAD_SPIN): Likewise.
4564 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
4565 (__PTHREAD_SPIN): Likewise.
4566 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
4567 (__PTHREAD_SPIN): Likewise.
4568 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
4569 (__PTHREAD_SPIN): Likewise.
4570 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4571 (__PTHREAD_SPIN): Likewise.
4572 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4573 (__PTHREAD_SPIN): Likewise.
4574 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
4575 (__PTHREAD_SPIN): Likewise.
4576 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4577 (__PTHREAD_SPIN): Likewise.
4578 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4579 (__PTHREAD_SPIN): Likewise.
4580 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4581 (__PTHREAD_SPIN): Likewise.
4582 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4583 (__PTHREAD_SPIN): Likewise.
4584 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
4585 (__PTHREAD_SPIN): Likewise.
4587 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
4588 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
4589 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
4590 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
4592 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
4593 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
4594 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
4595 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
4597 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
4598 strlen symbol for non multi-arch builds.
4599 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
4600 missing hidden_def and weak_alias.
4602 2014-04-08 Carlos O'Donell <carlos@redhat.com>
4604 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
4606 2014-04-07 Will Newton <will.newton@linaro.org>
4608 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
4609 and contents. [!_LIBC] Remove #ifndef and contents.
4610 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
4611 * string/memccpy.c (__memccpy): Use ANSI prototype.
4612 * string/memfrob.c (memfrob): Likewise.
4613 * string/strcoll.c (STRCOLL): Likewise.
4614 * string/strlen.c (strlen): Likewise.
4615 * string/strtok.c (STRTOK): Likewise.
4616 * string/strcat.c: Remove unused #include of memcopy.h.
4617 (strcat): Use ANSI prototype.
4618 * string/strchr.c: Remove unused #include of memcopy.h.
4619 (strchr): Use ANSI prototype.
4620 * string/strcmp.c: Remove unused #include of memcopy.h.
4621 (strcmp): Use ANSI prototype.
4622 * string/strcpy.c: Remove unused #include of memcopy.h.
4623 (strcpy): Use ANSI prototype.
4625 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4627 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
4628 * config.make.in (config-extra-cppflags): Set it from
4629 libc_extra_cppflags.
4630 * configure.ac (libc_extra_cflags): Make it accumulate over
4631 configure fragments.
4632 (libc_extra_cppflags): New flag.
4633 * configure. Regenerate.
4634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4635 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
4636 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
4637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4640 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
4641 result for FE_DOWNWARD rounding mode.
4642 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4644 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4646 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
4648 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
4649 in function argument name.
4651 2014-04-03 David Svoboda <svoboda@cert.org>
4654 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
4657 2014-04-03 Roland McGrath <roland@hack.frob.com>
4659 * elf/dl-unmap-segments.h: New file.
4660 * sysdeps/generic/ldsodefs.h
4661 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
4662 * elf/dl-close.c: Include <dl-unmap-segments.h>.
4663 * elf/dl-fptr.c: Likewise.
4664 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
4665 * sysdeps/aarch64/tlsdesc.c: Likewise.
4666 * sysdeps/arm/tlsdesc.c: Likewise.
4667 * sysdeps/i386/tlsdesc.c: Likewise.
4668 * sysdeps/tile/dl-runtime.c: Likewise.
4669 * sysdeps/x86_64/tlsdesc.c: Likewise.
4670 * elf/dl-load.h: New file.
4671 * elf/dl-load.c: Include it.
4672 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
4673 Macros moved to dl-load.h.
4674 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
4675 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
4676 Use _dl_unmap_segments in place of __munmap.
4677 Break out segment-mapping loop into ...
4678 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
4680 2014-04-03 Will Newton <will.newton@linaro.org>
4682 * elf/dl-lookup.c (do_lookup_x): Remove comment
4683 referring to nested function and move variable
4684 declarations down to before first use.
4686 2014-04-02 Joseph Myers <joseph@codesourcery.com>
4690 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
4692 * math/s_catanf.c (__catanf): Likewise.
4693 * math/s_catanh.c (__catanh): Likewise.
4694 * math/s_catanhf.c (__catanhf): Likewise.
4695 * math/s_catanhl.c (__catanhl): Likewise.
4696 * math/s_catanl.c (__catanl): Likewise.
4697 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
4698 by positive zero when computing -Inf result.
4699 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
4700 (catanh_test): Likewise.
4701 * sysdeps/i386/fpu/libm-test-ulps: Update.
4702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4705 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
4706 instead of using underflowing value in computing result.
4707 * math/s_clog10.c (__clog10): Likewise.
4708 * math/s_clog10f.c (__clog10f): Likewise.
4709 * math/s_clog10l.c (__clog10l): Likewise.
4710 * math/s_clogf.c (__clogf): Likewise.
4711 * math/s_clogl.c (__clogl): Likewise.
4712 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
4713 (clog10_test): Likewise.
4714 * sysdeps/i386/fpu/libm-test-ulps: Update.
4715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4717 2014-04-02 Alan Modra <amodra@gmail.com>
4720 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
4721 output when value is near a power of two. Use int64_t for lx and
4722 remove casts. Use decimal rather than hex exponent constants.
4723 Don't use long double multiplication when double will suffice.
4724 * math/libm-test.inc (nextafter_test_data): Add tests.
4725 * NEWS: Add 16739 and 16786 to bug list.
4727 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
4729 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
4731 2014-04-01 Will Newton <will.newton@linaro.org>
4733 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
4734 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
4736 2014-04-01 Florian Weimer <fweimer@redhat.com>
4739 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
4740 * nptl/tst-setuid2.c: New file.
4741 * nptl/Makefile (xtests): Add tst-setuid2.
4743 2014-04-01 Alan Modra <amodra@gmail.com>
4746 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
4748 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4752 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
4753 set errno as appropriate.
4754 * math/w_scalbf.c (__scalbf): Likewise.
4755 * math/w_scalbl.c (__scalbl): Likewise.
4756 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
4757 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
4758 * math/libm-test.inc (scalb_test_data): Add errno expectations.
4762 * math/w_atan2.c: Include <errno.h>.
4763 (__atan2): Set errno for result underflowing to zero.
4764 * math/w_atan2f.c: Include <errno.h>.
4765 (__atan2f): Set errno for result underflowing to zero.
4766 * math/w_atan2l.c: Include <errno.h>.
4767 (__atan2l): Set errno for result underflowing to zero.
4768 * math/auto-libm-test-in: Don't allow missing errno for some atan2
4770 * math/auto-libm-test-out: Regenerated.
4772 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4774 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4775 Encode instruction correctly in little endian.
4776 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4778 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4780 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4782 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4785 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4788 * sysdeps/unix/sysv/linux/kernel-features.h
4789 [__sparc__ && !__arch64__ && !__sparc_v9__]
4790 (__ASSUME_SET_ROBUST_LIST): Do not define.
4791 [__sparc__ && !__arch64__ && !__sparc_v9__]
4792 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4793 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
4795 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4796 (__ASSUME_FUTEX_LOCK_PI): Undefine.
4797 (__ASSUME_REQUEUE_PI): Likewise.
4798 (__ASSUME_SET_ROBUST_LIST): Likewise.
4799 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4800 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
4802 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4803 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
4805 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
4807 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
4809 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4810 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
4812 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
4813 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
4817 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4818 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
4819 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
4821 2014-03-31 Will Newton <will.newton@linaro.org>
4823 * benchtests/Makefile (bench): Add ffs and ffsll to list
4825 * benchtests/ffs-inputs: New file.
4826 * benchtests/ffsll-inputs: Likewise.
4828 2014-03-29 Joseph Myers <joseph@codesourcery.com>
4831 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
4832 too large before casting to int.
4833 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
4834 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
4835 * math/libm-test.inc (scalb_test_data): Add more tests.
4837 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4839 * benchtests/Makefile (DETAILED_OPT): New make option.
4840 (bench-func): Run benchmark program with -d if DETAILED_OPT is
4842 * benchtests/bench-skeleton.c: Include stdbool.h.
4843 (main): Store and print timings per input.
4844 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
4845 member to each argument value.
4846 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
4847 (_print_arg_data): Initialize per-input timing to 0.
4849 * benchtests/Makefile (timing-type): New binary.
4850 (bench-clean): Also remove bench-timing-type.
4851 (bench): New target for timing-type.
4852 (bench-func): Print output in JSON format.
4853 * benchtests/bench-skeleton.c (main): Print output in JSON
4855 * benchtests/bench-timing-type.c: New file.
4856 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
4857 (TIMING_PRINT_STATS): Remove.
4858 * benchtests/scripts/bench.py (_print_arg_data): Store variant
4861 * benchtests/bench-modf.c: Remove.
4862 * benchtests/modf-inputs: New inputs file.
4864 2014-03-28 Joseph Myers <joseph@codesourcery.com>
4867 * math/s_clog10.c (M_PI_LOG10E): New macro.
4868 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
4869 imaginary parts are 0.
4870 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
4871 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
4872 imaginary parts are 0.
4873 * math/s_clog10l.c (M_PI_LOG10El): New macro.
4874 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
4875 imaginary parts are 0.
4876 * math/libm-test.inc (clog10_test_data): Update expected results
4877 for when real and imaginary parts are 0.
4879 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
4881 * elf/dl-load.c: Finish conversion of __builtin_expect into
4884 2014-03-27 Joseph Myers <joseph@codesourcery.com>
4887 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
4888 1+x for argument with exponent below -67.
4889 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
4891 * math/auto-libm-test-in: Add more tests of exp.
4892 * math/auto-libm-test-out: Regenerated.
4894 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4897 * inet/getnetgrent_r.c (get_nonempty_val): New function.
4898 (nscd_getnetgrent): Use it.
4901 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
4904 2014-03-27 Andi Kleen <ak@linux.intel.com>
4906 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
4907 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4908 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4909 (lll_robust_unlock): Remove out of line section. Use cfi
4911 (LLL_STUB_UNWIND_INFO*): Remove.
4912 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
4913 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4914 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4915 (lll_robust_unlock): Remove out of line section. Use cfi
4917 (LLL_STUB_UNWIND_INFO*): Remove.
4919 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4922 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
4925 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
4927 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
4929 2014-03-26 Joseph Myers <joseph@codesourcery.com>
4932 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
4934 * math/test-fenv-preserve.c: New file.
4935 * math/Makefile (tests): Add test-fenv-preserve.
4937 2014-03-26 Will Newton <will.newton@linaro.org>
4939 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
4941 2014-03-25 Roland McGrath <roland@hack.frob.com>
4943 * scripts/versionlist.awk: Partition the version sets and emit all
4944 GLIBC_* (sorted) before all others (sorted).
4946 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4948 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
4949 GLIBC_2.2.5 version.
4951 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4953 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
4956 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
4959 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4961 2014-03-25 Andreas Schwab <schwab@suse.de>
4963 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
4964 label to be used after in6ailist is initialized.
4966 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4968 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4969 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4971 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4975 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
4977 (fp_formats): Update initializers.
4978 (init_fp_formats): Initialize new field.
4979 (output_for_one_input_case): Allow underflow for results up to
4981 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
4982 * math/auto-libm-test-in: Don't mark some underflows from asin and
4984 * math/auto-libm-test-out: Regenerated.
4985 * sysdeps/i386/fpu/libm-test-ulps: Update.
4986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4988 2014-03-25 Andreas Schwab <schwab@suse.de>
4990 * libio/Makefile (tst-ftell-partial-wide-ENV)
4991 (tst-ftell-active-handler-ENV): Define.
4993 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4995 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
4997 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4999 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
5001 2014-03-24 Joseph Myers <joseph@codesourcery.com>
5003 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
5004 * sysdeps/x86_64/fpu/multiarch/e_exp.c
5005 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5007 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5010 * elf/dl-load.c (open_verify): Add mode parameter.
5011 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
5012 (open_path): Change from boolean 'secure' to complete flag 'mode'
5013 (_dl_map_object): Adjust.
5014 * elf/Makefile (tests): Add tst-dlopen-aout.
5015 * elf/tst-dlopen-aout.c: New test.
5017 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5020 * sysdeps/unix/sysv/linux/s390/bits/stat.h
5021 (struct stat): Rename member pad0 to __glibc_reserved0.
5024 * sysdeps/s390/s390-32/bits/wordsize.h
5025 (__WORDSIZE32_SIZE_ULONG): New define.
5026 * sysdeps/s390/s390-64/bits/wordsize.h
5027 (__WORDSIZE32_SIZE_ULONG): Likewise.
5028 * sysdeps/generic/stdint.h (SIZE_MAX):
5029 Define as UL if __WORDSIZE32_SIZE_ULONG.
5032 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
5033 (__glibc_reserved0): New variable.
5034 (sa_flags): Change type to int.
5036 * posix/Makefile (before-compile): Use += before-compile instead
5039 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5040 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5042 2014-03-20 Andreas Schwab <schwab@suse.de>
5045 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
5046 non-matching result from nscd.
5048 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5050 * scripts/bench.py: Moved to ...
5051 * benchtests/scripts/bench.py: ... here.
5052 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
5054 2014-03-24 Andreas Schwab <schwab@suse.de>
5057 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
5058 alloca_account and account alloca use for struct in6ailist.
5060 2014-03-24 Joseph Myers <joseph@codesourcery.com>
5063 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
5064 rounding mode to recompute results that overflow to infinity or
5066 * math/auto-libm-test-in: Don't mark tests as expected to fail for
5068 * math/auto-libm-test-out: Regenerated.
5069 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
5070 (ccosh_test): Likewise.
5071 (csin_test_data): Use plus_oflow.
5072 (csin_test): Use ALL_RM_TEST.
5073 (csinh_test_data): Use plus_oflow.
5074 (csinh_test): Use ALL_RM_TEST.
5075 * sysdeps/i386/fpu/libm-test-ulps: Update.
5076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5078 2014-03-21 Joseph Myers <joseph@codesourcery.com>
5080 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
5081 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
5082 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
5085 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
5087 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
5088 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
5089 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5090 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
5092 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
5093 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
5095 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
5096 * sysdeps/i386/fpu/libm-test-ulps: Update.
5097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5099 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5101 * scripts/bench.pl: Remove file.
5102 * scripts/bench.py: New benchmark script.
5103 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
5104 * benchtests/README: Mention python dependency.
5105 * scripts/pylintrc: New file.
5106 * scripts/pylint: New file.
5108 * bits/mathdef.h: Use #ifdef instead of #if.
5109 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
5110 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5111 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
5112 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5113 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
5114 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5116 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5117 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5119 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
5120 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
5121 and strpbrk-ppc64 objects.
5122 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5123 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
5124 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
5125 multiarch strpbrk for POWER7.
5126 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
5127 multiarch strpbrk for PPC64.
5128 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
5130 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
5133 2014-03-20 Joseph Myers <joseph@codesourcery.com>
5135 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
5136 (atan_test): Likewise.
5137 (atanh_test_data): Use NO_TEST_INLINE for two tests.
5138 (atanh_test): Use ALL_RM_TEST.
5139 (atan2_test_data): Likewise.
5140 (cabs_test): Likewise.
5141 (cacosh_test): Likewise.
5142 (carg_test): Likewise.
5143 (casin_test): Likewise.
5144 (casinh_test): Likewise.
5145 (cbrt_test): Likewise.
5146 (csqrt_test): Likewise.
5147 (erf_test): Likewise.
5148 (erfc_test): Likewise.
5149 (pow10_test): Likewise.
5150 (exp2_test): Likewise.
5151 (hypot_test): Likewise.
5152 (j0_test): Likewise.
5153 (j1_test): Likewise.
5154 (lgamma_test): Likewise.
5155 (gamma_test): Likewise.
5156 (sincos_test): Likewise.
5157 (tanh_test): Likewise.
5158 (y0_test): Likewise.
5159 (y1_test): Likewise.
5160 * sysdeps/i386/fpu/libm-test-ulps: Update.
5161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5163 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5165 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
5166 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
5167 and strcspn-ppc64 objects.
5168 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5169 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
5170 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
5171 multiarch strcspn for POWER7.
5172 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
5173 multiarch strcspn for PPC64.
5174 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
5176 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
5179 2014-03-20 Joseph Myers <joseph@codesourcery.com>
5181 * math/gen-libm-test.pl (generate_testfile): Expect only function
5182 name as argument to AUTO_TESTS_* and pass results for all rounding
5183 modes to parse_args.
5184 (parse_auto_input): Separate inputs of automatic tests from
5185 outputs before storing in %auto_tests.
5186 * math/libm-test.inc (acos_test_data): Update call to
5188 (acos_test): Use ALL_RM_TEST.
5189 (acos_tonearest_test_data): Remove.
5190 (acos_test_tonearest): Likewise.
5191 (acos_towardzero_test_data): Likewise.
5192 (acos_test_towardzero): Likewise.
5193 (acos_downward_test_data): Likewise.
5194 (acos_test_downward): Likewise.
5195 (acos_upward_test_data): Likewise.
5196 (acos_test_upward): Likewise.
5197 (acosh_test_data): Update call to AUTO_TESTS_f_f.
5198 (asin_test_data): Likewise.
5199 (asin_test): Use ALL_RM_TEST.
5200 (asin_tonearest_test_data): Remove.
5201 (asin_test_tonearest): Likewise.
5202 (asin_towardzero_test_data): Likewise.
5203 (asin_test_towardzero): Likewise.
5204 (asin_downward_test_data): Likewise.
5205 (asin_test_downward): Likewise.
5206 (asin_upward_test_data): Likewise.
5207 (asin_test_upward): Likewise.
5208 (asinh_test_data): Update call to AUTO_TESTS_f_f.
5209 (atan_test_data): Likewise.
5210 (atanh_test_data): Likewise.
5211 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
5212 (cabs_test_data): Update call to AUTO_TESTS_c_f.
5213 (carg_test_data): Likewise.
5214 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
5215 (ccos_test_data): Update call to AUTO_TESTS_c_c.
5216 (ccosh_test_data): Likewise.
5217 (cexp_test_data): Likewise.
5218 (clog_test_data): Likewise.
5219 (clog10_test_data): Likewise.
5220 (cos_test_data): Update call to AUTO_TESTS_f_f.
5221 (cos_test): Use ALL_RM_TEST.
5222 (cos_tonearest_test_data): Remove.
5223 (cos_test_tonearest): Likewise.
5224 (cos_towardzero_test_data): Likewise.
5225 (cos_test_towardzero): Likewise.
5226 (cos_downward_test_data): Likewise.
5227 (cos_test_downward): Likewise.
5228 (cos_upward_test_data): Likewise.
5229 (cos_test_upward): Likewise.
5230 (cosh_test_data): Update call to AUTO_TESTS_f_f.
5231 (cosh_test): Use ALL_RM_TEST.
5232 (cosh_tonearest_test_data): Remove.
5233 (cosh_test_tonearest): Likewise.
5234 (cosh_towardzero_test_data): Likewise.
5235 (cosh_test_towardzero): Likewise.
5236 (cosh_downward_test_data): Likewise.
5237 (cosh_test_downward): Likewise.
5238 (cosh_upward_test_data): Likewise.
5239 (cosh_test_upward): Likewise.
5240 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
5241 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
5242 (ctan_test_data): Likewise.
5243 (ctan_test): Use ALL_RM_TEST.
5244 (ctan_tonearest_test_data): Remove.
5245 (ctan_test_tonearest): Likewise.
5246 (ctan_towardzero_test_data): Likewise.
5247 (ctan_test_towardzero): Likewise.
5248 (ctan_downward_test_data): Likewise.
5249 (ctan_test_downward): Likewise.
5250 (ctan_upward_test_data): Likewise.
5251 (ctan_test_upward): Likewise.
5252 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
5253 (ctanh_test): Use ALL_RM_TEST.
5254 (ctanh_tonearest_test_data): Remove.
5255 (ctanh_test_tonearest): Likewise.
5256 (ctanh_towardzero_test_data): Likewise.
5257 (ctanh_test_towardzero): Likewise.
5258 (ctanh_downward_test_data): Likewise.
5259 (ctanh_test_downward): Likewise.
5260 (ctanh_upward_test_data): Likewise.
5261 (ctanh_test_upward): Likewise.
5262 (erf_test_data): Update call to AUTO_TESTS_f_f.
5263 (erfc_test_data): Likewise.
5264 (exp_test_data): Likewise.
5265 (exp_test): Use ALL_RM_TEST.
5266 (exp_tonearest_test_data): Remove.
5267 (exp_test_tonearest): Likewise.
5268 (exp_towardzero_test_data): Likewise.
5269 (exp_test_towardzero): Likewise.
5270 (exp_downward_test_data): Likewise.
5271 (exp_test_downward): Likewise.
5272 (exp_upward_test_data): Likewise.
5273 (exp_test_upward): Likewise.
5274 (exp10_test_data): Update call to AUTO_TESTS_f_f.
5275 (exp10_test): Use ALL_RM_TEST.
5276 (exp10_tonearest_test_data): Remove.
5277 (exp10_test_tonearest): Likewise.
5278 (exp10_towardzero_test_data): Likewise.
5279 (exp10_test_towardzero): Likewise.
5280 (exp10_downward_test_data): Likewise.
5281 (exp10_test_downward): Likewise.
5282 (exp10_upward_test_data): Likewise.
5283 (exp10_test_upward): Likewise.
5284 (exp2_test_data): Update call to AUTO_TESTS_f_f.
5285 (expm1_test_data): Likewise.
5286 (expm1_test): Use ALL_RM_TEST.
5287 (expm1_tonearest_test_data): Remove.
5288 (expm1_test_tonearest): Likewise.
5289 (expm1_towardzero_test_data): Likewise.
5290 (expm1_test_towardzero): Likewise.
5291 (expm1_downward_test_data): Likewise.
5292 (expm1_test_downward): Likewise.
5293 (expm1_upward_test_data): Likewise.
5294 (expm1_test_upward): Likewise.
5295 (fma_test_data): Update call to AUTO_TESTS_fff_f.
5296 (fma_test): Use ALL_RM_TEST.
5297 (fma_towardzero_test_data): Remove.
5298 (fma_test_towardzero): Likewise.
5299 (fma_downward_test_data): Likewise.
5300 (fma_test_downward): Likewise.
5301 (fma_upward_test_data): Likewise.
5302 (fma_test_upward): Likewise.
5303 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
5304 (j0_test_data): Update call to AUTO_TESTS_f_f.
5305 (j1_test_data): Likewise.
5306 (jn_test_data): Update call to AUTO_TESTS_if_f.
5307 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
5308 (log_test_data): Update call to AUTO_TESTS_f_f.
5309 (log10_test_data): Likewise.
5310 (log1p_test_data): Likewise.
5311 (log2_test_data): Likewise.
5312 (pow_test_data): Update call to AUTO_TESTS_ff_f.
5313 (pow_tonearest_test_data): Likewise.
5314 (sin_test_data): Update call to AUTO_TESTS_f_f.
5315 (sin_test): Use ALL_RM_TEST.
5316 (sin_tonearest_test_data): Remove.
5317 (sin_test_tonearest): Likewise.
5318 (sin_towardzero_test_data): Likewise.
5319 (sin_test_towardzero): Likewise.
5320 (sin_downward_test_data): Likewise.
5321 (sin_test_downward): Likewise.
5322 (sin_upward_test_data): Likewise.
5323 (sin_test_upward): Likewise.
5324 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
5325 (sinh_test_data): Update call to AUTO_TESTS_f_f.
5326 (sinh_test): Use ALL_RM_TEST.
5327 (sinh_tonearest_test_data): Remove.
5328 (sinh_test_tonearest): Likewise.
5329 (sinh_towardzero_test_data): Likewise.
5330 (sinh_test_towardzero): Likewise.
5331 (sinh_downward_test_data): Likewise.
5332 (sinh_test_downward): Likewise.
5333 (sinh_upward_test_data): Likewise.
5334 (sinh_test_upward): Likewise.
5335 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
5336 (sqrt_test): Use ALL_RM_TEST.
5337 (sqrt_tonearest_test_data): Remove.
5338 (sqrt_test_tonearest): Likewise.
5339 (sqrt_towardzero_test_data): Likewise.
5340 (sqrt_test_towardzero): Likewise.
5341 (sqrt_downward_test_data): Likewise.
5342 (sqrt_test_downward): Likewise.
5343 (sqrt_upward_test_data): Likewise.
5344 (sqrt_test_upward): Likewise.
5345 (tan_test_data): Update call to AUTO_TESTS_f_f.
5346 (tan_test): Use ALL_RM_TEST.
5347 (tan_tonearest_test_data): Remove.
5348 (tan_test_tonearest): Likewise.
5349 (tan_towardzero_test_data): Likewise.
5350 (tan_test_towardzero): Likewise.
5351 (tan_downward_test_data): Likewise.
5352 (tan_test_downward): Likewise.
5353 (tan_upward_test_data): Likewise.
5354 (tan_test_upward): Likewise.
5355 (tanh_test_data): Update call to AUTO_TESTS_f_f.
5356 (tgamma_test_data): Likewise.
5357 (y0_test_data): Likewise.
5358 (y1_test_data): Likewise.
5359 (yn_test_data): Update call to AUTO_TESTS_if_f.
5360 (main): Do not call removed functions.
5362 2014-03-19 Joseph Myers <joseph@codesourcery.com>
5364 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
5365 (ldexp_test_data): Remove.
5366 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
5368 (scalb_test): Use ALL_RM_TEST.
5370 2014-03-19 Andreas Schwab <schwab@suse.de>
5372 * nscd/nscd.service: Also invalidate netgroup cache on reload.
5374 2014-03-19 Joseph Myers <joseph@codesourcery.com>
5377 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5378 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
5379 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
5380 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5381 (__ASSUME_PREADV): Undefine.
5382 (__ASSUME_PWRITEV): Likewise.
5384 2014-03-18 Roland McGrath <roland@hack.frob.com>
5386 * bits/mman-linux.h: Add comment about non-Linux use.
5387 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
5388 bits/mman-linux.h resting place.
5390 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
5391 * bits/mman-linux.h: ... here.
5393 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5395 * conform/conformtest.pl: Add standard definition when calling C
5396 preprocessor on data files.
5397 (checknamespace): Remove unused variable.
5399 2014-03-18 Joseph Myers <joseph@codesourcery.com>
5401 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
5402 minus_oflow, plus_uflow and minus_uflow in expected results.
5403 * math/libm-test.inc (scalbn_test_data): Add more tests of
5404 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
5406 (scalbn_test): Use ALL_RM_TEST.
5407 (scalbln_test_data): Add more tests of negative arguments. Use
5408 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
5409 (scalbln_test): Use ALL_RM_TEST.
5411 2014-03-18 Roland McGrath <roland@hack.frob.com>
5413 * scripts/abilist.awk: Ignore symbols marked with .hidden.
5415 2014-03-18 Will Newton <will.newton@linaro.org>
5417 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
5420 2014-03-18 Joseph Myers <joseph@codesourcery.com>
5422 * Makerules [!subdir] (check-abi): Exit with error status if a
5425 2014-03-17 Joseph Myers <joseph@codesourcery.com>
5427 * math/libm-test.inc (nearbyint_test_data): Include all tests used
5428 for rint. Include results for all rounding modes.
5429 (nearbyint_test): Use ALL_RM_TEST.
5430 (rint_test_data): Include all tests used for nearbyint.
5432 2014-03-17 Will Newton <will.newton@linaro.org>
5434 * nptl/sysdeps/pthread/pthread.h: Revert previous
5437 * sysdeps/generic/ldsodefs.h: Revert previous
5440 * libio/genops.c: Revert previous change.
5441 * libio/libioP.h: Likewise.
5442 * stdio-common/vfprintf.c: Likewise.
5444 * sysdeps/generic/math_private.h: Revert previous
5447 * sysdeps/generic/math_private.h: Check whether
5448 HAVE_RM_CTX is defined with #ifdef rather
5451 * argp/argp-fmtstream.h: Check whether
5452 __STRICT_ANSI__ is defined with #ifdef rather
5454 * argp/argp.h: Likewise.
5456 * libio/genops.c: Check whether
5457 _IO_JUMPS_OFFSET is defined with #ifdef rather
5459 * libio/libioP.h: Likewise.
5460 * stdio-common/vfprintf.c: Likewise.
5462 * sysdeps/generic/ldsodefs.h: Check whether
5463 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
5466 * nptl/sysdeps/pthread/pthread.h: Check
5467 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
5470 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5472 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
5474 * libio/tst-ftell-active-handler.c (do_append_test): Add a
5478 * libio/fileops.c (_IO_file_open): Seek to end of file but
5479 don't cache the offset.
5480 (get_file_offset): Remove function.
5481 (do_ftell): Use cached offset when available.
5482 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
5483 don't cache the offset.
5484 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
5486 (do_one_test): Call it.
5487 (do_ftell_test): Fix up expected old offset for a+ mode.
5488 * libio/wfileops.c (do_ftell_wide): Used cached offset when
5491 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
5492 up test status with function return status.
5493 (do_write_test): Likewise.
5494 (do_append_test): Likewise.
5496 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
5497 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
5500 2014-03-17 Joseph Myers <joseph@codesourcery.com>
5502 * math/gen-libm-test.pl (parse_args): Handle results specified for
5503 each rounding mode separately.
5504 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
5505 tests and results from lrint_tonearest_test_data,
5506 lrint_towardzero_test_data, lrint_downward_test_data and
5507 lrint_upward_test_data.
5508 (lrint_test): Use ALL_RM_TEST.
5509 (lrint_tonearest_test_data): Remove.
5510 (lrint_test_tonearest): Likewise.
5511 (lrint_towardzero_test_data): Likewise.
5512 (lrint_test_towardzero): Likewise.
5513 (lrint_downward_test_data): Likewise.
5514 (lrint_test_downward): Likewise.
5515 (lrint_upward_test_data): Likewise.
5516 (lrint_test_upward): Likewise.
5517 (llrint_test_data): Merge in per-rounding-mode tests and results
5518 from llrint_tonearest_test_data, llrint_towardzero_test_data,
5519 llrint_downward_test_data and llrint_upward_test_data.
5520 (llrint_test): Use ALL_RM_TEST.
5521 (llrint_tonearest_test_data): Remove.
5522 (llrint_test_tonearest): Likewise.
5523 (llrint_towardzero_test_data): Likewise.
5524 (llrint_test_towardzero): Likewise.
5525 (llrint_downward_test_data): Likewise.
5526 (llrint_test_downward): Likewise.
5527 (llrint_upward_test_data): Likewise.
5528 (llrint_test_upward): Likewise.
5529 (rint_test_data): Merge in per-rounding-mode tests and results
5530 from rint_tonearest_test_data, rint_towardzero_test_data,
5531 rint_downward_test_data and rint_upward_test_data. Add
5532 per-rounding-mode results for tests not in those arrays.
5533 (rint_test): Use ALL_RM_TEST.
5534 (rint_tonearest_test_data): Remove.
5535 (rint_test_tonearest): Likewise.
5536 (rint_towardzero_test_data): Likewise.
5537 (rint_test_towardzero): Likewise.
5538 (rint_downward_test_data): Likewise.
5539 (rint_test_downward): Likewise.
5540 (rint_upward_test_data): Likewise.
5541 (rint_test_upward): Likewise.
5542 (main): Don't call removed functions.
5544 2014-03-14 Roland McGrath <roland@hack.frob.com>
5546 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
5547 "Compiled on ..." crapola. It is anti-useful.
5549 2014-03-14 Joseph Myers <joseph@codesourcery.com>
5551 * scripts/evaluate-test.sh: Handle fourth argument to determine
5552 whether test run should stop on failure.
5553 * Makeconfig (stop-on-test-failure): New variable.
5554 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
5555 $(stop-on-test-failure).
5556 * Makefile (tests): Give a summary of results from testing and
5557 exit with failure status if they include an ERROR or FAIL.
5559 * manual/install.texi (Configuring and compiling): Mention
5560 stop-on-test-failure=y.
5561 * INSTALL: Regenerated.
5563 2014-03-14 Roland McGrath <roland@hack.frob.com>
5565 * scripts/versionlist.awk: New file.
5566 * Makerules [$(build-shared) = yes]
5567 (postclean-generated): Add Versions.def, not Versions.def.v and
5569 ($(common-objpfx)Versions.def.v.i): Target removed.
5570 ($(common-objpfx)Versions.def): New target.
5571 ($(common-objpfx)Versions.all): Depend on that rather that
5572 $(common-objpfx)Versions.def.v.
5573 * Versions.def: File removed.
5575 * Makeconfig (+gccwarn): Add -Wundef.
5576 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
5577 a dl-sysdep.h breaking its contract.
5578 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
5579 * include/stackinfo.h: New file.
5580 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
5581 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
5582 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
5583 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
5584 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
5585 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
5586 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5587 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5588 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5589 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5590 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5591 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
5592 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5593 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5594 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5596 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5599 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
5601 * math/libm-test.inc (round_test_data): Add more tests.
5604 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
5606 * math/libm-test.inc (nearbyint_test_data): Add more tests.
5609 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
5611 * math/libm-test.inc (ceil_test_data): Add more tests.
5613 * math/libm-test.inc (trunc_test_data): Add more tests related to
5616 2014-03-14 Roland McGrath <roland@hack.frob.com>
5618 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
5619 with #if rather than #ifdef.
5620 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
5622 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
5624 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
5625 first. Disable AVX-512 GCC support if assembler doesn't support
5627 * sysdeps/x86_64/configure: Regenerated.
5629 2014-03-13 Carlos O'Donell <carlos@redhat.com>
5631 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
5632 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
5633 (__old_pthread_attr_setstack): Likewise.
5634 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
5635 [!_STACK_GROWS_DOWN]: Likewise.
5637 2014-03-13 Mike Frysinger <vapier@gentoo.org>
5639 * config.make.in (have-bash2): Delete.
5640 * configure.ac (libc_cv_have_bash2): Delete.
5641 * configure: Regenerate.
5642 * elf/Makefile (common-ldd-rewrite): Rename to ...
5643 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
5644 (sh-ldd-rewrite): Delete.
5645 (bash-ldd-rewrite): Delete.
5646 (have-bash2): Delete checks.
5647 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
5650 * config.make.in (have-ksh): Delete.
5652 * configure.ac (libc_cv_have_ksh): Delete.
5653 * configure: Regenerate.
5655 * elf/Makefile: Delete $(have-ksh) check.
5656 ($(objpfx)sotruss): Change KSH to BASH.
5657 * elf/sotruss.ksh: Rename to ...
5658 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
5659 function style to match POSIX. Drop ksh vim mode setting.
5661 * manual/time.texi (Specifying the Time Zone with TZ): Change
5662 Tuesday to Thursday.
5664 * debug/tst-longjmp_chk2.c: Update header comment.
5665 (stackoverflow_handler): Add comment. Call assert on pass value.
5667 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
5669 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
5670 (HAVE_AVX512_ASM_SUPPORT): Likewise.
5671 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
5672 (La_x86_64_vector): Add zmm.
5673 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
5674 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
5675 ($(objpfx)tst-audit10): New target.
5676 ($(objpfx)tst-audit10.out): Likewise.
5677 (tst-audit10-ENV): New.
5678 (AVX512-CFLAGS): Likewise.
5679 (CFLAGS-tst-audit10.c): Likewise.
5680 (CFLAGS-tst-auditmod10a.c): Likewise.
5681 (CFLAGS-tst-auditmod10b.c): Likewise.
5682 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
5683 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
5684 * sysdeps/x86_64/configure: Regenerated.
5685 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
5686 AVX-512 zmm register support.
5687 (_dl_x86_64_save_sse): Likewise.
5688 (_dl_x86_64_restore_sse): Likewise.
5689 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
5690 size vector registers.
5691 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
5692 (ZMM_SIZE): Likewise.
5693 * sysdeps/x86_64/tst-audit10.c: New file.
5694 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
5695 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
5697 2014-03-13 Roland McGrath <roland@hack.frob.com>
5699 * configure.ac (HAVE_EHDR_START): New check.
5700 * configure: Regenerated.
5701 * config.h.in (HAVE_EHDR_START): New #undef.
5702 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
5703 assuming the lowest-addressed segment maps the start of the file.
5705 2014-03-13 Joseph Myers <joseph@codesourcery.com>
5707 * INSTALL: Regenerated.
5709 2014-03-13 Will Newton <will.newton@linaro.org>
5711 * manual/setjmp.texi (System V contexts): Improve
5712 clarity and grammar of documentation.
5714 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
5717 * elf/Makefile (tests): Add tst-pie2.
5718 (tests-pie): Add tst-pie2.
5719 * elf/tst-pie2.c: New file.
5720 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
5722 * elf/rtld.c (map_doit): Load executable as lt_executable.
5723 (dl_main): Likewise.
5725 2014-03-12 Joseph Myers <joseph@codesourcery.com>
5728 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5729 (__ASSUME_PSELECT): Undefine.
5731 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5734 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
5735 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
5737 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
5738 selector for static builds.
5740 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5743 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
5746 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5748 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
5749 IFUNC selector for static builds.
5751 2014-03-11 Joseph Myers <joseph@codesourcery.com>
5753 * sysdeps/mips/math_private.h [__mips_hard_float]
5754 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
5755 libc_feresetround_mips_ctx.
5756 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
5757 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
5758 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
5761 * math/s_nextafter.c (__nextafter): Do not return value from
5762 overflowing computation.
5763 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5764 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
5765 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5767 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5769 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5770 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
5772 2014-03-11 Roland McGrath <roland@hack.frob.com>
5774 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
5775 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
5776 Move sfi_sp use from the load-multiple (that no longer sets sp) to
5777 the new mov targetting sp.
5779 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5782 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
5783 Define it for static builds as well.
5784 (NO_BZERO_IMPL): Likewise.
5786 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5788 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
5789 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
5790 multiarch strspn for PPC64.
5791 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
5792 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
5793 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5794 (__libc_ifunc_impl_list): Likewise.
5795 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
5796 multiarch optimizations
5797 * string/strspn.c (strspn): Using macro to redefine symbol name.
5799 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5800 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5802 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
5803 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
5804 multiarch strncat for PPC64.
5805 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
5806 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
5807 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5808 (__libc_ifunc_impl_list): Likewise.
5809 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
5810 multiarch optimizations
5812 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5815 * nscd/nscd.service: Make service type forking.
5817 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5819 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
5820 sign in non default rounding modes.
5821 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5823 2014-03-08 Joseph Myers <joseph@codesourcery.com>
5825 * math/libm-test.inc (ALL_RM_TEST): New macro.
5826 (ceil_test): Use ALL_RM_TEST.
5827 (cimag_test): Likewise.
5828 (conj_test): Likewise.
5829 (copysign_test): Likewise.
5830 (cproj_test): Likewise.
5831 (creal_test): Likewise.
5832 (fabs_test): Likewise.
5833 (floor_test): Likewise.
5834 (fmax_test): Likewise.
5835 (fmin_test): Likewise.
5836 (fmod_test): Likewise.
5837 (fpclassify_test): Likewise.
5838 (frexp_test): Likewise.
5839 (ilogb_test): Likewise.
5840 (isfinite_test): Likewise.
5841 (finite_test): Likewise.
5842 (isgreater_test): Likewise.
5843 (isgreaterequal_test): Likewise.
5844 (isinf_test): Likewise.
5845 (isless_test): Likewise.
5846 (islessequal_test): Likewise.
5847 (islessgreater_test): Likewise.
5848 (isnan_test): Likewise.
5849 (isnormal_test): Likewise.
5850 (issignaling_test): Likewise.
5851 (isunordered_test): Likewise.
5852 (logb_test): Likewise.
5853 (logb_downward_test_data): Remove.
5854 (logb_test_downward): Likewise.
5855 (lround_test): Use ALL_RM_TEST.
5856 (llround_test): Likewise.
5857 (modf_test): Likewise.
5858 (nexttoward_test): Likewise.
5859 (remainder_test): Likewise.
5860 (drem_test): Likewise.
5861 (remainder_tonearest_test_data): Likewise.
5862 (remainder_test_tonearest): Likewise.
5863 (drem_test_tonearest): Likewise.
5864 (remainder_towardzero_test_data): Likewise.
5865 (remainder_test_towardzero): Likewise.
5866 (drem_test_towardzero): Likewise.
5867 (remainder_downward_test_data): Likewise.
5868 (remainder_test_downward): Likewise.
5869 (drem_test_downward): Likewise.
5870 (remainder_upward_test_data): Likewise.
5871 (remainder_test_upward): Likewise.
5872 (drem_test_upward): Likewise.
5873 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
5874 (round_test): Use ALL_RM_TEST.
5875 (signbit_test): Likewise.
5876 (trunc_test): Likewise.
5877 (significand_test): Likewise.
5878 (main): Don't call removed functions.
5880 2014-03-07 Joseph Myers <joseph@codesourcery.com>
5883 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
5885 (ILL_ILLOPN): Likewise.
5886 (ILL_ILLADR): Likewise.
5887 (ILL_ILLTRP): Likewise.
5888 (ILL_PRVOPC): Likewise.
5889 (ILL_PRVREG): Likewise.
5890 (ILL_COPROC): Likewise.
5891 (ILL_BADSTK): Likewise.
5892 (FPE_INTDIV): Likewise.
5893 (FPE_INTOVF): Likewise.
5894 (FPE_FLTDIV): Likewise.
5895 (FPE_FLTOVF): Likewise.
5896 (FPE_FLTUND): Likewise.
5897 (FPE_FLTRES): Likewise.
5898 (FPE_FLTINV): Likewise.
5899 (FPE_FLTSUB): Likewise.
5900 (SEGV_MAPERR): Likewise.
5901 (SEGV_ACCERR): Likewise.
5902 (BUS_ADRALN): Likewise.
5903 (BUS_ADRERR): Likewise.
5904 (BUS_OBJERR): Likewise.
5905 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5906 (TRAP_TRACE): Likewise.
5907 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5909 (CLD_KILLED): Likewise.
5910 (CLD_DUMPED): Likewise.
5911 (CLD_TRAPPED): Likewise.
5912 (CLD_STOPPED): Likewise.
5913 (CLD_CONTINUED): Likewise.
5914 (POLL_IN): Likewise.
5915 (POLL_OUT): Likewise.
5916 (POLL_MSG): Likewise.
5917 (POLL_ERR): Likewise.
5918 (POLL_PRI): Likewise.
5919 (POLL_HUP): Likewise.
5920 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
5922 (ILL_ILLOPN): Likewise.
5923 (ILL_ILLADR): Likewise.
5924 (ILL_ILLTRP): Likewise.
5925 (ILL_PRVOPC): Likewise.
5926 (ILL_PRVREG): Likewise.
5927 (ILL_COPROC): Likewise.
5928 (ILL_BADSTK): Likewise.
5929 (FPE_INTDIV): Likewise.
5930 (FPE_INTOVF): Likewise.
5931 (FPE_FLTDIV): Likewise.
5932 (FPE_FLTOVF): Likewise.
5933 (FPE_FLTUND): Likewise.
5934 (FPE_FLTRES): Likewise.
5935 (FPE_FLTINV): Likewise.
5936 (FPE_FLTSUB): Likewise.
5937 (SEGV_MAPERR): Likewise.
5938 (SEGV_ACCERR): Likewise.
5939 (BUS_ADRALN): Likewise.
5940 (BUS_ADRERR): Likewise.
5941 (BUS_OBJERR): Likewise.
5942 (BUS_MCEERR_AR): Likewise.
5943 (BUS_MCEERR_AO): Likewise.
5944 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5945 (TRAP_TRACE): Likewise.
5946 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5948 (CLD_KILLED): Likewise.
5949 (CLD_DUMPED): Likewise.
5950 (CLD_TRAPPED): Likewise.
5951 (CLD_STOPPED): Likewise.
5952 (CLD_CONTINUED): Likewise.
5953 (POLL_IN): Likewise.
5954 (POLL_OUT): Likewise.
5955 (POLL_MSG): Likewise.
5956 (POLL_ERR): Likewise.
5957 (POLL_PRI): Likewise.
5958 (POLL_HUP): Likewise.
5959 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
5960 (ILL_ILLOPN): Likewise.
5961 (ILL_ILLADR): Likewise.
5962 (ILL_ILLTRP): Likewise.
5963 (ILL_PRVOPC): Likewise.
5964 (ILL_PRVREG): Likewise.
5965 (ILL_COPROC): Likewise.
5966 (ILL_BADSTK): Likewise.
5967 (FPE_INTDIV): Likewise.
5968 (FPE_INTOVF): Likewise.
5969 (FPE_FLTDIV): Likewise.
5970 (FPE_FLTOVF): Likewise.
5971 (FPE_FLTUND): Likewise.
5972 (FPE_FLTRES): Likewise.
5973 (FPE_FLTINV): Likewise.
5974 (FPE_FLTSUB): Likewise.
5975 (SEGV_MAPERR): Likewise.
5976 (SEGV_ACCERR): Likewise.
5977 (BUS_ADRALN): Likewise.
5978 (BUS_ADRERR): Likewise.
5979 (BUS_OBJERR): Likewise.
5980 (BUS_MCEERR_AR): Likewise.
5981 (BUS_MCEERR_AO): Likewise.
5982 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5983 (TRAP_TRACE): Likewise.
5984 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5986 (CLD_KILLED): Likewise.
5987 (CLD_DUMPED): Likewise.
5988 (CLD_TRAPPED): Likewise.
5989 (CLD_STOPPED): Likewise.
5990 (CLD_CONTINUED): Likewise.
5991 (POLL_IN): Likewise.
5992 (POLL_OUT): Likewise.
5993 (POLL_MSG): Likewise.
5994 (POLL_ERR): Likewise.
5995 (POLL_PRI): Likewise.
5996 (POLL_HUP): Likewise.
5997 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
5999 (ILL_ILLOPN): Likewise.
6000 (ILL_ILLADR): Likewise.
6001 (ILL_ILLTRP): Likewise.
6002 (ILL_PRVOPC): Likewise.
6003 (ILL_PRVREG): Likewise.
6004 (ILL_COPROC): Likewise.
6005 (ILL_BADSTK): Likewise.
6006 (ILL_BADIADDR): Likewise.
6007 (ILL_BREAK): Likewise.
6008 (FPE_INTDIV): Likewise.
6009 (FPE_INTOVF): Likewise.
6010 (FPE_FLTDIV): Likewise.
6011 (FPE_FLTOVF): Likewise.
6012 (FPE_FLTUND): Likewise.
6013 (FPE_FLTRES): Likewise.
6014 (FPE_FLTINV): Likewise.
6015 (FPE_FLTSUB): Likewise.
6016 (FPE_DECOVF): Likewise.
6017 (FPE_DECDIV): Likewise.
6018 (FPE_DECERR): Likewise.
6019 (FPE_INVASC): Likewise.
6020 (FPE_INVDEC): Likewise.
6021 (SEGV_MAPERR): Likewise.
6022 (SEGV_ACCERR): Likewise.
6023 (SEGV_PSTKOVF): Likewise.
6024 (BUS_ADRALN): Likewise.
6025 (BUS_ADRERR): Likewise.
6026 (BUS_OBJERR): Likewise.
6027 (BUS_MCEERR_AR): Likewise.
6028 (BUS_MCEERR_AO): Likewise.
6029 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6030 (TRAP_TRACE): Likewise.
6031 (TRAP_BRANCH): Likewise.
6032 (TRAP_HWBKPT): Likewise.
6033 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6035 (CLD_KILLED): Likewise.
6036 (CLD_DUMPED): Likewise.
6037 (CLD_TRAPPED): Likewise.
6038 (CLD_STOPPED): Likewise.
6039 (CLD_CONTINUED): Likewise.
6040 (POLL_IN): Likewise.
6041 (POLL_OUT): Likewise.
6042 (POLL_MSG): Likewise.
6043 (POLL_ERR): Likewise.
6044 (POLL_PRI): Likewise.
6045 (POLL_HUP): Likewise.
6046 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
6047 (ILL_ILLOPN): Likewise.
6048 (ILL_ILLADR): Likewise.
6049 (ILL_ILLTRP): Likewise.
6050 (ILL_PRVOPC): Likewise.
6051 (ILL_PRVREG): Likewise.
6052 (ILL_COPROC): Likewise.
6053 (ILL_BADSTK): Likewise.
6054 (FPE_INTDIV): Likewise.
6055 (FPE_INTOVF): Likewise.
6056 (FPE_FLTDIV): Likewise.
6057 (FPE_FLTOVF): Likewise.
6058 (FPE_FLTUND): Likewise.
6059 (FPE_FLTRES): Likewise.
6060 (FPE_FLTINV): Likewise.
6061 (FPE_FLTSUB): Likewise.
6062 (SEGV_MAPERR): Likewise.
6063 (SEGV_ACCERR): Likewise.
6064 (BUS_ADRALN): Likewise.
6065 (BUS_ADRERR): Likewise.
6066 (BUS_OBJERR): Likewise.
6067 (BUS_MCEERR_AR): Likewise.
6068 (BUS_MCEERR_AO): Likewise.
6069 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6070 (TRAP_TRACE): Likewise.
6071 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6073 (CLD_KILLED): Likewise.
6074 (CLD_DUMPED): Likewise.
6075 (CLD_TRAPPED): Likewise.
6076 (CLD_STOPPED): Likewise.
6077 (CLD_CONTINUED): Likewise.
6078 (POLL_IN): Likewise.
6079 (POLL_OUT): Likewise.
6080 (POLL_MSG): Likewise.
6081 (POLL_ERR): Likewise.
6082 (POLL_PRI): Likewise.
6083 (POLL_HUP): Likewise.
6084 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
6085 (ILL_ILLOPN): Likewise.
6086 (ILL_ILLADR): Likewise.
6087 (ILL_ILLTRP): Likewise.
6088 (ILL_PRVOPC): Likewise.
6089 (ILL_PRVREG): Likewise.
6090 (ILL_COPROC): Likewise.
6091 (ILL_BADSTK): Likewise.
6092 (FPE_INTDIV): Likewise.
6093 (FPE_INTOVF): Likewise.
6094 (FPE_FLTDIV): Likewise.
6095 (FPE_FLTOVF): Likewise.
6096 (FPE_FLTUND): Likewise.
6097 (FPE_FLTRES): Likewise.
6098 (FPE_FLTINV): Likewise.
6099 (FPE_FLTSUB): Likewise.
6100 (SEGV_MAPERR): Likewise.
6101 (SEGV_ACCERR): Likewise.
6102 (BUS_ADRALN): Likewise.
6103 (BUS_ADRERR): Likewise.
6104 (BUS_OBJERR): Likewise.
6105 (BUS_MCEERR_AR): Likewise.
6106 (BUS_MCEERR_AO): Likewise.
6107 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6108 (TRAP_TRACE): Likewise.
6109 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6111 (CLD_KILLED): Likewise.
6112 (CLD_DUMPED): Likewise.
6113 (CLD_TRAPPED): Likewise.
6114 (CLD_STOPPED): Likewise.
6115 (CLD_CONTINUED): Likewise.
6116 (POLL_IN): Likewise.
6117 (POLL_OUT): Likewise.
6118 (POLL_MSG): Likewise.
6119 (POLL_ERR): Likewise.
6120 (POLL_PRI): Likewise.
6121 (POLL_HUP): Likewise.
6122 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
6123 (ILL_ILLOPN): Likewise.
6124 (ILL_ILLADR): Likewise.
6125 (ILL_ILLTRP): Likewise.
6126 (ILL_PRVOPC): Likewise.
6127 (ILL_PRVREG): Likewise.
6128 (ILL_COPROC): Likewise.
6129 (ILL_BADSTK): Likewise.
6130 (FPE_INTDIV): Likewise.
6131 (FPE_INTOVF): Likewise.
6132 (FPE_FLTDIV): Likewise.
6133 (FPE_FLTOVF): Likewise.
6134 (FPE_FLTUND): Likewise.
6135 (FPE_FLTRES): Likewise.
6136 (FPE_FLTINV): Likewise.
6137 (FPE_FLTSUB): Likewise.
6138 (SEGV_MAPERR): Likewise.
6139 (SEGV_ACCERR): Likewise.
6140 (BUS_ADRALN): Likewise.
6141 (BUS_ADRERR): Likewise.
6142 (BUS_OBJERR): Likewise.
6143 (BUS_MCEERR_AR): Likewise.
6144 (BUS_MCEERR_AO): Likewise.
6145 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6146 (TRAP_TRACE): Likewise.
6147 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6149 (CLD_KILLED): Likewise.
6150 (CLD_DUMPED): Likewise.
6151 (CLD_TRAPPED): Likewise.
6152 (CLD_STOPPED): Likewise.
6153 (CLD_CONTINUED): Likewise.
6154 (POLL_IN): Likewise.
6155 (POLL_OUT): Likewise.
6156 (POLL_MSG): Likewise.
6157 (POLL_ERR): Likewise.
6158 (POLL_PRI): Likewise.
6159 (POLL_HUP): Likewise.
6160 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
6161 (ILL_ILLOPN): Likewise.
6162 (ILL_ILLADR): Likewise.
6163 (ILL_ILLTRP): Likewise.
6164 (ILL_PRVOPC): Likewise.
6165 (ILL_PRVREG): Likewise.
6166 (ILL_COPROC): Likewise.
6167 (ILL_BADSTK): Likewise.
6168 (ILL_DBLFLT): Likewise.
6169 (ILL_HARDWALL): Likewise.
6170 (FPE_INTDIV): Likewise.
6171 (FPE_INTOVF): Likewise.
6172 (FPE_FLTDIV): Likewise.
6173 (FPE_FLTOVF): Likewise.
6174 (FPE_FLTUND): Likewise.
6175 (FPE_FLTRES): Likewise.
6176 (FPE_FLTINV): Likewise.
6177 (FPE_FLTSUB): Likewise.
6178 (SEGV_MAPERR): Likewise.
6179 (SEGV_ACCERR): Likewise.
6180 (BUS_ADRALN): Likewise.
6181 (BUS_ADRERR): Likewise.
6182 (BUS_OBJERR): Likewise.
6183 (BUS_MCEERR_AR): Likewise.
6184 (BUS_MCEERR_AO): Likewise.
6185 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6186 (TRAP_TRACE): Likewise.
6187 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6189 (CLD_KILLED): Likewise.
6190 (CLD_DUMPED): Likewise.
6191 (CLD_TRAPPED): Likewise.
6192 (CLD_STOPPED): Likewise.
6193 (CLD_CONTINUED): Likewise.
6194 (POLL_IN): Likewise.
6195 (POLL_OUT): Likewise.
6196 (POLL_MSG): Likewise.
6197 (POLL_ERR): Likewise.
6198 (POLL_PRI): Likewise.
6199 (POLL_HUP): Likewise.
6200 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
6201 (ILL_ILLOPN): Likewise.
6202 (ILL_ILLADR): Likewise.
6203 (ILL_ILLTRP): Likewise.
6204 (ILL_PRVOPC): Likewise.
6205 (ILL_PRVREG): Likewise.
6206 (ILL_COPROC): Likewise.
6207 (ILL_BADSTK): Likewise.
6208 (FPE_INTDIV): Likewise.
6209 (FPE_INTOVF): Likewise.
6210 (FPE_FLTDIV): Likewise.
6211 (FPE_FLTOVF): Likewise.
6212 (FPE_FLTUND): Likewise.
6213 (FPE_FLTRES): Likewise.
6214 (FPE_FLTINV): Likewise.
6215 (FPE_FLTSUB): Likewise.
6216 (SEGV_MAPERR): Likewise.
6217 (SEGV_ACCERR): Likewise.
6218 (BUS_ADRALN): Likewise.
6219 (BUS_ADRERR): Likewise.
6220 (BUS_OBJERR): Likewise.
6221 (BUS_MCEERR_AR): Likewise.
6222 (BUS_MCEERR_AO): Likewise.
6223 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6224 (TRAP_TRACE): Likewise.
6225 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6227 (CLD_KILLED): Likewise.
6228 (CLD_DUMPED): Likewise.
6229 (CLD_TRAPPED): Likewise.
6230 (CLD_STOPPED): Likewise.
6231 (CLD_CONTINUED): Likewise.
6232 (POLL_IN): Likewise.
6233 (POLL_OUT): Likewise.
6234 (POLL_MSG): Likewise.
6235 (POLL_ERR): Likewise.
6236 (POLL_PRI): Likewise.
6237 (POLL_HUP): Likewise.
6238 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
6239 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6242 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
6243 before #include of <time.h>.
6244 [!__USE_XOPEN2K] (__need_timespec): Likewise.
6245 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
6246 (test-xfail-UNIX98/sched.h/conform): Likewise.
6248 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
6250 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
6251 error absence of trapping exception support.
6252 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6254 2014-03-07 Joseph Myers <joseph@codesourcery.com>
6256 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
6257 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
6258 * timezone/Makefile (testdata): Move definition above include of
6260 (test-zones): New variable.
6261 (tests-special): Add zone files.
6262 (build-testdata): Use $(evaluate-test).
6264 * elf/Makefile (tests-special): Rename tests to end with .out.
6265 ($(objpfx)noload-mem): Likewise.
6266 ($(objpfx)tst-leaks1-mem): Likewise.
6267 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
6268 * iconv/Makefile (xtests-special): Change test-iconvconfig to
6269 $(objpfx)test-iconvconfig.out.
6270 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
6271 set -e inside subshell and redirect output to file.
6272 * iconvdata/Makefile (generated): Rename tests to end with .out.
6274 (tests-special): Rename tests to end with .out.
6275 ($(objpfx)mtrace-tst-loading): Likewise.
6276 * intl/Makefile (generated): Likewise.
6277 (tests-special): Likewise.
6278 ($(objpfx)mtrace-tst-gettext): Likewise.
6279 * misc/Makefile (generated): Likewise.
6280 (tests-special): Likewise.
6281 ($(objpfx)tst-error1-mem): Likewise.
6282 * nptl/Makefile (tests-special): Likewise.
6283 ($(objpfx)tst-stack3-mem): Likewise.
6284 (generated): Likewise.
6285 * posix/Makefile (generated): Likewise.
6286 (tests-special): Likewise.
6287 (xtests-special): Likewise.
6288 ($(objpfx)tst-fnmatch-mem): Likewise.
6289 ($(objpfx)bug-regex2-mem): Likewise.
6290 ($(objpfx)bug-regex14-mem): Likewise.
6291 ($(objpfx)bug-regex21-mem): Likewise.
6292 ($(objpfx)bug-regex31-mem): Likewise.
6293 ($(objpfx)tst-vfork3-mem): Likewise.
6294 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6295 ($(objpfx)tst-pcre-mem): Likewise.
6296 ($(objpfx)tst-boost-mem): Likewise.
6297 ($(objpfx)bug-ga2-mem): Likewise.
6298 ($(objpfx)bug-glob2-mem): Likewise.
6299 * resolv/Makefile (generate): Likewise.
6300 (tests-special): Likewise.
6301 (xtests-special): Likewise.
6302 (generated): Likewise.
6303 ($(objpfx)mtrace-tst-leaks): Likewise.
6304 ($(objpfx)mtrace-tst-leaks2): Likewise.
6306 * scripts/merge-test-results.sh: New file.
6307 * Makefile (tests-special-notdir): New variable.
6308 (tests): Run merge-test-results.sh.
6310 * Rules (tests-special-notdir): New variable.
6311 (xtests-special-notdir): Likewise.
6312 (tests): Run merge-test-results.sh
6315 * Makeconfig (test-xfail-name): New variable.
6316 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
6317 compute variable name for expected failures.
6318 * conform/Makefile (conformtest-headers-data): New variable.
6319 (conformtest-standards): Likewise.
6320 (conformtest-headers-ISO): Likewise.
6321 (conformtest-headers-ISO99): Likewise.
6322 (conformtest-headers-ISO11): Likewise.
6323 (conformtest-headers-POSIX): Likewise.
6324 (conformtest-headers-XPG3): Likewise.
6325 (conformtest-headers-XPG4): Likewise.
6326 (conformtest-headers-UNIX98): Likewise.
6327 (conformtest-headers-XOPEN2K): Likewise.
6328 (conformtest-headers-POSIX2008): Likewise.
6329 (conformtest-headers-XOPEN2K8): Likewise.
6330 (conformtest-header-list-base): Likewise.
6331 (conformtest-header-list-tests): Likewise.
6332 (conformtest-header-base): Likewise.
6333 (conformtest-header-tests): Likewise.
6334 (tests-special): Add $(conformtest-header-list-tests). If
6335 [$(fast-check) && !$(cross-compiling)], add
6336 $(conformtest-header-tests) instead of
6337 $(objpfx)run-conformtest.out.
6338 (generated): Add $(conformtest-header-list-base). If
6339 [$(fast-check) && !$(cross-compiling)], add
6340 $(conformtest-header-base). Remove previous setting.
6341 ($(conformtest-header-list-tests)): New target.
6342 (test-xfail-run-conformtest): Remove variable.
6343 ($(objpfx)run-conformtest.out): Remove target.
6344 (test-xfail-ISO11/complex.h/conform): New variable.
6345 (test-xfail-ISO11/stdalign.h/conform): Likewise.
6346 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6347 (test-xfail-XPG3/varargs.h/conform): Likewise.
6348 (test-xfail-XPG4/varargs.h/conform): Likewise.
6349 (test-xfail-UNIX98/varargs.h/conform): Likewise.
6350 (test-xfail-XPG4/ndbm.h/conform): Likewise.
6351 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
6352 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
6353 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
6354 (test-xfail-XPG3/fcntl.h/conform): Likewise.
6355 (test-xfail-XPG3/ftw.h/conform): Likewise.
6356 (test-xfail-XPG3/grp.h/conform): Likewise.
6357 (test-xfail-XPG3/langinfo.h/conform): Likewise.
6358 (test-xfail-XPG3/limits.h/conform): Likewise.
6359 (test-xfail-XPG3/pwd.h/conform): Likewise.
6360 (test-xfail-XPG3/search.h/conform): Likewise.
6361 (test-xfail-XPG3/signal.h/conform): Likewise.
6362 (test-xfail-XPG3/stdio.h/conform): Likewise.
6363 (test-xfail-XPG3/stdlib.h/conform): Likewise.
6364 (test-xfail-XPG3/string.h/conform): Likewise.
6365 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
6366 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
6367 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
6368 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
6369 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
6370 (test-xfail-XPG3/sys/types.h/conform): Likewise.
6371 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
6372 (test-xfail-XPG3/termios.h/conform): Likewise.
6373 (test-xfail-XPG3/time.h/conform): Likewise.
6374 (test-xfail-XPG3/unistd.h/conform): Likewise.
6375 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
6376 (test-xfail-XPG4/fcntl.h/conform): Likewise.
6377 (test-xfail-XPG4/langinfo.h/conform): Likewise.
6378 (test-xfail-XPG4/netdb.h/conform): Likewise.
6379 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
6380 (test-xfail-XPG4/signal.h/conform): Likewise.
6381 (test-xfail-XPG4/stdio.h/conform): Likewise.
6382 (test-xfail-XPG4/stdlib.h/conform): Likewise.
6383 (test-xfail-XPG4/stropts.h/conform): Likewise.
6384 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
6385 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
6386 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
6387 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
6388 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
6389 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
6390 (test-xfail-XPG4/sys/time.h/conform): Likewise.
6391 (test-xfail-XPG4/sys/types.h/conform): Likewise.
6392 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
6393 (test-xfail-XPG4/termios.h/conform): Likewise.
6394 (test-xfail-XPG4/ucontext.h/conform): Likewise.
6395 (test-xfail-XPG4/unistd.h/conform): Likewise.
6396 (test-xfail-XPG4/utmpx.h/conform): Likewise.
6397 (test-xfail-POSIX/sched.h/conform): Likewise.
6398 (test-xfail-POSIX/signal.h/conform): Likewise.
6399 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6400 (test-xfail-POSIX/tar.h/conform): Likewise.
6401 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
6402 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
6403 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6404 (test-xfail-UNIX98/netdb.h/conform): Likewise.
6405 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
6406 (test-xfail-UNIX98/sched.h/conform): Likewise.
6407 (test-xfail-UNIX98/signal.h/conform): Likewise.
6408 (test-xfail-UNIX98/stdio.h/conform): Likewise.
6409 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6410 (test-xfail-UNIX98/stropts.h/conform): Likewise.
6411 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
6412 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
6413 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
6414 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
6415 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
6416 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6417 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
6418 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
6419 (test-xfail-UNIX98/unistd.h/conform): Likewise.
6420 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6421 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
6422 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
6423 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6424 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
6425 (test-xfail-XOPEN2K/math.h/conform): Likewise.
6426 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6427 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
6428 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
6429 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
6430 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
6431 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
6432 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
6433 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
6434 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
6435 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
6436 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
6437 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
6438 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
6439 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
6440 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
6441 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6442 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
6443 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
6444 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
6445 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
6446 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6447 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6448 (test-xfail-POSIX2008/signal.h/conform): Likewise.
6449 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
6450 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6451 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
6452 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
6453 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
6454 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
6455 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6456 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
6457 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
6458 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
6459 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
6460 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
6461 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
6462 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
6463 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
6464 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
6465 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
6466 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
6467 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
6468 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
6469 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6470 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6471 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
6472 (conformtest-cc-flags): Likewise.
6473 ($(conformtest-header-tests): New target.
6474 * conform/check-header-lists.sh: New file.
6475 * conform/run-conformtest.sh: Remove.
6477 * conform/conformtest.pl: Allow ' and \ in values given for
6479 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
6481 [POSIX] (sys/types.h): Likewise.
6482 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
6484 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
6486 * conform/data/signal.h-data (SIGIO): Remove expectation.
6487 [XPG3] (SIGBUS): Do not expect.
6488 [POSIX || XPG3] (SIGPOLL): Likewise.
6489 [POSIX || XPG3] (SIGPROF): Likewise.
6490 [POSIX || XPG3] (SIGSYS): Likewise.
6491 [XPG3] (SIGTRAP): Likewise.
6492 [POSIX || XPG3] (SIGURG): Likewise.
6493 [POSIX || XPG3] (SIGVTALRM): Likewise.
6494 [POSIX || XPG3] (SIGXCPU): Likewise.
6495 [POSIX || XPG3] (SIGXFSZ): Likewise.
6496 [POSIX] (SA_SIGINFO): Expect.
6497 [XPG3] (siginfo_t): Do not expect type or contents.
6498 [POSIX] (si_pid): Do not expect element.
6499 [POSIX] (si_uid): Likewise.
6500 [POSIX] (si_addr): Likewise.
6501 [POSIX] (si_status): Likewise.
6502 [POSIX] (si_band): Likewise.
6503 [XPG4] (si_value): Likewise.
6504 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
6505 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
6506 [POSIX || XPG3] (ILL_ILLADR): Likewise.
6507 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
6508 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
6509 [POSIX || XPG3] (ILL_PRVREG): Likewise.
6510 [POSIX || XPG3] (ILL_COPROC): Likewise.
6511 [POSIX || XPG3] (ILL_BADSTK): Likewise.
6512 [POSIX || XPG3] (FPE_INTDIV): Likewise.
6513 [POSIX || XPG3] (FPE_INTOVF): Likewise.
6514 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
6515 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
6516 [POSIX || XPG3] (FPE_FLTUND): Likewise.
6517 [POSIX || XPG3] (FPE_FLTRES): Likewise.
6518 [POSIX || XPG3] (FPE_FLTINV): Likewise.
6519 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
6520 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
6521 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
6522 [POSIX || XPG3] (BUS_ADRALN): Likewise.
6523 [POSIX || XPG3] (BUS_ADRERR): Likewise.
6524 [POSIX || XPG3] (BUS_OBJERR): Likewise.
6525 [POSIX || XPG3] (CLD_EXITED): Likewise.
6526 [POSIX || XPG3] (CLD_KILLED): Likewise.
6527 [POSIX || XPG3] (CLD_DUMPED): Likewise.
6528 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
6529 [POSIX || XPG3] (CLD_STOPPED): Likewise.
6530 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
6531 [POSIX || XPG3] (POLL_IN): Likewise.
6532 [POSIX || XPG3] (POLL_OUT): Likewise.
6533 [POSIX || XPG3] (POLL_MSG): Likewise.
6534 [POSIX || XPG3] (POLL_ERR): Likewise.
6535 [POSIX || XPG3] (POLL_PRI): Likewise.
6536 [POSIX || XPG3] (POLL_HUP): Likewise.
6537 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
6538 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
6539 (SIG*): Do not allow.
6540 [XPG3] (si_*): Likewise.
6541 [XPG3] (SI_*): Likewise.
6542 [XPG3 || XPG4] (sigev_*): Likewise.
6543 [XPG3 || XPG4] (SIGEV_*): Likewise.
6544 [XPG3 || XPG4] (sival_*): Likewise.
6545 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
6546 [POSIX || XPG3] (BUS_*): Likewise.
6547 [POSIX || XPG3] (CLD_*): Likewise.
6548 [POSIX || XPG3] (FPE_*): Likewise.
6549 [POSIX || XPG3] (ILL_*): Likewise.
6550 [POSIX || XPG3] (POLL_*): Likewise.
6551 [POSIX || XPG3] (SEGV_*): Likewise.
6552 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
6553 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
6554 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
6555 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
6556 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
6557 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
6558 Specify type and value.
6559 (TVERSLEN): Likewise.
6560 (REGTYPE): Likewise.
6561 (AREGTYPE): Likewise.
6562 (LNKTYPE): Likewise.
6563 (SYMTYPE): Likewise.
6564 (CHRTYPE): Likewise.
6565 (BLKTYPE): Likewise.
6566 (DIRTYPE): Likewise.
6567 (FIFOTYPE): Likewise.
6568 (CONTTYPE): Likewise.
6573 (TUWRITE): Likewise.
6576 (TGWRITE): Likewise.
6579 (TOWRITE): Likewise.
6581 [POSIX] (TSVTX): Expect constant.
6583 2014-03-06 Joseph Myers <joseph@codesourcery.com>
6585 * Makefile (tests): Change dependencies to ....
6586 (tests-special): ... additions to this variable.
6587 (tests): Depend on $(tests-special).
6588 * Makerules (check-abi-list): New variable.
6589 (check-abi): Depend on $(check-abi-list).
6590 [$(subdir) = elf] (tests-special): Add
6591 $(objpfx)check-abi-libc.out.
6592 [$(build-shared) = yes && subdir] (tests-special): Add
6594 [$(build-shared) = yes && subdir] (tests): Do not depend on
6596 * Rules (tests): Depend on $(tests-special).
6597 (xtests): Depend on $(xtests-special).
6598 * catgets/Makefile (tests): Change dependencies to ....
6599 (tests-special): ... additions to this variable.
6600 * conform/Makefile (tests): Change dependencies to ....
6601 (tests-special): ... additions to this variable.
6602 * elf/Makefile (tests): Change dependencies to ....
6603 (tests-special): ... additions to this variable.
6604 * grp/Makefile (tests): Change dependencies to ....
6605 (tests-special): ... additions to this variable.
6606 * iconv/Makefile (xtests): Change dependencies to ....
6607 (xtests-special): ... additions to this variable.
6608 * iconvdata/Makefile (tests): Change dependencies to ....
6609 (tests-special): ... additions to this variable.
6610 * intl/Makefile (tests): Change dependencies to ....
6611 (tests-special): ... additions to this variable. Also add
6612 $(objpfx)tst-gettext.out.
6613 * io/Makefile (tests): Change dependencies to ....
6614 (tests-special): ... additions to this variable.
6615 * libio/Makefile (tests): Change dependencies to ....
6616 (tests-special): ... additions to this variable.
6617 * malloc/Makefile (tests): Change dependencies to ....
6618 (tests-special): ... additions to this variable.
6619 * misc/Makefile (tests): Change dependencies to ....
6620 (tests-special): ... additions to this variable.
6621 * nptl/Makefile (tests): Change dependencies to ....
6622 (tests-special): ... additions to this variable.
6623 * nptl_db/Makefile (tests): Change dependencies to ....
6624 (tests-special): ... additions to this variable.
6625 * posix/Makefile (tests): Change dependencies to ....
6626 (tests-special): ... additions to this variable.
6627 (xtests): Change dependencies to ....
6628 (xtests-special): ... additions to this variable.
6629 * resolv/Makefile (tests): Change dependencies to ....
6630 (tests-special): ... additions to this variable.
6631 (xtests): Change dependencies to ....
6632 (xtests-special): ... additions to this variable.
6633 * stdio-common/Makefile (tests): Change dependencies to ....
6634 (tests-special): ... additions to this variable.
6635 (do-tst-unbputc): Remove target.
6636 (do-tst-printf): Likewise.
6637 * stdlib/Makefile (tests): Change dependencies to ....
6638 (tests-special): ... additions to this variable.
6639 * string/Makefile (tests): Change dependencies to ....
6640 (tests-special): ... additions to this variable.
6641 * sysdeps/x86/Makefile (tests): Change dependencies to ....
6642 (tests-special): ... additions to this variable.
6644 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
6646 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
6648 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
6649 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
6651 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
6652 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
6653 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
6654 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
6655 * conform/data/libgen.h-data [XPG3]: Likewise.
6656 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
6657 * conform/data/ndbm.h-data [XPG3]: Likewise.
6658 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6659 * conform/data/netdb.h-data [XPG3]: Likewise.
6660 * conform/data/netinet/in.h-data [XPG3]: Likewise.
6661 * conform/data/poll.h-data [XPG3]: Likewise.
6662 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6663 * conform/data/strings.h-data [XPG3]: Likewise.
6664 * conform/data/stropts.h-data [XPG3]: Likewise.
6665 * conform/data/sys/mman.h-data [XPG3]: Likewise.
6666 * conform/data/sys/resource.h-data [XPG3]: Likewise.
6667 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
6669 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
6670 * conform/data/sys/time.h-data [XPG3]: Likewise.
6671 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
6672 * conform/data/sys/uio.h-data [XPG3]: Likewise.
6673 * conform/data/sys/un.h-data [XPG3]: Likewise.
6674 * conform/data/syslog.h-data [XPG3]: Likewise.
6675 * conform/data/ucontext.h-data [XPG3]: Likewise.
6676 * conform/data/utmpx.h-data [XPG3]: Likewise.
6677 * conform/data/varargs.h-data [UNIX98]: Enable file.
6679 * manual/Makefile (INSTALL_INFO): Remove variable setting.
6681 * math/libm-test.inc (struct test_f_f_data): Move expected results
6682 into structure for each rounding mode.
6683 (struct test_ff_f_data): Likewise.
6684 (struct test_ff_f_data_nexttoward): Likewise.
6685 (struct test_fi_f_data): Likewise.
6686 (struct test_fl_f_data): Likewise.
6687 (struct test_if_f_data): Likewise.
6688 (struct test_fff_f_data): Likewise.
6689 (struct test_c_f_data): Likewise.
6690 (struct test_f_f1_data): Likewise.
6691 (struct test_fF_f1_data): Likewise.
6692 (struct test_ffI_f1_data): Likewise.
6693 (struct test_c_c_data): Likewise.
6694 (struct test_cc_c_data): Likewise.
6695 (struct test_f_i_data): Likewise.
6696 (struct test_ff_i_data): Likewise.
6697 (struct test_f_l_data): Likewise.
6698 (struct test_f_L_data): Likewise.
6699 (struct test_fFF_11_data): Likewise.
6701 (RM_FE_DOWNWARD): Likewise.
6702 (RM_FE_TONEAREST): Likewise.
6703 (RM_FE_TOWARDZERO): Likewise.
6704 (RM_FE_UPWARD): Likewise.
6705 (RUN_TEST_LOOP_f_f): Update references to expected results.
6706 (RUN_TEST_LOOP_2_f): Likewise.
6707 (RUN_TEST_LOOP_fff_f): Likewise.
6708 (RUN_TEST_LOOP_c_f): Likewise.
6709 (RUN_TEST_LOOP_f_f1): Likewise.
6710 (RUN_TEST_LOOP_fF_f1): Likewise.
6711 (RUN_TEST_LOOP_fI_f1): Likewise.
6712 (RUN_TEST_LOOP_ffI_f1): Likewise.
6713 (RUN_TEST_LOOP_c_c): Likewise.
6714 (RUN_TEST_LOOP_cc_c): Likewise.
6715 (RUN_TEST_LOOP_f_i): Likewise.
6716 (RUN_TEST_LOOP_f_i_tg): Likewise.
6717 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6718 (RUN_TEST_LOOP_f_b): Likewise.
6719 (RUN_TEST_LOOP_f_b_tg): Likewise.
6720 (RUN_TEST_LOOP_f_l): Likewise.
6721 (RUN_TEST_LOOP_f_L): Likewise.
6722 (RUN_TEST_LOOP_fFF_11): Likewise.
6723 * math/gen-libm-test.pl (parse_args): Output four copies of
6724 expected results for each test.
6726 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6727 (__ASSUME_UTIMES): Remove.
6728 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6729 (__ASSUME_UTIMES): Likewise.
6731 * math/gen-auto-libm-tests.c: Update comment on output format.
6732 (output_for_one_input_case): Generate before-rounding and
6733 after-rounding information as conditions on output flags not
6734 floating-point format.
6735 * math/auto-libm-test-out: Regenerated.
6736 * math/gen-libm-test.pl (cond_value): New function.
6737 (or_cond_value): Use cond_value.
6738 (generate_testfile): Handle conditional exceptions.
6740 2014-03-05 Joseph Myers <joseph@codesourcery.com>
6742 * math/libm-test.inc (max_valid_error): New variable.
6743 (init_max_error): Take new argument specifying whether function
6744 results are exactly determined. Set max_valid_error and bound
6745 other variables for errors based on this argument.
6746 (set_max_error): Do not record results above max_valid_error.
6747 (check_float_internal): Only accept errors of up to 0.5ulps if
6748 also at most max_valid_error.
6749 (START): Take new argument EXACT and pass it to init_max_error.
6750 (acos_test): Update call to START.
6751 (acos_test_tonearest): Likewise.
6752 (acos_test_towardzero): Likewise.
6753 (acos_test_downward): Likewise.
6754 (acos_test_upward): Likewise.
6755 (acosh_test): Likewise.
6756 (asin_test): Likewise.
6757 (asin_test_tonearest): Likewise.
6758 (asin_test_towardzero): Likewise.
6759 (asin_test_downward): Likewise.
6760 (asin_test_upward): Likewise.
6761 (asinh_test): Likewise.
6762 (atan_test): Likewise.
6763 (atanh_test): Likewise.
6764 (atan2_test): Likewise.
6765 (cabs_test): Likewise.
6766 (cacos_test): Likewise.
6767 (cacosh_test): Likewise.
6768 (carg_test): Likewise.
6769 (casin_test): Likewise.
6770 (casinh_test): Likewise.
6771 (catan_test): Likewise.
6772 (catanh_test): Likewise.
6773 (cbrt_test): Likewise.
6774 (ccos_test): Likewise.
6775 (ccosh_test): Likewise.
6776 (ceil_test): Likewise.
6777 (cexp_test): Likewise.
6778 (cimag_test): Likewise.
6779 (clog_test): Likewise.
6780 (clog10_test): Likewise.
6781 (conj_test): Likewise.
6782 (copysign_test): Likewise.
6783 (cos_test): Likewise.
6784 (cos_test_tonearest): Likewise.
6785 (cos_test_towardzero): Likewise.
6786 (cos_test_downward): Likewise.
6787 (cos_test_upward): Likewise.
6788 (cosh_test): Likewise.
6789 (cosh_test_tonearest): Likewise.
6790 (cosh_test_towardzero): Likewise.
6791 (cosh_test_downward): Likewise.
6792 (cosh_test_upward): Likewise.
6793 (cpow_test): Likewise.
6794 (cproj_test): Likewise.
6795 (creal_test): Likewise.
6796 (csin_test): Likewise.
6797 (csinh_test): Likewise.
6798 (csqrt_test): Likewise.
6799 (ctan_test): Likewise.
6800 (ctan_test_tonearest): Likewise.
6801 (ctan_test_towardzero): Likewise.
6802 (ctan_test_downward): Likewise.
6803 (ctan_test_upward): Likewise.
6804 (ctanh_test): Likewise.
6805 (ctanh_test_tonearest): Likewise.
6806 (ctanh_test_towardzero): Likewise.
6807 (ctanh_test_downward): Likewise.
6808 (ctanh_test_upward): Likewise.
6809 (erf_test): Likewise.
6810 (erfc_test): Likewise.
6811 (exp_test): Likewise.
6812 (exp_test_tonearest): Likewise.
6813 (exp_test_towardzero): Likewise.
6814 (exp_test_downward): Likewise.
6815 (exp_test_upward): Likewise.
6816 (exp10_test): Likewise.
6817 (exp10_test_tonearest): Likewise.
6818 (exp10_test_towardzero): Likewise.
6819 (exp10_test_downward): Likewise.
6820 (exp10_test_upward): Likewise.
6821 (pow10_test): Likewise.
6822 (exp2_test): Likewise.
6823 (expm1_test): Likewise.
6824 (expm1_test_tonearest): Likewise.
6825 (expm1_test_towardzero): Likewise.
6826 (expm1_test_downward): Likewise.
6827 (expm1_test_upward): Likewise.
6828 (fabs_test): Likewise.
6829 (fdim_test): Likewise.
6830 (floor_test): Likewise.
6831 (fma_test): Likewise.
6832 (fma_test_towardzero): Likewise.
6833 (fma_test_downward): Likewise.
6834 (fma_test_upward): Likewise.
6835 (fmax_test): Likewise.
6836 (fmin_test): Likewise.
6837 (fmod_test): Likewise.
6838 (fpclassify_test): Likewise.
6839 (frexp_test): Likewise.
6840 (hypot_test): Likewise.
6841 (ilogb_test): Likewise.
6842 (isfinite_test): Likewise.
6843 (finite_test): Likewise.
6844 (isgreater_test): Likewise.
6845 (isgreaterequal_test): Likewise.
6846 (isinf_test): Likewise.
6847 (isless_test): Likewise.
6848 (islessequal_test): Likewise.
6849 (islessgreater_test): Likewise.
6850 (isnan_test): Likewise.
6851 (isnormal_test): Likewise.
6852 (issignaling_test): Likewise.
6853 (isunordered_test): Likewise.
6854 (j0_test): Likewise.
6855 (j1_test): Likewise.
6856 (jn_test): Likewise.
6857 (ldexp_test): Likewise.
6858 (lgamma_test): Likewise.
6859 (gamma_test): Likewise.
6860 (lrint_test): Likewise.
6861 (lrint_test_tonearest): Likewise.
6862 (lrint_test_towardzero): Likewise.
6863 (lrint_test_downward): Likewise.
6864 (lrint_test_upward): Likewise.
6865 (llrint_test): Likewise.
6866 (llrint_test_tonearest): Likewise.
6867 (llrint_test_towardzero): Likewise.
6868 (llrint_test_downward): Likewise.
6869 (llrint_test_upward): Likewise.
6870 (log_test): Likewise.
6871 (log10_test): Likewise.
6872 (log1p_test): Likewise.
6873 (log2_test): Likewise.
6874 (logb_test): Likewise.
6875 (logb_test_downward): Likewise.
6876 (lround_test): Likewise.
6877 (llround_test): Likewise.
6878 (modf_test): Likewise.
6879 (nearbyint_test): Likewise.
6880 (nextafter_test): Likewise.
6881 (nexttoward_test): Likewise.
6882 (pow_test): Likewise.
6883 (pow_test_tonearest): Likewise.
6884 (pow_test_towardzero): Likewise.
6885 (pow_test_downward): Likewise.
6886 (pow_test_upward): Likewise.
6887 (remainder_test): Likewise.
6888 (drem_test): Likewise.
6889 (remainder_test_tonearest): Likewise.
6890 (drem_test_tonearest): Likewise.
6891 (remainder_test_towardzero): Likewise.
6892 (drem_test_towardzero): Likewise.
6893 (remainder_test_downward): Likewise.
6894 (drem_test_downward): Likewise.
6895 (remainder_test_upward): Likewise.
6896 (drem_test_upward): Likewise.
6897 (remquo_test): Likewise.
6898 (rint_test): Likewise.
6899 (rint_test_tonearest): Likewise.
6900 (rint_test_towardzero): Likewise.
6901 (rint_test_downward): Likewise.
6902 (rint_test_upward): Likewise.
6903 (round_test): Likewise.
6904 (scalb_test): Likewise.
6905 (scalbn_test): Likewise.
6906 (scalbln_test): Likewise.
6907 (signbit_test): Likewise.
6908 (sin_test): Likewise.
6909 (sin_test_tonearest): Likewise.
6910 (sin_test_towardzero): Likewise.
6911 (sin_test_downward): Likewise.
6912 (sin_test_upward): Likewise.
6913 (sincos_test): Likewise.
6914 (sinh_test): Likewise.
6915 (sinh_test_tonearest): Likewise.
6916 (sinh_test_towardzero): Likewise.
6917 (sinh_test_downward): Likewise.
6918 (sinh_test_upward): Likewise.
6919 (sqrt_test): Likewise.
6920 (sqrt_test_tonearest): Likewise.
6921 (sqrt_test_towardzero): Likewise.
6922 (sqrt_test_downward): Likewise.
6923 (sqrt_test_upward): Likewise.
6924 (tan_test): Likewise.
6925 (tan_test_tonearest): Likewise.
6926 (tan_test_towardzero): Likewise.
6927 (tan_test_downward): Likewise.
6928 (tan_test_upward): Likewise.
6929 (tanh_test): Likewise.
6930 (tgamma_test): Likewise.
6931 (trunc_test): Likewise.
6932 (y0_test): Likewise.
6933 (y1_test): Likewise.
6934 (yn_test): Likewise.
6935 (significand_test): Likewise.
6937 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
6938 individual tests in comment.
6939 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
6940 (prev_max_error): New variable.
6941 (prev_real_max_error): Likewise.
6942 (prev_imag_max_error): Likewise.
6943 (compare_ulp_data): Don't refer to test names in comment.
6944 (find_test_ulps): Remove function.
6945 (find_function_ulps): Likewise.
6946 (find_complex_function_ulps): Likewise.
6947 (init_max_error): Take function name as argument. Look up ulps
6949 (print_ulps): Remove function.
6950 (print_max_error): Use prev_max_error instead of calling
6952 (print_complex_max_error): Use prev_real_max_error and
6953 prev_imag_max_error instead of calling find_complex_function_ulps.
6954 (check_float_internal): Take max_ulp parameter instead of calling
6955 find_test_ulps. Don't call print_ulps.
6956 (check_float): Update call to check_float_internal.
6957 (check_complex): Update calls to check_float_internal.
6958 (START): Pass argument to init_max_error.
6959 * math/gen-libm-test.pl (%results): Don't include "kind"
6961 (parse_ulps): Don't handle ulps of individual tests.
6962 (print_ulps_file): Likewise.
6963 (output_ulps): Likewise.
6964 * math/README.libm-test: Update.
6965 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
6967 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
6968 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6969 * sysdeps/arm/libm-test-ulps: Likewise.
6970 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6971 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6972 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
6973 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6974 * sysdeps/microblaze/libm-test-ulps: Likewise.
6975 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6976 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6977 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6978 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6979 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6980 * sysdeps/sh/libm-test-ulps: Likewise.
6981 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6982 * sysdeps/tile/libm-test-ulps: Likewise.
6983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6985 2014-03-04 Joseph Myers <joseph@codesourcery.com>
6987 * math/libm-test.inc (print_complex_max_error): Check separately
6988 whether real and imaginary errors are within allowed range and
6989 pass 0 to print_complex_function_ulps instead of value within
6992 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6994 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
6996 (get_handles_fopen): Likewise.
6997 (do_write_test): Likewise.
6999 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
7001 * libio/fileops.c (do_ftell): Use cached offset when
7003 * libio/iofwide.c (do_ftell_wide): Likewise.
7004 * libio/iofdopen.c (_IO_new_fdopen): Don't use
7006 * libio/wfileops.c (_IO_fwide): Don't cache offset.
7009 * libio/libioP.h (get_file_offset): New function.
7010 * libio/fileops.c (get_file_offset): Likewise.
7011 (do_ftell): Likewise.
7012 (_IO_new_file_seekoff): Split out ftell logic.
7013 * libio/wfileops.c (do_ftell_wide): Likewise.
7014 (_IO_wfile_seekoff): Split out ftell logic.
7015 * libio/tst-ftell-active-handler.c: New test case.
7016 * libio/Makefile (tests): Add it.
7018 2014-03-03 Roland McGrath <roland@hack.frob.com>
7020 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
7021 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
7023 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7026 * nscd/connections.c (nscd_init): Call do_exit.
7027 (start_threads): Call do_exit and notify_parent.
7028 (begin_drop_privileges): Call do_exit.
7029 (finish_drop_privileges): Likewise.
7030 * nscd/selinux.c (preserve_capabilities): Likewise.
7031 (install_real_capabilities): Likewise.
7032 (nscd_selinux_enabled): Likewise.
7033 (avc_create_thread): Likewise.
7034 (avc_alloc_lock): Likewise.
7035 (nscd_avc_init): Likewise.
7036 * nscd/nscd.c (parent_fd): New static variable.
7037 (main): Create a pipe between parent and child processes.
7038 Skip closing parent_fd.
7039 (monitor_child): New function.
7040 (do_exit): Likewise.
7041 (notify_parent): Likewise.
7042 * nscd/nscd.h (notify_parent): Likewise.
7043 (do_exit): Likewise.
7045 2014-03-03 Carlos O'Donell <carlos@redhat.com>
7047 * malloc/malloc.c (__libc_calloc): Revert last change.
7049 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7053 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7055 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
7056 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
7058 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7059 (__libc_ifunc_impl_list): Likewise.
7060 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
7061 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
7062 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
7063 * string/strrchr.c: Define STRRCHR.
7065 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
7067 * benchtest/bench-strtok.c (simple_strtok): Delete.
7068 (strtok_string): Use as benchmark.
7069 * string/strtok (STRTOK): New macro.
7071 2014-02-28 Carlos O'Donell <carlos@redhat.com>
7073 * manual/threads.texi: Add header and standard comments to all
7076 * elf/dl-lookup.c (check_match): New function.
7077 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
7078 (do_lookup_x): Remove nested function check_match. Use non-nested
7079 function check_match.
7081 2014-02-28 Roland McGrath <roland@hack.frob.com>
7083 * csu/Makefile (generated, before-compile): Use += rather than =.
7084 * catgets/Makefile (generated, generated-dirs): Likewise.
7085 * debug/Makefile (generated): Likewise.
7086 * dlfcn/Makefile (generated): Likewise.
7087 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
7088 * iconvdata/Makefile (before-compile, generated): Likewise.
7089 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
7090 * libio/Makefile (generated): Likewise.
7091 * malloc/Makefile (generated): Likewise.
7092 * manual/Makefile (generated, generated-dirs): Likewise.
7093 * misc/Makefile (generated): Likewise.
7094 * posix/Makefile (generated): Likewise.
7095 * resolv/Makefile (generated): Likewise.
7096 * sunrpc/Makefile (generated, generated-dirs): Likewise.
7097 * timezone/Makefile (generated, generated-dirs): Likewise.
7099 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
7101 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7103 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7104 power8 implementation.
7105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
7106 file: POWER8 llround ifunc implementation.
7107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
7108 (__lllround): Add POWER8 implementation.
7109 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
7110 POWER8 llround implementation.
7112 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
7113 power8 implementation.
7114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
7115 file: POWER8 llrint ifunc implementation.
7116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
7117 Add POWER8 implementation.
7118 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
7119 POWER8 llrint implementation.
7121 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
7122 power8 implementation.
7123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
7124 file: POWER8 finite ifunc implementation.
7125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
7126 Add POWER8 implementation.
7127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
7129 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
7130 POWER8 finite implementation.
7131 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
7133 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
7134 power8 implementation.
7135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
7136 file: POWER8 isinf ifunc implementation.
7137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
7138 POWER8 implementation.
7139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
7141 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
7142 isinf implementation.
7143 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
7145 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
7146 (INIT_ARCH): Add hwcap2 initialization.
7147 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7148 power8 implementation.
7149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
7150 file: POWER8 isnan ifunc implementation.
7151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
7152 POWER8 implementation.
7153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
7155 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
7156 isnan implementation.
7157 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
7159 2014-02-27 Joey Ye <joey.ye@arm.com>
7161 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7162 (_FP_NANFRAC_Q): Set to zero.
7164 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7167 * math/auto-libm-test-in: New test inputs.
7168 * math/auto-libm-test-out: Regenerate.
7169 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
7172 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7174 2014-02-27 Joseph Myers <joseph@codesourcery.com>
7176 * scripts/evaluate-test.sh: Take new argument indicating whether
7177 failure is expected.
7178 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
7179 indicating whether failure is expected.
7180 * conform/Makefile (test-xfail-run-conformtest): New variable.
7181 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
7183 * posix/Makefile (test-xfail-annexc): New variable.
7184 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
7186 2014-02-26 Joseph Myers <joseph@codesourcery.com>
7188 * argp/Makefile: Include Makeconfig immediately after defining
7190 * assert/Makefile: Likewise.
7191 * benchtests/Makefile: Likewise.
7192 * catgets/Makefile: Likewise.
7193 * conform/Makefile: Likewise.
7194 * crypt/Makefile: Likewise.
7195 * csu/Makefile: Likewise.
7196 (all): Remove target.
7197 * ctype/Makefile: Include Makeconfig immediately after defining
7199 * debug/Makefile: Likewise.
7200 * dirent/Makefile: Likewise.
7201 * dlfcn/Makefile: Likewise.
7202 * gmon/Makefile: Likewise.
7203 * gnulib/Makefile: Likewise.
7204 * grp/Makefile: Likewise.
7205 * gshadow/Makefile: Likewise.
7206 * hesiod/Makefile: Likewise.
7207 * hurd/Makefile: Likewise.
7208 (all): Remove target.
7209 * iconvdata/Makefile: Include Makeconfig immediately after
7211 * inet/Makefile: Likewise.
7212 * intl/Makefile: Likewise.
7213 * io/Makefile: Likewise.
7214 * libio/Makefile: Likewise.
7215 (all): Remove target.
7216 * locale/Makefile: Include Makeconfig immediately after defining
7218 * login/Makefile: Likewise.
7219 * mach/Makefile: Likewise.
7220 (all): Remove target.
7221 * malloc/Makefile: Include Makeconfig immediately after defining
7223 (all): Remove target.
7224 * manual/Makefile: Include Makeconfig immediately after defining
7226 * math/Makefile: Likewise.
7227 * misc/Makefile: Likewise.
7228 * nis/Makefile: Likewise.
7229 * nss/Makefile: Likewise.
7230 * po/Makefile: Likewise.
7231 (all): Remove target.
7232 * posix/Makefile: Include Makeconfig immediately after defining
7234 * pwd/Makefile: Likewise.
7235 * resolv/Makefile: Likewise.
7236 * resource/Makefile: Likewise.
7237 * rt/Makefile: Likewise.
7238 * setjmp/Makefile: Likewise.
7239 * shadow/Makefile: Likewise.
7240 * signal/Makefile: Likewise.
7241 * socket/Makefile: Likewise.
7242 * soft-fp/Makefile: Likewise.
7243 * stdio-common/Makefile: Likewise.
7244 * stdlib/Makefile: Likewise.
7245 * streams/Makefile: Likewise.
7246 * string/Makefile: Likewise.
7247 * sunrpc/Makefile: Likewise.
7248 (all): Remove target.
7249 * sysvipc/Makefile: Include Makeconfig immediately after defining
7251 * termios/Makefile: Likewise.
7252 * time/Makefile: Likewise.
7253 * timezone/Makefile: Likewise.
7254 (all): Remove target.
7255 * wcsmbs/Makefile: Include Makeconfig immediately after defining
7257 * wctype/Makefile: Likewise.
7259 2014-02-26 Steve Ellcey <sellcey@mips.com>
7261 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
7262 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
7263 (libc_feholdexcept_setround_mips): Ditto.
7264 (libc_feholdsetround): New.
7265 (libc_feholdsetroundf): New.
7266 (libc_feholdsetroundl): New.
7267 (libc_feupdateenv_test_mips): New.
7268 (libc_feupdateenv_test): New.
7269 (libc_feupdateenv_testf): New.
7270 (libc_feupdateenv_testl): New.
7271 (libc_feresetround): New.
7272 (libc_feresetroundf): New.
7273 (libc_feresetroundl): New.
7274 (libc_fetestexcept_mips): New.
7275 (libc_fetestexcept): New.
7276 (libc_fetestexceptf): New.
7277 (libc_fetestexceptl): New.
7279 (libc_feholdexcept_setround_mips_ctx): New.
7280 (libc_feholdexcept_setround_ctx): New.
7281 (libc_feholdexcept_setroundf_ctx): New.
7282 (libc_feholdexcept_setroundl_ctx): New.
7283 (libc_fesetenv_mips_ctx): New.
7284 (libc_fesetenv_ctx): New.
7285 (libc_fesetenv_ctxf): New.
7286 (libc_fesetenv_ctxl): New.
7287 (libc_feupdateenv_mips_ctx): New.
7288 (libc_feupdateenv_ctx): New.
7289 (libc_feupdateenvf_ctx): New.
7290 (libc_feupdateenvl_ctx): New.
7291 (libc_feholdsetround_mips_ctx): New.
7292 (libc_feholdsetround_ctx): New.
7293 (libc_feholdsetroundf_ctx): New.
7294 (libc_feholdsetroundl_ctx): New.
7295 (libc_feresetround_mips_ctx): New.
7296 (libc_feresetround_ctx): New.
7297 (libc_feresetroundf_ctx): New.
7298 (libc_feresetroundl_ctx): New.
7300 2014-02-26 Carlos O'Donell <carlos@redhat.com>
7302 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
7304 * manual/ipc.texi: New file.
7305 * manual/Makefile (chapters): Add ipc.
7306 * manual/job.texi: Add "Inter-Process Communication" to next.
7307 * manual/process.texi: Add "Inter-Process Communication" to prev.
7309 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7311 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7313 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
7315 * malloc/malloc.c (__libc_calloc): Simplify implementation.
7317 * manual/arith.texi: Fix spaces after sentences.
7318 * manual/charset.texi: Likewise.
7319 * manual/errno.texi: Likewise.
7320 * manual/install.texi: Likewise.
7321 * manual/llio.texi: Likewise.
7322 * manual/locale.texi: Likewise.
7323 * manual/maint.texi: Likewise.
7324 * manual/math.texi: Likewise.
7325 * manual/memory.texi: Likewise.
7326 * manual/message.texi: Likewise.
7327 * manual/probes.texi: Likewise.
7328 * manual/resource.texi: Likewise.
7329 * manual/signal.texi: Likewise.
7330 * manual/socket.texi: Likewise.
7331 * manual/stdio.texi: Likewise.
7332 * manual/string.texi: Likewise.
7333 * manual/time.texi: Likewise.
7334 * manual/users.texi: Likewise.
7336 2014-02-25 Carlos O'Donell <carlos@redhat.com>
7339 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
7340 _DEFAULT_SOURCE is defined.
7342 2014-02-25 Ulrich Drepper <drepper@gmail.com>
7343 Carlos O'Donell <carlos@redhat.com>
7346 * elf/dl-tls.c (_dl_count_modids): New function.
7347 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
7348 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
7349 audit library and increment generation counter.
7350 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
7351 * elf/tst-audit9.c: New file.
7352 * elf/tst-auditmod9a.c: New file.
7353 * elf/tst-auditmod9b.c: New file.
7354 * elf/Makefile: Add rules to build and run tst-audit9.
7356 2014-02-25 Florian Weimer <fweimer@redhat.com>
7359 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
7361 2014-02-25 Will Newton <will.newton@linaro.org>
7363 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
7364 (__longjmp): Restore sp and lr before restoring callee
7365 saved registers. Add longjmp and longjmp_target
7366 SystemTap probe point.
7367 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
7368 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
7369 Define to zero to match jmpbuf layout.
7370 * sysdeps/arm/setjmp.S: Include stap-probe.h.
7371 (__sigsetjmp): Save sp and lr before saving callee
7372 saved registers. Add setjmp SystemTap probe point.
7374 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7376 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7378 2014-02-24 Andreas Schwab <schwab@suse.de>
7381 * elf/pldd.c (wait_for_ptrace_stop): New function.
7382 (main): Call it after attaching.
7384 2014-02-22 Roland McGrath <roland@hack.frob.com>
7386 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
7387 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
7388 Versions files is now verboten.
7389 * hurd/Versions (libc: GLIBC_2.0):
7390 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
7391 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
7392 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
7393 * mach/Versions: Likewise.
7395 * csu/Versions: Remove unused %include.
7396 * resolv/Versions: Likewise.
7398 2014-02-21 Joseph Myers <joseph@codesourcery.com>
7400 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
7401 ($(objpfx)check-local-headers.out): Likewise.
7402 ($(objpfx)begin-end-check.out): Likewise.
7403 * Makerules (check-abi-%.out): Likewise.
7404 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
7405 ($(objpfx)test2.cat): Likewise.
7406 ($(objpfx)de/libc.cat): Likewise.
7407 ($(objpfx)test-gencat.out): Likewise.
7408 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
7409 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
7410 ($(objpfx)noload-mem): Likewise.
7411 ($(objpfx)tst-pathopt.out): Likewise.
7412 ($(objpfx)tst-rtld-load-self.out): Likewise.
7413 ($(objpfx)tst-array1-cmp.out): Likewise.
7414 ($(objpfx)tst-array1-static-cmp.out): Likewise.
7415 ($(objpfx)tst-array2-cmp.out): Likewise.
7416 ($(objpfx)tst-array3-cmp.out): Likewise.
7417 ($(objpfx)tst-array4-cmp.out): Likewise.
7418 ($(objpfx)tst-array5-cmp.out): Likewise.
7419 ($(objpfx)tst-array5-static-cmp.out): Likewise.
7420 ($(objpfx)check-textrel.out): Likewise.
7421 ($(objpfx)check-execstack.out): Likewise.
7422 ($(objpfx)check-localplt.out): Likewise.
7423 ($(objpfx)order2-cmp.out): Likewise.
7424 ($(objpfx)tst-leaks1-mem): Likewise.
7425 ($(objpfx)tst-leaks1-static-mem): Likewise.
7426 ($(objpfx)tst-initorder-cmp.out): Likewise.
7427 ($(objpfx)tst-initorder2-cmp.out): Likewise.
7428 ($(objpfx)tst-unused-dep.out): Likewise.
7429 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
7430 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
7431 * iconv/Makefile (test-iconvconfig): Likewise.
7432 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
7433 ($(objpfx)iconv-test.out): Likewise.
7434 ($(objpfx)tst-tables.out): Likewise.
7435 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
7436 ($(objpfx)tst-gettext.out): Likewise.
7437 ($(objpfx)tst-translit.out): Likewise.
7438 ($(objpfx)tst-gettext2.out): Likewise.
7439 ($(objpfx)tst-gettext4.out): Likewise.
7440 ($(objpfx)tst-gettext6.out): Likewise.
7441 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
7442 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
7443 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
7444 ($(objpfx)tst-fopenloc-mem.out): Likewise.
7445 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
7446 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
7447 * posix/Makefile ($(objpfx)globtest.out): Likewise.
7448 ($(objpfx)wordexp-tst.out): Likewise.
7449 ($(objpfx)annexc.out): Likewise.
7450 ($(objpfx)tst-fnmatch-mem): Likewise.
7451 ($(objpfx)bug-regex2-mem): Likewise.
7452 ($(objpfx)bug-regex14-mem): Likewise.
7453 ($(objpfx)bug-regex21-mem): Likewise.
7454 ($(objpfx)bug-regex31-mem): Likewise.
7455 ($(objpfx)tst-vfork3-mem): Likewise.
7456 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7457 ($(objpfx)tst-pcre-mem): Likewise.
7458 ($(objpfx)tst-boost-mem): Likewise.
7459 ($(objpfx)tst-getconf.out): Likewise.
7460 ($(objpfx)bug-ga2-mem): Likewise.
7461 ($(objpfx)bug-glob2-mem): Likewise.
7462 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
7463 ($(objpfx)mtrace-tst-leaks2): Likewise.
7464 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
7465 ($(objpfx)tst-printf.out): Likewise.
7466 ($(objpfx)tst-setvbuf1.out): Likewise.
7467 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
7468 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
7469 ($(objpfx)tst-fmtmsg.out): Likewise.
7470 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
7471 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
7473 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
7474 * bits/sigaction.h [__USE_MISC]: Likewise.
7475 * bits/waitstatus.h: Update #endif comments.
7476 * ctype/ctype.h: Likewise.
7477 * dirent/dirent.h: Likewise.
7478 [__USE_MISC]: Remove redundant conditionals.
7479 * grp/grp.h: Update #endif comments.
7480 [__USE_GNU]: Remove redundant conditionals.
7481 [__USE_MISC]: Likewise.
7482 * inet/netinet/in.h [__USE_GNU]: Likewise.
7483 * io/sys/stat.h [__USE_MISC]: Likewise.
7484 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
7485 * libio/bits/stdio.h: Update #endif comments.
7486 [__USE_MISC]: Remove redundant conditionals.
7487 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
7488 * libio/stdio.h: Update #endif comments.
7489 [__USE_MISC]: Remove redundant conditionals.
7490 * math/bits/math-finite.h [__USE_MISC]: Likewise.
7491 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
7492 * math/math.h: Update #else and #endif comments.
7493 [__USE_MISC]: Remove redundant conditionals.
7494 * misc/sys/uio.h: Update #endif comments.
7495 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
7496 * posix/glob.h [__USE_MISC]: Likewise.
7497 * posix/sys/types.h: Update #endif comments.
7498 [__USE_MISC]: Remove redundant conditionals.
7499 * posix/sys/wait.h: Update #endif comments.
7500 [__USE_MISC]: Remove redundant conditionals.
7501 * posix/unistd.h: Update #endif comments.
7502 [__USE_MISC]: Remove redundant conditionals.
7503 * pwd/pwd.h [__USE_GNU]: Likewise.
7504 [__USE_MISC]: Likewise.
7505 * resolv/netdb.h [__USE_GNU]: Likewise.
7506 * signal/signal.h: Update #endif comments.
7507 [__USE_MISC]: Remove redundant conditionals.
7508 * stdlib/stdlib.h: Update #else and #endif comments.
7509 [__USE_MISC]: Remove redundant conditionals.
7510 [__USE_GNU]: Likewise.
7511 * string/bits/string2.h [__USE_MISC]: Likewise.
7512 * string/string.h: Update #endif comments.
7513 [__USE_MISC]: Remove redundant conditionals.
7514 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
7516 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
7517 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
7518 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
7520 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
7522 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
7524 [__USE_MISC]: Remove redundant conditionals.
7525 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
7526 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
7527 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
7528 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
7529 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
7531 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
7532 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
7534 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
7535 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
7537 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
7539 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
7540 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
7542 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
7544 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
7545 * sysdeps/x86/bits/string.h: Update #endif comments.
7546 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
7548 * time/sys/time.h: Update #endif comments.
7549 * time/time.h: Likewise.
7550 [__USE_MISC]: Remove redundant conditionals.
7552 2014-02-21 Yury Gribov <y.gribov@samsung.com>
7555 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
7557 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
7559 * Versions.def (librt): Add GLIBC_2.17.
7561 2014-02-21 Adam Conrad <adconrad@0c3.net>
7563 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
7564 synonym for _SYS_AUXV_H to allow direct inclusion.
7565 * sysdeps/sparc/bits/hwcap.h: Likewise.
7566 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
7567 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
7568 * sysdeps/sparc/sysdep.h: Likewise.
7570 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7572 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
7574 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7576 * benchtests/bench-strrchr.c: Print length instead of position.
7578 2014-02-20 Joseph Myers <joseph@codesourcery.com>
7581 * sysdeps/unix/sysv/linux/kernel-features.h
7582 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
7583 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
7584 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
7585 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
7587 [__i386__ || __powerpc__ || __sh__ || __sparc__]
7588 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7589 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
7590 (__ASSUME_SENDMMSG): Define instead of using previous
7591 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
7592 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7593 (__ASSUME_SENDMMSG_SYSCALL): Define.
7594 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7595 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
7597 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7598 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7600 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7601 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7603 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
7604 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7605 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7606 [__ASSUME_SENDMMSG]: Change conditionals to
7607 [__ASSUME_SENDMMSG_SOCKETCALL].
7608 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7609 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
7611 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7612 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
7614 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
7615 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7616 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7617 [!__ASSUME_SENDMMSG]: Change conditional to
7618 [!__ASSUME_SENDMMSG_SOCKETCALL].
7619 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7620 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7624 * sysdeps/unix/sysv/linux/kernel-features.h
7625 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
7626 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
7627 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
7628 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
7629 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7630 [__i386__ || __sparc__]
7631 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7632 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
7633 (__ASSUME_RECVMMSG): Define instead of using previous
7634 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
7635 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7636 (__ASSUME_RECVMMSG_SYSCALL): Define.
7637 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7638 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7640 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7641 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7643 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7644 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7646 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
7647 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7648 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7649 [__ASSUME_RECVMMSG]: Change condition to
7650 [__ASSUME_RECVMMSG_SOCKETCALL].
7651 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7652 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7654 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7655 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7656 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7658 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
7659 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7660 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7661 [!__ASSUME_RECVMMSG]: Change condition to
7662 [!__ASSUME_RECVMMSG_SOCKETCALL].
7663 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7664 (__ASSUME_RECVMMSG_SYSCALL): Define.
7667 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
7668 __powerpc__ || __s390__ || __sh__ || __sparc__]
7669 (__ASSUME_SOCKETCALL): Define.
7670 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
7671 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
7672 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
7673 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
7674 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7675 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7676 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
7677 (__ASSUME_ACCEPT4): Define instead of using previous
7678 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
7679 __powerpc__ || __sparc__ || __s390__)] condition.
7680 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7681 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7682 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
7683 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7684 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7685 [!__ASSUME_ACCEPT4]: Change condition to
7686 [!__ASSUME_ACCEPT4_SOCKETCALL].
7687 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7688 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
7689 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
7690 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7691 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
7692 __ASSUME_ACCEPT4_SYSCALL.
7693 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
7694 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
7695 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7696 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
7697 __ASSUME_ACCEPT4_SYSCALL.
7698 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
7699 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7700 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7701 [__ASSUME_ACCEPT4]: Change condition to
7702 [__ASSUME_ACCEPT4_SOCKETCALL].
7703 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7704 (__ASSUME_SOCKETCALL): Define.
7705 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
7706 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7707 (__ASSUME_SOCKETCALL): Define.
7708 (__ASSUME_ACCEPT4): Remove.
7709 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
7711 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7712 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
7714 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7715 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7717 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
7719 (HWCAP_ARM_LPAE): Likewise.
7720 (HWCAP_ARM_EVTSTRM): Likewise.
7721 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
7722 Add vpfd32, lpae and evtstrm.
7723 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
7726 2014-02-19 Joseph Myers <joseph@codesourcery.com>
7728 * math/auto-libm-test-in: Add tests of clog10.
7729 * math/auto-libm-test-out: Regenerated.
7730 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
7731 * sysdeps/i386/fpu/libm-test-ulps: Update.
7732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7734 2014-02-18 Andreas Schwab <schwab@suse.de>
7737 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
7738 Store non-zero if the second buffer was newly allocated.
7739 (send_dg): Likewise.
7740 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
7741 to send_vc and send_dg.
7742 (res_nsend): Pass NULL for ansp2_malloced.
7743 * resolv/res_query.c (__libc_res_nquery): Add parameter
7744 answerp2_malloced and pass it down to __libc_res_nsend.
7745 (res_nquery): Pass additional NULL to __libc_res_nquery.
7746 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
7747 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
7748 second answer buffer if answerp2_malloced was set.
7749 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
7750 (__libc_res_nquerydomain): Add parameter
7751 answerp2_malloced and pass it down to __libc_res_nquery.
7752 (res_nquerydomain): Pass additional NULL to
7753 __libc_res_nquerydomain.
7754 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
7755 additional NULL to __libc_res_nsend and __libc_res_nquery.
7756 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
7757 additional NULL to __libc_res_nsearch.
7758 (_nss_dns_gethostbyname4_r): Revert last change. Use new
7759 parameter of __libc_res_nsearch to check for separately allocated
7761 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
7763 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
7764 additional NULL to __libc_res_nquery.
7765 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
7767 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
7768 * include/resolv.h: Update prototypes of __libc_res_nquery,
7769 __libc_res_nsearch, __libc_res_nsend.
7771 2014-02-18 Joseph Myers <joseph@codesourcery.com>
7773 * math/auto-libm-test-in: Add tests of fma.
7774 * math/auto-libm-test-out: Regenerated.
7775 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
7776 (fma_towardzero_test_data): Likewise.
7777 (fma_downward_test_data): Likewise.
7778 (fma_upward_test_data): Likewise.
7779 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
7781 (rounding_modes): Add values for new field.
7782 (func_calc_method): Add value mpfr_fff_f.
7783 (func_calc_desc): Add mpfr_fff_f union field.
7784 (test_function): Add field exact_args.
7785 (FUNC): Add macro argument EXACT_ARGS.
7786 (FUNC_mpfr_f_f): Update call to FUNC.
7787 (FUNC_mpfr_f_f): Likewise.
7788 (FUNC_mpfr_ff_f): Likewise.
7789 (FUNC_mpfr_if_f): Likewise.
7790 (FUNC_mpc_c_f): Likewise.
7791 (FUNC_mpc_c_c): Likewise.
7792 (test_functions): Add fma. Update calls to FUNC.
7793 (handle_input_arg): Add argument exact_args.
7794 (add_test): Update call to handle_input_arg.
7795 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
7796 (output_for_one_input_case): Update call to calc_generic_results.
7797 Recalculate exact zero results in each rounding mode.
7799 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
7800 non-negative before setting low bit.
7801 * math/auto-libm-test-in: Mark one asin test possibly having
7803 * math/auto-libm-test-out: Regenerated.
7804 * sysdeps/i386/fpu/libm-test-ulps: Update.
7805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7807 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
7809 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
7810 * sysdeps/unix/sysv/linux/microblaze: Move directory from
7811 ports/sysdeps/unix/sysv/linux/microblaze.
7812 * README: Add missing listing for microblaze*-*-linux-gnu.
7814 2014-02-16 Mike Frysinger <vapier@gentoo.org>
7816 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
7817 * sysdeps/unix/sysv/linux/ia64: Move directory from
7818 ports/sysdeps/unix/sysv/linux/ia64.
7819 * README: Update listing for ia64-*-linux-gnu.
7821 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
7822 Joseph Myers <joseph@codesourcery.com>
7824 * Makeconfig (test-name): New variable.
7825 (evaluate-test): Likewise.
7826 * Makerules (do-test-clean): Remove .test-result files.
7827 (common-mostlyclean): Likewise.
7828 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
7829 * scripts/evaluate-test.sh: New file.
7831 2014-02-14 Joseph Myers <joseph@codesourcery.com>
7833 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
7834 separate $(objpfx)tst-fopenloc-cmp.out and
7835 $(objpfx)tst-fopenloc-mem.out targets.
7836 (tests): Update dependencies.
7837 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
7838 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
7839 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
7840 (tst-rxspencer-no-utf8-ARGS): New variable.
7841 (tst-rxspencer-no-utf8-ENV): Likewise.
7842 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
7843 instead of $(objpfx)tst-rxspencer-mem.
7844 ($(objpfx)tst-rxspencer-mem): Change target to
7845 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
7846 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
7847 * posix/tst-rxspencer-no-utf8.c: New file.
7849 * elf/Makefile ($(objpfx)order.out): Remove rule.
7850 [$(run-built-tests) = yes] (tests): Depend on
7851 $(objpfx)order-cmp.out.
7852 ($(objpfx)order-cmp.out): New rule.
7853 [$(run-built-tests) = yes] (tests): Depend on
7854 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
7855 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
7856 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
7857 $(objpfx)tst-array5-static-cmp.out.
7858 ($(objpfx)tst-array1.out): Remove rule.
7859 ($(objpfx)tst-array1-cmp.out): New rule.
7860 ($(objpfx)tst-array1-static.out): Remove rule.
7861 ($(objpfx)tst-array1-static-cmp.out): New rule.
7862 ($(objpfx)tst-array2.out): Remove rule.
7863 ($(objpfx)tst-array2-cmp.out): New rule.
7864 ($(objpfx)tst-array3.out): Remove rule.
7865 ($(objpfx)tst-array3-cmp.out): New rule.
7866 ($(objpfx)tst-array4.out): Remove rule.
7867 ($(objpfx)tst-array4-cmp.out): New rule.
7868 ($(objpfx)tst-array5.out): Remove rule.
7869 ($(objpfx)tst-array5-cmp.out): New rule.
7870 ($(objpfx)tst-array5-static.out): Remove rule.
7871 ($(objpfx)tst-array5-static-cmp.out): New rule.
7872 [$(run-built-tests) = yes] (tests): Depend on
7873 $(objpfx)order2-cmp.out.
7874 ($(objpfx)order2.out): Remove rule.
7875 ($(objpfx)order2-cmp.out): New rule.
7876 ($(objpfx)tst-initorder.out): Remove rule.
7877 [$(run-built-tests) = yes] (tests): Depend on
7878 $(objpfx)tst-initorder-cmp.out.
7879 ($(objpfx)tst-initorder-cmp.out): New rule.
7880 ($(objpfx)tst-initorder2.out): Remove rule.
7881 [$(run-built-tests) = yes] (tests): Depend on
7882 $(objpfx)tst-initorder2-cmp.out.
7883 ($(objpfx)tst-initorder2-cmp.out): New rule.
7884 [$(run-built-tests) = yes] (tests): Depend on
7885 $(objpfx)tst-unused-dep-cmp.out.
7886 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
7887 ($(objpfx)tst-unused-dep-cmp.out): New rule.
7888 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
7889 on $(objpfx)tst-setvbuf1-cmp.out.
7890 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
7891 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
7892 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
7893 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
7894 ($(objpfx)tst-svc.out): Remove rule.
7895 ($(objpfx)tst-svc-cmp.out): New rule.
7897 2014-02-13 Joseph Myers <joseph@codesourcery.com>
7899 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
7900 * ctype/ctype.h [__USE_MISC]: Likewise.
7901 * dirent/dirent.h [__USE_MISC]: Likewise.
7902 * grp/grp.h [__USE_MISC]: Likewise.
7903 * io/fcntl.h [__USE_MISC]: Likewise.
7904 * io/sys/stat.h [__USE_MISC]: Likewise.
7905 * libio/stdio.h [__USE_MISC]: Likewise.
7906 * posix/unistd.h [__USE_MISC]: Likewise.
7907 * pwd/pwd.h [__USE_MISC]: Likewise.
7908 * stdlib.h [__USE_MISC]: Likewise.
7909 * string/bits/string2.h [__USE_MISC]: Likewise.
7910 * string/string.h [__USE_MISC]: Likewise.
7911 * time/time.h [__USE_MISC]: Likewise.
7913 2014-02-13 Andreas Schwab <schwab@suse.de>
7916 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
7917 second answer buffer if it was separately allocated.
7919 2014-02-12 Joseph Myers <joseph@codesourcery.com>
7921 * sysdeps/mips/math-tests.h: Include <features.h>.
7922 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7923 (ROUNDING_TESTS_long_double): Do not define.
7924 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7925 (EXCEPTION_TESTS_long_double): Likewise.
7926 * sysdeps/mips/mips64/libm-test-ulps: Update.
7928 * include/features.h (__USE_BSD): Remove macro definitions.
7929 (__USE_SVID): Likewise.
7930 (_BSD_SOURCE): Likewise.
7931 (_SVID_SOURCE): Likewise.
7932 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
7933 from definition of _DEFAULT_SOURCE.
7934 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
7936 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
7937 * bits/mman.h [__USE_BSD]: Likewise.
7938 * bits/termios.h [__USE_BSD]: Likewise.
7939 * bits/waitstatus.h [__USE_BSD]: Likewise.
7940 * ctype/ctype.h [__USE_SVID]: Likewise.
7941 * dirent/dirent.h [__USE_BSD]: Likewise.
7942 * grp/grp.h [__USE_SVID]: Likewise.
7943 [__USE_BSD]: Likewise.
7944 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
7945 * io/fcntl.h [__USE_BSD]: Likewise.
7946 * io/ftw.h [__USE_BSD]: Likewise.
7947 * io/sys/stat.h [__USE_BSD]: Likewise.
7948 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
7949 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
7950 * libio/stdio.h [__USE_SVID]: Likewise.
7951 [__USE_BSD]: Likewise.
7952 * math/math.h [__USE_SVID]: Likewise.
7953 [__USE_BSD]: Likewise.
7954 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
7955 * misc/bits/syslog.h [__USE_BSD]: Likewise.
7956 * misc/search.h [__USE_SVID]: Likewise.
7957 * misc/sys/mman.h [__USE_BSD]: Likewise.
7958 * misc/sys/syslog.h [__USE_BSD]: Likewise.
7959 * misc/sys/uio.h [__USE_BSD]: Likewise.
7960 * posix/bits/unistd.h [__USE_BSD]: Likewise.
7961 * posix/glob.h [__USE_BSD]: Likewise.
7962 * posix/regex.h [__USE_BSD]: Likewise.
7963 * posix/sys/types.h [__USE_BSD]: Likewise.
7964 [__USE_SVID]: Likewise.
7965 * posix/sys/utsname.h [__USE_SVID]: Likewise.
7966 * posix/sys/wait.h [__USE_BSD]: Likewise.
7967 [__USE_SVID]: Likewise.
7968 * posix/unistd.h [__USE_BSD]: Likewise.
7969 [__USE_SVID]: Likewise.
7970 * pwd/pwd.h [__USE_SVID]: Likewise.
7971 * resolv/netdb.h [__USE_BSD]: Likewise.
7972 * setjmp/setjmp.h [__USE_BSD]: Likewise.
7973 * signal/signal.h [__USE_BSD]: Likewise.
7974 [__USE_SVID]: Likewise.
7975 * socket/sys/socket.h [__USE_BSD]: Likewise.
7976 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
7977 * stdlib/stdlib.h [__USE_BSD]: Likewise.
7978 [__USE_SVID]: Likewise.
7979 * string/bits/string2.h [__USE_BSD]: Likewise.
7980 [__USE_SVID]: Likewise.
7981 * string/bits/string3.h [__USE_BSD]: Likewise.
7982 * string/endian.h [__USE_BSD]: Likewise.
7983 * string/string.h [__USE_SVID]: Likewise.
7984 [__USE_BSD]: Likewise.
7985 * string/strings.h [__USE_BSD]: Likewise.
7986 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
7987 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
7988 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
7989 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
7990 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
7991 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
7993 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
7995 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
7996 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
7998 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
7999 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
8001 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
8003 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
8004 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
8005 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
8007 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
8009 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
8010 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
8011 * termios/termios.h [__USE_BSD]: Likewise.
8012 * time/sys/time.h [__USE_BSD]: Likewise.
8013 * time/time.h [__USE_BSD]: Likewise.
8014 [__USE_SVID]: Likewise.
8016 * Makefile (subdir_targets): Remove subdir_lint.out.
8018 * stdio-common/Makefile (do-tst-unbputc): Remove target.
8019 (do-tst-printf): Likewise.
8020 (tests): Depend directly on $(objpfx)tst-unbputc.out and
8021 $(objpfx)tst-printf.out.
8023 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
8025 * Makerules (check-abi-%): Change target to
8026 $(objpfx)check-abi-%.out.
8027 (check-abi target): Update dependencies.
8028 (check-abi-pattern variable): Redirect output of diff to $@.
8029 (check-abi variable): Likewise.
8030 * elf/Makefile (check-abi): Update dependencies.
8032 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
8034 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
8035 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
8037 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
8038 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
8039 value has largest subnormal exponent.
8040 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
8041 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
8042 * sysdeps/aarch64/soft-fp/sfp-machine.h
8043 (_FP_TININESS_AFTER_ROUNDING): New macro.
8044 * sysdeps/alpha/soft-fp/sfp-machine.h
8045 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8046 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8048 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
8049 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8050 * sysdeps/mips/soft-fp/sfp-machine.h
8051 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8052 * sysdeps/powerpc/soft-fp/sfp-machine.h
8053 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8054 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8056 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8057 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8058 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8059 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8060 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8063 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
8066 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
8069 2014-02-12 Richard Henderson <rth@redhat.com>
8071 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
8072 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
8073 * sysdeps/unix/sysv/linux/alpha: Move directory from
8074 ports/sysdeps/unix/sysv/linux/alpha.
8075 * README: Update listing for alpha-*-linux-gnu.
8077 2014-02-11 Joseph Myers <joseph@codesourcery.com>
8079 * include/features.h: Update comment documenting feature test
8081 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
8083 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
8084 (_SVID_SOURCE): Likewise.
8085 (_DEFAULT_SOURCE): Update description of default features.
8086 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
8088 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
8089 (S_ISVTX): Likewise.
8090 * manual/math.texi (Mathematical Constants): Likewise.
8091 * manual/signal.texi (Interrupted Primitives): Likewise.
8092 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
8093 * math/test-matherr.c (_SVID_SOURCE): Do not define.
8094 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
8095 Don't refer to _SVID_SOURCE in warning text.
8097 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8099 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
8101 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
8102 * sysdeps/mips/dl-lookup.c: Remove.
8103 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
8105 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8108 * math/auto-libm-test-in: Add testcase for expl.
8109 * math/auto-libm-test-out: Regenerate.
8110 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
8111 calculation of unsafe.
8112 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
8114 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
8116 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
8117 * sysdeps/unix/sysv/linux/aarch64: Move directory from
8118 ports/sysdeps/unix/sysv/linux/aarch64.
8119 * README: Update listing for aarch64*-*-linux-gnu.
8121 2014-02-11 Will Newton <will.newton@linaro.org>
8123 * manual/probes.texi (Mathematical Function Probes): Use
8124 "triggered" instead of "hit".
8126 * manual/probes.texi (Internal Probes): Add documentation
8127 of setjmp, longjmp and longjmp_target probes.
8129 * include/stap-probe.h: Add comment about probe argument
8132 * malloc/mtrace.c (attribute_hidden): Remove unused macro
8133 definition. (tr_where, tr_freehook, tr_mallochook,
8134 tr_reallochook, tr_memalignhook): Use ANSI protoype.
8136 2014-02-11 David S. Miller <davem@davemloft.net>
8138 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
8139 processing int_tests.
8141 2014-02-10 Joseph Myers <joseph@codesourcery.com>
8143 * sysdeps/mips: Move directory from ports/sysdeps/mips.
8144 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
8145 * sysdeps/unix/sysv/linux/mips: Move directory from
8146 ports/sysdeps/unix/sysv/linux/mips.
8147 * README: Update listing for mips-*-linux-gnu and
8150 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
8152 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
8153 * sysdeps/unix/sysv/linux/m68k: Move directory from
8154 ports/sysdeps/unix/sysv/linux/m68k.
8155 * README: Update listing for m68k-*-linux-gnu.
8157 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
8159 * sysdeps/tile: Move directory from ports/sysdeps/tile.
8160 * sysdeps/unix/sysv/linux/generic: Move directory from
8161 ports/sysdeps/unix/sysv/linux/generic.
8162 * sysdeps/unix/sysv/linux/tile: Move directory from
8163 ports/sysdeps/unix/sysv/linux/tile.
8164 * README: Update listing for tile*-*-linux-gnu.
8166 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
8168 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
8170 * benchtests/bench-memmem.c (simple_memmem): Likewise.
8171 * catgets/open_catalog.c (__open_catalog): Likewise.
8172 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
8173 * debug/confstr_chk.c: Likewise.
8174 * debug/fread_chk.c (__fread_chk): Likewise.
8175 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
8176 * debug/getgroups_chk.c: Likewise.
8177 * debug/mbsnrtowcs_chk.c: Likewise.
8178 * debug/mbsrtowcs_chk.c: Likewise.
8179 * debug/mbstowcs_chk.c: Likewise.
8180 * debug/memcpy_chk.c: Likewise.
8181 * debug/memmove_chk.c: Likewise.
8182 * debug/mempcpy_chk.c: Likewise.
8183 * debug/memset_chk.c: Likewise.
8184 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8185 * debug/strcat_chk.c (__strcat_chk): Likewise.
8186 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
8187 * debug/strncat_chk.c (__strncat_chk): Likewise.
8188 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
8189 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
8190 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
8191 * debug/wcpncpy_chk.c: Likewise.
8192 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8193 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
8194 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
8195 * debug/wcsncpy_chk.c: Likewise.
8196 * debug/wcsnrtombs_chk.c: Likewise.
8197 * debug/wcsrtombs_chk.c: Likewise.
8198 * debug/wcstombs_chk.c: Likewise.
8199 * debug/wmemcpy_chk.c: Likewise.
8200 * debug/wmemmove_chk.c: Likewise.
8201 * debug/wmempcpy_chk.c: Likewise.
8202 * debug/wmemset_chk.c: Likewise.
8203 * dirent/scandirat.c (SCANDIRAT): Likewise.
8204 * dlfcn/dladdr1.c (dladdr1): Likewise.
8205 * dlfcn/dladdr.c (dladdr): Likewise.
8206 * dlfcn/dlclose.c (dlclose_doit): Likewise.
8207 * dlfcn/dlerror.c (__dlerror): Likewise.
8208 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
8209 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8210 * dlfcn/dlopen.c (dlopen_doit): Likewise.
8211 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
8212 * dlfcn/dlsym.c (dlsym_doit): Likewise.
8213 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
8214 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
8215 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
8217 * elf/dl-conflict.c: Likewise.
8218 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
8219 * elf/dl-dst.h: Likewise.
8220 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
8221 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
8222 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
8223 * elf/dl-init.c (call_init, _dl_init): Likewise.
8224 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
8225 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
8226 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
8228 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
8230 * elf/dl-minimal.c (__libc_memalign): Likewise.
8231 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
8232 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8233 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
8234 * elf/dl-sym.c (do_sym): Likewise.
8235 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
8236 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
8237 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
8238 * elf/dl-writev.h (_dl_writev): Likewise.
8239 * elf/ldconfig.c (search_dir): Likewise.
8240 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
8241 (dl_main): Likewise.
8242 * elf/setup-vdso.h (setup_vdso): Likewise.
8243 * grp/compat-initgroups.c (compat_call): Likewise.
8244 * grp/fgetgrent.c (fgetgrent): Likewise.
8245 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
8246 * grp/putgrent.c (putgrent): Likewise.
8247 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8249 * hurd/hurdinit.c: Likewise.
8250 * iconvdata/8bit-gap.c (struct): Likewise.
8251 * iconvdata/ansi_x3.110.c : Likewise.
8252 * iconvdata/big5.c : Likewise.
8253 * iconvdata/big5hkscs.c : Likewise.
8254 * iconvdata/cp1255.c: Likewise.
8255 * iconvdata/cp1258.c : Likewise.
8256 * iconvdata/cp932.c : Likewise.
8257 * iconvdata/euc-cn.c: Likewise.
8258 * iconvdata/euc-jisx0213.c : Likewise.
8259 * iconvdata/euc-jp.c: Likewise.
8260 * iconvdata/euc-jp-ms.c : Likewise.
8261 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
8262 * iconvdata/gb18030.c : Likewise.
8263 * iconvdata/gbbig5.c (const): Likewise.
8264 * iconvdata/gbgbk.c: Likewise.
8265 * iconvdata/gbk.c : Likewise.
8266 * iconvdata/ibm1364.c : Likewise.
8267 * iconvdata/ibm930.c : Likewise.
8268 * iconvdata/ibm932.c: Likewise.
8269 * iconvdata/ibm933.c : Likewise.
8270 * iconvdata/ibm935.c : Likewise.
8271 * iconvdata/ibm937.c : Likewise.
8272 * iconvdata/ibm939.c : Likewise.
8273 * iconvdata/ibm943.c: Likewise.
8274 * iconvdata/iso_11548-1.c: Likewise.
8275 * iconvdata/iso-2022-cn.c : Likewise.
8276 * iconvdata/iso-2022-cn-ext.c : Likewise.
8277 * iconvdata/iso-2022-jp-3.c: Likewise.
8278 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
8279 * iconvdata/iso-2022-kr.c : Likewise.
8280 * iconvdata/iso646.c (gconv_end): Likewise.
8281 * iconvdata/iso_6937-2.c : Likewise.
8282 * iconvdata/iso_6937.c : Likewise.
8283 * iconvdata/iso8859-1.c: Likewise.
8284 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
8285 * iconvdata/shift_jisx0213.c : Likewise.
8286 * iconvdata/sjis.c : Likewise.
8287 * iconvdata/t.61.c : Likewise.
8288 * iconvdata/tcvn5712-1.c : Likewise.
8289 * iconvdata/tscii.c: Likewise.
8290 * iconvdata/uhc.c : Likewise.
8291 * iconvdata/unicode.c (gconv_end): Likewise.
8292 * iconvdata/utf-16.c (gconv_end): Likewise.
8293 * iconvdata/utf-32.c (gconv_end): Likewise.
8294 * iconvdata/utf-7.c (base64): Likewise.
8295 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8296 * iconv/gconv_close.c (__gconv_close): Likewise.
8297 * iconv/gconv_open.c (__gconv_open): Likewise.
8298 * iconv/gconv_simple.c (internal_ucs4_loop_single)
8299 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
8300 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
8301 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
8302 (ucs4le_internal_loop_single): Likewise.
8303 * iconv/iconv.c (iconv): Likewise.
8304 * iconv/iconv_close.c: Likewise.
8305 * iconv/loop.c (SINGLE): Likewise.
8306 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
8307 * include/atomic.h: Likewise.
8308 * inet/inet6_option.c (option_alloc): Likewise.
8309 * intl/bindtextdom.c (set_binding_values): Likewise.
8310 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
8311 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8312 * intl/localealias.c (read_alias_file): Likewise.
8313 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8314 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
8315 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
8316 * libio/fmemopen.c (fmemopen): Likewise.
8317 * libio/iofgets.c (_IO_fgets): Likewise.
8318 * libio/iofgets_u.c (fgets_unlocked): Likewise.
8319 * libio/iofgetws.c (fgetws): Likewise.
8320 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8321 * libio/iogetdelim.c (_IO_getdelim): Likewise.
8322 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
8323 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
8324 * locale/findlocale.c (_nl_find_locale): Likewise.
8325 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8326 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
8328 * locale/setlocale.c (setlocale): Likewise.
8329 * login/programs/pt_chown.c (main): Likewise.
8330 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
8331 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
8332 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
8333 (mmap, mmap64, mremap, munmap): Likewise.
8334 * math/e_exp2l.c: Likewise.
8335 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
8336 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
8337 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
8338 * math/s_catan.c (__catan): Likewise.
8339 * math/s_catanf.c (__catanf): Likewise.
8340 * math/s_catanh.c (__catanh): Likewise.
8341 * math/s_catanhf.c (__catanhf): Likewise.
8342 * math/s_catanhl.c (__catanhl): Likewise.
8343 * math/s_catanl.c (__catanl): Likewise.
8344 * math/s_ccosh.c (__ccosh): Likewise.
8345 * math/s_ccoshf.c (__ccoshf): Likewise.
8346 * math/s_ccoshl.c (__ccoshl): Likewise.
8347 * math/s_cexp.c (__cexp): Likewise.
8348 * math/s_cexpf.c (__cexpf): Likewise.
8349 * math/s_cexpl.c (__cexpl): Likewise.
8350 * math/s_clog10.c (__clog10): Likewise.
8351 * math/s_clog10f.c (__clog10f): Likewise.
8352 * math/s_clog10l.c (__clog10l): Likewise.
8353 * math/s_clog.c (__clog): Likewise.
8354 * math/s_clogf.c (__clogf): Likewise.
8355 * math/s_clogl.c (__clogl): Likewise.
8356 * math/s_csin.c (__csin): Likewise.
8357 * math/s_csinf.c (__csinf): Likewise.
8358 * math/s_csinh.c (__csinh): Likewise.
8359 * math/s_csinhf.c (__csinhf): Likewise.
8360 * math/s_csinhl.c (__csinhl): Likewise.
8361 * math/s_csinl.c (__csinl): Likewise.
8362 * math/s_csqrt.c (__csqrt): Likewise.
8363 * math/s_csqrtf.c (__csqrtf): Likewise.
8364 * math/s_csqrtl.c (__csqrtl): Likewise.
8365 * math/s_ctan.c (__ctan): Likewise.
8366 * math/s_ctanf.c (__ctanf): Likewise.
8367 * math/s_ctanh.c (__ctanh): Likewise.
8368 * math/s_ctanhf.c (__ctanhf): Likewise.
8369 * math/s_ctanhl.c (__ctanhl): Likewise.
8370 * math/s_ctanl.c (__ctanl): Likewise.
8371 * math/w_pow.c: Likewise.
8372 * math/w_powf.c: Likewise.
8373 * math/w_powl.c: Likewise.
8374 * math/w_scalb.c (sysv_scalb): Likewise.
8375 * math/w_scalbf.c (sysv_scalbf): Likewise.
8376 * math/w_scalbl.c (sysv_scalbl): Likewise.
8377 * misc/error.c (error_tail): Likewise.
8378 * misc/pselect.c (__pselect): Likewise.
8379 * nis/nis_callback.c (__nis_create_callback): Likewise.
8380 * nis/nis_call.c (__nisfind_server): Likewise.
8381 * nis/nis_creategroup.c (nis_creategroup): Likewise.
8382 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
8383 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
8384 * nis/nis_getservlist.c (nis_getservlist): Likewise.
8385 * nis/nis_lookup.c (nis_lookup): Likewise.
8386 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
8387 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
8388 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
8389 * nis/nis_xdr.c (xdr_endpoint): Likewise.
8390 * nis/nss_compat/compat-grp.c (getgrent_next_file)
8391 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
8392 * nis/nss_compat/compat-initgroups.c (add_group)
8393 (internal_getgrent_r): Likewise.
8394 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
8395 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
8396 * nis/nss_compat/compat-spwd.c (getspent_next_file)
8397 (internal_getspnam_r): Likewise.
8398 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
8399 (_nss_nis_getaliasbyname_r): Likewise.
8400 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
8401 (_nss_nis_getntohost_r): Likewise.
8402 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
8403 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
8404 (_nss_nis_getgrgid_r): Likewise.
8405 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
8406 (internal_nis_gethostent_r, internal_gethostbyname2_r)
8407 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
8408 (_nss_nis_gethostbyname4_r): Likewise.
8409 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
8410 (initgroups_netid): Likewise.
8411 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
8412 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
8413 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
8414 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
8415 (_nss_nis_getprotobynumber_r): Likewise.
8416 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
8417 (_nss_nis_getsecretkey): Likewise.
8418 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
8419 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
8420 (_nss_nis_getpwuid_r): Likewise.
8421 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
8422 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
8423 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
8424 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
8425 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
8426 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
8427 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
8429 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
8430 (_nss_nisplus_getntohost_r): Likewise.
8431 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
8432 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
8433 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
8434 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
8436 * nis/nss_nisplus/nisplus-initgroups.c
8437 (_nss_nisplus_initgroups_dyn): Likewise.
8438 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
8439 (_nss_nisplus_getnetbyaddr_r): Likewise.
8440 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
8441 (_nss_nisplus_getprotobynumber_r): Likewise.
8442 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
8443 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
8444 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
8446 * nis/nss_nisplus/nisplus-service.c
8447 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
8448 (_nss_nisplus_getservbyport_r): Likewise.
8449 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
8450 (_nss_nisplus_getspnam_r): Likewise.
8451 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
8453 * nscd/aicache.c (addhstaiX): Likewise.
8454 * nscd/cache.c (cache_search, prune_cache): Likewise.
8455 * nscd/connections.c (register_traced_file, send_ro_fd)
8456 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
8457 (main_loop_epoll): Likewise.
8458 * nscd/grpcache.c (addgrbyX): Likewise.
8459 * nscd/hstcache.c (addhstbyX): Likewise.
8460 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8461 * nscd/mem.c (gc, mempool_alloc): Likewise.
8462 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
8463 (addinnetgrX): Likewise.
8464 * nscd/nscd-client.h (__nscd_acquire_maplock)
8465 (__nscd_drop_map_ref): Likewise.
8466 * nscd/nscd_getai.c (__nscd_getai): Likewise.
8467 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8468 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
8470 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
8471 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8472 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
8473 (__nscd_get_map_ref): Likewise.
8474 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
8475 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
8477 * nscd/pwdcache.c (addpwbyX): Likewise.
8478 * nscd/selinux.c (preserve_capabilities): Likewise.
8479 * nscd/servicescache.c (addservbyX): Likewise.
8480 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
8481 * posix/fnmatch.c (fnmatch): Likewise.
8482 * posix/getopt.c (_getopt_internal_r): Likewise.
8483 * posix/glob.c (glob, glob_in_dir): Likewise.
8484 * posix/wordexp.c (exec_comm_child): Likewise.
8485 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
8486 (getanswer_r, gaih_getanswer_slice): Likewise.
8487 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
8488 * resolv/res_init.c: Likewise.
8489 * resolv/res_mkquery.c (res_nmkquery): Likewise.
8490 * resolv/res_query.c (__libc_res_nquery): Likewise.
8491 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
8493 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
8494 * stdio-common/perror.c (perror): Likewise.
8495 * stdio-common/printf_fp.c (___printf_fp): Likewise.
8496 * stdio-common/tmpnam.c (tmpnam): Likewise.
8497 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8498 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
8499 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8501 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8502 * stdlib/putenv.c (putenv): Likewise.
8503 * stdlib/setenv.c (__add_to_environ): Likewise.
8504 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8505 * stdlib/strtol_l.c (INTERNAL): Likewise.
8506 * string/memmem.c (memmem): Likewise.
8507 * string/strerror.c (strerror): Likewise.
8508 * string/strnlen.c (__strnlen): Likewise.
8509 * string/test-memmem.c (simple_memmem): Likewise.
8510 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
8511 * sunrpc/pm_getport.c (__get_socket): Likewise.
8512 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
8513 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8514 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
8515 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
8517 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8518 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8519 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
8520 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
8521 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
8522 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
8524 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
8526 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
8527 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8528 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8529 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8530 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8531 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
8532 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8533 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
8534 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
8535 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8536 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8537 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
8539 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
8541 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
8543 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
8544 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8545 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
8546 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
8547 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8548 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
8549 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8550 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
8551 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
8552 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
8553 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
8554 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8555 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8556 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
8557 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8558 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8560 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
8562 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
8564 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
8566 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8567 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8568 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
8570 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
8571 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
8572 * sysdeps/posix/opendir.c (__opendirat): Likewise.
8573 * sysdeps/posix/sleep.c: Likewise.
8574 * sysdeps/posix/tempname.c: Likewise.
8575 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
8576 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8578 * sysdeps/powerpc/powerpc32/dl-machine.h
8579 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
8580 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8581 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8582 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
8583 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
8585 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
8586 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
8587 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8588 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
8589 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8590 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
8591 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
8592 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
8593 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8594 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
8595 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
8596 (elf_machine_lazy_rel): Likewise.
8597 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8598 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
8599 (elf_machine_lazy_rel): Likewise.
8600 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
8601 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
8602 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
8603 * sysdeps/unix/grantpt.c (grantpt): Likewise.
8604 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
8605 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
8606 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
8607 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8609 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8610 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8611 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
8612 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
8613 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8614 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8615 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
8616 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
8617 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
8618 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8619 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8621 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
8622 (__posix_fallocate64_l64): Likewise.
8623 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
8624 (posix_fallocate): Likewise.
8625 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8627 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8628 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
8629 (getifaddrs_internal): Likewise.
8630 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
8631 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
8632 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8633 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8634 * sysdeps/unix/sysv/linux/posix_fallocate64.c
8635 (__posix_fallocate64_l64): Likewise.
8636 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8638 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
8639 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8640 (__get_clockfreq): Likewise.
8641 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
8642 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
8643 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
8644 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8645 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8646 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
8647 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8648 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
8650 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
8651 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
8652 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8653 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
8654 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8655 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
8656 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
8658 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8659 (posix_fallocate): Likewise.
8660 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8661 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8662 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
8663 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
8664 (elf_machine_rela, elf_machine_rela_relative)
8665 (elf_machine_lazy_rel): Likewise.
8666 * time/asctime.c (asctime_internal): Likewise.
8667 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
8668 * time/tzset.c (__tzset_parse_tz): Likewise.
8669 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8670 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8671 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
8672 * wcsmbs/wcsmbsload.h: Likewise.
8675 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
8677 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
8678 (arena_get2): Remove THREAD_STATS conditionals.
8679 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
8680 (__malloc_stats, int): Likewise.
8682 2014-02-08 Mike Frysinger <vapier@gentoo.org>
8684 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
8685 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
8687 * manual/setjmp.texi: Fix typos/grammar errors.
8689 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
8690 Only return early when n is <= 0. Delete unused return statement.
8692 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
8693 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
8694 * debug/tst-longjmp_chk3.c: New file.
8696 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
8697 (test_main): Replace code with set_fortify_handler call.
8698 * debug/test-strcpy_chk.c: Likewise.
8699 * debug/tst-chk1.c: Likewise.
8700 * debug/tst-longjmp_chk.c: Likewise.
8701 * test-skeleton.c: Include fcntl.h & paths.h
8702 (set_fortify_handler): Define.
8704 * debug/tst-longjmp_chk.c: Add header comment and include
8706 (do_test): Mark static.
8707 (TEST_FUNCTION): Define.
8709 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
8710 (IP_PMTUDISC_INTERFACE): Likewise.
8711 (IP_MULTICAST_IF): Likewise.
8712 (IP_MULTICAST_TTL): Likewise.
8713 (IP_MULTICAST_LOOP): Likewise.
8714 (IP_ADD_MEMBERSHIP): Likewise.
8715 (IP_DROP_MEMBERSHIP): Likewise.
8716 (IP_UNBLOCK_SOURCE): Likewise.
8717 (IP_BLOCK_SOURCE): Likewise.
8718 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
8719 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
8720 (IP_MSFILTER): Likewise.
8721 (MCAST_JOIN_GROUP): Likewise.
8722 (MCAST_BLOCK_SOURCE): Likewise.
8723 (MCAST_UNBLOCK_SOURCE): Likewise.
8724 (MCAST_LEAVE_GROUP): Likewise.
8725 (MCAST_JOIN_SOURCE_GROUP): Likewise.
8726 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8727 (MCAST_MSFILTER): Likewise.
8728 (IP_MULTICAST_ALL): Likewise.
8729 (IP_UNICAST_IF): Likewise.
8731 * timezone/Makefile: Delete $(have-ksh) check.
8732 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
8733 * timezone/tzselect.ksh: Add +x mode bits.
8735 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
8736 (ANON_INODE_FS_MAGIC): Likewise.
8737 (BDEVFS_MAGIC): Likewise.
8738 (BINFMTFS_MAGIC): Likewise.
8739 (BTRFS_TEST_MAGIC): Likewise.
8740 (CRAMFS_MAGIC_WEND): Likewise.
8741 (DEBUGFS_MAGIC): Likewise.
8742 (ECRYPTFS_SUPER_MAGIC): Likewise.
8743 (EXT3_SUPER_MAGIC): Likewise.
8744 (EXT4_SUPER_MAGIC): Likewise.
8745 (FUTEXFS_SUPER_MAGIC): Likewise.
8746 (HOSTFS_SUPER_MAGIC): Likewise.
8747 (HUGETLBFS_MAGIC): Likewise.
8748 (MINIX3_SUPER_MAGIC): Likewise.
8749 (MTD_INODE_FS_MAGIC): Likewise.
8750 (NILFS_SUPER_MAGIC): Likewise.
8751 (OPENPROM_SUPER_MAGIC): Likewise.
8752 (PIPEFS_MAGIC): Likewise.
8753 (PSTOREFS_MAGIC): Likewise.
8754 (QNX6_SUPER_MAGIC): Likewise.
8755 (RAMFS_MAGIC): Likewise.
8756 (REISERFS_SUPER_MAGIC_STRING): Likewise.
8757 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
8758 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
8759 (SECURITYFS_MAGIC): Likewise.
8760 (SELINUX_MAGIC): Likewise.
8761 (SMACK_MAGIC): Likewise.
8762 (SOCKFS_MAGIC): Likewise.
8763 (SQUASHFS_MAGIC): Likewise.
8764 (STACK_END_MAGIC): Likewise.
8765 (TMPFS_MAGIC): Likewise.
8766 (USBDEVICE_SUPER_MAGIC): Likewise.
8767 (V9FS_MAGIC): Likewise.
8768 (XENFS_SUPER_MAGIC): Likewise.
8769 (CRAMFS_MAGIC): Fix typo in comment.
8770 (EXT2_SUPER_MAGIC): Update comment.
8771 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
8773 2014-02-08 Joseph Myers <joseph@codesourcery.com>
8775 * sysdeps/arm: Move directory from ports/sysdeps/arm.
8776 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
8777 * sysdeps/unix/sysv/linux/arm: Move directory from
8778 ports/sysdeps/unix/sysv/linux/arm.
8779 * README: Update listing for arm-*-linux-gnueabi.
8781 * README: Remove mention of am33.
8783 2014-02-07 Roland McGrath <roland@hack.frob.com>
8785 * bits/sigset.h (__sigemptyset): Use a statement expression rather
8786 than the comma operator, to avoid "rhs of comma has no effect"
8788 (__sigfillset, __sigandset, __sigorset): Likewise.
8789 * include/signal.h (__sigemptyset): Likewise.
8790 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
8792 2014-02-07 Allan McRae <allan@archlinux.org>
8794 * version.h (RELEASE): Set to "development".
8795 (VERSION): Set to "2.19.90"
8796 * NEWS: Add 2.20 section.
8798 2014-02-06 Carlos O'Donell <carlos@redhat.com>
8801 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
8803 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8805 * manual/contrib.texi: Update entry for Carlos O'Donell,
8806 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
8808 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
8810 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
8812 * sysdeps/unix/sysv/linux/kernel-features.h
8813 [__LINUX_KERNEL_VERSION >= 0x020621]
8814 (__ASSUME_PROC_PID_TASK_COMM): Define.
8816 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8819 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
8820 conversion when destination buffer does not have enough space.
8821 * libio/tst-ftell-partial-wide.c: New test case.
8822 * libio/Makefile (tests): Add tst-ftell-partial-wide.
8824 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
8825 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
8826 Leonard and Allan McRae.
8828 2014-02-04 David S. Miller <davem@davemloft.net>
8830 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
8833 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8862 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8864 * nptl/shlib-versions: Change powerpc*le start to 2.17.
8865 * shlib-versions: Likewise.
8867 2014-02-04 Roland McGrath <roland@hack.frob.com>
8868 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8870 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
8871 (abilist-pattern): New variable, set to %-le.abilist.
8873 * Makerules (abilist-pattern): New variable.
8874 (vpath): Use $(abilist-pattern) in place of %.abilist.
8875 (check-abi-% pattern rule): Likewise.
8876 (check-abi, update-abi): Likewise.
8878 2014-02-04 Eric Wong <normalperson@yhbt.net>
8880 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8882 2014-02-03 Carlos O'Donell <carlos@redhat.com>
8884 * manual/startup.texi: Add next, previous, and top entries for
8885 the `Program Arguments' and `Environment Variables' nodes.
8887 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
8889 * manual/macros.texi: Add comments before MTASC-safety macros.
8891 * manual/users.texi: Document MTASC-safety properties.
8893 * manual/threads.texi (pthread_key_create, pthread_key_delete)
8894 (pthread_getspecific, pthread_setspecific): Format with
8895 @deftypefun, and add @safety note.
8896 * manual/signal.texi: Move comments that analyze the above
8897 functions to their home place.
8899 2014-02-03 Allan McRae <allan@archlinux.org>
8901 * po/sl.po: Update Slovenian translation from translation project.
8903 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
8905 * manual/time.texi (timegm): Add missing blank after @c.
8906 Reported by Joseph Myers <joseph@codesourcery.com>.
8908 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
8910 * manual/check-safety.sh: New.
8911 * manual/Makefile ($(objpfx)stamp-summary): Run it.
8913 * manual/terminal.texi: Document MTASC-safety properties.
8915 * manual/filesys.texi: Document MTASC-safety properties.
8917 * manual/errno.texi: Document MTASC-safety properties.
8919 * manual/intro.texi: Document safety identifiers and
8922 * manual/string.texi (wcstok): Fix prototype.
8923 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
8925 * manual/time.texi: Document MTASC-safety properties.
8927 * manual/string.texi: Document MTASC-safety properties.
8929 * manual/threads.texi: Document MTASC-safety properties.
8931 * manual/stdio.texi: Document MTASC-safety properties.
8933 * manual/syslog.texi: Document MTASC-safety properties.
8935 * manual/sysinfo.texi: Document MTASC-safety properties.
8937 * manual/startup.texi: Document MTASC-safety properties.
8939 * manual/socket.texi: Document MTASC-safety properties.
8941 * manual/signal.texi: Document MTASC-safety properties.
8943 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
8945 * manual/setjmp.texi: Document MTASC-safety properties.
8947 * manual/search.texi: Document MTASC-safety properties.
8949 * manual/resource.texi: Document MTASC-safety properties.
8951 * manual/process.texi: Document MTASC-safety properties.
8953 * manual/platform.texi: Document MTASC-safety properties.
8955 * manual/pipe.texi: Document MTASC-safety properties.
8957 * manual/pattern.texi: Document MTASC-safety properties.
8959 * manual/message.texi: Document MTASC-safety properties.
8962 * manual/memory.texi: Document MTASC-safety properties.
8964 * manual/math.texi: Document MTASC-safety properties.
8966 * manual/locale.texi: Document MTASC-safety properties.
8968 * manual/llio.texi: Document MTASC-safety properties.
8970 * manual/libdl.texi: New.
8972 * manual/lang.texi: Document MTASC-safety properties.
8974 * manual/job.texi: Document MTASC-safety properties.
8976 * manual/getopt.texi: Document MTASC-safety properties.
8978 * manual/ctype.texi: Document MTASC-safety properties.
8980 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
8983 * csu/libc-tls.c (static_map): Remove variable.
8984 (__libc_setup_tls): Use main executable's link map for TLS data.
8985 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
8986 casing for LM_ID_BASE and GL(dl_nns).
8987 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
8988 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
8989 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
8990 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
8991 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
8993 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
8996 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
8998 * manual/debug.texi: Document MTASC-safety properties.
9000 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
9003 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
9004 of __x86_64__ when disabling x87 inline functions.
9006 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
9008 * manual/charset.texi: Document MTASC-safety properties.
9010 * manual/crypt.texi: Document MTASC-safety properties.
9012 * manual/conf.texi: Document MTASC-safety properties.
9014 * manual/arith.texi: Document MTASC-safety properties.
9016 * manual/argp.texi: Document MTASC-safety properties.
9018 * manual/macros.texi: Introduce macros to document multi
9019 thread, asynchronous signal and asynchronous cancellation
9021 * manual/intro.texi: Introduce the properties themselves.
9023 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9025 * sysdeps/sh/sh4/Makefile: New file.
9027 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
9029 * math/gen-libm-test.pl ($srcdir): New variable.
9030 ($auto_input): Use it.
9032 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9035 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
9036 access beyond array bounds when parsing netgroups file.
9038 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
9039 the old buffer before realloc.
9041 2014-01-27 Allan McRae <allan@archlinux.org>
9043 * po/fr.po: Update French translation from translation project.
9045 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9047 * sysdeps/sh/libm-test-ulps: Regenerate.
9049 2014-01-24 David S. Miller <davem@davemloft.net>
9051 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
9053 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9055 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
9056 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
9058 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9061 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
9062 string pointers after reallocation.
9064 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9066 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
9067 __SH4A__ instead of __SH_FPU_ANY__.
9069 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9071 * sysdeps/sh/fpu_control.h: New file.
9072 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
9073 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
9074 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
9075 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
9076 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
9077 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
9078 * sysdeps/sh/sys/ucontext.h: Remove.
9079 * sysdeps/sh/sys: Remove directory.
9081 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9083 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
9084 s390/sys/ucontext.h.
9085 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
9086 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
9088 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
9091 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
9093 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9096 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9097 Adjust the vDSO correctly for internal calls.
9098 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9100 2014-01-20 Allan McRae <allan@archlinux.org>
9102 * po/ca.po: Update Catalan translation from translation project.
9104 2014-01-16 Mike Frysinger <vapier@gentoo.org>
9106 * sysdeps/s390/sotruss-lib.c: New file.
9108 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9111 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
9112 (__GI___gettimeofday): Alias for a different internal symbol to avoid
9113 local calls issues by not having a PLT stub required for IFUNC calls.
9114 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
9116 2014-01-16 Joseph Myers <joseph@codesourcery.com>
9118 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
9119 * math/test-fpucw-static.c: Likewise.
9121 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9124 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
9126 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9128 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
9129 implementation for powerpc.
9131 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
9134 * sysdeps/posix/system.c (__libc_system): Do not enable
9135 asynchronous cancellation.
9137 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9140 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
9141 handling only for numbers special also in the IEEE case.
9143 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9145 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9147 2014-01-11 Allan McRae <allan@archlinux.org>
9149 * po/bg.po: Update Bulgarian translation from translation project.
9151 * po/de.po: Update German translation from translation project.
9153 2014-01-10 Roland McGrath <roland@hack.frob.com>
9155 * sysdeps/generic/gcc-compat.h: New file.
9157 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9159 * benchtests/asin-inputs: Correct slow inputs.
9160 * benchtests/acos-inputs: Likewise.
9162 2014-01-10 Allan McRae <allan@archlinux.org>
9164 * po:sv.po: Update Swedish translation from translation project.
9166 * po/vi.po: Update Vietnamese translation from translation project.
9168 * po/eo.po: Update Esperanto translation from translation project.
9170 * po/cs.po: Update Czech translation from translation project.
9172 * po/nl.po: Update Dutch translation from translation project.
9174 * po/pl.po: Update Polish translation from translation project.
9176 * po/ru.po: Update Russian translation from translation project.
9178 * po/uk.po: Update Ukrainian translation from translation project.
9180 2014-01-08 Brooks Moses <bmoses@google.com>
9182 * elf/dl-load.c: Fix comment typo.
9184 2014-01-08 Carlos O'Donell <carlos@redhat.com>
9186 * po/header.pot: Rename to...
9187 * po/pot.header: ... this.
9188 * po/Makefile: Use pot.header.
9190 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
9191 Maxim Kuvyrkov <maxim@kugelworks.com>
9194 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
9195 SRC and DEST against LEN.
9197 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9200 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
9202 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
9204 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9206 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9208 2014-01-08 Joseph Myers <joseph@codesourcery.com>
9211 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
9212 for large positive arguments.
9214 2014-01-07 Joseph Myers <joseph@codesourcery.com>
9216 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9218 * math/auto-libm-test-in: Mark various tests with
9219 xfail-rounding:ldbl-128ibm.
9220 * math/auto-libm-test-out: Regenerated.
9223 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9224 Increase overflow threshold.
9226 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
9229 * stdio-common/vfprintf.c: Check for integer overflow.
9231 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9233 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
9234 the first argument and return value of __tls_get_addr_internal.
9236 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9238 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9239 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
9241 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9243 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
9244 * sysdeps/s390/rtld-global-offsets.sym: New file.
9245 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
9247 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
9248 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
9249 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9251 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
9252 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9254 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9258 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
9259 halfs of GPRs for high_gprs contexts.
9260 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
9261 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
9263 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
9265 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
9267 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
9268 for high GPRs (uc_high_gprs) and for future extensions
9270 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
9271 for future extensions (__reserved).
9272 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
9274 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
9275 SC_HIGHGPRS offset definition.
9276 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
9277 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
9279 * Versions.def: Add GLIBC_2.19 for libpthread.
9280 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
9281 siglongjmp for libpthread with GLIBC_2.19 symver.
9282 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
9283 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
9284 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
9285 * sysdeps/s390/__longjmp.c: New file.
9286 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
9287 * sysdeps/s390/longjmp.c: New file.
9288 * sysdeps/s390/setjmp.S: New file.
9289 * sysdeps/s390/sigjmp.S: New file.
9290 * sysdeps/s390/v1-longjmp.c: New file.
9291 * sysdeps/s390/v1-setjmp.h: New file.
9292 * sysdeps/s390/v1-sigjmp.c: New file.
9293 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
9294 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
9296 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
9297 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
9298 versioned symbols for ____longjmp_chk.
9299 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9301 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9303 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9305 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9307 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9309 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
9310 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
9311 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
9312 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
9313 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
9314 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
9315 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
9316 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
9317 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
9318 * sysdeps/s390/rtld-__longjmp.c: New file.
9319 * sysdeps/s390/rtld-setjmp.S: New file.
9321 2014-01-06 Joseph Myers <joseph@codesourcery.com>
9324 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9325 Return -__logl (x) for small positive arguments without evaluating
9328 2014-01-06 Mike Frysinger <vapier@gentoo.org>
9330 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
9332 (__ptrace_peeksiginfo_args): ... this.
9333 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9334 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9335 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9337 2014-01-06 Allan McRae <allan@archlinux.org>
9339 * inet/netinet/in.h: Fix typo in comment.
9341 2014-01-05 Andreas Jaeger <aj@suse.de>
9343 * sysdeps/i386/fpu/libm-test-ulps: Update.
9345 2014-01-05 Allan McRae <allan@archlinux.org>
9347 * po/libc.pot: Regenerated.
9349 * malloc/memusagestat.c: Fix gettext call formatting.
9351 2014-01-04 Sami Kerola <kerolasa@iki.fi>
9353 * nscd/nscd.c: Improve usage() output.
9355 2014-01-04 Mike Frysinger <vapier@gentoo.org>
9357 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
9358 * sysdeps/unix/sysv/linux/configure: Regenerated.
9359 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
9360 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
9362 2014-01-03 Joseph Myers <joseph@codesourcery.com>
9365 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9366 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
9368 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9370 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
9371 extra tokens at end of #undef directive.
9372 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
9373 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
9374 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9376 2014-01-03 Joseph Myers <joseph@codesourcery.com>
9378 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9380 * math/auto-libm-test-in: Mark various tests with
9381 xfail-rounding:ldbl-128ibm.
9382 * math/auto-libm-test-out: Regenerated.
9384 2014-01-02 Joseph Myers <joseph@codesourcery.com>
9387 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
9388 numbers with subnormal high part when calculating exponent.
9391 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
9395 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
9397 (__ieee754_acoshl): Use __log1pl not __log1p.
9399 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
9401 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
9402 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
9403 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
9404 (grow_heap, heap_trim, _int_new_arena, get_free_list)
9405 (reused_arena, arena_get2): Convert to GNU style.
9406 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
9407 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
9408 (memalign_check, __malloc_set_state): Likewise.
9409 * malloc/mallocbug.c (main): Likewise.
9410 * malloc/malloc.c (__malloc_assert, malloc_init_state)
9411 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
9412 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
9413 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
9414 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
9415 (__posix_memalign, malloc_info): Likewise.
9416 * malloc/malloc.h: Likewise.
9417 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
9418 (mallochook, memalignhook, reallochook, mabort): Likewise.
9419 * malloc/mcheck.h: Likewise.
9420 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
9421 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
9422 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
9423 * malloc/morecore.c (__default_morecore): Likewise.
9424 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
9425 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
9426 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
9427 (print_and_abort): Likewise.
9428 * malloc/obstack.h: Likewise.
9429 * malloc/set-freeres.c (__libc_freeres): Likewise.
9430 * malloc/tst-mallocstate.c (main): Likewise.
9431 * malloc/tst-mtrace.c (main): Likewise.
9432 * malloc/tst-realloc.c (do_test): Likewise.
9434 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9437 * nscd/netgroupcache.c (do_notfound): New function.
9438 (addgetnetgrentX): Use it.
9441 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
9442 NSS_STATUS_NOTFOUND.
9444 2014-01-01 Joseph Myers <joseph@codesourcery.com>
9446 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9449 2014-01-01 Allan McRae <allan@archlinux.org>
9451 * scripts/update-copyrights: Update configure input file suffix.
9453 * NEWS: Update copyright year.
9454 * catgets/gencat.c: Likewise.
9455 * csu/version.c: Likewise.
9456 * debug/catchsegv.sh: Likewise.
9457 * debug/pcprofiledump.c: Likewise.
9458 * debug/xtrace.sh: Likewise.
9459 * elf/ldconfig.c: Likewise.
9460 * elf/ldd.bash.in: Likewise.
9461 * elf/pldd.c: Likewise.
9462 * elf/sotruss.ksh: Likewise.
9463 * elf/sprof.c: Likewise.
9464 * iconv/iconv_prog.c: Likewise.
9465 * iconv/iconvconfig.c: Likewise.
9466 * locale/programs/locale.c: Likewise.
9467 * locale/programs/localedef.c: Likewise.
9468 * login/programs/pt_chown.c: Likewise.
9469 * malloc/memusage.sh: Likewise.
9470 * malloc/memusagestat.c: Likewise.
9471 * malloc/mtrace.pl: Likewise.
9472 * manual/libc.texinfo: Likewise.
9473 * nscd/nscd.c: Likewise.
9474 * nss/getent.c: Likewise.
9475 * nss/makedb.c: Likewise.
9476 * posix/getconf.c: Likewise.
9477 * scripts/test-installation.pl: Likewise.
9479 * All files with FSF copyright notices: Update copyright dates
9480 using scripts/update-copyrights.
9481 * intl/plural.c: Regenerated.
9482 * locale/programs/charmap-kw.h: Likewise.
9483 * locale/programs/locfile-kw.h: Likewise.
9485 2013-12-31 Mike Frysinger <vapier@gentoo.org>
9487 * sysdeps/unix/sysv/linux/configure: Regenerated.
9488 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
9489 the linux/fanotify.h header.
9490 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
9491 HAVE_LINUX_FANOTIFY_H is defined.
9493 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9495 * benchtests/cos-inputs: New inputs.
9496 * benchtests/sin-inputs: Likewise.
9498 * benchtests/atan-inputs: New inputs. Fix name of multiple
9499 precision fallback inputs.
9501 * benchtests/atanh-inputs: New inputs.
9502 * benchtests/tanh-inputs: Likewise.
9504 * benchtests/acosh-inputs: New inputs.
9505 * benchtests/asinh-inputs: Likewise.
9507 * benchtests/cosh-inputs: New inputs.
9508 * benchtests/sinh-inputs: Likewise.
9510 * benchtests/acos-inputs: Add more inputs.
9511 * benchtests/asin-inputs: Likewise.
9513 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
9516 * manual/arith.texi: Fix spelling.
9517 * manual/charset.texi: Likewise.
9518 * manual/errno.texi: Likewise.
9519 * manual/filesys.texi: Likewise.
9520 * manual/lang.texi: Likewise.
9521 * manual/llio.texi: Likewise.
9522 * manual/locale.texi: Likewise.
9523 * manual/message.texi: Likewise.
9524 * manual/resource.texi: Likewise.
9525 * manual/search.texi: Likewise.
9526 * manual/setjmp.texi: Likewise.
9527 * manual/stdio.texi: Likewise.
9528 * manual/string.texi: Likewise.
9529 * manual/sysinfo.texi: Likewise.
9530 * manual/time.texi: Likewise.
9532 2013-12-27 Carlos O'Donell <carlos@redhat.com>
9534 * po/sl.po: New file.
9536 2013-12-27 Mike Frysinger <vapier@gentoo.org>
9538 * .gitignore: Add core/.gdbinit/.gdb_history.
9540 2013-12-27 Allan McRae <allan@archlinux.org>
9543 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
9544 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
9546 2013-12-24 Brooks Moses <bmoses@google.com>
9548 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
9549 all compilers that claim C++98 compliance, not just GCC.
9550 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
9553 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9555 * NEWS: Restore accidentally deleted bug-fix entries.
9557 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9558 Ondřej Bílka <neleai@seznam.cz>
9561 * malloc/malloc.c (_int_free): Perform sanity check only if we
9564 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
9567 * manual/stdio.texi (String Input Conversions): Clarify that character
9568 classes are not supported.
9570 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9572 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9574 2013-12-22 Joseph Myers <joseph@codesourcery.com>
9577 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9578 Calculate results for small negative arguments directly rather
9579 than using reflection formula with special underflow handling.
9581 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
9582 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
9583 sysdeps/unix/bsd/bsd4.4/syscalls.list.
9584 (fchflags): Likewise.
9586 (setlogin): Likewise.
9587 (sigaltstack): Likewise.
9590 (sigsetmask): Likewise.
9592 (waitpid): Likewise.
9593 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
9594 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
9596 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
9597 * sysdeps/unix/bsd/Makefile: ... here.
9598 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
9599 * sysdeps/unix/bsd/Versions: ... here.
9600 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
9601 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
9602 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
9603 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
9604 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
9605 * sysdeps/unix/bsd/sigblock.c: ... here.
9606 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
9607 * sysdeps/unix/bsd/sigsetmask.c: ... here.
9608 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
9609 * sysdeps/unix/bsd/sigvec.c: ... here.
9610 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
9611 * sysdeps/unix/bsd/tcdrain.c: ... here.
9612 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
9613 * sysdeps/unix/bsd/tcgetattr.c: ... here.
9614 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
9615 * sysdeps/unix/bsd/tcsetattr.c: ... here.
9616 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
9617 * sysdeps/unix/bsd/wait.c: ... here.
9618 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
9619 * sysdeps/unix/bsd/wait3.c: ... here.
9620 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
9621 * sysdeps/unix/bsd/waitpid.c: ... here.
9623 2013-12-21 Joseph Myers <joseph@codesourcery.com>
9626 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
9627 round-to-nearest for [!USE_AS_EXPM1L].
9628 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9629 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
9630 more tests of exp and exp10. Expect some exp10 tests to miss
9631 exceptions or fail in directed rounding modes.
9632 * math/auto-libm-test-out: Regenerated.
9633 * math/libm-test.inc (exp10_tonearest_test_data): New array.
9634 (exp10_test_tonearest): New function.
9635 (exp10_towardzero_test_data): New array.
9636 (exp10_test_towardzero): New function.
9637 (exp10_downward_test_data): New array.
9638 (exp10_test_downward): New function.
9639 (exp10_upward_test_data): New array.
9640 (exp10_test_upward): New function.
9641 (main): Call the new functions.
9642 * sysdeps/i386/fpu/libm-test-ulps: Update.
9643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9645 2013-12-20 Joseph Myers <joseph@codesourcery.com>
9647 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9648 asinh, atan, atan2, atanh, cbrt, cos and cosh.
9649 * math/auto-libm-test-out: Regenerated.
9650 * math/libm-test.inc (acosh_test_data): Add more tests.
9651 (atanh_test_data): Likewise.
9652 (ceil_test_data): Likewise.
9653 (copysign_test_data): Likewise.
9654 * sysdeps/i386/fpu/libm-test-ulps: Update.
9655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9657 * timezone/checktab.awk: Update from tzcode 2013i.
9658 * timezone/private.h: Likewise.
9659 * timezone/scheck.c: Likewise.
9660 * timezone/tzfile.h: Likewise.
9661 * timezone/tzselect.ksh: Likewise.
9662 * timezone/zdump.c: Likewise.
9663 * timezone/zic.c: Likewise.
9665 * math/auto-libm-test-in: Add tests of cpow.
9666 * math/auto-libm-test-out: Regenerated.
9667 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
9668 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9670 (func_calc_desc): Add mpc_cc_c union field.
9671 (test_functions): Add cpow.
9672 (special_fill_2pi): New function.
9673 (special_real_inputs): Add 2pi.
9674 (calc_generic_results): Handle mpc_cc_c.
9675 * sysdeps/i386/fpu/libm-test-ulps: Update.
9676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9678 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
9679 csqrt, ctan and ctanh.
9680 * math/auto-libm-test-out: Regenerated.
9681 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9682 (TEST_COND_x86): Likewise.
9683 (ccos_test_data): Use AUTO_TESTS_c_c.
9684 (ccosh_test_data): Likewise.
9685 (cexp_test_data): Likewise.
9686 (clog_test_data): Likewise.
9687 (csqrt_test_data): Likewise.
9688 (ctan_test_data): Likewise.
9689 (ctan_tonearest_test_data): Likewise.
9690 (ctan_towardzero_test_data): Likewise.
9691 (ctan_downward_test_data): Likewise.
9692 (ctan_upward_test_data): Likewise.
9693 (ctanh_test_data): Likewise.
9694 (ctanh_tonearest_test_data): Likewise.
9695 (ctanh_towardzero_test_data): Likewise.
9696 (ctanh_downward_test_data): Likewise.
9697 (ctanh_upward_test_data): Likewise.
9698 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9700 (func_calc_desc): Add mpc_c_c union field.
9701 (FUNC_mpc_c_c): New macro.
9702 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
9703 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
9705 (special_fill_min_subnorm_p120): New function.
9706 (special_real_inputs): Add min_subnorm_p120.
9707 (calc_generic_results): Handle mpc_c_c.
9708 * sysdeps/i386/fpu/libm-test-ulps: Update.
9709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9711 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9713 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
9714 (do_sin_slow): New functions.
9715 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
9716 (cslow2, csloww1, csloww2): Use the new functions.
9718 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
9719 Use M to change sign of result instead of X. Assume X is
9721 (csloww1): Likewise.
9725 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
9730 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
9732 (sloww1): Don't adjust sign of DX.
9733 (csloww1): Likewise.
9734 (sloww2): Use X directly and don't adjust sign of DX.
9735 (csloww2): Likewise.
9737 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9739 * math/auto-libm-test-in: Add tests of cabs and carg.
9740 * math/auto-libm-test-out: Regenerated.
9741 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
9742 (carg_test_data): Likewise.
9743 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9745 (func_calc_desc): Add mpc_c_f union field.
9746 (test_functions): Add cabs and carg.
9747 (calc_generic_results): Handle mpc_c_f.
9749 * sysdeps/powerpc/powerpc32/libgcc-compat.S
9750 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
9751 as a macro and a compat symbol.
9752 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9753 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9754 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9755 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9756 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
9757 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
9759 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
9761 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
9763 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
9765 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
9767 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
9769 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
9770 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
9773 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9775 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9777 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9779 * manual/texinfo.tex: Update to version 2013-11-26.10 with
9780 trailing whitespace removed.
9781 * scripts/config.guess: Update to version 2013-11-29.
9782 * scripts/config.sub: Update to version 2013-10-01.
9784 * math/auto-libm-test-in: Add tests of sincos.
9785 * math/auto-libm-test-out: Regenerated.
9786 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
9787 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9789 (func_calc_desc): Add mpfr_f_11 union field.
9790 (test_functions): Add sincos.
9791 (calc_generic_results): Handle mpfr_f_11.
9792 * sysdeps/i386/fpu/libm-test-ulps: Update.
9793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9795 2013-12-19 Andreas Schwab <schwab@suse.de>
9797 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
9799 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9800 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
9801 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
9803 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9805 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
9806 * sysdeps/i386/fpu/libm-test-ulps: Update.
9807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9810 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9811 round-to-nearest mode when using frndint.
9812 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
9813 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9814 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9816 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
9818 * math/auto-libm-test-out: Regenerated.
9819 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
9820 (TEST_COND_x86): Likewise.
9821 (expm1_tonearest_test_data): New array.
9822 (expm1_test_tonearest): New function.
9823 (expm1_towardzero_test_data): New array.
9824 (expm1_test_towardzero): New function.
9825 (expm1_downward_test_data): New array.
9826 (expm1_test_downward): New function.
9827 (expm1_upward_test_data): New array.
9828 (expm1_test_upward): New function.
9829 (main): Run the new test functions.
9830 * sysdeps/i386/fpu/libm-test-ulps: Update.
9831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9833 * include/features.h: Update comment documenting feature test
9834 macros. Mention _DEFAULT_SOURCE in comment.
9835 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
9836 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
9837 _BSD_SOURCE and _SVID_SOURCE.
9838 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
9839 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
9840 !_SVID_SOURCE]: Likewise.
9841 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9842 (__USE_POSIX_IMPLICITLY): Define.
9843 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9844 (_POSIX_SOURCE): Undefine and redefine.
9845 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9846 (_POSIX_C_SOURCE): Likewise.
9847 * manual/creature.texi (_DEFAULT_SOURCE): Document.
9848 (Feature Test Macros): Update documentation of default features.
9850 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9852 * benchtests/Makefile: Add bench-strtok.
9853 * benchtests/bench-strtok.c: New file: strtok benchtest.
9855 2013-12-19 Allan McRae <allan@archlinux.org>
9857 * manual/install.texi: Suppress menu for plain text output.
9858 * INSTALL: Regenerated.
9860 2013-12-18 Brooks Moses <bmoses@google.com>
9863 * misc/getauxval.c: Include errno.h.
9864 (__getauxval): Set errno to ENOENT if the requested type is not
9866 * misc/sys/auxv.h (getauxval): Document that it may set errno;
9867 don't declare with __attribute_const__.
9868 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
9869 * manual/startup.texi: Document that getauxval sets errno.
9871 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9873 * math/auto-libm-test-in: Add tests of jn and yn.
9874 * math/auto-libm-test-out: Regenerated.
9875 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
9876 (yn_test_data): Likewise.
9877 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9879 (func_calc_desc): Add mpfr_if_f union field.
9880 (FUNC_mpfr_if_f): New macro.
9881 (test_functions): Add jn and yn.
9882 (calc_generic_results): Assert type of second input for
9883 mpfr_ff_f. Handle mpfr_if_f.
9884 (output_for_one_input_case): Disable all checking for arguments
9885 fitting floating-point types in case of an integer argument.
9886 * sysdeps/i386/fpu/libm-test-ulps: Update.
9887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9890 Don't expect fegetround reference in libm.so.
9892 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9894 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
9895 $(config-cflags-nofma).
9897 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9899 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
9900 * math/auto-libm-test-out: Regenerated.
9903 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
9904 to determine exponent and adjust argument to have exponent of -1.
9905 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9907 * math/auto-libm-test-out: Regenerated.
9908 * sysdeps/i386/fpu/libm-test-ulps: Update.
9909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9911 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
9913 * manual/probes.texi: Remove cases when per-thread arenas are
9916 2013-12-18 Andreas Schwab <schwab@suse.de>
9918 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
9919 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
9920 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
9921 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
9922 * sysdeps/i386/i686/multiarch/Makefile: Update.
9923 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
9925 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9927 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
9928 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9930 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
9933 Support TZ transition times < 00:00:00.
9934 This is needed for version-3 tz-format files; it supports time
9935 stamps past 2037 for America/Godthab (the only entry in the tz
9936 database for which this change is relevant).
9937 * manual/time.texi (TZ Variable): Document transition times
9938 from -167:59:59 through -00:00:01.
9939 * time/tzset.c (tz_rule): Time of day is now signed.
9940 (__tzset_parse_tz): Parse negative time of day.
9942 Document TZ transition times >= 25:00:00.
9943 * manual/time.texi (TZ Variable): Document transition times from
9944 25:00:00 through 167:59:59. These are already supported, and this
9945 support will help with version-3 tz-format files.
9947 * manual/time.texi (TZ Variable): Modernize North America example
9948 to reflect current (i.e., 2007-and-later) daylight saving rules.
9950 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
9952 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9954 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
9955 * sysdeps/unix/bsd/bits/stat.h: Likewise.
9956 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
9957 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9958 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
9959 * sysdeps/unix/bsd/bsdstat.h: Likewise.
9960 * sysdeps/unix/bsd/clock.c: Likewise.
9961 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
9962 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
9963 * sysdeps/unix/bsd/init-posix.c: Likewise.
9964 * sysdeps/unix/bsd/poll.c: Likewise.
9965 * sysdeps/unix/bsd/ptsname.c: Likewise.
9966 * sysdeps/unix/bsd/seekdir.c: Likewise.
9967 * sysdeps/unix/bsd/setegid.c: Likewise.
9968 * sysdeps/unix/bsd/seteuid.c: Likewise.
9969 * sysdeps/unix/bsd/setgid.c: Likewise.
9970 * sysdeps/unix/bsd/setrgid.c: Likewise.
9971 * sysdeps/unix/bsd/setruid.c: Likewise.
9972 * sysdeps/unix/bsd/setsid.c: Likewise.
9973 * sysdeps/unix/bsd/setuid.c: Likewise.
9974 * sysdeps/unix/bsd/sigaction.c: Likewise.
9975 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
9976 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
9977 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9978 * sysdeps/unix/bsd/telldir.c: Likewise.
9979 * sysdeps/unix/bsd/times.c: Likewise.
9980 * sysdeps/unix/bsd/usleep.c: Likewise.
9982 * misc/Makefile (install-lib): Remove libbsd-compat.a.
9983 ($(objpfx)libbsd-compat.a): Remove rule.
9985 * include/features.h (__FAVOR_BSD): Do not define.
9986 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
9987 features conflicting with POSIX.
9988 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
9989 (_BSD_SOURCE): Remove description of not being a subset of other
9990 feature test macros.
9991 * manual/job.texi (getpgrp): Do not document BSD version.
9992 (getpgid): Do not document by reference to BSD getpgrp.
9993 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
9994 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
9995 * signal/signal.h [__FAVOR_BSD]: Likewise.
9996 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
9997 instead of making contents conditional on [__FAVOR_BSD].
9998 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
10000 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10002 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10004 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10007 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
10008 values below 2**-450, not 2**-500.
10009 * math/auto-libm-test-in: Don't allow spurious underflow from
10011 * math/auto-libm-test-out: Regenerated.
10015 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
10016 values of ha and hb and sort them after adjusting subnormal
10018 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10020 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
10021 values of ea and eb and sort them after adjusting subnormal
10023 * math/auto-libm-test-in: Do not expect some hypot tests of
10024 subnormals to fail. Add more hypot tests.
10025 * math/auto-libm-test-out: Regenerated.
10027 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10030 * sysdeps/sh/s_fma.c: New file.
10031 * sysdeps/sh/s_fmaf.c: New file.
10032 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
10034 * sysdeps/sh/Implies: Add sh/soft-fp.
10036 2013-12-16 Roland McGrath <roland@hack.frob.com>
10038 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
10039 level of indirection to members `objname', `errstring', `malloced'.
10040 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
10041 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
10042 it as the __longjmp argument (just pass 1 instead).
10043 (_dl_catch_error): Initialize C with argument pointers and address of
10044 volatile local ERRCODE rather than copying values out of C at return.
10046 2013-12-16 Joseph Myers <joseph@codesourcery.com>
10048 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
10049 * math/auto-libm-test-out: Regenerated.
10050 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
10051 (hypot_test_data): Likewise.
10052 (pow_test_data): Likewise.
10053 (pow_tonearest_test_data): Likewise.
10054 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10056 (func_calc_desc): Add mpfr_ff_f union field.
10057 (FUNC_mpfr_ff_f): New macro.
10058 (test_functions): Add atan2, hypot and pow.
10059 (special_fill_min): New function.
10060 (special_fill_minus_min): Likewise.
10061 (special_fill_min_subnorm): Likewise.
10062 (special_fill_minus_min_subnorm): Likewise.
10063 (special_real_inputs): Add min, -min, min_subnorm and
10065 (calc_generic_results): Handle mpfr_ff_f.
10066 * sysdeps/i386/fpu/libm-test-ulps: Update.
10067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10069 2013-12-16 Will Newton <will.newton@linaro.org>
10071 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
10072 (Aligned Memory Blocks): Add documentation for aligned_alloc
10073 and suggest it as an alternative to posix_memalign.
10074 (Hooks for Malloc): Document __memalign_hook is also called
10075 for aligned_alloc. (Summary of Malloc): Add summary for
10076 aligned alloc. Document __memalign_hook is also called
10079 2013-12-16 Will Newton <will.newton@linaro.org>
10081 * manual/memory.texi (Malloc Examples): Clarify default
10082 alignment documentation. Suggest posix_memalign rather
10083 than memalign or valloc.
10084 (Aligned Memory Blocks): Remove suggestion to use memalign
10085 or valloc. Remove obsolete comment about BSD.
10086 Document memalign errno values and mark the function obsolete.
10087 Document posix_memalign returned error codes. Mark valloc
10088 as obsolete. (Hooks for Malloc): __memalign_hook is also
10089 called for posix_memalign and valloc.
10090 (Summary of Malloc): Add posix_memalign to function summary.
10091 __memalign_hook is also called for posix_memalign and valloc.
10093 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10095 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
10099 (sloww): Use mynumber union. Expand ternary operator into
10100 if-else statements.
10101 (cslow): use mynumber union.
10103 2013-12-16 Allan McRae <allan@archlinux.org>
10105 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
10106 * configure: Regenerated.
10108 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
10111 * configure.ac: Added --enable-maintainer-mode. Check for
10112 autoconf when enabled.
10113 * configure: Regenerated.
10115 * nscd/nscd.service: New file.
10116 * nscd/nscd.tmpfiles: New file.
10118 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
10121 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
10122 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
10123 * sysdeps/x86_64/multiarch/strstr.c: ... here.
10124 (strstr): Add __strstr_sse2_unaligned ifunc.
10125 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
10126 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
10127 (strcasestr): Remove __strcasestr_sse42 ifunc.
10128 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
10129 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10130 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10132 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10134 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
10135 * sysdeps/sh/bits/fenv.h: ... here.
10136 * sysdeps/sh/sh4/fpu/bits: Remove directory.
10138 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10140 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
10142 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
10143 hypotf multiarch implementations.
10144 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
10145 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
10146 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
10147 multiarch hypot for PPC64.
10148 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
10149 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
10150 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
10151 multiarch hypotf for PPC64.
10153 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
10154 modff multiarch implementations.
10155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
10156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
10157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
10158 multiarch modf for PPC64.
10159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
10160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
10161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
10162 multiarch modff for PPC64.
10164 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
10165 and logl multiarch implementations.
10166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
10167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
10168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
10169 multiarch logb for PPC64.
10170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
10171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
10172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
10173 multiarch logb for PPC64.
10174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
10175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
10176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
10177 multiarch logb for PPC64.
10179 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
10180 isinff multiarch implementation.
10181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
10183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
10184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
10185 multiarch isinf for PPC64.
10186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
10188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
10189 multiarch isinff for PPC64.
10191 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
10192 finitef multiarch implementation.
10193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
10195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
10196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
10197 multiarch finite for PPC64.
10198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
10200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
10201 multiarch finitef for PPC64.
10203 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
10204 lrint multiarch implementation.
10205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
10207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
10208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
10209 multiarch llrint for PPC64.
10210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
10211 multiarch lrint for PPC64.
10213 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
10214 copysignf multiarch implementation.
10215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
10217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
10219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
10220 multiarch copysign for PPC64.
10221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
10222 multiarch copysignf for PPC64.
10224 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
10225 multiarch implementation.
10226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
10228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
10230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
10232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
10234 multiarch llround for PPC64.
10235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
10236 multiarch trunc for PPC64.
10237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
10238 multiarch truncf for PPC64.
10240 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
10241 multiarch implementation.
10242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
10244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
10246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
10248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
10250 multiarch llround for PPC64.
10251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
10252 multiarch round for PPC64.
10253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
10254 multiarch roundf for PPC64.
10256 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
10257 multiarch implementation.
10258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
10260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
10262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
10264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
10266 multiarch llround for PPC64.
10267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
10268 multiarch floor for PPC64.
10269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
10270 multiarch floorf for PPC64.
10272 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
10273 multiarch implementation.
10274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
10276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
10278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
10280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
10282 multiarch llround for PPC64.
10283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
10284 multiarch ceil for PPC64.
10285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
10286 multiarch ceilf for PPC64.
10288 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10289 multiarch implementation.
10290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
10292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
10294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
10296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
10297 multiarch llround for PPC64.
10298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
10299 multiarch lround for PPC64.
10301 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10302 multiarch implementation.
10303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
10304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
10305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
10307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
10309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
10310 multiarch isnan for PPC64.
10311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
10312 multiarch isnanf for PPC64.
10314 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
10315 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
10316 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
10317 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
10318 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
10319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10321 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
10322 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10323 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10324 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10326 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
10327 multiarch implementations.
10328 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10329 (__libc_ifunc_impl_list): Likewise.
10330 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10331 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
10332 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
10333 multiarch stpcpy for PPC64.
10335 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
10336 multiarch implementations.
10337 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10338 (__libc_ifunc_impl_list): Likewise.
10339 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
10340 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
10341 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
10342 multiarch strcpy for PPC64.
10344 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
10345 redefine function name.
10346 (_wordcopy_fwd_dest_aligned): Likewise.
10347 (_wordcopy_bwd_aligned): Likewise.
10348 (_wordcopy_bwd_dest_aligned): Likewise.
10349 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
10350 multiarch implementations.
10351 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10352 (__libc_ifunc_impl_list): Likewise.
10353 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
10354 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
10355 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
10356 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
10357 multiarch wcscpy for PPC64.
10359 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
10360 multiarch implementations.
10361 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10362 (__libc_ifunc_impl_list): Likewise.
10363 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
10364 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
10365 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
10366 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
10367 multiarch wcscpy for PPC64.
10369 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
10370 multiarch implementations.
10371 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10372 (__libc_ifunc_impl_list): Likewise.
10373 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
10374 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
10375 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
10376 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
10377 multiarch wcsrchr for PPC64.
10379 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
10380 multiarch implementations.
10381 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10382 (__libc_ifunc_impl_list): Likewise.
10383 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
10384 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
10385 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
10386 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
10387 multiarch wcschr for PPC64.
10389 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
10390 multiarch implementations.
10391 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10392 (__libc_ifunc_impl_list): Likewise.
10393 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
10394 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
10395 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
10396 multiarch strchrnul for PPC64.
10398 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
10400 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10401 (__libc_ifunc_impl_list): Likewise.
10402 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
10403 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
10404 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
10405 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
10408 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
10410 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10411 (__libc_ifunc_impl_list): Likewise.
10412 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
10413 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
10414 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
10415 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
10418 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
10419 multiarch implementations.
10420 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10421 (__libc_ifunc_impl_list): Likewise.
10422 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
10423 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
10424 strncasecmp for PPC64.
10425 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
10426 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
10427 multiarch strncasecmp_l for PPC64.
10429 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
10430 multiarch implementations.
10431 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10432 (__libc_ifunc_impl_list): Likewise.
10433 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
10434 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
10435 multiarch strcasecmp for PPC64.
10436 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
10438 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
10439 multiarch strcasecmp_l for PPC64.
10441 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
10443 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10444 (__libc_ifunc_impl_list): Likewise.
10445 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
10446 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
10447 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
10450 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
10452 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10453 (__libc_ifunc_impl_list): Likewise.
10454 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
10455 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
10456 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
10459 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
10461 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10462 (__libc_ifunc_impl_list): Likewise.
10463 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
10464 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
10465 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
10466 rawmemrchr for PPC64.
10468 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
10470 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10471 (__libc_ifunc_impl_list): Likewise.
10472 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
10473 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
10474 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
10477 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
10479 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10480 (__libc_ifunc_impl_list): Likewise.
10481 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
10482 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
10483 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
10486 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
10488 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10489 (__libc_ifunc_impl_list): Likewise.
10490 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
10491 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
10492 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
10495 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
10496 avoid cretion of __bzero symbol.
10497 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
10499 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
10501 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
10503 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
10504 multiarch implementations.
10505 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10506 (__libc_ifunc_impl_list): Likewise.
10507 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
10508 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
10509 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
10510 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
10512 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
10513 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
10514 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
10515 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
10516 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
10518 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
10520 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
10521 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
10523 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10524 (__libc_ifunc_impl_list): Likewise.
10525 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
10526 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
10527 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
10528 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
10531 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
10532 multiarch for POWER/PPC64.
10533 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10534 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
10535 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
10536 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
10537 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
10538 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
10539 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
10540 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
10541 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
10544 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
10545 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
10546 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
10547 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
10548 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
10549 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
10550 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
10551 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
10552 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
10553 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
10554 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
10555 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
10556 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
10557 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
10558 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
10559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
10560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
10561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
10562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
10563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
10564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
10565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
10567 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10569 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
10571 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10573 * benchtests/Makefile (bench): Add exp2 and log2.
10574 (LDLIBS-bench-exp2): Add -lm.
10575 (LDLIBS-bench-log2): Likewise.
10576 * benchtests/exp2-inputs: New inputs file.
10577 * benchtests/log2-inputs: New inputs file.
10578 * benchtests/log-inputs: Add new inputs.
10579 * benchtests/tan-inputs: Likewise.
10581 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10583 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
10585 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
10586 (csloww2): ... from here.
10588 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
10589 instead of structures.
10590 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
10591 (POLYNOMIAL): Likewise.
10592 (TAYLOR_SLOW): Likewise.
10598 (sloww1); Likewise.
10599 (sloww2): Likewise.
10600 (bsloww1): Likewise.
10601 (bsloww2): Likewise.
10602 (cslow2): Likewise.
10603 (csloww): Likewise.
10604 (csloww1): Likewise.
10605 (csloww2): Likewise.
10607 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
10609 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
10610 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
10611 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
10612 * malloc/hooks.c (realloc_check): Likewise.
10614 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
10615 * malloc/arena.c: Remove PER_THREAD conditional.
10616 [!PER_THREAD]: Remove code.
10617 (ptmalloc_unlock_all2): Likewise.
10618 (ptmalloc_init): Likewise.
10619 (_int_new_arena): Likewise.
10620 (arena_get2): Likewise.
10621 * malloc/hooks.c (__malloc_get_state): Likewise.
10622 (__malloc_set_state): Likewise.
10623 * malloc/malloc.c: Likewise.
10624 (struct malloc_state): Likewise.
10625 (struct malloc_par): Likewise.
10626 (__libc_realloc): Likewise.
10627 (__libc_mallopt): Likewise.
10629 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10631 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
10633 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
10635 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
10636 macro to a function. Check for zero perturb_byte.
10637 (_int_malloc, _int_free): Remove zero perturb_byte checks.
10639 * malloc/malloc.c: (force_reg): Remove.
10640 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
10641 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
10642 force_reg by atomic_forced_read.
10643 * malloc/arena.c (ptmalloc_init): Likewise.
10644 * malloc/hooks.c (top_check): Likewise.
10646 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10650 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
10652 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10654 2013-12-08 Joseph Myers <joseph@codesourcery.com>
10656 * math/auto-libm-test-in: Add tests of lgamma.
10657 * math/auto-libm-test-out: Regenerated.
10658 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
10659 (M_LOG_2_SQRT_PIl): Likewise.
10660 (lgamma_test_data): Use AUTO_TESTS_f_f1.
10661 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10663 (func_calc_desc): Add mpfr_f_f1 union field.
10664 (ARGS1): New macro.
10672 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
10673 (test_functions): Add lgamma.
10674 (calc_generic_results): Handle mpfr_f_f1.
10675 * sysdeps/i386/fpu/libm-test-ulps: Update.
10676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10678 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10680 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
10681 __mpn_add_n for PowerPC64/POWER7.
10682 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
10683 __mpn_sub_n for PowerPC64/POWER7.
10685 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
10686 __mpn_addmul_1 for PowerPC64.
10687 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
10688 __mpn_submul_1 for PowerPC64.
10689 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
10691 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
10694 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
10697 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
10699 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10701 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
10703 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
10704 add multiarch folders.
10705 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
10706 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
10707 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
10708 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
10709 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
10710 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
10711 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
10712 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
10713 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
10714 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
10715 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
10716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
10717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
10718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
10719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
10720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
10721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
10723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10724 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
10725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
10727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
10729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
10730 multiarch __ieee754_hypot for PowerPC32.
10731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
10733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
10735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
10736 multiarch __ieee754_hypotf for PowerPC32.
10738 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
10739 long_double_symbol only if __logbl is defined.
10740 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
10741 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
10742 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
10743 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
10744 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
10745 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
10746 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
10747 path for implementation.
10748 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
10749 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
10750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
10751 logb, and logbl multiarch implementations for PowerPC32.
10752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
10754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
10756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
10757 multiarch logb for PowerPC32.
10758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
10760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
10762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
10763 multiarch logbf for PowerPC32.
10764 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
10765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
10767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
10768 multiarch logbl implementation for PowerPC32.
10770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
10771 and modff multiarch implementations.
10772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
10774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
10776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
10777 multiarch modf for PowerPC32.
10778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
10780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
10782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
10783 multiarch modff for PowerPC32.
10785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
10786 and lrintf multiarch implementations.
10787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
10789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
10791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
10792 multiarch lrint for PowerPC32.
10793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
10794 file: multiarch lrintf for PowerPC32.
10796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
10797 and lroundf multiarch implementations.
10798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
10800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
10802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
10804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
10805 multiarch lround for PowerPC32.
10806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
10807 file: multiarch lroundf for PowerPC32.
10809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10810 copysign and copysignf multiarch implementations.
10811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
10813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
10815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
10816 file: multiarch copysign for PowerPC32.
10817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
10818 file: multiarch copysignf for PowerPC32.
10820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
10821 and truncf multiarch implementations.
10822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
10824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
10826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10827 multiarch trunc for PowerPC32.
10828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
10830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
10832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
10833 multiarch truncf for PowerPC32.
10835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
10836 and roundf multiarch implementations.
10837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
10839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
10841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
10842 multiarch round for PowerPC32.
10843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
10845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
10847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
10848 multiarch roundf for PowerPC32.
10850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
10851 and floorf multiarch implementations.
10852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
10854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
10856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
10857 multiarch floor for PowerPC32.
10858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
10860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
10862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
10863 multiarch floorf for PowerPC32.
10865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
10866 and ceilf multiarch implementations.
10867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
10869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
10871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
10872 multiarch ceil for PowerPC32.
10873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
10875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
10877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
10878 multiarch ceilf for PowerPC32.
10880 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
10882 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
10883 FINITEF is defined.
10884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
10885 and finitef multiarch implementations.
10886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
10888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
10890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
10891 multiarch finite for PowerPC32.
10892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
10894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
10895 file: multiarch finitef for PowerPC32.
10897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
10898 and isinff multiarch implementations.
10899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
10901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
10903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
10904 multiarch isinf for PowerPC32.
10905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
10907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
10908 multiarch isinff for PowerPC32.
10910 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
10911 alias when __isnan is defined.
10912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
10913 and isnanf multiarch implementations.
10914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
10916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
10918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
10920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
10922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
10923 multiarch isnan for PowerPC32.
10924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
10926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
10928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
10929 multiarch isnanf for PowerPC32.
10931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
10932 and sqrtf multiarch implementations.
10933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
10935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
10937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
10938 multiarch sqrt for PowerPC32.
10939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
10941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
10943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
10944 multiarch sqrtf for PowerPC32.
10946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
10947 and llroundf multiarch implementations.
10948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
10950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
10952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
10954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
10955 file: multiarch llround for PowerPC32.
10956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
10957 file: multiarch llroundf for PowerPC32.
10959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
10960 multiarch PowerPC32 fpu implementations.
10961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
10963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
10965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
10966 multiarch llrint for PowerPC32.
10967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
10969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
10971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
10974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
10976 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
10978 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
10980 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
10982 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
10983 multiarch wordcopy for PPC32.
10984 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10986 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10987 (__libc_ifunc_impl_list): Likewise.
10988 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
10989 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
10990 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
10991 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
10992 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
10993 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
10995 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
10996 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
10998 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
11000 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
11002 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
11003 multiarch wcscpy for PPC32.
11004 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11006 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11007 (__libc_ifunc_impl_list): Likewise.
11008 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11009 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11010 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
11011 sysdeps/powerpc/power6/wcscpy.c.
11013 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
11014 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
11016 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
11018 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
11020 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
11021 multiarch wcsrchr for PPC32.
11022 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11024 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11025 (__libc_ifunc_impl_list): Likewise.
11026 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11027 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11028 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
11029 sysdeps/powerpc/power6/wcsrchr.c.
11031 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
11033 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
11035 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
11036 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
11037 multiarch wcschr for PPc32.
11038 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11040 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11041 (__libc_ifunc_impl_list): Likewise.
11042 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
11043 * sysdeps/powerpc/power6/wcschr.c: ... to here.
11044 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
11045 sysdeps/powerpc/power6/wcschr.c.
11047 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
11048 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
11050 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
11051 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
11052 file: multiarch strchr for PPC32.
11053 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
11055 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11056 (__libc_ifunc_impl_list): Likewise.
11058 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
11060 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
11062 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
11064 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
11065 multiarch strchrnul for PPC32.
11066 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
11068 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11069 (__libc_ifunc_impl_list): Likewise.
11071 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
11073 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
11074 multiarch strncasecmp for PPC32.
11075 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
11077 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
11078 multiarch strncasecmp_l for PPC32.
11079 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
11080 strncasecmp multiarch objects.
11081 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11082 (__libc_ifunc_impl_list): Likewise.
11084 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
11086 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
11087 multiarch strncasecmp for PPC32.
11088 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11090 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
11091 multiarch strcasecmp_l for PPC32.
11092 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
11094 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11095 (__libc_ifunc_impl_list): Likewise.
11097 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
11099 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
11101 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
11102 multiarch strncmp for PPC32.
11103 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
11105 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11106 (__libc_ifunc_impl_list): Likewise.
11108 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
11109 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
11111 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
11112 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
11113 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
11115 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11116 (__libc_ifunc_impl_list): Likewise.
11118 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
11120 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
11122 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
11123 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
11125 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11126 (__libc_ifunc_impl_list): Likewise.
11128 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
11130 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
11132 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
11133 multiarch rawmemchr for PPC32.
11134 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
11136 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11137 (__libc_ifunc_impl_list): Likewise.
11139 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
11141 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
11143 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
11144 file: memrchr multiarch for PPC32.
11145 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
11147 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11148 (__libc_ifunc_impl_list): Likewise.
11150 * string/memchr.c (__memchr): Using macro to redefine symbol name.
11151 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
11153 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
11154 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
11155 multiarch memchr for PPC32.
11156 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
11158 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11159 (__libc_ifunc_impl_list): Likewise.
11161 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
11162 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
11164 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
11166 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
11167 file: multiarch mempcpy for PPC32.
11168 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
11170 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11171 (__libc_ifunc_impl_list): Likewise.
11173 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
11174 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
11175 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
11176 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
11177 multiarch bzero for PPC32.
11178 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
11180 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
11182 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
11183 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
11184 file: multiarch memset for PPC32.
11185 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
11186 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
11187 memset multiarch objects.
11188 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11189 (__libc_ifunc_impl_list): Likewise.
11191 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
11193 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
11194 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
11196 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
11197 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
11199 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11200 (__libc_ifunc_impl_list): Likewise.
11202 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
11203 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
11204 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
11206 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
11208 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
11210 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
11211 multiarch memcpy for PPC32.
11212 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
11214 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11215 (__libc_ifunc_impl_list): Likewise.
11217 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
11218 support multiarch for POWER/PPC32.
11219 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
11221 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
11223 Implies file to make multiarch folder appers before the fpu and
11224 default folder for power4 configuration.
11226 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11228 * scripts/bench.pl: Append volatile keyword to type.
11230 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11232 * sysdeps/sh/sotruss-lib.c: New file.
11233 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
11235 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11237 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11239 2013-12-05 Joseph Myers <joseph@codesourcery.com>
11242 * math/w_tgamma.c: Include <errno.h>.
11243 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
11244 * math/w_tgammaf.c: Include <errno.h>.
11245 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
11246 * math/w_tgammal.c: Include <errno.h>.
11247 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
11248 * math/auto-libm-test-in: Do not allow missing errno on tgamma
11249 underflow. Add more tgamma tests.
11250 * math/auto-libm-test-out: Regenerated.
11251 * sysdeps/i386/fpu/libm-test-ulps: Update.
11252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11254 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
11255 sin, sinh, tan, tanh, tgamma, y0 and y1.
11256 * math/auto-libm-test-out: Regenerated.
11257 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11258 (TEST_COND_x86): Likewise.
11259 (M_E2l): Remove macro.
11261 (M_2_SQRT_PIl): Likewise.
11262 (M_SQRT_PIl): Likewise.
11263 (M_1_DIV_El): Likewise.
11264 (log_test_data): Use AUTO_TESTS_f_f.
11265 (log10_test_data): Likewise.
11266 (log1p_test_data): Likewise.
11267 (log2_test_data): Likewise.
11268 (sin_test_data): Likewise.
11269 (sin_tonearest_test_data): Likewise.
11270 (sin_towardzero_test_data): Likewise.
11271 (sin_downward_test_data): Likewise.
11272 (sin_upward_test_data): Likewise.
11273 (sinh_test_data): Likewise.
11274 (sinh_tonearest_test_data): Likewise.
11275 (sinh_towardzero_test_data): Likewise.
11276 (sinh_downward_test_data): Likewise.
11277 (sinh_upward_test_data): Likewise.
11278 (tan_test_data): Likewise.
11279 (tan_tonearest_test_data): Likewise.
11280 (tan_towardzero_test_data): Likewise.
11281 (tan_downward_test_data): Likewise.
11282 (tan_upward_test_data): Likewise.
11283 (tanh_test_data): Likewise.
11284 (tgamma_test_data): Likewise.
11285 (y0_test_data): Likewise.
11286 (y1_test_data): Likewise.
11287 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
11288 (special_real_inputs): Add pi/4.
11289 * sysdeps/i386/fpu/libm-test-ulps: Update.
11290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11292 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11294 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
11295 "longjmp_target" static probes.
11296 (__longjmp): Rename to __longjmp_symbol.
11297 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11298 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
11299 on which longjmp to generate.
11300 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11301 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
11303 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11304 (__sigjmp_save): Rename to __sigjmp_save_symbol.
11305 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11306 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
11307 and __sigjmp_save_symbol based on which sigsetjmp to generated.
11308 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
11309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
11310 __longjmp_symbol based on which __longjmp to generate.
11311 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
11313 (setjmp): Rename to setjmp_symbol.
11314 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11315 (_setjmp): Rename to _setjmp_symbol.
11316 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11317 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
11318 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
11319 which setjmp to generate.
11320 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
11321 "longjmp_target" static probes.
11323 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11325 * benchtests/README: Add note about output arguments.
11326 * benchtests/bench-sincos.c: Remove file.
11327 * benchtests/sincos-inputs: New file.
11328 * scripts/bench.pl: Identify output arguments and define
11329 static variables for them.
11331 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
11334 * Makefile (INSTALL): Add install-plain.texi as the primary
11336 * manual/install-plain.texi: New file.
11337 * manual/install.texi: Include node directive only for
11338 non-plaintext output.
11340 2013-12-04 Joseph Myers <joseph@codesourcery.com>
11342 * stdlib/longlong.h: Update from GCC.
11346 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
11347 * math/w_j0f.c (y0f): Likewise.
11348 * math/w_j0l.c (__y0l): Likewise.
11349 * math/w_j1.c (y1): Likewise.
11350 * math/w_j1f.c (y1f): Likewise.
11351 * math/w_j1l.c (__y1l): Likewise
11352 * math/w_jn.c (yn): Likewise.
11353 * math/w_jnf.c (ynf): Likewise.
11354 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
11355 Bessel function pole errors in _POSIX_ mode. Use NAN as return
11356 value for Bessel function domain errors outside _SVID_ mode.
11357 Adjust sign of return value for yn (negative integer, 0).
11358 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
11359 by zero in return for negative x and set sign appropriately for
11361 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
11362 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11363 * math/libm-test.inc (y0_test_data): Add more tests and adjust
11364 expectations in error cases.
11365 (y1_test_data): Likewise.
11366 (yn_test_data): Likewise.
11367 * sysdeps/i386/fpu/libm-test-ulps: Update.
11368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11370 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11372 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
11373 "64" to "64-v1". Add "64-v2".
11374 (abi-64-options): Rename to ...
11375 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
11376 (abi-64-condition): Rename to ...
11377 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
11378 (abi-64-ld-soname): Rename to ...
11379 (abi-64-v1-ld-soname): ... this.
11380 (abi-64-v2-options): Define.
11381 (abi-64-v2-condition): Likewise.
11382 (abi-64-v2-ld-soname): Likewise.
11383 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
11384 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
11385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
11386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
11387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
11389 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11390 Alan Modra <amodra@gmail.com>
11392 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
11393 New versions for use with the ELFv2 ABI.
11394 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
11395 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
11397 (struct La_ppc64v2_retval): Likewise.
11398 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
11399 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
11400 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
11401 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
11402 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
11403 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11404 Do not save or restore CR.
11405 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
11406 (_dl_profile_resolve): Do no save or restore CR. Support extended
11407 return values for ELFv2 ABI. Fix location of FPR return registers.
11408 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
11409 updated values for _CALL_ELF == 2.
11410 (La_regs, La_retval, int_retval): Likewise.
11412 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11414 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
11415 (FRAME_MIN_SIZE_PARM): Likewise.
11416 (FRAME_BACKCHAIN): Likewise.
11417 (FRAME_CR_SAVE): Likewise.
11418 (FRAME_LR_SAVE): Likewise.
11419 (FRAME_TOC_SAVE): Likewise.
11420 (FRAME_PARM_SAVE): Likewise.
11421 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
11422 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
11423 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11424 (call_mcount_parm_offset): New macro.
11425 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
11426 (PROF): Use symbolic stack frame offsets.
11427 (TAIL_CALL_SYSCALL_ERROR): Likewise.
11428 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
11429 Redefine in terms of FRAME_MIN_SIZE.
11430 (_dl_runtime_resolve): Use symbolic stack frame offsets.
11431 (_dl_profile_resolve): Likewise. Update comment.
11432 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
11433 symbols stack frame offsets.
11434 (__sigsetjmp): Likewise.
11435 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
11436 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
11437 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
11438 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
11440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
11441 (FRAME_BACKCHAIN): Remove.
11442 (FRAME_CR_SAVE): Likewise.
11443 (FRAME_LR_SAVE): Likewise.
11444 (FRAME_COMPILER_DW): Likewise.
11445 (FRAME_LINKER_DW): Likewise.
11446 (FRAME_TOC_SAVE): Likewise.
11447 (FRAME_PARM_SAVE): Likewise.
11448 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
11449 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
11450 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
11452 (CHECK_SP): Use symbolic stack frame offsets.
11453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
11454 zone" instead of caller's parameter save area for temp storage.
11455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11456 Likewise. Also, use symbolic stack frame offsets.
11457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
11458 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
11459 our own stack frame instead of the caller's.
11460 (__socket): Use symbolic stack frame offsets.
11462 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11463 Alan Modra <amodra@gmail.com>
11465 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
11467 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
11468 (PPC64_LOCAL_ENTRY_OFFSET): Define.
11469 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
11471 (elf_machine_fixup_plt): Call it.
11472 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
11474 (elf_machine_rela): Update call to elf_machine_plt_conflict.
11475 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11476 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
11477 r2 before calling target.
11479 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11480 Alan Modra <amodra@gmail.com>
11482 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
11483 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
11484 versions of macros to support ELFv2 ABI.
11485 (LOCALENTRY): New macro.
11486 (ENTRY, EALIGN): Use it.
11487 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
11488 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
11489 fall through into ENTRY entry point.
11490 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
11491 Only define if _CALL_ELF != 2.
11493 (elf_machine_matches_host): Verify ABI version matches.
11494 (RTLD_START): Use LOCALENTRY.
11495 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
11496 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
11497 (PLT_ENTRY_WORDS): New macro.
11498 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
11499 (elf_machine_runtime_setup): Support ELFv2 ABI.
11500 (elf_machine_fixup_plt): Likewise.
11501 (elf_machine_plt_conflict): Likewise.
11502 (resolve_ifunc): Likewise.
11503 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11504 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
11507 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
11508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11509 (makecontext): Support ELFv2 ABI.
11510 * elf/elf.h (EF_PPC64_ABI): Define.
11512 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11514 * sysdeps/powerpc/powerpc64/sysdep.h
11515 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
11516 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
11517 (ENTRY) [ASSEMBLER]: ... but instead here ...
11518 (EALIGN) [ASSEMBLER]: ... and here.
11519 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
11520 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
11521 (ENTRY_2) [!ASSEMBLER]: Use it.
11522 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
11523 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
11524 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11525 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
11526 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
11527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
11528 Use PPC64_LOAD_FUNCPTR.
11530 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
11532 2013-12-04 Alan Modra <amodra@gmail.com>
11534 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
11535 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
11536 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
11537 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
11539 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
11540 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
11541 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
11542 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
11543 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
11544 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
11546 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11549 (__makecontext): Fix incorrect CFI when backtracing out of
11550 context created via makecontext.
11551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
11552 (__setcontext): Fix incorrect CFI during switch to new context.
11553 (__novec_setcontext): Likewise.
11555 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
11558 * time/strptime_l.c (__strptime_internal): Allow modifiers
11560 * time/tst-strptime.c (day_tests): Add testcase.
11562 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11564 * scripts/bench.pl: Skip over blank lines.
11566 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
11569 * manual/time.texi (Calendar Time): Clarify what timezone functions
11572 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11574 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11576 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
11578 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
11580 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11581 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11582 * debug/memset_chk.c (__memset_chk): Likewise.
11583 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
11584 * debug/strncpy_chk.c: Likewise.
11586 2013-12-03 Joseph Myers <joseph@codesourcery.com>
11590 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
11591 (__ieee754_exp): For possibly underflowing results, check size of
11592 result and force underflow exception if required.
11593 * math/auto-libm-test-in: Add more tests of exp.
11594 * math/auto-libm-test-out: Regenerated.
11595 * sysdeps/i386/fpu/libm-test-ulps: Update.
11596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11599 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
11600 * math/w_exp2f.c (__exp2f): Likewise.
11601 * math/w_exp2l.c (__exp2l): Likewise.
11602 * math/auto-libm-test-in: Do not allow missing errno on exp2
11604 * math/auto-libm-test-out: Regenerated.
11606 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
11609 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
11610 handle filename validation.
11611 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
11614 2013-12-03 Joseph Myers <joseph@codesourcery.com>
11617 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
11618 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
11619 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
11621 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
11622 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
11623 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11624 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
11625 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11626 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
11627 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11628 * math/auto-libm-test-in: Don't allow missing errno from erfc.
11629 Add more erfc tests.
11630 * math/auto-libm-test-out: Regenerated.
11631 * sysdeps/i386/fpu/libm-test-ulps: Update.
11632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11634 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
11635 exp2, expm1, j0 and j1.
11636 * math/auto-libm-test-out: Regenerated.
11637 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
11638 (erfc_test_data): Likewise.
11639 (exp_test_data): Likewise.
11640 (exp_tonearest_test_data): Likewise.
11641 (exp_towardzero_test_data): Likewise.
11642 (exp_downward_test_data): Likewise.
11643 (exp_upward_test_data): Likewise.
11644 (exp10_test_data): Likewise.
11645 (exp2_test_data): Likewise.
11646 (expm1_test_data): Likewise.
11647 (j0_test_data): Likewise.
11648 (j1_test_data): Likewise.
11649 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
11650 (input_flag_type): Add flag_xfail_rounding.
11651 (input_flags): Add xfail-rounding.
11652 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
11653 (output_for_one_input_case): Handle flag_xfail_rounding.
11654 * sysdeps/i386/fpu/libm-test-ulps: Update.
11655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11657 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
11660 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
11663 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11666 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
11667 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
11668 (STAP_PROBE0): New macro.
11669 (STAP_PROBE1): Likewise.
11670 (STAP_PROBE2): Likewise.
11671 (STAP_PROBE3): Likewise.
11672 (STAP_PROBE4): Likewise.
11674 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
11676 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
11678 2013-12-02 Steve Ellcey <sellcey@mips.com>
11680 * benchtests/Makefile (bench): Add sqrt.
11681 (LDLIBS-bench-sqrt): New.
11682 * benchtests/sqrt-input: New.
11684 2013-12-02 Pavel Simerda <psimerda@redhat.com>
11686 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
11687 (GAIH_EAI): Likewise.
11688 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
11689 (gaih_inet): Likewise.
11690 (getaddrinfo): Don't use GAIH_EAI.
11692 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
11693 (struct gaih): Remove definition.
11695 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11697 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
11698 Use HERRNOP directly.
11700 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11702 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11704 2013-11-30 Joseph Myers <joseph@codesourcery.com>
11706 * math/gen-auto-libm-tests.c (test_functions): Add more
11707 single-argument functions.
11708 (special_fill_pi_2): New function.
11709 (special_fill_minus_pi_2): Likewise.
11710 (special_fill_pi_6): Likewise.
11711 (special_fill_minus_pi_6): Likewise.
11712 (special_fill_pi_3): Likewise.
11713 (special_fill_2pi_3): Likewise.
11714 (special_fill_e): Likewise.
11715 (special_fill_1_e): Likewise.
11716 (special_fill_e_minus_1): Likewise.
11717 (special_real_inputs): Add more special inputs.
11718 (output_for_one_input_case): Do not require ERANGE on underflow to
11719 zero if round-to-nearest result does not underflow to zero, unless
11720 exact results required.
11721 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
11722 atan, atanh, cbrt, cos and cosh.
11723 * math/auto-libm-test-out: Regenerated.
11724 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
11725 (acos_tonearest_test_data): Likewise.
11726 (acos_towardzero_test_data): Likewise.
11727 (acos_downward_test_data): Likewise.
11728 (acos_upward_test_data): Likewise.
11729 (acosh_test_data): Likewise.
11730 (asin_test_data): Likewise.
11731 (asin_tonearest_test_data): Likewise.
11732 (asin_towardzero_test_data): Likewise.
11733 (asin_upward_test_data): Likewise.
11734 (asinh_test_data): Likewise.
11735 (atan_test_data): Likewise.
11736 (atanh_test_data): Likewise.
11737 (cbrt_test_data): Likewise.
11738 (cos_test_data): Likewise.
11739 (cos_tonearest_test_data): Likewise.
11740 (cos_towardzero_test_data): Likewise.
11741 (cos_downward_test_data): Likewise.
11742 (cos_upward_test_data): Likewise.
11743 (cosh_test_data): Likewise.
11744 (cosh_tonearest_test_data): Likewise.
11745 (cosh_towardzero_test_data): Likewise.
11746 (cosh_downward_test_data): Likewise.
11747 (cosh_upward_test_data): Likewise.
11748 * sysdeps/i386/fpu/libm-test-ulps: Update.
11749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11751 2013-11-29 Joseph Myers <joseph@codesourcery.com>
11754 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
11755 * math/w_exp10f.c (__exp10f): Likewise.
11756 * math/w_exp10l.c (__exp10l): Likewise.
11757 * math/libm-test.inc (exp10_test_data): Add more tests and expect
11758 errno settings in existing tests.
11761 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
11762 precision control set to double precision.
11763 * sysdeps/i386/fpu/w_sqrt.c: New file.
11764 * math/auto-libm-test-in: Add more tests.
11765 * math/auto-libm-test-out: Update.
11767 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
11768 (sqrt_test_tonearest): New function.
11769 (sqrt_towardzero_test_data): New variable.
11770 (sqrt_test_towardzero): New function.
11771 (sqrt_downward_test_data): New variable.
11772 (sqrt_test_downward): New function.
11773 (sqrt_upward_test_data): New variable.
11774 (sqrt_test_upward): New function.
11775 (main): Call the new functions.
11777 * math/gen-auto-libm-tests.c: New file.
11778 * math/auto-libm-test-in: Likewise.
11779 * math/auto-libm-test-out: New generated file.
11780 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
11782 (%beautify): Add generated representations of zero.
11783 (top level): Set $auto_input and call parse_auto_input.
11784 (beautify): Remove trailing "f" from hex float constants.
11785 (parse_args): Handle XFAIL_TEST.
11786 (convert_condition): New function.
11787 (or_value): Likewise.
11788 (or_cond_value): Likewise.
11789 (generate_testfile): Handle AUTO_TESTS_* lines.
11790 (parse_auto_input): New function.
11791 * math/libm-test.inc (XFAIL_TEST): New macro.
11792 (ERRNO_UNCHANGED): Update value.
11793 (ERRNO_EDOM): Likewise.
11794 (ERRNO_ERANGE): Likewise.
11795 (IGNORE_RESULT): Likewise.
11796 (TEST_COND_flt_32): New macro.
11797 (TEST_COND_dbl_64): Likewise.
11798 (TEST_COND_ldbl_96_intel): Likewise.
11799 (TEST_COND_ldbl_96_m68k): Likewise.
11800 (TEST_COND_ldbl_128): Likewise.
11801 (TEST_COND_ldbl_128ibm): Likewise.
11802 (TEST_COND_long32): Likewise.
11803 (TEST_COND_long64): Likewise.
11804 (TEST_COND_before_rounding): Likewise.
11805 (TEST_COND_after_rounding): Likewise.
11806 (enable_test): Handle XFAIL_TEST flag.
11807 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
11808 with finite results.
11809 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
11810 auto-libm-test-out.
11812 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11813 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11816 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
11817 __tls_get_addr_internal instead of __tls_get_offset in order to
11818 avoid GOT pointer dependency. Make rtld export
11819 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
11820 __tls_get_addr since we are a __tls_get_offset platform.
11821 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11822 GOT pointer being set up before.
11823 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
11825 2013-11-28 Joseph Myers <joseph@codesourcery.com>
11827 * manual/math.texi (Errors in Math Functions): Document accuracy
11831 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
11832 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
11833 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11834 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11835 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11836 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11837 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11838 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11839 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11840 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11841 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11842 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11843 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11844 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11845 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11846 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11848 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
11849 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
11850 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
11851 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
11852 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
11854 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
11856 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
11858 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
11859 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11860 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
11861 atomic-feupdateenv and flt-rounds.
11862 * sysdeps/powerpc/nofpu/Versions (libc): Add
11863 __atomic_feholdexcept, __atomic_feclearexcept,
11864 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
11865 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
11866 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
11867 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
11868 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
11870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11873 * manual/arith.texi (FP Exceptions): Document that exceptions may
11874 not be raised when matherr is used.
11875 (Math Error Reporting): Document overflow in directed rounding
11876 modes. Document that errno may not be set when finite values are
11877 returned on overflow. Document intent to set errno on underflow
11878 only for underflow to zero.
11881 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
11882 round-to-nearest then adjust result for other rounding modes.
11883 * include/fenv.h (fegetround): Use libm_hidden_proto.
11884 * math/fegetround.c (fegetround): Use libm_hidden_def.
11885 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11886 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11887 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11888 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11890 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
11891 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11892 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11893 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
11895 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11898 * nss/Versions (libnss_files): Add
11899 _nss_files_gethostbyname3_r.
11900 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
11902 (HOST_DB_LOOKUP): Remove macro.
11903 (_nss_files_gethostbyname_r): Implement function without the
11904 HOST_DB_LOOKUP macro.
11905 (_nss_files_gethostbyname2_r): Likewise.
11907 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
11909 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
11911 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
11913 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
11914 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
11917 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11919 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
11920 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
11921 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11922 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11923 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
11924 __fe_nomask_env_priv and attribute_hidden.
11925 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
11926 (libc_feupdateenv_test_ppc): Likewise.
11927 (libc_feresetround_ppc): Likewise.
11928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11929 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
11930 compat_symbol macro.
11931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11932 (__fe_nomask_env): Likewise.
11933 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
11935 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11937 * string/Makefile: Remove ifunc tests.
11938 * string/test-string.h: Define TEST_IFUNC.
11939 * string/test-bcopy-ifunc.c: Remove.
11940 * string/test-bzero-ifunc.c: Likewise.
11941 * string/test-memccpy-ifunc.c: Likewise.
11942 * string/test-memchr-ifunc.c: Likewise.
11943 * string/test-memcmp-ifunc.c: Likewise.
11944 * string/test-memcpy-ifunc.c: Likewise.
11945 * string/test-memmem-ifunc.c: Likewise.
11946 * string/test-memmove-ifunc.c: Likewise.
11947 * string/test-mempcpy-ifunc.c: Likewise.
11948 * string/test-memrchr-ifunc.c: Likewise.
11949 * string/test-memset-ifunc.c: Likewise.
11950 * string/test-rawmemchr-ifunc.c: Likewise.
11951 * string/test-stpcpy-ifunc.c: Likewise.
11952 * string/test-stpncpy-ifunc.c: Likewise.
11953 * string/test-strcasecmp-ifunc.c: Likewise.
11954 * string/test-strcasestr-ifunc.c: Likewise.
11955 * string/test-strcat-ifunc.c: Likewise.
11956 * string/test-strchr-ifunc.c: Likewise.
11957 * string/test-strchrnul-ifunc.c: Likewise.
11958 * string/test-strcmp-ifunc.c: Likewise.
11959 * string/test-strcpy-ifunc.c: Likewise.
11960 * string/test-strcspn-ifunc.c: Likewise.
11961 * string/test-strlen-ifunc.c: Likewise.
11962 * string/test-strncasecmp-ifunc.c: Likewise.
11963 * string/test-strncat-ifunc.c: Likewise.
11964 * string/test-strncmp-ifunc.c: Likewise.
11965 * string/test-strncpy-ifunc.c: Likewise.
11966 * string/test-strnlen-ifunc.c: Likewise.
11967 * string/test-strpbrk-ifunc.c: Likewise.
11968 * string/test-strrchr-ifunc.c: Likewise.
11969 * string/test-strspn-ifunc.c: Likewise.
11970 * string/test-strstr-ifunc.c: Likewise.
11972 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11974 * benchtests/Makefile: Remove ifunc tests.
11975 * benchtests/bench-string.h: Define TEST_IFUNC.
11976 * benchtests/bench-bcopy-ifunc.c: Remove.
11977 * benchtests/bench-bzero-ifunc.c: Likewise.
11978 * benchtests/bench-memccpy-ifunc.c: Likewise.
11979 * benchtests/bench-memchr-ifunc.c: Likewise.
11980 * benchtests/bench-memcmp-ifunc.c: Likewise.
11981 * benchtests/bench-memcpy-ifunc.c: Likewise.
11982 * benchtests/bench-memmem-ifunc.c: Likewise.
11983 * benchtests/bench-memmove-ifunc.c: Likewise.
11984 * benchtests/bench-mempcpy-ifunc.c: Likewise.
11985 * benchtests/bench-memrchr-ifunc.c: Likewise.
11986 * benchtests/bench-memset-ifunc.c: Likewise.
11987 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
11988 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
11989 * benchtests/bench-stpcpy-ifunc.c: Likewise.
11990 * benchtests/bench-stpncpy-ifunc.c: Likewise.
11991 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
11992 * benchtests/bench-strcasestr-ifunc.c: Likewise.
11993 * benchtests/bench-strcat-ifunc.c: Likewise.
11994 * benchtests/bench-strchr-ifunc.c: Likewise.
11995 * benchtests/bench-strchrnul-ifunc.c: Likewise.
11996 * benchtests/bench-strcmp-ifunc.c: Likewise.
11997 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
11998 * benchtests/bench-strcpy-ifunc.c: Likewise.
11999 * benchtests/bench-strcspn-ifunc.c: Likewise.
12000 * benchtests/bench-strlen-ifunc.c: Likewise.
12001 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
12002 * benchtests/bench-strncat-ifunc.c: Likewise.
12003 * benchtests/bench-strncmp-ifunc.c: Likewise.
12004 * benchtests/bench-strncpy-ifunc.c: Likewise.
12005 * benchtests/bench-strnlen-ifunc.c: Likewise.
12006 * benchtests/bench-strpbrk-ifunc.c: Likewise.
12007 * benchtests/bench-strrchr-ifunc.c: Likewise.
12008 * benchtests/bench-strsep-ifunc.c: Likewise.
12009 * benchtests/bench-strspn-ifunc.c: Likewise.
12010 * benchtests/bench-strstr-ifunc.c: Likewise.
12012 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12014 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
12016 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12018 * resolv/netdb.h: Use __glibc_reserved instead __unused.
12019 * rt/aio.h: Likewise.
12020 * sysdeps/gnu/bits/utmp.h: Likewise.
12021 * sysdeps/gnu/bits/utmpx.h: Likewise.
12022 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12023 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
12024 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
12025 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
12026 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
12027 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
12028 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
12029 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
12030 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
12031 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12032 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12033 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12034 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
12035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
12036 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12037 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
12038 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12039 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12040 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12041 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
12042 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
12043 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
12044 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
12045 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12046 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12047 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12048 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
12049 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12050 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12051 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12052 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
12053 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
12054 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
12055 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12056 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12057 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
12058 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12059 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12060 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12061 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
12062 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12063 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12065 2013-11-25 Carlos O'Donell <carlos@redhat.com>
12068 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
12069 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
12071 2013-11-25 Joseph Myers <joseph@codesourcery.com>
12073 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
12074 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12077 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12079 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
12080 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
12081 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
12082 (__fesetround): Remove define.
12083 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
12084 rounding and exceptions handling.
12085 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
12086 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
12087 (__fe_nomask_env): Likewise.
12088 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
12089 __fegetround instead of fegetround.
12090 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12091 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12093 2013-11-21 Roland McGrath <roland@hack.frob.com>
12095 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
12098 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
12100 2013-11-21 Meador Inge <meadori@codesourcery.com>
12103 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
12104 (encrypt_r): Likewise.
12105 * malloc/obstack.h (obstack_free): Likewise.
12106 * posix/unistd.h (encrypt): Likewise.
12108 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
12110 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
12111 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
12112 DL_CALL_DT_FINI() that call the functions directly.
12113 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
12114 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
12115 * elf/dl-fini.c: Likewise.
12117 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
12119 * malloc/hooks.c (memalign_check): Add alignment rounding.
12120 * malloc/malloc.c (_mid_memalign): New function.
12121 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
12122 Implement by calling _mid_memalign.
12123 * manual/probes.texi (Memory Allocation Probes): Remove
12124 memory_valloc_retry and memory_pvalloc_retry.
12126 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12128 * locale/programs/locarchive.c (open_archive): Add const
12129 qualifier to ARCHIVEFNAME and copy default fname to
12133 * libio/tst-widetext.input: Rename Oriya to Odia.
12134 * locale/iso-639.def: Likewise.
12136 * manual/probes.texi (Mathematical Function Probes): Add
12137 documentation for sin, cos, asin and acos probes.
12138 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
12139 (__sin32): Add slowasin probe.
12140 (__cos32): Add slowacos probe.
12141 (__mpsin): Add slowsin probe.
12142 (__mpcos): Add slowcos probe.
12144 2013-11-19 Joseph Myers <joseph@codesourcery.com>
12147 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
12148 thread-local __sim_exceptions_thread and global
12149 __sim_exceptions_global.
12150 (__sim_disabled_exceptions): Change to thread-local
12151 __sim_disabled_exceptions_thread and global
12152 __sim_disabled_exceptions_global.
12153 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12154 and global __sim_round_mode_global.
12155 (__simulate_exceptions): Use thread-local floating-point state and
12156 set global state from it as needed.
12157 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
12158 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
12159 __sim_round_mode_thread.
12160 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
12161 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
12162 and global __sim_exceptions_global.
12163 (__sim_disabled_exceptions): Change to thread-local
12164 __sim_disabled_exceptions_thread and global
12165 __sim_disabled_exceptions_global.
12166 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12167 and global __sim_round_mode_global.
12168 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
12169 (SIM_SET_GLOBAL): Likewise.
12170 * sysdeps/powerpc/soft-fp/sfp-machine.h
12171 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
12172 __sim_round_mode_thread.
12173 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
12174 __sim_disabled_exceptions_thread.
12175 (__sim_exceptions): Change to __sim_exceptions_thread.
12176 (__sim_disabled_exceptions): Change to
12177 __sim_disabled_exceptions_thread.
12178 (__sim_round_mode): Change to __sim_round_mode_thread.
12179 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
12180 thread-local floating-point state and set global state from it as
12182 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
12183 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
12184 (__sim_disabled_exceptions): Remove extern declaration.
12185 (feenableexcept): Use thread-local floating-point state and set
12186 global state from it as needed.
12187 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
12188 extern declaration.
12189 (__sim_disabled_exceptions): Likewise.
12190 (__sim_round_mode): Likewise.
12191 (__fegetenv): Use thread-local floating-point state.
12192 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
12193 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12194 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
12195 floating-point state and set global state from it as needed.
12196 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
12197 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12198 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
12200 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12201 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
12203 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
12204 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
12205 Use __sim_round_mode_thread.
12206 * math/test-fenv-tls.c: New file.
12207 * math/Makefile (tests): Add test-fenv-tls.
12208 ($(objpfx)test-fenv-tls): Depend on
12209 $(common-objpfx)nptl/libpthread.so.
12211 2013-11-19 Andreas Schwab <schwab@suse.de>
12213 * locale/programs/locale.c (show_info): Decode wordarray elements.
12214 * locale/categories.def (LC_MONETARY): Add element for
12215 _NL_MONETARY_CRNCYSTR.
12216 * locale/C-monetary.c (conversion_rate): New variable.
12217 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
12220 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
12222 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
12223 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
12225 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12227 * elf/Makefile (tst-auxv): New test.
12228 * elf/tst-auxv.c: New
12229 * elf/rtld.c (dl_main): Adjust AT_EXECFN
12231 2013-11-18 Joseph Myers <joseph@codesourcery.com>
12233 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
12234 (hidden_proto): Caller changed.
12235 (hidden_tls_proto): New macro.
12236 (libc_hidden_tls_proto): Likewise.
12237 (rtld_hidden_tls_proto): Likewise.
12238 (libm_hidden_tls_proto): Likewise.
12239 (libresolv_hidden_tls_proto): Likewise.
12240 (librt_hidden_tls_proto): Likewise.
12241 (libdl_hidden_tls_proto): Likewise.
12242 (libnss_files_hidden_tls_proto): Likewise.
12243 (libnsl_hidden_tls_proto): Likewise.
12244 (libnss_nisplus_hidden_tls_proto): Likewise.
12245 (libutil_hidden_tls_proto): Likewise.
12247 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
12250 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
12251 (decompose_rpath): Defer expansion to fillin_rpath.
12252 (_dl_init_paths): Pass linkmap to fillin_rpath.
12254 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12256 * benchtests/Makefile: Add strsep.
12257 * benchtests/bench-strsep.c: New file: strsep benchtest.
12258 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
12260 2013-11-18 Andreas Schwab <schwab@suse.de>
12262 * locale/programs/locale.c (show_info) [case byte]: Check for
12263 '\377' instead of '\177'.
12264 * locale/C-monetary.c (not_available): Always use "\377".
12265 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
12266 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
12267 detect unavailable sign_posn locale elements.
12268 * locale/localeconv.c (__localeconv): For grouping and
12269 mon_grouping handle "\177" and "\377" like no grouping.
12270 (INT_ELEM): New macro. Use it to set all numeric members.
12271 * locale/programs/ld-monetary.c (monetary_read)
12272 <tok_mon_grouping>: Normalize single -1 to the empty string.
12273 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
12276 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
12279 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
12280 when we match (nil).
12281 * stdio-common/tst-sscanf.c (struct test): Add testcase.
12283 2013-11-16 Joseph Myers <joseph@codesourcery.com>
12285 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
12286 (NO_TEST_INLINE): Update value.
12287 (ERRNO_UNCHANGED): Likewise.
12288 (ERRNO_EDOM): Likewise.
12289 (ERRNO_ERANGE): Likewise.
12290 (IGNORE_RESULT): Likewise.
12291 (check_float_internal): Check signs of NaN results if
12292 TEST_NAN_SIGN used.
12293 (check_complex): Pass TEST_NAN_SIGN flag through to second
12294 check_float_internal call.
12295 (copysign_test_data): Add tests with quiet NaNs as second
12296 argument. Use TEST_NAN_SIGN.
12297 (fabs_test_data): Add test of negative quiet NaN argument. Use
12299 (signbit_test_data): Add tests of quiet NaN argument.
12300 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
12302 * math/gen-libm-test.pl (show_exceptions): Take extra argument
12304 (parse_args): Handle function results specified as IGNORE.
12305 * math/libm-test.inc (IGNORE_RESULT): New macro.
12306 (check_float_internal): Do not check numerical result if flag
12308 (check_complex): Pass through IGNORE_RESULT to second
12309 check_float_internal call.
12310 (check_int): Do not check numerical result if flag IGNORE_RESULT
12312 (check_long): Likewise.
12313 (check_bool): Likewise.
12314 (check_longlong): Likewise.
12315 (lrint_test_data): Add tests of infinite and NaN arguments.
12316 (lrint_tonearest_test_data): Likewise.
12317 (lrint_towardzero_test_data): Likewise.
12318 (lrint_downward_test_data): Likewise.
12319 (lrint_upward_test_data): Likewise.
12320 (llrint_test_data): Likewise.
12321 (llrint_tonearest_test_data): Likewise.
12322 (llrint_towardzero_test_data): Likewise.
12323 (llrint_downward_test_data): Likewise.
12324 (llrint_upward_test_data): Likewise.
12325 (lround_test_data): Likewise.
12326 (llround_test_data): Likewise.
12328 * math/libm-test.inc (NO_TEST_INLINE): New macro.
12329 (ERRNO_UNCHANGED): Update value.
12330 (ERRNO_EDOM): Likewise.
12331 (ERRNO_ERANGE): Likewise.
12332 (NO_TEST_INLINE_FLOAT): New macro.
12333 (NO_TEST_INLINE_DOUBLE): Likewise.
12334 (enable_test): New function.
12335 (RUN_TEST_f_f): Check enable_test before running test.
12336 (RUN_TEST_2_f): Likewise.
12337 (RUN_TEST_fff_f): Likewise.
12338 (RUN_TEST_c_f): Likewise.
12339 (RUN_TEST_f_f1): Likewise.
12340 (RUN_TEST_fF_f1): Likewise.
12341 (RUN_TEST_fI_f1): Likewise.
12342 (RUN_TEST_ffI_f1): Likewise.
12343 (RUN_TEST_c_c): Likewise.
12344 (RUN_TEST_cc_c): Likewise.
12345 (RUN_TEST_f_i): Likewise.
12346 (RUN_TEST_f_i_tg): Likewise.
12347 (RUN_TEST_ff_i_tg): Likewise.
12348 (RUN_TEST_f_b): Likewise.
12349 (RUN_TEST_f_b_tg): Likewise.
12350 (RUN_TEST_f_l): Likewise.
12351 (RUN_TEST_f_L): Likewise.
12352 (RUN_TEST_fFF_11): Likewise.
12353 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
12355 (cosh_test_data): Likewise.
12356 (exp_test_data): Likewise.
12357 (expm1_test_data): Likewise.
12358 (hypot_test_data): Likewise.
12359 (pow_test_data): Likewise.
12360 (sinh_test_data): Likewise.
12361 (tanh_test_data): Likewise.
12362 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
12365 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
12366 tests with quiet NaN input and output.
12367 (acosh_test_data): Likewise.
12368 (asin_test_data): Likewise.
12369 (asinh_test_data): Likewise.
12370 (atan_test_data): Likewise.
12371 (atanh_test_data): Likewise.
12372 (atan2_test_data): Likewise.
12373 (cbrt_test_data): Likewise.
12374 (cos_test_data): Likewise.
12375 (cosh_test_data): Likewise.
12376 (erf_test_data): Likewise.
12377 (erfc_test_data): Likewise.
12378 (exp_test_data): Likewise.
12379 (exp10_test_data): Likewise.
12380 (exp2_test_data): Likewise.
12381 (expm1_test_data): Likewise.
12382 (hypot_test_data): Likewise.
12383 (j0_test_data): Likewise.
12384 (j1_test_data): Likewise.
12385 (jn_test_data): Likewise.
12386 (lgamma_test_data): Likewise.
12387 (log_test_data): Likewise.
12388 (log10_test_data): Likewise.
12389 (log1p_test_data): Likewise.
12390 (log2_test_data): Likewise.
12391 (pow_test_data): Likewise.
12392 (scalb_test_data): Likewise.
12393 (sin_test_data): Likewise.
12394 (sincos_test_data): Likewise.
12395 (sinh_test_data): Likewise.
12396 (tan_test_data): Likewise.
12397 (tanh_test_data): Likewise.
12398 (tgamma_test_data): Likewise.
12399 (y0_test_data): Likewise.
12400 (y1_test_data): Likewise.
12401 (yn_test_data): Likewise.
12404 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
12405 argument being NaN and avoid computations with second argument in
12407 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12408 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12409 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12411 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
12413 * locale/iso-639.def: Add Chitwani Tharu (the).
12415 2013-11-14 Andreas Schwab <schwab@suse.de>
12417 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
12418 word instead of empty string.
12420 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12423 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
12424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12425 (__fe_nomask_env): Likewise.
12427 2013-11-13 Steve Ellcey <sellcey@mips.com>
12429 * benchtests/bench-timing.h: Include time.h.
12431 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
12434 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
12436 * sysdeps/unix/sysv/linux/configure: Regenerated.
12438 2013-11-13 Joseph Myers <joseph@codesourcery.com>
12441 * stdlib/strtod_l.c (round_and_return): Do not consider
12442 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
12443 exponent one less than half the least subnormal exponent.
12444 * stdlib/test-strtod-round-data: Add more tests.
12445 * stdlib/tst-strtod-round.c (tests): Regenerated.
12447 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12450 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
12451 (__fe_mask_env): Likewise.
12452 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
12453 libm_hidden_proto and add function prototype.
12454 (__fe_mask_env): Add function prototype.
12455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12456 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
12457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
12458 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
12459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12460 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
12462 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12464 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
12465 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
12467 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12469 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
12470 of htab_find_slot().
12472 2013-11-11 David S. Miller <davem@davemloft.net>
12475 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
12476 symbol in the non-vis3 case in static builds.
12477 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
12478 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
12479 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
12480 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
12482 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12485 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
12488 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12490 * benchtests/Makefile: Add bench-strtod.
12491 * benchtests/bench-strtod.c: New file: strtod benchtest
12493 2013-11-11 Andreas Schwab <schwab@suse.de>
12496 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
12497 terminating NUL in key length.
12499 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12501 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12502 Add artificial ODP entry for vDSO symbol for PPC64.
12503 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
12504 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
12506 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
12509 * nss/getent.c (services_keys): Recognize services starting with digit.
12511 2013-11-06 David S. Miller <davem@davemloft.net>
12514 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
12515 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
12517 2013-11-06 Will Newton <will.newton@linaro.org>
12519 * manual/memory.texi (Malloc Examples): Remove register
12520 keyword from examples.
12522 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
12524 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
12526 2013-11-04 Joseph Myers <joseph@codesourcery.com>
12529 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
12530 depending on [__GCC_IEC_559 > 0].
12531 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
12532 depending on [__GCC_IEC_559_COMPLEX > 0].
12534 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
12536 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
12539 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
12541 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
12543 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
12546 * malloc/malloc (malloc_info): Do not handle first bin as
12549 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
12551 * locale/iso-639.def: Add Central Nahuatl (nhn).
12553 2013-11-01 Bruno Haible <bruno@clisp.org>
12556 * manual/math.texi (BSD Random): Specify range upper bound as
12559 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
12561 * locale/iso-639.def: Add Meadow Mari (mhr).
12563 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
12565 [BZ #14752], [BZ #15763]
12566 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
12568 * rt/tst_shm.c: Add test for escaping directory.
12570 2013-10-31 Andreas Schwab <schwab@suse.de>
12573 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
12574 followed by 'x' as part of digit sequence.
12575 * stdio-common/tst-sscanf.c (double_tests2): New tests.
12577 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
12580 * configure.ac: allow GNU Make 4.0 and greater.
12581 * configure: Regenerated.
12583 2013-10-30 Will Newton <will.newton@linaro.org>
12586 * malloc/hooks.c (memalign_check): Limit alignment to the
12587 maximum representable power of two.
12588 * malloc/malloc.c (__libc_memalign): Likewise.
12589 * malloc/tst-memalign.c (do_test): Add test for very
12590 large alignment values.
12591 * malloc/tst-posix_memalign.c (do_test): Likewise.
12593 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
12596 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
12597 (munmap_chunk): Likewise.
12598 (mremap_chunk): Likewise.
12600 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
12603 * stdlib/div.c (div): Remove obsolete code.
12604 * stdlib/ldiv.c (ldiv): Likewise.
12605 * stdlib/lldiv.c (lldiv): Likewise.
12607 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12610 * nss/nss_files/files-XXX.c (get_contents_ret): New
12612 (get_contents): New function.
12613 (internal_getent): Use it. Expand size of LINEBUFLEN.
12615 2013-10-30 Mike Frysinger <vapier@gentoo.org>
12617 * configure.in: Moved to ...
12618 * configure.ac: ... here. Change reference to configure.in
12620 * sysdeps/arm/preconfigure.ac: ... here.
12621 configure.in to configure.ac.
12622 * sysdeps/gnu/configure.in: Moved to ...
12623 * sysdeps/gnu/configure.ac: ... here.
12624 * sysdeps/i386/configure.in: Moved to ...
12625 * sysdeps/i386/configure.ac: ... here.
12626 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
12627 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
12628 * sysdeps/mach/configure.in: Moved to ...
12629 * sysdeps/mach/configure.ac: ... here.
12630 * sysdeps/mach/hurd/configure.in: Moved to ...
12631 * sysdeps/mach/hurd/configure.ac: ... here.
12632 * sysdeps/powerpc/configure.in: Moved to ...
12633 * sysdeps/powerpc/configure.ac: ... here.
12634 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
12635 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
12636 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
12637 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
12638 * sysdeps/s390/s390-32/configure.in: Moved to ...
12639 * sysdeps/s390/s390-32/configure.ac: ... here.
12640 * sysdeps/s390/s390-64/configure.in: Moved to ...
12641 * sysdeps/s390/s390-64/configure.ac: ... here.
12642 * sysdeps/sh/configure.in: Moved to ...
12643 * sysdeps/sh/configure.ac: ... here.
12644 * sysdeps/sparc/configure.in: Moved to ...
12645 * sysdeps/sparc/configure.ac: ... here.
12646 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
12647 * sysdeps/unix/sysv/linux/configure.ac: ... here.
12648 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
12649 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
12650 * sysdeps/x86_64/configure.in: Moved to ...
12651 * sysdeps/x86_64/configure.ac: ... here.
12652 * sysdeps/x86_64/preconfigure.in: Moved to ...
12653 * sysdeps/x86_64/preconfigure.ac: ... here.
12654 * aclocal.m4: Change reference to configure.in to configure.ac.
12655 * config.h.in: Likewise.
12656 * manual/install.texi: Likewise.
12657 * manual/maint.texi: Likewise.
12658 * Makefile: Likewise.
12659 * malloc/Makefile: Likewise.
12660 * nscd/Makefile: Likewise.
12661 * Makeconfig: Change reference to configure.in and
12662 preconfigure.in to configure.ac and preconfigure.ac
12664 * INSTALL: Regenerated.
12665 * configure: Likewise.
12666 * sysdeps/gnu/configure: Likewise.
12667 * sysdeps/i386/configure: Likewise.
12668 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
12669 * sysdeps/mach/configure: Likewise.
12670 * sysdeps/mach/hurd/configure: Likewise.
12671 * sysdeps/powerpc/configure: Likewise.
12672 * sysdeps/powerpc/powerpc32/configure: Likewise.
12673 * sysdeps/powerpc/powerpc64/configure: Likewise.
12674 * sysdeps/s390/s390-32/configure: Likewise.
12675 * sysdeps/s390/s390-64/configure: Likewise.
12676 * sysdeps/sh/configure: Likewise.
12677 * sysdeps/sparc/configure: Likewise.
12678 * sysdeps/unix/sysv/linux/configure: Likewise.
12679 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
12680 * sysdeps/x86_64/configure: Likewise.
12681 * sysdeps/x86_64/preconfigure: Likewise.
12683 2013-10-29 Andreas Schwab <schwab@suse.de>
12685 * stdio-common/Makefile (tst-swscanf-ENV): Define.
12687 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12689 * benchtests/pow-inputs: Add new inputs.
12691 * benchtests/exp-inputs: Add new inputs.
12693 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
12694 conditional check for return value.
12695 (__cos32): Likewise.
12697 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12699 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
12700 to provide a boost for large inputs with word alignment.
12701 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
12702 implementation based on optimized PPC64 strcpy.
12703 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
12704 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
12705 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
12706 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
12708 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12711 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
12713 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12716 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
12717 * time/tst-strptime.c (day_tests): Add testcase.
12719 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12722 * manual/pattern.texi: Acknowledge that fnmatch can fail.
12724 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
12727 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
12728 MAP_FAILED on error.
12730 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12733 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
12734 heap for large requests.
12736 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
12739 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
12740 result if the result has no associated interface.
12741 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
12742 interface for all 127.X.Y.Z addresses.
12744 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
12746 * locale/iso-639.def: Add Ligurian (lij)
12748 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
12751 * sunrpc/rpc_main.c: Document rpcgen -5.
12753 2013-10-19 Michael Stahl <mstahl@redhat.com>
12755 * elf/rtld.c (do_preload): Print the reason why preloading failed.
12757 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12760 * posix/glob.c: Match only directories when trailing slash is present.
12761 * posix/tst-gnuglob.c (my_opendir): Do not open files.
12762 (main): Add testcase.
12764 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12767 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
12769 2013-10-18 Carlos O'Donell <carlos@redhat.com>
12771 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
12772 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
12773 AUTH_DES and cindex for FIPS 140-2.
12774 (DES Encryption): Add cindex FIPS 46-3.
12776 * locale/locarchive.h (struct locarhandle): Add fname.
12777 * locale/programs/localedef.c (main): Pass ARGV[remaining]
12778 if an optional argument was specified to --list-archive,
12780 * locale/programs/locarchive.c (show_archive_content): Take new
12781 argument fname and pass it via ah.fname to open_archive.
12782 * locale/programs/localedef.h: Update decl.
12783 (open_archive): If AH->fname is non-null, open that file
12784 rather than the default file name, and don't ignore ENOENT.
12785 (create_archive): Set AH.fname to NULL.
12786 (delete_locales_from_archive): Likewise.
12787 (add_locales_to_archive): Likewise.
12788 * locale/programs/locfile.c (write_all_categories): Likewise.
12790 2013-10-18 Joseph Myers <joseph@codesourcery.com>
12791 Aldy Hernandez <aldyh@redhat.com>
12793 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
12794 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
12795 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
12796 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
12797 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
12798 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
12799 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
12800 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
12801 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
12802 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
12803 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
12804 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
12805 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
12806 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
12807 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
12809 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
12811 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
12813 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
12815 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
12816 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
12818 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
12819 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
12820 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
12821 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
12823 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
12824 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
12825 * sysdeps/powerpc/preconfigure: Likewise.
12826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12828 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
12829 Replace contents of file by #include of <fenv_libc.h>.
12830 * sysdeps/powerpc/soft-fp/sfp-machine.h
12831 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
12833 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
12834 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
12835 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
12836 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
12837 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
12838 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
12839 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
12840 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
12841 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
12842 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
12843 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
12844 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
12845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12846 Allow copysignl PLT reference to be missing.
12848 2013-10-18 Richard Sandiford <richard@codesourcery.com>
12849 Joseph Myers <joseph@codesourcery.com
12852 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
12854 (add_to_tablewc): Assert sequence of wide characters is nonempty.
12856 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12858 * elf/tst-tls-dlinfo.c: Don't include tls.h.
12859 * elf/tst-tls1.c: Likewise.
12860 * elf/tst-tls10.h: Likewise.
12861 * elf/tst-tls14.c: Likewise.
12862 * elf/tst-tls2.c: Likewise.
12863 * elf/tst-tls3.c: Likewise.
12864 * elf/tst-tls4.c: Likewise.
12865 * elf/tst-tls5.c: Likewise.
12866 * elf/tst-tls6.c: Likewise.
12867 * elf/tst-tls7.c: Likewise.
12868 * elf/tst-tls8.c: Likewise.
12869 * elf/tst-tls9.c: Likewise.
12870 * elf/tst-tlsmod1.c: Likewise.
12871 * elf/tst-tlsmod13.c: Likewise.
12872 * elf/tst-tlsmod13a.c: Likewise.
12873 * elf/tst-tlsmod14a.c: Likewise.
12874 * elf/tst-tlsmod16a.c: Likewise.
12875 * elf/tst-tlsmod16b.c: Likewise.
12876 * elf/tst-tlsmod2.c: Likewise.
12877 * elf/tst-tlsmod3.c: Likewise.
12878 * elf/tst-tlsmod4.c: Likewise.
12879 * elf/tst-tlsmod5.c: Likewise.
12880 * elf/tst-tlsmod6.c: Likewise.
12882 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
12885 * malloc/malloc.c: remove checks for statistics.
12887 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12890 * inet/inet_net.c (inet_network): Detect additional invalid strings.
12891 * inet/tst-network.c: Add testcase.
12893 2013-10-17 Andreas Schwab <schwab@suse.de>
12896 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
12897 to determine canonical name.
12899 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12901 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
12902 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
12903 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12904 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12905 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12906 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12907 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12908 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12909 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12910 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12911 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12912 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12913 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12914 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12915 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12916 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12917 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12918 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12919 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12920 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12921 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12922 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12923 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12924 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
12925 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
12926 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12927 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12928 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
12929 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12930 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
12931 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12932 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12933 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12934 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12935 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12936 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12937 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12938 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12939 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12940 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12941 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12942 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12943 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12944 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12945 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12946 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12947 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12948 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12949 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12950 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12951 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12952 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12953 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12954 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12955 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12956 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12957 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12958 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12960 2013-10-17 Joseph Myers <joseph@codesourcery.com>
12963 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
12964 make result into a quiet NaN.
12966 2013-10-16 Joseph Myers <joseph@codesourcery.com>
12968 * soft-fp/adddf3.c: Fix horizontal whitespace.
12969 * soft-fp/addsf3.c: Likewise.
12970 * soft-fp/addtf3.c: Likewise.
12971 * soft-fp/divdf3.c: Likewise.
12972 * soft-fp/divsf3.c: Likewise.
12973 * soft-fp/divtf3.c: Likewise.
12974 * soft-fp/double.h: Likewise.
12975 * soft-fp/eqdf2.c: Likewise.
12976 * soft-fp/eqsf2.c: Likewise.
12977 * soft-fp/eqtf2.c: Likewise.
12978 * soft-fp/extenddftf2.c: Likewise.
12979 * soft-fp/extended.h: Likewise.
12980 * soft-fp/extendsfdf2.c: Likewise.
12981 * soft-fp/extendsftf2.c: Likewise.
12982 * soft-fp/extendxftf2.c: Likewise.
12983 * soft-fp/fixdfdi.c: Likewise.
12984 * soft-fp/fixdfsi.c: Likewise.
12985 * soft-fp/fixdfti.c: Likewise.
12986 * soft-fp/fixsfdi.c: Likewise.
12987 * soft-fp/fixsfsi.c: Likewise.
12988 * soft-fp/fixsfti.c: Likewise.
12989 * soft-fp/fixtfdi.c: Likewise.
12990 * soft-fp/fixtfsi.c: Likewise.
12991 * soft-fp/fixtfti.c: Likewise.
12992 * soft-fp/fixunsdfdi.c: Likewise.
12993 * soft-fp/fixunsdfsi.c: Likewise.
12994 * soft-fp/fixunsdfti.c: Likewise.
12995 * soft-fp/fixunssfdi.c: Likewise.
12996 * soft-fp/fixunssfsi.c: Likewise.
12997 * soft-fp/fixunssfti.c: Likewise.
12998 * soft-fp/fixunstfdi.c: Likewise.
12999 * soft-fp/fixunstfsi.c: Likewise.
13000 * soft-fp/fixunstfti.c: Likewise.
13001 * soft-fp/floatdidf.c: Likewise.
13002 * soft-fp/floatdisf.c: Likewise.
13003 * soft-fp/floatditf.c: Likewise.
13004 * soft-fp/floatsidf.c: Likewise.
13005 * soft-fp/floatsisf.c: Likewise.
13006 * soft-fp/floatsitf.c: Likewise.
13007 * soft-fp/floattidf.c: Likewise.
13008 * soft-fp/floattisf.c: Likewise.
13009 * soft-fp/floattitf.c: Likewise.
13010 * soft-fp/floatundidf.c: Likewise.
13011 * soft-fp/floatundisf.c: Likewise.
13012 * soft-fp/floatunditf.c: Likewise.
13013 * soft-fp/floatunsidf.c: Likewise.
13014 * soft-fp/floatunsisf.c: Likewise.
13015 * soft-fp/floatunsitf.c: Likewise.
13016 * soft-fp/floatuntidf.c: Likewise.
13017 * soft-fp/floatuntisf.c: Likewise.
13018 * soft-fp/floatuntitf.c: Likewise.
13019 * soft-fp/fmadf4.c: Likewise.
13020 * soft-fp/fmasf4.c: Likewise.
13021 * soft-fp/fmatf4.c: Likewise.
13022 * soft-fp/gedf2.c: Likewise.
13023 * soft-fp/gesf2.c: Likewise.
13024 * soft-fp/getf2.c: Likewise.
13025 * soft-fp/ledf2.c: Likewise.
13026 * soft-fp/lesf2.c: Likewise.
13027 * soft-fp/letf2.c: Likewise.
13028 * soft-fp/muldf3.c: Likewise.
13029 * soft-fp/mulsf3.c: Likewise.
13030 * soft-fp/multf3.c: Likewise.
13031 * soft-fp/negdf2.c: Likewise.
13032 * soft-fp/negsf2.c: Likewise.
13033 * soft-fp/negtf2.c: Likewise.
13034 * soft-fp/op-1.h: Likewise.
13035 * soft-fp/op-2.h: Likewise.
13036 * soft-fp/op-4.h: Likewise.
13037 * soft-fp/op-8.h: Likewise.
13038 * soft-fp/op-common.h: Likewise.
13039 * soft-fp/quad.h: Likewise.
13040 * soft-fp/single.h: Likewise.
13041 * soft-fp/soft-fp.h: Likewise.
13042 * soft-fp/sqrtdf2.c: Likewise.
13043 * soft-fp/sqrtsf2.c: Likewise.
13044 * soft-fp/sqrttf2.c: Likewise.
13045 * soft-fp/subdf3.c: Likewise.
13046 * soft-fp/subsf3.c: Likewise.
13047 * soft-fp/subtf3.c: Likewise.
13048 * soft-fp/truncdfsf2.c: Likewise.
13049 * soft-fp/trunctfdf2.c: Likewise.
13050 * soft-fp/trunctfsf2.c: Likewise.
13051 * soft-fp/trunctfxf2.c: Likewise.
13052 * soft-fp/unorddf2.c: Likewise.
13053 * soft-fp/unordsf2.c: Likewise.
13054 * soft-fp/unordtf2.c: Likewise.
13056 2013-10-15 Joseph Myers <joseph@codesourcery.com>
13058 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
13059 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
13061 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
13063 * elf/dl-libc.c: Clear initfini list after freeing.
13065 2013-10-14 Joseph Myers <joseph@codesourcery.com>
13067 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
13068 * soft-fp/addsf3.c: Likewise.
13069 * soft-fp/addtf3.c: Likewise.
13070 * soft-fp/divdf3.c: Likewise.
13071 * soft-fp/divsf3.c: Likewise.
13072 * soft-fp/divtf3.c: Likewise.
13073 * soft-fp/double.h: Likewise.
13074 * soft-fp/eqdf2.c: Likewise.
13075 * soft-fp/eqsf2.c: Likewise.
13076 * soft-fp/eqtf2.c: Likewise.
13077 * soft-fp/extenddftf2.c: Likewise.
13078 * soft-fp/extended.h: Likewise.
13079 * soft-fp/extendsfdf2.c: Likewise.
13080 * soft-fp/extendsftf2.c: Likewise.
13081 * soft-fp/extendxftf2.c: Likewise.
13082 * soft-fp/fixdfdi.c: Likewise.
13083 * soft-fp/fixdfsi.c: Likewise.
13084 * soft-fp/fixdfti.c: Likewise.
13085 * soft-fp/fixsfdi.c: Likewise.
13086 * soft-fp/fixsfsi.c: Likewise.
13087 * soft-fp/fixsfti.c: Likewise.
13088 * soft-fp/fixtfdi.c: Likewise.
13089 * soft-fp/fixtfsi.c: Likewise.
13090 * soft-fp/fixtfti.c: Likewise.
13091 * soft-fp/fixunsdfdi.c: Likewise.
13092 * soft-fp/fixunsdfsi.c: Likewise.
13093 * soft-fp/fixunsdfti.c: Likewise.
13094 * soft-fp/fixunssfdi.c: Likewise.
13095 * soft-fp/fixunssfsi.c: Likewise.
13096 * soft-fp/fixunssfti.c: Likewise.
13097 * soft-fp/fixunstfdi.c: Likewise.
13098 * soft-fp/fixunstfsi.c: Likewise.
13099 * soft-fp/fixunstfti.c: Likewise.
13100 * soft-fp/floatdidf.c: Likewise.
13101 * soft-fp/floatdisf.c: Likewise.
13102 * soft-fp/floatditf.c: Likewise.
13103 * soft-fp/floatsidf.c: Likewise.
13104 * soft-fp/floatsisf.c: Likewise.
13105 * soft-fp/floatsitf.c: Likewise.
13106 * soft-fp/floattidf.c: Likewise.
13107 * soft-fp/floattisf.c: Likewise.
13108 * soft-fp/floattitf.c: Likewise.
13109 * soft-fp/floatundidf.c: Likewise.
13110 * soft-fp/floatundisf.c: Likewise.
13111 * soft-fp/floatunsidf.c: Likewise.
13112 * soft-fp/floatunsisf.c: Likewise.
13113 * soft-fp/floatuntidf.c: Likewise.
13114 * soft-fp/floatuntisf.c: Likewise.
13115 * soft-fp/floatuntitf.c: Likewise.
13116 * soft-fp/fmadf4.c: Likewise.
13117 * soft-fp/fmasf4.c: Likewise.
13118 * soft-fp/fmatf4.c: Likewise.
13119 * soft-fp/gedf2.c: Likewise.
13120 * soft-fp/gesf2.c: Likewise.
13121 * soft-fp/getf2.c: Likewise.
13122 * soft-fp/ledf2.c: Likewise.
13123 * soft-fp/lesf2.c: Likewise.
13124 * soft-fp/letf2.c: Likewise.
13125 * soft-fp/muldf3.c: Likewise.
13126 * soft-fp/mulsf3.c: Likewise.
13127 * soft-fp/multf3.c: Likewise.
13128 * soft-fp/negdf2.c: Likewise.
13129 * soft-fp/negsf2.c: Likewise.
13130 * soft-fp/negtf2.c: Likewise.
13131 * soft-fp/op-1.h: Likewise.
13132 * soft-fp/op-2.h: Likewise.
13133 * soft-fp/op-4.h: Likewise.
13134 * soft-fp/op-8.h: Likewise.
13135 * soft-fp/op-common.h: Likewise.
13136 * soft-fp/quad.h: Likewise.
13137 * soft-fp/single.h: Likewise.
13138 * soft-fp/soft-fp.h: Likewise.
13139 * soft-fp/sqrtdf2.c: Likewise.
13140 * soft-fp/sqrtsf2.c: Likewise.
13141 * soft-fp/sqrttf2.c: Likewise.
13142 * soft-fp/subdf3.c: Likewise.
13143 * soft-fp/subsf3.c: Likewise.
13144 * soft-fp/subtf3.c: Likewise.
13145 * soft-fp/truncdfsf2.c: Likewise.
13146 * soft-fp/trunctfdf2.c: Likewise.
13147 * soft-fp/trunctfsf2.c: Likewise.
13148 * soft-fp/trunctfxf2.c: Likewise.
13149 * soft-fp/unorddf2.c: Likewise.
13150 * soft-fp/unordsf2.c: Likewise.
13151 * soft-fp/unordtf2.c: Likewise.
13153 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
13156 * misc/error.c (error_tail): Fix possible buffer overflow.
13158 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
13161 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
13164 2013-10-14 P. J. McDermott <pj@pehjota.net>
13167 * elf/ldd.bash.in (try_trace): New function. Delete previous code
13168 testing pipefail option.
13170 2013-10-12 Joseph Myers <joseph@codesourcery.com>
13172 * soft-fp/double.h: Indent preprocessor directives inside #if.
13173 * soft-fp/extended.h: Likewise.
13174 * soft-fp/op-2.h: Likewise.
13175 * soft-fp/op-4.h: Likewise.
13176 * soft-fp/op-common.h: Likewise.
13177 * soft-fp/quad.h: Likewise.
13178 * soft-fp/single.h: Likewise.
13179 * soft-fp/soft-fp.h: Likewise.
13181 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
13183 * iconv/iconv_prog.c: Fix typos.
13184 * stdio-common/psiginfo-data.h: Likewise.
13186 2013-10-12 Reuben Thomas <rrt@sc3d.org>
13189 * locale/setlocale.c: Fix typo.
13191 2013-10-12 Joseph Myers <joseph@codesourcery.com>
13194 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
13195 signaling NaN arguments.
13196 * soft-fp/unordsf2.c (__unordsf2): Likewise.
13197 * soft-fp/unordtf2.c (__unordtf2): Likewise.
13200 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
13201 unordered operands.
13202 * soft-fp/gesf2.c (__gesf2): Likewise.
13203 * soft-fp/getf2.c (__getf2): Likewise.
13204 * soft-fp/ledf2.c (__ledf2): Likewise.
13205 * soft-fp/lesf2.c (__lesf2): Likewise.
13206 * soft-fp/letf2.c (__letf2): Likewise.
13208 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
13209 * soft-fp/eqsf2.c (__eqsf2): Likewise.
13210 * soft-fp/eqtf2.c (__eqtf2): Likewise.
13211 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
13212 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
13213 * soft-fp/fixdfti.c (__fixdfti): Likewise.
13214 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
13215 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
13216 * soft-fp/fixsfti.c (__fixsfti): Likewise.
13217 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
13218 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
13219 * soft-fp/fixtfti.c (__fixtfti): Likewise.
13220 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
13221 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
13222 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
13223 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
13224 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
13225 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
13226 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
13227 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
13228 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
13229 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
13230 * soft-fp/floatdisf.c (__floatdisf): Likewise.
13231 * soft-fp/floatsisf.c (__floatsisf): Likewise.
13232 * soft-fp/floattidf.c (__floattidf): Likewise.
13233 * soft-fp/floattisf.c (__floattisf): Likewise.
13234 * soft-fp/floattitf.c (__floattitf): Likewise.
13235 * soft-fp/floatundidf.c (__floatundidf): Likewise.
13236 * soft-fp/floatundisf.c (__floatundisf): Likewise.
13237 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
13238 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
13239 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
13240 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
13241 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
13242 * soft-fp/gesf2.c (__gesf2): Likewise.
13243 * soft-fp/getf2.c (__getf2): Likewise.
13244 * soft-fp/ledf2.c (__ledf2): Likewise.
13245 * soft-fp/lesf2.c (__lesf2): Likewise.
13246 * soft-fp/letf2.c (__letf2): Likewise.
13248 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
13249 Undefine and redefine.
13250 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
13251 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
13252 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
13253 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
13254 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13255 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
13256 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13257 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
13258 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13259 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
13260 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13261 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
13262 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13263 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
13264 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13267 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
13268 without decrementing exponent if mantissa >= that for the
13269 denominator, not >.
13270 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
13271 denominator, not >. Decrement exponent in < case instead of
13272 incrementing in >= case.
13273 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
13274 without decrementing exponent if mantissa >= that for the
13275 denominator, not >.
13277 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
13278 computing saturated result for unsigned overflow.
13280 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13281 Jeff Law <law@redhat.com>
13283 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
13284 (atan2Mp): Add systemtap probe marker.
13285 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
13286 (__ieee754_log): Add systemtap probe marker.
13287 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
13288 (atanMp): Add systemtap probe marker.
13289 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
13290 (tanMp): Add systemtap probe marker.
13291 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
13292 (__slowexp): Add systemtap probe marker.
13293 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
13294 (__slowpow): Add systemtap probe marker.
13295 * manual/probes.texi: Document probes.
13297 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
13300 * libio/fileops.c (_IO_new_file_write): Return count of bytes
13302 (_IO_new_file_xsputn): Don't return EOF if nothing has been
13304 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
13305 written to buffer but not flushed.
13306 * libio/iofwrite_u.c: Likewise.
13307 * libio/iopadn.c: Return bytes returned even if EOF was
13309 * libio/iowpadn.c: Likewise.
13310 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
13311 if _IO_padn does not write the whole buffer.
13312 [!COMPILE_WPRINTF] (PAD): Likewise.
13314 2013-10-10 David S. Miller <davem@davemloft.net>
13316 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
13319 2013-10-10 Joseph Myers <joseph@codesourcery.com>
13321 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
13322 instead of FSF address.
13323 * soft-fp/fixdfti.c: Likewise.
13324 * soft-fp/fixsfti.c: Likewise.
13325 * soft-fp/fixtfti.c: Likewise.
13326 * soft-fp/fixunsdfti.c: Likewise.
13327 * soft-fp/fixunssfti.c: Likewise.
13328 * soft-fp/fixunstfti.c: Likewise.
13329 * soft-fp/floattidf.c: Likewise.
13330 * soft-fp/floattisf.c: Likewise.
13331 * soft-fp/floattitf.c: Likewise.
13332 * soft-fp/floatuntidf.c: Likewise.
13333 * soft-fp/floatuntisf.c: Likewise.
13334 * soft-fp/floatuntitf.c: Likewise.
13335 * soft-fp/trunctfxf2.c: Likewise.
13337 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
13338 * soft-fp/fixdfti.c: Likewise.
13339 * soft-fp/fixsfti.c: Likewise.
13340 * soft-fp/fixtfti.c: Likewise.
13341 * soft-fp/fixunsdfti.c: Likewise.
13342 * soft-fp/fixunssfti.c: Likewise.
13343 * soft-fp/fixunstfti.c: Likewise.
13344 * soft-fp/floattidf.c: Likewise.
13345 * soft-fp/floattisf.c: Likewise.
13346 * soft-fp/floattitf.c: Likewise.
13347 * soft-fp/floatuntidf.c: Likewise.
13348 * soft-fp/floatuntisf.c: Likewise.
13349 * soft-fp/floatuntitf.c: Likewise.
13350 * soft-fp/trunctfxf2.c: Likewise.
13352 2013-10-10 David S. Miller <davem@davemloft.net>
13354 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13356 2013-10-10 Joseph Myers <joseph@codsourcery.com>
13358 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13359 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
13360 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
13361 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
13362 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
13363 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
13364 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
13366 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
13367 for NaNs before doing comparisons on argument.
13368 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13371 2013-10-10 Will Newton <will.newton@linaro.org>
13373 * malloc/hooks.c (memalign_check): Ensure the value of bytes
13374 passed to _int_memalign does not overflow.
13376 2013-10-10 Torvald Riegel <triegel@redhat.com>
13378 * scripts/bench.pl: Add include-sources directive.
13379 * benchtests/README: Update documentation.
13381 2013-10-10 Joseph Myers <joseph@codesourcery.com>
13383 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
13384 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
13385 instead of FP_INIT_ROUNDMODE.
13386 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
13387 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
13390 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
13391 copy class of input value.
13392 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
13393 not handle exceptions.
13394 * soft-fp/negsf2.c (__negsf2): Likewise.
13395 * soft-fp/negtf2.c (__negtf2): Likewise.
13396 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
13398 2013-10-09 Joseph Myers <joseph@codesourcery.com>
13400 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
13401 semicolon. From Linux kernel.
13403 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
13405 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
13407 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
13410 * manual/socket.texi: Added statement about buffer
13411 for gethostbyname2_r.
13413 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
13415 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
13416 Use .p2align directive instead, throughout.
13417 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13418 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13419 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13420 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13421 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13422 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13423 * sysdeps/x86_64/strchr.S: Likewise.
13424 * sysdeps/x86_64/strrchr.S: Likewise.
13426 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13428 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
13430 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
13432 * sysdeps/generic/math_private.h (__mpsin1): Remove
13434 (__mpcos1): Likewise.
13435 (__mpsin): New argument __range_reduce.
13436 (__mpcos): Likewise.
13437 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13438 (slow): Use __mpsin and __mpcos.
13442 (sloww1): Likewise.
13443 (sloww2): Likewise.
13444 (bsloww): Likewise.
13445 (bsloww1): Likewise.
13446 (bsloww2): Likewise.
13447 (cslow2): Likewise.
13448 (csloww): Likewise.
13449 (csloww1): Likewise.
13450 (csloww2): Likewise.
13451 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
13452 range_reduce. Merge in __mpsin1.
13453 (__mpcos): Likewise.
13454 (__mpsin1): Remove.
13455 (__mpcos1): Likewise.
13457 2013-10-07 Joseph Myers <joseph@codesourcery.com>
13459 * locale/loadlocale.c (_nl_intern_locale_data): Use
13461 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
13462 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
13463 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
13464 obstack data is appropriately aligned.
13465 (obstack_int32_grow_fast): Likewise.
13466 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
13467 * locale/programs/locfile.c (add_locale_uint32): Likewise.
13468 (add_locale_uint32_array): Likewise.
13470 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13472 * benchtests/Makefile: Remove ARGLIST and RET variables.
13473 ($(objpfx)bench-%.c): Pass only function name to the script.
13474 * benchtests/README: Update documentation.
13475 * benchtests/acos-inputs: Add new directives.
13476 * benchtests/acosh-inputs: Likewise.
13477 * benchtests/asin-inputs: Likewise.
13478 * benchtests/asinh-inputs: Likewise.
13479 * benchtests/atan-inputs: Likewise.
13480 * benchtests/atanh-inputs: Likewise.
13481 * benchtests/cos-inputs: Likewise.
13482 * benchtests/cosh-inputs: Likewise.
13483 * benchtests/exp-inputs: Likewise.
13484 * benchtests/log-inputs: Likewise.
13485 * benchtests/pow-inputs: Likewise.
13486 * benchtests/rint-inputs: Likewise.
13487 * benchtests/sin-inputs: Likewise.
13488 * benchtests/sinh-inputs: Likewise.
13489 * benchtests/tan-inputs: Likewise.
13490 * benchtests/tanh-inputs: Likewise.
13491 * scripts/bench.pl: Add support for new directives.
13493 2013-10-07 Alan Modra <amodra@gmail.com>
13495 * README: Fix careless merge.
13497 2013-10-05 Alan Modra <amodra@gmail.com>
13499 * NEWS: Mention powerpc64le support and bugs fixed.
13500 * README: Both big-endian and little-endian powerpc64 supported.
13502 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13504 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
13505 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
13506 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
13507 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
13509 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
13511 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
13514 2013-10-04 Joseph Myers <joseph@codesourcery.com>
13516 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
13517 Move -mhard-float appending from
13518 ports/sysdeps/powerpc/powerpc32/Makefile.
13519 [$(with-fp) = yes] (ASFLAGS): Likewise.
13520 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
13521 * sysdeps/powerpc/nofpu: Move directory from
13522 ports/sysdeps/powerpc/nofpu.
13523 * sysdeps/powerpc/soft-fp: Move directory from
13524 ports/sysdeps/powerpc/soft-fp.
13525 * sysdeps/powerpc/powerpc32/405: Move directory from
13526 ports/sysdeps/powerpc/powerpc32/405.
13527 * sysdeps/powerpc/powerpc32/440: Move directory from
13528 ports/sysdeps/powerpc/powerpc32/440.
13529 * sysdeps/powerpc/powerpc32/464: Move directory from
13530 ports/sysdeps/powerpc/powerpc32/464.
13531 * sysdeps/powerpc/powerpc32/476: Move directory from
13532 ports/sysdeps/powerpc/powerpc32/476.
13533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
13534 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
13535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
13536 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
13537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
13538 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
13539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
13540 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
13541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
13542 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
13543 * README: Update for powerpc-*-linux-gnu software floating point
13546 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
13547 case to powerpc/powerpc32*.
13548 * sysdeps/unix/sysv/linux/configure: Regenerated.
13550 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
13551 (_FPU_MASK_OM): Define as 0x04.
13552 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
13553 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
13555 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
13557 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
13559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
13560 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
13563 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
13566 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
13567 and setcontext_e500.
13569 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
13571 * locale/iso-3166.def: Update iso-1366.def and related occurrences
13573 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13575 * manual/threads.texi (Default Thread Attributes): Fix typo.
13577 2013-10-04 Will Newton <will.newton@linaro.org>
13579 * malloc/Makefile: Add tst-memalign.
13580 * malloc/tst-memalign.c: New file.
13582 * malloc/tst-posix_memalign.c: Add comments.
13583 (do_test): Add comments and call free on all potentially
13584 allocated pointers. Add space after cast.
13586 * malloc/tst-pvalloc.c: Add comments.
13587 (do_test): Add comments and call free on all potentially
13588 allocated pointers. Remove duplicate check for NULL pointer.
13589 Add space after cast.
13591 * malloc/tst-valloc.c: Add comments.
13592 (do_test): Add comments and call free on all potentially
13593 allocated pointers. Remove duplicate check for NULL pointer.
13594 Add space after cast.
13596 2013-10-04 Alan Modra <amodra@gmail.com>
13598 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13599 Use stdint types in rather than __attribute__((mode())).
13600 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13602 2013-10-04 Alan Modra <amodra@gmail.com>
13604 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13605 Correct handling of unaligned relocs for little-endian.
13606 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13608 2013-10-04 Alan Modra <amodra@gmail.com>
13610 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
13611 * configure: Regenerate.
13612 * nptl/shlib-versions: Powerpc*le starts at 2.18.
13613 * shlib-versions: Likewise.
13615 2013-10-04 Alan Modra <amodra@gmail.com>
13617 * string/tester.c (test_memrchr): Increment reported test cycle.
13619 2013-10-04 Alan Modra <amodra@gmail.com>
13621 * string/test-memcpy.c (do_one_test): When reporting errors, print
13622 string address and don't overrun end of string.
13624 2013-10-04 Alan Modra <amodra@gmail.com>
13626 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
13627 insrdi. Make better use of reg selection to speed exit slightly.
13628 Schedule entry path a little better. Remove useless "are we done"
13629 checks on entry to main loop. Handle wrapping around zero address.
13630 Correct main loop count. Handle single left-over word from main
13631 loop inline rather than by using loop_small. Remove extra word
13632 case in loop_small caused by wrong loop count. Add little-endian
13634 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13635 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
13637 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13638 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
13639 support. Avoid rlwimi.
13640 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
13642 2013-10-04 Alan Modra <amodra@gmail.com>
13644 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
13645 insrdi. Formatting.
13646 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
13647 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13648 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13649 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13650 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13651 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
13653 2013-10-04 Alan Modra <amodra@gmail.com>
13655 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
13656 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13657 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13658 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
13659 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13660 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13661 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13662 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13663 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
13664 use of regs. Use power7 mtocrf. Tidy function tails.
13666 2013-10-04 Alan Modra <amodra@gmail.com>
13668 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
13669 Formatting. Consistently use rXXX register defines or rN defines.
13670 Use early exit labels that avoid restoring unused non-volatile regs.
13671 Make cr field use more consistent with rWORDn compares. Rename
13672 regs used as shift registers for unaligned loop, using rN defines
13673 for short lifetime/multiple use regs.
13674 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13675 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
13676 addi 1,1,64 to pop stack frame. Simplify return value code.
13677 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13679 2013-10-04 Alan Modra <amodra@gmail.com>
13681 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
13682 support. Correct typos, formatting. Optimize tail. Use insrdi
13683 rather than rlwimi.
13684 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
13685 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
13686 little-endian support. Correct typos.
13687 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
13688 rather than rlwimi.
13689 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
13690 in loop and entry code to keep "and." results.
13691 (strchr): Add little-endian support. Comment. Move cntlzd
13693 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
13695 2013-10-04 Alan Modra <amodra@gmail.com>
13697 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
13698 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
13699 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13700 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
13702 2013-10-04 Alan Modra <amodra@gmail.com>
13704 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
13705 (rTMP): Define as r11.
13706 (strcmp): Add little-endian support. Optimise tail.
13707 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
13708 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13709 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13710 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13711 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13712 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13713 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13715 2013-10-04 Alan Modra <amodra@gmail.com>
13717 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
13718 little-endian support. Remove unnecessary "are we done" tests.
13719 Handle "s" wrapping around zero and extremely large "size".
13720 Correct main loop count. Handle single left-over word from main
13721 loop inline rather than by using small_loop. Correct comments.
13722 Delete "zero" tail, use "end_max" instead.
13723 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
13725 2013-10-04 Alan Modra <amodra@gmail.com>
13727 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
13728 support. Don't branch over align.
13729 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
13730 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
13731 support. Rearrange tmp reg use to suit. Comment.
13732 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
13734 2013-10-04 Alan Modra <amodra@gmail.com>
13736 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
13738 2013-10-04 Alan Modra <amodra@gmail.com>
13740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
13741 conditional form of branch and link when obtaining pc.
13742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13744 2013-10-04 Alan Modra <amodra@gmail.com>
13746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
13748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
13749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
13751 2013-10-04 Alan Modra <amodra@gmail.com>
13753 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
13754 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
13755 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13756 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
13757 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13758 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13759 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
13760 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13761 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13762 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
13764 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13765 Alistair Popple <alistair@ozlabs.au.ibm.com>
13766 Alan Modra <amodra@gmail.com>
13769 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
13770 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
13771 _dl_hwcap access for little-endian.
13772 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
13773 destroy vmx regs when saving unaligned.
13774 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
13775 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
13776 destroy vmx regs when saving unaligned.
13778 2013-10-04 Alan Modra <amodra@gmail.com>
13780 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
13781 Don't use a union to pack hi/low value.
13783 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13785 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
13787 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13788 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
13789 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13790 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13791 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13793 2013-10-04 Alan Modra <amodra@gmail.com>
13795 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
13796 constants to usual value for .cst8 section, and remove redundant
13798 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
13799 constant for 0x1p52. Load little-endian words of double from
13800 correct stack offsets.
13802 2013-10-04 Alan Modra <amodra@gmail.com>
13804 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
13805 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
13806 words of double from correct stack offsets.
13807 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13808 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
13809 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13810 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13811 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13812 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13813 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13814 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13815 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13816 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13817 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13818 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13819 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13820 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13821 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13822 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
13823 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13825 2013-10-04 Alan Modra <amodra@gmail.com>
13827 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
13828 64-bit int/double union.
13829 (_FPU_SETCW): Likewise.
13830 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
13831 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
13833 2013-10-04 Alan Modra <amodra@gmail.com>
13835 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
13836 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
13838 2013-10-04 Alan Modra <amodra@gmail.com>
13840 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
13841 use vector int constants.
13842 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
13844 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13846 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
13847 array with long long.
13848 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
13849 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
13850 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
13851 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
13852 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
13853 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
13854 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
13855 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
13856 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
13857 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
13858 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
13859 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
13860 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
13862 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13864 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
13865 (__signbit): Likewise. Correct for little-endian.
13866 (__signbitl): Call __signbit.
13867 (lrint): Correct for little-endian.
13868 (lrintf): Call lrint.
13870 2013-10-04 Alan Modra <amodra@gmail.com>
13872 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
13873 union 32-bit int array member with 64-bit int array.
13874 (t515, tm256): Double rather than long double.
13875 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
13877 2013-10-04 Alan Modra <amodra@gmail.com>
13879 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
13881 (IEEE854_LONG_DOUBLE_BIAS): Delete.
13882 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
13883 version of math_ldbl.h.
13885 2013-10-04 Alan Modra <amodra@gmail.com>
13887 [BZ #15734], [BZ #15735]
13888 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
13889 all uses of ieee875 long double macros and unions. Simplify test
13890 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
13891 ldbl_extract_mantissa value for ix,iy exponents. Properly
13892 normalize after ldbl_extract_mantissa, and don't add hidden bit
13893 already handled. Don't treat low word of ieee854 mantissa like
13894 low word of IBM long double and mask off bit when testing for
13896 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
13897 all uses of ieee875 long double macros and unions. Simplify tests
13898 for 0.0L and inf. Correct double adjustment of k. Delete dead code
13899 adjusting ha,hb. Simplify code setting kld. Delete two600 and
13900 two1022, instead use their values. Recognise that tests for large
13901 "a" and small "b" are mutually exclusive. Rename vars. Comment.
13902 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
13903 Rewrite all uses of ieee875 long double macros and unions. Simplify
13904 test for 0.0L and nan. Correct negation.
13905 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
13906 ieee875 long double macros and unions. Correct output for large
13907 magnitude x. Correct absolute value calculation.
13908 (__erfcl): Likewise.
13909 * math/libm-test.inc: Add tests for errors discovered in IBM long
13910 double versions of fmodl, remainderl, erfl and erfcl.
13912 2013-10-04 Alan Modra <amodra@gmail.com>
13914 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
13915 all uses of ieee854 long double macros and unions. Simplify tests
13916 for long doubles that are fully specified by the high double.
13917 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13919 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
13920 Remove dead code too.
13921 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13922 (__ieee754_ynl): Likewise.
13923 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
13924 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
13925 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13926 Remove dead code too.
13927 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13928 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13929 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13930 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
13932 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
13934 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
13935 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
13936 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
13937 Comment on variable precision.
13938 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
13939 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13941 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13942 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13943 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13944 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13945 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
13947 2013-10-04 Alan Modra <amodra@gmail.com>
13949 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
13950 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
13951 all uses of ieee854 long double macros and unions.
13952 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13953 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13954 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
13955 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
13956 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
13957 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13959 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
13960 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13961 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
13962 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13963 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13964 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13965 Simplify sign and nan test too.
13966 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
13967 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
13968 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
13969 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
13971 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13972 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
13974 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13975 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13976 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
13977 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
13978 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
13979 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
13981 2013-10-04 Alan Modra <amodra@gmail.com>
13983 * stdio-common/printf_size.c (__printf_size): Don't use
13984 union ieee854_long_double in fpnum union.
13985 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
13986 signbit macro to retrieve sign from long double.
13987 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
13988 retrieve sign from long double.
13989 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
13990 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
13991 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
13992 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13993 * math/test-misc.c (main): Don't use union ieee854_long_double.
13995 2013-10-04 Alan Modra <amodra@gmail.com>
13998 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
13999 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
14000 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
14001 calculation. Remove unnecessary test for denormal exponent.
14002 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
14003 Correct handling of denormals. Avoid undefined shift behaviour.
14004 Correct normalisation of low mantissa when low double is denormal.
14005 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
14006 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
14007 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
14008 Correct normalisation of low mantissa. Test for overflow of high
14009 mantissa and normalise.
14010 (ldbl_nearbyint): Use more readable constant for two52.
14011 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
14012 (__mpn_construct_long_double): Fix test for overflow of high
14013 mantissa and correct normalisation. Avoid undefined shift.
14015 2013-10-04 Alan Modra <amodra@gmail.com>
14017 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14018 (union ibm_extended_long_double): Define as an array of ieee754_double.
14019 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
14020 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
14021 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
14022 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14023 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14024 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
14025 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14026 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14027 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14028 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
14029 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14031 2013-10-03 Joseph Myers <joseph@codesourcery.com>
14033 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
14034 page size instead of calling getpagesize.
14036 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
14037 (LOCFILE_ALIGN_MASK): Likewise.
14038 (LOCFILE_ALIGN_UP): Likewise.
14039 (LOCFILE_ALIGNED_P): Likewise.
14040 * locale/programs/ld-collate.c (collate_output): Use the new
14041 macros instead of __alignof__ (int32_t).
14042 * locale/weight.h (findidx): Likewise.
14044 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
14047 * manual/string.texi: Fix strncat and wcsncat.
14049 2013-10-03 Brooks Moses <bmoses@google.com>
14052 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
14053 * Makerules: ...here, and adjust associated comments.
14055 2013-10-02 Will Newton <will.newton@linaro.org>
14057 * malloc/Makefile: Add tst-pvalloc.
14058 * malloc/tst-pvalloc.c: New file.
14060 2013-10-02 Will Newton <will.newton@linaro.org>
14062 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
14063 improve test coverage.
14065 2013-10-02 Will Newton <will.newton@linaro.org>
14067 * malloc/Makefile: Add tst-posix_memalign.
14068 * malloc/tst-posix_memalign.c: New file.
14070 2013-10-01 Eric Blake <eblake@redhat.com>
14072 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
14073 Use __THROWNL rather than __THROW on static functions.
14075 2013-09-30 Petr Machata <pmachata@redhat.com>
14077 * elf/elf.h (R_AARCH64_ABS16): New macro.
14078 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
14079 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
14080 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
14081 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
14082 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
14083 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
14084 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
14085 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
14086 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
14087 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
14088 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
14089 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
14090 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
14091 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
14092 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
14093 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
14094 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
14095 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
14096 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
14097 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
14098 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
14099 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
14100 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
14101 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
14102 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
14103 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
14104 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
14105 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
14106 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
14107 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
14108 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
14109 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
14110 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
14111 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
14112 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
14113 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
14114 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
14115 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
14116 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
14117 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
14118 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
14119 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
14120 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
14121 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
14122 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
14123 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
14124 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
14125 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
14126 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
14127 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
14128 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
14129 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
14130 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
14131 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
14132 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
14133 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
14134 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
14135 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
14136 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
14137 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
14138 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
14139 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
14140 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
14141 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
14142 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
14143 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
14144 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
14145 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
14146 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
14147 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
14148 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
14149 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
14150 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
14151 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
14152 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
14153 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
14154 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
14155 (R_AARCH64_TLSDESC_LDR): Likewise.
14156 (R_AARCH64_TLSDESC_ADD): Likewise.
14157 (R_AARCH64_TLSDESC_CALL): Likewise.
14159 2013-09-30 Andreas Schwab <schwab@suse.de>
14162 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
14163 the nss database lookup.
14164 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14165 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14167 2013-09-28 Mike Frysinger <vapier@gentoo.org>
14169 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
14171 2013-09-28 P. J. McDermott <pj@pehjota.net>
14173 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
14174 ${Bash-specific parameter/pattern/string} parameter expansion.
14175 * sysdeps/unix/make-syscalls.sh: Likewise.
14177 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14179 * sysdeps/sh/stackguard-macros.h: New file.
14181 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
14183 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14184 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
14185 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
14186 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
14187 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14188 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
14190 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14192 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
14193 Fix thread ID register.
14195 2013-09-25 Joseph Myers <joseph@codesourcery.com>
14197 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
14198 [POSIX || UNIX98]: Require rather than permitting all symbols from
14200 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
14201 element of struct sched_param.
14202 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
14203 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
14204 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
14205 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
14208 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
14210 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
14211 argument calculation.
14213 2013-09-24 Joseph Myers <joseph@codesourcery.com>
14215 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
14217 [POSIX] (pthread_attr_t): Do not require type.
14218 [POSIX] (pthread_cond_t): Likewise.
14219 [POSIX] (pthread_condattr_t): Likewise.
14220 [POSIX] (pthread_key_t): Likewise.
14221 [POSIX] (pthread_mutex_t): Likewise.
14222 [POSIX] (pthread_mutexattr_t): Likewise.
14223 [POSIX] (pthread_once_t): Likewise.
14224 [POSIX] (pthread_t): Likewise.
14225 [POSIX-based standards] (pthread_atfork): Expect function.
14227 2013-09-24 Joseph Myers <joseph@codesourcery.com>
14228 Richard Sandiford <richard@codesourcery.com>
14230 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
14231 (swap_endianness_p): New extern variable.
14232 (set_big_endian): New inline function.
14233 (maybe_swap_uint32): Likewise.
14234 (maybe_swap_uint32_array): Likewise.
14235 (maybe_swap_uint32_obstack): Likewise.
14236 * locale/programs/locfile.c: Include <stdbool.h>.
14237 (swap_endianness_p): New variable.
14238 (add_locale_uint32): Call maybe_swap_uint32.
14239 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
14240 (write_locale_data): Call maybe_swap_uint32_array.
14241 * locale/programs/ld-collate.c (obstack_int32_grow): Call
14243 (obstack_int32_grow_fast): Likewise.
14244 (output_weightwc): Call maybe_swap_uint32_obstack.
14245 (collate_output): Likewise.
14246 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
14247 (OPT_LITTLE_ENDIAN): Likewise.
14248 (options): Add --little-endian and --big-endian options.
14249 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
14250 * locale/programs/locarchive.c: Include "locfile.h".
14254 (create_archive): Use the new macros to access fields of
14255 structures directly mapped from or written to locale archives.
14256 (oldlocrecentcmp): Likewise.
14257 (enlarge_archive): Likewise.
14258 (insert_name): Likewise.
14259 (add_alias): Likewise.
14260 (add_locale): Likewise.
14261 (delete_locales_from_archive): Likewise.
14262 (show_archive_content): Likewise.
14263 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
14266 2013-09-24 Roland McGrath <roland@hack.frob.com>
14268 * manual/freemanuals.texi: Updated from (newly) canonical copy at
14269 http://www.gnu.org/doc/freemanuals.texi.
14270 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
14272 2013-09-24 Will Newton <will.newton@linaro.org>
14274 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
14277 2013-09-23 Joseph Myers <joseph@codesourcery.com>
14279 * locale/hashval.h (compute_hashval): Interpret bytes of key as
14282 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
14284 * manual/threads.texi (POSIX Threads): Fix a typo.
14286 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14289 * string/tst-strcoll-overflow.c: New test case.
14290 * string/Makefile (xtests): Add tst-strcoll-overflow.
14291 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
14292 cache if string sizes may cause integer overflow.
14295 * string/strcoll_l.c (coll_seq): New members rule, idx,
14296 save_idx and back_us.
14297 (get_next_seq_nocache): New function.
14298 (do_compare_nocache): New function.
14299 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
14302 2013-09-23 Carlos O'Donell <carlos@redhat.com>
14305 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
14306 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
14307 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
14310 * elf/Makefile (tests): Add tst-ptrguard1.
14311 (tests-static): Add tst-ptrguard1-static.
14312 (tst-ptrguard1-ARGS): Define.
14313 (tst-ptrguard1-static-ARGS): Define.
14314 * elf/tst-ptrguard1.c: New file.
14315 * elf/tst-ptrguard1-static.c: New file.
14316 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
14317 * sysdeps/i386/stackguard-macros.h: Likewise.
14318 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14319 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14320 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14321 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14322 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14323 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14325 2013-09-23 Hector Marco <hecmargi@upv.es>
14326 Ismael Ripoll <iripoll@disca.upv.es>
14327 Carlos O'Donell <carlos@redhat.com>
14330 * sysdeps/generic/stackguard-macros.h: Define
14331 __pointer_chk_guard_local and POINTER_CHK_GUARD.
14332 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
14333 Define __pointer_chk_guard_local.
14334 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
14335 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
14337 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
14340 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
14342 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
14344 * include/string.h (__ffs): Declare as hidden.
14345 * string/ffs.c (__ffs): Define as hidden.
14346 * sysdeps/i386/ffs.c (__ffs): Likewise.
14347 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14348 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
14349 * sysdeps/s390/ffs.c (__ffs): Likewise.
14350 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
14352 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
14354 * NEWS: Mention malloc probes.
14356 * malloc/arena.c (new_heap): New memory_heap_new probe.
14357 (grow_heap): New memory_heap_more probe.
14358 (shrink_heap): New memory_heap_less probe.
14359 (heap_trim): New memory_heap_free probe.
14360 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
14361 (systrim): New memory_sbrk_less probe.
14362 * manual/probes.texi: Document them.
14364 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
14365 * manual/probes.texi: Document it.
14367 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
14368 (__libc_realloc): Add memory_realloc_retry probe.
14369 (__libc_memalign): Add memory_memalign_retry probe.
14370 (__libc_valloc): Add memory_valloc_retry probe.
14371 (__libc_pvalloc): Add memory_pvalloc_retry probe.
14372 (__libc_calloc): Add memory_calloc_retry probe.
14373 * manual/probes.texi: Document them.
14375 * malloc/arena.c (get_free_list): Add probe
14376 memory_arena_reuse_free_list.
14377 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
14378 and memory_arena_reuse.
14379 (arena_get2) [!PER_THREAD]: Likewise.
14380 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
14381 memory_arena_reuse_realloc.
14382 * manual/probes.texi: Document them.
14384 * malloc/malloc.c (__libc_free): Add
14385 memory_mallopt_free_dyn_thresholds probe.
14386 (__libc_mallopt): Add multiple memory_mallopt probes.
14387 * manual/probes.texi: Document them.
14389 * malloc/malloc.c: Include stap-probe.h.
14390 (__libc_mallopt): Add memory_mallopt probe.
14391 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
14392 * manual/probes.texi: New.
14393 * manual/Makefile (chapters): Add probes.
14394 * manual/threads.texi: Set next node.
14396 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
14398 [BZ #15963, #13985]
14399 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
14400 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
14401 Add `Chinese' to `nan' entry name.
14403 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14405 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
14406 (POLYNOMIAL): Likewise.
14407 (TAYLOR_SINCOS): Likewise.
14408 (TAYLOR_SLOW): Likewise.
14409 (__sin): Use TAYLOR_SINCOS.
14411 (slow): Use TAYLOR_SLOW.
14413 (bsloww): Likewise.
14414 (csloww): Likewise.
14416 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14418 * stdlib/strtod_l.c: Fix buffer overrun.
14420 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14422 * benchtests/Makefile (bench): Add sincos.
14423 * benchtests/bench-sincos.c: New file.
14425 * math/libm-test.inc (cos_test_data): New test inputs.
14426 (sin_test_data): Likewise.
14428 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
14434 (sloww1): Likewise.
14435 (sloww2): Likewise.
14436 (bsloww1): Likewise.
14437 (bsloww2): Likewise.
14438 (cslow2): Likewise.
14439 (csloww1): Likewise.
14440 (csloww2): Likewise.
14442 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
14447 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
14451 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
14453 * config.h.in (HAVE_MIPS_NAN2008): New macro.
14454 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
14455 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
14456 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
14457 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
14458 * elf/cache.c (print_entry): Handle the new cache flags.
14460 2013-09-18 Joseph Myers <joseph@codesourcery.com>
14461 Aldy Hernandez <aldyh@redhat.com>
14463 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
14464 Change condition to [_SOFT_FLOAT].
14465 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
14466 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
14467 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
14468 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
14469 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
14470 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
14471 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
14472 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
14473 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
14474 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
14475 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
14476 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
14477 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
14478 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
14479 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
14480 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
14483 2013-09-18 Joseph Myers <joseph@codesourcery.com>
14485 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
14486 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14487 (__longjmp): Use LOAD_GP to load saved GPRs.
14488 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
14489 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14490 (__sigsetjmp): Use SAVE_GP to save GPRs.
14492 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
14493 Do not append -msoft-float.
14494 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
14496 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14498 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
14500 2013-09-17 Joseph Myers <joseph@codesourcery.com>
14503 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
14504 (_FPU_GETCW): Use initial "__" on variable and field names but not
14505 on macro parameter name.
14506 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
14507 parentheses around reference to macro parameter.
14509 2013-09-13 Richard Sandiford <richard@codesourcery.com>
14511 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
14513 (ctype_startup): Use uint32_t in cast and sizeof for
14516 2013-09-11 Jia Liu <proljc@gmail.com>
14518 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
14520 [__FreeBSD__]: Likewise.
14522 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
14524 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14525 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
14526 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
14527 (strchr): Remove __strchr_sse42 ifunc selection.
14528 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
14529 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
14531 2013-09-11 Will Newton <will.newton@linaro.org>
14533 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
14534 parameter to RES. Remove hardcoded 1000 value.
14535 * benchtests/bench-skeleton.c (main): Pass RES parameter
14536 to TIMING_INIT and multiply result by 1000.
14538 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14540 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14542 2013-09-11 Andreas Schwab <schwab@suse.de>
14544 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
14546 (O_TMPFILE) [__USE_GNU]: Define.
14547 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
14550 2013-09-11 Will Newton <will.newton@linaro.org>
14553 * malloc/malloc.c (__libc_memalign): Check the value of bytes
14556 2013-09-11 Will Newton <will.newton@linaro.org>
14559 * malloc/malloc.c (__libc_valloc): Check the value of bytes
14562 2013-09-11 Will Newton <will.newton@linaro.org>
14565 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
14568 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
14570 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
14571 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14572 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14573 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14574 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14576 2013-09-10 Allan McRae <allan@archlinux.org>
14579 * manual/arith.texi (Parsing of Floats): Clarify
14583 * manual/install.texi (Running make install): Mention
14585 * INSTALL: Regenerated.
14587 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14589 * csu/init-first.c (_init): Remove the !SHARED condition around
14590 FPU control word initialization.
14591 * elf/dl-support.c (_dl_fpu_control): New variable.
14592 (_dl_aux_init) <AT_FPUCW>: Initialize it.
14593 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
14594 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
14595 * math/test-fpucw-static.c: New file.
14596 * math/test-fpucw-ieee.c: New file.
14597 * math/test-fpucw-ieee-static.c: New file.
14598 * math/Makefile (tests): Add `test-fpucw-ieee' and
14600 (tests-static): New variable.
14601 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
14603 [($(build-shared),yes)]
14604 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
14606 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
14609 2013-09-09 Allan McRae <allan@archlinux.org>
14612 * manual/string.texi (Collation Functions): Fix typo in
14614 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
14617 * stdlib/isomac.c (get_null_defines): Fix memory leak.
14620 * libio/memstream.c (open_memstream): Fix memory leak.
14621 * libio/wmemstream.c (open_wmemstream): Likewise.
14624 * nscd/netgroupcache.c: Fix nesting of ifdefs.
14626 2013-09-09 Will Newton <will.newton@linaro.org>
14628 * malloc/Makefile: Add tst-realloc to tests.
14629 * malloc/tst-realloc.c: New file.
14631 2013-09-09 Allan McRae <allan@archlinux.org>
14634 * COPYING: Update from GNU website to fix FSF address.
14635 * COPYING.LIB: Likewise.
14637 2013-09-06 David S. Miller <davem@davemloft.net>
14639 * po/zh_TW.po: Update Chinese (traditional) translation from
14640 translation project.
14642 2013-09-06 Richard Sandiford <richard@codesourcery.com>
14643 Joseph Myers <joseph@codesourcery.com>
14645 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
14647 (obstack_chunk_alloc): New macro.
14648 (obstack_chunk_free): Likewise.
14649 (record_offset): New function.
14650 (init_locale_data): Likewise.
14651 (align_locale_data): Likewise.
14652 (add_locale_empty): Likewise.
14653 (add_locale_raw_data): Likewise.
14654 (add_locale_raw_obstack): Likewise.
14655 (add_locale_string): Likewise.
14656 (add_locale_wstring): Likewise.
14657 (add_locale_uint32): Likewise.
14658 (add_locale_uint32_array): Likewise.
14659 (add_locale_char): Likewise.
14660 (start_locale_structure): Likewise.
14661 (end_locale_structure): Likewise.
14662 (start_locale_prelude): Likewise.
14663 (end_locale_prelude): Likewise.
14664 (write_locale_data): Take locale_file structure rather than an
14666 * locale/programs/locfile.h: Include "obstack.h".
14667 (struct locale_file): Change to store locale file contents instead
14669 (init_locale_data): New prototype.
14670 (align_locale_data): Likewise.
14671 (add_locale_empty): Likewise.
14672 (add_locale_raw_data): Likewise.
14673 (add_locale_raw_obstack): Likewise.
14674 (add_locale_string): Likewise.
14675 (add_locale_wstring): Likewise.
14676 (add_locale_uint32): Likewise.
14677 (add_locale_uint32_array): Likewise.
14678 (add_locale_char): Likewise.
14679 (start_locale_structure): Likewise.
14680 (end_locale_structure): Likewise.
14681 (start_locale_prelude): Likewise.
14682 (end_locale_prelude): Likewise.
14683 (write_locale_data): Update prototype.
14684 * locale/programs/3level.h (struct TABLE): Remove result field.
14685 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
14686 Use new locale_file interface.
14687 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
14688 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
14689 * locale/programs/ld-address.c (address_output): Use new
14690 locale_file interface.
14691 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
14693 (collate_finish): Don't call collseq_table_finalize.
14694 (collate_output): Use new locale_file interface.
14695 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
14697 (NO_FINALIZE): Change to NO_ADD_LOCALE.
14698 (TABLE): Move defines earlier in file.
14699 (ELEMENT): Likewise.
14700 (DEFAULT): Likewise.
14701 (wctrans_table_add): Move macro and inline function earlier in
14703 (struct wctype_table): Move type earlier in file.
14704 (add_locale_wctype_table): New static prototype.
14705 (struct locale_ctype_t): Use logical types instead of struct iovec
14706 pointers for members.
14707 (ctype_output): Use new locale_file interface.
14708 (wctype_table_finalize): Change to add_locale_wctype_table. Use
14709 new locale_file interface.
14710 (allocate_arrays): Update for use of new locale_file interface.
14711 * locale/programs/ld-identification.c (identification_output): Use
14712 new locale_file interface.
14713 * locale/programs/ld-measurement.c (measurement_output): Likewise.
14714 * locale/programs/ld-messages.c (messages_output): Likewise.
14715 * locale/programs/ld-monetary.c (monetary_output): Likewise.
14716 * locale/programs/ld-name.c (name_output): Likewise.
14717 * locale/programs/ld-numeric.c (numeric_output): Likewise.
14718 * locale/programs/ld-paper.c (paper_output): Likewise.
14719 * locale/programs/ld-telephone.c (telephone_output): Likewise.
14720 * locale/programs/ld-time.c (time_output): Likewise.
14722 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14724 * benchtests/Makefile: Add memrchr benchmark.
14725 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
14726 benchmark as memrchr.
14727 * benchtests/bench-memrchr-ifunc.c: New file.
14728 * benchtests/bench-memrchr.c: New file.
14730 2013-09-06 Will Newton <will.newton@linaro.org>
14732 * benchtests/Makefile (string-bench): Add memcpy.
14734 2013-09-05 Carlos O'Donell <carlos@redhat.com>
14735 Cong Wang <amwang@redhat.com>
14738 * sysdeps/unix/sysv/linux/bits/in.h
14739 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
14740 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
14741 before __USE_KERNEL_IPV6_DEFS uses.
14742 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
14744 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
14745 sockaddr_in6, or ipv6_mreq.
14747 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14749 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
14750 memory access for final bytes in some large inputs.
14751 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
14753 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14755 * string/test-memrchr.c: New file.
14756 * string/test-memrchr-ifunc.c: New file.
14757 * string/Makefile: Add new memrchr testcase.
14759 2013-09-05 Mike Frysinger <vapier@gentoo.org>
14761 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
14762 fanotify_init returns EPERM.
14764 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14766 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
14768 (top level): Treat second token from macro or constant entries for
14769 allowed headers as allowed.
14770 * include/complex.h: Condition internal declarations on
14772 * include/fenv.h: Condition include of <stdbool.h> and internal
14773 declarations on [!_ISOMAC].
14775 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
14778 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
14780 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14782 * configure.in (--enable-versioning): Remove configure option.
14783 (libc_cv_asm_symver_directive): Remove configure test.
14784 (libc_cv_ld_version_script_option): Likewise.
14785 (VERSIONING): Remove variable and AC_SUBST.
14786 (DO_VERSIONING): Remove AC_DEFINE.
14787 * configure: Regenerated.
14788 * config.h.in (DO_VERSIONING): Remove macro.
14789 * Makerules [$(versioning) = yes]: Change conditionals to
14790 [$(build-shared) = yes].
14791 * config.make.in (versioning): Remove variable.
14792 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
14793 [$(build-shared) = yes].
14794 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
14795 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
14796 * elf/Makefile [$(versioning) = yes]: Change conditionals to
14797 [$(build-shared) = yes].
14798 * extra-lib.mk [$(versioning) = yes]: Likewise.
14799 * hurd/Makefile [$(versioning) = yes]: Likewise.
14800 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
14802 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
14804 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14805 [SHARED && !NO_HIDDEN].
14806 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
14808 [SHARED && DO_VERSIONING]: Likewise..
14809 * libio/Makefile [$(versioning) = yes]: Change conditionals to
14810 [$(build-shared) = yes].
14811 * manual/install.texi (--disable-versioning): Remove
14813 * INSTALL: Regenerated.
14814 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
14816 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
14817 [$(build-shared) = yes].
14818 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
14819 * sysdeps/i386/i686/multiarch/strstr-c.c
14820 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14821 [SHARED && !NO_HIDDEN].
14822 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
14823 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
14824 * sysdeps/powerpc/powerpc32/dl-machine.c
14825 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
14826 * sysdeps/powerpc/powerpc32/sysdep.h
14827 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
14828 to [SHARED && PIC && !NO_HIDDEN].
14829 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
14830 conditional to [SHARED].
14832 2013-09-04 Will Newton <will.newton@linaro.org>
14834 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
14835 * benchtests/bench-string.h: Include bench-timing.h instead
14836 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
14837 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
14838 call to HP_TIMING_DIFF_INIT.
14839 * benchtests/bench-memccpy.c: Use bench-timing.h macros
14840 instead of hp-timing.h macros.
14841 * benchtests/bench-memchr.c: Likewise.
14842 * benchtests/bench-memcmp.c: Likewise.
14843 * benchtests/bench-memcpy.c: Likewise.
14844 * benchtests/bench-memmem.c: Likewise.
14845 * benchtests/bench-memmove.c: Likewise.
14846 * benchtests/bench-memset.c: Likewise.
14847 * benchtests/bench-rawmemchr.c: Likewise.
14848 * benchtests/bench-strcasecmp.c: Likewise.
14849 * benchtests/bench-strcasestr.c: Likewise.
14850 * benchtests/bench-strcat.c: Likewise.
14851 * benchtests/bench-strchr.c: Likewise.
14852 * benchtests/bench-strcmp.c: Likewise.
14853 * benchtests/bench-strcpy.c: Likewise.
14854 * benchtests/bench-strcpy_chk.c: Likewise.
14855 * benchtests/bench-strlen.c: Likewise.
14856 * benchtests/bench-strncasecmp.c: Likewise.
14857 * benchtests/bench-strncat.c: Likewise.
14858 * benchtests/bench-strncmp.c: Likewise.
14859 * benchtests/bench-strncpy.c: Likewise.
14860 * benchtests/bench-strnlen.c: Likewise.
14861 * benchtests/bench-strpbrk.c: Likewise.
14862 * benchtests/bench-strrchr.c: Likewise.
14863 * benchtests/bench-strspn.c: Likewise.
14864 * benchtests/bench-strstr.c: Likewise.
14866 2013-09-04 Will Newton <will.newton@linaro.org>
14868 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
14870 2013-09-03 Joseph Myers <joseph@codesourcery.com>
14873 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14874 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
14875 * math/libm-test.inc (lgamma_test_data): Add more tests.
14876 * sysdeps/i386/fpu/libm-test-ulps: Update.
14877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14879 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
14881 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
14882 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14884 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14885 Add strcmp-sse2-unaligned
14886 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
14888 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14890 * Versions.def (libc): Add GLIBC_2.19.
14892 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14894 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
14895 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
14897 2013-09-02 Joseph Myers <joseph@codesourcery.com>
14900 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
14901 intermediate calculations in recurrence.
14902 (__ieee754_ynf): Likewise.
14903 * math/libm-test.inc (jn_test_data): Do not allow spurious
14904 underflow exception. Add more tests.
14905 (yn_test_data): Add more tests.
14906 * sysdeps/i386/fpu/libm-test-ulps: Update.
14907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14909 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
14911 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
14913 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14915 * csu/init-first.c: Fix then/than typos.
14916 * locale/programs/ld-collate.c: Likewise.
14917 * locale/programs/linereader.h: Likewise.
14918 * manual/charset.texi: Likewise.
14919 * manual/filesys.texi: Likewise.
14920 * manual/stdio.texi: Likewise.
14921 * manual/string.texi: Likewise.
14922 * stdlib/fmtmsg.c: Likewise.
14923 * sysdeps/i386/stpncpy.S: Likewise.
14924 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14925 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14926 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14927 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14929 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14931 * elf/dl-open.c: Fix typos.
14932 * iconvdata/gbbig5.c: Likewise.
14933 * iconvdata/iso-2022-jp.c: Likewise.
14934 * iconv/gconv_int.h: Likewise.
14935 * iconv/loop.c: Likewise.
14936 * nis/rpcsvc/nis.h: Likewise.
14937 * resolv/ns_name.c: Likewise.
14938 * stdio-common/vfscanf.c: Likewise.
14939 * streams/stropts.h: Likewise.
14940 * sunrpc/rpc_thread.c: Likewise.
14941 * sysdeps/i386/strpbrk.S: Likewise.
14942 * sysdeps/ieee754/k_standard.c: Likewise.
14943 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14944 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14945 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
14946 * sysdeps/mach/hurd/profil.c: Likewise.
14947 * sysdeps/s390/dl-procinfo.h: Likewise.
14948 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
14949 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14950 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
14951 * sysdeps/x86_64/dl-trampoline.S: Likewise.
14952 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14954 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14956 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
14957 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
14959 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14961 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
14962 aix specific files.
14963 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
14964 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
14965 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
14966 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
14967 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
14968 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
14969 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
14970 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
14972 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14973 Roland McGrath <roland@hack.frob.com>
14975 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
14976 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14978 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
14980 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
14981 __executable_start symbol instead of _start.
14983 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14985 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
14986 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
14988 * sysdeps/gnu/ldsodefs.h: ... this new file.
14990 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
14991 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
14992 instead of ELFOSABI_LINUX.
14994 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
14995 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
14996 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
14997 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
14999 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
15000 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
15001 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
15003 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15004 (ibm_extended_long_double): Add ieee_nan member.
15005 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
15006 (do_test): New function.
15008 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
15010 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
15011 functions, renamed from truncdfsf_test, trunctfsf_test,
15013 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
15015 (do_test): Run all these.
15017 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
15019 * argp/argp-help.c: Fix typos.
15020 * argp/argp-parse.c: Likewise.
15021 * debug/backtracesyms.c: Likewise.
15022 * elf/elf.h: Likewise.
15023 * malloc/malloc.c: Likewise.
15024 * nis/nis_print.c: Likewise.
15025 * resolv/res_comp.c: Likewise.
15026 * stdlib/stdlib.h: Likewise.
15027 * sunrpc/clnt_tcp.c: Likewise.
15028 * sunrpc/clnt_udp.c: Likewise.
15029 * sunrpc/clnt_unix.c: Likewise.
15030 * sysdeps/unix/bsd/ptsname.c: Likewise.
15031 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15032 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
15033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
15035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
15037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15039 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15041 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15043 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
15044 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15046 2013-08-27 Mike Frysinger <vapier@gentoo.org>
15049 * dlfcn/Makefile (tests): Add bug-dl-leaf.
15050 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
15051 ($(objpfx)bug-dl-leaf): New rule.
15052 ($(objpfx)bug-dl-leaf.so): Likewise.
15053 ($(objpfx)bug-dl-leaf.out): Likewise.
15054 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
15055 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
15056 * dlfcn/bug-dl-leaf.c: New test.
15057 * dlfcn/bug-dl-leaf-lib.c: Likewise.
15058 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
15059 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
15060 (dlclose): Likewise.
15061 (dlmopen): Likewise.
15063 2013-08-27 Roland McGrath <roland@hack.frob.com>
15065 * include/netdb.h [!_ISOMAC]:
15066 Don't include <tls.h>.
15067 (h_errno, __libc_h_errno): Move declaration and macros out of
15070 * include/resolv.h [_RESOLV_H_]:
15071 Don't include <tls.h>.
15072 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
15073 * resolv/res_libc.c: Don't include <tls.h>.
15074 (_res): Use __attribute__ ((nocommon)) in place of
15075 __attribute__ ((section (".bss"))).
15077 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
15078 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
15080 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
15082 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
15083 only under [SIOCGIFCONF && SIOCGIFNETMASK].
15085 * resolv/res_mkquery.c: Include <sys/time.h>.
15087 * inet/ifreq.c: Moved to ...
15088 * sysdeps/unix/ifreq.c: ... here.
15089 * inet/ifreq.c: New file, true stub version.
15091 * socket/sa_len.c: New file.
15092 * socket/Makefile (aux): Add it.
15093 * sysdeps/unix/sysv/linux/Makefile
15094 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
15095 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
15096 and #include <socket/sa_len.c>.
15097 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
15098 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
15100 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
15101 * bits/socket.h: ... here.
15103 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
15104 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
15105 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
15107 2013-08-27 Andreas Schwab <schwab@suse.de>
15110 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
15111 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
15112 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
15113 * string/test-strcasecmp.c (test_main): Run tests in several
15115 * string/test-strncasecmp.c (test_main): Likewise.
15117 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
15118 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
15119 to __strcasecmp_nonascii and __strncasecmp_nonascii.
15120 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
15121 (__strncasecmp_ssse3) [PIC]: Likewise.
15123 2013-08-26 Roland McGrath <roland@hack.frob.com>
15125 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
15127 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
15128 instead of explicitly declaring xdecrypt.
15129 * nis/nss_nis/nis-publickey.c: Likewise.
15131 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15134 * nscd/aicache.c: Include res_hconf.h.
15135 (addhstaiX): Initialize res_hconf.
15137 2013-08-26 Andreas Schwab <schwab@suse.de>
15139 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
15140 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
15142 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15144 * nscd/aicache.c (addhstaiX): Fix indentation.
15146 2013-08-25 Mike Frysinger <vapier@gentoo.org>
15148 * configure.ac: Quote $build_pt_chown test.
15149 * configure: Regenerated.
15151 2013-08-23 Joseph Myers <joseph@codesourcery.com>
15154 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
15155 * math/s_cexpf.c (__cexpf): Likewise.
15156 * math/s_cexpl.c (__cexpl): Likewise.
15157 * math/libm-test.inc (cexp_test_data): Correct expected return
15158 value for NaN + i0. Add another test.
15160 2013-08-22 David S. Miller <davem@davemloft.net>
15162 * po/ca.po: Update Catalan translation from translation project.
15163 * po/uk.po: Add Ukrainian translations from translation project.
15165 2013-08-21 Joseph Myers <joseph@codesourcery.com>
15168 * math/s_fdim.c (__fdim): Check for infinite arguments if result
15169 is infinite, not alongside NaN test.
15170 * math/s_fdimf.c (__fdimf): Likewise.
15171 * math/s_fdiml.c (__fdiml): Likewise.
15172 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
15173 errno is unchanged.
15175 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
15177 * argp/argp-help.c: Fix typos.
15178 * crypt/speeds.c: Likewise.
15179 * csu/check_fds.c: Likewise.
15180 * elf/dl-load.c: Likewise.
15181 * elf/dl-open.c: Likewise.
15182 * elf/reldep3.c: Likewise.
15183 * elf/reldep.c: Likewise.
15184 * elf/sprof.c: Likewise.
15185 * iconv/iconv_charmap.c: Likewise.
15186 * iconv/skeleton.c: Likewise.
15187 * iconv/strtab.c: Likewise.
15188 * io/lockf64.c: Likewise.
15189 * libio/libioP.h: Likewise.
15190 * resolv/gai_notify.c: Likewise.
15191 * resolv/ns_name.c: Likewise.
15192 * resolv/ns_samedomain.c: Likewise.
15193 * resolv/res_send.c: Likewise.
15194 * stdlib/random.c: Likewise.
15195 * sunrpc/rpc/xdr.h: Likewise.
15196 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
15197 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15198 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15199 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15200 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15201 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15202 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15203 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15204 * sysdeps/mach/hurd/check_fds.c: Likewise.
15205 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15206 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15207 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15208 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15209 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15210 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15211 * sysdeps/pthread/aio_notify.c: Likewise.
15212 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
15213 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
15214 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
15215 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15216 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15218 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15220 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
15221 version if bit_Slow_SSE4_2 is set.
15222 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15223 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15225 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15228 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
15229 trampoline stack frame information.
15230 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
15231 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
15232 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
15233 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
15234 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
15235 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15236 (_libc_vdso_platform_setup): Initialize the signal trampolines.
15237 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
15239 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
15240 interrupting a syscall and set with option SA_SIGINFO.
15242 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15245 * math/s_cproj.c (__cproj): Only return an infinity if one part of
15246 argument is infinite.
15247 * math/s_cprojf.c (__cprojf): Likewise.
15248 * math/s_cprojl.c (__cprojl): Likewise.
15249 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
15250 * math/libm-test.inc (cproj_test_data): Add more tests.
15252 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
15254 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
15255 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
15256 size. Use __ffs to determine corresponding shift.
15258 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15259 Roland McGrath <roland@hack.frob.com>
15261 * Makefile (INSTALL): Remove trailing blank lines from output of
15264 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15266 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
15267 Align 32 bit compat elf_greg to 8 bytes.
15269 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
15271 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
15273 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15275 * string/strcoll_l.c (coll_seq): New structure.
15276 (get_next_seq_cached): New function.
15277 (get_next_seq): New function.
15278 (do_compare): New function.
15279 (STRCOLL): Use GNU style definition. Simplify implementation
15280 by using get_next_seq, get_next_seq_cached and do_compare.
15282 2013-08-16 Florian Weimer <fweimer@redhat.com>
15286 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
15288 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
15290 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
15291 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
15292 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
15294 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
15295 GETDENTS_64BIT_ALIGNED.
15296 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15297 * manual/filesys.texi (Reading/Closing Directory): Document
15298 ENAMETOOLONG return value of readdir_r. Recommend readdir more
15300 * manual/conf.texi (Limits for Files): Add portability note to
15301 NAME_MAX, PATH_MAX.
15302 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
15304 2013-08-13 Andreas Schwab <schwab@suse.de>
15307 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
15309 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
15310 LDBL_MAX_EXP >= 16384]: Add tests for it.
15312 2013-08-12 David S. Miller <davem@davemloft.net>
15314 * version.h (RELEASE): Set to "development".
15315 (VERSION): Set to "2.18.90".
15316 * NEWS: Add 2.19 section.
15318 2013-08-03 David S. Miller <davem@davemloft.net>
15320 * po/ko.po: Update Korean translation from translation project.
15322 2013-08-01 David S. Miller <davem@davemloft.net>
15324 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
15325 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15328 2013-07-30 David S. Miller <davem@davemloft.net>
15330 * po/fr.po: Update French translation from translation project.
15332 2013-07-28 David S. Miller <davem@davemloft.net>
15334 * po/cs.po: Update Czech translation from translation project.
15336 * po/sv.po: Update Swedish translation from translation project.
15338 2013-07-27 David S. Miller <davem@davemloft.net>
15340 * po/eo.po: Update Esperanto translation from translation project.
15342 * po/vi.po: Update Vietnamese translation from translation project.
15344 * po/de.po: Update German translation from translation project.
15346 2013-07-26 David S. Miller <davem@davemloft.net>
15348 * po/bg.po: Update Bulgarian translation from translation project.
15350 * po/nl.po: Update Dutch translation from translation project.
15351 * po/pl.po: Update Polish translation from translation project.
15352 * po/ru.po: Update Russian translation from translation project.
15354 2013-07-24 David S. Miller <davem@davemloft.net>
15356 * po/libc.pot: Update.
15358 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15360 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
15361 variable page size.
15362 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
15363 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
15364 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
15366 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15368 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
15370 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15371 Andreas Schwab <schwab@suse.de>
15372 Roland McGrath <roland@hack.frob.com>
15373 Joseph Myers <joseph@codesourcery.com>
15374 Carlos O'Donell <carlos@redhat.com>
15377 * config.h.in: Define HAVE_PT_CHOWN.
15378 * config.make.in (build-pt-chown): New variable.
15379 * configure.in (--enable-pt_chown): New configure option.
15380 * configure: Regenerate.
15381 * login/Makefile: Include Makeconfig. Build pt_chown only if
15382 build-pt-chown is enabled.
15383 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
15384 pt_chown to fix pty ownership.
15385 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
15387 * manual/install.texi (Configuring and compiling): Mention
15388 --enable-pt_chown. Add @findex for grantpt.
15389 * INSTALL: Regenerate.
15391 2013-07-20 David S. Miller <davem@davemloft.net>
15393 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
15394 difference between 32-bit and 64-bit.
15396 2013-07-15 Carlos O'Donell <carlos@redhat.com>
15399 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
15400 Avoid system header dependency with -ffreestanding.
15401 ($(objpfx)bits/syscall%d): Likewise.
15403 2013-07-13 David S. Miller <davem@davemloft.net>
15405 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
15406 underflows from atanl/atan2l due to bug 15319.
15407 (casinh_test_data): Likewise.
15409 2013-07-07 David S. Miller <davem@davemloft.net>
15411 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15413 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
15415 * sysdeps/i386/fpu/libm-test-ulps: Update.
15416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15418 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15420 * configure.in (--enable-lock-elision): Fix message text.
15421 * INSTALL: Regenerate.
15422 * configure: Regenerate.
15424 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15426 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15428 2013-07-03 Andreas Jaeger <aj@suse.de>
15430 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
15432 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
15433 (ptrace_peeksiginfo_args): Add.
15434 (__ptrace_peeksiginfo_flags): Add.
15435 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15436 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15437 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15439 2013-07-03 Allan McRae <allan@archlinux.org>
15441 * sysdeps/i386/fpu/libm-test-ulps: Update.
15443 2013-07-02 David S. Miller <davem@davemloft.net>
15445 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15447 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
15449 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15451 2013-07-02 Joseph Myers <joseph@codesourcery.com>
15453 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15456 2013-07-02 Andi Kleen <ak@linux.intel.com>
15458 * config.h.in (ENABLE_LOCK_ELISION): Add.
15459 * configure.in (--enable-lock-elision): Add option.
15460 * manual/install.texi: Document --enable lock elision.
15461 * configure: Regenerate
15462 * INSTALL: Regenerate.
15464 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
15466 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
15467 SSE4.2 strcasecmp for libc.a.
15468 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15470 2013-07-02 Joseph Myers <joseph@codesourcery.com>
15473 * soft-fp/op-common.h (_FP_FMA): New macro.
15474 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
15475 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
15476 (_FP_MUL_MEAT_1_imm): ... here.
15477 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
15478 (_FP_MUL_MEAT_1_wide): ... here.
15479 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
15480 (_FP_MUL_MEAT_1_hard): ... here.
15481 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
15482 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
15483 (_FP_MUL_MEAT_2_wide): ... here.
15484 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
15485 (_FP_MUL_MEAT_2_wide_3mul): ... here.
15486 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
15487 (_FP_MUL_MEAT_2_gmp): ... here.
15488 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
15489 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
15490 (_FP_MUL_MEAT_4_wide): ... here.
15491 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
15492 (_FP_MUL_MEAT_4_gmp): ... here.
15493 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
15494 (_FP_WFRACBITS_DW_S): Likewise.
15495 (_FP_WFRACXBITS_DW_S): Likewise.
15496 (_FP_HIGHBIT_DW_S): Likewise.
15497 (FP_FMA_S): Likewise.
15498 (_FP_FRAC_HIGH_DW_S): Likewise.
15499 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
15500 (_FP_WFRACBITS_DW_D): Likewise.
15501 (_FP_WFRACXBITS_DW_D): Likewise.
15502 (_FP_HIGHBIT_DW_D): Likewise.
15503 (FP_FMA_D): Likewise.
15504 (_FP_FRAC_HIGH_DW_D): Likewise.
15505 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
15506 (_FP_WFRACBITS_DW_E): Likewise.
15507 (_FP_WFRACXBITS_DW_E): Likewise.
15508 (_FP_HIGHBIT_DW_E): Likewise.
15509 (FP_FMA_E): Likewise.
15510 (_FP_FRAC_HIGH_DW_E): Likewise.
15511 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
15512 (_FP_WFRACBITS_DW_Q): Likewise.
15513 (_FP_WFRACXBITS_DW_Q): Likewise.
15514 (_FP_HIGHBIT_DW_Q): Likewise.
15515 (FP_FMA_Q): Likewise.
15516 (_FP_FRAC_HIGH_DW_Q): Likewise.
15517 * soft-fp/fmasf4.c: New file.
15518 * soft-fp/fmadf4.c: Likewise.
15519 * soft-fp/fmatf4.c: Likewise.
15521 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15523 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15524 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
15526 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
15528 (index_Slow_SSE4_2): Likewise.
15529 (index_Prefer_PMINUB_for_stringop): Likewise.
15530 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
15531 bit_Slow_SSE4_2 is set.
15532 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15533 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15535 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15537 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
15538 rtld_global._dl_hwcap2.
15539 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
15541 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
15542 POWER8 feature descriptions defined in _dl_hwcap2.
15543 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
15544 string handling for POWER8 feature bits.
15545 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
15546 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
15547 _dl_powerpc_cap_flags.
15548 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
15549 * sysdeps/powerpc/rtld-global-offsets.sym
15550 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
15551 _dl_hwcap2 in the rtld_global_ro structure.
15553 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15555 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
15556 hardware capabilities in support of AT_HWCAP2.
15557 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
15558 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
15560 (_dl_show_auxv): Add support for calling _dl_procinfo to display
15561 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
15562 explicitly the unknown a_type display mechanism is used.
15563 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
15564 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
15566 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
15567 to macro prototype for AT_HWCAP2 support.
15568 * sysdeps/i386/dl-procinfo.h: Likewise.
15569 * sysdeps/s390/dl-procinfo.h: Likewise.
15570 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
15571 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
15572 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
15573 return -1 for unknown a_type display fallback.
15574 * sysdeps/sparc/dl-procinfo.h: Likewise.
15575 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
15576 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
15578 2013-06-28 Joseph Myers <joseph@codesourcery.com>
15580 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
15581 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
15583 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
15586 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
15587 mprotect making __stack_prot writable.
15589 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
15590 Joseph Myers <joseph@codesourcery.com>
15592 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
15593 as being properly aligned.
15595 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
15597 * dlfcn/modstatic5.c: New file.
15598 * dlfcn/tststatic5.c: New file.
15599 * dlfcn/Makefile (tests): Add tststatic5.
15600 (tests-static): Likewise.
15601 (modules-names): Add modstatic5.
15602 (tststatic5-ENV): New variable.
15603 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
15606 * elf/dl-support.c (_dl_main_map): New variable.
15607 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
15608 (_dl_nns, _dl_load_adds): Set to 1.
15609 (_dl_initial_searchlist): Refer to _dl_main_map.
15610 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
15611 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
15612 call to _dl_get_origin.
15613 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
15615 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
15616 * dlfcn/modstatic3.c: New file.
15617 * dlfcn/tststatic3.c: New file.
15618 * dlfcn/tststatic4.c: New file.
15619 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
15620 (tests-static): Likewise.
15621 (modules-names): Add modstatic3.
15622 (tststatic3-ENV, tststatic4-ENV): New variables.
15623 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
15624 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
15626 2013-06-26 Joseph Myers <joseph@codesourcery.com>
15628 * configure.in (CC): Require GCC version 4.4 or later.
15629 * configure: Regenerated.
15630 * manual/install.texi (Tools for Compilation): Update GCC version
15632 * INSTALL: Regenerated.
15634 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15637 * string/test-memcmp.c (check2): New.
15638 (main): Call check2.
15640 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
15642 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
15645 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
15647 (dl_open_worker) [!SHARED]: ... here.
15649 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15651 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
15653 2013-06-25 Richard Henderson <rth@redhat.com>
15655 * locale/programs/locarchive.c: Include <libc-internal.h>
15657 2013-06-25 Joseph Myers <joseph@codesourcery.com>
15659 * manual/texinfo.tex: Update to version 2013-06-21.17, with
15660 trailing whitespace removed.
15662 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15665 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
15666 * locale/programs/locarchive.c: Include libc-mmap.h.
15667 (prepare_address_space): Take two new outputs (the mmap base and len).
15668 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
15670 (create_archive): Declare new mmap base and len values for
15671 prepare_address_space, and store the result in ah.
15672 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
15673 (enlarge_archive): If ah->mmap_base is not NULL, use that and
15674 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15675 Declare new mmap base and len values for
15676 prepare_address_space, and store the result in new_ah.
15677 (open_archive): Declare new mmap base and len values for
15678 prepare_address_space, and store the result in ah.
15679 (close_archive): If ah->mmap_base is not NULL, use that and
15680 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15681 * sysdeps/generic/libc-mmap.h: New file.
15683 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15685 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
15686 (ALIGN_UP): Likewise.
15687 (PTR_ALIGN_DOWN): Likewise.
15688 (PTR_ALIGN_UP): Likewise.
15690 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15692 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
15693 entry mapped to PPC_PLATFORM_POWER8.
15694 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
15696 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
15697 (_dl_string_platform): Add case for exporting platform position for
15699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
15700 search path to sysdeps/powerpc/powerpc32/power8 directory.
15701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
15702 search path to sysdeps/powerpc/powerpc64/power8 directory.
15703 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
15704 power7 directories.
15705 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
15706 power7 directories.
15708 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15710 * INSTALL: Regenerate.
15712 * nscd/connections.c (nscd_init): Fix comment.
15714 2013-06-22 Joseph Myers <joseph@codesourcery.com>
15716 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
15719 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
15720 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
15722 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15724 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
15726 (DL_DST_REQ_STATIC): Remove macro.
15728 2013-06-21 Joseph Myers <joseph@codesourcery.com>
15731 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
15732 with a shift of 0 bits.
15734 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15736 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
15739 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15742 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
15744 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15746 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
15747 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
15748 accepts -fno-tree-loop-distribute-patterns.
15749 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
15750 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
15752 * string/memset.c (memset): Likewise.
15753 * string/test-memmove.c (simple_memmove): Disable loop transformation
15755 * string/test-memset.c (simple_memset): Likewise.
15756 * benchtests/bench-memmove.c (simple_memmove): Likewise.
15757 * benchtests/bench-memset.c (simple_memset): Likewise.
15758 * configure: Regenerated.
15760 2013-06-20 Joseph Myers <joseph@codesourcery.com>
15762 * math/test-misc.c (main): Ignore fesetround failure when failures
15763 of subsequent rounding tests would be ignored.
15766 * math/fedisblxcpt.c (fedisableexcept): Return 0.
15767 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
15768 * math/fegetenv.c (__fegetenv): Return 0.
15769 * math/fegetexcept.c (fegetexcept): Return 0.
15770 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
15772 * math/feholdexcpt.c (feholdexcept): Return 0.
15773 * math/fesetenv.c (__fesetenv): Return 0.
15774 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
15775 argument FE_TONEAREST.
15776 * math/feupdateenv.c (__feupdateenv): Return 0.
15777 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
15779 2013-06-18 Roland McGrath <roland@hack.frob.com>
15781 * elf/rtld-Rules (rtld-compile-command.S): New variable.
15782 (rtld-compile-command.s, rtld-compile-command.c): New variables.
15783 ($(objpfx)rtld-%.os rules): Use them.
15785 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15787 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
15790 2013-06-17 Roland McGrath <roland@hack.frob.com>
15792 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
15793 length of target pattern, then descending length of dependency pattern.
15794 * configure.in (AWK): Require gawk 3.1.2 or newer.
15795 * manual/install.texi (Tools for Compilation): Say that we do.
15796 * configure: Regenerated.
15798 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
15799 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
15800 * scripts/sysd-rules.awk: ... this new script.
15801 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
15802 than a glob-style pattern.
15804 2013-06-17 Joseph Myers <joseph@codesourcery.com>
15806 * math/test-misc.c (main): Do not treat incorrectly rounded
15807 conversions as failure unless ROUNDING_TESTS passes.
15809 2013-06-15 Joseph Myers <joseph@codesourcery.com>
15812 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
15813 restore exception state around main square root computation, then
15814 check for inexactness explicitly.
15816 * math/libm-test.inc (fma_test_data): Add another test.
15818 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15820 * manual/threads.texi (Non-POSIX Extensions): New document
15821 node. Document pthread_getattr_default_np and
15822 pthread_setattr_default_np.
15824 * Versions.def (libpthread): Add GLIBC_2.18.
15825 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
15826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15830 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15832 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15834 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
15836 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15838 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15840 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15842 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15845 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15847 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15848 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
15850 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15851 H.J. Lu <hjl.tools@gmail.com>
15854 * sysdeps/x86_64/rtld-memset.c: Remove file.
15855 * sysdeps/x86_64/rtld-memset.S: New file.
15857 2013-06-14 Joseph Myers <joseph@codesourcery.com>
15859 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
15860 (test_in_one_mode): Take arguments for whether the rounding mode
15861 is supported for each floating-point type.
15862 (do_test): Pass new arguments to test_in_one_mode using
15865 2013-06-13 Roland McGrath <roland@hack.frob.com>
15867 * posix/tst-waitid.c (do_test): Distinguish different instances of
15868 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
15869 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
15870 before entering the kernel for waitpid.
15872 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15874 * NEWS: Fix note on clock function precision. Text by Roland
15877 2013-06-13 Roland McGrath <roland@hack.frob.com>
15879 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
15880 it into place only when and if the sanity check passes.
15882 2013-06-13 Joseph Myers <joseph@codesourcery.com>
15884 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
15885 output for whether conversion result is exact. Take argument
15886 indicating whether type is IBM long double.
15887 (round_for_all): Change need_exact field to ibm_ld.
15888 * stdlib/tst-strtod-round.c (struct exactness): New type.
15889 (struct test): Change bool ld_ok field to struct exactness exact.
15890 (TEST): Update all definitions for change to field.
15891 (tests): Regenerate array contents.
15892 (test_in_one_mode): Take pointer to new field instead of old ld_ok
15893 field value. Check for IBM long double here.
15894 (do_test): Update calls to test_in_one_mode.
15896 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15899 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
15900 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
15902 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15905 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
15906 generated by the compiler on loop optimizations.
15907 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
15908 general definitions.
15910 2013-06-12 Joseph Myers <joseph@codesourcery.com>
15912 * math/bug-nextafter.c: Include <math-tests.h>.
15913 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15915 * math/bug-nexttoward.c: Include <math-tests.h>.
15916 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15918 * math/test-misc.c: Include <math-tests.h>.
15919 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15922 2013-06-12 Andreas Jaeger <aj@suse.de>
15924 * po/ia.po: Update Interlingua translation from translation
15927 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15929 * include/fenv.h: Include stdbool.h.
15930 (struct rm_ctx): New structure.
15931 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
15933 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
15934 (SET_RESTORE_ROUNDF): Likewise.
15935 (SET_RESTORE_ROUNDL): Likewise.
15936 (SET_RESTORE_ROUND_NOEX): Likewise.
15937 (SET_RESTORE_ROUND_NOEXF): Likewise.
15938 (SET_RESTORE_ROUND_NOEXL): Likewise.
15939 (SET_RESTORE_ROUND_53BIT): Likewise.
15940 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
15941 (libc_feresetround_noexf_ctx): Likewise.
15942 (libc_feresetround_noexl_ctx): Likewise.
15943 (libc_feholdsetround_53bit_ctx): Likewise.
15944 (libc_feresetround_53bit_ctx): Likewise.
15945 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
15946 (libc_feholdexcept_setround_sse_ctx): New function.
15947 (libc_fesetenv_sse_ctx): Likewise.
15948 (libc_feupdateenv_sse_ctx): Likewise.
15949 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
15950 (libc_feholdexcept_setround_387_ctx): Likewise.
15951 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
15952 (libc_feholdsetround_387_prec_ctx): Likewise.
15953 (libc_feholdsetround_387_ctx): Likewise.
15954 (libc_feholdsetround_387_53bit_ctx): Likewise.
15955 (libc_feholdsetround_sse_ctx): Likewise.
15956 (libc_feresetround_sse_ctx): Likewise.
15957 (libc_feresetround_387_ctx): Likewise.
15958 (libc_feupdateenv_387_ctx): Likewise.
15959 (libc_feholdexcept_setroundf_ctx): Define macro.
15960 (libc_fesetenvf_ctx): Likewise.
15961 (libc_feupdateenvf_ctx): Likewise.
15962 (libc_feholdsetroundf_ctx): Likewise.
15963 (libc_feresetroundf_ctx): Likewise.
15964 (libc_feholdexcept_setround_ctx): Likewise.
15965 (libc_fesetenv_ctx): Likewise.
15966 (libc_feupdateenv_ctx): Likewise.
15967 (libc_feholdsetround_ctx): Likewise.
15968 (libc_feresetround_ctx): Likewise.
15969 (libc_feholdexcept_setroundl_ctx): Likewise.
15970 (libc_feupdateenvl_ctx): Likewise.
15971 (libc_feholdsetroundl_ctx): Likewise.
15972 (libc_feresetroundl_ctx): Likewise.
15973 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
15974 (libc_feresetround_53bit_ctx): Likewise.
15976 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15978 * locale/iso-639.def: Convert to UTF-8.
15980 2013-06-11 Joseph Myers <joseph@codesourcery.com>
15982 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
15983 (EXCEPTION_TESTS_double): Likewise.
15984 (EXCEPTION_TESTS_long_double): Likewise.
15985 (EXCEPTION_TESTS): Likewise.
15986 * math/libm-test.inc (test_exceptions): Only test exceptions if
15987 EXCEPTION_TESTS (FLOAT).
15989 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15991 * benchtests/Makefile (string-bench): Add strcpy_chk and
15993 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
15994 * benchtests/bench-stpcpy_chk.c: New file.
15995 * benchtests/bench-strcpy_chk-ifunc.c: New file.
15996 * benchtests/bench-strcpy_chk.c: New file.
15997 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
15999 (do_test): Likewise.
16001 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16003 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
16004 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
16005 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
16006 with tabs where appropriate.
16007 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
16009 [PPC_PLATFORM_PPC440]: Likewise.
16010 [PPC_PLATFORM_PPC464]: Likewise.
16011 [PPC_PLATFORM_PPC476]: Likewise.
16012 (_dl_string_platform): Add support for detecting ppc405, ppc440,
16013 ppc464, and ppc476 platform strings merging from ports/
16016 2013-06-11 Andreas Schwab <schwab@suse.de>
16019 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
16020 (from_ucs4_idx): Regenerate.
16021 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
16022 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
16023 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
16024 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
16025 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
16026 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
16027 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
16028 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
16029 from FROM_LOOP and TO_LOOP specific macros.
16030 (BODY): Handle combining characters.
16031 * iconvdata/BIG5HKSCS.irreversible: Update.
16032 * iconvdata/BIG5HKSCS.precomposed: New file.
16033 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
16035 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
16037 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16039 * include/sys/time.h: Fix indentation and add copyright header.
16041 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
16042 (do_test): Likewise.
16043 * string/test-memchr.c (do_one_test): Likewise.
16044 (do_test): Likewise.
16045 * string/test-memcmp.c (do_one_test): Likewise.
16046 (do_test): Likewise.
16047 * string/test-memcpy.c (do_one_test): Likewise.
16048 (do_test): Likewise.
16049 * string/test-memmem.c (do_one_test): Likewise.
16050 (do_test): Likewise.
16051 (do_random_tests): Likewise.
16052 * string/test-memmove.c (do_one_test): Likewise.
16053 (do_test): Likewise.
16054 * string/test-memset.c (do_one_test): Likewise.
16055 (do_test): Likewise.
16056 * string/test-rawmemchr.c (do_one_test): Likewise.
16057 (do_test): Likewise.
16058 * string/test-strcasecmp.c (do_one_test): Likewise.
16059 (do_test): Likewise.
16060 * string/test-strcasestr.c (do_one_test): Likewise.
16061 (do_test): Likewise.
16062 * string/test-strcat.c (do_one_test): Likewise.
16063 (do_test): Likewise.
16064 * string/test-strchr.c (do_one_test): Likewise.
16065 (do_test): Likewise.
16066 * string/test-strcmp.c (do_one_test): Likewise.
16067 (do_test): Likewise.
16068 * string/test-strcpy.c (do_one_test): Likewise.
16069 (do_test): Likewise.
16070 * string/test-string.h: Likewise.
16071 (test_init): Likewise.
16072 * string/test-strlen.c (do_one_test): Likewise.
16073 (do_test): Likewise.
16074 * string/test-strncasecmp.c (do_one_test): Likewise.
16075 (do_test): Likewise.
16076 * string/test-strncat.c (do_one_test): Likewise.
16077 (do_test): Likewise.
16078 * string/test-strncmp.c (do_one_test): Likewise.
16079 (do_test_limit): Likewise.
16080 (do_test): Likewise.
16081 * string/test-strncpy.c (do_one_test): Likewise.
16082 (do_test): Likewise.
16083 * string/test-strnlen.c (do_one_test): Likewise.
16084 (do_test): Likewise.
16085 * string/test-strpbrk.c (do_one_test): Likewise.
16086 (do_test): Likewise.
16087 * string/test-strrchr.c (do_one_test): Likewise.
16088 (do_test): Likewise.
16089 * string/test-strspn.c (do_one_test): Likewise.
16090 (do_test): Likewise.
16091 * string/test-strstr.c (do_one_test): Likewise.
16092 (do_test): Likewise.
16094 * benchtests/Makefile (string-bench): Add string benchmarks.
16095 * benchtests/bench-bcopy-ifunc.c: New file.
16096 * benchtests/bench-bcopy.c: New file.
16097 * benchtests/bench-bzero-ifunc.c: New file.
16098 * benchtests/bench-bzero.c: New file.
16099 * benchtests/bench-memccpy-ifunc.c: New file.
16100 * benchtests/bench-memccpy.c: New file.
16101 * benchtests/bench-memchr-ifunc.c: New file.
16102 * benchtests/bench-memchr.c: New file.
16103 * benchtests/bench-memcmp-ifunc.c: New file.
16104 * benchtests/bench-memcmp.c: New file.
16105 * benchtests/bench-memmem-ifunc.c: New file.
16106 * benchtests/bench-memmem.c: New file.
16107 * benchtests/bench-memmove-ifunc.c: New file.
16108 * benchtests/bench-memmove.c: New file.
16109 * benchtests/bench-mempcpy-ifunc.c: New file.
16110 * benchtests/bench-mempcpy.c: New file.
16111 * benchtests/bench-memset-ifunc.c: New file.
16112 * benchtests/bench-memset.c: New file.
16113 * benchtests/bench-rawmemchr-ifunc.c: New file.
16114 * benchtests/bench-rawmemchr.c: New file.
16115 * benchtests/bench-stpcpy-ifunc.c: New file.
16116 * benchtests/bench-stpcpy.c: New file.
16117 * benchtests/bench-stpncpy-ifunc.c: New file.
16118 * benchtests/bench-stpncpy.c: New file.
16119 * benchtests/bench-strcasecmp-ifunc.c: New file.
16120 * benchtests/bench-strcasecmp.c: New file.
16121 * benchtests/bench-strcasestr-ifunc.c: New file.
16122 * benchtests/bench-strcasestr.c: New file.
16123 * benchtests/bench-strcat-ifunc.c: New file.
16124 * benchtests/bench-strcat.c: New file.
16125 * benchtests/bench-strchr-ifunc.c: New file.
16126 * benchtests/bench-strchr.c: New file.
16127 * benchtests/bench-strchrnul-ifunc.c: New file.
16128 * benchtests/bench-strchrnul.c: New file.
16129 * benchtests/bench-strcmp-ifunc.c: New file.
16130 * benchtests/bench-strcmp.c: New file.
16131 * benchtests/bench-strcpy-ifunc.c: New file.
16132 * benchtests/bench-strcpy.c: New file.
16133 * benchtests/bench-strcspn-ifunc.c: New file.
16134 * benchtests/bench-strcspn.c: New file.
16135 * benchtests/bench-strlen-ifunc.c: New file.
16136 * benchtests/bench-strlen.c: New file.
16137 * benchtests/bench-strncasecmp-ifunc.c: New file.
16138 * benchtests/bench-strncasecmp.c: New file.
16139 * benchtests/bench-strncat-ifunc.c: New file.
16140 * benchtests/bench-strncat.c: New file.
16141 * benchtests/bench-strncmp-ifunc.c: New file.
16142 * benchtests/bench-strncmp.c: New file.
16143 * benchtests/bench-strncpy-ifunc.c: New file.
16144 * benchtests/bench-strncpy.c: New file.
16145 * benchtests/bench-strnlen-ifunc.c: New file.
16146 * benchtests/bench-strnlen.c: New file.
16147 * benchtests/bench-strpbrk-ifunc.c: New file.
16148 * benchtests/bench-strpbrk.c: New file.
16149 * benchtests/bench-strrchr-ifunc.c: New file.
16150 * benchtests/bench-strrchr.c: New file.
16151 * benchtests/bench-strspn-ifunc.c: New file.
16152 * benchtests/bench-strspn.c: New file.
16153 * benchtests/bench-strstr-ifunc.c: New file.
16154 * benchtests/bench-strstr.c: New file.
16156 * benchtests/Makefile: Disable parallel execution of targets.
16157 (string-bench): Add memcpy.
16158 (benchset): New variable to store a list of benchmark sets.
16159 (bench-func): Renamed from bench.
16160 (bench-set): New target.
16161 (bench): Depend on bench-func and bench-set.
16162 * benchtests/README: Add section on benchmark sets.
16163 * benchtests/bench-memcpy-ifunc.c: New file.
16164 * benchtests/bench-memcpy.c: New file.
16165 * benchtests/bench-string.h: New file.
16167 2013-06-11 Andreas Schwab <schwab@suse.de>
16170 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
16171 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
16172 values in the triple.
16173 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
16174 terminator in the group key.
16176 2013-06-11 Andreas Jaeger <aj@suse.de>
16178 * po/zh_TW.po: Update Chinese (traditional) translation from
16179 translation project.
16181 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16183 * include/time.h (__clock_gettime): Add libc_hidden_proto.
16184 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
16185 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
16186 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16187 (clock_getcpuclockid): Likewise.
16188 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
16189 Add weak_alias and libc_hidden_def.
16190 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
16191 * rt/clock_gettime.c (clock_gettime): Rename to
16192 __clock_gettime. Add weak_alias and libc_hidden_def.
16193 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
16194 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
16195 __clock_nanosleep. Add weak_alias and libc_hidden_def.
16196 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
16197 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
16199 * rt/clock_settime.c (clock_settime): Rename to
16200 __clock_settime. Add weak_alias and libc_hidden_def.
16201 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
16203 2013-06-10 Joseph Myers <joseph@codesourcery.com>
16205 * mach/err_boot.sub: Remove trailing whitespace.
16206 * mach/err_ipc.sub: Likewise.
16207 * mach/err_mach.sub: Likewise.
16209 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
16210 (ROUNDING_TESTS_double): Likewise.
16211 (ROUNDING_TESTS_long_double): Likewise.
16212 (ROUNDING_TESTS): Likewise.
16213 * math/libm-test.inc: Include <math-tests.h>.
16214 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
16215 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16216 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16217 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16219 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16221 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
16224 2013-06-08 Joseph Myers <joseph@codesourcery.com>
16226 * sysdeps/gnu/errlist.awk: Do not generate space at end of
16227 otherwise empty TRANS lines.
16228 * sysdeps/gnu/errlist.c: Regenerated.
16230 * catgets/gencat.c (error_print): Use (void) in function
16232 * crypt/crypt_util.c (__init_des): Likewise.
16233 * crypt/speeds.c (Stop): Likewise.
16235 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
16236 * inet/ruserpass.c (token): Likewise.
16237 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
16238 * intl/localealias.c (extend_alias_table): Likewise.
16239 * intl/plural-exp.c (init_germanic_plural): Likewise.
16240 * libio/fcloseall.c (__fcloseall): Likewise.
16241 * libio/genops.c (_IO_flush_all): Likewise.
16242 (_IO_flush_all_linebuffered): Likewise.
16243 (_IO_cleanup): Likewise.
16244 (_IO_iter_begin): Likewise.
16245 (_IO_iter_end): Likewise.
16246 (_IO_list_lock): Likewise.
16247 (_IO_list_unlock): Likewise.
16248 (_IO_list_resetlock): Likewise.
16249 * libio/getchar.c (getchar): Likewise.
16250 * libio/getchar_u.c (getchar_unlocked): Likewise.
16251 * libio/getwchar.c (getwchar): Likewise.
16252 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
16253 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
16254 * login/getpt.c (__getpt): Likewise.
16255 * login/tst-utmp.c (main): Likewise.
16256 * malloc/hooks.c (__malloc_check_init): Likewise.
16257 * malloc/malloc.c (__malloc_stats): Likewise.
16258 * malloc/mtrace.c (tr_break): Likewise.
16259 (mtrace): Likewise.
16260 (muntrace): Likewise.
16261 * misc/fstab.c (endfsent): Likewise.
16262 * misc/getclktck.c (__getclktck): Likewise.
16263 * misc/getdtsz.c (__getdtablesize): Likewise.
16264 * misc/gethostid.c (gethostid): Likewise.
16265 * misc/getpagesize.c (__getpagesize): Likewise.
16266 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
16267 (__get_nprocs): Likewise.
16268 (__get_phys_pages): Likewise.
16269 (__get_avphys_pages): Likewise.
16270 * misc/getttyent.c (getttyent): Likewise.
16271 (setttyent): Likewise.
16272 (endttyent): Likewise.
16273 * misc/getusershell.c (getusershell): Likewise.
16274 (endusershell): Likewise.
16275 (setusershell): Likewise.
16276 (initshells): Likewise.
16277 * misc/hsearch.c (__hdestroy): Likewise.
16278 * misc/sync.c (sync): Likewise.
16279 * misc/syslog.c (closelog_internal): Likewise.
16280 (closelog): Likewise.
16281 * misc/ttyslot.c (ttyslot): Likewise.
16282 * misc/vhangup.c (vhangup): Likewise.
16283 * posix/fork.c (__fork): Likewise.
16284 * posix/getegid.c (__getegid): Likewise.
16285 * posix/geteuid.c (__geteuid): Likewise.
16286 * posix/getgid.c (__getgid): Likewise.
16287 * posix/getpid.c (__getpid): Likewise.
16288 * posix/getppid.c (__getppid): Likewise.
16289 * posix/getuid.c (__getuid): Likewise.
16290 * posix/pause.c (pause): Likewise.
16291 * posix/setpgrp.c (setpgrp): Likewise.
16292 * posix/setsid.c (__setsid): Likewise.
16293 * posix/test-vfork.c (noop): Likewise.
16294 * resolv/gethnamaddr.c (_endhtent): Likewise.
16295 (_gethtent): Likewise.
16296 (ht_endhostent): Likewise.
16297 (gethostent): Likewise.
16298 (dns_service): Likewise.
16299 * stdlib/drand48.c (drand48): Likewise.
16300 * stdlib/lrand48.c (lrand48): Likewise.
16301 * stdlib/mrand48.c (mrand48): Likewise.
16302 * stdlib/rand.c (rand): Likewise.
16303 * stdlib/random.c (__random): Likewise.
16304 * stdlib/setenv.c (clearenv): Likewise.
16305 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
16306 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
16307 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
16308 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
16309 (__get_nprocs): Likewise.
16310 (__get_phys_pages): Likewise.
16311 (__get_avphys_pages): Likewise.
16312 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
16313 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
16314 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
16315 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
16316 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
16317 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
16318 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
16319 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
16320 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
16321 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
16322 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
16323 * sysdeps/mach/hurd/sync.c (sync): Likewise.
16324 * sysdeps/posix/clock.c (clock): Likewise.
16325 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
16326 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
16327 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
16328 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16329 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
16330 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16331 (__get_nprocs_conf): Likewise.
16332 (__get_phys_pages): Likewise.
16333 (__get_avphys_pages): Likewise.
16334 * time/clock.c (clock): Likewise.
16335 * time/tzset.c (__tzname_max): Likewise.
16337 2013-06-07 Joseph Myers <joseph@codesourcery.com>
16339 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
16340 (__bswap_32): Do not use "register".
16341 * crypt/crypt.c (_ufc_doit_r): Likewise.
16342 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16343 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16344 * gmon/gmon.c (__monstartup): Likewise.
16345 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
16346 * hurd/hurdmalloc.c (more_memory): Likewise.
16347 (malloc): Likewise.
16349 (realloc): Likewise.
16350 (malloc_fork_prepare): Likewise.
16351 (malloc_fork_parent): Likewise.
16352 (malloc_fork_child): Likewise.
16353 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
16354 (_svcauth_des): Likewise.
16355 * inet/inet_lnaof.c (inet_lnaof): Likewise.
16356 * inet/inet_net.c (inet_network): Likewise.
16357 * inet/inet_netof.c (inet_netof): Likewise.
16358 * inet/rcmd.c (__validuser2_sa): Likewise.
16359 * io/fts.c (fts_open): Likewise.
16360 (fts_load): Likewise.
16361 (fts_close): Likewise.
16362 (fts_read): Likewise.
16363 (fts_children): Likewise.
16364 (fts_build): Likewise.
16365 (fts_stat): Likewise.
16366 (fts_sort): Likewise.
16367 (fts_alloc): Likewise.
16368 (fts_lfree): Likewise.
16369 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
16370 (_IO_file_xsgetn): Likewise.
16371 (_IO_file_xsgetn_mmap): Likewise.
16372 * libio/iofopncook.c (_IO_cookie_read): Likewise.
16373 (_IO_cookie_write): Likewise.
16374 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
16375 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
16376 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
16377 * malloc/obstack.c (_obstack_begin): Likewise.
16378 (_obstack_begin_1): Likewise.
16379 (_obstack_newchunk): Likewise.
16380 (_obstack_allocated_p): Likewise.
16381 (obstack_free): Likewise.
16382 (_obstack_memory_used): Likewise.
16383 * misc/getttyent.c (getttynam): Likewise.
16384 (getttyent): Likewise.
16387 * misc/getusershell.c (initshells): Likewise.
16388 * misc/syslog.c (__vsyslog_chk): Likewise.
16389 * misc/ttyslot.c (ttyslot): Likewise.
16390 * nis/nis_hash.c (__nis_hash): Likewise.
16391 * posix/fnmatch_loop.c (FCT): Likewise.
16392 * posix/getconf.c (print_all): Likewise.
16394 * posix/getopt.c (exchange): Likewise.
16395 * posix/glob.c (globfree): Likewise.
16396 (prefix_array): Likewise.
16397 (__glob_pattern_type): Likewise.
16398 * resolv/arpa/nameser.h (NS_GET16): Likewise.
16399 (NS_GET32): Likewise.
16400 (NS_PUT16): Likewise.
16401 (NS_PUT32): Likewise.
16402 * resolv/gethnamaddr.c (getanswer): Likewise.
16403 (gethostbyname2): Likewise.
16404 (gethostbyaddr): Likewise.
16405 (_gethtent): Likewise.
16406 (_gethtbyname2): Likewise.
16407 (_gethtbyaddr): Likewise.
16408 * resolv/ns_print.c (dst_s_get_int16): Likewise.
16409 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16410 * resolv/res_init.c (__res_vinit): Likewise.
16411 (net_mask): Likewise.
16412 * resolv/res_mkquery.c (outchar): Likewise.
16414 * stdio-common/printf_fp.c (outchar): Likewise.
16416 * stdio-common/printf_fphex.c (outchar): Likewise.
16418 * stdio-common/printf_size.c (outchar): Likewise.
16420 * stdio-common/test_rdwr.c (main): Likewise.
16421 * stdio-common/tfformat.c (matches): Likewise.
16422 * stdio-common/vfprintf.c (outchar): Likewise.
16423 (printf_unknown): Likewise.
16424 (buffered_vfprintf): Likewise.
16425 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16426 * stdio-common/xbug.c (AppendToBuffer): Likewise.
16427 (ReadFile): Likewise.
16428 * stdlib/qsort.c (SWAP): Likewise.
16429 (_quicksort): Likewise.
16430 * stdlib/setenv.c (__add_to_environ): Likewise.
16431 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16432 * stdlib/strtol_l.c (__strtol_l): Likewise.
16433 * stdlib/tst-strtod.c (main): Likewise.
16434 * stdlib/tst-strtol.c (main): Likewise.
16435 * stdlib/tst-strtoll.c (main): Likewise.
16436 * string/bits/string2.h (__strcmp_cc): Likewise.
16437 (__strcmp_cg): Likewise.
16438 (__strcspn_c1): Likewise.
16439 (__strcspn_c2): Likewise.
16440 (__strcspn_c3): Likewise.
16441 (__strspn_c1): Likewise.
16442 (__strspn_c2): Likewise.
16443 (__strspn_c3): Likewise.
16444 (__strsep_1c): Likewise.
16445 (__strsep_2c): Likewise.
16446 (__strsep_3c): Likewise.
16447 * string/memccpy.c (__memccpy): Likewise.
16448 * string/stpcpy.c (__stpcpy): Likewise.
16449 * string/strcmp.c (strcmp): Likewise.
16450 * string/strrchr.c (strrchr): Likewise.
16451 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
16453 * sysdeps/mach/hurd/getcwd.c
16454 (_hurd_canonicalize_directory_name_internal): Likewise.
16455 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
16456 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
16457 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
16458 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
16459 Likewise, in both definitions.
16460 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
16462 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
16463 64] (__bswap_64): Likewise.
16464 * time/test_time.c (main): Likewise.
16465 * time/tzfile.c (__tzfile_read): Likewise.
16466 (__tzfile_compute): Likewise.
16467 * time/tzset.c (__tzset_parse_tz): Likewise.
16468 (tzset_internal): Likewise.
16469 (compute_change): Likewise.
16470 * wcsmbs/wcscat.c (__wcscat): Likewise.
16471 * wcsmbs/wcschr.c (wcschr): Likewise.
16472 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
16473 * wcsmbs/wcscspn.c (wcscspn): Likewise.
16474 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
16475 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
16476 * wcsmbs/wcsspn.c (wcsspn): Likewise.
16477 * wcsmbs/wcsstr.c (wcsstr): Likewise.
16478 * wcsmbs/wmemchr.c (wmemchr): Likewise.
16479 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16480 * wcsmbs/wmemset.c (wmemset): Likewise.
16482 2013-06-06 Joseph Myers <joseph@codesourcery.com>
16484 * scripts/config.guess: Update to version 2013-05-16.
16485 * scripts/config.sub: Update to version 2013-04-24.
16486 * scripts/install-sh: Update to version 2011-11-20.07.
16487 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
16488 * scripts/move-if-change: Update to version 2012-01-06 07:23.
16490 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
16492 * debug/fgetws_u_chk.c: Fix leading whitespaces.
16493 * elf/sln.c: Likewise.
16494 * hurd/hurd/ioctl.h: Likewise.
16495 * hurd/hurdmalloc.c: Likewise.
16496 * hurd/xattr.c: Likewise.
16497 * include/shlib-compat.h: Likewise.
16498 * inet/ruserpass.c: Likewise.
16499 * libio/iofgets_u.c: Likewise.
16500 * libio/iofgetws_u.c: Likewise.
16501 * locale/programs/ld-identification.c: Likewise.
16502 * locale/programs/ld-time.c: Likewise.
16503 * mach/msg-destroy.c: Likewise.
16504 * nss/nss_files/files-netgrp.c: Likewise.
16505 * resolv/res_data.c: Likewise.
16506 * soft-fp/op-1.h: Likewise.
16507 * soft-fp/op-2.h: Likewise.
16508 * soft-fp/op-4.h: Likewise.
16509 * soft-fp/op-common.h: Likewise.
16510 * stdio-common/printf_fphex.c: Likewise.
16511 * stdlib/strtod_l.c: Likewise.
16512 * sunrpc/rpc/clnt.h: Likewise.
16513 * sysdeps/generic/framestate.c: Likewise.
16514 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16515 * sysdeps/i386/bsd-setjmp.S: Likewise.
16516 * sysdeps/i386/__longjmp.S: Likewise.
16517 * sysdeps/i386/setjmp.S: Likewise.
16518 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16519 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16520 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16521 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16522 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16523 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16524 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16525 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16526 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16527 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16528 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16529 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16530 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16531 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16532 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16533 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16534 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16535 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
16536 * sysdeps/ieee754/support.c: Likewise.
16537 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16538 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
16539 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
16540 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
16541 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
16542 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
16543 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
16544 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
16545 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
16546 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
16547 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
16548 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
16549 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
16550 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
16551 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
16552 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
16553 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16556 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
16558 * posix/transbug.c: Remove executable mode.
16560 2013-06-05 Joseph Myers <joseph@codesourcery.com>
16562 * crypt/speeds.c: Remove trailing whitespace.
16563 * dlfcn/default.c: Likewise.
16564 * elf/ifuncdep2.c: Likewise.
16565 * elf/ifuncmain1.c: Likewise.
16566 * elf/ifuncmain1vis.c: Likewise.
16567 * elf/testobj.h: Likewise.
16568 * elf/tst-stackguard1.c: Likewise.
16569 * gmon/sys/gmon.h: Likewise.
16570 * hurd/hurdmsg.c: Likewise.
16571 * hurd/new-fd.c: Likewise.
16572 * hurd/ports-get.c: Likewise.
16573 * iconvdata/ibm1008_420.c: Likewise.
16574 * inet/tst-getni1.c: Likewise.
16575 * inet/tst-getni2.c: Likewise.
16576 * libio/ioungetc.c: Likewise.
16577 * libio/wfiledoalloc.c: Likewise.
16578 * manual/libm-err-tab.pl: Likewise.
16579 * math/w_dremf.c: Likewise.
16580 * misc/ftruncate.c: Likewise.
16581 * posix/bug-glob2.c: Likewise.
16582 * posix/tst-pcre.c: Likewise.
16583 * posix/wait4.c: Likewise.
16584 * resolv/README: Likewise.
16585 * resolv/res_debug.h: Likewise.
16586 * resolv/tst-inet_ntop.c: Likewise.
16587 * setjmp/bug269-setjmp.c: Likewise.
16588 * soft-fp/extended.h: Likewise.
16589 * soft-fp/op-1.h: Likewise.
16590 * soft-fp/op-2.h: Likewise.
16591 * soft-fp/op-4.h: Likewise.
16592 * soft-fp/op-8.h: Likewise.
16593 * soft-fp/testit.c: Likewise.
16594 * stdio-common/bug16.c: Likewise.
16595 * stdlib/random.c: Likewise.
16596 * sunrpc/rpcsvc/rquota.x: Likewise.
16597 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
16598 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16599 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16600 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16601 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16602 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16603 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16604 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16605 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16606 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16607 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16608 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16609 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16610 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16611 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16612 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16613 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16614 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16615 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16616 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16617 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16618 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16619 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16620 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16621 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16622 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16623 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16624 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16625 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16626 * sysdeps/ieee754/s_lib_version.c: Likewise.
16627 * sysdeps/mach/hurd/check_fds.c: Likewise.
16628 * sysdeps/mach/hurd/getsockname.c: Likewise.
16629 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
16630 * sysdeps/mach/hurd/recvfrom.c: Likewise.
16631 * sysdeps/powerpc/bits/link.h: Likewise.
16632 * sysdeps/powerpc/dl-procinfo.c: Likewise.
16633 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
16634 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
16635 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
16636 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16637 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16638 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
16639 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16640 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
16641 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16642 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
16643 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16644 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
16645 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16646 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16647 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16648 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16649 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16650 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16651 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16652 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16653 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
16654 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16655 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16656 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
16657 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16658 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16659 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16660 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16661 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16662 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16663 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16664 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16665 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16666 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
16667 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16668 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
16669 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16670 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16671 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
16672 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
16673 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
16674 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
16675 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
16676 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16677 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
16678 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
16679 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16680 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
16681 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
16682 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16683 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16684 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16685 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16686 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
16687 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16688 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16689 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16690 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
16691 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16692 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
16693 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
16694 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
16695 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16696 * sysdeps/powerpc/sysdep.h: Likewise.
16697 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16698 * sysdeps/s390/s390-64/sub_n.S: Likewise.
16699 * sysdeps/sh/dl-trampoline.S: Likewise.
16700 * sysdeps/sh/memset.S: Likewise.
16701 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
16702 * sysdeps/sh/strlen.S: Likewise.
16703 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
16704 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
16705 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
16706 * sysdeps/sparc/sparc32/rem.S: Likewise.
16707 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16708 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
16709 * sysdeps/sparc/sparc32/strchr.S: Likewise.
16710 * sysdeps/sparc/sparc32/udiv.S: Likewise.
16711 * sysdeps/sparc/sparc32/urem.S: Likewise.
16712 * sysdeps/sparc/sparc64/add_n.S: Likewise.
16713 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16714 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
16715 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
16716 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
16717 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
16718 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16719 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
16720 * sysdeps/unix/bsd/times.c: Likewise.
16721 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
16722 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
16723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16726 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
16727 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16728 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
16729 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
16730 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
16731 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
16732 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16733 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
16734 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16735 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16736 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16737 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16738 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
16739 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
16740 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
16741 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
16742 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
16743 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16744 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
16745 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
16746 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16747 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
16748 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16749 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
16750 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
16751 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
16752 * sysdeps/x86_64/strcspn.S: Likewise.
16754 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16756 * locale/C-translit.h: Revert #include <stdint.h> because this is a
16757 generated file. Regenerate properly from gen-translit.pl.
16758 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
16759 locale/C-translit.h.
16761 2013-06-05 Andreas Schwab <schwab@suse.de>
16764 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
16765 week as 6 instead of -1.
16766 * time/tst-strptime.c (day_tests): Add test case.
16768 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16770 * sysdeps/generic/math_private.h
16771 (libc_feholdexcept_setround_53bit): Replace with
16772 libc_feholdsetround_53bit.
16773 (libc_feupdateenv_53bit): Replace with
16774 libc_feresetround_53bit.
16775 (SET_RESTORE_ROUND_53BIT): Adjust.
16777 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16779 * string/test-strchrnul.c: Add copyright header.
16781 * posix/tst-getaddrinfo4.c: Increase test timeout.
16783 2013-06-03 Carlos O'Donell <carlos@redhat.com>
16786 * math/libm-test.inc (MAX_EXP): Remove
16788 (ulp): Use MIN_EXP - MANT_DIG.
16789 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
16791 2013-05-31 Carlos O'Donell <carlos@redhat.com>
16793 * po/be.po: Revert last change.
16794 * po/zh_CN.po: Likewise.
16795 * po/header.pot: Likewise.
16797 2013-05-31 Joseph Myers <joseph@codesourcery.com>
16799 * Makefile ($(common-objpfx)linkobj/libc.so): Define
16800 link-libc-deps to empty as target-specific variable.
16801 * Makerules (link-libc-args): New variable.
16802 (libc-for-link): Likewise.
16803 (link-libc-deps): Likewise.
16804 (lib%.so): Depend on $(link-libc-deps). Link with
16806 (build-module): Link with $(link-libc-args).
16807 (build-module-asneeded): Likewise.
16808 (build-module-helper-objlist): Filter out $(link-libc-deps) from
16810 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
16811 target-specific variable.
16812 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
16813 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
16814 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
16816 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
16818 ($(objpfx)libpcprofile.so): Likewise.
16819 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
16821 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
16822 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
16823 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
16825 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
16826 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
16827 * login/Makefile ($(objpfx)libutil.so): Likewise.
16828 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
16829 * math/Makefile ($(objpfx)libm.so): Likewise.
16830 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
16831 $(objpfx)libnsl.so): Define libc-for-link as target-specific
16832 variable instead of depending directly on libc.
16833 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
16834 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
16836 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
16838 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
16839 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
16840 ($(objpfx)libanl.so): Likewise.
16841 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
16843 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
16845 * sysdeps/i386/fpu/Makefile: Remove file.
16846 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
16847 ($(objpfx)libm.so): Remove dependency on ld.so.
16849 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
16852 * nis/yp_xdr.c (XDRMAXNAME): Define.
16853 (XDRMAXRECORD): Define.
16854 (xdr_domainname): Use XDRMAXNAME.
16855 (xdr_mapname): Likewise.
16856 (xdr_peername): Likewise.
16857 (xdr_keydat): Use XDRMAXRECORD.
16858 (xdr_valdat): Likewise.
16860 2013-05-30 Jeff Law <law@redhat.com>
16863 * manual/errno.texi (ESTALE): Update to account for more than
16864 just NFS file systems.
16865 * sysdeps/gnu/errlist.c: Regenerated.
16867 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16870 * elf/Makefile (tests): Add tst-null-argv.
16871 (modules-names): Add tst-null-argv-lib.
16872 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
16873 (tst-null-argv-ENV): Set environment for tst-null-argv.
16874 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
16875 (RTLD_PROGNAME): New macro.
16876 * elf/tst-null-argv.c: New test case.
16877 * elf/tst-null-argv-lib.c: Library for test case.
16878 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
16879 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
16880 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
16881 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
16882 * elf/dl-init.c (call_init): Likewise.
16883 (_dl_init): Likewise.
16884 * elf/dl-load.c (print_search_path): Likewise.
16885 (_dl_map_object): Likewise.
16886 * elf/dl-lookup.c (do_lookup_x): Likewise.
16887 (add_dependency): Likewise.
16888 (_dl_lookup_symbol_x): Likewise.
16889 (_dl_debug_bindings): Likewise.
16890 * elf/dl-open.c (_dl_show_scope): Likewise.
16891 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16892 * elf/dl-version.c (match_symbol): Likewise.
16893 (_dl_check_map_versions): Likewise.
16894 * elf/rtld.c (dl_main): Likewise.
16895 (print_unresolved): Use RTLD_PROGNAME.
16896 (print_missing_version): Likewise.
16897 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16898 (elf_machine_rela): Likewise.
16899 * sysdeps/powerpc/powerpc32/dl-machine.c
16900 (__process_machine_rela): Likewise.
16901 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16903 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16905 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16907 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16908 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16910 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16912 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16914 2013-05-28 Carlos O'Donell <carlos@redhat.com>
16916 * po/be.po: Add descriptive title.
16917 * po/zh_CN.po: Likewise.
16918 * po/header.pot: Likewise.
16920 2013-05-28 Mike Frysinger <vapier@gentoo.org>
16922 * locale/programs/locarchive.c (create_archive): Inlucde fname in
16924 (enlarge_archive): Likewise.
16926 2013-05-28 Ben North <ben@redfrontdoor.org>
16928 * manual/arith.texi (frexp): It is the magnitude of the return
16929 value which lies in [0.5, 1), not the return value itself.
16931 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16933 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16935 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
16937 * stdio-common/bug26.c (main): Correct fscanf template.
16939 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
16940 declare _dl_skip_args.
16942 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
16945 * manual/platform.texi: Add missing @end deftypefun.
16947 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16950 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
16951 bit of mantissa of 2^16382.
16952 * math/libm-test.inc (hypot_test_data): Add more tests.
16954 * math/libm-test.inc: Add drem and pow10 to list of tested
16956 (pow10_test): New function.
16957 (drem_test): Likewise.
16958 (drem_test_tonearest): Likewise.
16959 (drem_test_towardzero): Likewise.
16960 (drem_test_downward): Likewise.
16961 (drem_test_upward): Likewise.
16962 (main): Call the new functions.
16964 * math/libm-test.inc (finite_test_data): Remove.
16965 (finite_test): Run tests from isfinite_test_data.
16966 (gamma_test_data): Remove.
16967 (gamma_test): Run tests from lgamma_test_data.
16968 * sysdeps/i386/fpu/libm-test-ulps: Update.
16969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16971 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16973 * manual/platform.texi: Add PowerPC PPR function set documentation.
16974 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
16977 2013-05-24 Carlos O'Donell <carlos@redhat.com>
16979 * math/libm-test.inc (MAX_EXP): Define.
16981 (ulp): New function.
16982 (check_float_internal): Use ULPDIFF.
16983 (cpow_test): Disable failing test.
16984 (check_ulp): Test ulp() implemetnation.
16985 (main): Call check_ulp before starting tests.
16987 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16989 * math/gen-libm-test.pl (generate_testfile): Do not handle
16990 START_DATA and END_DATA.
16991 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
16993 (acos_tonearest_test_data): Likewise.
16994 (acos_towardzero_test_data): Likewise.
16995 (acos_downward_test_data): Likewise.
16996 (acos_upward_test_data): Likewise.
16997 (acosh_test_data): Likewise.
16998 (asin_test_data): Likewise.
16999 (asin_tonearest_test_data): Likewise.
17000 (asin_towardzero_test_data): Likewise.
17001 (asin_downward_test_data): Likewise.
17002 (asin_upward_test_data): Likewise.
17003 (asinh_test_data): Likewise.
17004 (atan_test_data): Likewise.
17005 (atanh_test_data): Likewise.
17006 (atan2_test_data): Likewise.
17007 (cabs_test_data): Likewise.
17008 (cacos_test_data): Likewise.
17009 (cacosh_test_data): Likewise.
17010 (carg_test_data): Likewise.
17011 (casin_test_data): Likewise.
17012 (casinh_test_data): Likewise.
17013 (catan_test_data): Likewise.
17014 (catanh_test_data): Likewise.
17015 (cbrt_test_data): Likewise.
17016 (ccos_test_data): Likewise.
17017 (ccosh_test_data): Likewise.
17018 (ceil_test_data): Likewise.
17019 (cexp_test_data): Likewise.
17020 (cimag_test_data): Likewise.
17021 (clog_test_data): Likewise.
17022 (clog10_test_data): Likewise.
17023 (conj_test_data): Likewise.
17024 (copysign_test_data): Likewise.
17025 (cos_test_data): Likewise.
17026 (cos_tonearest_test_data): Likewise.
17027 (cos_towardzero_test_data): Likewise.
17028 (cos_downward_test_data): Likewise.
17029 (cos_upward_test_data): Likewise.
17030 (cosh_test_data): Likewise.
17031 (cosh_tonearest_test_data): Likewise.
17032 (cosh_towardzero_test_data): Likewise.
17033 (cosh_downward_test_data): Likewise.
17034 (cosh_upward_test_data): Likewise.
17035 (cpow_test_data): Likewise.
17036 (cproj_test_data): Likewise.
17037 (creal_test_data): Likewise.
17038 (csin_test_data): Likewise.
17039 (csinh_test_data): Likewise.
17040 (csqrt_test_data): Likewise.
17041 (ctan_test_data): Likewise.
17042 (ctan_tonearest_test_data): Likewise.
17043 (ctan_towardzero_test_data): Likewise.
17044 (ctan_downward_test_data): Likewise.
17045 (ctan_upward_test_data): Likewise.
17046 (ctanh_test_data): Likewise.
17047 (ctanh_tonearest_test_data): Likewise.
17048 (ctanh_towardzero_test_data): Likewise.
17049 (ctanh_downward_test_data): Likewise.
17050 (ctanh_upward_test_data): Likewise.
17051 (erf_test_data): Likewise.
17052 (erfc_test_data): Likewise.
17053 (exp_test_data): Likewise.
17054 (exp_tonearest_test_data): Likewise.
17055 (exp_towardzero_test_data): Likewise.
17056 (exp_downward_test_data): Likewise.
17057 (exp_upward_test_data): Likewise.
17058 (exp10_test_data): Likewise.
17059 (exp2_test_data): Likewise.
17060 (expm1_test_data): Likewise.
17061 (fabs_test_data): Likewise.
17062 (fdim_test_data): Likewise.
17063 (finite_test_data): Likewise.
17064 (floor_test_data): Likewise.
17065 (fma_test_data): Likewise.
17066 (fma_towardzero_test_data): Likewise.
17067 (fma_downward_test_data): Likewise.
17068 (fma_upward_test_data): Likewise.
17069 (fmax_test_data): Likewise.
17070 (fmin_test_data): Likewise.
17071 (fmod_test_data): Likewise.
17072 (fpclassify_test_data): Likewise.
17073 (frexp_test_data): Likewise.
17074 (gamma_test_data): Likewise.
17075 (hypot_test_data): Likewise.
17076 (ilogb_test_data): Likewise.
17077 (isfinite_test_data): Likewise.
17078 (isgreater_test_data): Likewise.
17079 (isgreaterequal_test_data): Likewise.
17080 (isinf_test_data): Likewise.
17081 (isless_test_data): Likewise.
17082 (islessequal_test_data): Likewise.
17083 (islessgreater_test_data): Likewise.
17084 (isnan_test_data): Likewise.
17085 (isnormal_test_data): Likewise.
17086 (issignaling_test_data): Likewise.
17087 (isunordered_test_data): Likewise.
17088 (j0_test_data): Likewise.
17089 (j1_test_data): Likewise.
17090 (jn_test_data): Likewise.
17091 (ldexp_test_data): Likewise.
17092 (lgamma_test_data): Likewise.
17093 (lrint_test_data): Likewise.
17094 (lrint_tonearest_test_data): Likewise.
17095 (lrint_towardzero_test_data): Likewise.
17096 (lrint_downward_test_data): Likewise.
17097 (lrint_upward_test_data): Likewise.
17098 (llrint_test_data): Likewise.
17099 (llrint_tonearest_test_data): Likewise.
17100 (llrint_towardzero_test_data): Likewise.
17101 (llrint_downward_test_data): Likewise.
17102 (llrint_upward_test_data): Likewise.
17103 (log_test_data): Likewise.
17104 (log10_test_data): Likewise.
17105 (log1p_test_data): Likewise.
17106 (log2_test_data): Likewise.
17107 (logb_test_data): Likewise.
17108 (logb_downward_test_data): Likewise.
17109 (lround_test_data): Likewise.
17110 (llround_test_data): Likewise.
17111 (modf_test_data): Likewise.
17112 (nearbyint_test_data): Likewise.
17113 (nextafter_test_data): Likewise.
17114 (nexttoward_test_data): Likewise.
17115 (pow_test_data): Likewise.
17116 (pow_tonearest_test_data): Likewise.
17117 (pow_towardzero_test_data): Likewise.
17118 (pow_downward_test_data): Likewise.
17119 (pow_upward_test_data): Likewise.
17120 (remainder_test_data): Likewise.
17121 (remainder_tonearest_test_data): Likewise.
17122 (remainder_towardzero_test_data): Likewise.
17123 (remainder_downward_test_data): Likewise.
17124 (remainder_upward_test_data): Likewise.
17125 (remquo_test_data): Likewise.
17126 (rint_test_data): Likewise.
17127 (rint_tonearest_test_data): Likewise.
17128 (rint_towardzero_test_data): Likewise.
17129 (rint_downward_test_data): Likewise.
17130 (rint_upward_test_data): Likewise.
17131 (round_test_data): Likewise.
17132 (scalb_test_data): Likewise.
17133 (scalbn_test_data): Likewise.
17134 (scalbln_test_data): Likewise.
17135 (signbit_test_data): Likewise.
17136 (sin_test_data): Likewise.
17137 (sin_tonearest_test_data): Likewise.
17138 (sin_towardzero_test_data): Likewise.
17139 (sin_downward_test_data): Likewise.
17140 (sin_upward_test_data): Likewise.
17141 (sincos_test_data): Likewise.
17142 (sinh_test_data): Likewise.
17143 (sinh_tonearest_test_data): Likewise.
17144 (sinh_towardzero_test_data): Likewise.
17145 (sinh_downward_test_data): Likewise.
17146 (sinh_upward_test_data): Likewise.
17147 (sqrt_test_data): Likewise.
17148 (tan_test_data): Likewise.
17149 (tan_tonearest_test_data): Likewise.
17150 (tan_towardzero_test_data): Likewise.
17151 (tan_downward_test_data): Likewise.
17152 (tan_upward_test_data): Likewise.
17153 (tanh_test_data): Likewise.
17154 (tgamma_test_data): Likewise.
17155 (trunc_test_data): Likewise.
17156 (y0_test_data): Likewise.
17157 (y1_test_data): Likewise.
17158 (yn_test_data): Likewise.
17159 (significand_test_data): Likewise.
17161 * math/gen-libm-test.pl (@functions): Remove variable.
17162 (generate_testfile): Don't handle START and END lines.
17163 * math/libm-test.inc (START): New macro.
17165 (END_COMPLEX): Likewise.
17166 (acos_test): Use END macro without arguments.
17167 (acos_test_tonearest): Likewise.
17168 (acos_test_towardzero): Likewise.
17169 (acos_test_downward): Likewise.
17170 (acos_test_upward): Likewise.
17171 (acosh_test): Likewise.
17172 (asin_test): Likewise.
17173 (asin_test_tonearest): Likewise.
17174 (asin_test_towardzero): Likewise.
17175 (asin_test_downward): Likewise.
17176 (asin_test_upward): Likewise.
17177 (asinh_test): Likewise.
17178 (atan_test): Likewise.
17179 (atanh_test): Likewise.
17180 (atan2_test): Likewise.
17181 (cabs_test): Likewise.
17182 (cacos_test): Use END_COMPLEX macro without arguments.
17183 (cacosh_test): Likewise.
17184 (carg_test): Use END macro without arguments.
17185 (casin_test): Use END_COMPLEX macro without arguments.
17186 (casinh_test): Likewise.
17187 (catan_test): Likewise.
17188 (catanh_test): Likewise.
17189 (cbrt_test): Use END macro without arguments.
17190 (ccos_test): Use END_COMPLEX macro without arguments.
17191 (ccosh_test): Likewise.
17192 (ceil_test): Use END macro without arguments.
17193 (cexp_test): Use END_COMPLEX macro without arguments.
17194 (cimag_test): Use END macro without arguments.
17195 (clog_test): Use END_COMPLEX macro without arguments.
17196 (clog10_test): Likewise.
17197 (conj_test): Likewise.
17198 (copysign_test): Use END macro without arguments.
17199 (cos_test): Likewise.
17200 (cos_test_tonearest): Likewise.
17201 (cos_test_towardzero): Likewise.
17202 (cos_test_downward): Likewise.
17203 (cos_test_upward): Likewise.
17204 (cosh_test): Likewise.
17205 (cosh_test_tonearest): Likewise.
17206 (cosh_test_towardzero): Likewise.
17207 (cosh_test_downward): Likewise.
17208 (cosh_test_upward): Likewise.
17209 (cpow_test): Use END_COMPLEX macro without arguments.
17210 (cproj_test): Likewise.
17211 (creal_test): Use END macro without arguments.
17212 (csin_test): Use END_COMPLEX macro without arguments.
17213 (csinh_test): Likewise.
17214 (csqrt_test): Likewise.
17215 (ctan_test): Likewise.
17216 (ctan_test_tonearest): Likewise.
17217 (ctan_test_towardzero): Likewise.
17218 (ctan_test_downward): Likewise.
17219 (ctan_test_upward): Likewise.
17220 (ctanh_test): Likewise.
17221 (ctanh_test_tonearest): Likewise.
17222 (ctanh_test_towardzero): Likewise.
17223 (ctanh_test_downward): Likewise.
17224 (ctanh_test_upward): Likewise.
17225 (erf_test): Use END macro without arguments.
17226 (erfc_test): Likewise.
17227 (exp_test): Likewise.
17228 (exp_test_tonearest): Likewise.
17229 (exp_test_towardzero): Likewise.
17230 (exp_test_downward): Likewise.
17231 (exp_test_upward): Likewise.
17232 (exp10_test): Likewise.
17233 (exp2_test): Likewise.
17234 (expm1_test): Likewise.
17235 (fabs_test): Likewise.
17236 (fdim_test): Likewise.
17237 (finite_test): Likewise.
17238 (floor_test): Likewise.
17239 (fma_test): Likewise.
17240 (fma_test_towardzero): Likewise.
17241 (fma_test_downward): Likewise.
17242 (fma_test_upward): Likewise.
17243 (fmax_test): Likewise.
17244 (fmin_test): Likewise.
17245 (fmod_test): Likewise.
17246 (fpclassify_test): Likewise.
17247 (frexp_test): Likewise.
17248 (gamma_test): Likewise.
17249 (hypot_test): Likewise.
17250 (ilogb_test): Likewise.
17251 (isfinite_test): Likewise.
17252 (isgreater_test): Likewise.
17253 (isgreaterequal_test): Likewise.
17254 (isinf_test): Likewise.
17255 (isless_test): Likewise.
17256 (islessequal_test): Likewise.
17257 (islessgreater_test): Likewise.
17258 (isnan_test): Likewise.
17259 (isnormal_test): Likewise.
17260 (issignaling_test): Likewise.
17261 (isunordered_test): Likewise.
17262 (j0_test): Likewise.
17263 (j1_test): Likewise.
17264 (jn_test): Likewise.
17265 (ldexp_test): Likewise.
17266 (lgamma_test): Likewise.
17267 (lrint_test): Likewise.
17268 (lrint_test_tonearest): Likewise.
17269 (lrint_test_towardzero): Likewise.
17270 (lrint_test_downward): Likewise.
17271 (lrint_test_upward): Likewise.
17272 (llrint_test): Likewise.
17273 (llrint_test_tonearest): Likewise.
17274 (llrint_test_towardzero): Likewise.
17275 (llrint_test_downward): Likewise.
17276 (llrint_test_upward): Likewise.
17277 (log_test): Likewise.
17278 (log10_test): Likewise.
17279 (log1p_test): Likewise.
17280 (log2_test): Likewise.
17281 (logb_test): Likewise.
17282 (logb_test_downward): Likewise.
17283 (lround_test): Likewise.
17284 (llround_test): Likewise.
17285 (modf_test): Likewise.
17286 (nearbyint_test): Likewise.
17287 (nextafter_test): Likewise.
17288 (nexttoward_test): Likewise.
17289 (pow_test): Likewise.
17290 (pow_test_tonearest): Likewise.
17291 (pow_test_towardzero): Likewise.
17292 (pow_test_downward): Likewise.
17293 (pow_test_upward): Likewise.
17294 (remainder_test): Likewise.
17295 (remainder_test_tonearest): Likewise.
17296 (remainder_test_towardzero): Likewise.
17297 (remainder_test_downward): Likewise.
17298 (remainder_test_upward): Likewise.
17299 (remquo_test): Likewise.
17300 (rint_test): Likewise.
17301 (rint_test_tonearest): Likewise.
17302 (rint_test_towardzero): Likewise.
17303 (rint_test_downward): Likewise.
17304 (rint_test_upward): Likewise.
17305 (round_test): Likewise.
17306 (scalb_test): Likewise.
17307 (scalbn_test): Likewise.
17308 (scalbln_test): Likewise.
17309 (signbit_test): Likewise.
17310 (sin_test): Likewise.
17311 (sin_test_tonearest): Likewise.
17312 (sin_test_towardzero): Likewise.
17313 (sin_test_downward): Likewise.
17314 (sin_test_upward): Likewise.
17315 (sincos_test): Likewise.
17316 (sinh_test): Likewise.
17317 (sinh_test_tonearest): Likewise.
17318 (sinh_test_towardzero): Likewise.
17319 (sinh_test_downward): Likewise.
17320 (sinh_test_upward): Likewise.
17321 (sqrt_test): Likewise.
17322 (tan_test): Likewise.
17323 (tan_test_tonearest): Likewise.
17324 (tan_test_towardzero): Likewise.
17325 (tan_test_downward): Likewise.
17326 (tan_test_upward): Likewise.
17327 (tanh_test): Likewise.
17328 (tgamma_test): Likewise.
17329 (trunc_test): Likewise.
17330 (y0_test): Likewise.
17331 (y1_test): Likewise.
17332 (yn_test): Likewise.
17333 (significand_test): Likewise.
17335 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
17338 * libio/genops.c (_IO_no_init): Initialize wide struct info.
17340 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
17343 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
17344 __ppc_mdoio and __ppc_mdoom.
17345 * manual/platform.texi: Document new functions __ppc_yield,
17346 __ppc_mdoio and __ppc_mdoom.
17348 2013-05-22 Carlos O'Donell <carlos@redhat.com>
17350 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
17351 (main): Mention "tls" pseudo-hwcap is legacy.
17352 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
17354 2013-05-22 Joseph Myers <joseph@codesourcery.com>
17356 * math/gen-libm-test.pl (parse_args): Output only string of
17357 arguments as text for test name, not full call or descriptions of
17358 tests for extra outputs.
17359 (generate_testfile): Do not pass function name to parse_args.
17360 Generate this_func variable from START.
17361 * math/libm-test.inc (struct test_f_f_data): Rename test_name
17363 (struct test_ff_f_data): Likewise.
17364 (test_ff_f_data_nexttoward): Likewise.
17365 (struct test_fi_f_data): Likewise.
17366 (struct test_fl_f_data): Likewise.
17367 (struct test_if_f_data): Likewise.
17368 (struct test_fff_f_data): Likewise.
17369 (struct test_c_f_data): Likewise.
17370 (struct test_f_f1_data): Likewise. Remove field extra_name.
17371 (struct test_fF_f1_data): Likewise.
17372 (struct test_ffI_f1_data): Likewise.
17373 (struct test_c_c_data): Rename test_name field to arg_str.
17374 (struct test_cc_c_data): Likewise.
17375 (struct test_f_i_data): Likewise.
17376 (struct test_ff_i_data): Likewise.
17377 (struct test_f_l_data): Likewise.
17378 (struct test_f_L_data): Likewise.
17379 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
17381 (COMMON_TEST_SETUP): New macro.
17382 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
17383 (COMMON_TEST_CLEANUP): Likewise.
17384 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
17385 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
17387 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
17388 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
17390 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
17391 (RUN_TEST_fff_f): Take argument string. Call new setup and
17393 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
17394 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
17396 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
17397 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
17399 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17400 (RUN_TEST_fF_f1): Take argument string. Call new setup and
17402 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17403 (RUN_TEST_fI_f1): Take argument string. Call new setup and
17405 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17406 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
17408 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17409 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
17411 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
17412 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
17414 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
17415 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
17417 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
17418 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
17420 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
17421 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
17423 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
17424 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
17426 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
17427 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
17429 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
17430 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
17432 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
17433 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
17435 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
17436 (RUN_TEST_fFF_11): Take argument string. Call new setup and
17438 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
17440 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17442 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
17443 to _sifields.sigfault.
17444 (si_addr_lsb): Define new macro.
17445 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17446 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17447 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
17449 2013-05-03 Carlos O'Donell <carlos at redhat.com>
17452 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
17454 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
17456 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
17457 loading the domain.
17459 2013-05-22 Joseph Myers <joseph@codesourcery.com>
17461 * math/gen-libm-test.pl (parse_args): Do not include expected
17462 result in test name.
17463 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
17464 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17465 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17466 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17467 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17470 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17472 * benchtests/Makefile: Sort function entries.
17474 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
17475 tanh, asinh, acosh, atanh.
17476 * benchtests/acos-inputs: New file.
17477 * benchtests/acosh-inputs: New file.
17478 * benchtests/asin-inputs: New file.
17479 * benchtests/asinh-inputs: New file.
17480 * benchtests/atanh-inputs: New file.
17481 * benchtests/cosh-inputs: New file.
17482 * benchtests/log-inputs: New file.
17483 * benchtests/sinh-inputs: New file.
17484 * benchtests/tanh-inputs: New file.
17486 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
17489 * posix/tst-getaddrinfo4.c: New test.
17490 * posix/Makefile (tests): Add it.
17492 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17495 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
17496 when no services were used.
17497 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
17498 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
17500 2013-05-21 Andreas Schwab <schwab@suse.de>
17503 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
17504 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
17506 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
17507 redundant variable declarations and reallocation of buffer when
17508 parsing as IPv6 address. Always set NSS status when called from
17509 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
17510 buffer too small. Correct computation of needed size.
17511 * nss/Makefile (tests): Add test-digits-dots.
17512 * nss/test-digits-dots.c: New test.
17514 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17516 * benchtests/Makefile: Remove instructions for adding
17518 * benchtests/README: New file to explain how to execute and
17519 enhance the benchmark tests.
17521 2013-05-21 Andreas Schwab <schwab@suse.de>
17524 * setjmp/Makefile (tests): Add tst-sigsetjmp.
17525 * setjmp/tst-sigsetjmp.c: New test.
17527 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
17529 * sysdeps/x86_64/memset.S (memset): New implementation.
17530 (__bzero): Likewise.
17531 (__memset_tail): New function.
17533 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
17535 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
17536 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
17537 __memcpy_sse2_unaligned ifunc selection.
17538 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17539 Add memcpy-sse2-unaligned.S.
17540 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17541 Add: __memcpy_sse2_unaligned.
17543 2013-05-19 Joseph Myers <joseph@codesourcery.com>
17546 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17547 math_force_eval before restoring floating-point envrionment.
17548 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
17549 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
17551 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
17553 (__nearbyintl): Use math_force_eval before restoring
17554 floating-point environment.
17555 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
17557 * math/gen-libm-test.pl (special_functions): Remove.
17558 (parse_args): Don't handle TEST_extra. Handle functions with no
17560 * math/libm-test.inc (struct test_sincos_data): Replace with
17561 struct test_fFF_11_data.
17562 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
17563 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
17564 (sincos_test_data): Change element type to struct
17565 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
17566 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
17567 RUN_TEST_LOOP_sincos.
17568 * math/README.libm-test: Don't mention special handling of
17569 individual functions.
17570 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
17571 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17572 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17573 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17574 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17577 * math/gen-libm-test.pl (get_variable): Remove function.
17578 (parse_args): Don't show pointer parameters to call in test
17579 names. Use "extra output N" in test names for extra outputs
17580 rather than naming variables.
17582 2013-05-18 Joseph Myers <joseph@codesourcery.com>
17585 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
17586 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
17587 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
17589 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
17591 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
17594 * math/gen-libm-test.pl (@tests): Remove variable.
17595 ($count): Likewise.
17596 (new_test): Remove function.
17597 (show_exceptions): New function.
17598 (special_functions): Use show_exceptions instead of new_test.
17599 (parse_args): Likewise.
17600 (generate_testfile): Pass only function name in generated call to
17601 print_max_error or print_complex_max_error.
17602 (get_ulps): Do not handle complex tests specially.
17603 (output_test): Rename to ...
17604 (get_all_ulps_for_test): ... this. Return a string rather than
17605 printing to a file. Require ulps to be present.
17606 (output_ulps): Generate arrays rather than #defines.
17607 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
17608 (struct ulp_data): New type.
17609 (BUILD_COMPLEX_ULP): Remove macro.
17610 (compare_ulp_data): New function.
17611 (find_ulps): Likewise.
17612 (find_test_ulps): Likewise.
17613 (find_function_ulps): Likewise.
17614 (find_complex_function_ulps): Likewise.
17615 (print_max_error): Determine allowed ulps using
17616 find_function_ulps.
17617 (print_complex_max_error): Determine allowed ulps using
17618 find_complex_function_ulps.
17619 (check_float_internal): Determine max ulps using find_test_ulps.
17620 (check_float): Do not take max_ulp parameter. Update call to
17621 check_float_internal.
17622 (check_complex): Likewise.
17623 (check_int): Do not take max_ulp parameter.
17624 (check_long): Likewise.
17625 (check_bool): Likewise.
17626 (check_longlong): Likewise.
17627 (struct test_f_f_data): Remove max_ulp field.
17628 (struct test_ff_f_data): Likewise.
17629 (struct test_ff_f_data_nexttoward): Likewise.
17630 (struct test_fi_f_data): Likewise.
17631 (struct test_fl_f_data): Likewise.
17632 (struct test_if_f_data): Likewise.
17633 (struct test_fff_f_data): Likewise.
17634 (struct test_c_f_data): Likewise.
17635 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
17636 (struct test_fF_f1_data): Likewise.
17637 (struct test_ffI_f1_data): Likewise.
17638 (struct test_c_c_data): Remove max_ulp field.
17639 (struct test_cc_c_data): Likewise.
17640 (struct test_f_i_data): Likewise.
17641 (struct test_ff_i_data): Likewise.
17642 (struct test_f_l_data): Likewise.
17643 (struct test_f_L_data): Likewise.
17644 (struct test_sincos_data): Likewise.
17645 (RUN_TEST_f_f): Do not handle ulps.
17646 (RUN_TEST_LOOP_f_f): Likewise.
17647 (RUN_TEST_2_f): Likewise.
17648 (RUN_TEST_LOOP_2_f): Likewise.
17649 (RUN_TEST_fff_f): Likewise.
17650 (RUN_TEST_LOOP_fff_f): Likewise.
17651 (RUN_TEST_c_f): Likewise.
17652 (RUN_TEST_LOOP_c_f): Likewise.
17653 (RUN_TEST_f_f1): Likewise.
17654 (RUN_TEST_LOOP_f_f1): Likewise.
17655 (RUN_TEST_fF_f1): Likewise.
17656 (RUN_TEST_LOOP_fF_f1): Likewise.
17657 (RUN_TEST_fI_f1): Likewise.
17658 (RUN_TEST_LOOP_fI_f1): Likewise.
17659 (RUN_TEST_ffI_f1): Likewise.
17660 (RUN_TEST_LOOP_ffI_f1): Likewise.
17661 (RUN_TEST_c_c): Likewise.
17662 (RUN_TEST_LOOP_c_c): Likewise.
17663 (RUN_TEST_cc_c): Likewise.
17664 (RUN_TEST_LOOP_cc_c): Likewise.
17665 (RUN_TEST_f_i): Likewise.
17666 (RUN_TEST_LOOP_f_i): Likewise.
17667 (RUN_TEST_f_i_tg): Likewise.
17668 (RUN_TEST_LOOP_f_i_tg): Likewise.
17669 (RUN_TEST_ff_i_tg): Likewise.
17670 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17671 (RUN_TEST_f_b): Likewise.
17672 (RUN_TEST_LOOP_f_b): Likewise.
17673 (RUN_TEST_f_b_tg): Likewise.
17674 (RUN_TEST_LOOP_f_b_tg): Likewise.
17675 (RUN_TEST_f_l): Likewise.
17676 (RUN_TEST_LOOP_f_l): Likewise.
17677 (RUN_TEST_f_L): Likewise.
17678 (RUN_TEST_LOOP_f_L): Likewise.
17679 (RUN_TEST_sincos): Likewise.
17680 (RUN_TEST_LOOP_sincos): Likewise.
17682 2013-05-17 Joseph Myers <joseph@codesourcery.com>
17686 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
17687 main case of finite arguments, set rounding mode to FE_TONEAREST
17688 and discard exceptions.
17689 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
17691 (remainder_tonearest_test_data): New variable.
17692 (remainder_test_tonearest): New function.
17693 (remainder_towardzero_test_data): New variable.
17694 (remainder_test_towardzero): New function.
17695 (remainder_downward_test_data): New variable.
17696 (remainder_test_downward): New function.
17697 (remainder_upward_test_data): New variable.
17698 (remainder_test_upward): New function.
17699 (main): Call the new test functions.
17701 * math/libm-test.inc (struct test_f_f1_data): Remove field
17703 (struct test_fF_f1_data): Likewise.
17704 (struct test_ffI_f1_data): Likewise.
17705 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
17706 based on value of EXTRA_EXPECTED.
17707 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17708 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
17709 EXTRA_VAR based on value of EXTRA_EXPECTED.
17710 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17711 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
17712 EXTRA_VAR based on value of EXTRA_EXPECTED.
17713 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17714 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
17715 EXTRA_VAR based on value of EXTRA_EXPECTED.
17716 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17717 * math/gen-libm-test.pl (parse_args): Don't output initializers
17718 for extra output values.
17720 * math/libm-test.inc (check_int): Expect result to be exactly
17721 equal to expected value and do not handle ulps.
17722 (check_long): Likewise.
17723 (check_longlong): Likewise.
17725 * math/libm-test.inc (ceil_test_data): Test for "inexact"
17727 (cimag_test_data): Likewise.
17728 (conj_test_data): Likewise.
17729 (copysign_test_data): Likewise.
17730 (cproj_test_data): Likewise.
17731 (creal_test_data): Likewise.
17732 (fabs_test_data): Likewise.
17733 (fdim_test_data): Likewise.
17734 (finite_test_data): Likewise.
17735 (floor_test_data): Likewise.
17736 (fmax_test_data): Likewise.
17737 (fmin_test_data): Likewise.
17738 (fmod_test_data): Likewise.
17739 (fpclassify_test_data): Likewise.
17740 (frexp_test_data): Likewise.
17741 (ilogb_test_data): Likewise.
17742 (isfinite_test_data): Likewise.
17743 (isgreater_test_data): Likewise.
17744 (isgreaterequal_test_data): Likewise.
17745 (isinf_test_data): Likewise.
17746 (isless_test_data): Likewise.
17747 (islessequal_test_data): Likewise.
17748 (islessgreater_test_data): Likewise.
17749 (isnan_test_data): Likewise.
17750 (isnormal_test_data): Likewise.
17751 (issignaling_test_data): Likewise.
17752 (isunordered_test_data): Likewise.
17753 (ldexp_test_data): Likewise.
17754 (lrint_test_data): Likewise.
17755 (lrint_test_data) [TEST_FLOAT]: Disable one test.
17756 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
17757 (lrint_tonearest_test_data): Test for "inexact" exceptions.
17758 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17759 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
17760 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17762 (lrint_towardzero_test_data): Test for "inexact" exceptions.
17763 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17764 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
17765 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
17767 (lrint_downward_test_data): Test for "inexact" exceptions.
17768 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17769 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
17770 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17772 (lrint_upward_test_data): Test for "inexact" exceptions.
17773 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
17775 (llrint_test_data): Test for "inexact" exceptions.
17776 (llrint_test_data) [TEST_FLOAT]: Disable one test.
17777 (llrint_tonearest_test_data): Test for "inexact" exceptions.
17778 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17779 (llrint_towardzero_test_data): Test for "inexact" exceptions.
17780 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17781 (llrint_downward_test_data): Test for "inexact" exceptions.
17782 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17783 (llrint_upward_test_data): Test for "inexact" exceptions.
17784 (logb_test_data): Likewise.
17785 (logb_downward_test_data): Likewise.
17786 (nextafter_test_data): Likewise.
17787 (nexttoward_test_data): Likewise.
17788 (remainder_test_data): Likewise.
17789 (remquo_test_data): Likewise.
17790 (scalbn_test_data): Likewise.
17791 (scalbln_test_data): Likewise.
17792 (signbit_test_data): Likewise.
17793 (sqrt_test_data): Likewise.
17794 (significand_test_data): Likewise.
17796 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17799 * benchtests/bench-modf.c (struct args): Mark arg0 as
17801 * scripts/bench.pl: Mark members of struct args as volatile.
17803 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17806 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
17807 negative infinity on POWER6 or lower.
17808 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
17810 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17813 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
17814 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
17815 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
17816 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
17817 (_FP_SETQNAN): New macro.
17818 (_FP_SETQNAN_SEMIRAW): Likewise.
17819 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
17820 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
17821 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
17822 (FP_EXTEND): Use _FP_FRAC_SNANP.
17823 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
17824 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
17826 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17828 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17831 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17833 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
17834 with DIVIDE_BY_ZERO_EXCEPTION.
17835 (gamma_test_data): Likewise.
17836 (lgamma_test_data): Likewise.
17837 (log_test_data): Likewise.
17838 (log10_test_data): Likewise.
17839 (log2_test_data): Likewise.
17840 (tgamma_test_data): Likewise.
17842 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
17843 (acos_test_tonearest): Likewise.
17844 (acos_test_towardzero): Likewise.
17845 (acos_test_downward): Likewise.
17846 (acos_test_upward): Likewise.
17847 (acosh_test): Likewise.
17848 (asin_test): Likewise.
17849 (asin_test_tonearest): Likewise.
17850 (asin_test_towardzero): Likewise.
17851 (asin_test_downward): Likewise.
17852 (asin_test_upward): Likewise.
17853 (asinh_test): Likewise.
17854 (atan_test): Likewise.
17855 (atanh_test): Likewise.
17856 (atan2_test): Likewise.
17857 (cabs_test): Likewise.
17858 (cacos_test): Likewise.
17859 (cacosh_test): Likewise.
17860 (casin_test): Likewise.
17861 (casinh_test): Likewise.
17862 (catan_test): Likewise.
17863 (catanh_test): Likewise.
17864 (cbrt_test): Likewise.
17865 (ccos_test): Likewise.
17866 (ccosh_test): Likewise.
17867 (cexp_test): Likewise.
17868 (clog_test): Likewise.
17869 (clog10_test): Likewise.
17870 (cos_test): Likewise.
17871 (cos_test_tonearest): Likewise.
17872 (cos_test_towardzero): Likewise.
17873 (cos_test_downward): Likewise.
17874 (cos_test_upward): Likewise.
17875 (cosh_test): Likewise.
17876 (cosh_test_tonearest): Likewise.
17877 (cosh_test_towardzero): Likewise.
17878 (cosh_test_downward): Likewise.
17879 (cosh_test_upward): Likewise.
17880 (cpow_test): Likewise.
17881 (csin_test): Likewise.
17882 (csinh_test): Likewise.
17883 (csqrt_test): Likewise.
17884 (ctan_test): Likewise.
17885 (ctan_test_tonearest): Likewise.
17886 (ctan_test_towardzero): Likewise.
17887 (ctan_test_downward): Likewise.
17888 (ctan_test_upward): Likewise.
17889 (ctanh_test): Likewise.
17890 (ctanh_test_tonearest): Likewise.
17891 (ctanh_test_towardzero): Likewise.
17892 (ctanh_test_downward): Likewise.
17893 (ctanh_test_upward): Likewise.
17894 (erf_test): Likewise.
17895 (erfc_test): Likewise.
17896 (exp_test): Likewise.
17897 (exp_test_tonearest): Likewise.
17898 (exp_test_towardzero): Likewise.
17899 (exp_test_downward): Likewise.
17900 (exp_test_upward): Likewise.
17901 (exp10_test): Likewise.
17902 (exp2_test): Likewise.
17903 (expm1_test): Likewise.
17904 (fmod_test): Likewise.
17905 (gamma_test): Likewise.
17906 (hypot_test): Likewise.
17907 (j0_test): Likewise.
17908 (j1_test): Likewise.
17909 (jn_test): Likewise.
17910 (lgamma_test): Likewise.
17911 (log_test): Likewise.
17912 (log10_test): Likewise.
17913 (log1p_test): Likewise.
17914 (log2_test): Likewise.
17915 (logb_test_downward): Likewise.
17916 (pow_test): Likewise.
17917 (pow_test_tonearest): Likewise.
17918 (pow_test_towardzero): Likewise.
17919 (pow_test_downward): Likewise.
17920 (pow_test_upward): Likewise.
17921 (remainder_test): Likewise.
17922 (remquo_test): Likewise.
17923 (sin_test): Likewise.
17924 (sin_test_tonearest): Likewise.
17925 (sin_test_towardzero): Likewise.
17926 (sin_test_downward): Likewise.
17927 (sin_test_upward): Likewise.
17928 (sincos_test): Likewise.
17929 (sinh_test): Likewise.
17930 (sinh_test_tonearest): Likewise.
17931 (sinh_test_towardzero): Likewise.
17932 (sinh_test_downward): Likewise.
17933 (sinh_test_upward): Likewise.
17934 (sqrt_test): Likewise.
17935 (tan_test): Likewise.
17936 (tan_test_tonearest): Likewise.
17937 (tan_test_towardzero): Likewise.
17938 (tan_test_downward): Likewise.
17939 (tan_test_upward): Likewise.
17940 (tanh_test): Likewise.
17941 (tgamma_test): Likewise.
17942 (y0_test): Likewise.
17943 (y1_test): Likewise.
17944 (yn_test): Likewise.
17946 * math/gen-libm-test.pl (adjust_arg): Remove function.
17947 (special_function): Remove argument $in_func. Only handle
17948 generating output for tables of tests, not inside functions.
17949 (parse_args): Likewise.
17950 (generate_testfile): Remove variable $in_func. Update call to
17952 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
17953 (MINUS_ZERO_INIT): Rename macro to minus_zero.
17954 (PLUS_INFTY_INIT): Rename macro to plus_infty.
17955 (MINUS_INFTY_INIT): Rename macro to minus_infty.
17956 (QNAN_VALUE_INIT): Rename macro to qnan_value.
17957 (MAX_VALUE_INIT): Rename macro to max_value.
17958 (MIN_VALUE_INIT): Rename macro to min_value.
17959 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
17960 (plus_zero): Remove variable.
17961 (minus_zero): Likewise.
17962 (plus_infty): Likewise.
17963 (minus_infty): Likewise.
17964 (qnan_value): Likewise.
17965 (max_value): Likewise.
17966 (min_value): Likewise.
17967 (min_subnorm_value): Likewise.
17969 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17971 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
17972 uint64_t or uint32_t usage.
17973 * crypt/sha256-block.c: Likewise.
17974 * crypt/sha256-crypt.c: Likewise.
17975 * crypt/sha256.c: Likewise.
17976 * crypt/sha512-block.c: Likewise.
17977 * crypt/sha512-crypt.c: Likewise.
17978 * crypt/sha512.c: Likewise.
17979 * debug/backtrace-tst.c: Likewise.
17980 * debug/pcprofiledump.c: Likewise.
17981 * elf/cache.c: Likewise.
17982 * elf/dl-cache.c: Likewise.
17983 * elf/dl-misc.c: Likewise.
17984 * elf/dl-profile.c: Likewise.
17985 * elf/dl-support.c: Likewise.
17986 * elf/ldconfig.c: Likewise.
17987 * elf/sprof.c: Likewise.
17988 * iconv/dummy-repertoire.c: Likewise.
17989 * iconv/iconv_charmap.c: Likewise.
17990 * iconv/skeleton.c: Likewise.
17991 * iconvdata/8bit-generic.c: Likewise.
17992 * iconvdata/cp737.h: Likewise.
17993 * iconvdata/cp775.h: Likewise.
17994 * iconvdata/ibm1008.h: Likewise.
17995 * iconvdata/ibm1025.h: Likewise.
17996 * iconvdata/ibm1046.h: Likewise.
17997 * iconvdata/ibm1097.h: Likewise.
17998 * iconvdata/ibm1112.h: Likewise.
17999 * iconvdata/ibm1122.h: Likewise.
18000 * iconvdata/ibm1123.h: Likewise.
18001 * iconvdata/ibm1124.h: Likewise.
18002 * iconvdata/ibm1129.h: Likewise.
18003 * iconvdata/ibm1130.h: Likewise.
18004 * iconvdata/ibm1132.h: Likewise.
18005 * iconvdata/ibm1133.h: Likewise.
18006 * iconvdata/ibm1137.h: Likewise.
18007 * iconvdata/ibm1140.h: Likewise.
18008 * iconvdata/ibm1141.h: Likewise.
18009 * iconvdata/ibm1142.h: Likewise.
18010 * iconvdata/ibm1143.h: Likewise.
18011 * iconvdata/ibm1144.h: Likewise.
18012 * iconvdata/ibm1145.h: Likewise.
18013 * iconvdata/ibm1146.h: Likewise.
18014 * iconvdata/ibm1147.h: Likewise.
18015 * iconvdata/ibm1148.h: Likewise.
18016 * iconvdata/ibm1149.h: Likewise.
18017 * iconvdata/ibm1153.h: Likewise.
18018 * iconvdata/ibm1154.h: Likewise.
18019 * iconvdata/ibm1155.h: Likewise.
18020 * iconvdata/ibm1156.h: Likewise.
18021 * iconvdata/ibm1157.h: Likewise.
18022 * iconvdata/ibm1158.h: Likewise.
18023 * iconvdata/ibm1160.h: Likewise.
18024 * iconvdata/ibm1161.h: Likewise.
18025 * iconvdata/ibm1162.h: Likewise.
18026 * iconvdata/ibm1163.h: Likewise.
18027 * iconvdata/ibm1164.h: Likewise.
18028 * iconvdata/ibm1166.h: Likewise.
18029 * iconvdata/ibm1167.h: Likewise.
18030 * iconvdata/ibm12712.h: Likewise.
18031 * iconvdata/ibm1390.h: Likewise.
18032 * iconvdata/ibm1399.h: Likewise.
18033 * iconvdata/ibm16804.h: Likewise.
18034 * iconvdata/ibm4517.h: Likewise.
18035 * iconvdata/ibm4899.h: Likewise.
18036 * iconvdata/ibm4909.h: Likewise.
18037 * iconvdata/ibm4971.h: Likewise.
18038 * iconvdata/ibm5347.h: Likewise.
18039 * iconvdata/ibm803.h: Likewise.
18040 * iconvdata/ibm856.h: Likewise.
18041 * iconvdata/ibm901.h: Likewise.
18042 * iconvdata/ibm902.h: Likewise.
18043 * iconvdata/ibm9030.h: Likewise.
18044 * iconvdata/ibm9066.h: Likewise.
18045 * iconvdata/ibm921.h: Likewise.
18046 * iconvdata/ibm922.h: Likewise.
18047 * iconvdata/ibm9448.h: Likewise.
18048 * iconvdata/isiri-3342.h: Likewise.
18049 * iconvdata/jis0201.h: Likewise.
18050 * include/link.h: Likewise.
18051 * include/netdb.h: Likewise.
18052 * inet/check_native.c: Likewise.
18053 * inet/check_pf.c: Likewise.
18054 * inet/getipv4sourcefilter.c: Likewise.
18055 * inet/getnameinfo.c: Likewise.
18056 * inet/getsourcefilter.c: Likewise.
18057 * inet/htonl.c: Likewise.
18058 * inet/setipv4sourcefilter.c: Likewise.
18059 * inet/setsourcefilter.c: Likewise.
18060 * inet/test-inet6_opt.c: Likewise.
18061 * inet/tst-network.c: Likewise.
18062 * locale/C-collate.c: Likewise.
18063 * locale/C-ctype.c: Likewise.
18064 * locale/C-time.c: Likewise.
18065 * locale/C-translit.h: Likewise.
18066 * locale/loadarchive.c: Likewise.
18067 * locale/programs/3level.h: Likewise.
18068 * locale/programs/charmap.c: Likewise.
18069 * locale/programs/charmap.h: Likewise.
18070 * locale/programs/ld-address.c: Likewise.
18071 * locale/programs/ld-collate.c: Likewise.
18072 * locale/programs/ld-ctype.c: Likewise.
18073 * locale/programs/ld-identification.c: Likewise.
18074 * locale/programs/ld-measurement.c: Likewise.
18075 * locale/programs/ld-messages.c: Likewise.
18076 * locale/programs/ld-monetary.c: Likewise.
18077 * locale/programs/ld-name.c: Likewise.
18078 * locale/programs/ld-numeric.c: Likewise.
18079 * locale/programs/ld-paper.c: Likewise.
18080 * locale/programs/ld-telephone.c: Likewise.
18081 * locale/programs/ld-time.c: Likewise.
18082 * locale/programs/linereader.c: Likewise.
18083 * locale/programs/locale.c: Likewise.
18084 * locale/programs/locarchive.c: Likewise.
18085 * locale/programs/locfile.h: Likewise.
18086 * locale/programs/repertoire.c: Likewise.
18087 * locale/programs/simple-hash.c: Likewise.
18088 * locale/programs/simple-hash.h: Likewise.
18089 * malloc/memusage.c: Likewise.
18090 * malloc/memusagestat.c: Likewise.
18091 * nis/nis_defaults.c: Likewise.
18092 * nis/nis_hash.c: Likewise.
18093 * nis/nis_print.c: Likewise.
18094 * nis/nis_xdr.c: Likewise.
18095 * nscd/connections.c: Likewise.
18096 * nscd/hstcache.c: Likewise.
18097 * nscd/nscd_gethst_r.c: Likewise.
18098 * nscd/nscd_getserv_r.c: Likewise.
18099 * nscd/nscd_helper.c: Likewise.
18100 * nscd/servicescache.c: Likewise.
18101 * nss/makedb.c: Likewise.
18102 * nss/nss_db/db-XXX.c: Likewise.
18103 * nss/nss_db/db-initgroups.c: Likewise.
18104 * nss/nss_db/db-netgrp.c: Likewise.
18105 * nss/nss_files/files-network.c: Likewise.
18106 * nss/nss_files/files-parse.c: Likewise.
18107 * posix/bug-regex5.c: Likewise.
18108 * posix/fnmatch_loop.c: Likewise.
18109 * posix/regcomp.c: Likewise.
18110 * posix/regexec.c: Likewise.
18111 * posix/tst-rfc3484-2.c: Likewise.
18112 * posix/tst-rfc3484-3.c: Likewise.
18113 * posix/tst-rfc3484.c: Likewise.
18114 * resolv/nss_dns/dns-canon.c: Likewise.
18115 * resolv/nss_dns/dns-network.c: Likewise.
18116 * resolv/res_init.c: Likewise.
18117 * resolv/res_mkquery.c: Likewise.
18118 * resolv/tst-aton.c: Likewise.
18119 * stdlib/cxa_atexit.c: Likewise.
18120 * stdlib/cxa_finalize.c: Likewise.
18121 * stdlib/gen-fpioconst.c: Likewise.
18122 * stdlib/strtol_l.c: Likewise.
18123 * string/tst-endian.c: Likewise.
18124 * sunrpc/auth_des.c: Likewise.
18125 * sunrpc/clnt_udp.c: Likewise.
18126 * sunrpc/rtime.c: Likewise.
18127 * sunrpc/svcauth_des.c: Likewise.
18128 * sunrpc/xdr.c: Likewise.
18129 * sunrpc/xdr_intXX_t.c: Likewise.
18130 * sunrpc/xdr_rec.c: Likewise.
18131 * sysdeps/generic/ldconfig.h: Likewise.
18132 * sysdeps/generic/ldsodefs.h: Likewise.
18133 * sysdeps/generic/memusage.h: Likewise.
18134 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18135 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
18136 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
18137 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18138 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18139 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18140 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18141 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18142 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18143 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18144 * sysdeps/posix/getaddrinfo.c: Likewise.
18145 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18146 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18147 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18148 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18149 * sysdeps/powerpc/test-gettimebase.c: Likewise.
18150 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18151 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
18152 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
18153 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18154 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
18155 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18156 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18157 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
18158 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
18159 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
18160 * sysdeps/x86_64/dl-tls.h: Likewise.
18161 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
18162 * time/alt_digit.c: Likewise.
18163 * time/era.c: Likewise.
18164 * wcsmbs/tst-c16c32-1.c: Likewise.
18166 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18168 * math/libm-test.inc (struct test_sincos_data): New type.
18169 (RUN_TEST_LOOP_sincos): New macro.
18170 (sincos_test_data): New variable.
18171 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
18173 2013-05-16 Richard Henderson <rth@redhat.com>
18175 * math/atest-exp2.c (LIMB64): New macro.
18176 (CONSTSZ): New macro.
18177 (mp_exp1, mp_exp_m1, mp_log2): New variables.
18179 (print_mpn_fp): ... to function scope.
18180 (read_mpn_hex): Remove.
18181 (get_log2): Remove.
18182 (exp2_mpn): Use mp_log2.
18183 (main): Use mp_exp1.
18185 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18187 * math/libm-test.inc: Remove comment about not testing "inexact"
18189 (INEXACT_EXCEPTION): New macro.
18190 (NO_INEXACT_EXCEPTION): Likewise.
18191 (INVALID_EXCEPTION_OK): Update value.
18192 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18193 (OVERFLOW_EXCEPTION_OK): Likewise.
18194 (UNDERFLOW_EXCEPTION_OK): Likewise.
18195 (IGNORE_ZERO_INF_SIGN): Likewise.
18196 (ERRNO_UNCHANGED): Likewise.
18197 (ERRNO_EDOM): Likewise.
18198 (ERRNO_ERANGE): Likewise.
18199 (test_exceptions): Handle testing "inexact" exceptions.
18200 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
18201 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
18202 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
18203 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
18205 (rint_towardzero_test_data): Likewise.
18206 (rint_downward_test_data): Likewise.
18207 (rint_upward_test_data): Likewise.
18209 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
18210 with OVERFLOW_EXCEPTION.
18211 (exp10_test_data): Likewise.
18212 (exp2_test_data): Likewise.
18213 (expm1_test_data): Likewise.
18214 (lgamma_test_data): Likewise.
18215 (pow_test_data): Likewise.
18216 (tgamma_test_data): Likewise.
18217 (yn_test_data): Remove duplicate test of overflow.
18219 * math/libm-test.inc (struct test_cc_c_data): New type.
18220 (RUN_TEST_LOOP_cc_c): New macro.
18221 (cpow_test_data): New variable.
18222 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
18224 * math/libm-test.inc (struct test_f_L_data): New type.
18225 (RUN_TEST_LOOP_f_L): New macro.
18226 (llrint_test_data): New variable.
18227 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
18228 (llrint_tonearest_test_data): New variable.
18229 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
18230 (llrint_towardzero_test_data): New variable.
18231 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
18232 (llrint_downward_test_data): New variable.
18233 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
18234 (llrint_upward_test_data): New variable.
18235 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
18236 (llround_test_data): New variable.
18237 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
18239 2013-05-13 Peter Collingbourne <pcc@google.com>
18241 * math/atest-exp2.c (get_log2): Remove const attribute.
18243 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18245 * math/libm-test.inc (struct test_f_l_data): New type.
18246 (RUN_TEST_LOOP_f_l): New macro.
18247 (lrint_test_data): New variable.
18248 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
18249 (lrint_tonearest_test_data): New variable.
18250 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
18251 (lrint_towardzero_test_data): New variable.
18252 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
18253 (lrint_downward_test_data): New variable.
18254 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
18255 (lrint_upward_test_data): New variable.
18256 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
18257 (lround_test_data): New variable.
18258 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
18260 2013-05-15 Peter Collingbourne <pcc@google.com>
18262 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
18263 (EXTRACT_WORDS64) Use where appropriate.
18264 (INSERT_WORDS64) Likewise.
18266 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
18267 constraints with x constraints.
18268 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
18270 * malloc/obstack.c (_obstack_compat): Add initializer.
18272 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
18274 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
18275 si_trapno and add si_addr_lsb to _sifields.sigfault.
18276 (si_trapno): Remove macro.
18277 (si_addr_lsb): Define new macro.
18278 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18280 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18282 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
18283 instead of TEST_f_l.
18284 (llrint_test_tonearest): Likewise.
18285 (llrint_test_towardzero): Likewise.
18286 (llrint_test_downward): Likewise.
18287 (llrint_test_upward): Likewise.
18288 (llround_test): Likewise.
18290 * math/libm-test.inc (struct test_f_i_data): Add comment.
18291 (RUN_TEST_LOOP_f_b): New macro.
18292 (RUN_TEST_LOOP_f_b_tg): Likewise.
18293 (finite_test_data): New variable.
18294 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
18295 (isfinite_test_data): New variable.
18296 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18297 (isinf_test_data): New variable.
18298 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18299 (isnan_test_data): New variable.
18300 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18301 (isnormal_test_data): New variable.
18302 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18303 (issignaling_test_data): New variable.
18304 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18305 (signbit_test_data): New variable.
18306 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18308 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
18309 with INVALID_EXCEPTION.
18310 (acosh_test_data): Likewise.
18311 (asin_test_data): Likewise.
18312 (atanh_test_data): Likewise.
18313 (fmod_test_data): Likewise.
18314 (log_test_data): Likewise.
18315 (log10_test_data): Likewise.
18316 (log2_test_data): Likewise.
18317 (pow_test_data): Likewise.
18318 (sqrt_test_data): Likewise.
18319 (y0_test_data): Likewise.
18320 (y1_test_data): Likewise.
18321 (yn_test_data): Likewise.
18323 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
18326 * math/libm-test.inc (struct test_ff_i_data): New type.
18327 (RUN_TEST_LOOP_ff_i_tg): New macro.
18328 (isgreater_test_data): New variable.
18329 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18330 (isgreaterequal_test_data): New variable.
18331 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18332 (isless_test_data): New variable.
18333 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18334 (islessequal_test_data): New variable.
18335 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18336 (islessgreater_test_data): New variable.
18337 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18338 (isunordered_test_data): New variable.
18339 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18341 2013-05-14 David S. Miller <davem@davemloft.net>
18343 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18345 2013-05-14 Joseph Myers <joseph@codesourcery.com>
18347 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
18349 * math/libm-test.inc (struct test_fF_f1_data): Change type of
18351 (struct test_f_i_data): Change type of max_ulp to int.
18353 * math/libm-test.inc (test_ffI_f1_data): New type.
18354 (RUN_TEST_LOOP_ffI_f1): New macro.
18355 (remquo_test_data): New variable.
18356 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
18358 * setjmp/tst-setjmp-fp.c: New file.
18359 * setjmp/Makefile (tests): Add tst-setjmp-fp.
18360 (link-libm): New variable.
18361 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
18363 * math/libm-test.inc (struct test_f_i_data): New type.
18364 (RUN_TEST_LOOP_f_i): New macro.
18365 (RUN_TEST_LOOP_f_i_tg): Likewise.
18366 (fpclassify_test_data): New variable.
18367 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
18368 (ilogb_test_data): New variable.
18369 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
18371 * math/libm-test.inc (scalbln_test): Correct function name in END
18374 * math/libm-test.inc (struct test_f_f1_data): Add comment.
18375 (RUN_TEST_LOOP_fI_f1): New macro.
18376 (frexp_test_data): New variable.
18377 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
18379 * math/libm-test.inc (struct test_fF_f1_data): New type.
18380 (RUN_TEST_LOOP_fF_f1): New macro.
18381 (modf_test_data): New variable.
18382 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
18384 * math/libm-test.inc (struct test_f_f1_data): New type.
18385 (RUN_TEST_LOOP_f_f1): New macro.
18386 (gamma_test_data): New variable.
18387 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18388 (lgamma_test_data): New variable.
18389 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18391 2013-05-13 Carlos O'Donell <carlos@redhat.com>
18393 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
18394 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
18395 (main): Comment "tls" pseudo-hwcap.
18397 2013-05-13 Joseph Myers <joseph@codesourcery.com>
18399 * math/libm-test.inc (struct test_fl_f_data): New type.
18400 (RUN_TEST_LOOP_fl_f): New variable.
18401 (scalbln_test_data): New variable.
18402 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
18404 * math/libm-test.inc (struct test_fi_f_data): New type.
18405 (RUN_TEST_LOOP_fi_f): New macro.
18406 (ldexp_test_data): New variable.
18407 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
18408 (scalbn_test_data): New variable.
18409 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
18411 * math/libm-test.inc (struct test_c_f_data): New type.
18412 (RUN_TEST_LOOP_c_f): New macro.
18413 (cabs_test_data): New variable.
18414 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
18415 (carg_test_data): New variable.
18416 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
18417 (cimag_test_data): New variable.
18418 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
18419 (creal_test_data): New variable.
18420 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
18422 * math/libm-test.inc (struct test_if_f_data): New type.
18423 (RUN_TEST_LOOP_if_f): New macro.
18424 (jn_test_data): New variable.
18425 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
18426 (yn_test_data): New variable.
18427 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
18429 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
18431 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18433 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
18434 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
18436 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18438 * benchtests/Makefile (CPPFLAGS-nonlib): Add
18439 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
18440 (bench-deps): Add bench-timing.h.
18441 * benchtests-bench-skeleton.c: Include bench-timing.h.
18442 (main): Use TIMING_* macros instead of clock_gettime.
18443 * benchtests/bench-timing.h: New file.
18446 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
18447 Renamed from _LIB_VERSION.
18448 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
18450 2013-05-12 Joseph Myers <joseph@codesourcery.com>
18452 * math/libm-test.inc (struct test_fff_f_data): New type.
18453 (RUN_TEST_LOOP_fff_f): New macro.
18454 (fma_test_data): New variable.
18455 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
18456 (fma_towardzero_test_data): New variable.
18457 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
18458 (fma_downward_test_data): New variable.
18459 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
18460 (fma_upward_test_data): New variable.
18461 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
18463 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
18464 (struct test_c_c_data): New type.
18465 (RUN_TEST_LOOP_c_c): New macro.
18466 (cacos_test_data): New variable.
18467 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
18468 (cacosh_test_data): New variable.
18469 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
18470 (casin_test_data): New variable.
18471 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
18472 (casinh_test_data): New variable.
18473 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
18474 (catan_test_data): New variable.
18475 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
18476 (catanh_test_data): New variable.
18477 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
18478 (ccos_test_data): New variable.
18479 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
18480 (ccosh_test_data): New variable.
18481 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
18482 (cexp_test_data): New variable.
18483 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
18484 (clog_test_data): New variable.
18485 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
18486 (clog10_test_data): New variable.
18487 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
18488 (conj_test_data): New variable.
18489 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
18490 (cproj_test_data): New variable.
18491 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
18492 (csin_test_data): New variable.
18493 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
18494 (csinh_test_data): New variable.
18495 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
18496 (csqrt_test_data): New variable.
18497 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
18498 (ctan_test_data): New variable.
18499 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
18500 (ctan_tonearest_test_data): New variable.
18501 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18502 (ctan_towardzero_test_data): New variable.
18503 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18504 (ctan_downward_test_data): New variable.
18505 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18506 (ctan_upward_test_data): New variable.
18507 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18508 (ctanh_test_data): New variable.
18509 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
18510 (ctanh_tonearest_test_data): New variable.
18511 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18512 (ctanh_towardzero_test_data): New variable.
18513 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18514 (ctanh_downward_test_data): New variable.
18515 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18516 (ctanh_upward_test_data): New variable.
18517 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18518 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
18521 * math/libm-test.inc (struct test_ff_f_data): New type.
18522 (struct test_ff_f_data_nexttoward): Likewise.
18523 (RUN_TEST_LOOP_2_f): New macro.
18524 (RUN_TEST_LOOP_ff_f): Likewise.
18525 (atan2_test_data): New variable.
18526 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
18527 (copysign_test_data): New variable.
18528 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
18529 (fdim_test_data): New variable.
18530 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
18531 (fmax_test_data): New variable.
18532 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
18533 (fmin_test_data): New variable.
18534 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
18535 (fmod_test_data): New variable.
18536 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
18537 (hypot_test_data): New variable.
18538 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
18539 (nextafter_test_data): New variable.
18540 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
18541 (nexttoward_test_data): New variable.
18542 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
18543 (pow_test_data): New variable.
18544 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
18545 (pow_tonearest_test_data): New variable.
18546 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
18547 (pow_towardzero_test_data): New variable.
18548 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
18549 (pow_downward_test_data): New variable.
18550 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
18551 (pow_upward_test_data): New variable.
18552 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
18553 (remainder_test_data): New variable.
18554 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
18555 (scalb_test_data): New variable.
18556 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
18557 * sysdeps/i386/fpu/libm-test-ulps: Update.
18559 2013-05-11 Joseph Myers <joseph@codesourcery.com>
18561 * math/libm-test.inc (fma_test): Use max_value instead of local
18563 (nextafter_test): Likewise.
18565 * math/libm-test.inc (acos_towardzero_test_data): New variable.
18566 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18567 (acos_downward_test_data): New variable.
18568 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18569 (acos_upward_test_data): New variable.
18570 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18571 (acosh_test_data): New variable.
18572 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
18573 (asin_test_data): New variable.
18574 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
18575 (asin_tonearest_test_data): New variable.
18576 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18577 (asin_towardzero_test_data): New variable.
18578 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18579 (asin_downward_test_data): New variable.
18580 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18581 (asin_upward_test_data): New variable.
18582 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18583 (asinh_test_data): New variable.
18584 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
18585 (atan_test_data): New variable.
18586 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
18587 (atanh_test_data): New variable.
18588 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
18589 (cbrt_test_data): New variable.
18590 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
18591 (ceil_test_data): New variable.
18592 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
18593 (cos_test_data): New variable.
18594 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
18595 (cos_tonearest_test_data): New variable.
18596 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18597 (cos_towardzero_test_data): New variable.
18598 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18599 (cos_downward_test_data): New variable.
18600 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18601 (cos_upward_test_data): New variable.
18602 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18603 (cosh_test_data): New variable.
18604 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
18605 (cosh_tonearest_test_data): New variable.
18606 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18607 (cosh_towardzero_test_data): New variable.
18608 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18609 (cosh_downward_test_data): New variable.
18610 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18611 (cosh_upward_test_data): New variable.
18612 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18613 (erf_test_data): New variable.
18614 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
18615 (erfc_test_data): New variable.
18616 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
18617 (exp_test_data): New variable.
18618 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
18619 (exp_tonearest_test_data): New variable.
18620 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18621 (exp_towardzero_test_data): New variable.
18622 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18623 (exp_downward_test_data): New variable.
18624 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18625 (exp_upward_test_data): New variable.
18626 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18627 (exp10_test_data): New variable.
18628 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
18629 (exp2_test_data): New variable.
18630 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
18631 (expm1_test_data): New variable.
18632 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
18633 (fabs_test_data): New variable.
18634 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
18635 (floor_test_data): New variable.
18636 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
18637 (j0_test_data): New variable.
18638 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
18639 (j1_test_data): New variable.
18640 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
18641 (log_test_data): New variable.
18642 (log_test): Run tests with RUN_TEST_LOOP_f_f.
18643 (log10_test_data): New variable.
18644 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
18645 (log1p_test_data): New variable.
18646 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
18647 (log2_test_data): New variable.
18648 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
18649 (logb_test_data): New variable.
18650 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
18651 (logb_downward_test_data): New variable.
18652 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18653 (nearbyint_test_data): New variable.
18654 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
18655 (rint_test_data): New variable.
18656 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
18657 (rint_tonearest_test_data): New variable.
18658 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18659 (rint_towardzero_test_data): New variable.
18660 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18661 (rint_downward_test_data): New variable.
18662 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18663 (rint_upward_test_data): New variable.
18664 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18665 (round_test_data): New variable.
18666 (round_test): Run tests with RUN_TEST_LOOP_f_f.
18667 (sin_test_data): New variable.
18668 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
18669 (sin_tonearest_test_data): New variable.
18670 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18671 (sin_towardzero_test_data): New variable.
18672 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18673 (sin_downward_test_data): New variable.
18674 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18675 (sin_upward_test_data): New variable.
18676 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18677 (sinh_test_data): New variable.
18678 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
18679 (sinh_tonearest_test_data): New variable.
18680 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18681 (sinh_towardzero_test_data): New variable.
18682 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18683 (sinh_downward_test_data): New variable.
18684 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18685 (sinh_upward_test_data): New variable.
18686 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18687 (sqrt_test_data): New variable.
18688 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
18689 (tan_test_data): New variable.
18690 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
18691 (tan_tonearest_test_data): New variable.
18692 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18693 (tan_towardzero_test_data): New variable.
18694 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18695 (tan_downward_test_data): New variable.
18696 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18697 (tan_upward_test_data): New variable.
18698 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18699 (tanh_test_data): New variable.
18700 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
18701 (tgamma_test_data): New variable.
18702 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
18703 (trunc_test_data): New variable.
18704 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
18705 (y0_test_data): New variable.
18706 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
18707 (y1_test_data): New variable.
18708 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
18709 (significand_test_data): New variable.
18710 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
18712 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
18715 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
18717 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
18719 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
18721 2013-05-10 Andreas Jaeger <aj@suse.de>
18724 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
18725 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
18727 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18729 * math/gen-libm-test.pl (adjust_arg): New function.
18730 (special_functions): Handle generating output in both functions
18732 (parse_args): Likewise.
18733 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
18734 $in_func argument to parse_args.
18735 * math/libm-test.inc (struct test_f_f_data): New type.
18736 (IF_ROUND_INIT_): New macro.
18737 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
18738 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18739 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18740 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18741 (ROUND_RESTORE_): Likewise.
18742 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
18743 (ROUND_RESTORE_FE_TONEAREST): Likewise.
18744 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
18745 (ROUND_RESTORE_FE_UPWARD): Likewise.
18746 (RUN_TEST_LOOP_f_f): New macro.
18747 (acos_test_data): New variable.
18748 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
18749 (acos_tonearest_test_data): New variable.
18750 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18752 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18754 * benchtests/bench-skeleton.c (startup): Fix coding style.
18756 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18759 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
18760 negative infinity argument.
18761 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
18762 negative infinity argument.
18763 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
18764 negative infinity argument.
18765 * math/libm-test.inc (tgamma_test): Expect errno to be set for
18768 2013-05-10 Florian Weimer <fweimer@redhat.com>
18770 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
18771 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
18772 * iconv/iconv_prog.c (main): Likewise.
18773 * locale/programs/charmap-dir.c (charmap_readdir)
18774 (fopen_uncompressed): Likewise.
18775 * locale/programs/locfile.c (siblings_uncached)
18776 (write_locale_data): Use lstat64 instead of lstat.
18777 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
18780 2013-05-10 Andreas Jaeger <aj@suse.de>
18783 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
18785 Include <locale.h>.
18787 2013-05-09 Carlos O'Donell <carlos@redhat.com>
18789 * elf/dl-close.c (_dl_close_worker): Add comments.
18791 2013-05-09 Joseph Myers <joseph@codesourcery.com>
18794 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
18796 (__ieee754_rem_pio2l): Update comments.
18799 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
18801 (__ieee754_rem_pio2l): Update comments.
18803 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
18804 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
18806 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
18809 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
18810 (M_PI_34_LOG10El): Likewise.
18811 (M_PI2_LOG10El): Likewise.
18812 (M_PI4_LOG10El): Likewise.
18813 (M_PI_LOG10El): Likewise.
18815 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18817 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18819 2013-05-08 Joseph Myers <joseph@codesourcery.com>
18821 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
18822 (MINUS_ZERO_INIT): Likewise.
18823 (PLUS_INFTY_INIT): Likewise.
18824 (MINUS_INFTY_INIT): Likewise.
18825 (QNAN_VALUE_INIT): Likewise.
18826 (MAX_VALUE_INIT): Likewise.
18827 (MIN_VALUE_INIT): Likewise.
18828 (MIN_SUBNORM_VALUE_INIT): Likewise.
18829 (plus_zero): Initialize with PLUS_ZERO_INIT.
18830 (minus_zero): Initialize with MINUS_ZERO_INIT.
18831 (plus_infty): Initialize with PLUS_INFTY_INIT.
18832 (minus_infty): Initialize with MINUS_INFTY_INIT.
18833 (qnan_value): Initialize with QNAN_VALUE_INIT.
18834 (max_value): Initialize with MAX_VALUE_INIT.
18835 (min_value): Initialize with MIN_VALUE_INIT.
18836 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
18838 * math/libm-test.inc (RUN_TEST_if_f): New macro.
18839 (jn_test): Use TEST_if_f instead of TEST_ff_f.
18840 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
18841 (yn_test): Use TEST_if_f instead of TEST_ff_f.
18843 * math/libm-test.inc (RUN_TEST_f_f): New macro.
18844 (RUN_TEST_2_f): Likewise.
18845 (RUN_TEST_ff_f): Likewise.
18846 (RUN_TEST_fi_f): Likewise.
18847 (RUN_TEST_fl_f): Likewise.
18848 (RUN_TEST_fff_f): Likewise.
18849 (RUN_TEST_c_f): Likewise.
18850 (RUN_TEST_f_f1): Likewise.
18851 (RUN_TEST_fF_f1): Likewise.
18852 (RUN_TEST_fI_f1): Likewise.
18853 (RUN_TEST_ffI_f1): Likewise.
18854 (RUN_TEST_c_c): Likewise.
18855 (RUN_TEST_cc_c): Likewise.
18856 (RUN_TEST_f_i): Likewise.
18857 (RUN_TEST_f_i_tg): Likewise.
18858 (RUN_TEST_ff_i_tg): Likewise.
18859 (RUN_TEST_f_b): Likewise.
18860 (RUN_TEST_f_b_tg): Likewise.
18861 (RUN_TEST_f_l): Likewise.
18862 (RUN_TEST_f_L): Likewise.
18863 (RUN_TEST_sincos): Likewise.
18864 * math/gen-libm-test.pl (new_test): Take new argument to indicate
18865 whether to show exceptions. Do not include ");\n" in return
18867 (special_functions): Output call to RUN_TEST_sincos instead of
18868 check_float calls. Update calls to new_test.
18869 (parse_args): Output call to single RUN_TEST_* macro instead of
18870 check_* calls and other assignments. Update calls to new_test.
18876 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
18877 input to result for tgamma overflow.
18878 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
18879 (gamma_coeff): New variable.
18880 (NCOEFF): New macro.
18881 (gamma_positive): New function.
18882 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
18883 underflow here. Use gamma_positive instead of exp (lgamma) for
18885 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
18886 (gamma_coeff): New variable.
18887 (NCOEFF): New macro.
18888 (gammaf_positive): New function.
18889 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
18890 underflow here. Use gamma_positive instead of exp (lgamma) for
18892 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
18893 (gamma_coeff): New variable.
18894 (NCOEFF): New macro.
18895 (gammal_positive): New function.
18896 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
18897 underflow here. Use gamma_positive instead of exp (lgamma) for
18899 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
18900 (gamma_coeff): New variable.
18901 (NCOEFF): New macro.
18902 (gammal_positive): New function.
18903 (__ieee754_gammal_r): Handle positive infinity, overflow and
18904 underflow here. Handle NaN the same as positive infinity. Remove
18905 check x < 0xffffffff for negative integers. Use gamma_positive
18906 instead of exp (lgamma) for other arguments.
18907 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
18908 (gamma_coeff): New variable.
18909 (NCOEFF): New macro.
18910 (gammal_positive): New function.
18911 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
18912 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18913 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
18914 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
18915 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18916 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
18917 * sysdeps/generic/math_private.h (__gamma_productf): New
18919 (__gamma_product): Likewise.
18920 (__gamma_productl): Likewise.
18921 * math/Makefile (libm-calls): Add gamma_product.
18922 * math/libm-test.inc (tgamma_test): Add more tests.
18923 * sysdeps/i386/fpu/libm-test-ulps: Update.
18924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18926 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
18928 * benchtests/bench-skeleton.c (main): Preheat CPU.
18930 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
18932 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
18934 2013-05-07 Roland McGrath <roland@hack.frob.com>
18936 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
18937 and _dl_skip_args_internal.
18939 2013-05-07 Carlos O'Donell <carlos@redhat.com>
18941 * manual/message.texi (Message Translation): Talk about users.
18942 Message to key mapping impacts design.
18944 2013-05-06 Roland McGrath <roland@hack.frob.com>
18946 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
18948 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
18950 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
18951 * sysdeps/wordsize-64/glob64.c: ... here.
18953 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
18954 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
18957 * debug/getlogin_r_chk.c: Moved to ...
18958 * login/getlogin_r_chk.c: ... here.
18959 * debug/Makefile (routines): Move getlogin_r_chk to ...
18960 * login/Makefile (routines): ... here.
18961 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
18962 * login/Versions (libc: GLIBC_2.4): ... here.
18964 * io/poll.c (__poll): Renamed from poll.
18965 Add libc_hidden_def.
18966 (poll): Define as weak alias.
18968 * debug/ptsname_r_chk.c: Moved to ...
18969 * login/ptsname_r_chk.c: ... here.
18970 * debug/Makefile (routines): Move ptsname_r_chk to ...
18971 * login/Makefile (routines): ... here.
18972 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
18973 * login/Versions (libc: GLIBC_2.4): ... here.
18975 * posix/getlogin.c: Moved to ...
18976 * login/getlogin.c: ... here.
18977 * posix/getlogin_r.c: Moved to ...
18978 * login/getlogin_r.c: ... here.
18979 * posix/getlogin_r.c: Moved to ...
18980 * login/getlogin_r.c: ... here.
18981 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
18982 * login/Makefile (routines): ... here.
18983 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
18984 * login/Versions (libc: GLIBC_2.0): ... here.
18986 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
18987 (setrlimit): Define as weak alias.
18989 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
18990 Call __ names for open, ftruncate, and close.
18991 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
18992 (truncate): Define as weak alias.
18994 2013-05-06 Joseph Myers <joseph@codesourcery.com>
18996 * math/gen-libm-test.pl (parse_args): Initialize x before each
18997 test of frexp, modf and remquo.
18999 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
19000 test signgam value.
19002 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19006 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
19008 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19010 2013-05-06 Roland McGrath <roland@hack.frob.com>
19012 * elf/dl-writev.h: New file.
19013 * elf/dl-misc.c: Include it.
19014 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
19015 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
19017 2013-05-04 Joseph Myers <joseph@codesourcery.com>
19019 * math/libm-test.inc (noXFails): Remove variable.
19020 (noXPasses): Likewise.
19021 (BUILD_COMPLEX_INT): Remove macro.
19022 (print_screen): Remove xfail argument.
19023 (print_screen_max_error): Likewise.
19024 (update_stats): Likewise.
19025 (print_max_error): Likewise. Update calls to other affected
19027 (print_complex_max_error): Likewise.
19028 (test_single_exception): Update calls to print_screen.
19029 (test_single_errno): Likewise.
19030 (check_float_internal): Remove xfail argument. Update calls to
19031 other affected functions.
19032 (check_float): Likewise.
19033 (check_complex): Likewise.
19034 (check_int): Likewise.
19035 (check_long): Likewise.
19036 (check_bool): Likewise.
19037 (check_longlong): Likewise.
19038 (main): Don't print noXFails and noXPasses.
19039 * math/gen-libm-test.pl (top level): Don't mention expected
19040 failure handling in comment.
19041 (new_test): Don't handle expected failures.
19042 (parse_args): Don't mention expected failure handling in comment.
19043 (generate_testfile): Don't handle expected failures.
19044 (parse_ulps): Likewise.
19045 (print_ulps_file): Likewise.
19046 (get_failure): Remove function.
19047 (output_test): Don't handle expected failures.
19048 * make/README.libm-test: Don't mention expected failure handling.
19050 * math/libm-test.inc (plus_zero): Make const. Add initializer.
19051 (minus_zero): Likewise.
19052 (plus_infty): Likewise.
19053 (minus_infty): Likewise.
19054 (qnan_value): Likewise.
19055 (max_value): Likewise.
19056 (min_value): Likewise.
19057 (min_subnorm_value): Likewise.
19058 (initialize): Do not initialize those variables dynamically.
19060 2013-05-03 Roland McGrath <roland@hack.frob.com>
19062 * io/open.c (__open_2): Moved to ...
19063 * io/open_2.c: ... this new file.
19064 * io/open64.c (__open64_2): Moved to ...
19065 * io/open64_2.c: ... this new file.
19066 * io/openat.c (__openat_2): Moved to ...
19067 * io/openat_2.c: ... this new file.
19068 * io/openat64.c (__openat64_2): Moved to ...
19069 * io/openat64_2.c: ... this new file.
19070 * io/Makefile (routines): Add them.
19071 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
19072 * sysdeps/unix/sysv/linux/open_2.c: File removed.
19073 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
19074 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
19075 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
19076 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
19077 (__openat64): Add hidden_ver.
19078 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
19079 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
19081 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
19082 Separately conditionalize setting of GLRO(dl_sysinfo) so
19083 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
19084 as well, but the actual setting is only under [NEED_DL_SYSINFO].
19086 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19088 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
19089 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
19091 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
19092 * sysdeps/unix/sysv/linux/powerpc/init-first.c
19093 (_libc_vdso_platform_setup): Add __vdso_time initialization.
19094 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
19095 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
19097 2013-05-03 Joseph Myers <joseph@codesourcery.com>
19099 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
19100 test signgam value.
19102 * math/libm-test.inc (hypot_test): Do not use
19103 IGNORE_ZERO_INF_SIGN.
19105 2013-05-03 Andreas Jaeger <aj@suse.de>
19107 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
19109 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
19110 (PF_MAX): Adjust for VSOCK change.
19112 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19114 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19116 2013-05-02 Carlos O'Donell <carlos@redhat.com>
19119 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
19120 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
19121 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
19123 2013-05-02 David S. Miller <davem@davemloft.net>
19125 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19127 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
19129 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
19131 2013-05-01 Roland McGrath <roland@hack.frob.com>
19133 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
19135 2013-05-01 Richard Smith <richard@metafoo.co.uk>
19138 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
19139 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19140 Use __attribute__ ((__gnu_inline__)).
19141 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19142 Don't use __attribute__ ((__gnu_inline__)).
19144 2013-05-01 Joseph Myers <joseph@codesourcery.com>
19147 * math/s_catan.c (__catan): Handle small real or imaginary part of
19148 input specially to avoid spurious underflow.
19149 * math/s_catanf.c (__catanf): Likewise.
19150 * math/s_catanh.c (__catanh): Likewise.
19151 * math/s_catanhf.c (__catanhf): Likewise.
19152 * math/s_catanhl.c (__catanhl): Likewise.
19153 * math/s_catanl.c (__catanl): Likewise.
19154 * math/libm-test.inc (catan_test): Add more tests.
19155 (catanh_test): Likewise.
19156 * sysdeps/i386/fpu/libm-test-ulps: Update.
19157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19159 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19161 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19163 2013-04-30 Joseph Myers <joseph@codesourcery.com>
19166 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
19167 accurately for denominator in atan2.
19168 * math/s_catanf.c (__catanf): Likewise.
19169 * math/s_catanh.c (__catanh): Likewise.
19170 * math/s_catanhf.c (__catanhf): Likewise.
19171 * math/s_catanhl.c (__catanhl): Likewise.
19172 * math/s_catanl.c (__catanl): Likewise.
19173 * math/libm-test.inc (catan_test): Add more tests.
19174 (catanh_test): Likewise.
19175 * sysdeps/i386/fpu/libm-test-ulps: Update.
19176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19178 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19180 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
19182 * benchtests/Makefile (bench): Remove slow benchmarks.
19183 * benchtests/atan-inputs: Add slow benchmark inputs.
19184 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
19185 (BENCH_FUNC): Accept variant offset.
19187 * benchtests/bench-skeleton.c (main): Run benchmark for each
19189 * benchtests/cos-inputs: Add slow benchmark inputs.
19190 * benchtests/exp-inputs: Likewise.
19191 * benchtests/pow-inputs: Likewise.
19192 * benchtests/sin-inputs: Likewise.
19193 * benchtests/slowatan-inputs: Remove.
19194 * benchtests/slowatan.c: Remove.
19195 * benchtests/slowcos-inputs: Remove.
19196 * benchtests/slowcos.c: Remove.
19197 * benchtests/slowexp-inputs: Remove.
19198 * benchtests/slowexp.c: Remove.
19199 * benchtests/slowpow-inputs: Remove.
19200 * benchtests/slowpow.c: Remove.
19201 * benchtests/slowsin-inputs: Remove.
19202 * benchtests/slowsin.c: Remove.
19203 * benchtests/slowtan-inputs: Remove.
19204 * benchtests/slowtan.c: Remove.
19205 * benchtests/tan-inputs: Add slow benchmark inputs.
19206 * scripts/bench.pl: Parse comments and directives.
19208 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
19210 ($(objpfx)bench-%.c): Remove *-ITER.
19211 * benchtests/bench-modf.c: Remove definition of ITER.
19212 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
19213 (main): Loop for DURATION seconds instead of fixed number of
19215 * scripts/bench.pl: Don't expect iterations in parameters.
19217 2013-04-29 Roland McGrath <roland@hack.frob.com>
19219 * io/fchdir.c (__fchdir): Renamed from fchdir.
19220 (fchdir): Define as weak alias.
19222 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19224 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
19225 (ERRNO_EDOM): Likewise.
19226 (ERRNO_ERANGE): Likewise.
19227 (noErrnoTests): New variable.
19228 (init_max_error): Set errno to 0.
19229 (test_single_errno): New function.
19230 (test_errno): Likewise.
19231 (check_float_internal): Call test_errno. Set errno to 0.
19232 (check_complex): Refer to errno tests in comment.
19233 (check_int): Call test_errno. Set errno to 0.
19234 (check_long): Likewise.
19235 (check_bool): Likewise.
19236 (check_longlong): Likewise.
19237 (cos_test): Use ERRNO_* flags for errno tests instead of
19239 (expm1_test): Likewise.
19240 (fmod_test): Likewise.
19241 (ilogb_test): Likewise.
19242 (lgamma_test): Likewise.
19243 (pow_test): Likewise.
19244 (remainder_test): Likewise.
19245 (sin_test): Likewise.
19246 (tan_test): Likewise.
19247 (yn_test): Likewise.
19248 (initialize): Set errno to 0.
19249 (main): Print number of errno tests.
19250 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
19252 2013-04-29 Andreas Jaeger <aj@suse.de>
19255 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
19259 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
19260 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
19264 * stdlib/random.c (__initstate): Return NULL if
19268 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
19269 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
19272 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19274 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19276 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19278 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
19279 of individual tests.
19280 (casin_test): Likewise.
19281 (casinh_test): Likewise.
19283 2013-04-27 Joseph Myers <joseph@codesourcery.com>
19286 * math/s_catan.c (__catan): Handle arguments with large real or
19287 imaginary part separately without squaring.
19288 * math/s_catanf.c (__catanf): Likewise.
19289 * math/s_catanh.c (__catanh): Likewise.
19290 * math/s_catanhf.c (__catanhf): Likewise.
19291 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19293 (__catanhl): Handle arguments with large real or imaginary part
19294 separately without squaring.
19295 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19297 (__catanl): Handle arguments with large real or imaginary part
19298 separately without squaring.
19299 * math/libm-test.inc (catan_test): Add more tests.
19300 (catanh_test): Likewise.
19301 * sysdeps/i386/fpu/libm-test-ulps: Update.
19302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19304 2013-04-27 Andreas Jaeger <aj@suse.de>
19307 * stdlib/stdlib.h: Update guards for qecvt.
19308 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
19311 2013-04-27 Allan McRae <allan@archlinux.org>
19313 * sysdeps/i386/fpu/libm-test-ulps: Update.
19315 2013-04-26 Joseph Myers <joseph@codesourcery.com>
19318 * math/s_catan.c: Include <float.h>.
19319 (__catan): Ensure underflow exception occurs for underflowed
19321 * math/s_catanf.c: Include <float.h>.
19322 (__catanf): Ensure underflow exception occurs for underflowed
19324 * math/s_catanh.c: Include <float.h>.
19325 (__catanh): Ensure underflow exception occurs for underflowed
19327 * math/s_catanhf.c: Include <float.h>.
19328 (__catanhf): Ensure underflow exception occurs for underflowed
19330 * math/s_catanhl.c: Include <float.h>.
19331 (__catanhl): Ensure underflow exception occurs for underflowed
19333 * math/s_catanl.c: Include <float.h>.
19334 (__catanl): Ensure underflow exception occurs for underflowed
19336 * math/libm-test.inc (catan_test): Add more tests.
19337 (catanh_test): Likewise.
19340 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
19341 underflowed result.
19342 * math/s_ccoshf.c (__ccoshf): Likewise.
19343 * math/s_ccoshl.c (__ccoshl): Likewise.
19344 * math/s_csin.c (__csin): Likewise.
19345 * math/s_csinf.c (__csinf): Likewise.
19346 * math/s_csinh.c (__csinh): Likewise.
19347 * math/s_csinhf.c (__csinhf): Likewise.
19348 * math/s_csinhl.c (__csinhl): Likewise.
19349 * math/s_csinl.c (__csinl): Likewise.
19350 * math/libm-test.inc (ccos_test): Add more tests.
19351 (ccosh_test): Likewise.
19352 (csin_test): Likewise.
19353 (csinh_test): Likewise.
19355 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19357 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
19358 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
19359 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
19360 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
19361 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
19362 powerpc/power5+/fpu folders.
19363 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
19366 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19368 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19370 2013-04-25 Joseph Myers <joseph@codesourcery.com>
19372 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
19373 additions to variable.
19374 [$(config-machine) = x86_64] (modules-names): Likewise.
19375 ($(objpfx)tst-audit3): Remove dependency.
19376 ($(objpfx)tst-audit3.out): Likewise.
19377 ($(objpfx)tst-audit4): Likewise.
19378 ($(objpfx)tst-audit4.out): Likewise.
19379 ($(objpfx)tst-audit5): Likewise.
19380 ($(objpfx)tst-audit5.out): Likewise.
19381 ($(objpfx)tst-audit6): Likewise.
19382 ($(objpfx)tst-audit6.out): Likewise.
19383 ($(objpfx)tst-audit7): Likewise.
19384 ($(objpfx)tst-audit7.out): Likewise.
19385 (tst-audit3-ENV): Remove variable.
19386 (tst-audit4-ENV): Likewise.
19387 (tst-audit5-ENV): Likewise.
19388 (tst-audit6-ENV): Likewise.
19389 (tst-audit7-ENV): Likewise.
19390 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
19391 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
19392 addition to variable.
19393 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
19394 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
19395 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
19396 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
19397 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
19398 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
19399 tst-audit3, tst-audit4 and tst-audit5.
19400 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
19401 tst-audit6 and tst-audit7.
19402 [$(subdir) = elf] (modules-names): Add audit modules for those
19404 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
19405 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
19406 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
19407 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
19408 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
19409 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
19410 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
19411 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
19412 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
19413 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
19414 [$(subdir) = elf] (tst-audit3-ENV): New variable.
19415 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
19416 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
19417 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
19418 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
19419 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
19421 [$(subdir) = elf && $(config-cflags-avx) = yes]
19422 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
19423 [$(subdir) = elf && $(config-cflags-avx) = yes]
19424 (CFLAGS-tst-auditmod4a.c): Likewise.
19425 [$(subdir) = elf && $(config-cflags-avx) = yes]
19426 (CFLAGS-tst-auditmod4b.c): Likewise.
19427 [$(subdir) = elf && $(config-cflags-avx) = yes]
19428 (CFLAGS-tst-auditmod6b.c): Likewise.
19429 [$(subdir) = elf && $(config-cflags-avx) = yes]
19430 (CFLAGS-tst-auditmod6c.c): Likewise.
19431 [$(subdir) = elf && $(config-cflags-avx) = yes]
19432 (CFLAGS-tst-auditmod7b.c): Likewise.
19433 * elf/tst-audit3.c: Move to ...
19434 * sysdeps/x86_64/tst-audit3.c: ... here.
19435 * elf/tst-audit4.c: Move to ...
19436 * sysdeps/x86_64/tst-audit4.c: ... here.
19437 * elf/tst-audit5.c: Move to ...
19438 * sysdeps/x86_64/tst-audit5.c: ... here.
19439 * elf/tst-audit6.c: Move to ...
19440 * sysdeps/x86_64/tst-audit6.c: ... here.
19441 * elf/tst-audit7.c: Move to ...
19442 * sysdeps/x86_64/tst-audit7.c: ... here.
19443 * elf/tst-auditmod3a.c: Move to ...
19444 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
19445 * elf/tst-auditmod3b.c: Move to ...
19446 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
19447 * elf/tst-auditmod4a.c: Move to ...
19448 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
19449 * elf/tst-auditmod4b.c: Move to ...
19450 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
19451 * elf/tst-auditmod5a.c: Move to ...
19452 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
19453 * elf/tst-auditmod5b.c: Move to ...
19454 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
19455 * elf/tst-auditmod6a.c: Move to ...
19456 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
19457 * elf/tst-auditmod6b.c: Move to ...
19458 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
19459 * elf/tst-auditmod6c.c: Move to ...
19460 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
19461 * elf/tst-auditmod7a.c: Move to ...
19462 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
19463 * elf/tst-auditmod7b.c: Move to ...
19464 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
19466 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
19469 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
19470 define unconditionally.
19471 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
19472 define unconditionally.
19473 (INT8_C, INT16_C, etc.): Likewise.
19475 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
19477 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
19478 __ehdr_start with hidden visibility.
19480 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
19482 2013-04-24 Carlos O'Donell <carlos@redhat.com>
19484 * math/libm-test.inc (cos_test): Use accurate hex constants.
19485 (sincost_test): Likewise.
19487 2013-04-24 Joseph Myers <joseph@codesourcery.com>
19489 * math/libm-test.inc (catan_test): Add more tests.
19490 (catanh_test): Likewise.
19492 * math/s_catanf.c (__catanf): Use suffixed floating-point
19494 * math/s_catanhf.c (__catanhf): Likewise.
19495 * math/s_catanhl.c (__catanhl): Likewise.
19496 * math/s_catanl.c (__catanl): Likewise.
19499 * math/s_catan.c (__catan): Calculate imaginary part of result
19500 with log1p not log unless computing log of number close to 0.
19501 * math/s_catanf.c (__catanf): Likewise.
19502 * math/s_catanl.c (__catanl): Likewise.
19503 * math/s_catanh.c (__catanh): Calculate real part of result with
19504 log1p not log unless computing log of number close to 0.
19505 * math/s_catanhf.c (__catanhf): Likewise.
19506 * math/s_catanhl.c (__catanhl): Likewise.
19507 * math/libm-test.inc (catan_test): Add more tests.
19508 (catanh_test): Likewise.
19509 * sysdeps/i386/fpu/libm-test-ulps: Update.
19510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19512 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19514 * benchtests/Makefile: Mention files in which fast and slow
19515 paths of math functions are implemented.
19517 2013-04-23 Roland McGrath <roland@hack.frob.com>
19519 * sysdeps/posix/timespec_get.c: New file.
19521 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19523 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
19525 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
19527 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
19528 powerpc/power5/fpu folders.
19529 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
19530 * benchtests/Makefile: Add modf testcase.
19531 * benchtests/bench-modf.c: New file: Benchmark test for mo
19533 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19536 * time/Makefile (tests): Add tst-strptime-whitespace.
19537 * time/strptime_l.c (get_number): Use ISSPACE.
19538 (__strptime_internal): Likewise.
19539 * time/tst-strptime-whitespace.c: New test case.
19541 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
19543 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
19545 (_nss_files_init): Set it here.
19547 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
19549 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
19550 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
19553 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
19555 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
19557 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19559 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
19562 2013-04-21 David S. Miller <davem@davemloft.net>
19564 * po/ru.po: Update Russion translation from translation project.
19566 2013-04-17 Adam Conrad <adconrad@0c3.net>
19568 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
19571 2013-04-17 Carlos O'Donell <carlos@redhat.com>
19573 * configure.in: Remove i386 configure warning. Remove i386 case.
19574 * configure: Regenerate.
19575 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
19576 Add example to error message.
19577 * sysdeps/i386/configure: Regenerate.
19579 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19581 * benchtests/Makefile (bench): Add cos, tan, slowcos and
19583 * benchtests/cos-inputs: New file.
19584 * benchtests/slowcos-inputs: New file.
19585 * benchtests/slowcos.c: New file.
19586 * benchtests/slowtan-inputs: New file.
19587 * benchtests/slowtan.c: New file.
19588 * benchtests/tan-inputs: New file.
19590 2013-04-16 Roland McGrath <roland@hack.frob.com>
19592 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
19595 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19597 * benchtests/Makefile: Include cppflags-iterator.mk to add
19598 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
19600 * Makefile.in (bench-clean): New target.
19601 * benchtests/Makefile (bench-clean): Likewise.
19603 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
19605 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
19607 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
19609 * stdio-common/tstdiomisc.c: Fix coding-style violation.
19611 2013-04-15 Andreas Schwab <schwab@suse.de>
19613 * nscd/grpcache.c (cache_addgr): Properly check for short write.
19614 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19615 * nscd/pwdcache.c (cache_addpw): Likewise.
19616 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
19619 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19621 * benchtests/Makefile (bench): Write all output to
19622 bench-out.tmp together.
19624 2013-04-15 Andreas Schwab <schwab@suse.de>
19626 * nscd/nscd.c (main): Don't fork again after closing files.
19628 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19630 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
19632 * benchtests/Rules (bench-deps): Collect dependencies into a
19633 single variable. Add Makefile to dependencies.
19634 ($(objpfx)bench-%.c): Depend on bench-deps.
19636 2013-04-12 Roland McGrath <roland@hack.frob.com>
19637 Xavier Roche <roche+kml2@exalead.com>
19640 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
19641 just that it's a file descriptor.
19642 * manual/llio.texi (Synchronizing AIO Operations): Update description
19643 for EBADF error from aio_fsync.
19645 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19647 * Rules (bench): Move target definition...
19648 * benchtests/Makefile: ... here.
19650 2013-04-11 Carlos O'Donell <carlos@redhat.com>
19652 * math/libm-test.inc (cos_test): Fix PI/2 test.
19653 (sincos_test): Likewise.
19654 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19655 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19657 2013-04-11 Andreas Schwab <schwab@suse.de>
19660 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
19661 accept exponent character only when digits were seen.
19662 * stdio-common/Makefile (tests): Add bug26.
19663 * stdio-common/bug26.c: New file.
19666 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
19669 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19671 * Makeconfig (rtld-prefix): Define built linker prefix.
19672 * Rules (run-bench): Use it.
19673 * math/Makefile (run-regen-ulps): Likewise.
19675 * Rules (bench): Remove eval.
19677 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19678 Roland McGrath <roland@hack.frob.com>
19679 Ondrej Bilka <neleai@seznam.cz>
19682 * time/getdate.c: Include ctype.h and alloca.h.
19683 (__getdate_r): Trim leading and trailing spaces of input.
19684 * time/tst-getdate.c (tests): Add tests with leading and
19687 2013-04-08 Roland McGrath <roland@hack.frob.com>
19690 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
19691 when computing value.
19693 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19695 * math/README.libm-test (How can I generate "libm-test-ulps"?):
19696 Use testrun.sh to run libm tests.
19699 * elf/dl-open.c (dl_open_worker): memset all of seen array.
19701 2013-04-06 Marko Myllynen <myllynen@redhat.com>
19704 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
19706 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19708 * Makefile.in (regen-ulps): New target.
19709 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
19710 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
19711 [ifneq (no,$(PERL)] (regen-ulps): New target.
19712 [ifeq (no,$(PERL)] (regen-ulps): New target.
19713 * math/libm-test.inc (ulps_file_name): Define.
19714 (output_dir): New variable.
19715 (options): Add "output-dir" option.
19716 (parse_opt): Handle 'o' case.
19717 (main): If output_dir is non-NULL use it as a prefix
19719 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
19721 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19723 [BZ #10060, #10062]
19724 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
19725 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
19726 fail configure if __sync_val_compare_and_swap is not inlined.
19727 * sysdeps/i386/configure: Regenerate.
19728 * configure.in: Build for i686 when configured for i386.
19729 * configure: Regenerate.
19730 * README: Remove i386 reference.
19732 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19734 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
19735 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19737 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
19739 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
19740 (lmsnanval): New variables.
19741 (F): Add conversion tests.
19742 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
19743 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
19745 * stdio-common/tstdiomisc.c (F): Properly collect individual
19748 [BZ #14686, #15336]
19749 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
19750 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19751 Instead, use input NaN values or generate a qNaN by arithmetic
19752 operation. Also fix bugs to comply with the standard.
19753 * math/libm-test.inc (remainder_test): Add more tests.
19755 [BZ #15335, #15342]
19756 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
19757 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
19758 input NaN values or generate a qNaN by arithmetic operation.
19760 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
19763 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
19766 2013-04-03 Joseph Myers <joseph@codesourcery.com>
19769 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
19770 underflowed result.
19771 * math/s_cexpf.c (__cexpf): Likewise.
19772 * math/s_cexpl.c (__cexpl): Likewise.
19773 * math/libm-test.inc (cexp_test): Add more tests.
19775 2013-04-03 Andreas Schwab <schwab@suse.de>
19778 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
19779 order arrays from heap if bigger than alloca cutoff.
19781 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
19783 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
19784 (SNAN_TESTS_double): Refer to GCC PR56831.
19785 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
19788 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19790 * Rules (bench): Move bench.out after the run is complete.
19792 * Rules (bench): Echo currently running benchmark.
19794 * benchtests/Makefile (bench): Add atan and slowatan.
19795 * benchtests/atan-inputs: New file.
19796 * benchtests/slowatan-inputs: New file.
19797 * benchtests/slowatan.c: New file.
19799 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
19800 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
19804 * sysdeps/unix/sysv/linux/kernel-features.h
19805 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
19806 __ASSUME_XFS_RESTRICTED_CHOWN.
19807 * sysdeps/unix/sysv/linux/pathconf.c
19808 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19809 Save and restore errno.
19811 2013-04-02 Joseph Myers <joseph@codesourcery.com>
19814 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19815 arguments using __kernel_casinh.
19816 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
19817 arguments using __kernel_casinhf.
19818 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
19819 arguments using __kernel_casinhl.
19820 * math/libm-test.inc (cacosh_test): Add more tests.
19821 * sysdeps/i386/fpu/libm-test-ulps: Update.
19822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19824 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19826 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
19827 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
19829 * bench/Makefile (bench): Add sin and slowsin.
19830 * benchtests/sin-inputs: New file.
19831 * benchtests/slowsin-inputs: New file.
19832 * benchtests/slowsin.c: New file.
19834 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
19835 (bench): Add slowexp and slowpow.
19836 (exp-ITER): Increase iterations.
19837 (pow-ITER): Likewise.
19838 * benchtests/exp-inputs: Change input.
19839 * benchtests/pow-inputs: Likewise.
19840 * benchtests/slowexp-inputs: New file.
19841 * benchtests/slowexp.c: New file.
19842 * benchtests/slowpow-inputs: New file.
19843 * benchtests/slowpow.c: New file.
19845 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19847 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
19849 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19850 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
19851 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19852 * benchtests/Makefile: Add rint benchtest.
19853 * benchtests/rint-inputs: Input for rint benchtest.
19855 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
19857 * Versions.def (libm): Add GLIBC_2.18.
19858 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
19859 hidden libm prototypes.
19860 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
19861 * math/Makefile (libm-calls): Add s_issignaling.
19862 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
19863 __issignalingf, __issignalingl. Adjust all libm.abilist files.
19864 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
19866 * math/math.h [__USE_GNU] (issignaling): New macro.
19867 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
19868 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
19869 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
19870 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
19871 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
19872 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
19873 * manual/arith.texi (issignaling): New section.
19874 * manual/libm-err-tab.pl (@all_functions): Update comment.
19875 * math/gen-libm-test.pl (parse_args): Apply special handling for
19877 * math/libm-test.inc (print_float, issignaling_test): New
19879 (check_float_internal): Add issignaling checks.
19880 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
19881 default definition.
19882 * sysdeps/powerpc/math-tests.h: New file.
19883 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
19885 * math/test-snan.c (TEST_FUNC): Likewise.
19887 2013-03-30 David S. Miller <davem@davemloft.net>
19889 * po/de.po: Update from translation team.
19891 2013-03-30 Joseph Myers <joseph@codesourcery.com>
19894 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19895 imaginary part less than 1.0 and real part less than 0.5
19897 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19898 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19899 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
19900 (cacos_test): Add more tests.
19901 (casin_test): Likewise.
19902 (casinh_test): Likewise.
19903 * sysdeps/i386/fpu/libm-test-ulps: Update.
19904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19906 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19908 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
19909 ONE with its value.
19911 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
19912 (__pow_mp): Replace ONE and MONE with their values.
19913 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19914 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
19915 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19916 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
19917 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19918 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19920 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
19922 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
19923 (__pow_mp): Replace ZERO and MZERO with their values.
19924 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19925 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19926 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19927 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19928 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19929 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
19932 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
19934 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
19936 2013-03-28 Roland McGrath <roland@hack.frob.com>
19938 * include/stdlib.h [!SHARED] (__call_tls_dtors):
19939 Declare with __attribute__ ((weak)).
19940 * stdlib/exit.c (__libc_atexit) [!SHARED]:
19941 Call __call_tls_dtors only if it's not NULL.
19943 2013-03-28 Roland McGrath <roland@hack.frob.com>
19945 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
19946 didn't do it already, then set _dl_phdr and _dl_phnum based on the
19947 magic __ehdr_start linker symbol if it's defined.
19948 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
19949 them up here if it was already done.
19951 * elf/dl-support.c (_dl_phdr): Make pointer to const.
19952 (_dl_aux_init): Use const in cast when setting it.
19953 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
19954 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
19955 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
19957 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
19959 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
19960 * csu/libc-tls.c: Nor here.
19961 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
19963 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
19964 (__libc_message): Never call vsyslog.
19966 2013-03-28 Alan Modra <amodra@gmail.com>
19968 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
19970 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
19973 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19976 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
19978 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19980 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19983 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19984 Don't add gid passed as argument.
19986 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
19988 2013-03-27 Joseph Myers <joseph@codesourcery.com>
19991 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19992 imaginary part between 1.0 and 1.5 and real part less than 0.5
19994 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19995 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19996 * math/libm-test.inc (cacos_test): Add more tests.
19997 (casin_test): Likewise.
19998 (casinh_test): Likewise.
19999 * sysdeps/i386/fpu/libm-test-ulps: Update.
20000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20002 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20004 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
20007 (denorm): Likewise.
20008 (__dbl_mp): Likewise.
20009 (add_magnitudes): Likewise.
20010 (sub_magnitudes): Likewise.
20018 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
20020 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
20021 (__dubcos): Likewise.
20022 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
20023 (__ieee754_acos): Likewise.
20024 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20025 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
20026 (__exp1): Likewise.
20027 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20028 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20030 (my_log2): Likewise.
20031 (checkint): Likewise.
20032 * sysdeps/ieee754/dbl-64/e_remainder.c
20033 (__ieee754_remainder): Likewise.
20034 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20035 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20036 (bsloww): Likewise.
20037 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20039 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20040 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
20041 MANTISSA_STORE_T to store computations on mantissa. Use
20042 macros for rounding and division.
20043 (denorm): Likewise.
20044 (__dbl_mp): Likewise.
20045 (add_magnitudes): Likewise.
20046 (sub_magnitudes): Likewise.
20049 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20050 powers of two in terms of TWOPOW macro.
20051 (mp_no): Make type of mantissa as MANTISSA_T.
20052 [!RADIXI]: Define RADIXI.
20053 [!TWO52]: Define TWO52.
20054 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20056 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20058 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
20059 llroundl symbol when building for PPC32.
20061 2013-03-24 Mark H Weaver <mhw@netris.org>
20063 * manual/arith.texi (Normalization Functions): Fix prototypes for
20064 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
20066 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20069 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
20070 high value to check if expl overflow.
20071 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
20072 to check for underflow and overflow.
20073 * math/libm-test.inc: Add exp test.
20075 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
20078 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
20081 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20083 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
20086 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
20088 * math/gen-libm-test.pl (parse_args, special_functions): Properly
20089 wrap blocks consisting of several statements.
20091 * sysdeps/generic/math-tests.h: New file.
20092 * sysdeps/i386/fpu/math-tests.h: Likewise.
20093 * math/test-snan.c: Include it.
20094 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
20096 2013-03-21 Joseph Myers <joseph@codesourcery.com>
20099 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
20100 (__ieee754_j0l): Do not improve calculations using cos of twice
20101 input for inputs above LDBL_MAX / 2.0L.
20102 (__ieee754_y0l): Likewise.
20103 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
20104 (__ieee754_j1l): Do not improve calculations using cos of twice
20105 input for inputs above LDBL_MAX / 2.0L.
20106 (__ieee754_y1l): Likewise.
20107 * math/libm-test.inc (j0_test): Add another test.
20108 (j1_test): Likewise.
20109 (y0_test): Likewise.
20110 (y1_test): Likewise.
20111 * sysdeps/i386/fpu/libm-test-ulps: Update.
20113 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20115 * Rules ($(objpfx)bench-%.c): Include code from a C source
20118 2013-03-21 Joseph Myers <joseph@codesourcery.com>
20121 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20122 imaginary part 1.0 and real part less than 0.5 specially.
20123 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20124 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20125 * math/libm-test.inc (cacos_test): Add more tests.
20126 (casin_test): Likewise.
20127 (casinh_test): Likewise.
20128 * sysdeps/i386/fpu/libm-test-ulps: Update.
20129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20131 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20133 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
20134 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
20136 2013-03-20 Joseph Myers <joseph@codesourcery.com>
20138 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
20139 * config.make.in (config-cflags-sse4): Remove variable.
20140 (config-cflags-avx): Likewise.
20141 (config-cflags-sse2avx): Likewise.
20142 (config-cflags-novzeroupper): Likewise.
20143 (config-asflags-i686): Likewise.
20144 (have-mfma4): Likewise.
20145 (have-as-vis3): Likewise.
20147 * configure.in (MIG): Do not AC_SUBST.
20148 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
20149 (libc_cv_cc_sse4): Do not AC_SUBST.
20150 (libc_cv_cc_avx): Likewise.
20151 (libc_cv_cc_sse2avx): Likewise.
20152 (libc_cv_cc_novzeroupper): Likewise.
20153 (libc_cv_cc_fma4): Likewise.
20154 (libc_cv_as_i686): Likewise.
20155 (libc_cv_sparc_as_vis3): Likewise.
20156 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
20158 (config-asflags-i686): Likewise.
20159 (config-cflags-avx): Likewise.
20160 (config-cflags-sse2avx): Likewise.
20161 (have-mfma4): Likewise.
20162 (config-cflags-novzeroupper): Likewise.
20163 * sysdeps/mach/configure.in (MIG): Likewise.
20164 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
20165 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
20167 (config-cflags-avx): Likewise.
20168 (config-cflags-sse2avx): Likewise.
20169 (have-mfma4): Likewise.
20170 (config-cflags-novzeroupper): Likewise.
20171 * configure: Regenerated.
20172 * sysdeps/i386/configure: Likewise.
20173 * sysdeps/mach/configure: Likewise.
20174 * sysdeps/sparc/configure: Likewise.
20175 * sysdeps/x86_64/configure: Likewise.
20177 2013-03-20 Roland McGrath <roland@hack.frob.com>
20180 * locale/programs/localedef.c (options): Put N_ translation marker
20181 on argument names, not just descriptions.
20183 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20185 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
20187 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
20190 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
20192 2013-03-19 Roland McGrath <roland@hack.frob.com>
20194 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
20195 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
20196 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
20197 [!BEFORE_ABORT] (before_abort): New function.
20198 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
20199 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
20200 (writev_for_fatal): New function.
20201 (WRITEV_FOR_FATAL): New macro; call that.
20202 (backtrace_and_maps): New function.
20203 (BEFORE_ABORT): New macro; call that.
20204 (struct str_list): Type removed.
20205 (__libc_message, __libc_fatal): Functions removed.
20206 Include <sysdeps/posix/libc_fatal.c> instead.
20208 2013-03-19 Joseph Myers <joseph@codesourcery.com>
20210 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
20212 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
20215 2013-03-19 Andreas Schwab <schwab@suse.de>
20217 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
20218 * sysdeps/gnu/configure: Regenerate.
20220 * configure.in: Substitute libc_cv_rtlddir.
20221 * configure: Regenerate.
20222 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
20223 * Makeconfig (rtlddir, inst_rtlddir): New variables.
20224 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
20225 * elf/Makefile (install-others, CFLAGS-interp.c)
20226 (ldso_install, common-ldd-rewrite): Likewise.
20227 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
20228 $(inst_slibdir)/$(rtld-installed-name).
20229 * scripts/rellns-sh: Add -p option.
20230 * Makerules (make-shlib-link): Use rellns-sh to get relative name
20233 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20235 * manual/nptl.texi: Renamed to ...
20236 * manual/threads.texi: ... this.
20237 * manual/Makefile (chapters): Update.
20239 2013-03-18 Roland McGrath <roland@hack.frob.com>
20242 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
20243 on argument names, not just descriptions.
20244 * malloc/memusagestat.c (options): Likewise.
20245 * nss/getent.c (options): Likewise.
20247 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
20250 * iconv/iconv_prog.c (options): Put N_ translation marker
20251 on argument names, not just descriptions.
20252 * iconv/iconvconfig.c (options): Likewise.
20254 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
20256 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
20257 implementation which is faster on all x86_64 architectures.
20258 Tested on AMD, Intel Nehalem, SNB, IVB.
20259 * sysdeps/x86_64/strnlen.S: Likewise.
20261 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20262 Remove all multiarch strlen and strnlen versions.
20263 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20264 Remove strlen and strnlen related parts.
20266 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
20267 Inline strlen part.
20268 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20270 * sysdeps/x86_64/multiarch/strlen.S: Remove.
20271 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
20272 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
20273 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
20274 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20275 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
20277 2013-03-17 Carlos O'Donell <carlos@redhat.com>
20279 * manual/memory.texi (Malloc Tunable Parameters):
20280 Sort parameters alphabetically. Add comments for missing entries.
20282 2013-03-17 David S. Miller <davem@davemloft.net>
20284 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20286 2013-03-16 Joseph Myers <joseph@codesourcery.com>
20289 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
20290 for arguments at most half maximum finite value.
20291 * math/libm-test.inc (j0_test): Add more tests.
20292 (j1_test): Likewise.
20293 (y0_test): Likewise.
20294 (y1_test): Likewise.
20295 * sysdeps/i386/fpu/libm-test-ulps: Update.
20296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20299 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
20300 1 / x and functions P and Q for arguments above 0x1p256L.
20301 (__ieee754_y0l): Likewise.
20302 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20303 (__ieee754_y1l): Likewise.
20304 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
20305 (j1_test): Likewise.
20306 (y0_test): Likewise.
20307 (y1_test): Likewise.
20309 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
20311 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
20314 2013-03-15 Roland McGrath <roland@hack.frob.com>
20316 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
20317 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
20318 zero since it's initialized to EXEC_PAGESIZE.
20320 * sysdeps/unix/sysv/linux/ldsodefs.h
20321 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
20322 * sysdeps/generic/ldsodefs.h: ... here.
20324 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
20326 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
20328 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
20330 * math/test-snan.c: Renamed from
20331 sysdeps/powerpc/fpu/test-powerpc-snan.c.
20332 * math/Makefile (tests): Add test-snan.
20333 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
20336 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
20337 SUFFIX. Initialize qNaN_var with __builtin_nan family of
20339 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
20340 __builtin_nan family of functions.
20341 * math/libm-test.inc (initialize): Initialize qnan_value with
20342 __builtin_nan family of functions.
20343 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
20345 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
20347 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
20348 storage class. Initialize qNaN_var and sNaN_var with
20349 __builtin_nan and __builtin_nans families of functions,
20352 * math/libm-test.inc (acosh_test): Also test with qNaN input.
20353 (sqrt_test): Remove duplicate test with qNaN input.
20354 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
20355 (round_test, signbit_test, significand_test): Note missing +/-Inf
20356 as well as qNaN tests.
20358 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
20359 qNaN_var. Fix a few strings, too.
20360 * math/libm-test.inc (nan_value): Rename to qnan_value.
20361 * math/gen-libm-test.pl (%beautify): Adjust to that.
20362 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
20363 * math/test-misc.c (main): Likewise.
20364 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
20365 to __qnan_bytes, and __qnan_union, respectively.
20366 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
20368 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
20369 and lqnanval, respectively.
20370 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
20371 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
20372 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
20373 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
20375 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
20376 * math/test-misc.c (main) [__x86_64__]: Enable test for long
20379 * math/test-misc.c (main): Fix copy'n'pastos.
20380 * misc/tst-efgcvt.c (special): Likewise.
20382 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
20383 Remove declarations.
20385 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20387 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
20388 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
20389 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
20390 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
20392 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20394 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
20395 macro to return vdso values correctly in IFUNC implementations.
20396 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20397 Optimization by using IFUNC.
20399 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20400 Richard Henderson <rth@redhat.com>
20401 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20403 * Makefile.in (bench): New target.
20404 * NEWS: Mention the benchmark framework.
20405 * Rules (bench): Likewise.
20406 (binaries-bench): Generate binaries for functions to
20408 * benchtests/Makefile: New makefile for benchmark tests.
20409 * benchtests/bench-skeleton.c: New skeleton file for benchmark
20411 * benchtests/exp-inputs: New input file for EXP function.
20412 * benchtests/pow-inputs: New input file for POW function.
20413 * scripts/bench.pl: New script to generate source files for
20414 benchmark programs.
20416 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20418 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20419 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
20420 computations on mantissa. Use macros for rounding and
20422 (denorm): Likewise.
20423 (__dbl_mp): Likewise.
20424 (add_magnitudes): Likewise.
20425 (sub_magnitudes): Likewise.
20428 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20429 powers of two in terms of TWOPOW macro.
20430 (mp_no): Make type of mantissa as MANTISSA_T.
20431 [!RADIXI]: Define RADIXI.
20432 [!TWO52]: Define TWO52.
20433 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20435 * manual/nptl.texi (cindex): Modify threads to pthreads.
20437 2013-03-15 Joseph Myers <joseph@codesourcery.com>
20439 * sysdeps/x86_64/preconfigure: Regenerated.
20441 2013-03-14 Joseph Myers <joseph@codesourcery.com>
20444 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
20446 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
20447 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
20449 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
20450 * math/libm-test.inc (j0_test): Do not allow one spurious
20451 underflow exception.
20452 (y1_test): Likewise.
20454 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20456 * manual/Makefile (chapters): Add nptl.
20457 * manual/debug.texi (Debugging Support): Add link to Threads
20459 * manual/nptl.texi: New file.
20461 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
20463 2013-03-14 Petr Baudis <pasky@ucw.cz>
20465 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
20466 for non-NULL pointer before the memory validity test. Pointed
20467 out by Holger Brunck <holger.brunck@keymile.com>.
20469 2013-03-13 Andreas Schwab <schwab@suse.de>
20471 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
20474 2013-03-13 Joseph Myers <joseph@codesourcery.com>
20476 * timezone/zic.c: Update from tzcode 2013b.
20478 2013-03-12 Carlos O'Donell <carlos@redhat.com>
20480 * manual/install.texi (Configuring and compiling):
20481 Mention i686 and i586.
20482 * INSTALL: Regenerate.
20484 2013-03-12 Roland McGrath <roland@hack.frob.com>
20486 * sysdeps/init_array/elf-init.c: New file.
20488 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
20489 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
20491 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
20492 __gmon_start__ as global, but as static with a .preinit_array pointer.
20493 * sysdeps/init_array/gmon-start.c: New file. Use that.
20494 * sysdeps/init_array/crti.S: New file, empty except for comments.
20495 * sysdeps/init_array/crtn.S: Likewise.
20497 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
20499 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
20501 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20502 Remove Prefer_SSE_for_memop.
20503 * sysdeps/x86_64/multiarch/init-arch.h: Remove
20504 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
20505 HAS_PREFER_SSE_FOR_MEMOP.
20506 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20508 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20509 Remove bzero, memset ifunc support.
20510 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
20511 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
20512 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20513 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20515 2013-03-11 Andreas Schwab <schwab@suse.de>
20518 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
20520 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
20521 (GLIBC_2.16): Remove pthread_atfork.
20523 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
20525 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
20526 (ptestcases.h): Likewise.
20528 2013-03-08 Roland McGrath <roland@hack.frob.com>
20530 * Makeconfig ($(common-objpfx)config.status): Depend on
20531 sysdeps/*/preconfigure{,.in} too.
20533 2013-03-08 Joseph Myers <joseph@codesourcery.com>
20535 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
20536 (__free_hook): Use void * instead of __malloc_ptr_t.
20537 (__malloc_hook): Likewise.
20538 (__realloc_hook): Likewise.
20539 (__memalign_hook): Likewise.
20540 (__after_morecore_hook): Likewise.
20541 * malloc/arena.c (save_malloc_hook): Likewise.
20542 (save_free_hook): Likewise.
20543 * malloc/hooks.c (malloc_hook_ini): Likewise.
20544 (realloc_hook_ini): Likewise.
20545 (memalign_hook_ini): Likewise.
20546 * malloc/malloc.c (malloc_hook_ini): Likewise.
20547 (realloc_hook_ini): Likewise.
20548 (memalign_hook_ini): Likewise.
20549 (__free_hook): Likewise.
20550 (__malloc_hook): Likewise.
20551 (__realloc_hook): Likewise.
20552 (__memalign_hook): Likewise.
20553 (__libc_malloc): Likewise.
20554 (__libc_free): Likewise.
20555 (__libc_realloc): Likewise.
20556 (__libc_memalign): Likewise.
20557 (__libc_valloc): Likewise.
20558 (__libc_pvalloc): Likewise.
20559 (__libc_calloc): Likewise.
20560 (__posix_memalign): Likewise.
20561 * malloc/morecore.c (__sbrk): Likewise.
20562 (__default_morecore): Likewise.
20564 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
20566 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
20567 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
20568 __malloc_ptrdiff_t.
20570 * malloc/malloc.h (__malloc_size_t): Remove macro.
20571 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
20573 (old_memalign_hook): Likewise.
20574 (old_realloc_hook): Likewise.
20575 (struct hdr): Likewise.
20577 (mallochook): Likewise.
20578 (memalignhook): Likewise.
20579 (reallochook): Likewise.
20580 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
20581 (tr_old_realloc_hook): Likewise.
20582 (tr_old_memalign_hook): Likewise.
20583 (tr_mallochook): Likewise.
20584 (tr_reallochook): Likewise.
20585 (tr_memalignhook): Likewise.
20587 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20589 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
20590 default_ldbl_pack and using as default implementation.
20591 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
20593 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
20594 redundant definition.
20595 (ldbl_insert_mantissa): Likewise.
20596 (ldbl_canonicalize): Likewise.
20597 (ldbl_nearbyint): Likewise.
20598 (ldbl_pack): Rename to ldbl_pack_ppc.
20599 (ldbl_unpack): Rename to ldbl_unpack_ppc.
20600 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
20601 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
20603 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20605 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
20606 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
20607 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
20608 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
20609 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
20610 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
20611 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
20612 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
20614 2013-03-07 Andreas Jaeger <aj@suse.de>
20616 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20619 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20621 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
20622 Include mpa.h and declare __MPEXP.
20623 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
20624 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20625 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20626 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
20627 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20628 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20629 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
20631 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
20632 (__slowpow): Use long double EXPL and LOGL functions to
20634 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20635 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20636 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
20637 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20638 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20639 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
20641 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
20642 intermediate variable to calculate exponent.
20644 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20648 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
20649 [!NO__SQR]: Define __sqr.
20650 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
20651 and NO__SQR. Remove all code except __mul and __sqr. Include
20652 sysdeps/ieee754/dbl-64/mpa.c.
20653 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20656 * posix/Makefile (tests): Add tst-pathconf.
20657 * posix/tst-pathconf.c: New test case.
20658 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
20660 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
20662 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
20664 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
20666 2013-03-06 Andreas Jaeger <aj@suse.de>
20668 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
20669 definition via __MAP_ANONYMOUS.
20671 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
20672 it's not part of Linux headers.
20674 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
20675 (MAP_HUGE_MASK): Define.
20677 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20679 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20680 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20682 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20683 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20685 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20686 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20688 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20690 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20691 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
20692 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
20693 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
20694 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
20695 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
20697 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20700 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20701 Handle f2fs and efivarfs.
20703 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
20706 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
20707 (EFIVARFS_MAGIC): Add.
20708 (F2FS_LINK_MAX): Add.
20710 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20712 * stdio-common/vfprintf.c: Replace __builtin_expect with
20715 2013-03-06 Joseph Myers <joseph@codesourcery.com>
20718 * sysdeps/generic/bp-sym.h: Remove file.
20719 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
20720 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
20721 <bp-sym.h> and <bp-asm.h>.
20722 (__longjmp): Don't use BP_SYM.
20723 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
20725 (memcpy): Don't use BP_SYM.
20726 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
20727 <bp-sym.h> and <bp-asm.h>.
20728 (memcpy): Don't use BP_SYM.
20729 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
20731 (memcpy): Don't use BP_SYM.
20732 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
20734 (memset): Don't use BP_SYM.
20735 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20736 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20737 (__bzero): Don't use BP_SYM.
20738 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20739 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20740 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
20741 <bp-sym.h> and <bp-asm.h>.
20742 (memcmp): Don't use BP_SYM. Remove comment about bounded
20744 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
20745 <bp-sym.h> and <bp-asm.h>.
20746 (memcpy): Don't use BP_SYM.
20747 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
20748 <bp-sym.h> and <bp-asm.h>.
20749 (memset): Don't use BP_SYM.
20750 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20751 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20752 (__bzero): Don't use BP_SYM.
20753 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20754 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20755 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
20756 <bp-sym.h> and <bp-asm.h>.
20757 (strncmp): Don't use BP_SYM. Remove comment about bounded
20759 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
20760 <bp-sym.h> and <bp-asm.h>.
20761 (memcpy): Don't use BP_SYM.
20762 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
20763 <bp-sym.h> and <bp-asm.h>.
20764 (memset): Don't use BP_SYM.
20765 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20766 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20767 (__bzero): Don't use BP_SYM.
20768 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20769 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20770 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
20771 <bp-sym.h> and <bp-asm.h>.
20772 (__memchr): Don't use BP_SYM.
20773 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
20774 <bp-sym.h> and <bp-asm.h>.
20775 (memcmp): Don't use BP_SYM. Remove comment about bounded
20777 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
20778 <bp-sym.h> and <bp-asm.h>.
20779 (memcpy): Don't use BP_SYM.
20780 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
20781 <bp-sym.h> and <bp-asm.h>.
20782 (__mempcpy): Don't use BP_SYM.
20783 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
20784 <bp-sym.h> and <bp-asm.h>.
20785 (__memrchr): Don't use BP_SYM.
20786 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
20787 <bp-sym.h> and <bp-asm.h>.
20788 (memset): Don't use BP_SYM.
20789 (__bzero): Likewise.
20790 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
20791 <bp-sym.h> and <bp-asm.h>.
20792 (__rawmemchr): Don't use BP_SYM.
20793 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
20794 <bp-sym.h> and <bp-asm.h>.
20795 (__STRCMP): Don't use BP_SYM.
20796 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
20797 <bp-sym.h> and <bp-asm.h>.
20798 (strchr): Don't use BP_SYM.
20799 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
20800 <bp-sym.h> and <bp-asm.h>.
20801 (__strchrnul): Don't use BP_SYM.
20802 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
20803 <bp-sym.h> and <bp-asm.h>.
20804 (strlen): Don't use BP_SYM.
20805 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
20806 <bp-sym.h> and <bp-asm.h>.
20807 (strncmp): Don't use BP_SYM. Remove comment about bounded
20809 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
20810 <bp-sym.h> and <bp-asm.h>.
20811 (__strnlen): Don't use BP_SYM.
20812 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
20813 <bp-sym.h> and <bp-asm.h>.
20814 (__GI__setjmp): Don't use BP_SYM.
20815 (_setjmp): Likewise.
20816 (__sigsetjmp): Likewise.
20817 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
20818 (L(start_addresses)): Don't use BP_SYM.
20819 (_start): Likewise.
20820 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
20822 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
20823 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
20824 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20825 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20826 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
20828 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
20829 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
20830 about bounded pointers.
20831 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20832 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20833 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
20835 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20836 about bounded pointers. Remove GKM FIXME comments.
20837 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20838 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
20840 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
20841 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
20842 Remove GKM FIXME comments.
20843 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20844 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20845 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
20847 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20848 about bounded pointers. Remove GKM FIXME comment.
20849 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
20851 (strncmp): Don't use BP_SYM. Remove comment about bounded
20853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
20854 <bp-sym.h> and <bp-asm.h>.
20855 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
20857 <bp-sym.h> and <bp-asm.h>.
20858 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20861 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20863 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
20866 2013-03-05 David S. Miller <davem@davemloft.net>
20868 * po/es.po: Update from translation team.
20870 2013-03-05 Andreas Jaeger <aj@suse.de>
20872 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
20873 <bits/mman-linux.h>.
20874 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20876 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
20877 <bits/mman-linux.h> to end of file.
20878 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20880 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
20881 <bits/mman-linux.h> to end of file.
20882 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20884 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
20885 <bits/mman-linux.h> to end of file.
20887 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
20888 (MCL_CURRENT, MCL_FUTURE): Define here.
20890 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20893 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
20895 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20897 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20899 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
20900 fourth parameter needed for rt_sigprocmask syscall.
20901 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20902 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20903 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20904 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20905 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20906 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
20908 2013-03-04 Joseph Myers <joseph@codesourcery.com>
20911 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
20912 comment about bounded pointers.
20913 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
20914 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
20916 2013-03-04 Andreas Jaeger <aj@suse.de>
20918 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
20919 common definitions.
20921 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
20922 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
20923 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
20924 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20925 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20926 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20928 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20931 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20932 __ieee754_sqrl instead of __sqrl.
20934 2013-03-01 Joseph Myers <joseph@codesourcery.com>
20936 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
20937 * sysdeps/powerpc/fpu_control.h: ... here.
20938 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
20939 * sysdeps/powerpc/bits/fenvinline.h: ... here.
20940 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
20941 * sysdeps/powerpc/bits/mathinline.h: ... here.
20943 2013-03-01 Roland McGrath <roland@hack.frob.com>
20945 * elf/dl-hwcaps.c (_dl_important_hwcaps):
20946 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
20947 to just [NEED_DL_SYSINFO_DSO].
20948 * elf/dl-support.c: Likewise.
20949 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20950 * elf/rtld.c (dl_main): Likewise.
20951 * elf/setup-vdso.h (setup_vdso): Likewise.
20952 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
20953 * sysdeps/unix/sysv/linux/dl-sysdep.c
20954 (_dl_discover_osversion): Likewise.
20956 2013-03-01 Carlos O'Donell <carlos@redhat.com>
20958 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
20959 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20961 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
20963 * NEWS: Mention libm performance improvements and non-x86 PI
20966 * csu/libc-start.c (__pthread_initialize_minimal): Change
20967 function arguments.
20968 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20970 2013-02-28 Joseph Myers <joseph@codesourcery.com>
20973 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
20974 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
20975 <bp-sym.h> and <bp-asm.h>.
20976 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20977 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
20979 (memcpy): Don't use BP_SYM.
20980 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
20982 (__mpn_add_n): Don't use BP_SYM.
20983 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
20984 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
20986 (__mpn_addmul_1): Don't use BP_SYM.
20987 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20988 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
20990 (_setjmp): Don't use BP_SYM.
20991 (__novmx_setjmp): Likewise.
20992 (__GI__setjmp): Likewise.
20993 (__vmx_setjmp): Likewise.
20994 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
20996 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
20997 (__bzero): Don't use BP_SYM.
20998 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20999 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21000 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
21001 <bp-sym.h> and <bp-asm.h>.
21002 (memcpy): Don't use BP_SYM.
21003 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
21004 <bp-sym.h> and <bp-asm.h>.
21005 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21006 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
21007 <bp-sym.h> and <bp-asm.h>.
21008 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21009 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
21011 (__mpn_lshift): Don't use BP_SYM.
21012 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21013 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
21015 (memset): Don't use BP_SYM.
21016 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21017 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21018 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
21020 (__mpn_mul_1): Don't use BP_SYM.
21021 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21022 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
21023 <bp-sym.h> and <bp-asm.h>.
21024 (memcmp): Don't use BP_SYM.
21025 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
21026 <bp-sym.h> and <bp-asm.h>.
21027 (memcpy): Don't use BP_SYM.
21028 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
21029 <bp-sym.h> and <bp-asm.h>.
21030 (memset): Don't use BP_SYM.
21031 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
21032 <bp-sym.h> and <bp-asm.h>.
21033 (strncmp): Don't use BP_SYM.
21034 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
21035 <bp-sym.h> and <bp-asm.h>.
21036 (memcpy): Don't use BP_SYM.
21037 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
21038 <bp-sym.h> and <bp-asm.h>.
21039 (memset): Don't use BP_SYM.
21040 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
21041 <bp-sym.h> and <bp-asm.h>.
21042 (__memchr): Don't use BP_SYM.
21043 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
21044 <bp-sym.h> and <bp-asm.h>.
21045 (memcmp): Don't use BP_SYM.
21046 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
21047 <bp-sym.h> and <bp-asm.h>.
21048 (memcpy): Don't use BP_SYM.
21049 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
21050 <bp-sym.h> and <bp-asm.h>.
21051 (__mempcpy): Don't use BP_SYM.
21052 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
21053 <bp-sym.h> and <bp-asm.h>.
21054 (__memrchr): Don't use BP_SYM.
21055 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
21056 <bp-sym.h> and <bp-asm.h>.
21057 (memset): Don't use BP_SYM.
21058 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
21059 <bp-sym.h> and <bp-asm.h>.
21060 (__rawmemchr): Don't use BP_SYM.
21061 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
21062 <bp-sym.h> and <bp-asm.h>.
21063 (__STRCMP): Don't use BP_SYM.
21064 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
21065 <bp-sym.h> and <bp-asm.h>.
21066 (strchr): Don't use BP_SYM.
21067 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
21068 <bp-sym.h> and <bp-asm.h>.
21069 (__strchrnul): Don't use BP_SYM.
21070 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
21071 <bp-sym.h> and <bp-asm.h>.
21072 (strlen): Don't use BP_SYM.
21073 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
21074 <bp-sym.h> and <bp-asm.h>.
21075 (strncmp): Don't use BP_SYM.
21076 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
21077 <bp-sym.h> and <bp-asm.h>.
21078 (__strnlen): Don't use BP_SYM.
21079 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
21081 (__mpn_rshift): Don't use BP_SYM.
21082 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21083 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
21084 <bp-sym.h> and <bp-asm.h>.
21085 (__sigsetjmp): Don't use BP_SYM.
21086 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
21087 (L(start_addresses)): Don't use BP_SYM.
21088 (_start): Likewise.
21089 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
21091 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
21092 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21093 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21094 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
21096 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
21097 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21098 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21099 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
21101 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21103 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21104 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
21106 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
21108 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21109 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21110 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
21112 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21114 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
21116 (strncmp): Don't use BP_SYM,
21117 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
21119 (__mpn_sub_n): Don't use BP_SYM.
21120 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21121 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
21123 (__mpn_submul_1): Don't use BP_SYM.
21124 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
21126 <bp-sym.h> and <bp-asm.h>.
21127 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
21129 <bp-sym.h> and <bp-asm.h>.
21130 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21133 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21135 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
21136 Use ZK to minimize writes to Z.
21137 (sub_magnitudes): Simplify code a bit.
21138 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
21139 Use ZK to minimize writes to Z.
21140 (sub_magnitudes): Simplify code a bit.
21142 2013-02-27 Roland McGrath <roland@hack.frob.com>
21144 * csu/gmon-start.c: Add special exception to license text.
21146 2013-02-27 Richard Henderson <rth@redhat.com>
21148 * scripts/config.guess: Update from config.git.
21149 * scripts/config.sub: Likewise.
21151 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21153 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
21155 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
21157 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
21159 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
21161 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
21163 2013-02-26 Roland McGrath <roland@hack.frob.com>
21165 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
21166 [$(build-shared = yes].
21168 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21170 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
21171 (__mul): Reduce iterations for calculating mantissa.
21173 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
21175 (__mpranred): Likewise.
21178 * malloc/memusagestat.c (main): Draw graphs for heap and stack
21179 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
21181 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
21183 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
21184 Define __attribute__.
21186 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21188 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
21190 * posix/regex_internal.h (__attribute): Remove.
21191 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
21192 (re_string_context_at): Likewise.
21193 (bitset_not): Use __attribute__ and mark function as possibly
21195 (bitset_merge): Likewise.
21196 (bitset_mask): Likewise.
21197 (re_string_char_size_at): Likewise.
21198 (re_string_wchar_at): Likewise.
21199 (re_string_elem_size_at): Likewise.
21201 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21203 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
21207 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
21211 (denorm): Likewise.
21212 (__dbl_mp): Likewise.
21213 (add_magnitudes): Likewise.
21214 (sub_magnitudes): Likewise.
21218 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
21221 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
21224 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
21227 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
21228 up changes with default code.
21229 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
21232 2013-02-24 Allan McRae <allan@archlinux.org>
21234 * manual/socket.texi (The Internet Namespace): Order menu items
21235 to match that in the file.
21237 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
21238 node listing of the info page menu.
21240 2013-02-21 Joseph Myers <joseph@codesourcery.com>
21243 * sysdeps/i386/bp-asm.h: Remove file.
21244 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21245 (PARMS): Do not use macros from bp-asm.h.
21249 (__mpn_add_n): Do not use BP_SYM
21250 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
21252 (PARMS): Do not use macros from bp-asm.h.
21255 (__mpn_addmul_1): Do not use BP_SYM
21256 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
21258 (PARMS): Do not use macros from bp-asm.h.
21259 (SIGMSK): Likewise.
21260 (_setjmp): Likewise. Do not use BP_SYM.
21261 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
21263 (PARMS): Do not use macros from bp-asm.h.
21264 (SIGMSK): Likewise.
21265 (setjmp): Likewise. Do not use BP_SYM.
21266 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
21268 (PARMS): Do not use macros from bp-asm.h.
21269 (__frexp): Do not use BP_SYM.
21271 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
21273 (PARMS): Do not use macros from bp-asm.h.
21274 (__frexpf): Do not use BP_SYM.
21275 (frexpf): Likewise.
21276 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
21278 (PARMS): Do not use macros from bp-asm.h.
21279 (__frexpl): Do not use BP_SYM.
21280 (frexpl): Likewise.
21281 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
21283 (PARMS): Do not use macros from bp-asm.h.
21284 (__remquo): Do not use BP_SYM.
21285 (remquo): Likewise.
21286 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
21288 (PARMS): Do not use macros from bp-asm.h.
21289 (__remquof): Do not use BP_SYM.
21290 (remquof): Likewise.
21291 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
21293 (PARMS): Do not use macros from bp-asm.h.
21294 (__remquol): Do not use BP_SYM.
21295 (remquol): Likewise.
21296 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
21298 (PARMS): Do not use macros from bp-asm.h.
21301 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
21302 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
21304 (PARMS): Do not use macros from bp-asm.h.
21305 (strlen): Do not use BP_SYM.
21306 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
21308 (PARMS): Do not use macros from bp-asm.h.
21312 (__mpn_add_n): Do not use BP_SYM.
21313 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
21315 (PARMS): Do not use macros from bp-asm.h.
21318 (__mpn_addmul_1): Do not use BP_SYM.
21319 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
21322 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
21324 (PARMS): Do not use macros from bp-asm.h.
21327 (__mpn_lshift): Do not use BP_SYM.
21328 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
21330 (PARMS): Do not use macros from bp-asm.h.
21334 (memcpy): Likewise. Do not use BP_SYM.
21335 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
21336 libc_hidden_def and weak_alias.
21337 (mempcpy): Do not use BP_SYM in weak_alias.
21338 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
21340 (PARMS): Do not use macros from bp-asm.h.
21343 [!BZERO_P] (CHR): Likewise.
21344 (memset): Likewise. Do not use BP_SYM.
21345 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
21347 (PARMS): Do not use macros from bp-asm.h.
21350 (__mpn_mul_1): Do not use BP_SYM.
21351 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
21353 (PARMS): Do not use macros from bp-asm.h.
21356 (__mpn_rshift): Do not use BP_SYM.
21357 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
21359 (PARMS): Do not use macros from bp-asm.h.
21362 (strchr): Likewise. Do not use BP_SYM.
21363 (index): Do not use BP_SYM in weak_alias.
21364 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
21366 (PARMS): Do not use macros from bp-asm.h.
21369 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
21370 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
21372 (PARMS): Do not use macros from bp-asm.h.
21373 (strlen): Do not use BP_SYM.
21374 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
21376 (PARMS): Do not use macros from bp-asm.h.
21380 (__mpn_sub_n): Do not use BP_SYM.
21381 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
21383 (PARMS): Do not use macros from bp-asm.h.
21386 (__mpn_submul_1): Do not use BP_SYM.
21387 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
21389 (PARMS): Do not use macros from bp-asm.h.
21393 (__mpn_add_n): Do not use BP_SYM.
21394 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
21397 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
21399 (PARMS): Do not use macros from bp-asm.h.
21402 (memcmp): Do not use BP_SYM.
21403 (bcmp): Do not use BP_SYM in weak_alias.
21404 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
21406 (PARMS): Do not use macros from bp-asm.h.
21410 (memcpy): Likewise. Do not use BP_SYM.
21411 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
21413 (PARMS): Do not use macros from bp-asm.h.
21417 (memmove): Likewise. Do not use BP_SYM.
21418 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
21420 (PARMS): Do not use macros from bp-asm.h.
21424 (__mempcpy): Likewise. Do not use BP_SYM.
21425 (mempcpy): Do not use BP_SYM in weak_alias.
21426 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
21428 (PARMS): Do not use macros from bp-asm.h.
21431 [!BZERO_P] (CHR): Likewise.
21432 (memset): Likewise. Do not use BP_SYM.
21433 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
21435 (PARMS): Do not use macros from bp-asm.h.
21437 (strcmp): Do not use BP_SYM.
21438 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
21440 (PARMS): Do not use macros from bp-asm.h.
21443 [USE_AS_STRTOK_R] (SAVE): Likewise.
21444 (FUNCTION): Likewise. Do not use BP_SYM.
21445 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
21447 (strtok_r): Likewise.
21448 (__GI___strtok_r): Likewise.
21449 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21450 (PARMS): Do not use macros from bp-asm.h.
21453 (__mpn_lshift): Do not use BP_SYM.
21454 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21455 (PARMS): Do not use macros from bp-asm.h.
21458 (__memchr): Do not use BP_SYM.
21459 (memchr): Do not use BP_SYM in weak_alias.
21460 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21461 (PARMS): Do not use macros from bp-asm.h.
21464 (memcmp): Do not use BP_SYM.
21465 (bcmp): Do not use BP_SYM in weak_alias.
21466 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
21467 (PARMS): Do not use macros from bp-asm.h.
21470 (__mpn_mul_1): Do not use BP_SYM.
21471 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
21473 (PARMS): Do not use macros from bp-asm.h.
21476 (__rawmemchr): Do not use BP_SYM.
21477 (rawmemchr): Do not use BP_SYM in weak_alias.
21478 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21479 (PARMS): Do not use macros from bp-asm.h.
21482 (__mpn_rshift): Do not use BP_SYM.
21483 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21484 (PARMS): Do not use macros from bp-asm.h.
21485 (SIGMSK): Likewise.
21486 (__sigsetjmp): Likewise. Do not use BP_SYM.
21487 * sysdeps/i386/start.S: Do not include "bp-sym.h".
21488 (_start): Do not use BP_SYM.
21489 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
21490 (PARMS): Do not use macros from bp-asm.h.
21493 (__stpcpy): Likewise. Do not use BP_SYM.
21494 (stpcpy): Do not use BP_SYM in weak_alias.
21495 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
21497 (PARMS): Do not use macros from bp-asm.h.
21501 (__stpncpy): Likewise. Do not use BP_SYM.
21502 (stpncpy): Do not use BP_SYM in weak_alias.
21503 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21504 (PARMS): Do not use macros from bp-asm.h.
21507 (strchr): Likewise. Do not use BP_SYM.
21508 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
21510 (PARMS): Do not use macros from bp-asm.h.
21513 (__strchrnul): Likewise. Do not use BP_SYM.
21514 (strchrnul): Do not use BP_SYM in weak_alias.
21515 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
21517 (PARMS): Do not use macros from bp-asm.h.
21519 (strcspn): Do not use BP_SYM.
21520 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
21522 (PARMS): Do not use macros from bp-asm.h.
21525 (strpbrk): Likewise. Do not use BP_SYM.
21526 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
21528 (PARMS): Do not use macros from bp-asm.h.
21531 (strrchr): Likewise. Do not use BP_SYM.
21532 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
21533 (PARMS): Do not use macros from bp-asm.h.
21535 (strspn): Do not use BP_SYM.
21536 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
21537 (PARMS): Do not use macros from bp-asm.h.
21541 (FUNCTION): Likewise. Do not use BP_SYM.
21542 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
21544 (strtok_r): Likewise.
21545 (__GI___strtok_r): Likewise.
21546 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21547 (PARMS): Do not use macros from bp-asm.h.
21551 (__mpn_sub_n): Do not use BP_SYM.
21552 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
21554 (PARMS): Do not use macros from bp-asm.h.
21557 (__mpn_submul_1): Do not use BP_SYM.
21558 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
21560 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
21562 (PARMS): Do not use macros from bp-asm.h.
21567 (__clone): Do not use BP_SYM.
21568 (clone): Do not use BP_SYM in weak_alias.
21569 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
21571 (PARMS): Do not use macros from bp-asm.h.
21573 (__mmap64): Do not use BP_SYM.
21574 (mmap64): Do not use BP_SYM in weak_alias.
21575 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21576 <bp-sym.h> and <bp-asm.h>.
21577 (PARMS): Do not use macros from bp-asm.h.
21578 (__posix_fadvise64_l64): Do not use BP_SYM.
21579 * sysdeps/unix/sysv/linux/i386/semtimedop.S
21580 (PARMS): Do not use macros from bp-asm.h.
21582 (semtimedop): Do not use BP_SYM.
21583 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
21586 2013-02-21 Allan McRae <allan@archlinux.org>
21588 * manual/message.texi (Charset conversion in gettext):
21589 Move @end statement to beginning of line.
21591 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21593 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
21595 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21598 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
21599 (denorm): Likewise.
21600 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
21601 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
21603 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21605 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
21606 tail-call to the resolved function if pltexit isn't needed.
21608 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21610 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
21611 or Y being zero as being unlikely.
21612 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21615 2013-02-20 Carlos O'Donell <carlos@redhat.com>
21617 * manual/nss.texi (System Databases and Name Service Switch):
21618 Remove frobnicate @pxref.
21620 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21622 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21623 __attribute__ ((unused)) to __attribute__ ((__unused__)).
21625 2013-02-20 Petr Machata <pmachata@redhat.com>
21627 * elf/elf.h (R_ARM_TARGET1): New macro.
21628 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
21629 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
21630 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
21631 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
21632 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
21633 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
21634 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
21635 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
21636 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
21637 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
21638 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
21639 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
21640 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
21641 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
21642 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
21643 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
21644 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
21645 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
21646 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
21647 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
21648 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
21649 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
21650 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
21651 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
21652 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
21653 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
21654 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
21655 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
21656 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
21657 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
21658 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
21659 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
21660 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
21661 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
21662 (R_ARM_THM_GOT_BREL12): Likewise.
21663 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
21664 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
21665 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
21666 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
21667 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
21668 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
21669 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
21670 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
21671 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
21673 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21675 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21676 __attribute_used__ to __attribute__ ((unused)).
21678 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21680 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
21682 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
21683 comment formatting.
21684 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
21686 2013-02-19 Joseph Myers <joseph@codesourcery.com>
21689 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
21691 (ENTER): Remove both macro definitions.
21693 (CHECK_BOUNDS_LOW): Likewise.
21694 (CHECK_BOUNDS_HIGH): Likewise.
21695 (CHECK_BOUNDS_BOTH): Likewise.
21696 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
21697 (RETURN_BOUNDED_POINTER): Likewise.
21698 (RETURN_NULL_BOUNDED_POINTER): Likewise.
21699 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
21700 (POP_ERRNO_LOCATION_RETURN): Likewise.
21701 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
21702 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21703 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
21705 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21706 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
21707 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
21708 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
21709 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
21710 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
21711 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
21712 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
21713 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
21714 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
21715 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
21716 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
21717 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21718 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
21720 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21721 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
21723 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21724 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
21725 * sysdeps/i386/i586/memset.S (memset): Likewise.
21726 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
21727 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21728 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
21730 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21731 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
21732 Change uses of L(2) to L(out).
21733 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
21734 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
21735 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
21736 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21737 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
21739 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21740 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
21742 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21743 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
21744 (RETURN): Do not use macro LEAVE.
21745 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
21746 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
21747 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
21748 * sysdeps/i386/i686/memset.S (memset): Likewise.
21749 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
21750 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
21751 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21752 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
21754 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21755 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
21756 L(1_2) and L(1_3) into L(1).
21757 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21758 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
21759 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21760 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
21761 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21762 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
21763 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
21764 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21765 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
21767 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
21768 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21769 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
21770 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
21771 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
21772 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21773 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
21774 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
21775 * sysdeps/i386/strcspn.S (strcspn): Likewise.
21776 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
21777 * sysdeps/i386/strrchr.S (strrchr): Likewise.
21778 * sysdeps/i386/strspn.S (strspn): Likewise.
21779 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
21781 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21782 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
21783 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21784 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
21785 L(1_3) into L(1_1).
21786 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
21787 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21788 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
21790 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21792 2013-02-19 Jakub Jelinek <jakub@redhat.com>
21794 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
21797 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21799 * math/atest-exp.c (exp_mpn): Remove ROUND.
21800 * math/atest-exp2.c (exp_mpn): Likewise.
21801 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
21803 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
21804 * stdlib/tst-tls-atexit-lib.c: Likewise.
21805 * stdlib/tst-tls-atexit.c: Likewise.
21807 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21809 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
21810 and __attribute_alloc_size__.
21812 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21814 * include/programs/xmalloc.h: Change __attribute_alloc_size to
21815 __attribute_alloc_size__.
21816 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21817 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
21819 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21821 * include/programs/xmalloc.h: New file.
21822 * catgets/gencat.c: Include it.
21823 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
21824 * elf/pldd.c: Likewise.
21825 * iconv/iconv_charmap.c: Likewise.
21826 * iconv/iconvconfig.c: Likewise.
21827 * iconv/strtab.c: Likewise.
21828 * locale/programs/locale.c: Likewise.
21829 * locale/programs/localedef.h: Likewise.
21830 * locale/programs/simple-hash.c: Likewise.
21831 * nscd/nscd.h: Likewise.
21832 * nss/makedb.c: Likewise.
21833 * sysdeps/generic/ldconfig.h: Likewise.
21835 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21837 * Versions.def: Add GLIBC_2.18.
21838 * include/link.h (struct link_map): New member l_tls_dtor_count.
21839 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
21840 (__call_tls_dtors): Likewise.
21841 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
21842 __cxa_thread_atexit_impl.
21843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21847 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21849 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21851 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21852 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
21854 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
21856 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21857 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21859 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
21860 (tests): Add test case tst-tls-atexit.
21861 (modules-names): Add shared library for tst-tls-atexit.
21862 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
21863 (GLIBC_PRIVATE): Add __call_tls_dtors.
21864 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
21866 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
21867 * stdlib/tst-tls-atexit.c: New test case.
21868 * stdlib/tst-tls-atexit-lib.c: New test case.
21870 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
21872 * elf/Versions (ld): Add _dl_find_dso_for_object.
21873 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
21874 * elf/dl-open.c (_dl_find_dso_for_object): New function.
21875 (dl_open_worker): Use _dl_find_dso_for_object.
21876 * elf/dl-sym.c (do_sym): Likewise.
21877 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
21879 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21881 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
21882 Syntactic changes only.
21883 (_dl_runtime_profile): Do a tail-call to the resolved function.
21885 2013-02-17 Joseph Myers <joseph@codesourcery.com>
21888 * sysdeps/x86_64/bp-asm.h: Remove file.
21889 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
21890 <bp-sym.h> and <bp-asm.h>.
21891 (__clone): Do not use BP_SYM.
21892 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
21893 <bp-sym.h> and <bp-asm.h>.
21894 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21895 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
21897 (_setjmp): Do not use BP_SYM.
21898 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
21900 (setjmp): Do not use BP_SYM.
21901 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
21903 (mempcpy): Do not use BP_SYM in weak_alias.
21904 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
21906 (strchr): Do not use BP_SYM.
21907 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
21909 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
21910 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
21911 (_start): Do not use BP_SYM.
21912 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
21914 (strcat): Do not use BP_SYM.
21915 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
21917 (STRCMP): Do not use BP_SYM.
21918 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
21920 (STRCPY): Do not use BP_SYM.
21921 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
21923 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
21925 (FUNCTION): Do not use BP_SYM.
21926 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
21928 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
21930 2013-02-17 Andreas Jaeger <aj@suse.de>
21932 * time/Versions: Sort entries.
21933 * string/Versions: Likewise.
21934 * resolv/Versions: Likewise.
21935 * posix/Versions: Likewise.
21936 * iconv/Versions: Likewise.
21937 * elf/Versions: Likewise.
21938 * wcsmbs/Versions: Likewise.
21940 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21942 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
21943 loop termination condition.
21945 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
21946 variable to calculate EZ.
21949 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
21950 the lower precision input.
21952 2013-02-15 Joseph Myers <joseph@codesourcery.com>
21955 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
21956 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
21957 (run-via-rtld-prefix): Do not handle %-bp tests.
21958 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
21959 (all-object-suffixes): Remove .ob.
21960 (bppfx): Remove variable.
21961 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
21962 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
21963 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
21964 [$(build-bounded) = yes] (libtype.ob): Likewise.
21965 * Makerules (elide-routines.ob): Remove variable.
21966 (do-tests-clean): Do not handle *-bp.out.
21967 (common-mostlyclean): Do not handle *-bp and *-bp.out.
21968 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
21969 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
21970 (tests): Do not include $(tests-bp.out).
21971 (xtests): Do not include $(xtests-bp.out).
21972 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
21973 [$(build-bounded) = yes] ($(addprefix
21974 $(objpfx),$(binaries-bounded))): Remove rule.
21975 ($(objpfx)%-bp.out): Remove rule.
21976 * config.make.in (build-bounded): Remove variable.
21977 * crypt/Makefile [$(build-bounded) = yes]
21978 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
21979 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
21980 append to variable.
21981 [$(build-bounded) = yes] (install-lib): Likewise.
21982 [$(build-bounded) = yes] (generated): Likewise.
21983 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
21985 * intl/Makefile [$(build-bounded) = yes]
21986 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
21987 * math/Makefile [$(build-bounded) = yes]
21988 ($(tests:%=$(objpfx)%-bp): Likewise.
21989 * misc/Makefile [$(build-bounded) = yes]
21990 ($(objpfx)tst-tsearch-bp): Likewise.
21991 * nptl/Makeconfig (bounded-thread-library): Remove variable.
21992 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
21994 * string/Makefile (o-objects.ob): Remove variable.
21995 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
21996 (CFLAGS-.ob): Remove variable.
21997 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
21998 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
21999 both definitions of variable.
22000 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
22001 (ASFLAGS-.ob): Remove variable.
22003 2013-02-14 Joseph Myers <joseph@codesourcery.com>
22006 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
22007 Remove __BOUNDED_POINTERS__ from condition.
22008 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
22009 * string/bits/string2.h [!__NO_STRING_INLINES &&
22010 !__BOUNDED_POINTERS__]: Likewise.
22011 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
22013 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
22014 Remove conditional code.
22015 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
22016 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
22017 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
22021 * csu/libc-start.c: Do not include <bp-sym.h>.
22022 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
22023 * elf/dl-open.c: Do not include <bp-sym.h>.
22024 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
22025 * math/fegetenv.c: Do not include <bp-sym.h>.
22026 (fegetenv): Do not use BP_SYM in versioned symbols.
22027 * nptl/sysdeps/pthread/bits/libc-lockP.h
22028 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
22030 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22031 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
22032 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22033 (__pthread_mutex_destroy): Likewise.
22034 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22035 (__pthread_mutex_lock): Likewise.
22036 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22037 (__pthread_mutex_trylock): Likewise.
22038 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22039 (__pthread_mutex_unlock): Likewise.
22040 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22041 (__pthread_mutexattr_init): Likewise.
22042 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22043 (__pthread_mutexattr_destroy): Likewise.
22044 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22045 (__pthread_mutexattr_settype): Likewise.
22046 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22047 (__pthread_rwlock_init): Likewise.
22048 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22049 (__pthread_rwlock_destroy): Likewise.
22050 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22051 (__pthread_rwlock_rdlock): Likewise.
22052 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22053 (__pthread_rwlock_tryrdlock): Likewise.
22054 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22055 (__pthread_rwlock_wrlock): Likewise.
22056 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22057 (__pthread_rwlock_trywrlock): Likewise.
22058 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22059 (__pthread_rwlock_unlock): Likewise.
22060 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22061 (__pthread_key_create): Likewise.
22062 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22063 (__pthread_setspecific): Likewise.
22064 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22065 (__pthread_getspecific): Likewise.
22066 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
22068 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22069 (_pthread_cleanup_push_defer): Likewise.
22070 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22071 (_pthread_cleanup_pop_restore): Likewise.
22072 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22073 (pthread_setcancelstate): Likewise.
22074 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
22076 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
22077 (memchr): Do not use BP_SYM in weak_alias.
22078 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
22079 (fegetenv): Do not use BP_SYM in versioned symbols.
22080 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
22081 (fesetenv): Do not use BP_SYM in versioned symbols.
22082 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22083 (feupdateenv): Do not use BP_SYM in versioned symbols.
22084 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22085 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22086 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
22087 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
22088 (open64): Do not use BP_SYM in weak_alias.
22089 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
22090 (fegetenv): Do not use BP_SYM in versioned symbols.
22091 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
22092 (fesetenv): Do not use BP_SYM in versioned symbols.
22093 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22094 (feupdateenv): Do not use BP_SYM in versioned symbols.
22095 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
22096 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
22097 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
22098 (feraiseexcept): Do not use BP_SYM in versioned symbols.
22099 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22100 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22101 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
22103 (__libc_start_main): Do not use BP_SYM.
22105 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22107 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
22108 redundant return line.
22110 (denorm): Likewise.
22111 (dbl_mp): Likewise.
22112 (sub_magnitudes): Likewise.
22118 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
22120 (denorm): Likewise.
22121 (dbl_mp): Likewise.
22122 (sub_magnitudes): Likewise.
22129 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
22131 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22132 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
22135 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
22136 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
22137 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
22138 of __mul for squares.
22139 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
22141 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
22143 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
22144 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22146 2013-02-13 Joseph Myers <joseph@codesourcery.com>
22149 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
22151 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
22152 prototype or function definition. Rename ubp_* variables and
22153 parameters. Remove argv definitions conditional on
22154 [__BOUNDED_POINTERS__].
22155 * debug/backtrace.c (__backtrace): Do not use __unbounded.
22156 * elf/dl-runtime.c (_dl_fixup): Likewise.
22157 * include/set-hooks.h (RUN_HOOK): Likewise.
22158 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
22160 * string/strcpy.c (strcpy): Do not use __unbounded.
22161 * sysdeps/generic/frame.h (struct layout): Likewise.
22162 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
22163 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
22164 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
22165 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
22166 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
22167 (__backtrace): Likewise.
22168 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
22170 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22171 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22172 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22174 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
22175 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
22176 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22177 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22178 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
22179 Do not use __unbounded.
22180 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
22181 Rename __unboundedrlimits parameter to rlimits in prototype.
22182 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
22183 Do not use __unbounded.
22184 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
22185 not use __ptrvalue.
22186 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22187 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
22188 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22189 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
22190 __ptrvalue or __unbounded.
22191 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
22192 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
22194 (__new_msgctl): Do not use __ptrvalue.
22195 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
22197 (__libc_msgrcv): Do not use __ptrvalue.
22198 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
22199 startup_info): Do not use __unbounded.
22200 (__libc_start_main): Likewise. Rename ubp_* variables and
22201 parameters. Remove argv definitions conditional on
22202 [__BOUNDED_POINTERS__].
22203 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
22205 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
22207 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
22209 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
22211 (__new_shmctl): Do not use __ptrvalue.
22212 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22213 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22215 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22216 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
22217 (__libc_sigaction): Likewise.
22218 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
22219 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
22221 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22223 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
22225 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
22227 * string/mempcpy.c: Implement by calling memcpy.
22229 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22231 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
22233 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
22236 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
22237 values in the mantissa.
22239 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
22240 minimize writes to Z.
22241 (sub_magnitudes): Simplify code a bit.
22243 2013-02-12 Roland McGrath <roland@hack.frob.com>
22245 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
22246 from the message. The linker prefixes all warnings with that already.
22248 2013-02-12 Andreas Schwab <schwab@suse.de>
22251 * posix/regexec.c (extend_buffers): Add parameter min_len.
22252 (check_matching): Pass minimum needed length.
22253 (clean_state_log_if_needed): Likewise.
22254 (get_subexp): Likewise.
22255 * posix/Makefile (tests): Add bug-regex34.
22256 (bug-regex34-ENV): Define.
22257 * posix/bug-regex34.c: New file.
22260 * posix/regcomp.c (parse_bracket_exp): When looking up collating
22261 elements compare against the byte sequence of it, not its name.
22262 * posix/Makefile (tests): Add bug-regex35.
22263 (bug-regex35-ENV): Define.
22264 * posix/bug-regex35.c: New file.
22266 2013-02-11 Tom de Vries <tom@codesourcery.com>
22268 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
22270 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
22271 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
22272 (CHECK_EOL): Add undef.
22274 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
22276 * bits/stdlib-bsearch.h: New file.
22277 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
22278 * stdlib/stdlib.h: Likewise.
22280 2013-02-11 Roland McGrath <roland@hack.frob.com>
22282 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
22283 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
22285 * manual/search.texi (Array Search Function): Add missing const in
22287 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
22288 declaration to use rlim_t.
22289 (Basic Scheduling Functions): Remove erroneous const from
22290 sched_getparam prototype. Remove erroneous * from
22291 sched_get_priority_max and sched_get_priority_min prototypes.
22292 (Resource Usage): Fix summary @comment on vtimes to refer to
22293 sys/vtimes.h rather than vtimes.h.
22294 Add missing *s in vtimes prototype.
22295 (Limits on Resources): Fix ulimit prototype to return long int.
22296 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
22297 prototypes to use long int rather than double.
22298 (BSD Random): Fix initstate and setstate to use char *, not void *.
22299 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
22300 prototype to make second argument 'struct aiocb64 *const[]'.
22301 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
22302 (Status of AIO Operations): Remove erroneous const in aio_return and
22303 aio_return64 prototypes.
22304 (Synchronizing I/O): Fix sync prototype to return void.
22305 * manual/startup.texi (Suboptions): Remove an erroneous const in
22306 getsubopt prototype.
22307 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
22308 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
22309 use size_t rather than int.
22310 (Scanning All Users): Likewise for getpwent_r.
22311 (Setting Groups): Add missing const to setgroups prototype.
22312 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
22313 * manual/socket.texi (Host Names): Fix gethostbyaddr and
22314 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
22315 'const void *' rather than 'const char *'.
22316 (Host Address Functions): Likewise for inet_ntop.
22317 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
22318 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
22319 ssize_t for return value.
22320 (Sending Data): Likewise for send, sendto, sendmsg.
22321 (Socket Option Functions): Add a missing const in setsockopt prototype.
22322 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
22323 use wchar_t for the argument.
22324 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
22325 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
22327 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
22328 double/float/long double for second argument.
22329 Fix return types of significand, significandf, significandl.
22330 * manual/filesys.texi (Setting Permissions): Use mode_t for second
22331 argument in fchmod prototype.
22332 (File Owner): Use uid_t and gid_t in fchown prototype.
22333 (File Times): Add const to utimes, futimes, and lutimes prototypes.
22334 (Making Special Files): Use mode_t and dev_t in mknod prototype.
22335 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
22336 use 'const struct dirent **' as argument types to CMP function pointer
22338 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
22339 (File Times): Fix summary magic @comment for struct utimbuf and utime
22340 to refer to utime.h, not time.h.
22341 * manual/string.texi (Argz Functions): Add missing const in
22342 argz_extract and argz_next prototypes.
22343 (Finding Tokens in a String): Likewise for basename.
22344 (String/Array Comparison): Fix typo in wcscasecmp prototype.
22345 (Copying and Concatenation): Fix typo in wmemmove prototype.
22346 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
22347 (Signal Stack): Remove erroneous const in sigstack prototype.
22348 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
22350 (Simple Calendar Time): Likewise for stime.
22351 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
22353 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
22354 say sys/sysctl.h instead.
22355 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
22356 and vsyslog prototypes.
22358 2013-02-11 Tom de Vries <tom@codesourcery.com>
22360 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
22363 2013-02-11 Roland McGrath <roland@hack.frob.com>
22365 * misc/sys/mman.h: Fix typo in mremap comment.
22367 2013-02-08 Roland McGrath <roland@hack.frob.com>
22369 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
22370 the '\0' terminator.
22372 2013-02-08 Joseph Myers <joseph@codesourcery.com>
22375 * debug/segfault.c: Don't include <bp-checks.h>.
22376 * sysdeps/generic/bp-checks.h: Remove file.
22377 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
22378 (__GETDENTS): Don't use CHECK_N.
22379 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
22380 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22381 (__getgroups): Don't use CHECK_N.
22382 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
22383 (setgroups): Don't use CHECK_N.
22384 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
22385 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
22386 (__libc_msgrcv): Don't use CHECK_N.
22387 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
22388 (__libc_msgsnd): Don't use CHECK_N.
22389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
22391 (__libc_pread): Don't use CHECK_N.
22392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
22393 include <bp-checks.h>.
22394 (__libc_pread64): Don't use CHECK_N.
22395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
22396 include <bp-checks.h>.
22397 (__libc_pwrite): Don't use CHECK_N.
22398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
22399 include <bp-checks.h>.
22400 (__libc_pwrite64): Don't use CHECK_N.
22401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
22403 (__libc_pread): Don't use CHECK_N.
22404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
22405 include <bp-checks.h>.
22406 (__libc_pread64): Don't use CHECK_N.
22407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
22408 include <bp-checks.h>.
22409 (__libc_pwrite): Don't use CHECK_N.
22410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
22411 include <bp-checks.h>.
22412 (__libc_pwrite64): Don't use CHECK_N.
22413 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
22414 (do_pread): Don't use CHECK_N.
22415 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
22416 (do_pread64): Don't use CHECK_N.
22417 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
22418 (do_pwrite): Don't use CHECK_N.
22419 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
22420 (do_pwrite64): Don't use CHECK_N.
22421 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
22422 (__libc_readv): Don't use CHECK_N.
22423 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
22424 (semop): Don't use CHECK_N.
22425 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
22427 (semtimedop): Don't use CHECK_N.
22428 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
22429 (__libc_pread): Don't use CHECK_N.
22430 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
22432 (__libc_pread64): Don't use CHECK_N.
22433 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
22435 (__libc_pwrite): Don't use CHECK_N.
22436 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
22438 (__libc_pwrite64): Don't use CHECK_N.
22439 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
22441 (__libc_msgrcv): Don't use CHECK_N.
22442 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
22443 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
22444 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
22445 (__libc_writev): Don't use CHECK_N.
22447 2013-02-08 Roland McGrath <roland@hack.frob.com>
22449 * string/strcpy.c: Removed unused variable.
22451 * Makeconfig (+sysdep-includes): Define with := rather than =.
22452 Use an existing include/ subdir of each sysdeps dir before it.
22454 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22456 * nscd/connection.c (register_traced_file): Comment function.
22457 [HAVE_INOTIFY] (union __inev): Define.
22458 [HAVE_INOTIFY] (inotify_check_files): New function.
22459 [HAVE_INOTIFY] (clear_db_cache): Likewise.
22460 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
22462 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
22464 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22466 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
22467 loaded if not already and that a failure is permanent.
22469 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22472 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
22473 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
22475 2013-02-08 Joseph Myers <joseph@codesourcery.com>
22478 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
22479 (CHECK_1_NULL_OK): Likewise.
22480 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
22481 (__fxstat): Do not use CHECK_1.
22482 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
22484 (___fxstat64): Do not use CHECK_1.
22485 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
22487 (__fxstatat): Do not use CHECK_1.
22488 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
22490 (__fxstatat64): Do not use CHECK_1.
22491 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
22493 (__fxstat): Do not use CHECK_1.
22494 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
22496 (__fxstatat): Do not use CHECK_1.
22497 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22499 (__getresgid): Do not use CHECK_1.
22500 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22502 (__getresuid): Do not use CHECK_1.
22503 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
22505 (__lxstat): Do not use CHECK_1.
22506 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22508 (__old_msgctl): Do not use CHECK_1.
22509 (__new_msgctl): Likewise.
22510 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
22512 (__new_setrlimit): Do not use CHECK_1.
22513 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22515 (__old_shmctl): Do not use CHECK_1.
22516 (__new_shmctl): Likewise.
22517 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
22519 (__xstat): Do not use CHECK_1.
22520 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
22521 (__lxstat): Do not use CHECK_1.
22522 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
22524 (___lxstat64): Do not use CHECK_1.
22525 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
22526 (__old_msgctl): Do not use CHECK_1.
22527 (__new_msgctl): Likewise.
22528 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
22530 (__gettimeofday): Do not use CHECK_1.
22531 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
22532 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
22533 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
22535 (__gettimeofday): Do not use CHECK_1.
22536 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
22537 (__old_shmctl): Do not use CHECK_1_NULL_OK.
22538 (__new_shmctl): Do not use CHECK_1.
22539 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
22541 (do_sigtimedwait): Do not use CHECK_1.
22542 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
22544 (do_sigwaitinfo): Do not use CHECK_1.
22545 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
22547 (msgctl): Do not use CHECK_1.
22548 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
22550 (shmctl): Do not use CHECK_1.
22551 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
22552 (ustat): Do not use CHECK_1.
22553 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
22555 (__fxstat): Do not use CHECK_1.
22556 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
22558 (__fxstatat): Do not use CHECK_1.
22559 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
22561 (__lxstat): Do not use CHECK_1.
22562 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
22564 (__xstat): Do not use CHECK_1.
22565 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
22566 (__xstat): Do not use CHECK_1.
22567 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
22568 (___xstat64): Do not use CHECK_1.
22571 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
22573 (CHECK_BOUNDS_HIGH): Likewise.
22574 * string/strcpy.c: Do not include <bp-checks.h>.
22575 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
22577 2013-02-07 Roland McGrath <roland@hack.frob.com>
22579 * nscd/nscd-client.h (__nscd_drop_map_ref):
22580 Add __attribute__ ((unused)).
22581 * nis/nss-nisplus.h (niserr2nss): Likewise.
22583 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
22584 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
22586 * csu/libc-tls.c (init_static_tls, init_slotinfo):
22587 Remove inline keyword.
22588 * include/rounding-mode.h (round_away): Likewise.
22589 * libio/wfileops.c (adjust_wide_data): Likewise.
22590 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
22591 (__m128i_strloadu_tolower): Likewise.
22592 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
22593 (__m128i_strloadu_tolower): Likewise.
22594 * time/mktime.c (ydhms_diff): Likewise.
22595 * locale/elem-hash.h (elem_hash): Likewise.
22596 * locale/setlocale.c (setdata): Likewise.
22597 * posix/regex_internal.h (re_string_char_size_at): Likewise.
22598 (re_string_wchar_at): Likewise.
22599 (bitset_not, bitset_merge, bitset_mask): Likewise.
22600 [!(__GNUC__ > 3)] (inline): Remove macro.
22601 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
22602 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
22603 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
22604 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22605 * string/memcmp.c (memcmp_bytes): Likewise.
22606 * locale/programs/locarchive.c (compute_hashval): Likewise.
22607 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
22608 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
22609 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
22610 * nss/getent.c (print_rpc, print_protocols): Likewise.
22611 (print_passwd, print_group, print_aliases): Likewise.
22612 * nis/nss-nisplus.h (niserr2nss): Likewise.
22613 * nscd/connections.c (restart_p): Likewise.
22614 Change return type to bool.
22616 2013-02-05 Roland McGrath <roland@hack.frob.com>
22618 * Makeconfig (all-Depend-files): Add existing
22619 $(sorted-subdirs:=/Depend) files.
22620 (all-subdirs): Remove nss.
22621 * sysdeps/unix/inet/Subdirs: Add it here instead.
22622 * hesiod/Depend: New file.
22624 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
22625 instead of calling alloca.
22627 * io/lseek.c (__lseek): Rename to __libc_lseek.
22628 Define __lseek as an alias.
22630 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
22632 2013-02-04 Carlos O'Donell <carlos@redhat.com>
22634 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
22635 else clause and remove check for non-standard endianness.
22637 2013-02-04 David S. Miller <davem@davemloft.net>
22639 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22641 2013-02-04 Joseph Myers <joseph@codesourcery.com>
22644 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
22645 (__ubp_memchr): Remove prototype.
22646 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
22647 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22648 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
22649 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22650 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
22652 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
22653 (__ubp_memchr): Likewise.
22654 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
22655 (__ubp_memchr): Likewise.
22656 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
22657 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
22658 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
22659 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
22661 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22662 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
22663 (__getcwd): Do not use CHECK_STRING.
22664 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22666 (__real_chown): Do not use CHECK_STRING.
22667 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
22669 (fchownat): Do not use CHECK_STRING.
22670 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
22672 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22674 (__lchown): Do not use CHECK_STRING.
22675 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22676 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22677 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22678 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22680 include <bp-checks.h>.
22681 (truncate64): Do not use CHECK_STRING.
22682 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22684 (__real_chown): Do not use CHECK_STRING.
22685 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22687 (__lchown): Do not use CHECK_STRING.
22688 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22690 (__chown): Do not use CHECK_STRING.
22691 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
22693 (truncate64): Do not use CHECK_STRING.
22694 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
22696 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
22697 (__xmknod): Do not use CHECK_STRING.
22698 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22700 (__xmknodat): Do not use CHECK_STRING.
22701 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22702 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22704 2013-02-04 Andreas Schwab <schwab@suse.de>
22707 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
22708 * include/netdb.h: Likewise for h_errno.
22709 * elf/tst-stackguard1.c: Include <tls.h>.
22711 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
22713 * elf/link.h (struct link_map): Extend the l_addr comment.
22714 * include/link.h (struct link_map): Likewise.
22716 2013-02-01 Joseph Myers <joseph@codesourcery.com>
22719 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
22720 (BOUNDED_1): Remove macro.
22721 * debug/backtrace.c: Don't include <bp-checks.h>.
22722 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
22723 (__backtrace): Likewise.
22724 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
22726 (__backtrace): Don't use BOUNDED_1.
22727 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
22729 (__backtrace): Don't use BOUNDED_1.
22730 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
22731 (__backtrace): Don't use BOUNDED_1.
22732 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
22733 (shmat): Don't use BOUNDED_N.
22735 2013-01-31 Joseph Myers <joseph@codesourcery.com>
22738 * sysdeps/generic/bp-start.h: Remove file.
22739 * csu/libc-start.c: Don't include <bp-start.h>.
22740 (LIBC_START_MAIN): Set up __environ directly instead of using
22741 INIT_ARGV_and_ENVIRON.
22742 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
22746 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
22748 (CHECK_FCNTL): Likewise.
22749 (CHECK_N_PAGES): Likewise.
22752 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
22754 (CHECK_SIGSET_NULL_OK): Likewise.
22755 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
22757 (sigpending): Don't use CHECK_SIGSET.
22758 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
22760 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22761 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
22763 (do_sigsuspend): Don't use CHECK_SIGSET.
22764 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
22766 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
22767 (do_sigwait): Don't use CHECK_SIGSET.
22768 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
22770 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
22771 include <bp-checks.h>.
22772 (sigpending): Don't use CHECK_SIGSET.
22773 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
22774 include <bp-checks.h>.
22775 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22776 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
22778 (sigpending): Don't use CHECK_SIGSET.
22779 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
22781 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22784 * sysdeps/generic/bp-semctl.h: Remove file.
22785 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
22786 <bp-checks.h> and <bp-semctl.h>.
22787 (__old_semctl): Don't use CHECK_SEMCTL.
22788 (__new_semctl): Likewise.
22789 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
22791 (__old_semctl): Don't use CHECK_SEMCTL.
22792 (__new_semctl): Likewise.
22793 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
22794 <bp-checks.h> and <bp-semctl.h>.
22795 (__old_semctl): Don't use CHECK_SEMCTL.
22796 (__new_semctl): Likewise.
22797 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
22798 <bp-checks.h> and <bp-semctl.h>.
22799 (semctl): Don't use CHECK_SEMCTL.
22802 * Makerules (elide-bp-thunks): Remove variable.
22803 (elide-routines.oS): Don't use $(elide-bp-thunks).
22804 (elide-routines.os): Likewise.
22805 (elide-routines.o): Likewise.
22806 (elide-routines.op): Likewise.
22807 (elide-routines.og): Likewise.
22808 (objects): Don't use $(bp-thunks).
22809 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
22811 (common-generated): Do not add s-proto-bp.d.
22812 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
22815 Do not generate makefile rules for bounded-pointer thunks.
22816 * sysdeps/generic/bp-thunks.h: Remove file.
22817 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
22818 * sysdeps/unix/s-proto-bp.S: Likewise.
22821 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
22822 parts of result separately when argument is not close to line from
22823 -i to i and one part of argument is small.
22824 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22825 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22826 * math/libm-test.inc (cacos_test): Add more tests.
22827 (casin_test): Likewise.
22828 (casinh_test): Likewise.
22829 * sysdeps/i386/fpu/libm-test-ulps: Update.
22830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22832 2013-01-31 David S. Miller <davem@davemloft.net>
22834 * po/de.po: Update from translation team.
22836 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
22838 * time/tzfile.c: Include stdint.h for SIZE_MAX.
22840 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
22842 * configure.in (_AC_PROG_CC_C89): New definition.
22843 * configure: Regenerate.
22845 * configure.in (AC_PROG_CPP): New definition.
22846 * configure: Regenerate.
22848 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22850 * debug/tst-backtrace.h: New file.
22851 * debug/tst-backtrace2.c: Include tst-backtrace.h.
22852 (ret): Remove variable.
22854 (FAIL): Remove macro.
22855 (NO_INLINE): Likewise.
22856 (fn1): Use match function instead of strstr.
22857 * debug/tst-backtrace3.c: Include tst-backtrace.h.
22858 (ret): Remove variable.
22860 (FAIL): Remove macro.
22861 (NO_INLINE): Likewise.
22862 (fn): Use match function instead of strstr.
22863 * debug/tst-backtrace4.c: Include tst-backtrace.h.
22864 (ret): Remove variable.
22866 (FAIL): Remove macro.
22867 (NO_INLINE): Likewise.
22868 (handle_signal): Use match function instead of strstr.
22869 * debug/tst-backtrace5.c: Include tst-backtrace.h.
22870 (ret): Remove variable.
22872 (FAIL): Remove macro.
22873 (NO_INLINE): Likewise.
22874 (handle_signal): Use match function instead of strstr.
22876 2013-01-23 Roland McGrath <roland@hack.frob.com>
22878 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
22880 2013-01-23 David S. Miller <davem@davemloft.net>
22882 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
22883 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
22884 argument of CAS if possible.
22885 * sysdeps/sparc/sparc64/bits/atomic.h
22886 (__arch_compare_and_exchange_val_32_acq): Likewise.
22887 (__arch_compare_and_exchange_val_64_acq): Likewise.
22889 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
22891 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
22892 * sysdeps/posix/ulimit.c: ... this.
22893 Include <limits.h>.
22894 * sysdeps/unix/bsd/ulimit.c: Remove file.
22896 2013-01-23 Adam Conrad <adconrad@0c3.net>
22898 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
22899 (LDFLAGS-tst-array5): Likewise.
22901 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22904 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
22905 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
22906 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
22907 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
22909 2013-01-21 David S. Miller <davem@davemloft.net>
22911 * sysdeps/sparc/backtrace.c: New file.
22912 * sysdeps/sparc/sparc32/backtrace.h: New file.
22913 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
22914 * sysdeps/sparc/sparc64/backtrace.h: New file.
22915 * sysdeps/sparc/sparc64/backtrace.c: Delete.
22916 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
22919 2013-01-21 Andreas Schwab <schwab@suse.de>
22922 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
22925 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
22927 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
22929 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22931 2013-01-18 Joseph Myers <joseph@codesourcery.com>
22932 Mark Mitchell <mark@codesourcery.com>
22933 Tom de Vries <tom@codesourcery.com>
22934 Paul Pluzhnikov <ppluzhnikov@google.com>
22936 * debug/tst-backtrace2.c: New file.
22937 * debug/tst-backtrace3.c: Likewise.
22938 * debug/tst-backtrace4.c: Likewise.
22939 * debug/tst-backtrace5.c: Likewise.
22940 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
22941 (CFLAGS-tst-backtrace3.c): Likewise.
22942 (CFLAGS-tst-backtrace4.c): Likewise.
22943 (CFLAGS-tst-backtrace5.c): Likewise.
22944 (LDFLAGS-tst-backtrace2): Likewise.
22945 (LDFLAGS-tst-backtrace3): Likewise.
22946 (LDFLAGS-tst-backtrace4): Likewise.
22947 (LDFLAGS-tst-backtrace5): Likewise.
22948 (tests): Add new tests tst-backtrace2, tst-backtrace3,
22949 tst-backtrace4 and tst-backtrace5.
22951 2013-01-18 Anton Blanchard <anton@samba.org>
22952 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22954 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
22955 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
22956 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
22957 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
22958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22959 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
22960 "+r" and remove output regs list as redundant. Add explicit inline
22961 asm to specify register of return val to work around compiler codegen
22962 bug. Remove (int) cast on return value. Add return type parameter to
22963 use in macro so that this macro does not truncate return value for
22965 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
22966 pass to INTERNAL_VSYSCALL_NCS.
22967 (INLINE_VSYSCALL): Add 'long int' as return type to
22968 INTERNAL_VSYSCALL_NCS macro invocation.
22969 (INTERNAL_VSYSCALL): Add 'long int' as return type to
22970 INTERNAL_VSYSCALL_NCS macro invocation.
22971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22973 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22976 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
22977 Fix application of SIMD FP exception mask.
22979 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
22980 mp_no from a power of two.
22981 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
22982 __mpexp_twomm1. Use __pow_mp.
22984 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
22987 2013-01-17 David S. Miller <davem@davemloft.net>
22989 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22991 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22994 * include/complex.h: Condition contents on [!_COMPLEX_H].
22995 (__kernel_casinhf): New prototype.
22996 (__kernel_casinh): Likewise.
22997 (__kernel_casinhl): Likewise.
22998 * math/Makefile (libm_calls): Add k_casinh.
22999 * math/k_casinh.c: New file.
23000 * math/k_casinhf.c: Likewise.
23001 * math/k_casinhl.c: Likewise.
23002 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
23003 finite nonzero arguments.
23004 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
23005 finite nonzero arguments.
23006 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
23007 finite nonzero arguments.
23008 * math/s_casinh.c: Do not include <float.h>.
23009 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
23010 * math/s_casinhf.c: Do not include <float.h>.
23011 (__casinhf): Move code for finite nonzero arguments to
23013 * math/s_casinhl.c: Do not include <float.h>.
23014 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
23016 (__casinhl): Move code for finite nonzero arguments to
23018 * math/libm-test.inc (cacos_test): Add more tests.
23019 * sysdeps/i386/fpu/libm-test-ulps: Update.
23020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23022 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
23024 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
23025 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
23026 [!HAVE_MREMAP]: Remove [defined linux] case.
23027 * malloc/arena.c: Do not include <malloc-sysdep.h>.
23029 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23031 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
23033 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
23035 * elf/elf.h (R_386_SIZE32): New relocation.
23036 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
23038 (elf_machine_rela): Likewise.
23039 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23040 R_X86_64_SIZE64 and R_X86_64_SIZE32.
23042 2013-01-17 Joseph Myers <joseph@codesourcery.com>
23044 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
23045 (FP_FAST_FMA): Do not define.
23046 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
23047 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
23048 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
23049 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
23050 !_SOFT_FLOAT]: Likewise.
23051 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
23052 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
23054 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
23055 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
23056 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
23057 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
23058 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
23059 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
23062 2013-01-16 Andreas Schwab <schwab@suse.de>
23065 * include/stdlib.h (__mktemp): Add declaration.
23066 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
23067 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
23069 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23071 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
23073 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23074 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
23075 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
23077 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
23078 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
23080 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
23082 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
23083 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
23084 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
23086 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
23087 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
23089 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23091 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
23093 2013-01-15 David S. Miller <davem@davemloft.net>
23095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23096 trunc{,f} to libm-sysdep_routes.
23097 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
23100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
23101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
23103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
23105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
23106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
23107 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
23108 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
23109 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
23110 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
23111 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
23112 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
23114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23115 nearbyint{,f} to libm-sysdep_routes.
23116 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
23119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
23121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
23123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
23125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
23126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
23127 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
23129 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
23130 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
23132 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
23133 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
23134 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
23136 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23137 libc_feholdexcept and libc_fesetenv.
23139 2013-01-15 Mike Frysinger <vapier@gentoo.org>
23141 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
23143 2013-01-14 David S. Miller <davem@davemloft.net>
23145 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
23146 (SPARC_ASM_VIS2_IFUNC): Likewise.
23147 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
23148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
23149 use of 'siam' instruction.
23150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
23152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
23154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
23156 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
23157 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
23158 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
23159 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
23160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
23162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
23164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
23166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
23168 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
23169 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
23170 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
23171 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
23172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
23174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23178 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23179 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23180 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23181 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
23183 routines to libm-sysdep_routines.
23184 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23187 fdim/fdimf to libm-sysdep_routines.
23188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
23190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
23191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
23193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
23194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
23195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
23196 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
23197 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
23198 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
23199 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
23201 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23203 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
23204 to optimize copies.
23206 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
23207 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23208 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23210 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
23211 local variable MPTWO.
23212 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23215 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23217 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
23220 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23222 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
23224 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23226 * manual/pattern.texi (glob_t): Document gl_flags.
23227 (glob64_t): Likewise.
23229 2013-01-11 David S. Miller <davem@davemloft.net>
23231 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
23232 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
23233 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
23234 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
23235 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
23236 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
23237 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
23238 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
23239 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
23240 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
23241 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
23242 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
23243 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
23245 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23246 sparc V9 rather than using V8 code.
23247 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23248 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23250 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23252 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
23255 2013-01-11 Roland McGrath <roland@hack.frob.com>
23257 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
23258 not in the main loop.
23259 * configure: Regenerated.
23261 2013-01-11 Joseph Myers <joseph@codesourcery.com>
23263 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
23264 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
23266 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
23267 [!__GLIBC_HAVE_LONG_LONG] case.
23268 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
23269 condition to just #else.
23270 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
23271 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
23272 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
23273 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
23275 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
23276 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23277 #elif condition to just #else.
23278 * sysdeps/unix/sysv/linux/sys/sysmacros.h
23279 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
23280 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23281 #elif condition to just #else.
23283 2013-01-11 Steve Ellcey <sellcey@mips.com>
23285 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
23286 (EF_MIPS_ARCH_64): Fix value.
23287 (EF_MIPS_ARCH_32R2): New.
23288 (EF_MIPS_ARCH_64R2): New.
23290 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
23292 * Makeconfig (+link-pie-before-libc): New.
23293 (+link-pie-after-libc): Likewise.
23294 (+link-pie-tests): Likewise.
23295 (+link-pie): Rewritten.
23296 (link-before-libc): Remove $(config-LDFLAGS).
23297 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
23298 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
23299 (config-LDFLAGS): Renamed to ...
23300 (rtld-LDFLAGS): This.
23301 (rtld-tests-LDFLAGS): New macro.
23302 (link-libc-rpath-link): Likewise.
23303 (link-libc-tests-rpath-link): Likewise.
23304 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23305 (link-libc): Prepand $(link-libc-rpath-link).
23306 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
23307 (test-program-prefix): New macro.
23308 (test-via-rtld-prefix): Likewise.
23309 (test-program-cmd): Likewise.
23310 (host-test-program-cmd): Likewise.
23311 * Makefile ($(common-objpfx)testrun.sh): Replace
23312 $(run-program-prefix) with $(test-program-prefix).
23313 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
23315 ($(common-objpfx)shlib.lds): Likewise.
23316 (build-module-helper): Likewise.
23317 ($(common-objpfx)format.lds): Likewise.
23318 * Rules (binaries-pie-tests): New.
23319 (binaries-pie-notests): Likewise.
23320 (binaries-pie): Rewritten.
23321 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
23322 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
23323 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
23324 (make-test-out): Replace $(host-built-program-cmd) with
23325 $(host-test-program-cmd).
23326 * config.make.in (build-hardcoded-path-in-tests): New variable.
23327 * configure.in (--enable-hardcoded-path-in-tests): New configure
23329 (hardcoded_path_in_tests): New AC_SUBST.
23330 * configure: Regenerated.
23331 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
23332 $(built-program-cmd) with $(test-program-cmd).
23333 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
23334 (test_program_cmd): This.
23335 * elf/Makefile ($(objpfx)order.out): Run test with
23336 $(test-program-prefix).
23337 ($(objpfx)order2.out): Likewise.
23338 ($(objpfx)tst-initorder.out): Likewise.
23339 ($(objpfx)tst-initorder2.out): Likewise.
23340 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
23341 $(test-program-cmd).
23342 ($(objpfx)tst-array1-static.out): Likewise.
23343 ($(objpfx)tst-array2.out): Likewise.
23344 ($(objpfx)tst-array3.out): Likewise.
23345 ($(objpfx)tst-array4.out): Likewise.
23346 ($(objpfx)tst-array5.out): Likewise.
23347 ($(objpfx)tst-array5-static.out): Likewise.
23348 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
23349 $(test-program-cmd).
23350 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
23351 $(run-program-prefix) with $(test-program-prefix).
23352 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
23353 (test_program_prefix): This.
23354 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
23355 $(run-program-prefix) with $(test-program-prefix).
23356 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
23357 (test_program_prefix): This.
23358 * iconvdata/tst-tables.sh: Likewise.
23359 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
23360 $(run-program-prefix) with $(test-program-prefix).
23361 ($(objpfx)tst-translit.out): Likewise.
23362 ($(objpfx)tst-gettext2.out): Likewise.
23363 ($(objpfx)tst-gettext4.out): Likewise.
23364 ($(objpfx)tst-gettext6.out): Likewise.
23365 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
23366 (test_program_prefix): This.
23367 * intl/tst-gettext2.sh: Likewise.
23368 * intl/tst-gettext4.sh Likewise.
23369 * intl/tst-gettext6.sh: Likewise.
23370 * intl/tst-translit.sh: Likewise.
23371 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
23372 with $(test-program-cmd).
23373 * libio/Makefile ($(objpfx)test-freopen.out): Replace
23374 $(run-program-prefix) with $(test-program-prefix).
23375 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
23376 (test_program_prefix): This.
23377 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
23378 $(run-program-prefix) with $(test-program-prefix).
23379 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
23380 (test_program_prefix): This.
23381 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
23382 * posix/Makefile ($(objpfx)globtest.out): Replace
23383 $(run-via-rtld-prefix) and $(test-wrapper) with
23384 $(test-program-prefix) and $(test-via-rtld-prefix).
23385 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
23386 $(test-program-prefix).
23387 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
23388 $(host-test-program-cmd).
23389 (tst-spawn-ARGS): Likewise.
23390 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
23391 $(test-program-prefix).
23392 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
23393 (test_via_rtld_prefix): This.
23394 (test_wrapper): Renamed to ...
23395 (test_program_prefix): This.
23396 (run_program_prefix): Replaced by test_program_prefix.
23397 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
23398 (test_program_prefix): This.
23399 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
23400 with $(host-test-program-cmd).
23401 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
23402 $(run-program-prefix) with $(test-program-prefix).
23403 ($(objpfx)tst-printf.out): Likewise.
23404 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
23405 $(test-program-cmd).
23406 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
23407 (test_program_prefix): This.
23408 * stdio-common/tst-unbputc.sh: Likewise.
23409 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
23410 $(run-program-prefix) with $(test-program-prefix).
23411 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
23412 (test_program_prefix): This.
23413 * string/Makefile ($(objpfx)tst-svc.out): Replace
23414 $(built-program-cmd) with $(test-program-cmd).
23416 2013-01-11 Andreas Jaeger <aj@suse.de>
23419 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
23420 value. Sync with Linux 3.7.
23422 2013-01-10 David S. Miller <davem@davemloft.net>
23424 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
23425 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23426 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23428 2013-01-10 Roland McGrath <roland@hack.frob.com>
23430 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
23432 * configure: Regenerated.
23434 2013-01-10 David S. Miller <davem@davemloft.net>
23436 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23437 sparc V9 rather than using V8 code.
23438 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23439 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23441 2013-01-10 Roland McGrath <roland@hack.frob.com>
23443 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
23444 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
23445 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
23446 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
23447 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
23448 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
23449 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
23450 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
23451 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
23452 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
23453 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
23454 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
23455 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
23456 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
23457 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
23458 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
23459 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
23460 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
23461 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
23462 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
23463 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
23464 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
23465 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
23466 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
23467 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
23468 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
23469 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
23471 2013-01-10 David S. Miller <davem@davemloft.net>
23473 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23475 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23477 * posix/Makefile (tests-static): New variable.
23478 (tests): Add $(tests-static).
23479 (tst-exec-static-ARGS): New variable.
23480 (tst-spawn-static-ARGS): Likewise.
23481 * posix/tst-exec-static.c: New file.
23482 * posix/tst-spawn-static.c: Likewise.
23483 * posix/tst-exec.c: Support run directly.
23484 * posix/tst-spawn.c: Likewise.
23486 2013-01-10 Joseph Myers <joseph@codesourcery.com>
23488 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
23490 * math/bits/mathcalls.h (llrint): Likewise.
23491 (llround): Likewise.
23492 * stdlib/stdlib.h (struct drand48_data): Likewise.
23493 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
23494 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
23495 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
23497 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
23499 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
23500 (elf_greg_t): Likewise.
23501 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
23502 (__jmp_buf): Likewise.
23503 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
23505 (llrint): Likewise, for all definitions.
23506 (llrintl): Likewise.
23508 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
23509 Remove [__GNUC__] condition.
23510 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
23511 condition to just [__USE_ISOC99].
23512 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
23514 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23517 * sysdeps/unix/sysv/linux/x86/bits/environments.h
23518 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
23520 (_POSIX_V6_ILP32_OFF32): Likewise.
23521 (_XBS5_ILP32_OFF32): Likewise.
23522 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
23523 (__ILP32_OFFBIG_LDFLAGS): Likewise.
23525 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23527 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
23529 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
23530 doubles __mpexp_twomm1. Adjust usage.
23531 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
23534 2013-01-10 Andreas Schwab <schwab@suse.de>
23537 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
23538 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
23540 2013-01-09 David S. Miller <davem@davemloft.net>
23543 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
23544 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
23545 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
23546 (TCP_FASTOPEN): Define.
23547 (tcp_repair_opt): New structure.
23548 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
23550 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
23551 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
23552 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
23553 (tcp_cookie_transactions): New structure.
23555 2013-01-09 Anton Blanchard <anton@samba.org>
23557 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
23558 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
23559 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
23560 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
23562 2013-01-09 Joseph Myers <joseph@codesourcery.com>
23564 * include/features.h (__USE_ANSI): Remove.
23566 2013-01-09 Roland McGrath <roland@hack.frob.com>
23568 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
23570 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
23572 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
23574 * sysdeps/s390/fpu/libm-test-ulps: Update.
23576 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23578 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
23582 (denorm): Likewise.
23583 (__mp_dbl): Likewise.
23584 (__dbl_mp): Likewise.
23585 (add_magnitudes): Likewise.
23586 (sub_magnitudes): Likewise.
23592 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
23596 (denorm): Likewise.
23597 (__mp_dbl): Likewise.
23598 (__dbl_mp): Likewise.
23599 (add_magnitudes): Likewise.
23600 (sub_magnitudes): Likewise.
23606 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
23610 (denorm): Likewise.
23611 (__mp_dbl): Likewise.
23612 (__dbl_mp): Likewise.
23613 (add_magnitudes): Likewise.
23614 (sub_magnitudes): Likewise.
23621 2013-01-08 Joseph Myers <joseph@codesourcery.com>
23623 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
23624 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
23625 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
23626 2 && __USE_EXTERN_INLINES]: Likewise.
23628 2013-01-08 Andreas Jaeger <aj@suse.de>
23631 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
23633 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23634 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23636 2013-01-07 Anton Blanchard <anton@samba.org>
23638 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
23639 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23640 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
23641 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23642 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23643 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23644 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
23645 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23646 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23647 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23648 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23649 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23650 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23651 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23652 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23653 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23654 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23655 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23656 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23657 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23658 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23659 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
23660 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23661 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23662 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
23663 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23664 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23665 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23666 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
23667 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23668 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23669 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23670 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23671 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23672 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23673 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23674 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23675 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23676 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
23677 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23678 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
23679 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23680 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23682 2013-01-07 Joseph Myers <joseph@codesourcery.com>
23684 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
23685 (__MALLOC_PMT): Likewise.
23686 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
23687 [__GNUC__], only on [_LIBC].
23688 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23689 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
23690 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23691 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
23692 forward declaration.
23693 (realloc_hook_ini): Likewise.
23694 (memalign_hook_ini): Likewise.
23695 (__libc_memalign): Do not use __MALLOC_PMT in variable
23697 (__libc_valloc): Likewise.
23698 (__libc_pvalloc): Likewise.
23699 (__libc_calloc): Likewise.
23700 (__posix_memalign): Likewise.
23703 * math/s_casinh.c: Include <float.h>.
23704 (__casinh): Do not do computation with squaring and square root
23705 for large arguments.
23706 * math/s_casinhf.c: Include <float.h>.
23707 (__casinhf): Do not do computation with squaring and square root
23708 for large arguments.
23709 * math/s_casinhl.c: Include <float.h>.
23710 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
23711 (__casinhl): Do not do computation with squaring and square root
23712 for large arguments.
23713 * math/libm-test.inc (casin_test): Add more tests.
23714 (casinh_test): Likewise.
23715 * sysdeps/i386/fpu/libm-test-ulps: Update.
23716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23718 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
23720 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
23721 (__x86_64_raw_data_cache_size): Likewise.
23722 (__x86_64_data_cache_size_half): Likewise.
23723 (__x86_64_raw_data_cache_size_half): Likewise.
23724 (__x86_64_shared_cache_size): Likewise.
23725 (__x86_64_raw_shared_cache_size): Likewise.
23726 (__x86_64_shared_cache_size_half): Likewise.
23727 (__x86_64_raw_shared_cache_size_half): Likewise.
23728 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
23730 (__x86_data_cache_size): This.
23731 (__x86_64_raw_data_cache_size): Renamed to ...
23732 (__x86_raw_data_cache_size): This.
23733 (__x86_64_data_cache_size_half): Renamed to ...
23734 (__x86_data_cache_size_half): This.
23735 (__x86_64_raw_data_cache_size_half): Renamed to ...
23736 (__x86_raw_data_cache_size_half): This.
23737 (__x86_64_shared_cache_size): Renamed to ...
23738 (__x86_shared_cache_size): This.
23739 (__x86_64_raw_shared_cache_size): Renamed to ...
23740 (__x86_raw_shared_cache_size): This.
23741 (__x86_64_shared_cache_size_half): Renamed to ...
23742 (__x86_shared_cache_size_half): This.
23743 (__x86_64_raw_shared_cache_size_half): Renamed to ...
23744 (__x86_raw_shared_cache_size_half): This.
23745 * sysdeps/x86_64/memcpy.S: Updated.
23746 * sysdeps/x86_64/memset.S: Likewise.
23747 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23748 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23749 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23751 2013-01-04 David S. Miller <davem@davemloft.net>
23753 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23755 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
23757 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
23758 1 to avoid redefinition warning.
23759 (__USE_GNU): Don't define.
23760 (init_signaling_nan): Protoize.
23762 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23764 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23766 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
23767 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
23768 (__cpymn): Likewise.
23769 (norm): Remove commented code.
23770 (denorm): Likewise.
23771 (__mp_dbl): Likewise.
23773 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
23774 (__cpymn): Likewise.
23775 (norm): Remove commented code.
23776 (denorm): Likewise.
23777 (__mp_dbl): Likewise.
23780 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
23781 mp_no value for 1.0 and 2.0.
23782 (norm): Use RADIXI instead of radixi.d.
23783 (denorm): Likewise.
23784 (__mul): Use 0.0 instead of zero.d.
23785 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
23786 mp_no value for 1.0 and 2.0.
23787 (norm): Use RADIXI instead of radixi.d.
23788 (denorm): Likewise.
23789 (__mul): Use 0.0 instead of zero.d.
23791 2013-01-04 Joseph Myers <joseph@codesourcery.com>
23794 * math/s_casinh.c (__casinh): Reduce finite argument to first
23795 quadrant then set signs of results at the end.
23796 * math/s_casinhf.c (__casinhf): Likewise.
23797 * math/s_casinhl.c (__casinhl): Likewise.
23798 * math/libm-test.inc (casin_test): Add more tests.
23799 (casinh_test): Likewise.
23800 * sysdeps/i386/fpu/libm-test-ulps: Update.
23801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23803 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23805 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
23807 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
23809 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
23811 (denorm): Likewise.
23812 (__mp_dbl): Likewise.
23815 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
23816 and adjust the header comment.
23818 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
23819 variable name from declaration.
23821 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
23823 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23824 Initialize COMMON_CPUID_INDEX_7 element.
23825 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
23826 (CPUID_RTM): Likewise.
23827 (HAS_RTM): Likewise.
23828 (COMMON_CPUID_INDEX_7): New enum.
23830 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
23833 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
23834 size is zero, record memory as freed.
23836 2013-01-03 Andreas Jaeger <aj@suse.de>
23838 * po/ia.po: Add new Interlingua translation.
23840 2012-01-03 Allan McRae <allan@archlinux.org>
23842 * locale/programs/localedef.c: Fix description of '--posix' flag.
23844 2013-01-02 Joseph Myers <joseph@codesourcery.com>
23846 * NEWS: Update dates in second copyright notice.
23847 * README: Update copyright dates in example.
23848 * manual/libc.texinfo: Update copyright dates.
23849 * scripts/test-installation.pl: Update copyright date in --version
23852 * hurd/ctty-input.c: Fix copyright notice formatting.
23853 * hurd/ctty-output.c: Likewise.
23854 * hurd/dtable.c: Likewise.
23855 * hurd/hurd-raise.c: Likewise.
23856 * hurd/hurdprio.c: Likewise.
23857 * hurd/msgportdemux.c: Likewise.
23858 * misc/sys/file.h: Likewise.
23859 * misc/sys/ioctl.h: Likewise.
23860 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23861 * sysdeps/mach/hurd/chdir.c: Likewise.
23862 * sysdeps/mach/hurd/fchdir.c: Likewise.
23863 * sysdeps/mach/hurd/rename.c: Likewise.
23864 * sysdeps/mach/hurd/rmdir.c: Likewise.
23865 * sysdeps/mach/hurd/seekdir.c: Likewise.
23866 * sysdeps/mach/hurd/setsid.c: Likewise.
23867 * sysdeps/posix/wait3.c: Likewise.
23869 * All files with FSF copyright notices: Update copyright dates
23870 using scripts/update-copyrights.
23871 * intl/plural.c: Regenerated.
23872 * locale/programs/charmap-kw.h: Likewise.
23873 * locale/programs/locfile-kw.h: Likewise.
23875 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23877 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
23880 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
23881 calculation loop and add branch prediction.
23883 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
23884 check access beyond bounds of m1np.
23886 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23888 (__inv): Remove local variable MPTWO to use the global
23890 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
23891 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23893 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
23894 MP3HALFS static const.
23896 2013-01-01 David S. Miller <davem@davemloft.net>
23898 * po/ca.po: Update from translation team.
23900 2013-01-01 Joseph Myers <joseph@codesourcery.com>
23902 * scripts/update-copyrights: New file.
23903 * Makeconfig: Reformat copyright notice.
23904 * ctype/ctype.h: Likewise.
23905 * debug/swprintf_chk.c: Likewise.
23906 * elf/dl-cache.c: Likewise.
23907 * elf/dl-debug.c: Likewise.
23908 * elf/dl-object.c: Likewise.
23909 * grp/initgroups.c: Likewise.
23910 * hurd/Makefile: Likewise.
23911 * hurd/hurd/signal.h: Likewise.
23912 * hurd/hurdfault.c: Likewise.
23913 * hurd/hurdioctl.c: Likewise.
23914 * hurd/hurdlookup.c: Likewise.
23915 * hurd/intr-msg.c: Likewise.
23916 * iconv/gconv_open.c: Likewise.
23917 * libio/swprintf.c: Likewise.
23918 * locale/lc-ctype.c: Likewise.
23919 * locale/nl_langinfo.c: Likewise.
23920 * mach/Machrules: Likewise.
23921 * mach/Makefile: Likewise.
23922 * malloc/obstack.h: Likewise.
23923 * manual/Makefile: Likewise.
23924 * manual/tsort.awk: Likewise.
23925 * misc/bits/stab.def: Likewise.
23926 * nis/nis_print_group_entry.c: Likewise.
23927 * nis/nis_table.c: Likewise.
23928 * nis/nss_compat/compat-pwd.c: Likewise.
23929 * nis/nss_compat/compat-spwd.c: Likewise.
23930 * po/Makefile: Likewise.
23931 * posix/fnmatch.c: Likewise.
23932 * posix/regex.h: Likewise.
23933 * resolv/Makefile: Likewise.
23934 * resolv/nss_dns/dns-network.c: Likewise.
23935 * resolv/res_hconf.c: Likewise.
23936 * scripts/gen-sorted.awk: Likewise.
23937 * soft-fp/soft-fp.h: Likewise.
23938 * stdio-common/printf.h: Likewise.
23939 * stdlib/monetary.h: Likewise.
23940 * stdlib/random.c: Likewise.
23941 * stdlib/random_r.c: Likewise.
23942 * sysdeps/generic/Makefile: Likewise.
23943 * sysdeps/gnu/Makefile: Likewise.
23944 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23945 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23946 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23947 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23948 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23949 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23950 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23951 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23952 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23953 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23954 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23955 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23956 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23957 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23958 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
23959 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23960 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23961 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23962 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23963 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23964 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23965 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23966 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23967 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23968 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
23969 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23970 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23971 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
23972 * sysdeps/mach/hurd/errnos.awk: Likewise.
23973 * sysdeps/mach/hurd/fork.c: Likewise.
23974 * sysdeps/mach/hurd/getcwd.c: Likewise.
23975 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
23976 * sysdeps/mach/hurd/mmap.c: Likewise.
23977 * sysdeps/mach/hurd/utimes.c: Likewise.
23978 * sysdeps/mach/hurd/xmknod.c: Likewise.
23979 * sysdeps/posix/profil.c: Likewise.
23980 * sysdeps/posix/readdir_r.c: Likewise.
23981 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23982 * sysdeps/powerpc/bits/setjmp.h: Likewise.
23983 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
23984 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23985 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23986 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23987 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23988 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23989 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23990 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23991 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23992 * sysdeps/pthread/lio_listio.c: Likewise.
23993 * sysdeps/sparc/dl-procinfo.h: Likewise.
23994 * sysdeps/unix/i386/sysdep.S: Likewise.
23995 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
23996 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
23997 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
23998 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
23999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24000 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24001 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24002 * sysdeps/unix/sysv/linux/speed.c: Likewise.
24003 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24004 * sysdeps/wordsize-32/divdi3.c: Likewise.
24005 * time/sys/time.h: Likewise.
24006 * wcsmbs/Makefile: Likewise.
24008 2013-01-01 David S. Miller <davem@davemloft.net>
24010 * po/fr.po: Update from translation team.
24012 * catgets/gencat.c: Update copyright year.
24013 * csu/version.c: Likewise.
24014 * debug/catchsegv.sh: Likewise.
24015 * debug/pcprofiledump.c: Likewise.
24016 * debug/xtrace.sh: Likewise.
24017 * elf/ldconfig.c: Likewise.
24018 * elf/ldd.bash.in: Likewise.
24019 * elf/pldd.c: Likewise.
24020 * elf/sotruss.ksh: Likewise.
24021 * elf/sprof.c: Likewise.
24022 * iconv/iconv_prog.c: Likewise.
24023 * iconv/iconvconfig.c: Likewise.
24024 * locale/programs/locale.c: Likewise.
24025 * locale/programs/localedef.c: Likewise.
24026 * login/programs/pt_chown.c: Likewise.
24027 * malloc/memusage.sh: Likewise.
24028 * malloc/memusagestat.c: Likewise.
24029 * malloc/mtrace.pl: Likewise.
24030 * nscd/nscd.c: Likewise.
24031 * nss/getent.c: Likewise.
24032 * nss/makedb.c: Likewise.
24033 * posix/getconf.c: Likewise.
24035 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24037 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
24040 2012-12-30 Mike Frysinger <vapier@gentoo.org>
24042 * math/bits/mathcalls.h (modf): Use __nonnull.
24044 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24046 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
24047 (split): Use macro CN instead of the bare value.
24048 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
24050 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
24051 instead of the bare value.
24052 (power1): Likewise.
24054 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24056 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
24058 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24060 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
24062 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24063 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24064 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
24065 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24067 2012-12-28 Andreas Jaeger <aj@suse.de>
24069 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
24070 values are from Linux 3.7.
24072 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
24073 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
24075 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24077 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
24080 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
24082 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
24083 variables with preprocessor constants.
24084 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24085 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24086 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24088 2012-12-27 Bruno Haible <bruno@clisp.org>
24091 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
24094 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24096 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
24097 and use variable directly.
24098 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
24100 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24102 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
24103 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24105 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24106 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24107 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
24108 include directive. Remove local variable MPONE.
24109 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
24110 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
24111 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24113 2012-12-25 David S. Miller <davem@davemloft.net>
24115 * version.h (RELEASE): Set to "development".
24116 (VERSION): Set to "2.17.90".
24117 * NEWS: Add 2.18 section.
24119 2012-12-21 David S. Miller <davem@davemloft.net>
24121 * po/hr.po: Update from translation team.
24123 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24125 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
24127 2012-12-19 Steve Ellcey <sellcey@mips.com>
24129 * NEWS: Mention new memcpy for MIPS.
24131 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24133 * manual/contrib.texi (Contributors): Spelling correction.
24135 2012-12-15 David S. Miller <davem@davemloft.net>
24137 * po/ru.po: Update from translation team.
24139 2012-12-13 David S. Miller <davem@davemloft.net>
24141 * NEWS: Mention IFUNC testsuite enhancements.
24143 * po/pl.po: Update from translation team.
24144 * po/bg.po: Likewise.
24146 * manual/contrib.texi (Contributors): Update entries for Hongjiu
24147 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
24149 2012-12-11 David S. Miller <davem@davemloft.net>
24151 * po/sv.po: Update from translation team.
24153 * po/vi.po: Update from translation team.
24155 * po/cs.po: Update from translation team.
24157 * po/de.po: Update from translation team.
24158 * po/eo.po: Likewise.
24159 * po/nl.po: Likewise.
24161 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24164 * manual/argp.texi (Argp Helper Functions): Move node to follow
24165 Argp Parsing State.
24168 * manual/conf.texi (Limits on File System Capacity): Mention if
24169 terminating null is included in the max size.
24171 2012-12-10 Andreas Jaeger <aj@suse.de>
24173 * po/cs.po: Update from translation team.
24175 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24177 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
24178 void pointer and cast to uintptr_t.
24179 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
24181 * sysdeps/s390/s390-64/memcpy.S: Likewise.
24182 * sysdeps/s390/s390-64/memset.S: Likewise.
24184 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
24187 * menual/message.texi (Message Translation): Fix typos.
24188 (Helper programs for gettext): Likewise.
24190 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
24193 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
24196 2012-12-07 David S. Miller <davem@davemloft.net>
24198 * po/libc.pot: Update.
24200 2012-12-07 Richard Henderson <rth@redhat.com>
24203 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
24204 normal/normal case to before the switch.
24205 (_FP_DIV): Likewise.
24207 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
24208 Mike Frysinger <vapier@gentoo.org>
24210 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
24211 check for __NR_fadvise64_64.
24213 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
24215 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
24216 0, not just to plain "0" as a statement.
24217 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
24220 2012-12-06 Joseph Myers <joseph@codesourcery.com>
24222 * NEWS: Use sourceware.org in Bugzilla URL.
24224 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24227 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24229 * stdio-common/tst-put-error.c (do_test): Add newline to the
24230 padded test to ensure flush.
24232 2012-12-05 Jeff Law <law@redhat.com>
24234 * sunrpc/etc.rpc (fedfs_admin): Add entry.
24236 2012-12-05 Joseph Myers <joseph@codesourcery.com>
24238 * README: Don't refer to ports add-on as distributed separately.
24239 Mention AArch64 in list of systems supported in the ports add-on.
24241 * LICENSES: Add more non-FSF copyright and license notices.
24243 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
24246 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
24248 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
24249 10000 as width of padded output.
24251 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24253 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
24255 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
24256 variable LX with __attribute__ ((unused)).
24257 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24259 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24260 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24261 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
24262 with __attribute__ ((unused)).
24264 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
24266 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
24268 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24270 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
24271 (CFLAGS-nldbl-acos.c): New variable.
24272 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
24273 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
24274 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
24275 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
24276 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
24277 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
24278 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
24279 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
24280 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
24281 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
24282 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
24283 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
24284 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
24285 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
24286 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
24287 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
24288 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
24289 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
24290 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
24291 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
24292 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
24293 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
24294 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
24295 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
24296 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
24297 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
24298 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
24299 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
24300 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
24301 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
24302 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
24303 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
24304 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
24305 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
24306 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
24307 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
24308 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
24309 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
24310 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
24311 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
24312 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
24313 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
24314 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
24315 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
24316 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
24317 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
24318 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
24319 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
24320 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
24321 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
24322 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
24323 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
24324 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
24325 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
24326 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
24327 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
24328 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
24329 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
24330 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
24331 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
24332 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
24333 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
24334 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
24335 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
24336 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
24337 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
24338 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
24339 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
24340 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
24341 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
24342 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
24343 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
24344 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
24345 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
24346 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
24347 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
24348 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
24349 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
24350 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
24351 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
24352 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
24353 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
24354 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
24355 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
24356 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
24357 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
24358 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
24359 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
24360 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
24361 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
24362 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
24363 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
24364 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
24365 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
24366 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
24367 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
24368 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
24370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24371 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24374 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
24375 whole low double instead of just low 47 bits when splitting values
24378 2012-12-03 Allan McRae <allan@archlinux.org>
24380 * manual/stdio.texi (Predefined Printf Handlers): Remove
24381 @hsep and @vsep usage.
24383 2012-12-03 Mike Frysinger <vapier@gentoo.org>
24385 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
24386 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
24388 2012-12-03 Jeff Law <law@redhat.com>
24390 * time/sys/time.h (settimeofday): Do not mark TV argument
24393 2012-12-01 Mike Frysinger <vapier@gentoo.org>
24395 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
24396 when currently writing and seek to current position when not.
24397 * libio/Makefile (tests): Remove bug-fclose1.
24398 * libio/bug-fclose1.c: Delete.
24400 2012-12-01 Joseph Myers <joseph@codesourcery.com>
24402 * manual/arith.texi (feenableexcept): Fix typo.
24403 (fedisableexcept): Likewise.
24405 2012-11-30 Roland McGrath <roland@hack.frob.com>
24407 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
24408 second, differently-typed declaration, rather than a cast.
24410 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24412 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
24413 * include/rpc/svc.h: ... here.
24415 2012-11-30 Aurelien Jarno <aurel32@debian.org>
24418 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
24419 depending n and resplen2 to catch cases where answer
24422 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
24424 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
24425 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
24427 2012-11-29 Mike Frysinger <vapier@gentoo.org>
24429 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
24431 2012-11-29 Roland McGrath <roland@hack.frob.com>
24433 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
24435 2012-11-28 Jeff Law <law@redhat.com>
24438 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
24439 dataset_temporary. Track alloca usage into alloca_used.
24440 If dataset is large allocate and release it via malloc/free.
24442 2012-06-04 Florian Weimer <fweimer@redhat.com>
24445 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
24447 2012-11-28 David S. Miller <davem@davemloft.net>
24449 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24451 2012-11-28 Joseph Myers <joseph@codesourcery.com>
24454 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
24455 of pi/2 rounded to nearest to 64 bits.
24456 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
24457 nearest to 64 bits.
24458 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
24461 2012-11-28 Jeff Law <law@redhat.com>
24462 Martin Osvald <mosvald@redhat.com>
24465 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
24466 * sunrpc/svc.c: Include time.h.
24467 (__svc_accept_failed): New function.
24468 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
24469 any reason other than EINTR, call __svc_accept_failed.
24470 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
24471 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
24473 2012-11-28 Andreas Schwab <schwab@suse.de>
24475 * scripts/abilist.awk: Also handle indirect functions in .opd
24478 2012-11-28 Joseph Myers <joseph@codesourcery.com>
24481 * sysdeps/x86/fpu/powl_helper.c: New file.
24482 * sysdeps/x86/fpu/Makefile: Likewise.
24483 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
24485 (__ieee754_powl): Use __powl_helper for finite arguments except
24486 integer exponents below 8.
24487 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
24489 (__ieee754_powl): Use __powl_helper for finite arguments except
24490 integer exponents below 8.
24491 * math/libm-test.inc (pow_test): Add more tests and enable some
24492 previously disabled tests.
24493 * sysdeps/i386/fpu/libm-test-ulps: Update.
24494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24496 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24497 Carlos O'Donell <carlos_odonell@mentor.com>
24499 * nss/makedb.c (is_prime): Assert that input is odd and greater
24500 than 4. Note that fact in a comment too.
24501 (next_prime): Add 4 to input.
24503 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24506 * libio/Makefile (tests): Add test case tst-fwrite-error.
24507 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
24508 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
24509 * libio/tst-fwrite-error.c: New test case.
24511 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
24513 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
24514 before casting to void *.
24515 * include/libc-internal.h (__pointer_type): New macro.
24516 (__integer_if_pointer_type_sub): Likewise.
24517 (__integer_if_pointer_type): Likewise.
24518 (cast_to_integer): Likewise.
24519 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
24520 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
24521 before casting to atomic64_t.
24522 (atomic_exchange_acq): Likewise.
24523 (__arch_exchange_and_add_body): Likewise.
24524 (__arch_add_body): Likewise.
24525 (atomic_add_negative): Likewise.
24526 (atomic_add_zero): Likewise.
24528 2012-11-26 Joseph Myers <joseph@codesourcery.com>
24530 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
24531 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
24532 (add_fdes): Likewise.
24533 (linear_search_fdes): Likewise.
24534 (binary_search_unencoded_fdes): Likewise.
24536 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
24538 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
24540 2012-11-24 Adam Conrad <adconrad@0c3.net>
24542 * configure.in: Autodetect C++ header directories.
24543 * configure: Regenerated.
24545 2012-11-23 Mike Frysinger <vapier@gentoo.org>
24547 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
24549 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
24551 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24553 2012-11-22 Joseph Myers <joseph@codesourcery.com>
24555 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
24556 LDBL_MANT_DIG == 106]: Disable some tests.
24557 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24559 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24563 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
24564 input for small inputs. Return +/- pi/2 for large inputs.
24565 * math/libm-test.inc (atan_test): Add more tests.
24567 * sysdeps/generic/unwind-dw2-fde-glibc.c
24568 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
24569 __attribute__ ((unused)).
24572 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
24573 x * y if x and y are nonzero and z is zero.
24576 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
24577 nonzero exponents with absolute value below 0x1p-117 to +/-
24581 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
24582 up arguments below 2**-450, not just those below 2**-500.
24583 * math/libm-test.inc (hypot_test): Add another test.
24586 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
24587 Return a+b for ratio over 2**120, not 2**60.
24588 * math/libm-test.inc (hypot_test): Add another test.
24590 * math/libm-test.inc (clog_test): Use
24591 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
24592 (clog10_test): Likewise.
24595 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
24597 2012-11-22 Andreas Schwab <schwab@suse.de>
24599 * sysdeps/i386/fpu/libm-test-ulps: Update.
24601 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
24603 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
24604 printf output with newline.
24606 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
24609 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
24610 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
24611 -z nodlopen, -z initfirst and -z execstack support.
24612 * configure: Regenerated.
24614 * elf/elf.h (DF_1_NODIRECT): New macro.
24615 (DF_1_IGNMULDEF): Likewise.
24616 (DF_1_NOKSYMS): Likewise.
24617 (DF_1_NOHDR): Likewise.
24618 (DF_1_EDITED): Likewise.
24619 (DF_1_NORELOC): Likewise.
24620 (DF_1_SYMINTPOSE): Likewise.
24621 (DF_1_GLOBAUDIT): Likewise.
24622 (DF_1_SINGLETON): Likewise.
24623 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
24624 DT_1_SUPPORTED_MASK bits.
24625 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
24627 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
24629 * sysdeps/unix/make-syscalls.sh: Document prefixes.
24631 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
24633 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
24636 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
24637 (sendmmsg): Move declarations...
24638 * socket/sys/socket.h: ... here.
24639 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
24640 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
24642 * socket/recvmmsg.c: ... this new file.
24643 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
24644 (sendmmsg): Rename to __sendmmsg, create weak alias and make
24645 definition of __sendmmsg hidden.
24646 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
24647 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
24648 Move ENOSYS stub into and include it from...
24649 * socket/sendmmsg.c: ... this new file.
24650 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
24651 (sysdep_routines): Move recvmmsg and sendmmsg...
24652 * socket/Makefile (routines): ... here.
24653 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
24654 (GLIBC_PRIVATE): Add __sendmmsg.
24655 * include/sys/socket.h (__sendmmsg): Add declarations.
24656 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
24659 2012-11-20 Joseph Myers <joseph@codesourcery.com>
24661 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
24662 variable I1 with __attribute__ ((unused)).
24663 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24665 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24667 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
24668 DUMMY variables with __attribute__ ((unused)).
24670 * bits/byteswap.h: Include <bits/types.h>.
24671 (__bswap_64): Use __uint64_t instead of unsigned long long int.
24673 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24675 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
24676 string_t. Do not manually set errno.
24677 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
24678 length with __strnlen. Make sure to both set errno and return it on
24681 2012-11-19 David S. Miller <davem@davemloft.net>
24683 With help from Joseph Myers.
24684 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
24685 very large arguments properly.
24686 * math/libm-test.inc (atan_test): New tests.
24687 (atan2_test): New tests.
24688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24689 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24691 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24694 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
24697 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
24698 [POSIX] (EADDRNOTAVAIL): Likewise.
24699 [POSIX] (EAFNOSUPPORT): Likewise.
24700 [POSIX] (EALREADY): Likewise.
24701 [POSIX] (ECONNABORTED): Likewise.
24702 [POSIX] (ECONNREFUSED): Likewise.
24703 [POSIX] (ECONNRESET): Likewise.
24704 [POSIX] (EDESTADDRREQ): Likewise.
24705 [POSIX] (EDQUOT): Likewise.
24706 [POSIX] (EHOSTUNREACH): Likewise.
24707 [POSIX] (EIDRM): Likewise.
24708 [POSIX] (EISCONN): Likewise.
24709 [POSIX] (ELOOP): Likewise.
24710 [POSIX] (EMULTIHOP): Likewise.
24711 [POSIX] (ENETDOWN): Likewise.
24712 [POSIX] (ENETUNREACH): Likewise.
24713 [POSIX] (ENOBUFS): Likewise.
24714 [POSIX] (ENODATA): Likewise.
24715 [POSIX] (ENOLINK): Likewise.
24716 [POSIX] (ENOMSG): Likewise.
24717 [POSIX] (ENOPROTOOPT): Likewise.
24718 [POSIX] (ENOSR): Likewise.
24719 [POSIX] (ENOSTR): Likewise.
24720 [POSIX] (ENOTCONN): Likewise.
24721 [POSIX] (ENOTSOCK): Likewise.
24722 [POSIX] (EOPNOTSUPP): Likewise.
24723 [POSIX] (EOVERFLOW): Likewise.
24724 [POSIX] (EPROTO): Likewise.
24725 [POSIX] (EPROTONOSUPPORT): Likewise.
24726 [POSIX] (EPROTOTYPE): Likewise.
24727 [POSIX] (ESTALE): Likewise.
24728 [POSIX] (ETIME): Likewise.
24729 [POSIX] (ETXTBSY): Likewise.
24730 [POSIX] (EWOULDBLOCK): Likewise.
24731 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
24732 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
24733 [POSIX] (SEEK_CUR): Likewise.
24734 [POSIX] (SEEK_END): Likewise.
24735 [POSIX || UNIX98] (mode_t): Do not require.
24736 [POSIX] (off_t): Likewise.
24737 [POSIX] (pid_t): Likewise.
24738 [POSIX] (sys/stat.h): Do not allow header.
24739 [POSIX] (unistd.h): Likewise.
24740 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
24741 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
24742 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
24743 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
24745 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
24746 sigevent): Specify elements.
24747 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
24749 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
24750 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
24752 * conform/data/cpio.h-data [POSIX]: Disable whole file.
24753 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
24754 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
24755 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
24756 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
24757 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
24758 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
24759 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
24760 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
24761 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
24762 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
24763 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
24764 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
24765 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
24767 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
24769 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
24771 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
24773 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
24774 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
24775 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
24776 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
24777 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
24778 Specify lower bound on value.
24779 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
24780 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
24781 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
24782 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
24783 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
24784 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
24785 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
24786 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
24788 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
24790 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
24791 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
24792 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
24793 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
24794 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
24795 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
24796 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
24797 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
24798 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
24799 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
24800 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
24801 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
24802 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
24803 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
24804 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
24805 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
24807 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
24809 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
24810 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
24811 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
24812 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
24813 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
24814 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
24816 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
24817 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
24818 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
24819 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
24820 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
24821 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
24822 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
24824 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
24825 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
24826 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
24827 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
24828 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
24829 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
24830 specify as optional.
24831 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
24832 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
24833 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
24834 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
24835 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
24836 [XPG3] (NL_LANGMAX): Likewise.
24837 [POSIX || XPG3] (NL_MSGMAX): Likewise.
24838 [POSIX || XPG3] (NL_NMAX): Likewise.
24839 [POSIX || XPG3] (NL_SETMAX): Likewise.
24840 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
24841 [XPG3] (NZERO): Likewise.
24842 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
24843 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
24844 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
24845 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
24846 (REG_ERANGE): Expect.
24847 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
24849 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
24850 Use (void) in prototype.
24851 [POSIX] (*_t): Allow.
24852 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
24853 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
24854 (WRDE_BADVAL): Expect.
24856 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
24858 [XPG3 || XPG4] (O_RSYNC): Likewise.
24859 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
24861 [XPG3 || XPG4] (pthread_sigmask): Likewise.
24862 [XPG3 || XPG4] (sigqueue): Likewise.
24863 [XPG3 || XPG4] (sigtimedwait): Likewise.
24864 [XPG3 || XPG4] (sigwaitinfo): Likewise.
24865 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
24866 [XPG3 || XPG4] (vsnprintf): Likewise.
24867 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
24869 [XPG3 || XPG4] (blksize_t): Likewise.
24870 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
24872 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
24873 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24874 [XPG3 || XPG4] (struct itimerspec): Likewise.
24875 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
24876 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
24877 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
24878 [XPG3 || XPG4] (clockid_t): Likewise.
24879 [XPG3 || XPG4] (timer_t): Likewise.
24880 [XPG3 || XPG4] (clock_getres): Likewise.
24881 [XPG3 || XPG4] (clock_gettime): Likewise.
24882 [XPG3 || XPG4] (clock_settime): Likewise.
24883 [XPG3 || XPG4] (nanosleep): Likewise.
24884 [XPG3 || XPG4] (timer_create): Likewise.
24885 [XPG3 || XPG4] (timer_delete): Likewise.
24886 [XPG3 || XPG4] (timer_gettime): Likewise.
24887 [XPG3 || XPG4] (timer_getoverrun): Likewise.
24888 [XPG3 || XPG4] (timer_settime): Likewise.
24889 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
24890 [XPG3 || XPG4] (getlogin_r): Likewise.
24891 [XPG3 || XPG4] (pread): Likewise.
24892 [XPG3 || XPG4] (pthread_atfork): Likewise.
24893 [XPG3 || XPG4] (pwrite): Likewise.
24896 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
24899 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24901 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
24902 finalizing MALLSTREAM.
24904 * sysdeps/mach/hurd/syncfs.c: New file.
24906 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24909 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
24910 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
24911 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
24912 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
24913 (_nss_dns_gethostbyname4_r): Likewise.
24914 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
24915 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
24917 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
24920 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
24922 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
24924 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
24925 * elf/cache.c (print_entry): Print ",AArch64" for
24928 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
24929 * elf/cache.c (print_entry): Print ",hard-float" for
24932 2012-11-18 David S. Miller <davem@davemloft.net>
24934 With help from Joseph Myers.
24935 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
24937 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
24939 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
24940 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
24942 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
24943 * math/libm-test.inc (y0_test): New tests.
24944 (y1_test): New tests.
24945 * sysdeps/i386/fpu/libm-test-ulps: Update.
24946 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24947 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24949 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
24951 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
24953 * configure: Regenerated.
24955 2012-11-17 David S. Miller <davem@davemloft.net>
24958 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
24959 nonzero exponents with absolute value below 0x1p-128 to +/-
24962 2012-11-17 Joseph Myers <joseph@codesourcery.com>
24964 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
24966 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
24968 * posix/getconf-speclist.c: New file.
24969 * posix/posix-envs.def: Likewise.
24970 * posix/confstr.c (START_ENV_GROUP): New macro.
24971 (END_ENV_GROUP): Likewise.
24972 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24973 (KNOWN_PRESENT_ENV_STRING): Likewise.
24974 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24975 (UNKNOWN_ENVIRONMENT): Likewise.
24976 (confstr): Include posix-envs.def instead of handling
24977 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
24978 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
24979 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
24980 (END_ENV_GROUP): Likewise.
24981 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24982 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24983 (UNKNOWN_ENVIRONMENT): Likewise.
24984 (__sysconf): Include posix-envs.def instead of handling associated
24985 cases directly here.
24986 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
24987 preprocessing getconf-speclist.c rather than running getconf or
24988 generating empty file.
24990 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
24992 * scripts/check-local-headers.sh: Ignore 'mach' headers.
24994 2012-11-16 Andrej Lajovic <natrij@gmail.com>
24997 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
24999 2012-11-16 David S. Miller <davem@davemloft.net>
25001 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
25002 smaller than LDBL_EPSILON/2.0L, just return xm1.
25004 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
25006 * elf/tst-array1.c (init): Set constructor priority to 1000.
25007 (fini): Set destructor priority to 1000.
25008 * elf/tst-array2dep.c: Likewise.
25010 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25013 * libio/fileops.c (_IO_new_file_write): Correctly return error.
25014 (_IO_new_file_xsputn): Also return EOF if none of the input
25015 data was written when overflow failed.
25016 * libio/iopadn.c (_IO_padn): Likewise.
25017 * libio/iowpadn.c (_IO_wpadn): Likewise.
25018 * stdio-common/tst-put-error.c: Add copyright notice.
25019 (do_test): Add case for printing padded string.
25020 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
25021 _IO_padn returned error.
25022 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
25023 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
25026 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25028 * libio/libioP.h: Add comment note that the references to C++
25029 bits are now obsolete.
25031 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25033 * math/libm-test.inc (check_complex): Use asprintf.
25035 2012-11-14 Joseph Myers <joseph@codesourcery.com>
25037 * debug/pcprofiledump.c (print_version): Update copyright year.
25038 * malloc/memusagestat.c (print_version): Likewise.
25040 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
25043 * elf/Makefile (tests): Add tst-audit8.
25044 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
25045 ($(objpfx)tst-audit8.out): New target.
25046 (tst-audit8-ENV): New variable.
25047 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
25048 audit if l_reloc_result is NULL.
25049 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
25050 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
25051 * elf/tst-audit8.c: New file.
25053 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25055 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
25056 * misc/Makefile (CFLAGS-select.c): Define.
25057 * posix/Makefile (CFLAGS-pause.c): Define.
25059 2012-11-13 David S. Miller <davem@davemloft.net>
25061 * crypt/Makefile: Move test targets after toplevel Rules
25062 inclusion. Grab any necessary sysdep routines when linking.
25063 * crypt/md5.c (md5_process_block): Remove define, we will always
25064 name it __md5_process_block.
25065 (md5_finish_ctx): Update md5_process_block call.
25066 (md5_stream): Likewise.
25067 (md5_process_bytes): Likewise.
25068 (md5_process_block): Rename to __md5_process_block and move to ...
25069 * crypt/md5-block.c: ... here.
25070 * crypt/sha256.c (sha256_process_block): Move to ...
25071 * crypt/sha256-block.c: ... here.
25072 * crypt/sha512.c (sha512_process_block): Move to ...
25073 * crypt/sha512-block.c: ... here.
25074 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
25076 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
25077 * sysdeps/sparc/sparc64/multiarch/Makefile
25078 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
25080 (localedef-aux): Add md5 crypto assembler when in locale subdir.
25081 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
25083 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
25084 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
25085 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
25086 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
25087 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
25088 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
25089 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
25090 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
25091 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
25093 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
25094 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
25096 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
25098 2012-11-13 Joseph Myers <joseph@codesourcery.com>
25100 * timezone/tzselect.ksh: Update from tzcode git revision
25101 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
25102 * timezone/zdump.c: Likewise.
25103 * timezone/zic.c: Likewise.
25104 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
25105 in TZVERSION setting, not $(PKGVERSION).
25106 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
25107 REPORT_BUGS_TO settings.
25110 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
25113 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25115 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
25116 detection to immediately after _FP_ROUND().
25117 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
25120 2012-11-11 David S. Miller <davem@davemloft.net>
25122 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
25124 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
25125 __close rather than their public counterparts.
25127 2012-11-10 Joseph Myers <joseph@codesourcery.com>
25129 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
25131 [UNIX98] (sem_timedwait): Do not expect.
25132 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
25133 [XPG4 || UNIX98] (sockatmark): Do not expect.
25134 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
25135 (clock_getcpuclockid): Do not expect.
25136 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
25137 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
25139 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
25140 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
25141 [UNIX98] (vwscanf): Likewise.
25142 [UNIX98] (vswscanf): Likewise.
25144 2012-11-09 Joseph Myers <joseph@codesourcery.com>
25146 * timezone/version.h: Remove file.
25147 * timezone/README: Do not refer to version.h.
25148 * timezone/Makefile ($(objpfx)zic.o): New dependency on
25149 $(objpfx)version.h.
25150 ($(objpfx)zdump.o): Likewise.
25151 ($(objpfx)version.h): New target.
25153 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
25155 * timezone/README: Don't mention modification to tzselect.ksh.
25156 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
25157 work on unmodified tzselect.ksh. Substitute version numbers in
25160 * Makefile (format-me): Remove.
25161 (INSTALL): Adjust indentation. Use commands directly instead of
25162 using $(format-me).
25164 * aclocal.m4 (ACX_PKGVERSION): New macro.
25165 (ACX_BUGURL): Likewise.
25166 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
25167 (PKGVERSION): New AC_DEFINE_UNQUOTED.
25168 (REPORT_BUGS_TO): Likewise.
25169 * configure: Regenerated.
25170 * config.h.in (PKGVERSION): New macro.
25171 (REPORT_BUGS_TO): Likewise.
25172 * config.make.in (PKGVERSION): New variable.
25173 (PKGVERSION_TEXI): Likewise.
25174 (REPORT_BUGS_TO): Likewise.
25175 (REPORT_BUGS_TEXI): Likewise.
25176 * Makefile (format-me): Use -I$(common-objpfx)manual.
25177 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
25178 ($(common-objpfx)manual/%): New target.
25179 (manual/%): Remove target.
25180 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
25181 (print_version): Use PKGVERSION.
25182 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
25183 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
25184 and REPORT_BUGS_TO.
25185 ($(objpfx)xtrace): Likewise.
25186 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
25187 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
25188 (print_version): Use PKGVERSION.
25189 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
25190 (do_version): Use PKGVERSION.
25191 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
25193 (common-ldd-rewrite): Likewise.
25194 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
25195 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
25196 (print_version): Use PKGVERSION.
25197 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
25198 * elf/pldd.c (argp_program_bug_address): Remove variable.
25199 (more_help): New function.
25200 (argp): Use more_help.
25201 (print_version): Use PKGVERSION.
25202 * elf/sln.c (main): Use PKGVERSION.
25203 (usage): Use REPORT_BUGS_TO.
25204 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
25205 (top level): Use PKGVERSION.
25206 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
25207 (print_version): Use PKGVERSION.
25208 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
25209 (print_version): Use PKGVERSION.
25210 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
25211 (print_version): Use PKGVERSION.
25212 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
25213 (print_version): Use PKGVERSION.
25214 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
25215 (print_version): Use PKGVERSION.
25216 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
25217 (print_version): Use PKGVERSION.
25218 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
25220 ($(objpfx)memusage): Likewise.
25221 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
25222 (do_version): Use PKGVERSION.
25223 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
25224 (print_version): Use PKGVERSION.
25225 * malloc/mtrace.pl ($PACKAGE): Remove variable.
25226 ($PKGVERSION): New variable.
25227 ($REPORT_BUGS_TO): Likewise.
25228 (usage): Use $REPORT_BUGS_TO.
25229 (top level): Use $PKGVERSION.
25230 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
25231 ($(objpfx)pkgvers.texi): New rule.
25232 ($(objpfx)stamp-pkgvers): Likewise.
25233 * manual/install.texi: Include pkgvers.texi.
25234 (--with-pkgversion): Document new configure option.
25235 (--with-bugurl): Likewise.
25236 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
25237 than necessarily for this particular distribution. Use
25238 REPORT_BUGS_TO for where to report bugs.
25239 * INSTALL: Regenerated.
25240 * manual/libc.texinfo: Include pkgvers.texi.
25241 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
25242 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
25243 (print_version): Use PKGVERSION.
25244 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
25245 (print_version): Use PKGVERSION.
25246 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
25247 (print_version): Use PKGVERSION.
25248 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
25249 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
25251 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
25252 (print_version): Use PKGVERSION.
25253 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
25254 (print_version): Use PKGVERSION.
25255 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
25258 * timezone/checktab.awk: Update from tzcode 2012i.
25259 * timezone/ialloc.c: Likewise.
25260 * timezone/private.h: Likewise.
25261 * timezone/scheck.c: Likewise.
25262 * timezone/tzfile.h: Likewise.
25263 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
25264 (TZVERSION): Hardcode tzcode version number.
25265 * timezone/zdump.c: Update from tzcode 2012i.
25266 * timezone/zic.c: Likewise.
25267 * timezone/version.h: New file.
25268 * timezone/README: Describe version.h. Update upstream location.
25271 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
25272 (mktemp): Enable declaration.
25273 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
25274 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
25275 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
25276 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
25278 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
25280 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
25282 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
25284 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
25286 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
25290 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
25291 offset in buffer as u_int32_t not u_long. Consistently use memcpy
25292 for copies of such integer values.
25293 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25294 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25296 2012-11-09 Andreas Jaeger <aj@suse.de>
25298 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
25299 definitions and declarations that are provided by
25300 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25302 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25304 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
25305 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
25306 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
25309 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25311 * elf/elf.h: Update comment before AArch64 relocations.
25313 2012-11-07 David S. Miller <davem@davemloft.net>
25315 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
25316 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25317 (__start_context): Declare.
25318 (__makecontext_ret): Delete.
25319 (__makecontext): Hook up __start_context instead of
25321 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
25322 (sysdep_routines): Add __start_context when in stdlib.
25324 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25326 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
25327 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
25328 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
25330 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
25331 (READELF): New variable. Use it instead of hardcoded "readelf".
25333 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
25335 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
25336 * sysdeps/x86/Makefile: Here.
25337 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
25338 * sysdeps/x86/tst-xmmymm.sh: This.
25340 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25342 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
25344 [UNIX98] (pthread_barrier_t): Do not expect.
25345 [UNIX98] (pthread_barrierattr_t): Likewise.
25346 [UNIX98] (pthread_spinlock_t): Likewise.
25347 [UNIX98] (pthread_barrier_destroy): Likewise.
25348 [UNIX98] (pthread_barrier_init): Likewise.
25349 [UNIX98] (pthread_barrier_wait): Likewise.
25350 [UNIX98] (pthread_barrierattr_destroy): Likewise.
25351 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
25352 [UNIX98] (pthread_barrierattr_init): Likewise.
25353 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
25354 [UNIX98] (pthread_getcpuclockid): Likewise.
25355 [UNIX98] (pthread_mutex_timedlock): Likewise.
25356 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
25357 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
25358 [UNIX98] (pthread_sigmask): Likewise.
25359 [UNIX98] (pthread_spin_destroy): Likewise.
25360 [UNIX98] (pthread_spin_init): Likewise.
25361 [UNIX98] (pthread_spin_lock): Likewise.
25362 [UNIX98] (pthread_spin_trylock): Likewise.
25363 [UNIX98] (pthread_spin_unlock): Likewise.
25364 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
25366 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
25367 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
25368 [XPG3 || XPG4] (pthread_cond_t): Likewise.
25369 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
25370 [XPG3 || XPG4] (pthread_key_t): Likewise.
25371 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
25372 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
25373 [XPG3 || XPG4] (pthread_once_t): Likewise.
25374 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
25375 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
25376 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
25377 [XPG3 || XPG4] (pthread_t): Likewise.
25379 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
25381 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
25383 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
25384 Change function return type to int.
25386 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
25387 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
25388 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
25389 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
25390 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
25391 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
25392 [!POSIX] (posix_madvise): Likewise.
25393 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
25395 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
25396 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
25397 (mode_t): Likewise.
25398 (posix_mem_offset): Likewise.
25399 (posix_typed_mem_get_info): Likewise.
25400 (posix_typed_mem_open): Likewise.
25402 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
25403 Change condition to [XOPEN2K8].
25405 * conform/conformtest.pl: Preprocess allow-header data with -x c
25406 instead of from stdin.
25407 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
25408 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
25409 [C99-based standards] (cerfc): Likewise.
25410 [C99-based standards] (cexp2): Likewise.
25411 [C99-based standards] (cexpm1): Likewise.
25412 [C99-based standards] (clog10): Likewise.
25413 [C99-based standards] (clog1p): Likewise.
25414 [C99-based standards] (clog2): Likewise.
25415 [C99-based standards] (clgamma): Likewise.
25416 [C99-based standards] (ctgamma): Likewise.
25417 [C99-based standards] (cerff): Likewise.
25418 [C99-based standards] (cerfcf): Likewise.
25419 [C99-based standards] (cexp2f): Likewise.
25420 [C99-based standards] (cexpm1f): Likewise.
25421 [C99-based standards] (clog10f): Likewise.
25422 [C99-based standards] (clog1pf): Likewise.
25423 [C99-based standards] (clog2f): Likewise.
25424 [C99-based standards] (clgammaf): Likewise.
25425 [C99-based standards] (ctgammaf): Likewise.
25426 [C99-based standards] (cerfl): Likewise.
25427 [C99-based standards] (cerfcl): Likewise.
25428 [C99-based standards] (cexp2l): Likewise.
25429 [C99-based standards] (cexpm1l): Likewise.
25430 [C99-based standards] (clog10l): Likewise.
25431 [C99-based standards] (clog1pl): Likewise.
25432 [C99-based standards] (clog2l): Likewise.
25433 [C99-based standards] (clgammal): Likewise.
25434 [C99-based standards] (ctgammal): Likewise.
25435 * conform/data/inttypes.h-data [C99-based standards]: Include
25436 stdint.h-data. Remove all expectations for stdint.h contents.
25437 [C99-based standards] (PRI*): Do not allow.
25438 [C99-based standards] (SCN*): Likewise.
25439 [C99-based standards] (*_t): Likewise.
25440 [C99-based-standards] (PRId8): Expect macro.
25441 [C99-based-standards] (PRIi8): Likewise.
25442 [C99-based-standards] (PRIo8): Likewise.
25443 [C99-based-standards] (PRIu8): Likewise.
25444 [C99-based-standards] (PRIx8): Likewise.
25445 [C99-based-standards] (PRIX8): Likewise.
25446 [C99-based-standards] (SCNd8): Likewise.
25447 [C99-based-standards] (SCNi8): Likewise.
25448 [C99-based-standards] (SCNo8): Likewise.
25449 [C99-based-standards] (SCNu8): Likewise.
25450 [C99-based-standards] (SCNx8): Likewise.
25451 [C99-based-standards] (PRIdLEAST8): Likewise.
25452 [C99-based-standards] (PRIiLEAST8): Likewise.
25453 [C99-based-standards] (PRIoLEAST8): Likewise.
25454 [C99-based-standards] (PRIuLEAST8): Likewise.
25455 [C99-based-standards] (PRIxLEAST8): Likewise.
25456 [C99-based-standards] (PRIXLEAST8): Likewise.
25457 [C99-based-standards] (SCNdLEAST8): Likewise.
25458 [C99-based-standards] (SCNiLEAST8): Likewise.
25459 [C99-based-standards] (SCNoLEAST8): Likewise.
25460 [C99-based-standards] (SCNuLEAST8): Likewise.
25461 [C99-based-standards] (SCNxLEAST8): Likewise.
25462 [C99-based-standards] (PRIdFAST8): Likewise.
25463 [C99-based-standards] (PRIiFAST8): Likewise.
25464 [C99-based-standards] (PRIoFAST8): Likewise.
25465 [C99-based-standards] (PRIuFAST8): Likewise.
25466 [C99-based-standards] (PRIxFAST8): Likewise.
25467 [C99-based-standards] (PRIXFAST8): Likewise.
25468 [C99-based-standards] (SCNdFAST8): Likewise.
25469 [C99-based-standards] (SCNiFAST8): Likewise.
25470 [C99-based-standards] (SCNoFAST8): Likewise.
25471 [C99-based-standards] (SCNuFAST8): Likewise.
25472 [C99-based-standards] (SCNxFAST8): Likewise.
25473 [C99-based-standards] (PRId16): Likewise.
25474 [C99-based-standards] (PRIi16): Likewise.
25475 [C99-based-standards] (PRIo16): Likewise.
25476 [C99-based-standards] (PRIu16): Likewise.
25477 [C99-based-standards] (PRIx16): Likewise.
25478 [C99-based-standards] (PRIX16): Likewise.
25479 [C99-based-standards] (SCNd16): Likewise.
25480 [C99-based-standards] (SCNi16): Likewise.
25481 [C99-based-standards] (SCNo16): Likewise.
25482 [C99-based-standards] (SCNu16): Likewise.
25483 [C99-based-standards] (SCNx16): Likewise.
25484 [C99-based-standards] (PRIdLEAST16): Likewise.
25485 [C99-based-standards] (PRIiLEAST16): Likewise.
25486 [C99-based-standards] (PRIoLEAST16): Likewise.
25487 [C99-based-standards] (PRIuLEAST16): Likewise.
25488 [C99-based-standards] (PRIxLEAST16): Likewise.
25489 [C99-based-standards] (PRIXLEAST16): Likewise.
25490 [C99-based-standards] (SCNdLEAST16): Likewise.
25491 [C99-based-standards] (SCNiLEAST16): Likewise.
25492 [C99-based-standards] (SCNoLEAST16): Likewise.
25493 [C99-based-standards] (SCNuLEAST16): Likewise.
25494 [C99-based-standards] (SCNxLEAST16): Likewise.
25495 [C99-based-standards] (PRIdFAST16): Likewise.
25496 [C99-based-standards] (PRIiFAST16): Likewise.
25497 [C99-based-standards] (PRIoFAST16): Likewise.
25498 [C99-based-standards] (PRIuFAST16): Likewise.
25499 [C99-based-standards] (PRIxFAST16): Likewise.
25500 [C99-based-standards] (PRIXFAST16): Likewise.
25501 [C99-based-standards] (SCNdFAST16): Likewise.
25502 [C99-based-standards] (SCNiFAST16): Likewise.
25503 [C99-based-standards] (SCNoFAST16): Likewise.
25504 [C99-based-standards] (SCNuFAST16): Likewise.
25505 [C99-based-standards] (SCNxFAST16): Likewise.
25506 [C99-based-standards] (PRId32): Likewise.
25507 [C99-based-standards] (PRIi32): Likewise.
25508 [C99-based-standards] (PRIo32): Likewise.
25509 [C99-based-standards] (PRIu32): Likewise.
25510 [C99-based-standards] (PRIx32): Likewise.
25511 [C99-based-standards] (PRIX32): Likewise.
25512 [C99-based-standards] (SCNd32): Likewise.
25513 [C99-based-standards] (SCNi32): Likewise.
25514 [C99-based-standards] (SCNo32): Likewise.
25515 [C99-based-standards] (SCNu32): Likewise.
25516 [C99-based-standards] (SCNx32): Likewise.
25517 [C99-based-standards] (PRIdLEAST32): Likewise.
25518 [C99-based-standards] (PRIiLEAST32): Likewise.
25519 [C99-based-standards] (PRIoLEAST32): Likewise.
25520 [C99-based-standards] (PRIuLEAST32): Likewise.
25521 [C99-based-standards] (PRIxLEAST32): Likewise.
25522 [C99-based-standards] (PRIXLEAST32): Likewise.
25523 [C99-based-standards] (SCNdLEAST32): Likewise.
25524 [C99-based-standards] (SCNiLEAST32): Likewise.
25525 [C99-based-standards] (SCNoLEAST32): Likewise.
25526 [C99-based-standards] (SCNuLEAST32): Likewise.
25527 [C99-based-standards] (SCNxLEAST32): Likewise.
25528 [C99-based-standards] (PRIdFAST32): Likewise.
25529 [C99-based-standards] (PRIiFAST32): Likewise.
25530 [C99-based-standards] (PRIoFAST32): Likewise.
25531 [C99-based-standards] (PRIuFAST32): Likewise.
25532 [C99-based-standards] (PRIxFAST32): Likewise.
25533 [C99-based-standards] (PRIXFAST32): Likewise.
25534 [C99-based-standards] (SCNdFAST32): Likewise.
25535 [C99-based-standards] (SCNiFAST32): Likewise.
25536 [C99-based-standards] (SCNoFAST32): Likewise.
25537 [C99-based-standards] (SCNuFAST32): Likewise.
25538 [C99-based-standards] (SCNxFAST32): Likewise.
25539 [C99-based-standards] (PRId64): Likewise.
25540 [C99-based-standards] (PRIi64): Likewise.
25541 [C99-based-standards] (PRIo64): Likewise.
25542 [C99-based-standards] (PRIu64): Likewise.
25543 [C99-based-standards] (PRIx64): Likewise.
25544 [C99-based-standards] (PRIX64): Likewise.
25545 [C99-based-standards] (SCNd64): Likewise.
25546 [C99-based-standards] (SCNi64): Likewise.
25547 [C99-based-standards] (SCNo64): Likewise.
25548 [C99-based-standards] (SCNu64): Likewise.
25549 [C99-based-standards] (SCNx64): Likewise.
25550 [C99-based-standards] (PRIdLEAST64): Likewise.
25551 [C99-based-standards] (PRIiLEAST64): Likewise.
25552 [C99-based-standards] (PRIoLEAST64): Likewise.
25553 [C99-based-standards] (PRIuLEAST64): Likewise.
25554 [C99-based-standards] (PRIxLEAST64): Likewise.
25555 [C99-based-standards] (PRIXLEAST64): Likewise.
25556 [C99-based-standards] (SCNdLEAST64): Likewise.
25557 [C99-based-standards] (SCNiLEAST64): Likewise.
25558 [C99-based-standards] (SCNoLEAST64): Likewise.
25559 [C99-based-standards] (SCNuLEAST64): Likewise.
25560 [C99-based-standards] (SCNxLEAST64): Likewise.
25561 [C99-based-standards] (PRIdFAST64): Likewise.
25562 [C99-based-standards] (PRIiFAST64): Likewise.
25563 [C99-based-standards] (PRIoFAST64): Likewise.
25564 [C99-based-standards] (PRIuFAST64): Likewise.
25565 [C99-based-standards] (PRIxFAST64): Likewise.
25566 [C99-based-standards] (PRIXFAST64): Likewise.
25567 [C99-based-standards] (SCNdFAST64): Likewise.
25568 [C99-based-standards] (SCNiFAST64): Likewise.
25569 [C99-based-standards] (SCNoFAST64): Likewise.
25570 [C99-based-standards] (SCNuFAST64): Likewise.
25571 [C99-based-standards] (SCNxFAST64): Likewise.
25572 [C99-based-standards] (PRIdMAX): Likewise.
25573 [C99-based-standards] (PRIiMAX): Likewise.
25574 [C99-based-standards] (PRIoMAX): Likewise.
25575 [C99-based-standards] (PRIuMAX): Likewise.
25576 [C99-based-standards] (PRIxMAX): Likewise.
25577 [C99-based-standards] (PRIXMAX): Likewise.
25578 [C99-based-standards] (SCNdMAX): Likewise.
25579 [C99-based-standards] (SCNiMAX): Likewise.
25580 [C99-based-standards] (SCNoMAX): Likewise.
25581 [C99-based-standards] (SCNuMAX): Likewise.
25582 [C99-based-standards] (SCNxMAX): Likewise.
25583 [C99-based-standards] (PRIdPTR): Likewise.
25584 [C99-based-standards] (PRIiPTR): Likewise.
25585 [C99-based-standards] (PRIoPTR): Likewise.
25586 [C99-based-standards] (PRIuPTR): Likewise.
25587 [C99-based-standards] (PRIxPTR): Likewise.
25588 [C99-based-standards] (PRIXPTR): Likewise.
25589 [C99-based-standards] (SCNdPTR): Likewise.
25590 [C99-based-standards] (SCNiPTR): Likewise.
25591 [C99-based-standards] (SCNoPTR): Likewise.
25592 [C99-based-standards] (SCNuPTR): Likewise.
25593 [C99-based-standards] (SCNxPTR): Likewise.
25594 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
25596 * conform/data/stdint.h-data: Update comments to clarify
25598 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
25600 [C99-based standards] (INT8_MAX): Likewise.
25601 [C99-based standards] (INT16_MIN): Likewise.
25602 [C99-based standards] (INT16_MAX): Likewise.
25603 [C99-based standards] (INT32_MIN): Likewise.
25604 [C99-based standards] (INT32_MAX): Likewise.
25605 [C99-based standards] (INT64_MIN): Likewise.
25606 [C99-based standards] (INT64_MAX): Likewise.
25607 [C99-based standards] (UINT8_MAX): Likewise.
25608 [C99-based standards] (UINT16_MAX): Likewise.
25609 [C99-based standards] (UINT32_MAX): Likewise.
25610 [C99-based standards] (UINT64_MAX): Likewise.
25611 [C99-based standards] (INT_LEAST8_MIN): Likewise.
25612 [C99-based standards] (INT_LEAST8_MAX): Likewise.
25613 [C99-based standards] (INT_LEAST16_MIN): Likewise.
25614 [C99-based standards] (INT_LEAST16_MAX): Likewise.
25615 [C99-based standards] (INT_LEAST32_MIN): Likewise.
25616 [C99-based standards] (INT_LEAST32_MAX): Likewise.
25617 [C99-based standards] (INT_LEAST64_MIN): Likewise.
25618 [C99-based standards] (INT_LEAST64_MAX): Likewise.
25619 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
25620 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
25621 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
25622 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
25623 [C99-based standards] (INT_FAST8_MIN): Likewise.
25624 [C99-based standards] (INT_FAST8_MAX): Likewise.
25625 [C99-based standards] (INT_FAST16_MIN): Likewise.
25626 [C99-based standards] (INT_FAST16_MAX): Likewise.
25627 [C99-based standards] (INT_FAST32_MIN): Likewise.
25628 [C99-based standards] (INT_FAST32_MAX): Likewise.
25629 [C99-based standards] (INT_FAST64_MIN): Likewise.
25630 [C99-based standards] (INT_FAST64_MAX): Likewise.
25631 [C99-based standards] (UINT_FAST8_MAX): Likewise.
25632 [C99-based standards] (UINT_FAST16_MAX): Likewise.
25633 [C99-based standards] (UINT_FAST32_MAX): Likewise.
25634 [C99-based standards] (UINT_FAST64_MAX): Likewise.
25635 [C99-based standards] (INTPTR_MIN): Likewise.
25636 [C99-based standards] (INTPTR_MAX): Likewise.
25637 [C99-based standards] (UINTPTR_MAX): Likewise.
25638 [C99-based standards] (INTMAX_MIN): Likewise.
25639 [C99-based standards] (INTMAX_MAX): Likewise.
25640 [C99-based standards] (UINTMAX_MAX): Likewise.
25641 [C99-based standards] (PTRDIFF_MIN): Likewise.
25642 [C99-based standards] (PTRDIFF_MAX): Likewise.
25643 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
25644 [C99-based standards] (SIZE_MAX): Likewise.
25645 [C99-based standards] (WCHAR_MAX): Likewise.
25646 [C99-based standards] (WINT_MAX): Likewise.
25647 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
25648 constraint on value.
25649 [C99-based standards] (WCHAR_MIN): Likewise.
25650 [C99-based standards] (WINT_MIN): Likewise.
25651 [C99-based standards] (*_t): Allow.
25652 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
25653 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
25654 Include math.h-data and complex.h-data. Remove all expectations
25655 of math.h and complex.h contents.
25656 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
25658 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
25659 (struct tm): Expect tag.
25660 [C99-based-standards] (wcstof): Expect function.
25661 [C99-based-standards] (wcstold): Likewise.
25662 [C99-based-standards] (wcstoll): Likewise.
25663 [C99-based-standards] (wcstoull): Likewise.
25664 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
25665 macro-int-constant. Specify type.
25666 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
25667 constraint on value.
25668 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25670 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
25672 [ISO C standards]: Do not allow headers.
25673 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
25674 wcs[abcdefghijklmnopqrstuvwxyz]*.
25675 [ISO C standards] (*_t): Do not allow.
25676 * conform/data/wctype.h-data [C99-based standards] (iswblank):
25678 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
25679 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25681 [ISO C standards]: Do not allow headers.
25682 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
25683 is[abcdefghijklmnopqrstuvwxyz]*.
25684 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
25685 to[abcdefghijklmnopqrstuvwxyz]*.
25686 [ISO C standards] (*_t): Do not allow.
25687 * conform/data/stdalign.h-data: New file.
25688 * conform/data/stdbool.h-data: Likewise.
25689 * conform/data/stdnoreturn.h-data: Likewise.
25691 2012-11-07 Roland McGrath <roland@hack.frob.com>
25694 * manual/filesys.texi (Directory Entries): Typo fix.
25695 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
25697 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25699 * elf/elf.h (EM_AARCH64): New macro.
25700 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
25701 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
25702 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
25703 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
25704 (R_AARCH64_TLSDESC): Likewise.
25705 (NT_ARM_TLS): Likewise.
25706 (NT_ARM_HW_BREAK): Likewise.
25707 (NT_ARM_HW_WATCH): Likewise.
25709 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25712 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
25713 (__ieee754_powl): Saturate nonzero exponents with absolute value
25714 below 0x1p-79 to +/- 0x1p-79.
25715 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
25716 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
25717 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
25718 nonzero exponents with absolute value below 0x1p-32 to +/-
25720 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
25721 (__ieee754_powl): Saturate nonzero exponents with absolute value
25722 below 0x1p-79 to +/- 0x1p-79.
25723 * math/libm-test.inc (pow_test): Add more tests.
25725 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25727 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
25728 _dl_s390_cap_flags with kernel. Increase string length.
25729 (_dl_s390_platforms): Add z196 and zEC12.
25731 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25733 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
25734 Change XOPEN21K to XOPEN2K.
25736 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
25738 * string/memmove.c: Use memcpy when possible.
25740 2012-11-06 Andreas Jaeger <aj@suse.de>
25742 * po/eo.po: Update from translation team.
25744 2012-11-06 Joseph Myers <joseph@codesourcery.com>
25747 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
25748 exponent and small x and y exponents, scale x or y up. Increase
25749 by 2 the exponent used in scaling up.
25750 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25751 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25752 * math/libm-test.inc (fma_test): Add more tests.
25753 (fma_test_towardzero): Likewise.
25754 (fma_test_downward): Likewise.
25755 (fma_test_upward): Likewise.
25757 2012-11-05 Joseph Myers <joseph@codesourcery.com>
25760 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
25764 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
25765 namespace for names of struct fields.
25766 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
25768 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25769 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
25771 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
25774 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
25776 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25778 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
25782 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
25785 2012-11-04 Joseph Myers <joseph@codesourcery.com>
25788 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
25789 definitely overflow as x * y not x * y + z.
25790 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25791 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25792 * math/libm-test.inc (fma_test): Add more tests.
25793 (fma_test_towardzero): Likewise.
25794 (fma_test_downward): Likewise.
25795 (fma_test_upward): Likewise.
25797 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25801 * include/stub-tag.h: Remove file.
25802 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
25804 * manual/maint.texi (Porting): Don't reference it.
25805 * Makerules ($(objpfx)stubs): Likewise.
25806 * dirent/closedir.c: Don't include <stub-tag.h>.
25807 * dirent/dirfd.c: Likewise.
25808 * dirent/fdopendir.c: Likewise.
25809 * dirent/getdents.c: Likewise.
25810 * dirent/getdents64.c: Likewise.
25811 * dirent/opendir.c: Likewise.
25812 * dirent/readdir.c: Likewise.
25813 * dirent/readdir64.c: Likewise.
25814 * dirent/readdir64_r.c: Likewise.
25815 * dirent/readdir_r.c: Likewise.
25816 * dirent/rewinddir.c: Likewise.
25817 * dirent/seekdir.c: Likewise.
25818 * dirent/telldir.c: Likewise.
25819 * gmon/profil.c: Likewise.
25820 * grp/setgroups.c: Likewise.
25821 * inet/if_index.c: Likewise.
25822 * io/access.c: Likewise.
25823 * io/chdir.c: Likewise.
25824 * io/chmod.c: Likewise.
25825 * io/chown.c: Likewise.
25826 * io/close.c: Likewise.
25827 * io/dup.c: Likewise.
25828 * io/dup2.c: Likewise.
25829 * io/dup3.c: Likewise.
25830 * io/euidaccess.c: Likewise.
25831 * io/faccessat.c: Likewise.
25832 * io/fchdir.c: Likewise.
25833 * io/fchmod.c: Likewise.
25834 * io/fchmodat.c: Likewise.
25835 * io/fchown.c: Likewise.
25836 * io/fchownat.c: Likewise.
25837 * io/fcntl.c: Likewise.
25838 * io/flock.c: Likewise.
25839 * io/fstatfs.c: Likewise.
25840 * io/fstatfs64.c: Likewise.
25841 * io/fstatvfs.c: Likewise.
25842 * io/fstatvfs64.c: Likewise.
25843 * io/futimens.c: Likewise.
25844 * io/fxstat.c: Likewise.
25845 * io/fxstat64.c: Likewise.
25846 * io/fxstatat.c: Likewise.
25847 * io/fxstatat64.c: Likewise.
25848 * io/getcwd.c: Likewise.
25849 * io/isatty.c: Likewise.
25850 * io/lchmod.c: Likewise.
25851 * io/lchown.c: Likewise.
25852 * io/link.c: Likewise.
25853 * io/linkat.c: Likewise.
25854 * io/lseek.c: Likewise.
25855 * io/lseek64.c: Likewise.
25856 * io/lxstat64.c: Likewise.
25857 * io/mkdir.c: Likewise.
25858 * io/mkdirat.c: Likewise.
25859 * io/mkfifo.c: Likewise.
25860 * io/mkfifoat.c: Likewise.
25861 * io/open.c: Likewise.
25862 * io/open64.c: Likewise.
25863 * io/openat.c: Likewise.
25864 * io/openat64.c: Likewise.
25865 * io/pipe.c: Likewise.
25866 * io/pipe2.c: Likewise.
25867 * io/poll.c: Likewise.
25868 * io/posix_fadvise.c: Likewise.
25869 * io/posix_fadvise64.c: Likewise.
25870 * io/posix_fallocate.c: Likewise.
25871 * io/posix_fallocate64.c: Likewise.
25872 * io/read.c: Likewise.
25873 * io/readlink.c: Likewise.
25874 * io/readlinkat.c: Likewise.
25875 * io/rmdir.c: Likewise.
25876 * io/sendfile.c: Likewise.
25877 * io/sendfile64.c: Likewise.
25878 * io/statfs.c: Likewise.
25879 * io/statfs64.c: Likewise.
25880 * io/statvfs.c: Likewise.
25881 * io/statvfs64.c: Likewise.
25882 * io/symlink.c: Likewise.
25883 * io/symlinkat.c: Likewise.
25884 * io/ttyname.c: Likewise.
25885 * io/ttyname_r.c: Likewise.
25886 * io/umask.c: Likewise.
25887 * io/unlink.c: Likewise.
25888 * io/unlinkat.c: Likewise.
25889 * io/utime.c: Likewise.
25890 * io/utimensat.c: Likewise.
25891 * io/write.c: Likewise.
25892 * io/xmknod.c: Likewise.
25893 * io/xmknodat.c: Likewise.
25894 * io/xstat.c: Likewise.
25895 * io/xstat64.c: Likewise.
25896 * login/getpt.c: Likewise.
25897 * login/grantpt.c: Likewise.
25898 * login/unlockpt.c: Likewise.
25899 * math/e_acoshl.c: Likewise.
25900 * math/e_acosl.c: Likewise.
25901 * math/e_asinl.c: Likewise.
25902 * math/e_atan2l.c: Likewise.
25903 * math/e_atanhl.c: Likewise.
25904 * math/e_coshl.c: Likewise.
25905 * math/e_expl.c: Likewise.
25906 * math/e_fmodl.c: Likewise.
25907 * math/e_gammal_r.c: Likewise.
25908 * math/e_hypotl.c: Likewise.
25909 * math/e_j0l.c: Likewise.
25910 * math/e_j1l.c: Likewise.
25911 * math/e_jnl.c: Likewise.
25912 * math/e_lgammal_r.c: Likewise.
25913 * math/e_log10l.c: Likewise.
25914 * math/e_log2l.c: Likewise.
25915 * math/e_logl.c: Likewise.
25916 * math/e_powl.c: Likewise.
25917 * math/e_rem_pio2l.c: Likewise.
25918 * math/e_sinhl.c: Likewise.
25919 * math/e_sqrtl.c: Likewise.
25920 * math/fclrexcpt.c: Likewise.
25921 * math/fedisblxcpt.c: Likewise.
25922 * math/feenablxcpt.c: Likewise.
25923 * math/fegetenv.c: Likewise.
25924 * math/fegetexcept.c: Likewise.
25925 * math/fegetround.c: Likewise.
25926 * math/feholdexcpt.c: Likewise.
25927 * math/fesetenv.c: Likewise.
25928 * math/fesetround.c: Likewise.
25929 * math/feupdateenv.c: Likewise.
25930 * math/fgetexcptflg.c: Likewise.
25931 * math/fraiseexcpt.c: Likewise.
25932 * math/fsetexcptflg.c: Likewise.
25933 * math/ftestexcept.c: Likewise.
25934 * math/k_cosl.c: Likewise.
25935 * math/k_rem_pio2l.c: Likewise.
25936 * math/k_sinl.c: Likewise.
25937 * math/k_tanl.c: Likewise.
25938 * math/s_asinhl.c: Likewise.
25939 * math/s_atanl.c: Likewise.
25940 * math/s_cbrtl.c: Likewise.
25941 * math/s_erfl.c: Likewise.
25942 * math/s_expm1l.c: Likewise.
25943 * math/s_log1pl.c: Likewise.
25944 * math/s_tanhl.c: Likewise.
25945 * misc/acct.c: Likewise.
25946 * misc/brk.c: Likewise.
25947 * misc/chflags.c: Likewise.
25948 * misc/chroot.c: Likewise.
25949 * misc/fchflags.c: Likewise.
25950 * misc/fgetxattr.c: Likewise.
25951 * misc/flistxattr.c: Likewise.
25952 * misc/fremovexattr.c: Likewise.
25953 * misc/fsetxattr.c: Likewise.
25954 * misc/fsync.c: Likewise.
25955 * misc/ftruncate.c: Likewise.
25956 * misc/futimes.c: Likewise.
25957 * misc/futimesat.c: Likewise.
25958 * misc/getdomain.c: Likewise.
25959 * misc/getdtsz.c: Likewise.
25960 * misc/gethostid.c: Likewise.
25961 * misc/gethostname.c: Likewise.
25962 * misc/getloadavg.c: Likewise.
25963 * misc/getpagesize.c: Likewise.
25964 * misc/getsysstats.c: Likewise.
25965 * misc/getxattr.c: Likewise.
25966 * misc/gtty.c: Likewise.
25967 * misc/ioctl.c: Likewise.
25968 * misc/lgetxattr.c: Likewise.
25969 * misc/listxattr.c: Likewise.
25970 * misc/llistxattr.c: Likewise.
25971 * misc/lremovexattr.c: Likewise.
25972 * misc/lsetxattr.c: Likewise.
25973 * misc/lutimes.c: Likewise.
25974 * misc/madvise.c: Likewise.
25975 * misc/mincore.c: Likewise.
25976 * misc/mlock.c: Likewise.
25977 * misc/mlockall.c: Likewise.
25978 * misc/mmap.c: Likewise.
25979 * misc/mprotect.c: Likewise.
25980 * misc/msync.c: Likewise.
25981 * misc/munlock.c: Likewise.
25982 * misc/munlockall.c: Likewise.
25983 * misc/munmap.c: Likewise.
25984 * misc/preadv.c: Likewise.
25985 * misc/preadv64.c: Likewise.
25986 * misc/ptrace.c: Likewise.
25987 * misc/pwritev.c: Likewise.
25988 * misc/pwritev64.c: Likewise.
25989 * misc/readv.c: Likewise.
25990 * misc/reboot.c: Likewise.
25991 * misc/remap_file_pages.c: Likewise.
25992 * misc/removexattr.c: Likewise.
25993 * misc/revoke.c: Likewise.
25994 * misc/select.c: Likewise.
25995 * misc/setdomain.c: Likewise.
25996 * misc/setegid.c: Likewise.
25997 * misc/seteuid.c: Likewise.
25998 * misc/sethostid.c: Likewise.
25999 * misc/sethostname.c: Likewise.
26000 * misc/setregid.c: Likewise.
26001 * misc/setreuid.c: Likewise.
26002 * misc/setxattr.c: Likewise.
26003 * misc/sstk.c: Likewise.
26004 * misc/stty.c: Likewise.
26005 * misc/swapoff.c: Likewise.
26006 * misc/swapon.c: Likewise.
26007 * misc/sync.c: Likewise.
26008 * misc/syncfs.c: Likewise.
26009 * misc/syscall.c: Likewise.
26010 * misc/truncate.c: Likewise.
26011 * misc/ualarm.c: Likewise.
26012 * misc/usleep.c: Likewise.
26013 * misc/ustat.c: Likewise.
26014 * misc/utimes.c: Likewise.
26015 * misc/vhangup.c: Likewise.
26016 * misc/writev.c: Likewise.
26017 * posix/_exit.c: Likewise.
26018 * posix/alarm.c: Likewise.
26019 * posix/execve.c: Likewise.
26020 * posix/fexecve.c: Likewise.
26021 * posix/fork.c: Likewise.
26022 * posix/fpathconf.c: Likewise.
26023 * posix/getaddrinfo.c: Likewise.
26024 * posix/getegid.c: Likewise.
26025 * posix/geteuid.c: Likewise.
26026 * posix/getgid.c: Likewise.
26027 * posix/getgroups.c: Likewise.
26028 * posix/getlogin.c: Likewise.
26029 * posix/getlogin_r.c: Likewise.
26030 * posix/getpgid.c: Likewise.
26031 * posix/getpid.c: Likewise.
26032 * posix/getppid.c: Likewise.
26033 * posix/getresgid.c: Likewise.
26034 * posix/getresuid.c: Likewise.
26035 * posix/getsid.c: Likewise.
26036 * posix/getuid.c: Likewise.
26037 * posix/glob64.c: Likewise.
26038 * posix/nanosleep.c: Likewise.
26039 * posix/pathconf.c: Likewise.
26040 * posix/pause.c: Likewise.
26041 * posix/posix_madvise.c: Likewise.
26042 * posix/pread.c: Likewise.
26043 * posix/pread64.c: Likewise.
26044 * posix/pwrite.c: Likewise.
26045 * posix/pwrite64.c: Likewise.
26046 * posix/sched_getaffinity.c: Likewise.
26047 * posix/sched_getp.c: Likewise.
26048 * posix/sched_gets.c: Likewise.
26049 * posix/sched_primax.c: Likewise.
26050 * posix/sched_primin.c: Likewise.
26051 * posix/sched_rr_gi.c: Likewise.
26052 * posix/sched_setaffinity.c: Likewise.
26053 * posix/sched_setp.c: Likewise.
26054 * posix/sched_sets.c: Likewise.
26055 * posix/sched_yield.c: Likewise.
26056 * posix/setgid.c: Likewise.
26057 * posix/setlogin.c: Likewise.
26058 * posix/setpgid.c: Likewise.
26059 * posix/setresgid.c: Likewise.
26060 * posix/setresuid.c: Likewise.
26061 * posix/setsid.c: Likewise.
26062 * posix/setuid.c: Likewise.
26063 * posix/sleep.c: Likewise.
26064 * posix/spawni.c: Likewise.
26065 * posix/sysconf.c: Likewise.
26066 * posix/times.c: Likewise.
26067 * posix/wait.c: Likewise.
26068 * posix/wait3.c: Likewise.
26069 * posix/wait4.c: Likewise.
26070 * posix/waitpid.c: Likewise.
26071 * resolv/gai_sigqueue.c: Likewise.
26072 * resource/getpriority.c: Likewise.
26073 * resource/getrlimit.c: Likewise.
26074 * resource/getrusage.c: Likewise.
26075 * resource/nice.c: Likewise.
26076 * resource/setpriority.c: Likewise.
26077 * resource/setrlimit.c: Likewise.
26078 * resource/ulimit.c: Likewise.
26079 * rt/aio_cancel.c: Likewise.
26080 * rt/aio_fsync.c: Likewise.
26081 * rt/aio_read.c: Likewise.
26082 * rt/aio_sigqueue.c: Likewise.
26083 * rt/aio_suspend.c: Likewise.
26084 * rt/aio_write.c: Likewise.
26085 * rt/clock_getres.c: Likewise.
26086 * rt/clock_gettime.c: Likewise.
26087 * rt/clock_nanosleep.c: Likewise.
26088 * rt/clock_settime.c: Likewise.
26089 * rt/lio_listio.c: Likewise.
26090 * rt/mq_close.c: Likewise.
26091 * rt/mq_getattr.c: Likewise.
26092 * rt/mq_notify.c: Likewise.
26093 * rt/mq_open.c: Likewise.
26094 * rt/mq_receive.c: Likewise.
26095 * rt/mq_send.c: Likewise.
26096 * rt/mq_setattr.c: Likewise.
26097 * rt/mq_timedreceive.c: Likewise.
26098 * rt/mq_timedsend.c: Likewise.
26099 * rt/mq_unlink.c: Likewise.
26100 * rt/shm_open.c: Likewise.
26101 * rt/shm_unlink.c: Likewise.
26102 * rt/timer_create.c: Likewise.
26103 * rt/timer_delete.c: Likewise.
26104 * rt/timer_getoverr.c: Likewise.
26105 * rt/timer_gettime.c: Likewise.
26106 * rt/timer_settime.c: Likewise.
26107 * setjmp/__longjmp.c: Likewise.
26108 * setjmp/setjmp.c: Likewise.
26109 * signal/kill.c: Likewise.
26110 * signal/killpg.c: Likewise.
26111 * signal/raise.c: Likewise.
26112 * signal/sigaction.c: Likewise.
26113 * signal/sigaltstack.c: Likewise.
26114 * signal/sigblock.c: Likewise.
26115 * signal/sigignore.c: Likewise.
26116 * signal/sigintr.c: Likewise.
26117 * signal/signal.c: Likewise.
26118 * signal/sigpause.c: Likewise.
26119 * signal/sigpending.c: Likewise.
26120 * signal/sigqueue.c: Likewise.
26121 * signal/sigreturn.c: Likewise.
26122 * signal/sigset.c: Likewise.
26123 * signal/sigsetmask.c: Likewise.
26124 * signal/sigstack.c: Likewise.
26125 * signal/sigsuspend.c: Likewise.
26126 * signal/sigtimedwait.c: Likewise.
26127 * signal/sigvec.c: Likewise.
26128 * signal/sigwait.c: Likewise.
26129 * signal/sigwaitinfo.c: Likewise.
26130 * signal/sysv_signal.c: Likewise.
26131 * socket/accept.c: Likewise.
26132 * socket/accept4.c: Likewise.
26133 * socket/bind.c: Likewise.
26134 * socket/connect.c: Likewise.
26135 * socket/getpeername.c: Likewise.
26136 * socket/getsockname.c: Likewise.
26137 * socket/getsockopt.c: Likewise.
26138 * socket/isfdtype.c: Likewise.
26139 * socket/listen.c: Likewise.
26140 * socket/recv.c: Likewise.
26141 * socket/recvfrom.c: Likewise.
26142 * socket/recvmsg.c: Likewise.
26143 * socket/send.c: Likewise.
26144 * socket/sendmsg.c: Likewise.
26145 * socket/sendto.c: Likewise.
26146 * socket/setsockopt.c: Likewise.
26147 * socket/shutdown.c: Likewise.
26148 * socket/sockatmark.c: Likewise.
26149 * socket/socket.c: Likewise.
26150 * socket/socketpair.c: Likewise.
26151 * stdio-common/ctermid.c: Likewise.
26152 * stdio-common/cuserid.c: Likewise.
26153 * stdio-common/remove.c: Likewise.
26154 * stdio-common/rename.c: Likewise.
26155 * stdio-common/renameat.c: Likewise.
26156 * stdio-common/tempname.c: Likewise.
26157 * stdlib/getcontext.c: Likewise.
26158 * stdlib/makecontext.c: Likewise.
26159 * stdlib/setcontext.c: Likewise.
26160 * stdlib/swapcontext.c: Likewise.
26161 * stdlib/system.c: Likewise.
26162 * streams/fattach.c: Likewise.
26163 * streams/fdetach.c: Likewise.
26164 * streams/getmsg.c: Likewise.
26165 * streams/getpmsg.c: Likewise.
26166 * streams/putmsg.c: Likewise.
26167 * streams/putpmsg.c: Likewise.
26168 * sysdeps/unix/bsd/getpt.c: Likewise.
26169 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
26170 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
26171 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26174 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
26175 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26176 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26177 * sysvipc/msgctl.c: Likewise.
26178 * sysvipc/msgget.c: Likewise.
26179 * sysvipc/msgrcv.c: Likewise.
26180 * sysvipc/msgsnd.c: Likewise.
26181 * sysvipc/semctl.c: Likewise.
26182 * sysvipc/semget.c: Likewise.
26183 * sysvipc/semop.c: Likewise.
26184 * sysvipc/semtimedop.c: Likewise.
26185 * sysvipc/shmat.c: Likewise.
26186 * sysvipc/shmctl.c: Likewise.
26187 * sysvipc/shmdt.c: Likewise.
26188 * sysvipc/shmget.c: Likewise.
26189 * termios/tcdrain.c: Likewise.
26190 * termios/tcflow.c: Likewise.
26191 * termios/tcflush.c: Likewise.
26192 * termios/tcgetattr.c: Likewise.
26193 * termios/tcgetpgrp.c: Likewise.
26194 * termios/tcsendbrk.c: Likewise.
26195 * termios/tcsetattr.c: Likewise.
26196 * termios/tcsetpgrp.c: Likewise.
26197 * time/adjtime.c: Likewise.
26198 * time/clock.c: Likewise.
26199 * time/getitimer.c: Likewise.
26200 * time/gettimeofday.c: Likewise.
26201 * time/setitimer.c: Likewise.
26202 * time/settimeofday.c: Likewise.
26203 * time/stime.c: Likewise.
26204 * time/time.c: Likewise.
26206 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
26208 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
26211 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
26213 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
26215 2012-11-03 Joseph Myers <joseph@codesourcery.com>
26218 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
26219 FE_TONEAREST before applying Dekker multiplication and Knuth
26220 addition. Clear inexact exceptions and check for exact zero
26221 results afterwards.
26222 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26223 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26224 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26225 * math/libm-test.inc (fma_test): Add more tests.
26226 (fma_test_towardzero): Likewise.
26227 (fma_test_downward): Likewise.
26228 (fma_test_upward): Likewise.
26229 * sysdeps/generic/math_private.h (default_libc_fesetround): New
26231 (libc_fesetround): New macro.
26232 (libc_fesetroundf): Likewise.
26233 (libc_fesetroundl): Likewise.
26234 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
26236 (libc_fesetround_387): Likewise.
26237 (libc_fesetroundf): New macro.
26238 (libc_fesetround): Likewise.
26239 (libc_fesetroundl): Likewise.
26240 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
26242 (libc_fesetroundf): New macro.
26243 (libc_fesetround): Likewise.
26244 (libc_fesetroundl): Likewise.
26245 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
26246 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
26247 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
26249 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
26250 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
26252 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
26253 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
26255 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
26259 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
26260 integer constant usable in #if and use that to give value to enum
26262 (FE_DIVBYZERO): Likewise.
26263 (FE_UNDERFLOW): Likewise.
26264 (FE_OVERFLOW): Likewise.
26265 (FE_INVALID): Likewise.
26266 (FE_INVALID_SNAN): Likewise.
26267 (FE_INVALID_ISI): Likewise.
26268 (FE_INVALID_IDI): Likewise.
26269 (FE_INVALID_ZDZ): Likewise.
26270 (FE_INVALID_IMZ): Likewise.
26271 (FE_INVALID_COMPARE): Likewise.
26272 (FE_INVALID_SOFTWARE): Likewise.
26273 (FE_INVALID_SQRT): Likewise.
26274 (FE_INVALID_INTEGER_CONVERSION): Likewise.
26275 (FE_TONEAREST): Likewise.
26276 (FE_TOWARDZERO): Likewise.
26277 (FE_UPWARD): Likewise.
26278 (FE_DOWNWARD): Likewise.
26279 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
26280 (FE_DIVBYZERO): Likewise.
26281 (FE_OVERFLOW): Likewise.
26282 (FE_UNDERFLOW): Likewise.
26283 (FE_INEXACT): Likewise.
26284 (FE_TONEAREST): Likewise.
26285 (FE_DOWNWARD): Likewise.
26286 (FE_UPWARD): Likewise.
26287 (FE_TOWARDZERO): Likewise.
26288 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
26289 (FE_UNDERFLOW): Likewise.
26290 (FE_OVERFLOW): Likewise.
26291 (FE_DIVBYZERO): Likewise.
26292 (FE_INVALID): Likewise.
26293 (FE_TONEAREST): Likewise.
26294 (FE_TOWARDZERO): Likewise.
26295 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
26296 (FE_OVERFLOW): Likewise.
26297 (FE_UNDERFLOW): Likewise.
26298 (FE_DIVBYZERO): Likewise.
26299 (FE_INEXACT): Likewise.
26300 (FE_TONEAREST): Likewise.
26301 (FE_TOWARDZERO): Likewise.
26302 (FE_UPWARD): Likewise.
26303 (FE_DOWNWARD): Likewise.
26304 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
26305 (FE_DIVBYZERO): Likewise.
26306 (FE_OVERFLOW): Likewise.
26307 (FE_UNDERFLOW): Likewise.
26308 (FE_INEXACT): Likewise.
26309 (FE_TONEAREST): Likewise.
26310 (FE_DOWNWARD): Likewise.
26311 (FE_UPWARD): Likewise.
26312 (FE_TOWARDZERO): Likewise.
26314 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
26316 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
26318 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
26320 * scripts/cross-test-ssh.sh (command): Use newlines to separate
26321 commands. Quote $PWD.
26322 (blacklist_exports): Don't use remove_newlines. Replace "declare
26324 (remove_newlines): Remove.
26326 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
26328 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
26329 * stdlib/stdlib.h (atof): Moved to ...
26330 * include/bits/stdlib-float.h: Here. New file.
26331 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
26332 * stdlib/bits/stdlib-float.h: New file.
26333 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
26335 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
26338 2012-11-02 Joseph Myers <joseph@codesourcery.com>
26340 * conform/conformtest.pl (@headers): Add fenv.h.
26341 * conform/data/fenv.h-data: New file.
26342 * include/fenv.h [_ISOMAC]: Disable all contents of file except
26343 include of <math/fenv.h>.
26345 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
26346 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
26347 && !UNIX98]. Enables tests for XOPEN2K8.
26348 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
26349 POSIX2008]: Likewise.
26351 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
26352 (struct rusage): Do not expect type or its members.
26355 * math/math.h (FP_NAN): Define macro to integer constant usable in
26356 #if and use that to give value to enum constant.
26357 (FP_INFINITE): Likewise.
26358 (FP_ZERO): Likewise.
26359 (FP_SUBNORMAL): Likewise.
26360 (FP_NORMAL): Likewise.
26362 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
26364 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
26365 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
26368 2012-11-02 Roland McGrath <roland@hack.frob.com>
26370 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
26371 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
26372 autoconf-time if not.
26373 * configure.in: Remove AC_PREREQ.
26375 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26377 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
26378 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
26379 of the internal implementation.
26381 2012-11-02 Joseph Myers <joseph@codesourcery.com>
26383 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
26384 except include of <misc/sys/syslog.h>.
26386 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
26389 function returns with a NULL context exit with zero.
26391 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26393 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
26395 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
26397 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
26398 (run_program_cmd): This.
26399 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
26400 (tst_langinfo): New variable. Use it.
26402 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
26404 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
26405 floating point opcodes.
26407 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26409 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
26412 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
26414 * sysdeps/mach/hurd/powerpc: Remove directory.
26415 * sysdeps/mach/powerpc: Likewise.
26417 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26419 * scripts/check-local-headers.sh: Ignore c++ headers.
26421 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26423 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
26424 __libc_cleanup_region_start argument.
26426 2012-11-01 Joseph Myers <joseph@codesourcery.com>
26430 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
26431 x * y using scaling, not as x * y + z.
26432 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26433 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26434 * math/libm-test.inc (fma_test): Add more tests.
26435 (fma_test_towardzero): Likewise.
26436 (fma_test_downward): Likewise.
26437 (fma_test_upward): Likewise.
26439 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26441 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
26443 2012-10-31 Joseph Myers <joseph@codesourcery.com>
26445 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
26448 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
26450 * rt/tst-shm.c (worker): Correct checking for mmap failure.
26452 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26459 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26462 Fix the order of the list for glibc 2.17.
26463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26466 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26468 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26470 2012-10-31 Joseph Myers <joseph@codesourcery.com>
26473 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
26474 for low part of x being zero before using __atanl (y).
26475 * math/libm-test.inc (atan2_test): Add another test.
26477 * manual/install.texi (Configuring and compiling): Document
26478 general use of test-wrapper and test-wrapper-env.
26479 * INSTALL: Regenerated.
26481 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
26482 (__fma): Do not extract and scale down low bits on after-rounding
26483 systems when result rounded to normal precision would have normal
26485 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
26486 (__fmal): Do not extract and scale down low bits on after-rounding
26487 systems when result rounded to normal precision would have normal
26489 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
26490 (__fmal): Do not extract and scale down low bits on after-rounding
26491 systems when result rounded to normal precision would have normal
26493 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
26495 (fma_test): Add more tests.
26496 (fma_test_towardzero): Likewise.
26497 (fma_test_downward): Likewise.
26498 (fma_test_upward): Likewise.
26500 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
26502 * sysdeps/i386/tininess.h: Renamed to ...
26503 * sysdeps/x86/tininess.h: This.
26504 * sysdeps/x86_64/tininess.h: Removed.
26506 2012-10-30 Joseph Myers <joseph@codesourcery.com>
26508 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
26509 input. Use $(build-program-cmd).
26510 ($(objpfx)tst-array1-static.out): Likewise.
26511 ($(objpfx)tst-array2.out): Likewise.
26512 ($(objpfx)tst-array3.out): Likewise.
26513 ($(objpfx)tst-array4.out): Likewise.
26514 ($(objpfx)tst-array5.out): Likewise.
26515 ($(objpfx)tst-array5-static.out): Likewise.
26517 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
26519 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
26522 * nss/nsswitch.h (nss_interface_function): Provide new
26523 macro for use with NSS functions.
26524 * grp/initgroups.c: Use new macro.
26525 * nss/getXXbyYY.c: Likewise.
26526 * nss/getXXbyYY_r.c: Likewise.
26527 * nss/getXXent.c: Likewise.
26528 * nss/getXXent_r.c: Likewise.
26529 * sysdeps/posix/getaddrinfo.c: Likewise.
26531 2012-10-30 Andreas Jaeger <aj@suse.de>
26533 * po/ru.po: Update Russion translation from translation project.
26535 2012-10-30 Joseph Myers <joseph@codesourcery.com>
26539 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
26540 result and shift together with sticky bit instead of replicating
26541 round-to-nearest rounding.
26542 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26543 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26544 * math/libm-test.inc (fma_test): Add more tests. Do not permit
26545 missing underflow exceptions.
26546 (fma_test_towardzero): Add more tests.
26547 (fma_test_downward): Likewise.
26548 (fma_test_upward): Likewise.
26551 * sysdeps/generic/tininess.h: New file.
26552 * sysdeps/i386/tininess.h: Likewise.
26553 * sysdeps/sh/tininess.h: Likewise.
26554 * sysdeps/x86_64/tininess.h: Likewise.
26555 * stdlib/tst-strtod-underflow.c: Likewise.
26556 * stdlib/tst-tininess.c: Likewise.
26557 * stdlib/strtod_l.c: Include <tininess.h>.
26558 (round_and_return): Do not set errno for exact underflow cases.
26559 Force an underflow exception when setting errno for underflow.
26560 Determine underflow based on rounding to normal precision if
26561 TININESS_AFTER_ROUNDING.
26562 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
26563 ERANGE for exact underflow cases.
26564 * stdlib/Makefile (tests): Add tst-tininess and
26565 tst-strtod-underflow.
26566 ($(objpfx)tst-tininess): Use $(link-libm).
26567 ($(objpfx)tst-strtod-underflow): Likewise.
26569 2012-10-30 Andreas Jaeger <aj@suse.de>
26572 * elf/Makefile (tests): Remove conditional for have-initfini-array
26573 since this is now always required and the variable does not exist
26575 (tests-static): Likewise.
26576 (modules-names): Likewise.
26578 * po/eo.po: Add Esperanto translation from translation project.
26580 * elf/tst-array1.c (fini_array): Make writeable so that it can be
26581 merged with constructor/destructor.
26582 (init_array): Likewise.
26583 * elf/tst-array2dep.c (fini_array): Likewise.
26584 (init_array): Likewise.
26586 2012-10-29 Mike Frysinger <vapier@gentoo.org>
26588 * manual/message.texi: Delete @cartouche tags.
26590 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
26592 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
26594 * sysdeps/mach/hurd/fsync.c: Likewise.
26596 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
26597 [_POSIX_REALTIME_SIGNALS]: Change condition to
26598 [_POSIX_REALTIME_SIGNALS > 0].
26600 2012-10-27 Andreas Jaeger <aj@suse.de>
26602 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
26603 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
26604 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
26605 [__WORDSIZE != 64]: Likewise.
26607 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
26609 * iconvdata/tst-table.sh: Remove ${SHELL}.
26610 * iconvdata/tst-tables.sh: Likewise.
26612 2012-10-25 David S. Miller <davem@davemloft.net>
26614 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26615 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
26618 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
26620 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26621 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
26622 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
26625 2012-10-25 Roland McGrath <roland@hack.frob.com>
26627 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26628 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
26631 2012-10-25 Joseph Myers <joseph@codesourcery.com>
26632 Jim Blandy <jimb@codesourcery.com>
26634 * scripts/cross-test-ssh.sh: New file.
26635 * manual/install.texi (Configuring and compiling): Document use of
26637 * INSTALL: Regenerated.
26639 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
26641 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
26644 2012-10-25 Joseph Myers <joseph@codesourcery.com>
26646 * Makeconfig (run-program-prefix): Fix comment.
26648 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26649 Jim Blandy <jimb@codesourcery.com>
26651 * Makeconfig (test-wrapper): New variable,
26652 (test-wrapper-env): Likewise.
26653 [$(cross-compiling) = yes && $(test-wrapper) != ""]
26654 (run-built-tests): Define to yes.
26655 (run-program-prefix): Use $(test-wrapper).
26656 (built-program-cmd): Likewise.
26657 * Rules (make-test-out): Use $(test-wrapper-env) and
26658 $(host-built-program-cmd).
26659 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
26660 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
26662 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
26663 $(test-wrapper-env) to tst-rtld-load-self.sh.
26664 ($(objpfx)order2.out): Use $(test-wrapper).
26665 ($(objpfx)tst-initorder.out): Likewise.
26666 ($(objpfx)tst-initorder2.out): Likewise.
26667 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
26668 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
26669 (test_wrapper_env): New variable. Use it to run ld.so.
26670 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
26671 Use it to run ld.so.
26672 (test_wrapper_env): Likewise.
26673 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
26674 $(test-wrapper) to run-iconv-test.sh.
26675 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
26676 (ICONV): Use $test_wrapper.
26677 * posix/Makefile ($(objpfx)globtest.out): Pass
26678 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
26679 globtest.sh, not $(run-program-prefix).
26680 * posix/globtest.sh (run_via_rtld_prefix): New variable.
26681 (test_wrapper): Likewise.
26682 (test_wrapper_env): Likewise. Use it to run globtest with HOME
26683 set together with run_via_rtld_prefix.
26684 (run_program_prefix): Define in terms of test_wrapper and
26685 run_via_rtld_prefix.
26687 2012-10-24 Roland McGrath <roland@hack.frob.com>
26689 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
26690 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
26694 * include/time.h: Remove librt_hidden_proto (clock_gettime).
26695 Declare __clock_getres, __clock_gettime, __clock_settime,
26696 __clock_nanosleep, and __clock_getcpuclockid.
26697 * rt/clock_gettime.c: Define __clock_gettime as an alias.
26698 Remove librt_hidden_def (clock_gettime).
26699 * sysdeps/unix/clock_gettime.c: Likewise.
26700 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
26701 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26702 * rt/clock_getres.c: Define __clock_getres as an alias.
26703 * sysdeps/posix/clock_getres.c: Likewise.
26704 * rt/clock_settime.c: Define __clock_settime as an alias.
26705 * sysdeps/unix/clock_settime.c: Likewise.
26706 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
26707 * sysdeps/unix/clock_nanosleep.c: Likewise.
26708 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26709 * rt/clock-compat.c: New file.
26710 * rt/Makefile (librt-routines): Add clock-compat and move
26711 $(clock-routines) to ...
26712 (routines): ... here, new variable.
26713 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
26714 Don't add get_clockfreq here.
26715 * rt/Versions (libc: GLIBC_2.17): New version set.
26716 Add clock_* symbols here.
26717 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
26718 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
26719 (GLIBC_2.17): Add clock_* symbols.
26720 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26721 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26722 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26727 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26728 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26729 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26730 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26731 * NEWS: Mention the move.
26733 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26734 Use __open, __read, __close rather than their public counterparts.
26735 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26736 (__get_clockfreq_via_cpuinfo): Likewise.
26737 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
26738 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
26740 * config.h.in (HAVE_IFUNC): New #undef.
26741 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
26743 * configure: Regenerated.
26745 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26747 * configure.in: Move READELF check to start of file.
26748 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
26749 libc_cv_asm_gnu_indirect_function in the process.
26750 * configure: Regenerated.
26752 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26754 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
26755 send the output to /dev/null.
26756 (libc_cv_cc_with_libunwind): Likewise.
26757 (libc_cv_as_noexecstack): Likewise.
26758 * configure: Regenerate.
26760 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26762 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
26764 * posix/globtest.sh (TMPDIR): Do not set.
26765 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
26766 (testout): Likewise.
26768 2012-10-24 Andreas Jaeger <aj@suse.de>
26770 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
26771 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
26772 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
26773 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
26774 posix_fadvise64, posix_fallocate64.
26776 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
26777 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
26778 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
26780 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
26782 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
26784 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
26785 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
26786 <bits/fcntl-linux.h>.
26787 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
26789 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
26790 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
26791 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
26792 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
26793 [__WORDSIZE != 64]: Likewise.
26795 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26797 * Makeconfig (run-built-tests): New variable.
26798 * Rules [$(cross-compiling) = yes]: Change condition to
26799 [$(run-built-tests) = no].
26800 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
26801 to [$(run-built-tests) = yes].
26802 * elf/Makefile [$(cross-compiling) = no]: Likewise
26803 * grp/Makefile [$(cross-compiling) = no]: Likewise.
26804 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
26805 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
26806 * intl/Makefile [$(cross-compiling) = no]: Likewise.
26807 * io/Makefile [$(cross-compiling) = no]: Likewise.
26808 * libio/Makefile [$(cross-compiling) = no]: Likewise.
26809 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
26810 * misc/Makefile [$(cross-compiling) = no]: Likewise.
26811 * posix/Makefile [$(cross-compiling) = no]: Likewise.
26812 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
26813 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
26814 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
26815 * string/Makefile [$(cross-compiling) = no]: Likewise.
26817 * posix/Makefile ($(objpfx)globtest.out): Pass
26818 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
26819 $(rtld-installed-name).
26820 * posix/globtest.sh (elf_objpfx): Remove variable.
26821 (rtld_installed_name): Likewise.
26822 (library_path): Likewise.
26823 (run_program_prefix): New variable. Use for running globtest
26826 2012-10-23 Jim Blandy <jimb@codesourcery.com>
26827 Joseph Myers <joseph@codesourcery.com>
26829 * Makeconfig (host-built-program-cmd): New variable.
26830 * elf/Makefile (tst-stackguard1-ARGS): Use
26831 $(host-built-program-cmd).
26832 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
26833 (tst-spawn-ARGS): Likewise.
26834 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
26836 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26837 Jim Blandy <jimb@codesourcery.com>
26839 * Makeconfig (run-via-rtld-prefix): New variable.
26840 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
26841 (built-program-cmd): Likewise.
26843 2012-10-22 Andreas Jaeger <aj@suse.de>
26845 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
26846 __O_RSYNC if it exists, otherwise to O_SYNC.
26848 2012-10-22 Jim Blandy <jimb@codesourcery.com>
26849 Joseph Myers <joseph@codesourcery.com>
26851 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
26853 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
26855 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
26858 2012-10-22 Andreas Jaeger <aj@suse.de>
26860 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
26862 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
26864 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26865 bits/fcntl-linux.h.
26867 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
26868 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
26870 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
26872 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
26875 2012-10-21 Jim Blandy <jimb@codesourcery.com>
26876 Joseph Myers <joseph@codesourcery.com>
26878 * config.make.in (NM): New variable.
26880 2012-10-21 Andreas Jaeger <aj@suse.de>
26882 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
26883 definitions and declarations that are provided by
26884 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26886 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26889 * elf/Makefile (tests-static): Add tst-leaks1-static.
26890 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
26891 ($(objpfx)tst-leaks1-static): New rule.
26892 ($(objpfx)tst-leaks1-static-mem): Likewise.
26893 (tst-leaks1-static-ENV): New macro.
26894 * elf/dl-open.c (dl_open_worker): Check the main application
26895 only if SHARED is defined.
26896 * elf/tst-leaks1-static.c: New file.
26898 2012-10-20 Andreas Jaeger <aj@suse.de>
26900 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
26901 generic values for Linux.
26902 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
26903 and declarations that are provided by <bits/fcntl-linux.h> and
26904 include <bits/fcntl-linux.h>.
26905 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26906 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26908 2012-10-20 Roland McGrath <roland@hack.frob.com>
26910 * io/fcntl.h: Move include of <bits/types.h> to the top and
26911 include it unconditionally.
26913 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26915 * wcsmbs/Makefile (tests-ifunc): New variable.
26916 (tests): Add $(tests-ifunc).
26917 * wcsmbs/test-wcschr-ifunc.c: New file.
26918 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26919 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26920 * wcsmbs/test-wcslen-ifunc.c: Likewise.
26921 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26922 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26924 * string/Makefile (tests-ifunc): New variable.
26925 (tests): Add $(tests-ifunc).
26926 * string/test-memccpy.c (TEST_NAME): New macro.
26927 * string/test-memchr.c (TEST_NAME): Likewise.
26928 * string/test-memcmp.c (TEST_NAME): Likewise.
26929 * string/test-memcpy.c (TEST_NAME): Likewise.
26930 * string/test-memmem.c (TEST_NAME): Likewise.
26931 * string/test-memmove.c (TEST_NAME): Likewise.
26932 * string/test-memset.c (TEST_NAME): Likewise.
26933 * string/test-rawmemchr.c (TEST_NAME): Likewise.
26934 * string/test-stpcpy.c (TEST_NAME): Likewise.
26935 * string/test-stpncpy.c (TEST_NAME): Likewise.
26936 * string/test-strcasecmp.c (TEST_NAME): Likewise.
26937 * string/test-strcasestr.c (TEST_NAME): Likewise.
26938 * string/test-strcat.c (TEST_NAME): Likewise.
26939 * string/test-strchr.c (TEST_NAME): Likewise.
26940 * string/test-strcmp.c(TEST_NAME): Likewise.
26941 * string/test-strcpy.c (TEST_NAME): Likewise.
26942 * string/test-strcspn.c (TEST_NAME): Likewise.
26943 * string/test-strlen.c (TEST_NAME): Likewise.
26944 * string/test-strncasecmp.c (TEST_NAME): Likewise.
26945 * string/test-strncmp.c (TEST_NAME): Likewise.
26946 * string/test-strncpy.c (TEST_NAME): Likewise.
26947 * string/test-strnlen.c (TEST_NAME): Likewise.
26948 * string/test-strpbrk.c (TEST_NAME): Likewise.
26949 * string/test-strrchr.c (TEST_NAME): Likewise.
26950 * string/test-strspn.c (TEST_NAME): Likewise.
26951 * string/test-strstr.c (TEST_NAME): Likewise.
26952 * string/test-bcopy-ifunc.c: New file.
26953 * string/test-bzero-ifunc.c: Likewise.
26954 * string/test-memccpy-ifunc.c: Likewise.
26955 * string/test-memchr-ifunc.c: Likewise.
26956 * string/test-memcmp-ifunc.c: Likewise.
26957 * string/test-memcpy-ifunc.c: Likewise.
26958 * string/test-memmem-ifunc.c: Likewise.
26959 * string/test-memmove-ifunc.c: Likewise.
26960 * string/test-mempcpy-ifunc.c: Likewise.
26961 * string/test-memset-ifunc.c: Likewise.
26962 * string/test-rawmemchr-ifunc.c: Likewise.
26963 * string/test-stpcpy-ifunc.c: Likewise.
26964 * string/test-stpncpy-ifunc.c: Likewise.
26965 * string/test-strcasecmp-ifunc.c: Likewise.
26966 * string/test-strcasestr-ifunc.c: Likewise.
26967 * string/test-strcat-ifunc.c: Likewise.
26968 * string/test-strchr-ifunc.c: Likewise.
26969 * string/test-strchrnul-ifunc.c: Likewise.
26970 * string/test-strcmp-ifunc.c: Likewise.
26971 * string/test-strcpy-ifunc.c: Likewise.
26972 * string/test-strcspn-ifunc.c: Likewise.
26973 * string/test-strlen-ifunc.c: Likewise.
26974 * string/test-strncasecmp-ifunc.c: Likewise.
26975 * string/test-strncat-ifunc.c: Likewise.
26976 * string/test-strncmp-ifunc.c: Likewise.
26977 * string/test-strncpy-ifunc.c: Likewise.
26978 * string/test-strnlen-ifunc.c: Likewise.
26979 * string/test-strpbrk-ifunc.c: Likewise.
26980 * string/test-strrchr-ifunc.c: Likewise.
26981 * string/test-strspn-ifunc.c: Likewise.
26982 * string/test-strstr-ifunc.c: Likewise.
26984 * debug/Makefile (tests-ifunc): New variable.
26985 (tests): Add $(tests-ifunc).
26986 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
26987 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
26988 * debug/test-stpcpy_chk-ifunc.c: New file.
26989 * debug/test-strcpy_chk-ifunc.c: Likewise.
26991 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26994 * elf/dl-load.c (open_verify): Retry read if the entire ELF
26995 header is not read in.
26997 2012-10-19 Joseph Myers <joseph@codesourcery.com>
26999 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
27000 script to $(SHELL) as $<. Pass $(common-objpfx) to script
27001 directly. Pass built executable to script as
27002 $(built-program-cmd).
27003 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
27004 $testprogram without using LD_LIBRARY_PATH and $ldso.
27006 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
27007 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
27008 $(rtld-installed-name).
27009 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
27010 (rtld_installed_name): Likewise.
27011 (library_path): Likewise.
27012 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
27013 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
27014 $(run-program-prefix) to tst-tables.sh.
27015 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
27016 it to run tst-table-from and tst-table-to.
27017 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
27018 Pass it to tst-table.sh.
27019 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
27020 $(run-program-prefix) to tst-gettext.sh.
27021 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
27023 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
27025 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
27026 to run tst-gettext.
27027 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
27028 to run tst-gettext2.
27029 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
27030 to run tst-translit.
27031 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
27032 $(run-program-prefix) to tst-mtrace.sh.
27033 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
27035 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
27036 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
27037 $(rtld-installed-name).
27038 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
27039 (rtld_installed_name): Likewise.
27040 (run_program_prefix): New variable. Use it to run wordexp-test.
27042 * Makeconfig (ARCH): Remove all definitions.
27043 (machine): Likewise.
27044 [ARCH]: Remove conditional code.
27045 [!objdir]: Give error.
27046 [!objdir] (objpfx): Remove.
27047 [!objdir] (common-objpfx): Likewise.
27048 [!objdir] (common-objdir): Likewise.
27049 * configure.in (config_makefile): Remove. Hardcode Makefile in
27050 AC_CONFIG_FILES call.
27051 * configure: Regenerated.
27054 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
27056 (testout): Likewise.
27058 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
27059 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
27060 $(rtld-installed-name).
27061 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
27062 (rtld_installed_name): Likwise.
27063 (runit): Remove function.
27064 (run_getconf): New variable, Use it for running getconf binary.
27066 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
27069 * string/test-memmem.c (check_result): New function.
27070 (do_one_test): Use it.
27071 (check1): New function.
27072 (test_main): Use it.
27074 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
27076 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
27078 2012-10-18 Joseph Myers <joseph@codesourcery.com>
27080 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
27081 (_G_LSEEK64): Likewise.
27082 (_G_MMAP64): Likewise.
27083 (_G_FSTAT64): Likewise.
27084 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
27085 (_G_LSEEK64): Likewise.
27086 (_G_MMAP64): Likewise.
27087 (_G_FSTAT64): Likewise.
27088 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
27089 unconditional. Call __mmap64 directly.
27090 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
27091 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
27092 __lseek64 directly.
27093 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
27094 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
27096 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
27097 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
27098 __lseek64 directly.
27099 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
27100 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
27101 __lseek64 directly.
27102 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
27103 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
27104 __lseek64 directly.
27105 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
27106 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
27107 __fxstat64 directly.
27108 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
27109 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
27111 (freopen64) [!_G_OPEN64]: Remove conditional code.
27112 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
27114 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
27115 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
27117 (ftello64) [!_G_LSEEK64]: Remove conditional code.
27118 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
27120 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27121 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
27123 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
27124 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
27126 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27127 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
27129 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27130 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
27132 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27134 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27137 * manual/memory.texi (Malloc Tunable Parameters): Add note
27138 about free list pointers overwriting some perturb bytes.
27139 Wording suggested by Roland McGrath.
27141 2012-10-17 Joseph Myers <joseph@codesourcery.com>
27143 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
27144 (lgamma_test): Likewise.
27145 (tgamma_test): Likewise.
27147 2012-10-16 Florian Weimer <fweimer@redhat.com>
27150 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
27151 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
27153 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
27155 * NEWS: Mention BZ #14716.
27156 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
27157 when removing AVAILABLE1_USES_J macro.
27159 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
27161 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
27162 (__bswap_64): __uint64_t for unsigned 64-bit int.
27164 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
27166 * include/string.h (memmem): Declare libc hidden alias.
27167 * string/memmem.c (memmem): Define libc hidden alias.
27168 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
27169 __read, __close instead of open, read, close.
27171 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
27173 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
27174 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
27176 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
27177 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
27178 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
27180 (__rawmemchr_sse2): Likewise.
27181 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
27182 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
27183 (__strchr_sse2): Likewise.
27184 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
27185 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
27186 (__strcasecmp_sse2): Likewise.
27187 (__strncasecmp_sse2): Likewise.
27188 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
27189 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
27190 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
27191 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
27192 (__strrchr_sse2): Likewise.
27193 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
27195 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27196 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27197 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27198 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27199 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27200 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27201 * sysdeps/x86_64/multiarch/memset.S: Likewise.
27202 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27203 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
27204 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
27205 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
27206 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
27207 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
27208 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27209 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27210 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27211 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27212 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27213 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
27214 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
27215 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
27216 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
27217 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
27218 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27219 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
27220 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27221 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27222 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27223 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27224 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27226 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
27228 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
27229 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
27230 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
27231 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
27233 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
27235 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
27236 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
27237 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
27238 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
27240 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27241 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27242 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27243 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27244 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27245 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27246 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27247 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27248 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27249 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27250 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27251 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27252 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27253 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
27254 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
27255 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27256 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
27257 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
27258 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27259 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27260 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27261 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27262 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27263 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27264 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27265 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
27266 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
27267 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
27268 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
27269 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27270 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
27271 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27272 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27273 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
27274 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27275 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27276 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27277 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27278 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27279 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27280 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
27282 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
27283 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
27284 * include/ifunc-impl-list.h: New file.
27285 * misc/ifunc-impl-list.c: Likewise.
27286 * misc/Makefile (routines): Add ifunc-impl-list.
27287 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
27288 * string/test-string.h: Include <ifunc-impl-list.h>.
27289 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
27290 TEST_NAME]: New variables.
27291 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
27293 (test_init): Call __libc_ifunc_impl_list to initialize
27294 func_list if TEST_IFUNC and TEST_NAME are defined.
27296 * string/Makefile (strop-tests): Add bcopy and bzero.
27297 * string/test-bcopy.c: New file.
27298 * string/test-bzero.c: Likewise.
27299 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
27301 * string/test-memset.c: Support bzero test if TEST_BZERO is
27303 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
27305 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
27307 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
27310 2012-10-10 Joseph Myers <joseph@codesourcery.com>
27312 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
27313 * configure: Regenerated.
27315 * Makeconfig (+link-static-before-libc): Don't include
27316 $(link-static-libc).
27318 * libio/libio.h (_IO_pos_t): Remove.
27320 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27322 * NEWS: Add note about FIPS mode. Wording suggested by Roland
27325 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27327 * crypt/crypt-entry.c: Include fips-private.h.
27328 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
27329 * crypt/md5c-test.c (main): Tolerate disabled MD5.
27330 * sysdeps/unix/sysv/linux/fips-private.h: New file.
27331 * sysdeps/generic/fips-private.h: New file, dummy fallback.
27333 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27335 * crypt/crypt-private.h: Include stdbool.h.
27336 (_ufc_setup_salt_r): Return bool.
27337 * crypt/crypt-entry.c: Include errno.h.
27338 (__crypt_r): Return NULL with EINVAL for bad salt.
27339 * crypt/crypt_util.c (bad_for_salt): New.
27340 (_ufc_setup_salt_r): Check that salt is long enough and within
27341 the specified alphabet.
27342 * crypt/badsalttest.c: New file.
27343 * crypt/Makefile (tests): Add it.
27344 ($(objpfx)badsalttest): New.
27346 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
27348 * NEWS: Add entry for BZ #14602.
27350 2012-10-09 Joseph Myers <joseph@codesourcery.com>
27352 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
27354 * math/libm-test.inc: Update comment listing what functions and
27356 (isgreater_test): New function.
27357 (isgreaterequal_test): Likewise.
27358 (isless_test): Likewise.
27359 (islessequal_test): Likewise.
27360 (islessgreater_test): Likewise.
27361 (isunordered_test): Likewise.
27362 (main): Call the new functions.
27364 2012-10-09 Roland McGrath <roland@hack.frob.com>
27366 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
27367 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
27368 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
27369 * sysdeps/i386/configure: Regenerated.
27370 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
27371 * sysdeps/mach/configure: Regenerated.
27372 * sysdeps/mach/hurd/configure: Regenerated.
27373 * sysdeps/powerpc/configure: Regenerated.
27374 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27375 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27376 * sysdeps/s390/s390-32/configure: Regenerated.
27377 * sysdeps/s390/s390-64/configure: Regenerated.
27378 * sysdeps/sh/configure: Regenerated.
27379 * sysdeps/sparc/configure: Regenerated.
27380 * sysdeps/unix/sysv/linux/configure: Regenerated.
27381 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27382 * sysdeps/x86_64/configure: Regenerated.
27384 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
27385 defined. Don't check if MAP is NULL.
27387 2012-10-09 Joseph Myers <joseph@codesourcery.com>
27389 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
27390 (_G_stat64): Likewise.
27391 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
27392 (_G_stat64): Likewise.
27393 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
27394 instead of struct _G_stat64.
27395 * libio/fileops.c (mmap_remap_check): Likewise.
27396 (decide_maybe_mmap): Likewise.
27397 (_IO_new_file_seekoff): Likewise.
27398 (_IO_file_stat): Likewise.
27399 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
27401 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
27402 instead of struct _G_stat64.
27403 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27405 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
27408 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27410 (CHECK_EOL): New macro.
27411 (two_way_short_needle): Check beginning of haystack for EOL. Use
27413 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27414 Replace with CHECK_EOL.
27415 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27416 Replace with CHECK_EOL.
27418 2012-10-08 Joseph Myers <joseph@codesourcery.com>
27420 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
27422 * math/libm-test.inc: Update comment listing what functions and
27424 (finite_test): New function.
27425 (isinf_test): Likewise.
27426 (isnan_test): Likewise.
27427 (fpclassify_test): Test subnormal input.
27428 (isfinite_test): Likewise.
27429 (isnormal_test): Likewise.
27430 (main): Call the new functions.
27432 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
27435 * Makerules (%.dynsym): Force C locale when running
27436 $(OBJDUMP) --dynamic-syms.
27438 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
27440 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
27443 2012-10-06 David S. Miller <davem@davemloft.net>
27445 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
27446 upper 32-bits of the length value in %o2 since we use branch-on-register
27447 tests which consider the entire 64-bit register.
27449 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
27451 * string/test-strstr.c (check2): Add a test for page boundary.
27453 2012-10-05 David S. Miller <davem@davemloft.net>
27455 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
27456 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
27458 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27460 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27461 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
27462 and bzero when HWCAP_SPARC_CRYPTO is present.
27464 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
27467 * string/test-strstr.c (check2): New function.
27468 (test_main): Call check2.
27470 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
27472 * string/bug-strcasestr1.c (do_test): Moved to ...
27473 * string/test-strcasestr.c (check1): Here. New function.
27474 (do_one_test): Break out result checking code into ...
27475 (check_result): This. New function.
27476 (do_one_test): Call check_result.
27477 (test_main): Call check1.
27478 * string/bug-strchr1.c (do_test): Moved to ...
27479 * string/test-strchr.c (check1): Here. New function.
27480 (do_one_test): Break out result checking code into ...
27481 (check_result): This. New function.
27482 (do_one_test): Call check_result.
27483 (test_main): Call check1.
27484 * string/bug-strstr1.c (main): Moved to ...
27485 * string/test-strstr.c (check1): Here. New function.
27486 (do_one_test): Break out result checking code into ...
27487 (check_result): This. New function.
27488 (do_one_test): Call check_result.
27489 (test_main): Call check1.
27490 * string/bug-strcasestr1.c: Removed.
27491 * string/bug-strchr1.c: Likewise.
27492 * string/bug-strstr1.c: Likewise.
27494 * elf/Makefile (dl-routines): Add hwcaps.
27495 * elf/dl-support.c (_dl_important_hwcaps): Removed.
27496 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
27497 (_dl_important_hwcaps): Moved to ...
27498 * elf/dl-hwcaps.c: Here. New file.
27499 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
27502 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
27503 if IS_IN_rtld isn't defined.
27505 * elf/dl-support.c (_dl_sysinfo_map): New.
27506 Include "get-dynamic-info.h" and "setup-vdso.h".
27507 (_dl_non_dynamic_init): Call setup_vdso.
27508 * elf/dynamic-link.h: Don't include <assert.h>.
27509 (elf_get_dynamic_info): Moved to ...
27510 * elf/get-dynamic-info.h: Here. New file.
27511 * elf/dynamic-link.h: Include "get-dynamic-info.h".
27512 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
27513 * elf/setup-vdso.h: Here. New file.
27514 * elf/rtld.c: Include "setup-vdso.h".
27515 (dl_main): Call setup_vdso.
27517 2012-10-05 Joseph Myers <joseph@codesourcery.com>
27519 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
27520 creal in comment listing functions tested. List finite, isinf,
27521 isnan, isless, islessequal, isgreater, isgreaterequal,
27522 islessgreater, isunordered, lgamma_r and pow10 as functions and
27523 macros not tested. Mention which functions not tested are aliases
27524 for other functions. Fix typo. Note that signs of NaNs are not
27527 * scripts/config.guess: Update from config.git.
27528 * scripts/config.sub: Likewise.
27530 2012-10-04 Roland McGrath <roland@hack.frob.com>
27532 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
27533 * misc/madvise.c (madvise): Renamed to __madvise.
27534 Make madvise a weak alias.
27535 * include/sys/mman.h: Declare __madvise.
27536 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
27537 * sysdeps/unix/syscalls.list
27538 (madvise): Make __madvise the strong name, and madvise a weak alias.
27539 * sysdeps/unix/sysv/linux/syscalls.list
27540 (madvise, mmap): Remove redundant entries.
27541 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
27542 * malloc/malloc.c (mtrim): Likewise.
27543 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
27545 2012-10-03 Roland McGrath <roland@hack.frob.com>
27547 * sysdeps/mach/hurd/dl-cache.c: File removed.
27548 * config.h.in (USE_LDCONFIG): New #undef.
27549 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
27550 * configure: Regenerated.
27551 * elf/Makefile (dl-routines): Add dl-cache only under
27552 [$(use-ldconfig) = yes].
27553 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
27554 cache on [USE_LDCONFIG].
27555 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
27557 * elf/rtld.c (dl_main): Likewise.
27559 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
27561 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
27562 _SC_LEVEL4_CACHE_LINESIZE.
27564 2012-10-03 Roland McGrath <roland@hack.frob.com>
27566 * sysdeps/unix/bsd/confstr.h: File removed.
27568 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
27570 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
27573 2012-10-02 Roland McGrath <roland@hack.frob.com>
27575 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
27576 Make 'mapoff' field ElfW(Off) rather than off_t.
27578 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
27580 * nscd/Makefile: Remove nscd-cflags and all its users.
27581 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
27582 (CFLAGS-nonlib): Add compiler flags for nscd modules.
27585 * malloc.c (malloc_printerr): Clarify error message.
27587 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
27590 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27591 Set bit_FMA_Usable if FMA is supported.
27592 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
27594 (bit_FMA4_Usable): Updated.
27595 (index_FMA_Usable): New macro.
27596 (CPUID_FMA): Likewise
27597 (HAS_FMA): Defined with bit_FMA_Usable.
27599 2012-10-01 Roland McGrath <roland@hack.frob.com>
27601 * bits/types.h (__swblk_t): Type removed.
27602 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
27603 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
27604 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27605 (__SWBLK_T_TYPE): Likewise.
27606 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27607 (__SWBLK_T_TYPE): Likewise.
27608 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27609 (__SWBLK_T_TYPE): Likewise.
27610 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27611 (__SWBLK_T_TYPE): Likewise.
27613 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
27614 Honza Horak <hhorak@redhat.com>
27616 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
27617 (xdr_mapname): Use YPMAXMAP as maxsize.
27618 (xdr_peername): Use YPMAXPEER as maxsize.
27619 (xdr_keydat): Use YPAXRECORD as maxsize.
27620 (xdr_valdat): Use YPMAXRECORD as maxsize.
27622 2012-10-01 Roland McGrath <roland@hack.frob.com>
27624 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
27626 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
27627 * csu/init-first.c: ... here.
27628 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
27629 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27630 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27631 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27632 * sysdeps/i386/init-first.c: File removed.
27633 * sysdeps/sh/init-first.c: File removed.
27635 2012-10-01 Joseph Myers <joseph@codesourcery.com>
27638 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
27639 if x * y might underflow to zero and z is zero.
27640 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27641 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27642 * math/libm-test.inc (min_subnorm_value): New variable.
27643 (fma_test): Add more tests.
27644 (fma_test_towardzero): Likewise.
27645 (fma_test_downward): Likewise
27646 (fma_test_upward): Likewise.
27647 (initialize): Set min_subnorm_value.
27649 2012-09-29 Joseph Myers <joseph@codesourcery.com>
27652 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
27654 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
27655 mode for addition resulting in exact zero.
27656 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
27657 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
27659 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27660 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27661 * math/libm-test.inc (fma_test): Add more tests.
27662 (fma_test_towardzero): New function.
27663 (fma_test_downward): Likewise.
27664 (fma_test_upward): Likewise.
27665 (main): Call the new functions.
27667 2012-09-28 David S. Miller <davem@davemloft.net>
27669 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
27671 2012-09-28 Roland McGrath <roland@hack.frob.com>
27673 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
27674 instead of SIGALRM.
27676 * sysdeps/gnu/_G_config.h: Moved to ...
27677 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
27678 * sysdeps/mach/hurd/_G_config.h: Moved to ...
27679 * sysdeps/generic/_G_config.h: ... here.
27681 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
27683 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
27685 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
27686 Conditionalize target on [libnss_test1.so-version].
27688 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
27690 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
27691 (elfobjdir): Move out of conditionals.
27693 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
27694 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
27695 (__nss_lookup_function): Conditionalize label remove_from_tree on
27696 [!DO_STATIC_NSS || SHARED], matching its only use.
27698 2012-09-28 David S. Miller <davem@davemloft.net>
27700 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
27701 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
27703 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27705 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27706 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
27707 when HWCAP_SPARC_CRYPTO is present.
27709 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27711 * io/tst-mknodat.c: Create a FIFO instead of a socket.
27713 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
27716 * stdio-common/vfprintf.c (process_string_arg): Revert
27719 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
27721 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
27723 * stdio-common/tst-sprintf.c: Include <locale.h>
27724 (main): Test sprintf's handling of incomplete multibyte
27727 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
27729 * elf/dl-runtime.c (VERSYMIDX): Removed.
27730 * elf/dl-version.c (VERSYMIDX): Likewise.
27731 * elf/do-rel.h (VERSYMIDX): Likewise.
27732 (VALIDX): Likewise.
27733 * elf/dynamic-link.h (VERSYMIDX): Likewise.
27734 * elf/rtld.c (VALIDX): Likewise.
27735 (ADDRIDX): Likewise.
27736 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
27737 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
27738 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
27739 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
27740 (VALIDX): Likewise.
27741 (ADDRIDX): Likewise.
27743 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27745 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
27747 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
27750 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
27752 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
27753 addresses are in the same scope as 192.0.2/24.
27754 * posix/gai.conf: Document new scope table defaults.
27756 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27759 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
27760 for ftell. Compute offsets from write pointers instead.
27761 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27763 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27766 * libio/Makefile (tests): New test case tst-fseek.
27767 * libio/tst-fseek.c: New test case to verify that fseek/ftell
27768 combination works in wide mode.
27769 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
27770 state when the external buffer state changes.
27772 2012-09-27 David S. Miller <davem@davemloft.net>
27775 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
27776 pass reloc->r_addend in as the 'high' argument to
27777 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
27779 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27781 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27783 * rt/tst-aio2.c: Include <pthread.h>.
27784 * rt/tst-aio3.c: Likewise.
27786 2012-09-27 Steve Ellcey <sellcey@mips.com>
27788 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
27790 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
27792 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
27793 contents on [SHARED].
27795 2012-09-26 Marek Polacek <polacek@redhat.com>
27799 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
27800 for C++ and GCC <4.3 as well as for non GCC compilers.
27802 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27804 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27806 2012-09-25 Roland McGrath <roland@hack.frob.com>
27808 * Makefile.in (all, install): Declare with .PHONY.
27809 Reported by Michael Hope <michael.hope@linaro.org>.
27811 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27813 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
27814 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
27816 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
27818 (sydep_routines): Add the new and the internal functions.
27819 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
27820 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
27822 (GLIBC_2.17): Add the new function.
27823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27824 (GLIBC_2.17): Likewise.
27825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
27826 (GLIBC_2.17): Likewise.
27827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
27828 (GLIBC_2.17): Likewise.
27829 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
27831 2012-09-25 Alan Modra <amodra@gmail.com>
27833 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
27834 Add release barrier before setting once_control to say
27835 initialisation is done. Add hints on lwarx. Use macro in
27837 (clear_once_control): Add release barrier.
27839 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27842 * math/s_clog.c (__clog): Handle more values close to |z| = 1
27844 * math/s_clog10.c (__clog10): Likewise.
27845 * math/s_clog10f.c (__clog10f): Likewise.
27846 * math/s_clog10l.c (__clog10l): Likewise.
27847 * math/s_clogf.c (__clogf): Likewise.
27848 * math/s_clogl.c (__clogl): Likewise.
27849 * math/Makefile (libm-calls): Add x2y2m1.
27850 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
27851 (__x2y2m1): Likewise.
27852 (__x2y2m1l): Likewise.
27853 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
27854 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
27855 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
27856 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27857 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
27858 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
27859 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
27860 * sysdeps/i386/fpu/libm-test-ulps: Update.
27861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27864 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
27865 int as type of variable DEPTH.
27866 (glob): Use size_t instead of int as type of variables NEWCOUNT
27869 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27871 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27872 Add s_sincosf-sse2.
27873 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
27874 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
27875 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
27876 macros for using routine as __sincosf_ia32.
27877 Use macro for function declaration and weak_alias.
27878 * sysdeps/i386/fpu/libm-test-ulps: Update.
27880 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
27881 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27883 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
27884 subnormal argument.
27885 * math/s_cexpf.c (__cexpf): Likewise.
27886 * math/s_csinf.c (__csinf): Likewise.
27887 * math/s_csinhf.c (__csinhf): Likewise.
27888 * math/s_ctanf.c (__ctanf): Likewise.
27889 * math/s_ctanhf.c (__ctanhf): Likewise.
27890 * math/s_ccosh.c (__ccoshf): Likewise.
27891 * math/s_cexp.c (__cexpl): Likewise.
27892 * math/s_csin.c (__csin): Likewise.
27893 * math/s_csinh.c (__csinh): Likewise.
27894 * math/s_ctan.c (__ctan): Likewise.
27895 * math/s_ctanh.c (ctanh): Likewise.
27896 * math/s_ccoshl.c (__ccoshl): Likewise.
27897 * math/s_cexpl.c (__cexpl): Likewise.
27898 * math/s_csinl.c (__csinl): Likewise.
27899 * math/s_csinhl.c (__csinhl): Likewise.
27900 * math/s_ctanl.c (__ctanl): Likewise.
27901 * math/s_ctanhl.c (__ctanhl): Likewise.
27903 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27905 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
27906 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
27907 (_IO_off_t): Define to __off_t, not _G_off_t.
27908 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
27909 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
27910 (_IO_wint_t): Define to wint_t, not _G_wint_t.
27911 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
27912 type of __dummy and __dummy2 fields.
27913 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
27914 (_G_ssize_t): Likewise.
27915 (_G_off_t): Likewise.
27916 (_G_pid_t): Likewise.
27917 (_G_uid_t): Likewise.
27918 (_G_wchar_t): Likewise.
27919 (_G_wint_t): Likewise.
27920 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
27921 (_G_ssize_t): Likewise.
27922 (_G_off_t): Likewise.
27923 (_G_pid_t): Likewise.
27924 (_G_uid_t): Likewise.
27925 (_G_wchar_t): Likewise.
27926 (_G_wint_t): Likewise.
27927 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
27928 (_G_ssize_t): Likewise.
27929 (_G_off_t): Likewise.
27930 (_G_pid_t): Likewise.
27931 (_G_uid_t): Likewise.
27932 (_G_wchar_t): Likewise.
27933 (_G_wint_t): Likewise.
27935 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27937 * malloc/arena.c: Include malloc-sysdep.h.
27938 (shrink_heap): Use check_may_shrink_heap to decide if madvise
27939 is sufficient to shrink the heap or an unmap is needed.
27940 * sysdeps/generic/malloc-sysdep.h: New file. Define
27941 new function check_may_shrink_heap.
27942 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
27943 new function check_may_shrink_heap.
27945 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27947 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
27950 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
27952 * catgets/test-gencat.sh: Add "set -e".
27953 * elf/tst-pathopt.sh: Likewise.
27954 * grp/tst_fgetgrent.sh: Likewise.
27955 * iconvdata/run-iconv-test.sh: Likewise.
27956 * intl/tst-gettext.sh: Likewise.
27957 * intl/tst-gettext2.sh: Likewise.
27958 * intl/tst-gettext4.sh: Likewise.
27959 * intl/tst-gettext6.sh: Likewise.
27960 * intl/tst-translit.sh: Likewise.
27961 * io/ftwtest-sh: Likewise.
27962 * libio/test-freopen.sh: Likewise.
27963 * malloc/tst-mtrace.sh: Likewise.
27964 * posix/globtest.sh: Likewise.
27965 * posix/tst-getconf.sh: Likewise.
27966 * posix/wordexp-tst.sh: Likewise.
27967 * stdio-common/tst-printf.sh: Likewise.
27968 * stdio-common/tst-unbputc.sh: Likewise.
27969 * stdlib/tst-fmtmsg.sh: Likewise.
27970 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27971 * catgets/Makefile: Do not specify -e option when running
27972 testsuite shell scripts.
27973 * elf/Makefile: Likewise.
27974 * grp/Makefile: Likewise.
27975 * iconvdata/Makefile: Likewise.
27976 * intl/Makefile: Likewise.
27977 * io/Makefile: Likewise.
27978 * libio/Makefile: Likewise.
27979 * malloc/Makefile: Likewise.
27980 * posix/Makefile: Likewise.
27981 * stdio-common/Makefile: Likewise.
27982 * stdlib/Makefile: Likewise.
27983 * sysdeps/x86_64/Makefile: Likewise.
27985 * io/ftwtest-sh: Add copyright header.
27986 * posix/globtest.sh: Likewise.
27987 * posix/tst-getconf.sh: Likewise.
27988 * posix/wordexp-tst.sh: Likewise.
27989 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27991 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
27994 * Makeconfig (+link): Defined as $(+link-static) if
27995 $(build-shared) isn't yes.
27996 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
27998 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
28000 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
28003 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
28004 new chunk size with MALLOC_ALIGN_MASK.
28006 2012-09-24 Joseph Myers <joseph@codesourcery.com>
28009 * stdio-common/printf_fphex.c: Include <stdbool.h> and
28011 (__printf_fphex): Determine rounding using get_rounding_mode and
28013 * stdio-common/tst-printf-round.c (struct hex_test): New
28015 (hex_tests): New variable.
28016 (test_hex_in_one_mode): New function.
28017 (do_test): Also run tests for hex float output.
28019 2012-09-21 Joseph Myers <joseph@codesourcery.com>
28021 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28022 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28023 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
28024 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28025 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28026 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
28027 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28028 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28030 2012-09-20 Joseph Myers <joseph@codesourcery.com>
28032 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
28033 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
28034 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
28035 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
28037 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
28040 * elf/rtld.c (dl_main): Limit the check for self loading to normal
28042 * elf/tst-rtld-load-self.sh: New test.
28043 * elf/Makefile: Run it.
28045 2012-09-18 Joseph Myers <joseph@codesourcery.com>
28047 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
28048 (tst-writev-ENV): Remove.
28049 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
28051 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
28053 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
28055 2012-09-17 Joseph Myers <joseph@codesourcery.com>
28057 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
28059 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
28061 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
28062 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
28063 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
28066 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
28069 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
28070 * config.make.in (have-cpp-asm-debuginfo): Removed.
28071 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
28072 * configure: Regenerated.
28074 2012-09-14 Joseph Myers <joseph@codesourcery.com>
28077 * stdio-common/printf_fp.c: Include <stdbool.h> and
28079 (___printf_fp): Determine rounding using get_rounding_mode and
28081 * stdio-common/tst-printf-round.c: New file.
28082 * stdio-common/Makefile (tests): Add tst-printf-round.
28083 (link-libm): New variable.
28084 ($(objpfx)tst-printf-round): Depend in $(link-libm).
28086 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
28089 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
28090 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
28092 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
28095 2012-09-13 Joseph Myers <joseph@codesourcery.com>
28097 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
28098 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28099 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28100 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28102 2012-09-12 Joseph Myers <joseph@codesourcery.com>
28105 * include/rounding-mode.h: New file.
28106 * sysdeps/generic/get-rounding-mode.h: Likewise.
28107 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
28108 * stdlib/strtod_l.c: Include <rounding-mode.h>.
28109 (MAX_VALUE): New macro.
28110 (MIN_VALUE): Likewise.
28111 (overflow_value): New function.
28112 (underflow_value): Likewise.
28113 (round_and_return): Use overflow_value and underflow_value to
28114 determine return values in overflow and underflow cases. Use
28115 round_away to determine rounding depending on rounding mode.
28116 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
28117 determine return values in overflow and underflow cases.
28118 * stdlib/tst-strtod-round.c: Include <fenv.h>.
28119 (struct test_results): New structure.
28120 (struct test): Use struct test_results to store expected results
28121 for all rounding modes.
28122 (TEST): Include expected results for all rounding modes.
28123 (test_in_one_mode): New function.
28124 (do_test): Use test_in_one_mode to compute and check results.
28125 Check results for all rounding modes.
28126 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
28129 2012-12-09 Allan McRae <allan@archlinux.org>
28131 * sysdeps/i386/fpu/libm-test-ulps: Update
28133 2012-09-11 Joseph Myers <joseph@codesourcery.com>
28135 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
28136 (_G_int32_t): Likewise.
28137 (_G_uint16_t): Likewise.
28138 (_G_uint32_t): Likewise.
28139 (_G_HAVE_BOOL): Likewise.
28140 (_G_HAVE_ATEXIT): Likewise.
28141 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28142 (_G_HAVE_IO_FILE_OPEN): Likewise.
28143 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
28144 (_G_int32_t): Likewise.
28145 (_G_uint16_t): Likewise.
28146 (_G_uint32_t): Likewise.
28147 (_G_HAVE_BOOL): Likewise.
28148 (_G_HAVE_ATEXIT): Likewise.
28149 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28150 (_G_HAVE_IO_FILE_OPEN): Likewise.
28151 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
28152 (_G_int32_t): Likewise.
28153 (_G_uint16_t): Likewise.
28154 (_G_uint32_t): Likewise.
28155 (_G_HAVE_BOOL): Likewise.
28156 (_G_HAVE_ATEXIT): Likewise.
28157 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28158 (_G_HAVE_IO_FILE_OPEN): Likewise.
28160 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
28162 * csu/libc-tls.c: Update copyright years.
28164 2012-09-10 Joseph Myers <joseph@codesourcery.com>
28166 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
28167 [!_G_USING_THUNKS]: Remove conditional code.
28168 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
28169 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
28171 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
28172 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
28173 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28174 (_G_VTABLE_LABEL_PREFIX): Likewise.
28175 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28176 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28177 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28178 (_G_VTABLE_LABEL_PREFIX): Likewise.
28179 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28180 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28181 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28182 (_G_VTABLE_LABEL_PREFIX): Likewise.
28183 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28185 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
28187 * libio/Makefile: Include ../Makeconfig before tests.
28188 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
28189 only if $(build-shared) is yes.
28191 * iconv/gconv_db.c: Update copyright years.
28193 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28195 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
28196 unwind info if defined PIC. Fix special cases description.
28197 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
28199 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
28201 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
28203 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
28205 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
28207 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
28210 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
28211 (LDLIBS-tst-chk4): This.
28212 (LDFLAGS-tst-chk5): Renamed to ...
28213 (LDLIBS-tst-chk5): This.
28214 (LDFLAGS-tst-chk6): Renamed to ...
28215 (LDLIBS-tst-chk6): This.
28216 (LDFLAGS-tst-lfschk4): Renamed to ...
28217 (LDLIBS-tst-lfschk4): This.
28218 (LDFLAGS-tst-lfschk5): Renamed to ...
28219 (LDLIBS-tst-lfschk5): This.
28220 (LDFLAGS-tst-lfschk6): Renamed to ...
28221 (LDLIBS-tst-lfschk6): This.
28223 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
28224 on $(common-objpfx)soversions.mk.
28226 2012-09-07 Joseph Myers <joseph@codesourcery.com>
28229 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
28232 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28234 * malloc/arena.c (arena_get_retry): New function that gets
28235 another arena for the caller to try its request on.
28236 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
28237 current arena cannot fulfill the request.
28238 (__libc_memalign): Likewise.
28239 (__libc_memalign): Likewise.
28240 (__libc_pvalloc): Likewise.
28241 (__libc_calloc): Likewise.
28243 2012-09-05 John Tobey <john.tobey@gmail.com>
28246 * manual/arith.texi (Operations on Complex): Fix description
28247 of carg branch cut.
28249 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28252 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
28256 * manual/memory.texi (Memory): Make order of menu items match
28259 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28261 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
28262 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
28263 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
28265 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28267 * csu/libc-tls.c (static_dtv): Renamed to ...
28268 (_dl_static_dtv): This. Make it global.
28269 (_dl_initial_dtv): Removed.
28270 (__libc_setup_tls): Updated.
28271 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
28272 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
28275 2012-09-06 Petr Machata <pmachata@redhat.com>
28277 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
28278 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
28279 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
28280 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
28282 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28285 * csu/libc-tls.c (_dl_initial_dtv): New variable.
28286 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
28289 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28292 * Makeconfig (link-static-before-libc): Replace $(+prector)
28294 (link-static-after-libc): Replace $(+postctor) with
28296 (link-bounded): Replace $(+prector)/$(+postctor) with
28297 $(+prectorT)/$(+postctorT).
28298 (+prectorT): New macro.
28299 (+postctorT): Likewise.
28301 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28303 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
28304 (round_str): Handle values above the maximum for IBM long double
28306 * stdlib/tst-strtod-round.c (tests): Regenerated.
28308 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28310 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
28312 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
28313 zarch_nohighgprs around the zarch optimized routines.
28314 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28315 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28316 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
28319 2012-09-05 David S. Miller <davem@davemloft.net>
28321 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28323 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
28324 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
28325 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
28326 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28329 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28331 * malloc/arena.c: Fold copyright years.
28332 * malloc/mcheck.c, malloc/memusage.c: Likewise.
28334 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28336 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
28338 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28340 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
28342 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28344 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
28345 change internal state upon failure.
28347 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28349 * malloc/mcheck.c (mcheck_check_all): Fix typo.
28350 * malloc/memusage.c (mmap): Likewise.
28351 (mmap64, mremap): Likewise. Adjust name in comment.
28353 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28355 * libio/fileops.c: Fix typos in comments.
28356 * libio/oldfileops.c: Likewise.
28357 * libio/wfileops.c: Likewise.
28359 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28362 * malloc/Makefile (tests): Add tst-malloc-usable test case.
28363 (tst-malloc-usable-ENV): Set environment for test case.
28364 * malloc/hooks.c (malloc_check_get_size): New function to get
28366 * malloc/malloc.c (musable): Use malloc_check_get_size.
28367 * malloc/tst-malloc-usable.c: New test case.
28369 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28371 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
28373 2012-09-05 Allan McRae <allan@archlinux.org>
28376 * configure.in (CXX_SYSINCLUDES): Use compiler output to
28377 determine header location.
28378 * configure: Regenerated.
28380 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28382 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
28384 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
28385 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
28387 (test): Regenerate.
28389 2012-09-04 David S. Miller <davem@davemloft.net>
28391 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
28392 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
28393 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
28395 2012-09-04 Florian Weimer <fweimer@redhat.com>
28397 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
28400 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
28402 2012-09-04 Joseph Myers <joseph@codesourcery.com>
28405 * libio/iogetdelim.c: Include <limits.h>.
28406 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
28407 + len + 1 would overflow.
28409 2012-09-03 Andreas Jaeger <aj@suse.de>
28411 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28412 * sysdeps/i386/fpu/libm-test-ulps: Update.
28414 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28416 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28417 Add s_sinf-sse2, s_conf-sse2.
28419 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
28420 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
28421 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
28422 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
28424 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
28425 for using routine as __sinf_ia32.
28426 Use macro for function declaration and weak_alias.
28427 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
28428 for using routine as __cosf_ia32.
28429 Use macro for function declaration and weak_alias.
28431 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
28432 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
28434 * sysdeps/x86_64/fpu/s_sinf.S: New file.
28435 * sysdeps/x86_64/fpu/s_cosf.S: New file.
28436 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28438 * math/libm-test.inc (cos_test): Add more test cases.
28439 (sin_test): Likewise.
28440 (sincos_test): Likewise.
28442 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28444 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
28445 (IFUNC_RESOLVE): Make pointers to the specialized implementations
28447 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28449 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
28452 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
28453 first element of the GOT.
28454 (elf_machine_load_address): Return the difference between
28455 the runtime address of _DYNAMIC and elf_machine_dynamic ().
28457 2012-09-01 Allan McRae <allan@archlinux.org>
28460 * configure.in (AWK): Require gawk version 3.0 or later.
28461 * configure: Regenerated.
28463 2012-09-01 Joseph Myers <joseph@codesourcery.com>
28465 * sysdeps/unix/sysv/linux/kernel-features.h
28466 (__ASSUME_POSIX_CPU_TIMERS): Remove.
28467 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28468 [__NR_clock_getres]: Make code unconditional.
28469 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
28470 (clock_getcpuclockid): Remove code left unreachable by removal of
28472 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
28473 code unconditional.
28474 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28475 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28476 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
28477 Make code unconditional.
28478 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28479 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28480 * sysdeps/unix/sysv/linux/clock_settime.c
28481 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
28483 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
28484 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28486 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
28489 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
28490 scripts/test-installation.pl.
28492 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
28493 and $ld_so_version if it is set.
28495 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28498 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
28499 failure if reading from procfs failed.
28500 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
28502 2012-08-27 Joseph Myers <joseph@codesourcery.com>
28504 * sysdeps/unix/sysv/linux/kernel-features.h
28505 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
28506 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28507 Remove conditional code.
28508 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28509 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
28510 Remove conditional code.
28511 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28512 * sysdeps/unix/sysv/linux/i386/fxstat.c
28513 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28514 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28515 * sysdeps/unix/sysv/linux/i386/fxstatat.c
28516 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28517 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28518 * sysdeps/unix/sysv/linux/i386/lxstat.c
28519 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28520 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28521 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
28522 Remove conditional code.
28523 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28524 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28525 Remove conditional code.
28526 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28527 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
28528 <kernel-features.h>.
28529 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
28531 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
28532 Remove conditional code.
28533 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28534 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
28535 Remove conditional.
28537 2012-08-27 Mike Frysinger <vapier@gentoo.org>
28540 * NEWS: Add fixed bug number.
28542 2012-08-27 Joseph Myers <joseph@codesourcery.com>
28545 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
28546 underflowing exponent in case of negative sign.
28547 * stdlib/tst-strtod-round-data: Add more tests.
28548 * stdlib/tst-strtod-round.c (tests): Regenerated.
28551 * stdlib/strtod_l.c (NDIG): Remove.
28552 (HEXNDIG): Likewise.
28553 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
28554 smallest representable value.
28555 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
28556 lie within an exact representation of 1/2 ulp of the result.
28557 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
28559 (TENS_P9_IDX): Define unconditionally.
28560 (TENS_P9_SIZE): Likewise.
28561 (TENS_P10_IDX): Likewise.
28562 (TENS_P10_SIZE): Likewise.
28563 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
28564 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
28565 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
28566 entries for 10^2^13 and 10^2^14.
28567 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
28568 (TENS_P13_IDX): Define.
28569 (TENS_P13_SIZE): Likewise.
28570 (TENS_P14_IDX): Likewise.
28571 (TENS_P14_SIZE): Likewise.
28572 (_fpioconst_pow10): Change array size to
28573 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
28575 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
28576 1024]: Add entries for 10^2^13 and 10^2^14.
28577 [LAST_POW10 > _LAST_POW10]: Remove #error.
28578 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
28579 (_fpioconst_pow10): Change array size to
28580 FPIOCONST_POW10_ARRAY_SIZE.
28581 * stdlib/gen-fpioconst.c: New file.
28582 * stdlib/gen-tst-strtod-round.c: Likewise.
28583 * stdlib/tst-strtod-round-data: Likewise.
28584 * stdlib/tst-strtod-round.c: Likewise.
28585 * stdlib/Makefile (tests): Add tst-strtod-round.
28588 * stdlib/strtod_l.c: Include <stdint.h>.
28589 (NDEBUG): Do not define.
28590 (round_and_return): Change EXPONENT parameter to type intmax_t.
28591 Rearrange calculations to avoid internal overflow possibilities.
28592 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
28593 Rearrange calculations to avoid internal overflow possibilities.
28594 Assert that number fits inside MPNSIZE limbs.
28595 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
28596 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
28597 calculations and add assertions to avoid internal overflow
28598 possibilities. Add casts to avoid signed/unsigned operations.
28599 * stdlib/tst-strtod-overflow.c: New file.
28600 * stdlib/Makefile (tests): Add tst-strtod-overflow.
28602 2012-08-25 Marek Polacek <polacek@redhat.com>
28604 * time/time.h: Fix some typos in comments.
28606 2012-08-23 Roland McGrath <roland@hack.frob.com>
28608 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
28609 * posix/tst-rfc3484-2.c: Likewise.
28610 * posix/tst-rfc3484-3.c: Likewise.
28612 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
28614 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
28615 (EF_ARM_ABI_FLOAT_HARD): Likewise.
28617 2012-08-23 Joseph Myers <joseph@codesourcery.com>
28619 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
28620 #include of fxstatat64.c.
28622 2012-08-22 Roland McGrath <roland@hack.frob.com>
28624 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
28625 * shadow/getspent_r.c: Likewise.
28626 * shadow/getspnam.c: Likewise.
28627 * shadow/getspnam_r.c: Likewise.
28628 * gshadow/getsgent.c: Likewise.
28629 * gshadow/getsgent_r.c: Likewise.
28630 * gshadow/getsgnam.c: Likewise.
28631 * gshadow/getsgnam_r.c: Likewise.
28632 * inet/getnetbyad.c: Likewise.
28633 * inet/getnetbyad_r.c: Likewise.
28634 * inet/getnetbynm.c: Likewise.
28635 * inet/getnetbynm_r.c: Likewise.
28636 * inet/getnetent.c: Likewise.
28637 * inet/getnetent_r.c: Likewise.
28638 * inet/getproto.c: Likewise.
28639 * inet/getproto_r.c: Likewise.
28640 * inet/getprtent.c: Likewise.
28641 * inet/getprtent_r.c: Likewise.
28642 * inet/getprtname.c: Likewise.
28643 * inet/getprtname_r.c: Likewise.
28644 * inet/getrpcbyname.c: Likewise.
28645 * inet/getrpcbyname_r.c: Likewise.
28646 * inet/getrpcbynumber.c: Likewise.
28647 * inet/getrpcbynumber_r.c: Likewise.
28648 * inet/getrpcent.c: Likewise.
28649 * inet/getrpcent_r.c: Likewise.
28650 * inet/getaliasent.c: Likewise.
28651 * inet/getaliasent_r.c: Likewise.
28652 * inet/getaliasname.c: Likewise.
28653 * inet/getaliasname_r.c: Likewise.
28654 * nscd/getgrgid_r.c: Likewise.
28655 * nscd/getgrnam_r.c: Likewise.
28656 * nscd/gethstbyad_r.c: Likewise.
28657 * nscd/gethstbynm3_r.c: Likewise.
28658 * nscd/getpwnam_r.c: Likewise.
28659 * nscd/getpwuid_r.c: Likewise.
28660 * nscd/getsrvbynm_r.c: Likewise.
28661 * nscd/getsrvbypt_r.c: Likewise.
28662 * nscd/gai.c: Likewise.
28664 * configure.in (build_nscd): New substituted variable, set
28665 by --disable-build-nscd and defaults to $use_nscd.
28666 * configure: Regenerated.
28667 * config.make.in (build-nscd): New substituted variable.
28668 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
28669 Change conditional to require [$(build-nscd) = yes] as well.
28670 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
28673 * configure.in (use_nscd): New substituted variable, set by
28674 --disable-nscd. If enabled, define USE_NSCD.
28675 * configure: Regenerated.
28676 * config.h.in: Add USE_NSCD.
28677 * config.make.in (use-nscd): New substituted variable.
28678 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
28679 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
28680 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
28681 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
28682 (CFLAGS-getgrnam_r.c): Likewise.
28683 (CFLAGS-initgroups.c): Likewise.
28684 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
28685 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
28687 * inet/getnetgrent_r.c
28688 (nscd_setnetgrent): New function, broken out of ...
28689 (setnetgrent): ... here. Call it.
28690 (innetgr): Conditionalize nscd bits on [USE_NSCD].
28691 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
28692 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
28693 * nscd/Makefile (routines, aux): Move definitions after include of
28694 Makeconfig. Conditionalize on [$(use-nscd) != no].
28695 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
28696 Conditionalize on [USE_NSCD].
28697 (is_nscd, nscd_init_cb): Likewise.
28698 (nss_load_library): Conditionalize init callback on [USE_NSCD].
28699 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
28700 * nss/nss_db/db-init.c: Likewise.
28701 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
28703 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
28704 (make_request): Use it.
28705 (cache_valid_p): New function.
28706 (__check_pf): Use it.
28707 * NEWS: Add item for --disable-nscd.
28709 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
28711 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
28712 to support sed >= 4.2.1-20-ga9bf076.
28713 * configure: Regenerated.
28715 2012-08-22 Roland McGrath <roland@hack.frob.com>
28717 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
28718 Conditionalize whole body on [IREL].
28720 2012-08-22 Jeff Law <law@redhat.com>
28723 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
28724 if the family is PF_UNSPEC.
28726 2012-08-22 Mike Frysinger <vapier@gentoo.org>
28728 * Makerules (lib-version): Rename from V.
28729 (install-lib-nosubdir): Change V to lib-version.
28731 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
28734 * powerpc32/power6/wcschr.c: New file.
28735 * powerpc32/power6/wcscpy.c: New file.
28736 * powerpc32/power6/wcsrchr.c: New file.
28737 * powerpc64/power6/wcschr.c: New file.
28738 * powerpc64/power6/wcscpy.c: New file.
28739 * powerpc64/power6/wcsrchr.c: New file.
28741 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28743 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
28744 (two_way_short_needle): Use it.
28745 * string/strstr.c (AVAILABLE1_USES_J): Define.
28746 * string/strcasestr.c: Likewise.
28748 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
28750 * string/strcasestr.c (TOLOWER): Make side-effect safe.
28753 * NEWS: Add an entry.
28754 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
28755 define their defaults.
28756 (two_way_short_needle): Detect end-of-string on-the-fly.
28757 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
28758 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
28759 * string/bug-strcasestr1.c: New test.
28760 * string/Makefile: Run it.
28762 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28765 * string/str-two-way.h (two_way_short_needle): Optimize matching of
28766 the first character.
28768 2012-08-21 Roland McGrath <roland@hack.frob.com>
28770 * csu/elf-init.c (__libc_csu_irel): Function removed.
28771 * csu/libc-start.c (apply_irel): New function.
28772 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
28774 2012-08-21 Joseph Myers <joseph@codesourcery.com>
28776 * sysdeps/unix/sysv/linux/kernel-features.h
28777 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
28778 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28779 <kernel-features.h>.
28780 [__NR_fadvise64_64]: Make code unconditional.
28781 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
28782 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28783 !__NR_fadvise64_64)]: Likewise.
28784 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28785 !__NR_fadvise64_64))]: Likewise.
28786 [__NR_fadvise64]: Make code unconditional.
28787 [!__NR_fadvise64]: Remove conditional code.
28788 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
28789 <kernel-features.h>.
28790 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28792 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
28795 not include <kernel-features.h>.
28796 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28798 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28800 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
28801 include <kernel-features.h>.
28802 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28804 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28807 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28809 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
28810 slight instruction rearrangements per scrollpipe analysis.
28811 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28813 2012-08-20 Roland McGrath <roland@hack.frob.com>
28815 * manual/syslog.texi (syslog; vsyslog, closelog):
28816 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
28817 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
28819 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
28820 DSOCAPS to match condition on defining it.
28822 2012-08-20 Joseph Myers <joseph@codesourcery.com>
28824 * sysdeps/unix/sysv/linux/kernel-features.h
28825 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
28826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
28827 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28828 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
28830 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28831 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
28833 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28834 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28836 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
28837 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
28839 * sysdeps/unix/sysv/linux/kernel-features.h
28840 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
28841 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
28843 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28844 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
28845 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28846 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28847 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
28848 Make code unconditional.
28849 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28850 (__mmap64) [!__NR_mmap2]: Likewise.
28851 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
28852 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28853 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28854 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
28855 [__NR_mmap2]: Make code unconditional.
28856 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28857 (__mmap64) [!__NR_mmap2]: Likewise.
28859 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28861 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
28863 2012-08-18 Andreas Jaeger <aj@suse.de>
28865 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
28867 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28869 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
28870 * include/unistd.h (__have_sock_cloexec): Likewise.
28871 (__have_pipe2): Likewise.
28872 (__have_dup3): Likewise.
28874 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28877 * include/unistd.h (__have_pipe2): Change define into an extern int.
28878 (__have_dup3): Likewise.
28879 * socket/have_sock_cloexec.c: Include fcntl.h.
28880 (__have_pipe2): New variable.
28881 (__have_dup3): Likewise.
28883 2012-08-17 Mike Frysinger <vapier@gentoo.org>
28885 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
28887 2012-08-17 Marek Polacek <polacek@redhat.com>
28889 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
28890 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
28892 2012-08-17 Roland McGrath <roland@hack.frob.com>
28894 * configure.in: Add AC_SUBST for sysheaders.
28895 * configure: Regenerated.
28896 * config.make.in (sysheaders): New substituted variable.
28898 * sysdeps/unix/mkfifo.c: Moved ...
28899 * sysdeps/posix/mkfifo.c: ... here.
28900 * sysdeps/unix/mkfifoat.c: Moved ...
28901 * sysdeps/posix/mkfifoat.c: ... here.
28903 * sysdeps/unix/utime.c: Moved ...
28904 * sysdeps/posix/utime.c: ... here.
28906 * sysdeps/unix/time.c: Moved ...
28907 * sysdeps/posix/time.c: ... here.
28908 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
28909 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
28911 * sysdeps/unix/nice.c: Moved ...
28912 * sysdeps/posix/nice.c: ... here.
28914 * sysdeps/unix/alarm.c: Moved ...
28915 * sysdeps/posix/alarm.c: ... here.
28917 * intl/Makefile ($(codeset_mo)): Depend on the input file.
28919 2012-08-17 Jeff Law <law@redhat.com>
28921 * intl/Makefile (codeset_mo): New variable.
28922 ($(codeset_mo)): New target.
28923 (tst-codeset.out): Depend on that. Remove explicit rule.
28924 (tst-gettext3.out, tst-gettext5.out): Likewise.
28925 (LOCPATH-ENV, tst-codeset-ENV): New variables.
28926 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
28927 * intl/tst-codeset.sh: Remove.
28928 * intl/tst-gettext3.sh: Likewise.
28929 * intl/tst-gettext5.sh: Likewise.
28931 2012-08-17 Roland McGrath <roland@hack.frob.com>
28933 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
28934 * sysdeps/unix/syscalls.list: ... here.
28936 * sysdeps/posix/getaddrinfo.c
28937 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
28938 (gaiconf_init, gaiconf_reload): Use them.
28939 [!_STATBUF_ST_NSEC]
28940 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
28941 Define using time_t rather than struct timespec.
28943 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
28944 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
28946 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
28948 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
28949 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
28952 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
28953 __libc_cleanup_push argument.
28955 * bits/param.h: New file.
28956 * misc/sys/param.h: New file.
28957 * include/sys/param.h: New file.
28958 * misc/Makefile (headers): Add bits/param.h.
28959 * sysdeps/generic/sys/param.h: File removed.
28960 * sysdeps/unix/sysv/linux/bits/param.h: New file.
28961 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
28962 * sysdeps/mach/hurd/bits/param.h: New file.
28963 * sysdeps/mach/hurd/sys/param.h: File removed.
28965 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
28968 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
28970 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
28971 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
28974 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
28975 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
28976 rather than -D_IO_MTSAFE_IO conditionally.
28977 * stdio-common/Makefile (CPPFLAGS): Likewise.
28978 * wcsmbs/Makefile (CPPFLAGS): Likewise.
28979 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
28980 Use $(libio-mtsafe).
28981 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
28982 of -D_IO_MTSAFE_IO.
28983 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
28984 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
28985 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
28986 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
28987 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
28988 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
28989 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
28990 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
28991 (CFLAGS-fread_u_chk.c): Likewise.
28992 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
28993 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
28994 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
28995 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
28996 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
28997 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
28998 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
28999 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
29000 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
29002 * libio/Makefile: Test [$(libc-reentrant) = yes]
29003 instead of [$(filter %REENTRANT, $(defines)) nonempty].
29006 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
29007 * sysdeps/pthread/configure: File removed.
29008 * sysdeps/pthread/Makeconfig: New file.
29009 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
29010 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
29012 2012-08-16 Gary Benson <gbenson@redhat.com>
29014 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
29015 unmapping the first object in a namespace.
29017 2012-08-16 Roland McGrath <roland@hack.frob.com>
29019 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
29020 (__internal_setnetgrent): ... this. Add internal_function to
29021 definition. Add libc_hidden_def.
29022 (setnetgrent): Update caller.
29023 (internal_endnetgrent): Renamed to ...
29024 (__internal_endnetgrent): ... this. Add internal_function to
29025 definition. Add libc_hidden_def.
29026 (endnetgrent): Update caller.
29027 (internal_getnetgrent_r): Renamed to ...
29028 (__internal_getnetgrent_r): ... this. Add internal_function to
29029 definition. Add libc_hidden_def.
29030 (__getnetgrent_r): Update caller.
29031 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
29033 2012-08-16 Joseph Myers <joseph@codesourcery.com>
29035 * stdlib/longlong.h: Update from GCC.
29037 2012-08-16 Roland McGrath <roland@hack.frob.com>
29039 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
29040 on _QL, which is set by umul_ppmm but never used.
29041 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
29042 variables, which are set by GMP macros but never used.
29043 * stdio-common/_itowa.c (_itowa): Likewise.
29044 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
29045 * stdlib/mod_1.c (mpn_mod_1): Likewise.
29047 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
29049 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
29050 struct La_sh_regs is not constant.
29051 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
29052 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
29053 and struct La_sparc64_regs are not constant.
29055 2012-08-16 Joseph Myers <joseph@codesourcery.com>
29057 * sysdeps/unix/sysv/linux/kernel-features.h
29058 (__ASSUME_POSIX_TIMERS): Remove.
29059 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29060 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29061 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
29062 Make code unconditional.
29063 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29064 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
29065 Make code unconditional.
29066 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29067 * sysdeps/unix/sysv/linux/clock_nanosleep.c
29068 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
29069 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29070 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
29071 Make code unconditional.
29072 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29073 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
29074 (__libc_missing_posix_timers): Remove.
29076 2012-08-15 Roland McGrath <roland@hack.frob.com>
29078 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
29079 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
29081 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
29083 * elf/dl-sym.c: Include <stdlib.h>.
29085 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
29086 constants, which avoids warnings in 32-bit builds.
29088 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
29089 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
29091 * misc/lseek.c: File moved to ...
29092 * io/lseek.c: ... here.
29094 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
29096 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
29097 shifting LEN more than 31 bits at once.
29099 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29102 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
29103 segmentation fault for a case of two empty input strings.
29104 * string/test-strncasecmp.c (check1): Renamed to...
29105 (bz12205): ...this.
29106 (bz14195): Add new testcase for two empty input strings and N > 0.
29107 (test_main): Call new testcase, adapt for renamed function.
29109 2012-08-15 Andreas Jaeger <aj@suse.de>
29112 * crypt/md5test2.c: New test, based on test supplied by Serge
29113 Belyshev <belyshev@depni.sinp.msu.ru>.
29114 * crypt/Makefile (xtests): Add md5test-giant..
29115 * crypt/Makefile ($(objpfx)md5test-giant): Add.
29117 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
29120 * crypt/md5.c (md5_process_block): Don't assume the buffer
29121 length is less than 2**32.
29122 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
29123 length is less than 2**64.
29125 2012-08-15 Roland McGrath <roland@hack.frob.com>
29127 * string/str-two-way.h: Include <sys/param.h>.
29128 (MAX): Macro removed.
29130 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
29131 Move #define and #undef of memmove to just before and after
29132 including <string.h>.
29134 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
29135 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
29136 and after including <string.h>. Move declarations of
29137 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
29138 to before #include "string/memmove.c".
29140 * include/dirent.h: Declare __getdirentries.
29142 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
29143 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
29145 2012-08-14 Mike Frysinger <vapier@gentoo.org>
29147 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
29148 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
29149 * sysdeps/i386/configure: Regenerated.
29150 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
29151 STABS_CURRENT_FILE, and STABS_FUN.
29152 (END): Remove call to STABS_FUN_END.
29153 (STABS_CURRENT_FILE1): Delete.
29154 (STABS_CURRENT_FILE): Likewise.
29155 (STABS_FUN): Likewise.
29156 (STABS_FUN_END): Likewise.
29157 (STABS_FUN2): Likewise.
29158 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
29159 * sysdeps/x86_64/configure: Regenerated.
29161 2012-08-14 Roland McGrath <roland@hack.frob.com>
29163 * elf/dl-open.c: Include <atomic.h>.
29164 * elf/dl-lookup.c: Likewise.
29166 2012-08-14 Joseph Myers <joseph@codesourcery.com>
29168 * sysdeps/unix/sysv/linux/kernel-features.h
29169 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
29170 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
29172 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
29174 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
29175 condition on __ASSUME_CLONE_THREAD_FLAGS.
29177 2012-08-14 Andreas Jaeger <aj@suse.de>
29179 * sysdeps/i386/fpu/libm-test-ulps: Update.
29181 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
29183 * include/atomic.h (atomic_exchange_and_add): Split into ...
29184 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
29187 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
29189 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29191 2012-08-13 Jeff Law <law@redhat.com>
29193 * manual/stdio.texi (snprintf): Clarify handling of the trailing
29194 null byte in the output string.
29196 2012-08-10 Joseph Myers <joseph@codesourcery.com>
29198 * sysdeps/unix/sysv/linux/kernel-features.h
29199 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
29200 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
29201 (__ASSUME_ARG_MAX_STACK_BASED): Define.
29202 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29203 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
29204 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
29205 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
29207 2012-08-09 Jeff Law <law@redhat.com>
29210 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
29211 When avoid_arena is set, don't retry in the that arena. Pick the
29212 next one, whatever it might be.
29213 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
29214 (arena_lock): Pass in new parameter to arena_get2.
29215 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
29217 (__libc_malloc): Unify retrying after main arena failure with
29218 __libc_memalign version.
29219 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
29221 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
29224 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
29225 to __redirect_strstr.
29226 (__strstr_sse42): Use typeof __redirect_strstr.
29227 (__strstr_ia32): Likewise.
29228 (__libc_strstr): New prototype.
29229 (strstr): Renamed to ...
29230 (__libc_strstr): This.
29231 (strstr): New strong alias of __libc_strstr.
29232 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29233 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
29236 (__libc_time): New prototype.
29237 (time_ifunc): Replace time with __libc_time.
29238 (time): New strong alias and hidden definition of __libc_time.
29239 (__GI_time): Remove strong alias.
29240 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
29241 Include <stddef.h>.
29242 (memmove): Redefined to __redirect_memmove.
29243 (__memmove_sse2): Use typeof __redirect_memmove.
29244 (__memmove_ssse3): Likewise.
29245 (__memmove_ssse3_back): Likewise.
29246 (__libc_memmove): New prototype.
29247 (memmove): Renamed to ...
29248 (__libc_memmove): This.
29249 (memmove): New strong alias of __libc_memmove.
29251 2012-08-08 Mark Salter <msalter@redhat.com>
29254 (R_MN10300_TLS_GD): Define.
29255 (R_MN10300_TLS_LD): Likewise.
29256 (R_MN10300_TLS_LDO): Likewise.
29257 (R_MN10300_TLS_GOTIE): Likewise.
29258 (R_MN10300_TLS_IE): Likewise.
29259 (R_MN10300_TLS_LE): Likewise.
29260 (R_MN10300_TLS_DTPMOD): Likewise.
29261 (R_MN10300_TLS_DTPOFF): Likewise.
29262 (R_MN10300_TLS_TPOFF): Likewise.
29263 (R_MN10300_SYM_DIFF): Likewise.
29264 (R_MN10300_ALIGN): Likewise.
29265 (R_MN10300_NUM): Update.
29267 2012-08-08 Joseph Myers <joseph@codesourcery.com>
29269 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
29272 2012-08-08 Roland McGrath <roland@hack.frob.com>
29274 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
29276 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
29277 sysdeps/unix -> sysdeps/posix move.
29278 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29280 2012-08-07 Allan McRae <allan@archlinux.org>
29283 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
29284 (SUNOS_CPP): Likewise.
29285 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
29287 (open_input): Call CPP using execvp.
29289 2012-08-07 Joseph Myers <joseph@codesourcery.com>
29291 * sysdeps/unix/sysv/linux/kernel-features.h
29292 (__ASSUME_PROT_GROWSUPDOWN): Remove.
29293 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29294 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29295 (__ASSUME_WAITID_SYSCALL): Likewise.
29296 * sysdeps/unix/sysv/linux/dl-execstack.c
29297 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
29298 code unconditional.
29299 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
29301 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
29302 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
29303 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
29305 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
29307 [__ASSUME_WAITID_SYSCALL]: Likewise.
29308 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
29310 2012-08-07 Roland McGrath <roland@hack.frob.com>
29312 * sysdeps/unix/closedir.c: Renamed to ...
29313 * sysdeps/posix/closedir.c: ... here.
29314 * sysdeps/unix/dirfd.c: Renamed to ...
29315 * sysdeps/posix/dirfd.c: ... here.
29316 * sysdeps/unix/dirstream.h: Renamed to ...
29317 * sysdeps/posix/dirstream.h: ... here.
29318 * sysdeps/unix/fdopendir.c: Renamed to ...
29319 * sysdeps/posix/fdopendir.c: ... here.
29320 * sysdeps/unix/opendir.c: Renamed to ...
29321 * sysdeps/posix/opendir.c: ... here.
29322 * sysdeps/unix/readdir.c: Renamed to ...
29323 * sysdeps/posix/readdir.c: ... here.
29324 * sysdeps/unix/readdir_r.c: Renamed to ...
29325 * sysdeps/posix/readdir_r.c: ... here.
29326 * sysdeps/unix/rewinddir.c: Renamed to ...
29327 * sysdeps/posix/rewinddir.c: ... here.
29328 * sysdeps/unix/seekdir.c: Renamed to ...
29329 * sysdeps/posix/seekdir.c: ... here.
29330 * sysdeps/unix/telldir.c: Renamed to ...
29331 * sysdeps/posix/telldir.c: ... here.
29332 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
29333 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
29334 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29335 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
29337 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
29338 * bits/fcntl.h: ... here.
29340 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
29342 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
29343 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
29344 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
29345 (struct flock): Move l_start, l_len to the beginning.
29346 Use __pid_t for l_pid.
29347 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
29348 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
29349 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
29350 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
29351 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
29352 [__USE_LARGEFILE64] (struct flock64): New type.
29353 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
29355 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
29356 * bits/dirent.h: ... here.
29358 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
29359 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
29361 2012-08-07 Joseph Myers <joseph@codesourcery.com>
29363 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29364 Change from 2.6.0 to 2.6.16.
29365 * sysdeps/unix/sysv/linux/configure: Regenerated.
29366 * sysdeps/unix/sysv/linux/kernel-features.h
29367 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
29368 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
29370 (__ASSUME_UTIMES): Likewise.
29371 (__ASSUME_CLONE_STOPPED): Remove.
29372 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
29373 architectures, not kernel version.
29374 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
29375 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29376 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29377 (__ASSUME_WAITID_SYSCALL): Likewise.
29378 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
29379 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
29380 * README: State 2.6.16 as minimum Linux kernel version. Do not
29381 refer to older versions.
29383 2012-08-06 Roland McGrath <roland@hack.frob.com>
29385 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
29386 Define alphasort64 as an alias.
29387 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
29388 Define versionsort64 as an alias.
29389 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
29390 Define scandir64 as an alias.
29391 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
29392 Define scandirat64 as an alias.
29393 * dirent/alphasort64.c (alphasort64):
29394 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
29395 * dirent/versionsort64.c: Likewise.
29396 * dirent/scandir64.c: Likewise.
29397 * dirent/scandirat64.c: Likewise.
29398 * sysdeps/wordsize-64/alphasort.c: File removed.
29399 * sysdeps/wordsize-64/alphasort64.c: File removed.
29400 * sysdeps/wordsize-64/scandir.c: File removed.
29401 * sysdeps/wordsize-64/scandir64.c: File removed.
29402 * sysdeps/wordsize-64/scandirat.c: File removed.
29403 * sysdeps/wordsize-64/scandirat64.c: File removed.
29404 * sysdeps/wordsize-64/versionsort.c: File removed.
29405 * sysdeps/wordsize-64/versionsort64.c: File removed.
29406 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
29407 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
29408 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
29409 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
29410 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
29411 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
29412 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
29413 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
29415 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
29416 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29417 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
29418 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29419 [defined __arch64__ || defined __sparcv9]
29420 (__INO_T_MATCHES_INO64_T): New macro.
29421 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29422 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
29423 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
29424 * sysdeps/unix/sysv/linux/bits/dirent.h
29425 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
29426 (_DIRENT_MATCHES_DIRENT64): New macro.
29428 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
29429 Define lockf64 as an alias.
29430 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
29431 Define fseeko64 as an alias.
29432 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
29433 Define ftello64 as an alias.
29434 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
29435 Define _IO_fgetpos64 and fgetpos64 as aliases.
29436 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
29437 Define _IO_fsetpos64 and fsetpos64 as aliases.
29438 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
29439 Conditionalize body on this.
29440 * libio/fseeko64.c: Likewise.
29441 * libio/ftello64.c: Likewise.
29442 * libio/iofgetpos64.c: Likewise.
29443 * libio/iofsetpos64.c: Likewise.
29444 * sysdeps/wordsize-64/lockf.c: File removed.
29445 * sysdeps/wordsize-64/lockf64.c: File removed.
29446 * sysdeps/wordsize-64/fseeko.c: File removed.
29447 * sysdeps/wordsize-64/fseeko64.c: File removed.
29448 * sysdeps/wordsize-64/ftello.c: File removed.
29449 * sysdeps/wordsize-64/ftello64.c: File removed.
29450 * sysdeps/wordsize-64/iofgetpos.c: File removed.
29451 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
29452 * sysdeps/wordsize-64/iofsetpos.c: File removed.
29453 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
29454 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
29455 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
29456 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
29457 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
29458 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
29459 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
29460 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
29461 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
29462 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
29463 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
29465 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29466 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29467 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
29468 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29469 [defined __arch64__ || defined __sparcv9]
29470 (__OFF_T_MATCHES_OFF64_T): New macro.
29471 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29472 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29473 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29474 (__OFF_T_MATCHES_OFF64_T): New macro.
29476 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29478 * stdlib/secure-getenv.c (__secure_getenv): Replace
29479 GLIBC_2_16 with GLIBC_2_17.
29481 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29483 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
29484 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29486 2012-08-03 David S. Miller <davem@davemloft.net>
29488 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29490 2012-08-03 Joseph Myers <joseph@codesourcery.com>
29492 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
29494 (__ASSUME_CORRECT_SI_PID): Likewise.
29495 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
29496 (__ASSUME_TMPFS_NAME): Likewise.
29497 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
29498 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
29499 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
29500 (HAVE_AUX_SECURE): Make definition unconditional.
29501 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
29502 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
29504 2012-08-03 Roland McGrath <roland@hack.frob.com>
29506 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
29507 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
29508 * sysdeps/mach/hurd/eloop-threshold.h: New file.
29509 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29510 __eloop_threshold instead of SYMLOOP_MAX.
29512 * sysdeps/generic/eloop-threshold.h: New file.
29513 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
29515 * elf/chroot_canon.c (chroot_canon): Likewise.
29517 2012-08-03 Joseph Myers <joseph@codesourcery.com>
29520 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29521 Change to 2.6.0 everywhere.
29522 * sysdeps/unix/sysv/linux/configure: Regenerated.
29523 * sysdeps/unix/sysv/linux/kernel-features.h
29524 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
29525 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
29527 (__ASSUME_POSIX_TIMERS): Define unconditionally.
29528 (__ASSUME_FUTEX_REQUEUE): Remove.
29529 (__ASSUME_STATFS64): Define unconditionally.
29530 (__ASSUME_AT_SECURE): Likewise.
29531 (__ASSUME_CORRECT_SI_PID): Likewise.
29532 (__ASSUME_TGKILL): Define without depending on kernel version for
29534 (__ASSUME_UTIMES): Likewise.
29535 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
29537 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
29538 (__ASSUME_TMPFS_NAME): Likewise.
29539 * README: Update reference to Linux kernel versions.
29541 2012-08-02 Marek Polacek <polacek@redhat.com>
29544 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
29545 libc_cv_asm_type_prefix with %.
29546 * configure: Regenerated.
29547 * include/libc-symbols.h: Remove comment about
29548 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29549 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
29550 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
29551 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
29552 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
29553 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29554 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
29555 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
29556 * elf/tst-unique2mod1.c: Likewise.
29557 * elf/tst-unique1mod2.c: Likewise.
29558 * elf/tst-unique1mod1.c: Likewise.
29559 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
29560 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
29561 Replace ASM_TYPE_DIRECTIVE with .type.
29562 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29563 * sysdeps/i386/sysdep.h: Likewise.
29564 * sysdeps/x86_64/sysdep.h: Likewise.
29565 * sysdeps/sh/sysdep.h: Likewise.
29566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29567 Do not define ASM_TYPE_DIRECTIVE.
29568 * sysdeps/powerpc/sysdep.h: Likewise.
29569 * sysdeps/powerpc/powerpc32/sysdep.h:
29570 Replace ASM_TYPE_DIRECTIVE with .type.
29571 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29572 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29573 * sysdeps/i386/fpu/e_powf.S: Likewise.
29574 * sysdeps/i386/fpu/e_expl.S: Likewise.
29575 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29576 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29577 * sysdeps/i386/fpu/e_pow.S: Likewise.
29578 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29579 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29580 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29581 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29582 * sysdeps/i386/fpu/e_log2.S: Likewise.
29583 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29584 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29585 * sysdeps/i386/fpu/e_powl.S: Likewise.
29586 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29587 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29588 * sysdeps/i386/fpu/e_logl.S: Likewise.
29589 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29590 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29591 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29592 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29593 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29594 * sysdeps/i386/fpu/e_log.S: Likewise.
29595 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29596 * sysdeps/i386/fpu/e_logf.S: Likewise.
29597 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29598 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29599 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29600 * sysdeps/i386/fpu/e_log10.S: Likewise.
29601 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29602 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29603 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29604 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29605 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29606 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29607 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29608 * sysdeps/i386/i686/strtok.S: Likewise.
29609 * sysdeps/i386/i386-mcount.S: Likewise.
29610 * sysdeps/i386/strtok.S: Likewise.
29611 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
29612 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29613 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29614 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29615 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29616 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29617 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29618 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29619 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29620 * sysdeps/x86_64/_mcount.S: Likewise.
29621 * sysdeps/x86_64/strtok.S: Likewise.
29622 * sysdeps/sh/_mcount.S: Likewise.
29624 2012-08-01 Roland McGrath <roland@hack.frob.com>
29626 * libio/iofopen.c: Include <fcntl.h>.
29627 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
29628 (_IO_fopen64, fopen64): Define as aliases.
29629 * libio/iofopen64.c: Include <fcntl.h>.
29630 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
29631 Conditionalize body on this.
29632 * sysdeps/wordsize-64/iofopen.c: File removed.
29633 * sysdeps/wordsize-64/iofopen64.c: File removed.
29635 2012-08-01 Marek Polacek <polacek@redhat.com>
29637 * libc/Makeconfig: Use elf in place of binfmt-subdir.
29638 Use dlfcn directly instead of a variable.
29639 (binfmt-subdir): Do not define.
29642 2012-08-01 Joseph Myers <joseph@codesourcery.com>
29644 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
29645 Remove all definitions.
29646 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
29647 <kernel-features.h>.
29648 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29649 (miss_F_GETOWN_EX): Remove all definitions.
29650 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
29652 [!__ASSUME_FCNTL64]: Remove conditional code.
29653 [__ASSUME_FCNTL64]: Make code unconditional.
29654 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
29655 <kernel-features.h>.
29656 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29657 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
29658 (lockf64) [__NR_fcntl64]: Make code unconditional.
29659 (lockf64) [__ASSUME_FCNTL64]: Likewise.
29661 * sysdeps/unix/sysv/linux/kernel-features.h
29662 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
29663 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
29664 Make code unconditional.
29665 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29666 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
29668 [__NR_vfork]: Make code unconditional.
29669 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29670 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
29672 [__NR_vfork]: Make code unconditional.
29673 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29674 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29676 2012-08-01 Roland McGrath <roland@hack.frob.com>
29678 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
29679 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
29681 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29682 Define mkstemp64 as an alias.
29683 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29684 Define mkstemps64 as an alias.
29685 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29686 Define mkostemp64 as an alias.
29687 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29688 Define mkostemps64 as an alias.
29689 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
29690 Conditionalize body on this.
29691 * misc/mkostemp64.c: Likewise.
29692 * misc/mkostemps64.c: Likewise.
29693 * misc/mkstemps64.c: Likewise.
29694 * sysdeps/wordsize-64/mkstemp64.c: File removed.
29695 * sysdeps/wordsize-64/mkostemp64.c: File removed.
29696 * sysdeps/wordsize-64/mkostemp.c: File removed.
29697 * sysdeps/wordsize-64/mkstemp.c: File removed.
29698 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
29699 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
29700 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
29701 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
29704 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
29705 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
29706 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
29707 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
29709 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
29710 compat_symbol macros from <shlib-compat.h> rather than the underlying
29711 default_symbol_version and symbol_version macros, so that DEFAULT
29712 lines in shlib-versions are respected.
29713 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
29715 2012-08-01 Florian Weimer <fweimer@redhat.com>
29717 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
29718 Declare with warn_unused_result.
29719 (setgid, setregid, setegid, setresgid): Likewise.
29720 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
29722 * WUR-REPORT: Remove set*id functions.
29724 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
29726 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
29728 2012-07-31 Roland McGrath <roland@hack.frob.com>
29731 * include/sys/socket.h (__libc_accept, __libc_accept4):
29732 Add attribute_hidden.
29733 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
29735 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
29737 * inet/getnetgrent_r.c (setup): Likewise.
29739 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
29741 2012-07-31 David S. Miller <davem@davemloft.net>
29743 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29745 2012-07-31 Joseph Myers <joseph@codesourcery.com>
29748 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
29749 value between 1.0 and 2.0 and smaller part has absolute value less
29751 * math/s_clog10.c (__clog10): Likewise.
29752 * math/s_clog10f.c (__clog10f): Likewise.
29753 * math/s_clog10l.c (__clog10l): Likewise.
29754 * math/s_clogf.c (__clogf): Likewise.
29755 * math/s_clogl.c (__clogl): Likewise.
29756 * math/libm-test.inc (clog_test): Add more tests.
29757 (clog10_test): Likewise.
29758 * sysdeps/i386/fpu/libm-test-ulps: Update.
29759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29761 2012-07-31 Florian Weimer <fweimer@redhat.com>
29763 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
29764 Exit with zero in case no suitable GID is found, and write a
29765 message to standard error.
29767 2012-07-30 Roland McGrath <roland@hack.frob.com>
29769 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
29771 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
29772 (MAXPATHLEN): Removed.
29773 (NOGROUP, NODEV): New macros.
29774 (setbit, clrbit, isset, isclr): New macros.
29775 (howmany, roundup, powerof2): New macros.
29776 (DEV_BSIZE): New macro.
29778 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
29779 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
29781 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
29782 definition on [!__NO_LONG_DOUBLE_MATH].
29784 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
29785 PTR_MANGLE and PTR_DEMANGLE.
29787 * socket/accept4.c (accept4): Rename to __libc_accept4.
29788 Define accept4 as a weak alias.
29790 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
29791 on [_DIRENT_HAVE_D_TYPE].
29792 * io/ftw.c (ftw_dir): Likewise.
29794 * io/xmknod.c (__xmknod): Don't check PATH for being null.
29796 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
29798 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
29799 Use the BSD numbers rather than the arbitrary ones we had.
29800 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
29801 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
29802 (SIGXCPU, SIGXFSZ): New macros.
29805 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
29806 initializer on [_LIBC_REENTRANT].
29808 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
29809 definitions inside [_POSIX_MAPPED_FILES].
29811 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
29813 * dirent/opendir.c: Include <fcntl.h>.
29815 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
29816 (__libc_getspecific): Likewise.
29817 (__libc_key_create): Likewise.
29819 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
29820 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
29821 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
29822 (tmpfile64): Define as alias.
29823 * sysdeps/wordsize-64/tmpfile.c: File removed.
29824 * sysdeps/wordsize-64/tmpfile64.c: File removed.
29825 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
29826 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
29828 * stdio-common/vfscanf.c: Include <stdbool.h>.
29829 * nss/makedb.c: Likewise.
29830 * stdio-common/_i18n_number.h: Likewise.
29831 * argp/argp-help.c: Likewise.
29832 * posix/wordexp.c: Likewise.
29833 * sysdeps/posix/spawni.c: Likewise.
29834 * nss/nss_files/files-initgroups.c: Likewise.
29835 * stdio-common/reg-modifier.c: Include <stdlib.h>.
29836 * nss/nss_files/files-initgroups.c: Likewise.
29837 * nss/nss_db/db-netgrp.c: Likewise.
29838 * nss/nss_db/db-initgroups.c: Likewise.
29839 * io/fchmodat.c: Include <sys/stat.h>.
29841 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
29842 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
29844 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
29847 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
29848 Add multiple inclusion protection.
29850 2012-07-27 David S. Miller <davem@davemloft.net>
29852 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29854 2012-07-27 Gary Benson <gbenson@redhat.com>
29857 * elf/rtld.c: Include <stap-probe.h>.
29858 (dl_main): Added static probes "init_start" and "init_complete".
29859 * elf/dl-load.c: Include <stap-probe.h>.
29860 (lose): Take new parameter "nsid".
29861 Added static probe "map_failed".
29862 (_dl_map_object_from_fd): Pass namespace id to lose.
29863 Added static probe "map_start".
29864 (open_verify): Pass namespace id to lose.
29865 * elf/dl-open.c: Include <stap-probe.h>.
29866 (dl_open_worker) Added static probes "map_complete", "reloc_start"
29867 and "reloc_complete".
29868 * elf/dl-close.c: Include <stap-probe.h>.
29869 (_dl_close_worker): Added static probes "unmap_start" and
29871 * elf/rtld-debugger-interface.txt: New file documenting the above.
29873 2012-07-26 Roland McGrath <roland@hack.frob.com>
29875 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
29876 rather than a string variable.
29877 * sunrpc/rpc_main.c (h_output): Likewise.
29878 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
29880 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
29882 * inet/check_native.c: New file.
29884 2012-07-26 Joseph Myers <joseph@codesourcery.com>
29887 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
29888 if larger part has absolute value 1.0.
29889 * math/s_clog10.c (__clog10): Likewise.
29890 * math/s_clog10f.c (__clog10f): Likewise.
29891 * math/s_clog10l.c (__clog10l): Likewise.
29892 * math/s_clogf.c (__clogf): Likewise.
29893 * math/s_clogl.c (__clogl): Likewise.
29894 * math/libm-test.inc (clog_test): Add more tests.
29895 (clog10_test): Likewise.
29896 * sysdeps/i386/fpu/libm-test-ulps: Update.
29897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29899 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
29900 (pltexit): Likewise.
29901 (La_regs): Likewise.
29902 (La_retval): Likewise.
29903 (int_retval): Likewise.
29904 Update #error for removed macros to refer only to definitions in
29906 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
29908 (pltexit): Likewise.
29909 (La_regs): Likewise.
29910 (La_retval): Likewise.
29911 (int_retval): Likewise.
29912 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
29914 (pltexit): Likewise.
29915 (La_regs): Likewise.
29916 (La_retval): Likewise.
29917 (int_retval): Likewise.
29918 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
29920 (pltexit): Likewise.
29921 (La_regs): Likewise.
29922 (La_retval): Likewise.
29923 (int_retval): Likewise.
29924 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
29926 (pltexit): Likewise.
29927 (La_regs): Likewise.
29928 (La_retval): Likewise.
29929 (int_retval): Likewise.
29930 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
29932 (pltexit): Likewise.
29933 (La_regs): Likewise.
29934 (La_retval): Likewise.
29935 (int_retval): Likewise.
29936 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
29938 (pltexit): Likewise.
29939 (La_regs): Likewise.
29940 (La_retval): Likewise.
29941 (int_retval): Likewise.
29942 * sysdeps/generic/tst-audit.h: Update comment to refer only to
29943 macro definitions in tst-audit.h.
29944 * sysdeps/i386/tst-audit.h: New file.
29945 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
29946 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
29947 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
29948 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
29949 * sysdeps/sh/tst-audit.h: Likewise.
29950 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
29951 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
29952 * sysdeps/x86_64/tst-audit.h: Likewise.
29954 2012-07-26 Andreas Jaeger <aj@suse.de>
29956 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
29959 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
29960 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
29961 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
29963 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
29964 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
29965 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
29967 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
29970 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
29972 (si_call_addr, si_syscall, si_arch): Define new macro.
29973 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
29975 (si_call_addr, si_syscall, si_arch): Define new marcro.
29976 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
29978 (si_call_addr, si_syscall, si_arch): Define new macro.
29979 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
29981 (si_call_addr, si_syscall, si_arch): Define new macro.
29983 2012-07-25 Joseph Myers <joseph@codesourcery.com>
29986 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29987 Change to 2.4.21 where previously 2.4.1.
29988 * sysdeps/unix/sysv/linux/configure: Regenerated.
29989 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
29990 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
29991 Linux kernel version.
29992 (__ASSUME_STD_AUXV): Remove.
29993 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
29995 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
29996 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
29997 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
29998 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
29999 (__ASSUME_NETLINK_SUPPORT): Likewise.
30000 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
30001 (__no_netlink_support): Remove conditional definition.
30002 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
30004 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30005 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
30006 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
30007 (if_nameindex_ioctl): Remove.
30008 (if_nameindex_netlink): Do not handle __no_netlink_support.
30009 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30011 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
30012 Remove conditional code.
30013 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30015 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
30017 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30018 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
30019 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
30021 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
30022 [!__ASSUME_STD_AUXV]: Remove conditional code.
30023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
30024 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
30025 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
30026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
30027 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
30028 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30030 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30032 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
30033 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30035 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30037 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30040 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
30043 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30044 code unconditional.
30045 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30047 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30049 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30052 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30054 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30057 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30058 code unconditional.
30059 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30061 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30063 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30066 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30067 code unconditional.
30068 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30070 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30072 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30075 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
30077 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
30078 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
30079 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30080 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
30081 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
30082 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30083 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30084 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
30085 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
30086 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30087 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
30088 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
30089 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
30090 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30091 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
30092 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
30093 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
30094 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
30095 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
30096 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
30097 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
30098 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
30099 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30101 2012-07-25 Florian Weimer <fweimer@redhat.com>
30103 * Versions.def: Add GLIBC_2.17.
30104 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
30105 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
30106 Introduce __libc_secure_getenv.
30107 * stdlib/Versions (2.17): Add secure_getenv
30108 (GLIBC_PRIVATE): Add __libc_secure_getenv.
30109 * stdlib/secure-getenv.c: Rename __secure_getenv to
30110 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
30111 symbol __secure_getenv for GLIBC_2.0.
30112 * stdlib/tst-secure-getenv.c: New.
30113 * stdlib/Makefile (tests): Add testcase.
30114 * manual/startup.texi (Environment Access): Document
30116 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
30117 __libc_secure_getenv.
30118 * inet/ruserpass.c (ruserpass): Likewise.
30119 * malloc/mtrace.c (mtrace): Likewise.
30120 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
30121 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
30122 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
30123 * sysdeps/posix/tempname.c: Likewise. Evaluate
30124 HAVE_SECURE_GETENV.
30125 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
30126 __secure_getenv to __libc_secure_getenv.
30127 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
30128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30134 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30136 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30137 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30138 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30140 2012-07-25 Joseph Myers <joseph@codesourcery.com>
30142 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
30143 (struct La_i86_retval): Likewise.
30144 (struct La_x86_64_regs): Likewise.
30145 (struct La_x86_64_retval): Likewise.
30146 (struct La_x32_regs): Likewise.
30147 (struct La_x32_retval): Likewise.
30148 (struct La_ppc32_regs): Likewise.
30149 (struct La_ppc32_retval): Likewise.
30150 (struct La_ppc64_regs): Likewise.
30151 (struct La_ppc64_retval): Likewise.
30152 (struct La_sh_regs): Likewise.
30153 (struct La_sh_retval): Likewise.
30154 (struct La_s390_32_regs): Likewise.
30155 (struct La_s390_32_retval): Likewise.
30156 (struct La_s390_64_regs): Likewise.
30157 (struct La_s390_64_retval): Likewise.
30158 (struct La_sparc32_regs): Likewise.
30159 (struct La_sparc32_retval): Likewise.
30160 (struct La_sparc64_regs): Likewise.
30161 (struct La_sparc64_retval): Likewise.
30162 (struct audit_ifaces): Remove architecture-specific pltenter and
30164 * sysdeps/i386/ldsodefs.h: New file.
30165 * sysdeps/powerpc/ldsodefs.h: Likewise.
30166 * sysdeps/s390/ldsodefs.h: Likewise.
30167 * sysdeps/sh/ldsodefs.h: Likewise.
30168 * sysdeps/sparc/ldsodefs.h: Likewise.
30169 * sysdeps/x86_64/ldsodefs.h: Likewise.
30171 2012-07-25 Marek Polacek <polacek@redhat.com>
30174 * math/libm-test.inc (yn_test): Add another test.
30175 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
30176 to ERANGE when the result is +-Inf.
30177 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30178 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30179 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
30180 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
30182 2012-07-24 Joseph Myers <joseph@codesourcery.com>
30184 * conform/data/time.h-data (NULL): Use macro-constant. Require
30186 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
30188 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
30190 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
30192 * configure.in <sysdeps resolving>: Correct printing
30194 * configure: Regenerate.
30196 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
30198 * math/w_ilogb.c: Include <limits.h>.
30199 * math/w_ilogbl.c: Likewise.
30201 2012-07-20 Joseph Myers <joseph@codesourcery.com>
30203 * manual/lang.texi (__va_copy): Document primarily as ISO C99
30204 va_copy. Document allowing for unavailable va_copy only as
30205 pre-C99 compatibility.
30206 * manual/string.texi (Copying and Concatenation): Use va_copy
30207 instead of __va_copy in concat example.
30209 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
30211 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
30212 (__sendto): Use create_address_port. Initialize APORT and deallocate
30215 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
30216 with O_NOLINK passed to __file_name_lookup.
30218 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
30219 with O_NOLINK passed to __file_name_lookup.
30221 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
30222 negative N or less than NGIDS.
30224 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
30225 type to string_t. Set ERANGE as errno and return it if NAME is not big
30226 enough. Use memcpy instead of strncpy.
30228 2012-07-20 Joseph Myers <joseph@codesourcery.com>
30230 * elf/Makefile (check-data): Remove.
30231 (localplt.data): New vpath directive.
30232 ($(objpfx)check-localplt.out): Use localplt.data from vpath
30233 instead of $(check-data).
30234 * scripts/data/localplt-generic.data: Move to ...
30235 * sysdeps/generic/localplt.data: ... here.
30236 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
30237 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
30238 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
30239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30241 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
30242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30244 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
30245 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
30247 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
30248 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30250 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
30251 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
30253 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
30254 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
30257 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30259 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
30260 PPC32 and PPC64 files.
30261 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
30262 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
30264 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30266 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
30267 __makecontext_ret to ...
30268 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30269 ... here and call exit if uc_link is NULL. New file.
30270 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
30271 __makecontext_ret.S.
30272 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
30273 __makecontext_ret to ...
30274 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30275 ... here and call exit if uc_link is NULL. New file.
30276 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
30277 __makecontext_ret.S.
30279 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30281 * elf/elf.h (R_390_IRELATIVE): New definition.
30282 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
30283 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
30284 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
30285 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30286 (elf_machine_lazy_rel): Likewise.
30287 * sysdeps/s390/dl-irel.h: New file.
30288 * sysdeps/s390/s390-64/memcpy.S: New asm code.
30289 * sysdeps/s390/s390-64/memset.S: New asm code.
30290 * sysdeps/s390/s390-64/memcmp.S: New asm code.
30291 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
30292 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
30293 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
30294 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
30295 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
30296 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
30297 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
30298 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
30299 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
30300 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
30301 * sysdeps/s390/s390-32/memcpy.S: New asm code.
30302 * sysdeps/s390/s390-32/memset.S: New asm code.
30303 * sysdeps/s390/s390-32/memcmp.S: New asm code.
30305 2012-07-17 Marek Polacek <polacek@redhat.com>
30308 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
30309 * sysdeps/s390/s390-64/configure.in: Likewise.
30310 * sysdeps/sparc/configure.in: Likewise.
30311 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
30312 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
30313 * sysdeps/i386/configure.in: Likewise.
30314 * sysdeps/x86_64/configure.in: Likewise.
30315 * sysdeps/sh/configure.in: Likewise.
30316 * sysdeps/s390/s390-32/configure: Regenerated.
30317 * sysdeps/s390/s390-64/configure: Likewise.
30318 * sysdeps/x86_64/configure: Likewise.
30319 * sysdeps/sh/configure: Likewise.
30320 * sysdeps/powerpc/powerpc64/configure: Likewise.
30321 * sysdeps/powerpc/powerpc32/configure: Likewise.
30322 * sysdeps/sparc/configure: Likwise.
30323 * sysdeps/i386/configure: Likewise.
30325 * elf/dl-open.c: Comment fixes.
30327 2012-07-17 Joseph Myers <joseph@codesourcery.com>
30329 * Makefile [CXX] (check-data): Remove.
30330 [CXX] (c++-types.data): New vpath directive.
30331 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
30332 vpath. Do not allow for C++ type data being missing.
30333 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
30334 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
30335 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
30336 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
30337 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
30338 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
30339 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
30340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30342 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
30343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30345 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
30346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
30348 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
30349 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
30351 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
30352 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
30354 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
30355 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
30357 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
30358 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
30360 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
30361 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
30363 * elf/tls-macros.h (TLS_LE): Move architecture-specific
30364 definitions to architecture-specific files.
30365 (TLS_IE): Likewise.
30366 (TLS_LD): Likewise.
30367 (TLS_GD): Likewise.
30368 * sysdeps/i386/tls-macros.h: New file.
30369 * sysdeps/powerpc/tls-macros.h: Likewise.
30370 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
30371 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
30372 * sysdeps/sh/tls-macros.h: Likewise.
30373 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
30374 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
30375 * sysdeps/x86_64/tls-macros.h: Likewise.
30377 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30379 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
30380 zero value for regular exit case.
30382 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30383 (__start_context): Preserve zero value for regular exit case.
30385 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30386 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30388 * manual/setjmp.texi (setcontext): Clarify normal process
30389 termination when uc_link is the null pointer.
30390 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
30393 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
30395 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
30396 preprocessor. Test for each exception mask separately.
30398 2012-07-16 Andreas Jaeger <aj@suse.de>
30400 * po/ru.po: Update from translation team.
30402 2012-07-15 Joseph Myers <joseph@codesourcery.com>
30404 * conform/data/string.h-data (NULL): Use macro-constant. Require
30406 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30407 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30408 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
30409 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
30410 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30412 2012-07-13 Andreas Jaeger <aj@suse.de>
30414 * po/fr.po: Update from translation team.
30416 2012-07-12 Marek Polacek <polacek@redhat.com>
30419 * math/libm-test.inc (yn_test): Add test for BZ #14173.
30420 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
30423 2012-07-12 Joseph Myers <joseph@codesourcery.com>
30426 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30427 Change to 2.4.1 where previously 2.4.0.
30428 * sysdeps/unix/sysv/linux/configure: Regenerated.
30429 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
30430 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
30432 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
30433 (__ASSUME_AT_CLKTCK): Remove.
30434 (__ASSUME_AT_PAGESIZE): Likewise.
30435 (__ASSUME_AT_XID): Likewise.
30436 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
30437 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
30438 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
30440 (HAVE_AUX_PAGESIZE): Likewise.
30441 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
30442 [__ASSUME_AT_CLKTCK]: Make code unconditional.
30443 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
30445 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
30448 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
30449 the temporary buffer used to invoke __gethostbyname2_r,
30450 __gethostbyaddr_r and gethostbyname4_r to make room for struct
30451 host_data / struct gaih_addrtuple.
30452 * resolv/nss_dns/dns-host.c (global scope): Move definition of
30453 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
30454 header file nss/nsswitch.h.
30455 * nss/nsswitch.h (global scope): Add definition of implementation
30456 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
30457 resolv/nss_dns/dns-host.c).
30459 2012-07-11 Andreas Jaeger <aj@suse.de>
30461 * po/fr.po: Update from translation team.
30463 * po/sv.po: Update from translation team
30464 * po/fr.po: Another update from translation team.
30466 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30468 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
30469 for subnormals or multiply small sinh result by itself.
30470 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30471 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30473 2012-07-11 David S. Miller <davem@davemloft.net>
30475 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30477 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
30480 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
30481 (INTERNAL_MARK): Shift it here.
30483 2012-07-10 Marek Polacek <polacek@redhat.com>
30486 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
30487 libc_cv_asm_global_directive with .globl.
30488 * configure: Regenerated.
30489 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
30491 * sysdeps/i386/configure: Regenerated.
30492 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
30494 * sysdeps/x86_64/configure: Regenerated.
30495 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
30496 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
30497 * elf/tst-unique2mod2.c: Likewise.
30498 * elf/tst-unique2mod1.c: Likewise.
30499 * elf/tst-unique1mod2.c: Likewise.
30500 * elf/tst-unique1mod1.c: Likewise.
30501 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30502 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30503 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30504 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30505 * sysdeps/mach/sysdep.h: Likewise.
30506 * sysdeps/i386/sysdep.h: Likewise.
30507 * sysdeps/i386/i386-mcount.S: Likewise.
30508 * sysdeps/x86_64/_mcount.S: Likewise.
30509 * sysdeps/x86_64/sysdep.h: Likewise.
30510 * sysdeps/sh/_mcount.S: Likewise.
30511 * sysdeps/sh/sysdep.h: Likewise.
30512 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
30513 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
30514 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
30515 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30516 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
30517 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
30518 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
30519 * locale/localeinfo.h: Likewise.
30520 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
30521 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
30523 2012-07-09 Roland McGrath <roland@hack.frob.com>
30526 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
30528 * manual/message.texi (The Uniforum approach): Likewise.
30529 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
30530 (glibc iconv Implementation): Likewise.
30532 2012-07-09 Joseph Myers <joseph@codesourcery.com>
30535 * math/s_clog.c (__clog): Avoid scaling a value down where that
30536 could result in underflow.
30537 * math/s_clog10.c (__clog10): Likewise.
30538 * math/s_clog10f.c (__clog10f): Likewise.
30539 * math/s_clog10l.c (__clog10l): Likewise.
30540 * math/s_clogf.c (__clogf): Likewise.
30541 * math/s_clogl.c (__clogl): Likewise.
30542 * math/libm-test.inc (clog_test): Add more tests.
30543 (clog10_test): Likewise.
30544 * sysdeps/i386/fpu/libm-test-ulps: Update.
30545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30547 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
30550 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
30551 by 7 not 8 to examine high bit of fractional part.
30554 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
30555 for call to __mcount_internal.
30556 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
30557 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
30558 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
30560 2012-07-06 Joseph Myers <joseph@codesourcery.com>
30563 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
30564 approximation for values within 0x1p-13f of an odd multiple of
30566 * math/libm-test.inc (tan_test): Do not allow spurious underflow
30567 exception. Add more tests.
30568 * sysdeps/i386/fpu/libm-test-ulps: Update.
30571 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
30572 inputs and return -1 for them. Do not check for +Inf in case not
30573 reachable for +Inf.
30574 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
30575 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
30576 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30577 and return -1 for them. Do not check for +Inf in case not
30578 reachable for +Inf.
30579 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
30581 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30582 and return -1 for them. Do not check for +Inf in case not
30583 reachable for +Inf.
30584 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
30585 spurious underflow.
30586 * sysdeps/i386/fpu/libm-test-ulps: Update.
30587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30589 2012-07-06 Mike Frysinger <vapier@gentoo.org>
30591 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
30593 2012-07-05 Joseph Myers <joseph@codesourcery.com>
30597 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
30598 could result in spurious underflow. Scale down values above
30599 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
30600 * math/s_csqrtf.c (__csqrtf): Likewise.
30601 * math/s_csqrtl.c (__csqrtl): Likewise.
30602 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
30603 spurious underflow.
30604 * sysdeps/i386/fpu/libm-test-ulps: Update.
30605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30607 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
30609 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
30611 * catgets/xopen-msg.awk: New file.
30612 * catgets/xopen-msg.sed: Removed.
30614 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
30616 * intl/po2test.awk: New file.
30617 * intl/po2test.sed: Removed.
30619 2012-07-04 Joseph Myers <joseph@codesourcery.com>
30622 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
30623 or multiply small sinh result by itself.
30624 * math/s_ctanf.c (__ctanf): Likewise.
30625 * math/s_ctanh.c (__ctanh): Likewise.
30626 * math/s_ctanhf.c (__ctanhf): Likewise.
30627 * math/s_ctanhl.c (__ctanhl): Likewise.
30628 * math/s_ctanl.c (__ctanl): Likewise.
30629 * math/libm-test.inc (ctan_test_tonearest): New function.
30630 (ctan_test_towardzero): Likewise.
30631 (ctan_test_downward): Likewise.
30632 (ctan_test_upward): Likewise.
30633 (ctanh_test_tonearest): Likewise.
30634 (ctanh_test_towardzero): Likewise.
30635 (ctanh_test_downward): Likewise.
30636 (ctanh_test_upward): Likewise.
30637 (main): Call these new functions.
30638 * sysdeps/i386/fpu/libm-test-ulps: Update.
30639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30641 2012-07-03 Mike Frysinger <vapier@gentoo.org>
30643 * .gitignore: Delete /ports entry.
30645 2012-07-03 Andreas Jaeger <aj@suse.de>
30647 * po/bg.po: Update from translation team.
30648 * po/cs.po: Likewise.
30649 * po/de.po: Likewise.
30650 * po/hr.po: Likewise.
30651 * po/nl.pl: Likewise.
30652 * po/pl.po: Likewise.
30653 * po/vi.po: Likewise.
30655 2012-07-03 Joseph Myers <joseph@codesourcery.com>
30657 * Makeconfig [!+link] (+link-before-libc): New variable.
30658 [!+link] (+link-after-libc): Likewise.
30659 [!+link] (+link-tests): Likewise.
30660 [!+link] (+link): Define in terms of $(+link-before-libc) and
30661 $(+link-after-libc).
30662 [!+link-static] (+link-static-before-libc): New variable.
30663 [!+link-static] (+link-static-after-libc): Likewise.
30664 [!+link-static] (+link-static-tests): Likewise.
30665 [!+link-static] (+link-static): Define in terms of
30666 $(+link-static-before-libc) and $(+link-static-after-libc).
30667 [build-shared] (link-libc-before-gnulib): New variable.
30668 [build-shared] (link-libc-tests): Likewise.
30669 [build-shared] (link-libc): Define in terms of
30670 $(link-libc-before-gnulib).
30671 [!build-shared] (link-libc-tests): New variable.
30672 (link-libc-static-tests): New variable.
30673 [!gnulib] (gnulib-arch): New variable.
30674 [!gnulib] (gnulib-tests): Likewise.
30675 [!gnulib] (static-gnulib-arch): Likewise.
30676 [!gnulib] (static-gnulib-tests): Likewise.
30677 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
30678 Define with "=" instead of ":=".
30679 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
30680 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
30681 * Rules (binaries-all-notests): New variable.
30682 (binaries-all-tests): Likewise.
30683 (binaries-static-notests): Likewise.
30684 (binaries-static-tests): Likewise.
30685 (binaries-all): Define using $(binaries-all-notests) and
30686 $(binaries-all-tests).
30687 (binaries-static): Define using $(binaries-static-notests) and
30688 $(binaries-static-tests).
30689 (binaries-shared-tests): New variable.
30690 (binaries-shared-notests): Likewise.
30691 (binaries-shared): Remove variable.
30692 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
30693 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
30694 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
30695 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
30696 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
30697 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
30698 * elf/Makefile (sln-modules): New variable.
30699 (extra-objs): Add $(sln-modules:=.o).
30700 (ldconfig-modules): Add static-stubs.
30701 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
30702 * elf/static-stubs.c: New file.
30705 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
30706 by 7 not 8 to examine high bit of fractional part. Use volatile
30707 variables when splitting into final array of floats if
30708 __FLT_EVAL_METHOD__ != 0.
30709 * math/libm-test.inc (cos_test): Add another test.
30710 (sin_test): Likewise.
30711 * sysdeps/i386/fpu/libm-test-ulps: Update.
30714 * math/libm-test.inc (cosh_test): Add more tests.
30716 * version.h (RELEASE): Set to "development".
30717 (VERSION): Set to "2.16.90".
30719 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
30721 * NEWS: Update copyright. Remove last-updated date.
30722 Mention math library bug fixes and timezone data changes.
30723 * README: Mention GNU/Hurd, x32, and HPPA support status.
30725 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
30727 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
30729 2012-06-27 Andreas Jaeger <aj@suse.de>
30731 * manual/contrib.texi (Contributors): Add Samuel Thibault.
30733 2012-06-25 Andreas Jaeger <aj@suse.de>
30735 * sysdeps/s390/fpu/libm-test-ulps: Update.
30737 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
30738 Thomas Schwinge <thomas@codesourcery.com>
30740 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
30741 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
30742 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
30745 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
30747 * sysdeps/mach/start.c: Remove file.
30748 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
30749 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
30750 * sysdeps/sh/init-first.c: Likewise.
30752 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
30753 registers for frame unwinding purposes, add CFI directives.
30754 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30755 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
30756 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
30759 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
30760 __fortify_fail returning.
30761 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30763 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
30764 sysdeps/sh/____longjmp_chk.S.
30765 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
30766 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
30767 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
30768 (gen-as-const-headers): Append sigaltstack-offsets.sym.
30770 * sysdeps/sh/abort-instr.h: New file.
30771 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
30772 process in case exit returns.
30774 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
30775 initialize the GOT register before use.
30777 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
30778 calculation of ARGC > 4.
30780 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
30781 meaningful names to some local labels.
30783 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30784 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30786 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
30787 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
30788 (__arch_compare_and_exchange_val_16_acq): Likewise.
30789 (__arch_compare_and_exchange_val_32_acq): Likewise.
30790 (atomic_exchange_and_add): Fix gUSA sequence.
30791 (atomic_add): Likewise.
30792 (atomic_add_negative): Likewise.
30793 (atomic_add_zero): Likewise.
30794 (atomic_bit_test_set): Likewise.
30796 2012-06-22 Andreas Schwab <schwab@redhat.com>
30799 * include/link.h (struct link_map): Add l_free_initfini.
30800 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
30802 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
30803 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
30804 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
30807 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
30809 * configure.in: Use AC_LANG_SOURCE.
30810 * configure: Regenerate.
30812 2012-06-22 Roland McGrath <roland@hack.frob.com>
30814 * configure.in (libc_cv_localstatedir): New substituted variable.
30815 * configure: Regenerated.
30816 * config.make.in (localstatedir): New variable, substituted from
30817 libc_cv_localstatedir.
30818 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
30819 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
30820 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
30821 * sysdeps/gnu/configure: Regenerated.
30823 2012-06-21 Jeff Law <law@redhat.com>
30826 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
30827 free. Simplify list management for _LIBC case.
30829 2012-06-21 Joseph Myers <joseph@codesourcery.com>
30832 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30833 Clear sign bit of 64-bit integer value before comparing against
30836 * sysdeps/mach/configure: Regenerated.
30838 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
30841 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
30843 2012-06-21 Jeff Law <law@redhat.com>
30846 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
30847 uint16_t for elements in the "seen" array to avoid char overflows.
30848 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30849 * elf/dl-open.c (dl_open_worker): Likewise.
30851 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
30853 * scripts/list-sources.sh: Scan PORTS for translations.
30854 * po/libc.pot: Regenerated.
30856 2012-06-21 Andreas Jaeger <aj@suse.de>
30859 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
30861 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
30862 * bits/byteswap-16.h (__bswap_16): Likewise.
30863 * bits/byteswap.h (__bswap_constant_16): Likewise.
30865 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
30868 * sysdeps/i386/fpu_control.h: Removed.
30869 * sysdeps/x86_64/fpu_control.h: Moved to ...
30870 * sysdeps/x86/fpu_control.h: Here.
30872 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
30873 (_FPU_SETCW): Likewise.
30875 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
30878 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
30879 * sysdeps/x86/fpu/bits/mathinline.h: This.
30880 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
30884 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
30885 functions if __x86_64__ is defined.
30887 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
30889 * string/endian.h: Add !__ASSEMBLER__ condition for including
30890 conversion interfaces.
30892 2012-06-15 Joseph Myers <joseph@codesourcery.com>
30895 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
30896 of ABS(x) in calculating zero to negative powers other than odd
30898 * math/libm-test.inc (pow_test): Add more tests.
30900 2012-06-15 Andreas Jaeger <aj@suse.de>
30902 * manual/contrib.texi (Contributors): Update entry of Liubov
30903 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
30906 2012-06-15 Cyril Hrubis <metan@ucw.cz>
30908 * string/string.h: Add __wur to GNU version of strerror_r.
30910 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
30913 * string/Makefile (tests): Add tst-strtok_r.
30914 * string/tst-strtok_r.c: New file.
30915 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
30916 RAX_LP/RDX_LP on SAVE_PTR.
30918 2012-06-14 Roland McGrath <roland@hack.frob.com>
30920 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
30922 2012-06-14 Joseph Myers <joseph@codesourcery.com>
30924 * libm_test.inc (csqrt_test): Allow more spurious underflow
30926 (j0_test): Likewise.
30927 (j1_test): Likewise.
30928 (y0_test): Likewise.
30929 (y1_test): Likewise.
30931 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
30933 * po/Makefile (libc.pot): Use UTF-8 charset.
30935 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
30938 Suppress sign-conversion warning from FD_SET.
30939 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
30940 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
30941 not unsigned long int.
30942 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
30944 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
30948 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
30949 __extern_always_inline instead of __extern_inline.
30950 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
30951 (__signbit): Likewise.
30952 (__signbitl): Support C++ namespace.
30953 (lrintf): New inline function.
30955 (llrintf): Likewise.
30956 (llrint): Likewise.
30966 (floorf): Likewise.
30967 (nearbyint): Likewise.
30968 (nearbyintf): Likewise.
30970 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
30972 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
30973 non-default versions.
30975 2012-06-11 Roland McGrath <roland@hack.frob.com>
30978 * manual/argp.texi (Argp): Reword argp_parse description slightly.
30980 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
30982 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
30983 (FE_UPWARD, FE_DOWNWARD): Don't define.
30984 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
30985 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30987 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
30989 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30990 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30992 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30994 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30995 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
30996 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
30997 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
30999 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
31002 * sysdeps/i386/fpu/bits/fenv.h: Removed.
31003 * sysdeps/i386/fpu/Implies: New file.
31004 * sysdeps/x86_64/fpu/Implies: Likewise.
31005 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
31006 * sysdeps/x86/fpu/bits/fenv.h: This.
31008 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
31011 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
31014 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
31015 character 0xffff that matches the last element of the
31018 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31020 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
31023 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31025 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
31026 values higher than 25.6283.
31028 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31030 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
31031 subnormal exponent extraction and add some __builtin_expect.
31032 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
31033 Fix for subnormal mantissa calculation.
31035 2012-06-04 Mike Frysinger <vapier@gentoo.org>
31037 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
31038 cpu2 is -1 and errno is not ENOSYS.
31040 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
31043 * sysdeps/i386/i486/bits/string.h: Renamed to ...
31044 * sysdeps/x86/bits/string.h: This.
31045 * sysdeps/x86_64/bits/string.h: Removed.
31047 * sysdeps/i386/i486/bits/string.h: Define inline functions only
31048 if not compiling for x86-64, but compiling for >= i486.
31050 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
31051 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
31053 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
31054 New macro from Linux kernel 3.4.0.
31055 (FP_XSTATE_MAGIC2): Likewise.
31056 (FP_XSTATE_MAGIC2_SIZE): Likewise.
31057 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
31058 (struct _fpx_sw_bytes): New struct.
31059 (struct _xsave_hdr): Likewise.
31060 (struct _ymmh_state): Likewise.
31061 (struct _xstate): Likewise.
31063 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
31064 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
31065 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
31066 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
31067 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
31068 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
31070 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
31071 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
31072 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
31073 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
31074 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
31075 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
31077 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31080 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
31081 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
31082 (sysdep_headers): Include sys/platform/ppc.h.
31083 * sysdeps/powerpc/test-gettimebase.c: Test for
31084 __ppc_get_timebase() to catch future ISA opcode/insn changes.
31085 * manual/Makefile (appendices): Include platform.texi.
31086 * manual/contrib.texi (Contributors): Update @node pointers.
31087 * manual/maint.texi (Maintenance): Likewise.
31088 (Platform): New node.
31089 * manual/platform.texi: New file. Document the new features.
31091 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31092 Jakub Jelinek <jakub@redhat.com>
31095 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
31096 where __builtin_expect is unavailable.
31098 2012-06-03 David S. Miller <davem@davemloft.net>
31100 * stdlib/longlong.h: Updated from GCC.
31102 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
31105 * sysdeps/powerpc/powerpc32/mcount.c: New file.
31106 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
31108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31109 (GLIBC_2.16): Likewise.
31111 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31113 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
31115 2012-06-01 Joseph Myers <joseph@codesourcery.com>
31117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
31118 (default-abi): New variable.
31119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
31120 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
31122 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
31124 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
31126 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
31129 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
31130 definition. Document in comment.
31132 2012-06-01 David S. Miller <davem@davemloft.net>
31134 * stdlib/longlong.h: Updated from GCC.
31136 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31139 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
31140 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
31141 sys/debugreg.h sys/io.h here.
31142 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
31143 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
31145 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
31146 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
31147 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
31148 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
31149 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
31150 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
31152 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
31153 Define only if __x86_64__ is defined.
31155 2012-06-01 Joseph Myers <joseph@codesourcery.com>
31158 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
31159 Use int64_t for variable i.
31160 * math/libm-test.inc (fmod_test): Add more tests.
31162 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
31163 z computation is not scheduled after fetestexcept.
31164 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
31165 Use math_force_eval instead of asm to ensure calculation scheduled
31166 before exception test.
31167 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
31168 Ensure a1 + u.d computation is not scheduled after fetestexcept.
31170 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
31172 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
31173 computation is not scheduled after fetestexcept.
31175 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31178 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
31179 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
31181 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31183 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
31184 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31186 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31189 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
31191 (__WCHAR_MIN): Support __WORDSIZE == 64.
31192 (__WCHAR_MAX): Likewise.
31194 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
31195 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
31198 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
31199 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
31202 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
31203 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
31205 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
31206 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
31208 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
31209 Defined to 1 if __x86_64__ isn't defined.
31210 (_STAT_VER_LINUX_OLD): New.
31211 (st_atime): Remove duplicate.
31212 (st_mtime): Likewise.
31213 (st_ctime): Likewise.
31215 2012-05-31 David S. Miller <davem@davemloft.net>
31217 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
31220 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
31222 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
31226 * elf/dl-reloc.c: Include <_itoa.h>.
31227 (_dl_reloc_bad_type): Remove use of INTUSE.
31228 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
31229 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
31230 * stdio-common/psiginfo.c (psiginfo): Likewise.
31231 * stdio-common/psignal.c (psignal): Likewise.
31232 * string/strsignal.c (strsignal): Likewise.
31233 * include/signal.h (_sys_siglist): Declare hidden proto.
31234 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
31235 INTVARDEF with libc_hidden_data_def.
31236 * stdio-common/itoa-udigits.c: Likewise.
31237 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
31238 (_itoa_lower_digits_internal): Remove declaration.
31239 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
31240 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
31241 (_sys_sigabbrev_internal): Remove aliases.
31242 (_sys_siglist): Define hidden alias.
31244 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
31246 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31249 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31252 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
31253 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
31255 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
31256 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
31257 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
31258 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
31259 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
31260 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
31262 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
31263 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
31264 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
31266 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
31274 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
31275 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
31276 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
31278 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
31279 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
31280 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
31281 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
31282 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
31283 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
31285 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
31286 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
31288 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
31289 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
31291 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
31292 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
31293 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
31295 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
31296 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
31298 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
31300 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
31301 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
31302 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
31304 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
31306 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
31308 2012-05-31 Joseph Myers <joseph@codesourcery.com>
31310 * math/math.h (M_El): Use two more decimal places.
31311 (M_LOG2El): Likewise.
31312 (M_LOG10El): Likewise.
31313 (M_LN2l): Likewise.
31314 (M_LN10l): Likewise.
31316 (M_PI_2l): Likewise.
31317 (M_PI_4l): Likewise.
31318 (M_1_PIl): Likewise.
31319 (M_2_PIl): Likewise.
31320 (M_2_SQRTPIl): Likewise.
31321 (M_SQRT2l): Likewise.
31322 (M_SQRT1_2l): Likewise.
31324 2012-05-31 David S. Miller <davem@davemloft.net>
31326 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
31327 values between float registers.
31328 * sysdeps/sparc/sparc64/memset.S: Likewise.
31329 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31331 2012-05-31 Mike Frysinger <vapier@gentoo.org>
31333 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
31334 -D_FORTIFY_SOURCE=1.
31335 (CPPFLAGS-tst-longjmp_chk.c): Define.
31336 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
31337 (CPPFLAGS-tst-longjmp_chk2.c): Define.
31338 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
31339 CFLAGS-tst-wchar-h.c.
31341 2012-05-31 Marek Polacek <polacek@redhat.com>
31344 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
31345 __endmntent_internal): Remove declaration.
31346 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
31347 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
31348 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
31350 2012-05-30 David S. Miller <davem@davemloft.net>
31352 * sysdeps/sparc/sparc32/soft-fp/q_util.c
31353 (___Q_simulate_exceptions): Use real FP ops rather than writing
31355 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
31358 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31361 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
31362 * sysdeps/x86/bits/xtitypes.h: This.
31364 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
31365 * sysdeps/x86/bits/wordsize.h: This.
31367 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
31368 * sysdeps/x86/bits/huge_vall.h: This.
31370 * sysdeps/i386/bits/select.h: Removed.
31371 * sysdeps/x86_64/bits/select.h: Renamed to ...
31372 * sysdeps/x86/bits/select.h: This.
31374 * sysdeps/i386/bits/setjmp.h: Removed.
31375 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
31376 * sysdeps/x86/bits/setjmp.h: This.
31378 * sysdeps/i386/bits/mathdef.h: Removed.
31379 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
31380 * sysdeps/x86/bits/mathdef.h: This.
31382 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
31385 * include/sys/socket.h (__connect_internal)
31386 (__libc_sa_len_internal): Remove declaration.
31387 (__connect, __libc_sa_len): Declare hidden_proto.
31388 (SA_LEN): Remove use of INTUSE.
31389 * socket/connect.c: Add libc_hidden_def.
31390 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
31391 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
31392 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
31394 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31395 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
31396 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
31397 of adding _internal alias.
31399 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31402 * sysdeps/i386/bits/link.h: Removed.
31403 * sysdeps/i386/bits/linkmap.h: Likewise.
31404 * sysdeps/x86_64/bits/link.h: Renamed to ...
31405 * sysdeps/x86/bits/link.h: This.
31406 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
31407 * sysdeps/x86/bits/linkmap.h: This.
31409 * sysdeps/i386/bits/endian.h: Removed.
31410 * sysdeps/x86_64/bits/endian.h: Renamed to ...
31411 * sysdeps/x86/bits/endian.h: This.
31413 * sysdeps/i386/bits/byteswap.h: Removed.
31414 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31415 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
31416 * sysdeps/x86/bits/byteswap.h: This.
31417 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
31418 * sysdeps/x86/bits/byteswap-16.h: This.
31419 * sysdeps/i386/Implies: Add x86.
31420 * sysdeps/x86_64/Implies: Likewise.
31422 2012-05-30 David S. Miller <davem@davemloft.net>
31424 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
31425 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
31426 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31427 (FP_TRAPPING_EXCEPTIONS): Define.
31428 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31429 (FP_TRAPPING_EXCEPTIONS): Define.
31430 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
31431 subnormals only when inexact has been signalled or underflow
31432 exceptions are enabled.
31433 (_FP_PACK_CANONICAL): Likewise.
31435 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31438 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
31439 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
31441 2012-05-30 Richard Henderson <rth@twiddle.net>
31443 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
31444 with #ifndef NOT_IN_libc.
31446 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
31447 marked to avoid plt entry.
31449 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31452 * Makeconfig (default-abi): New macro.
31453 (abi-includes): Likewise.
31454 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
31455 $(abi-$(default-abi)-lib-soname) for soname if defined.
31456 ($(common-objpfx)gnu/lib-names.stmp): Generate from
31458 * Makefile (installed-stubs): Likewise.
31459 * include/stubs-biarch.h: Removed.
31460 * scripts/lib-names.awk: Only handle one library at a time.
31461 * scripts/soversions.awk: Remove WORDSIZE support.
31462 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
31464 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
31466 (syscall-list-default-condition): Likewise.
31467 (syscall-list-default-condition): Likewise.
31468 (syscall-list-includes): Likewise.
31469 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
31470 syscall-list-* with abi-*. Handle undefined abi-variants.
31471 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
31472 * sysdeps/unix/sysv/linux/i386/Implies: New file.
31473 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
31474 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
31475 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
31476 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
31478 (syscall-list-32-options): Likewise.
31479 (syscall-list-32-condition): Likewise.
31480 (syscall-list-64-options): Likewise.
31481 (syscall-list-64-condition): Likewise.
31482 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
31484 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
31487 (abi-64-ld-soname): New macro.
31488 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
31489 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
31492 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
31493 * sysdeps/x86_64/x32/shlib-versions: Likewise.
31495 2012-05-30 Joseph Myers <joseph@codesourcery.com>
31497 * sysdeps/unix/sysv/linux/kernel-features.h
31498 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
31499 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
31500 include <kernel-features.h>.
31501 [!__NR_ftruncate64]: Remove conditional code.
31502 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31503 [__NR_ftruncate64]: Make code unconditional.
31504 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31505 * sysdeps/unix/sysv/linux/truncate64.c: Do not
31506 include <kernel-features.h>.
31507 [!__NR_ftruncate64]: Remove conditional code.
31508 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31509 [__NR_ftruncate64]: Make code unconditional.
31510 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
31512 include <kernel-features.h>.
31513 [!__NR_ftruncate64]: Remove conditional code.
31514 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31515 [__NR_ftruncate64]: Make code unconditional.
31516 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31518 include <kernel-features.h>.
31519 [!__NR_ftruncate64]: Remove conditional code.
31520 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31521 [__NR_ftruncate64]: Make code unconditional.
31522 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31524 * configure.in (libc_cv_fpie): Weaken to a compile test using
31525 LIBC_TRY_CC_OPTION.
31526 * configure: Regenerated.
31528 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31530 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
31531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
31532 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
31533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31535 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
31536 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
31537 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
31538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
31539 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
31540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31543 2012-05-27 David S. Miller <davem@davemloft.net>
31545 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
31547 (__Q_simulate_exceptions): Return void. Change to simulate
31548 exceptions by writing into the %fsr.
31549 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
31550 (__Qp_handle_exceptions): Likewise.
31552 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
31553 __Qp_handle_exceptions.
31554 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
31555 __Qp_handle_exceptions.
31556 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31557 as unused and give dummy FP_RND_NEAREST initializer.
31558 (FP_INHIBIT_RESULTS): Define.
31559 (___Q_simulate_exceptions): Update declaration.
31560 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
31562 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31563 as unused and give dummy FP_RND_NEAREST initializer.
31564 (__Qp_handle_exceptions): Update declaration.
31565 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
31568 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
31570 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
31571 the temporary FPU control word.
31572 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
31573 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
31574 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
31575 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31576 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31577 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
31578 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
31579 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31580 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31581 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
31582 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31584 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31586 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
31589 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
31591 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
31592 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
31593 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
31594 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
31596 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
31597 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
31600 2012-05-27 Ulrich Drepper <drepper@gmail.com>
31602 * po/h.po: Update from translation team.
31604 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
31606 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
31608 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
31609 handling of denormals.
31610 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31611 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
31612 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31613 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31614 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31615 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
31616 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
31619 2012-05-26 Marek Polacek <polacek@redhat.com>
31622 * math/libm-test.inc (fma_test): Don't always expect underflow
31625 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31628 * elf/tst-execstack.c: Include stackinfo.h.
31629 (do_test): Adjust test case to ensure that pthread_getattr_np
31630 behaviour remains the same after marking stack executable.
31632 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31634 * sysdeps/unix/sysv/linux/kernel-features.h
31635 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
31636 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
31638 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31639 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31640 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
31642 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31643 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31645 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
31647 * configure.in: Define the default includes to being none.
31648 * configure: Regenerated.
31650 2012-05-25 Roland McGrath <roland@hack.frob.com>
31652 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
31653 * sysdeps/x86_64/setjmp.S: Likewise.
31654 * sysdeps/i386/bsd-setjmp.S: Likewise.
31655 * sysdeps/i386/bsd-_setjmp.S: Likewise.
31656 * sysdeps/i386/setjmp.S: Likewise.
31657 * sysdeps/i386/__longjmp.S: Likewise.
31658 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31659 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
31661 * include/stap-probe.h: New file.
31662 * configure.in: Handle --enable-systemtap.
31663 * configure: Regenerated.
31664 * config.h.in (USE_STAP_PROBE): New #undef.
31665 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
31666 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
31667 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31669 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31672 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31673 to 2.4.0 where earlier.
31674 * sysdeps/unix/sysv/linux/configure: Regenerated.
31675 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31676 <kernel-features.h>.
31677 [__ASSUME_32BITUIDS]: Make code unconditional.
31678 [!__ASSUME_32BITUIDS]: Remove conditional code.
31679 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
31680 <kernel-features.h>.
31681 [__ASSUME_32BITUIDS]: Make code unconditional.
31682 [!__ASSUME_32BITUIDS]: Remove conditional code.
31683 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
31684 [__ASSUME_32BITUIDS]: Make code unconditional.
31685 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
31686 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
31687 <kernel-features.h>.
31688 [__ASSUME_32BITUIDS]: Make code unconditional.
31689 [!__ASSUME_32BITUIDS]: Remove conditional code.
31690 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
31691 <kernel-features.h>.
31692 [__ASSUME_32BITUIDS]: Make code unconditional.
31693 [!__ASSUME_32BITUIDS]: Remove conditional code.
31694 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
31695 <kernel-features.h>.
31696 [__ASSUME_32BITUIDS]: Make code unconditional.
31697 [!__ASSUME_32BITUIDS]: Remove conditional code.
31698 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
31699 <kernel-features.h>.
31700 [__ASSUME_32BITUIDS]: Make code unconditional.
31701 [!__ASSUME_32BITUIDS]: Remove conditional code.
31702 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31703 <kernel-features.h>.
31704 [__ASSUME_32BITUIDS]: Make code unconditional.
31705 [!__ASSUME_32BITUIDS]: Remove conditional code.
31706 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31707 <kernel-features.h>.
31708 [__ASSUME_32BITUIDS]: Make code unconditional.
31709 [!__ASSUME_32BITUIDS]: Remove conditional code.
31710 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
31711 <kernel-features.h>.
31712 [__ASSUME_32BITUIDS]: Make code unconditional.
31713 [!__ASSUME_32BITUIDS]: Remove conditional code.
31714 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31715 <kernel-features.h>.
31716 [__ASSUME_32BITUIDS]: Make code unconditional.
31717 [!__ASSUME_32BITUIDS]: Remove conditional code.
31718 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31719 <kernel-features.h>.
31720 [__ASSUME_32BITUIDS]: Make code unconditional.
31721 [!__ASSUME_32BITUIDS]: Remove conditional code.
31722 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
31723 <kernel-features.h>.
31724 [__ASSUME_32BITUIDS]: Make code unconditional.
31725 [!__ASSUME_32BITUIDS]: Remove conditional code.
31726 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
31727 <kernel-features.h>.
31728 [__NR_setresgid] (__setresgid): Do not declare.
31729 [__ASSUME_32BITUIDS]: Make code unconditional.
31730 [!__ASSUME_32BITUIDS]: Remove conditional code.
31731 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
31732 <kernel-features.h>.
31733 [__NR_setresuid] (__setresuid): Do not declare.
31734 [__ASSUME_32BITUIDS]: Make code unconditional.
31735 [!__ASSUME_32BITUIDS]: Remove conditional code.
31736 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
31737 <kernel-features.h>.
31738 [__ASSUME_32BITUIDS]: Make code unconditional.
31739 [!__ASSUME_32BITUIDS]: Remove conditional code.
31740 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
31741 <kernel-features.h>.
31742 [__ASSUME_32BITUIDS]: Make code unconditional.
31743 [!__ASSUME_32BITUIDS]: Remove conditional code.
31744 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
31745 <kernel-features.h>.
31746 [__ASSUME_32BITUIDS]: Make code unconditional.
31747 [!__ASSUME_32BITUIDS]: Remove conditional code.
31748 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
31749 <kernel-features.h>.
31750 [__ASSUME_32BITUIDS]: Make code unconditional.
31751 [!__ASSUME_32BITUIDS]: Remove conditional code.
31752 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
31753 <kernel-features.h>.
31754 [__ASSUME_32BITUIDS]: Make code unconditional.
31755 [!__ASSUME_32BITUIDS]: Remove conditional code.
31756 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
31757 <kernel-features.h>.
31758 [__ASSUME_32BITUIDS]: Make code unconditional.
31759 [!__ASSUME_32BITUIDS]: Remove conditional code.
31760 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
31761 <kernel-features.h>.
31762 [__ASSUME_32BITUIDS]: Make code unconditional.
31763 [!__ASSUME_32BITUIDS]: Remove conditional code.
31764 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
31765 <kernel-features.h>.
31766 [__ASSUME_32BITUIDS]: Make code unconditional.
31767 [!__ASSUME_32BITUIDS]: Remove conditional code.
31768 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
31769 <kernel-features.h>.
31770 [__ASSUME_32BITUIDS]: Make code unconditional.
31771 [!__ASSUME_32BITUIDS]: Remove conditional code.
31772 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31773 <kernel-features.h>.
31774 [__ASSUME_32BITUIDS]: Make code unconditional.
31775 [!__ASSUME_32BITUIDS]: Remove conditional code.
31776 * sysdeps/unix/sysv/linux/kernel-features.h
31777 (__ASSUME_SETRESUID_SYSCALL): Remove.
31778 (__ASSUME_SETRESGID_SYSCALL): Likewise.
31779 (__ASSUME_32BITUIDS): Likewise.
31780 (__ASSUME_LDT_WORKS): Likewise.
31781 (__ASSUME_O_DIRECTORY): Likewise.
31782 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
31783 architecture but not kernel version.
31784 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31785 (__ASSUME_MMAP2_SYSCALL): Likewise.
31786 (__ASSUME_STAT64_SYSCALL): Likewise.
31787 (__ASSUME_IPC64): Likewise.
31788 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
31789 <kernel-features.h>.
31790 [__ASSUME_32BITUIDS]: Make code unconditional.
31791 [!__ASSUME_32BITUIDS]: Remove conditional code.
31792 * sysdeps/unix/sysv/linux/opendir.c: Do not include
31793 <kernel-features.h>.
31794 [__ASSUME_O_DIRECTORY]: Make code unconditional.
31795 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
31796 132096]: Remove conditional code.
31797 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
31798 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31799 <kernel-features.h>.
31800 [__ASSUME_32BITUIDS]: Make code unconditional.
31801 [!__ASSUME_32BITUIDS]: Remove conditional code.
31802 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31803 <kernel-features.h>.
31804 [__ASSUME_32BITUIDS]: Make code unconditional.
31805 [!__ASSUME_32BITUIDS]: Remove conditional code.
31806 * sysdeps/unix/sysv/linux/setegid.c: Do not include
31807 <kernel-features.h>.
31808 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
31810 (__setresgid): Do not declare.
31811 [__ASSUME_32BITUIDS]: Make code unconditional.
31812 [!__ASSUME_32BITUIDS]: Remove conditional code.
31813 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
31814 <kernel-features.h>.
31815 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
31817 (__setresuid): Do not declare.
31818 [__ASSUME_32BITUIDS]: Make code unconditional.
31819 [!__ASSUME_32BITUIDS]: Remove conditional code.
31820 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31821 <kernel-features.h>.
31822 [__ASSUME_32BITUIDS]: Make code unconditional.
31823 [!__ASSUME_32BITUIDS]: Remove conditional code.
31824 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
31825 <kernel-features.h>.
31826 [__ASSUME_32BITUIDS]: Make code unconditional.
31827 [!__ASSUME_32BITUIDS]: Remove conditional code.
31829 2012-05-25 Richard Henderson <rth@twiddle.net>
31831 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
31832 dl_hwcap to ifunc resolver.
31833 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
31835 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
31836 dl_hwcap to ifunc resolver.
31837 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
31839 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31842 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
31843 for |x| <= 2**-26, not 2**-57.
31844 * math/libm-test.inc (acos_test): Do not allow spurious underflow
31847 2012-05-24 Jeff Law <law@redhat.com>
31849 * stdio-common/Makefile (tests): Add bug25.
31850 * stdio-common/bug25.c: New test.
31852 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31855 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
31856 multiple of MALLOC_ALIGNMENT in size.
31857 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
31859 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31861 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
31863 (FILENAME_MAX): Use macro-int-constant.
31864 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
31865 (_IOFBF): Use macro-int-constant.
31866 (_IOLBF): Likewise.
31867 (_IONBF): Likewise.
31868 (SEEK_CUR): Likewise.
31869 (SEEK_END): Likewise.
31870 (SEEK_SET): Likewise.
31871 (TMP_MAX): Likewise.
31872 (EOF): Use macro-int-constant. Require < 0.
31873 (NULL): Use macro-constant. Require == 0.
31874 (stdin): Require type to be FILE *.
31875 (stdout): Likewise.
31876 (stderr): Likewise.
31877 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
31878 macro-int-constant.
31879 (EXIT_SUCCESS): Likewise.
31880 (NULL): Use macro-constant. Require == 0.
31881 (RAND_MAX): Use macro-int-constant.
31882 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
31883 [C99-based standards] (strtof): Require function.
31884 [C99-based standards] (strtold): Likewise.
31885 [C99-based standards] (strtoll): Likewise.
31886 [C99-based standards] (strtoull): Likewise.
31887 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31888 [ISO || ISO99 || ISO11] (limits.h): Likewise.
31889 [ISO || ISO99 || ISO11] (math.h): Likewise.
31890 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
31891 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31892 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31894 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
31897 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
31898 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
31899 * intl/dgettext.c (DCGETTEXT): Likewise.
31900 * intl/gettext.c (DCGETTEXT): Likewise.
31901 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
31902 * posix/regex_internal.h (gettext): Likewise.
31903 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
31904 Remove declaration.
31905 * include/argz.h (__argz_count_internal)
31906 (__argz_stringify_internal): Remove declaration.
31907 (__argz_count, __argz_stringify): Declare hidden proto.
31908 * intl/dcgettext.c: Remove use of INTDEF.
31909 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
31910 * string/argz-stringify.c: Likewise.
31911 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31912 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31913 Declare hidden proto.
31914 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31915 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31916 Declare hidden proto.
31917 * include/stdio.h (__asprintf_internal): Don't declare.
31918 (__asprintf): Don't define as macro. Declare hidden proto.
31919 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
31920 (__fsetlocking): Declare hidden proto.
31921 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
31922 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
31924 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
31925 (_IO_setlinebuf): Remove use of INTUSE.
31926 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
31927 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
31928 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
31929 Remove declaration.
31930 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
31931 (_IO_do_flush): Remove use of INTUSE.
31932 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
31933 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
31934 (_IO_adjust_column, _IO_least_wmarker)
31935 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
31936 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
31937 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
31938 (_IO_default_doallocate, _IO_wdefault_doallocate)
31939 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
31940 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
31941 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
31942 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
31943 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
31944 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
31945 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
31946 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
31947 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
31948 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
31949 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
31950 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
31951 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
31953 (_IO_flush_all_internal, _IO_adjust_column_internal)
31954 (_IO_default_uflow_internal, _IO_default_finish_internal)
31955 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
31956 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
31957 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
31958 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
31959 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
31960 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
31961 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
31962 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
31963 (_IO_file_close_internal, _IO_file_close_it_internal)
31964 (_IO_file_underflow_internal, _IO_file_overflow_internal)
31965 (_IO_file_init_internal, _IO_file_attach_internal)
31966 (_IO_file_fopen_internal, _IO_file_read_internal)
31967 (_IO_file_sync_internal, _IO_file_seek_internal)
31968 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
31969 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
31970 (_IO_str_underflow_internal, _IO_str_overflow_internal)
31971 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
31972 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
31973 (_IO_list_all_internal, _IO_link_in_internal)
31974 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
31975 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
31976 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
31977 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
31978 (_IO_do_write_internal, _IO_padn_internal)
31979 (_IO_getline_info_internal, _IO_getline_internal)
31980 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
31981 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
31982 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
31983 (_IO_vfscanf_internal, _IO_vfprintf_internal)
31984 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
31985 (_IO_init_internal, _IO_un_link_internal): Don't declare.
31986 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
31987 with libc_hidden_ver, remove use of INTUSE.
31988 * libio/genops.c: Likewise.
31989 * libio/freopen.c: Likewise.
31990 * libio/freopen64.c: Likewise.
31991 * libio/iofclose.c: Likewise.
31992 * libio/iofdopen.c: Likewise.
31993 * libio/iofflush.c: Likewise.
31994 * libio/iofflush_u.c: Likewise.
31995 * libio/iofgets.c: Likewise.
31996 * libio/iofgets_u.c: Likewise.
31997 * libio/iofopen.c: Likewise.
31998 * libio/iofopncook.c: Likewise.
31999 * libio/iofread.c: Likewise.
32000 * libio/iofread_u.c: Likewise.
32001 * libio/ioftell.c: Likewise.
32002 * libio/iofwrite.c: Likewise.
32003 * libio/iogetline.c: Likewise.
32004 * libio/iogets.c: Likewise.
32005 * libio/iogetwline.c: Likewise.
32006 * libio/iopadn.c: Likewise.
32007 * libio/iopopen.c: Likewise.
32008 * libio/ioseekoff.c: Likewise.
32009 * libio/ioseekpos.c: Likewise.
32010 * libio/iosetbuffer.c: Likewise.
32011 * libio/iosetvbuf.c: Likewise.
32012 * libio/ioungetc.c: Likewise.
32013 * libio/ioungetwc.c: Likewise.
32014 * libio/iovdprintf.c: Likewise.
32015 * libio/iovsprintf.c: Likewise.
32016 * libio/iovsscanf.c: Likewise.
32017 * libio/memstream.c: Likewise.
32018 * libio/obprintf.c: Likewise.
32019 * libio/oldfileops.c: Likewise.
32020 * libio/oldiofclose.c: Likewise.
32021 * libio/oldiofdopen.c: Likewise.
32022 * libio/oldiofopen.c: Likewise.
32023 * libio/oldiopopen.c: Likewise.
32024 * libio/oldstdfiles.c: Likewise.
32025 * libio/putc.c: Likewise.
32026 * libio/setbuf.c: Likewise.
32027 * libio/setlinebuf.c: Likewise.
32028 * libio/stdfiles.c: Likewise.
32029 * libio/strops.c: Likewise.
32030 * libio/vasprintf.c: Likewise.
32031 * libio/vscanf.c: Likewise.
32032 * libio/vsnprintf.c: Likewise.
32033 * libio/vswprintf.c: Likewise.
32034 * libio/wfiledoalloc.c: Likewise.
32035 * libio/wfileops.c: Likewise.
32036 * libio/wgenops.c: Likewise.
32037 * libio/wmemstream.c: Likewise.
32038 * libio/wstrops.c: Likewise.
32039 * libio/__fpurge.c: Likewise.
32040 * libio/__fsetlocking.c: Likewise.
32041 * assert/assert.c: Likewise.
32042 * debug/fgets_chk.c: Likewise.
32043 * debug/fgets_u_chk.c: Likewise.
32044 * debug/fread_chk.c: Likewise.
32045 * debug/fread_u_chk.c: Likewise.
32046 * debug/gets_chk.c: Likewise.
32047 * debug/obprintf_chk.c: Likewise.
32048 * debug/vasprintf_chk.c: Likewise.
32049 * debug/vdprintf_chk.c: Likewise.
32050 * debug/vsnprintf_chk.c: Likewise.
32051 * debug/vsprintf_chk.c: Likewise.
32052 * malloc/mtrace.c: Likewise.
32053 * misc/error.c: Likewise.
32054 * misc/syslog.c: Likewise.
32055 * stdio-common/asprintf.c: Likewise.
32056 * stdio-common/fxprintf.c: Likewise.
32057 * stdio-common/getw.c: Likewise.
32058 * stdio-common/isoc99_fscanf.c: Likewise.
32059 * stdio-common/isoc99_scanf.c: Likewise.
32060 * stdio-common/isoc99_vfscanf.c: Likewise.
32061 * stdio-common/isoc99_vscanf.c: Likewise.
32062 * stdio-common/isoc99_vsscanf.c: Likewise.
32063 * stdio-common/printf-prs.c: Likewise.
32064 * stdio-common/printf_fp.c: Likewise.
32065 * stdio-common/printf_fphex.c: Likewise.
32066 * stdio-common/printf_size.c: Likewise.
32067 * stdio-common/putw.c: Likewise.
32068 * stdio-common/scanf.c: Likewise.
32069 * stdio-common/sprintf.c: Likewise.
32070 * stdio-common/tmpfile.c: Likewise.
32071 * stdio-common/vfprintf.c: Likewise.
32072 * stdio-common/vfscanf.c: Likewise.
32073 * stdlib/strfmon_l.c: Likewise.
32074 * sunrpc/openchild.c: Likewise.
32075 * sunrpc/xdr_stdio.c: Likewise.
32076 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
32077 * sysdeps/mach/hurd/tmpfile.c: Likewise.
32079 2012-05-24 Roland McGrath <roland@hack.frob.com>
32081 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32083 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
32084 in the third column, to generate for the shared library an IFUNC
32085 that uses _dl_vdso_vsym.
32086 * Makerules (COMPILE.c, compile-stdin.c): New variables.
32087 * Makeconfig (object-suffixes-noshared): New variable.
32089 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
32090 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
32091 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
32092 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
32095 * include/sys/time.h (__gettimeofday): Remove macro.
32096 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
32097 * time/gettimeofday.c (__gettimeofday): Remove #undef.
32099 (__gettimeofday): Add libc_hidden_def.
32100 (gettimeofday): Add libc_hidden_weak.
32101 * sysdeps/mach/gettimeofday.c: Likewise.
32102 * sysdeps/posix/gettimeofday.c: Likewise.
32103 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32104 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
32105 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
32106 (__gettimeofday_internal): Remove strong_alias.
32107 (__gettimeofday): Add libc_hidden_def.
32108 (gettimeofday): Add libc_hidden_weak.
32109 * sysdeps/unix/syscalls.list (gettimeofday):
32110 Remove __gettimeofday_internal alias.
32112 2012-05-24 Daniel Jacobowitz <drow@false.org>
32113 H.J. Lu <hongjiu.lu@intel.com>
32116 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
32117 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
32118 (largebin_index_32_big): New.
32119 (largebin_index): Use it for 16-byte alignment.
32120 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
32121 correction with front_misalign.
32123 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32125 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
32126 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32128 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
32130 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32132 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
32134 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
32136 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
32138 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
32140 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32142 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
32144 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
32146 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32148 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
32151 * scripts/data/c++-types-x32-linux-gnu.data: New file.
32152 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
32154 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32158 * math/libm-test.inc (exp_test): Add test from bug 14036.
32159 (pow_test): Add test from bug 10846.
32161 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
32163 (special_function): Do not include flags in test name.
32164 (parse_args): Likewise.
32165 * sysdeps/i386/fpu/libm-test-ulps: Update.
32166 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32167 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32168 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32171 * math/gen-libm-test.pl (%beautify): Add entries for underflow
32173 * math/libm-test.inc ("Philosophy"): Update comment about
32175 (UNDERFLOW_EXCEPTION): New macro.
32176 (UNDERFLOW_EXCEPTION_OK): Likewise.
32177 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
32178 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
32179 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
32180 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
32181 (INVALID_EXCEPTION_OK): Update value.
32182 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32183 (OVERFLOW_EXCEPTION_OK): Likewise.
32184 (IGNORE_ZERO_INF_SIGN): Likewise.
32185 (test_exceptions): Handle underflow exceptions.
32186 (acos_test): Update for underflow exception expectations.
32187 (cexp_test): Likewise.
32188 (clog_test): Likewise.
32189 (clog10_test): Likewise.
32190 (csqrt_test): Likewise.
32191 (ctan_test): Likewise.
32192 (ctanh_test): Likewise.
32193 (exp_test): Likewise.
32194 (exp10_test): Likewise.
32195 (exp2_test): Likewise.
32196 (expm1_test): Likewise.
32197 (fma_test): Likewise.
32198 (j0_test): Likewise.
32199 (jn_test): Likewise.
32200 (nexttoward_test): Likewise.
32201 (pow_test): Likewise.
32202 (scalbn_test): Likewise.
32203 (scalbln_test): Likewise.
32204 (tan_test): Likewise.
32205 (y1_test): Likewise.
32206 * sysdeps/i386/fpu/libm-test-ulps: Update.
32207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32209 2012-05-23 David S. Miller <davem@davemloft.net>
32211 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32212 (__libc_sigaction): Remove unused local variables.
32214 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32216 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
32218 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
32220 mktime: avoid signed integer overflow
32221 * time/mktime.c (__mktime_internal): Do not mishandle the case
32222 where diff == INT_MIN.
32224 mktime: simplify computation of average
32225 * time/mktime.c (ranged_convert): Use new time_t_avg function
32226 instead of rolling our own (probably-slower) code.
32228 mktime: do not assume signed right shift propagates sign bit
32229 * time/mktime.c (isdst_differ): New static function.
32230 (__mktime_internal): No need to normalize tm_isdst now.
32231 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
32234 mktime: merge another wrapv change from gnulib
32235 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
32236 from some compilers.
32238 mktime: remove incorrect attempt at unusual arithmetics
32239 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
32240 The code didn't really work on such machines anyway.
32241 (TYPE_MINIMUM): Assume two's complement.
32242 (twos_complement_arithmetic): Verify that long_int and time_t
32243 are two's complement (or unsigned, in the latter case).
32245 mktime: check signed shifts on long_int and time_t, too
32246 * time/mktime.c (SHR): Check that shifts work as desired
32247 on the types long_int and time_t too, as SHR is used on
32250 mktime: do not assume 'long' is wide enough
32251 * time/mktime.c (verify): Move decl up.
32252 (long_int): New type.
32253 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
32254 to remove assumption in the code that 'long' is wide enough to
32255 store year values. This assumption is not true on x32 and on
32256 some non-glibc platforms.
32258 mktime: merge wrapv change from gnulib
32259 * time/mktime.c (WRAPV): New macro.
32260 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
32261 (guess_time_tm, __mktime_internal): Do not assume that signed
32262 integer overflow wraps around; modern compilers generate code
32263 where this assumption is no longer valid.
32265 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32267 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32268 Replace "jmp L(pseudo_end)" with "ret".
32269 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
32272 2012-05-23 Andreas Jaeger <aj@suse.de>
32274 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
32275 * sysdeps/unix/sysv/linux/poll.c: Remove file.
32277 2012-05-23 Andreas Jaeger <aj@suse.de>
32278 Maximilian Attems <max@stro.at>
32280 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
32283 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32285 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
32286 code so that pseudo_end is just ret and the stack pointer is
32287 correct also for static library in error case.
32289 2012-05-23 Joseph Myers <joseph@codesourcery.com>
32291 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
32292 move to syscalls.list.
32293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32298 * manual/install.texi (Running make install): Do not mention Linux
32299 kernel version for which pt_chown is not needed.
32300 (Linux): Do not mention problems with nscd with 2.0 kernels.
32301 * INSTALL: Regenerated.
32303 2012-05-23 Andreas Jaeger <aj@suse.de>
32305 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
32306 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
32308 * sysdeps/unix/sysv/linux/s390/bits/mman.h
32309 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32310 * sysdeps/unix/sysv/linux/sh/bits/mman.h
32311 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32312 * sysdeps/unix/sysv/linux/i386/bits/mman.h
32313 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32314 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
32315 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32316 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
32317 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32318 * sysdeps/unix/sysv/linux/bits/in.h
32319 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
32321 2012-05-22 Roland McGrath <roland@hack.frob.com>
32323 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
32324 (PREPARE_VERSION): Just use assert instead, it will be elided
32325 under [NDEBUG] anyway.
32327 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32329 * sysdeps/unix/sysv/linux/Makefile: Include
32330 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
32331 (sysdep_routines): Remove sysctl.
32332 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
32333 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
32334 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
32335 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
32336 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
32338 2012-05-22 Andreas Jaeger <aj@suse.de>
32340 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
32341 that pseudo_end is just ret and the stack pointer is correct also
32342 for static library in error case.
32344 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
32347 * nss/nsswitch.c (defconfig_entries): New variable.
32348 (__nss_database_lookup): Don't leak defconfig entries.
32349 (nss_parse_service_list): Don't leak on error paths.
32350 (free_database_entries): New function.
32351 (free_defconfig): New function.
32352 (free_mem): Move common code to free_database_entries.
32354 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32356 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
32358 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
32360 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32361 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
32362 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
32364 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
32365 (INTERNAL_SYSCALL_TYPES): Likewise.
32366 (LOAD_ARGS_TYPES_[1-6]): Likewise.
32367 (LOAD_REGS_TYPES_[1-6]): Likewise.
32368 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
32369 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
32371 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32373 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
32374 copysignl for GLIBC_2_0.
32375 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
32376 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
32377 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
32378 logbl for GLIBC_2_0.
32379 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32380 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32382 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32384 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
32385 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32387 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32390 * time/mktime.c: Update copyright years.
32392 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
32394 mktime: merge comment-quoting-style change from gnulib
32395 * time/mktime.c: Quote 'like this' in comments.
32396 The GNU coding standards suggest that we no longer quote `like this',
32397 as "`" and "'" are typically rendered asymmetrically nowadays.
32398 The typical gnulib style is to quote 'like this' when quoting
32399 code, and "like this" when quoting English.
32401 * time/mktime.c (compile-command): Add "-I.".
32403 mktime: merge mktime-internal.h change from gnulib
32404 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
32406 mktime: merge time_r change from gnulib
32407 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
32409 mktime: merge DEBUG change from gnulib
32410 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
32411 case system <time.h> has a #define.
32413 mktime: merge <sys/types.h> change from gnulib
32414 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
32415 since <time.t> is now guaranteed to define time_t.
32417 mktime: merge HAVE_CONFIG_H change from gnulib
32418 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
32420 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32422 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32425 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
32427 (struct rusage): Use anonymous union to pad each field to
32430 2012-05-21 David S. Miller <davem@davemloft.net>
32432 * Makefules (o-iterator): Remove .s cases.
32433 (compile-command.s): Delete.
32434 (COMPILE.s): Delete.
32435 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
32437 2012-05-21 Joseph Myers <joseph@codesourcery.com>
32439 * configure.in (libc_cv_predef_stack_protector): Only consider
32440 "foobar" and "__stack_chk_fail" lines in libc_undefs.
32441 * configure: Regenerated.
32443 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32445 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32446 New macro. Use R*LP on int and pointer.
32447 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
32448 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
32449 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
32450 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
32452 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
32453 [__WORDSIZE_TIME64_COMPAT32] instead of
32454 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
32455 (struct utmp): Likewise.
32456 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
32457 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
32459 (__WORDSIZE_TIME64_COMPAT32): This.
32460 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
32461 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
32462 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
32463 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
32464 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
32465 (__WORDSIZE_TIME64_COMPAT32): New macro.
32467 2012-05-21 Andreas Jaeger <aj@suse.de>
32469 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
32470 only if [SHARED]. Add prototype for __wcschr_ia32.
32472 2012-05-21 Roland McGrath <roland@hack.frob.com>
32474 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
32475 of %rbp unmolested in the jmp_buf while mangling the low bits.
32476 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
32477 unmolested high bits of %rbp while demangling the low bits.
32478 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32480 2012-05-21 Andreas Jaeger <aj@suse.de>
32482 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
32483 * sunrpc/svc_simple.c: Use it for registerrpc.
32484 * sunrpc/xcrypt.c: Use it for passwd2des.
32486 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
32488 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32490 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
32491 Don't define if [__SYSCALL_WORDSIZE != 32].
32492 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
32495 2012-05-21 Bruno Haible <bruno@clisp.org>
32496 Andreas Jaeger <aj@suse.de>
32498 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
32499 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
32500 inptr and inend for must_buffer_ch.
32501 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
32502 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
32503 * stdio-common/Makefile (tests): Remove bug15.
32504 (bug15-ENV): Remove macro.
32505 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
32508 2012-05-19 Andreas Jaeger <aj@suse.de>
32509 Roland McGrath <roland@hack.frob.com>
32511 * manual/contrib.texi: Completely rewritten. It contains now an
32512 alphabetical list of contributors and their contributions.
32514 2012-05-21 Richard Henderson <rth@twiddle.net>
32516 * misc/getauxval.c (__getauxval): Use unsigned long int.
32517 * misc/sys/auxv.h: Include <sys/cdefs.h>.
32518 (getauxval): Use unsigned long int.
32520 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32522 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32524 2012-05-21 Roland McGrath <roland@hack.frob.com>
32526 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
32527 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
32528 __alignof__ (long double).
32530 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32532 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32534 2012-05-20 Richard Henderson <rth@twiddle.net>
32536 * misc/getauxval.c: New file.
32537 * misc/sys/auxv.h: New file.
32538 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
32539 (routines): Add getauxval.
32540 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
32541 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
32542 * elf/dl-sysdep.c (_dl_auxv): Remove.
32543 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
32544 * elf/dl-support.c (_dl_auxv): New variable.
32545 (_dl_aux_init): Initialize it.
32546 * manual/startup.texi (Auxiliary Vector): New node.
32547 * sysdeps/generic/bits/hwcap.h: New file.
32548 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
32549 * sysdeps/powerpc/sysdep.h: ... here. Include it.
32550 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
32551 * sysdeps/sparc/sysdep.h: ... here. Include it.
32552 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
32553 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
32554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
32557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
32558 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
32559 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
32560 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32561 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32562 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
32563 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
32565 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32567 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32569 2012-05-19 David S. Miller <davem@davemloft.net>
32571 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32573 2012-05-19 Joseph Myers <joseph@codesourcery.com>
32576 * math/s_ccosh.c: Include <float.h>
32577 (__ccosh): Avoid internal overflow calculating sinh and cosh
32578 values before multiplying by sin and cos values.
32579 * math/s_ccoshf.c: Likewise.
32580 * math/s_ccoshl.c: Likewise.
32581 * math/s_csin.c: Likewise.
32582 * math/s_csinf.c: Likewise.
32583 * math/s_csinl.c: Likewise.
32584 * math/s_csinh.c: Likewise.
32585 * math/s_csinhf.c: Likewise.
32586 * math/s_csinhl.c: Likewise.
32587 * math/libm-test.inc (ccos_test): Add more tests.
32588 (ccosh_test): Likewise.
32589 (csin_test): Likewise.
32590 (csinh_test): Likewise.
32591 * sysdeps/i386/fpu/libm-test-ulps: Update.
32592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32594 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
32596 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
32597 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
32599 * sysdeps/x86_64/x32/_itoa.h: Add comment.
32601 2012-05-19 Joseph Myers <joseph@codesourcery.com>
32603 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
32604 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
32605 * sysdeps/powerpc/soft-fp/Versions: Likewise.
32606 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
32607 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
32608 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
32609 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
32610 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
32611 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
32612 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
32613 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
32614 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
32615 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
32616 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
32617 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
32618 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
32619 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
32620 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
32621 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
32622 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
32623 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
32624 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
32625 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
32626 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
32627 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
32628 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
32629 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
32630 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
32631 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
32632 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
32633 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
32635 2012-05-18 Andreas Jaeger <aj@suse.de>
32637 * csu/.gitignore: Delete.
32639 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32641 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
32642 (timex): Use __syscall_slong_t.
32644 2012-05-18 Andreas Jaeger <aj@suse.de>
32645 Carlos O'Donell <carlos_odonell@mentor.com>
32647 * manual/install.texi (Configuring and compiling): Update
32648 description about files modified in the source directory.
32649 * INSTALL: Regenerated.
32651 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32653 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
32654 value. Use "or" to set return value to -1.
32655 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
32656 negate return value.
32658 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32660 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
32661 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
32662 failure if the compiler has Graphite support disabled.
32663 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
32665 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
32666 (CFLAGS-memmove.c): Likewise.
32667 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
32670 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32672 * sysdeps/x86_64/x32/_itoa.h: New file.
32674 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
32675 getdents system call only if kernel and user dirents have the
32676 same d_ino and d_off.
32678 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32679 LLONG_MAX != LONG_MAX.
32680 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32681 (_fitoa_word): Likewise.
32683 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
32685 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
32686 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
32687 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
32689 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
32690 include <bits/wordsize.h>. Check __x86_64__ instead of
32692 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
32693 if __x86_64__ is defined. Use anonymous union on fpstate.
32695 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
32698 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
32700 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32701 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
32702 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
32703 Refer to _rtld_local_ro instead of _rtld_global_ro.
32704 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
32706 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
32708 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
32710 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
32711 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
32712 of _rtld_global, and rtld_progname instead of _dl_argv[0].
32714 * sysdeps/powerpc/powerpc32/dl-machine.c
32715 (__elf_machine_runtime_setup) [PROF]: Don't reference
32718 2012-05-18 Andreas Jaeger <aj@suse.de>
32720 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
32721 function only available for GCCs before 3.4 since GCC 3.4
32722 introduced a builtin.
32724 (llrintf): Likewise.
32725 (llrint): Likewise.
32732 (nearbyint): Likewise.
32733 (nearbyintf): Likewise.
32737 (floorf): Likewise.
32739 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32741 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
32742 on both fields and cast pointer to __syscall_ulong_t.
32744 * bits/types.h (__fsword_t): New type.
32745 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
32746 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
32747 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32748 (__FSWORD_T_TYPE): Likewise.
32749 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32750 (__FSWORD_T_TYPE): Likewise.
32751 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32752 (__FSWORD_T_TYPE): Likewise.
32753 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
32754 (__FSWORD_T_TYPE): Likewise.
32755 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
32756 __SWORD_TYPE with __fsword_t.
32757 (statfs64): Likewise.
32759 2012-05-17 David S. Miller <davem@davemloft.net>
32761 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
32763 2012-05-17 Andreas Jaeger <aj@suse.de>
32765 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
32768 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32770 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
32772 2012-05-17 Andreas Jaeger <aj@suse.de>
32774 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
32777 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32779 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
32781 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32783 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
32784 * sysdeps/x86_64/tst-mallocalign1.c: New file.
32786 2012-05-17 Andreas Jaeger <aj@suse.de>
32787 Carlos O'Donell <carlos_odonell@mentor.com>
32790 * sysdeps/x86_64/multiarch/init-arch.h
32791 (bit_YMM_Usable): Rename to...
32792 (bit_AVX_Usable): ... this.
32793 (bit_FMA4_Usable): New macro.
32794 (bit_XMM_state): New macro.
32795 (bit_YMM_state): New macro.
32796 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
32797 [__ASSEMBLER__] (index_AVX_Usable): ... this.
32798 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
32799 (CPUID_OSXSAVE): New macro.
32800 (CPUID_AVX): New macro.
32801 (CPUID_FMA4): New macro.
32802 (index_YMM_Usable): Rename to...
32803 (index_AVX_Usable): ... this.
32804 (HAS_AVX): Use HAS_ARCH_FEATURE.
32805 (HAS_FMA4): Likewise.
32806 (HAS_YMM_USABLE): Remove.
32807 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32808 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
32810 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
32811 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
32812 * sysdeps/x86_64/multiarch/Makefile: Likewise.
32813 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
32814 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
32816 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32818 * math/libm-test.c: Support platforms without multiple rounding modes.
32819 * math/bug-nextafter.c: Support platforms without FP exceptions.
32820 * math/bug-nexttoward.c: Likewise.
32821 * math/test-fenv.c: Likewise.
32822 * math/test-misc.c: Likewise.
32823 * stdlib/bug-getcontext.c: Likewise.
32825 2012-05-17 Andreas Jaeger <aj@suse.de>
32827 * manual/examples/search.c (critter_cmp): Change signature to
32829 * manual/string.texi (Collation Functions): Likewise.
32831 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32833 * bits/types.h: Fold copyright years.
32834 * bits/typesizes.h: Likewise.
32835 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
32836 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32837 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
32838 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
32839 * time/time.h: Likewise.
32841 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
32844 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
32845 in instead of returning them. Return void.
32846 (__libc_mallinfo): Accumulate over all arenas.
32847 (__malloc_stats): Adjust for change in int_mallinfo interface.
32849 2012-05-16 Roland McGrath <roland@hack.frob.com>
32852 * configure.in (NM): Add AC_CHECK_TOOL for it.
32853 (libc_extra_cflags): New substituted variable.
32854 Check for -fstack-protector being used implicitly.
32855 * configure: Regenerated.
32856 * config.make.in (config-extra-cflags): New variable,
32857 gets @libc_extra_cflags@.
32858 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
32861 * configure.in: Check for _FORTIFY_SOURCE being predefined.
32862 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
32863 * configure: Regenerated.
32864 * config.make.in (CPPUNDEFS): New substituted variable.
32865 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
32866 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
32867 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
32869 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32871 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
32872 (mq_attr): Use __syscall_slong_t.
32874 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32876 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
32877 Check __x86_64__ instead of __WORDSIZE.
32878 (_STAT_VER_LINUX): Likewise.
32879 (stat): Check __x86_64__ instead of __WORDSIZE. Use
32880 __syscall_ulong_t and __syscall_slong_t.
32881 (stat64): Likewise.
32883 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32885 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
32887 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32889 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
32891 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32893 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
32896 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
32897 include <bits/wordsize.h>. Check __x86_64__ instead of
32899 (greg_t): Use "__extension__ long long int" if __x86_64__ is
32901 (mcontext_t): Replace "unsigned long" with "unsigned long long".
32903 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
32904 include <bits/wordsize.h>. Check __x86_64__ instead of
32906 (user_regs_struct): Use "__extension__ unsigned long long"
32907 instead of "unsigned long" if __x86_64__ is defined.
32908 (user): Likewise. Pad after pointer field if __ILP32__ is
32911 2012-05-16 Joseph Myers <joseph@codesourcery.com>
32913 * configure.in (makeinfo): Require version 4.5 or later. Allow
32915 * configure: Regenerated.
32916 * manual/install.texi (texinfo): Increase version requirement to
32918 * INSTALL: Regenerated.
32920 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
32922 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32924 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
32926 * sysdeps/x86_64/x32/ffs.c: New file.
32928 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
32930 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
32931 defined. Use __syscall_ulong_t.
32932 (shminfo): Use __syscall_ulong_t.
32933 (shm_info): Likewise.
32935 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
32938 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
32940 (msgqnum_t): Use __syscall_ulong_t.
32941 (msglen_t): Likewise.
32942 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
32945 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
32946 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32948 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
32950 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
32951 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
32953 * sysvipc/sys/msg.h (msgbuf): Replace long int with
32956 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
32957 include <bits/wordsize.h>. Check __x86_64__ instead of
32960 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
32961 "unsigned long long int" if __x86_64__ is defined.
32962 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
32964 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
32965 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32966 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
32968 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
32970 (GET_PC): Cast to uintptr_t first.
32971 (GET_FRAME): Likewise.
32972 (GET_STACK): Likewise.
32974 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
32975 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
32976 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
32977 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
32978 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
32979 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
32980 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
32981 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
32982 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32983 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
32984 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
32985 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
32986 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32987 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
32988 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
32989 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
32990 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
32991 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
32992 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
32993 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
32994 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
32995 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
32996 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
32997 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
32998 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
32999 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
33000 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
33001 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
33002 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
33004 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
33006 * Makerules (+depfiles): Also collect depfiles from .oS in
33008 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
33009 .oS, $(libnldbl-routines)).
33011 * Makerules (native-compile-mkdep-flags): Define.
33012 * sunrpc/Makefile (extra-objs): Add $(addprefix
33013 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
33014 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
33015 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
33016 calling $(make-target-directory).
33018 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33020 * bits/types.h (__snseconds_t): Removed.
33021 * time/time.h (struct timespec): Replace __snseconds_t with
33023 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
33024 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
33026 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33027 (__SNSECONDS_T_TYPE): Likewise.
33028 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33029 (__SNSECONDS_T_TYPE): Likewise.
33030 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33031 (__SNSECONDS_T_TYPE): Likewise.
33033 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33035 * sysdeps/mach/hurd/bits/typesizes.h
33036 (__SYSCALL_SLONG_TYPE): New macro.
33037 (__SYSCALL_ULONG_TYPE): Likewise.
33039 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33041 * bits/types.h (__syscall_slong_t): New type.
33042 (__syscall_ulong_t): Likewise.
33044 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
33045 (__SYSCALL_ULONG_TYPE): Likewise.
33046 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33047 (__SYSCALL_SLONG_TYPE): Likewise.
33048 (__SYSCALL_ULONG_TYPE): Likewise.
33049 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33050 (__SYSCALL_SLONG_TYPE): Likewise.
33051 (__SYSCALL_ULONG_TYPE): Likewise.
33052 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33053 (__SYSCALL_SLONG_TYPE): Likewise.
33054 (__SYSCALL_ULONG_TYPE): Likewise.
33056 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33058 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
33059 Add sigaltstack-offsets.sym.
33060 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
33061 <sigaltstack-offsets.h>.
33062 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
33063 longjmp_msg pointer.
33064 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
33065 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
33067 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
33069 2012-05-15 Joseph Myers <joseph@codesourcery.com>
33071 * elf/stackguard-macros.h: Remove file.
33072 * sysdeps/generic/stackguard-macros.h: New file.
33073 * sysdeps/i386/stackguard-macros.h: Likewise.
33074 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33075 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33076 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33077 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33078 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33079 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33080 * sysdeps/x86_64/stackguard-macros.h: Likewise.
33081 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
33082 <elf/stackguard-macros.h>.
33085 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
33086 __aligned__ in attribute.
33087 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
33088 (gregset_t): Likewise.
33090 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33092 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
33093 * sysdeps/x86_64/64/Implies-after: Here. New file.
33094 * sysdeps/x86_64/x32/Implies-after: New file.
33096 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33098 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
33099 and access return value for _dl_profile_fixup. Use R10_LP to
33102 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33104 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
33106 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33108 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
33109 * sysdeps/x86_64/x32/sysdep.h: New file.
33111 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33113 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
33114 * sysdeps/x86_64/setjmp.S: Likewise.
33116 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33118 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
33119 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
33120 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
33121 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
33122 remove unused global constant.
33124 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
33126 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
33127 include of <not-cancel.h>.
33129 2012-05-15 Roland McGrath <roland@hack.frob.com>
33131 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
33133 2012-05-15 Jeff Law <law@redhat.com>
33134 Andreas Jaeger <aj@suse.de>
33137 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
33139 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
33140 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
33141 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
33142 code changing __hst_map_handle.map.
33144 2012-05-15 Roland McGrath <roland@hack.frob.com>
33146 * configure.in (sysnames): Look for Implies-before and Implies-after
33148 * configure: Regenerated.
33150 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33152 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
33153 8-byte data alignment with LP_SIZE alignment.
33155 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33157 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
33160 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33162 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
33164 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33166 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
33167 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
33168 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
33170 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33172 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33174 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
33175 (stackinfo_sub_sp): Likewise.
33177 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33179 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
33182 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33184 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
33187 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33189 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
33192 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33194 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
33196 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33198 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
33199 into R11_LP and load __x86_64_shared_cache_size_half into
33202 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33204 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
33207 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33209 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
33211 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
33213 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
33215 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
33216 powerpc32/power7/fpu/s_logb.c via #include.
33217 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
33218 powerpc32/power7/fpu/s_logbf.c via #include.
33219 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
33220 powerpc32/power7/fpu/s_logbl.c via #include.
33222 2012-05-15 Joseph Myers <joseph@codesourcery.com>
33224 * README.libm: Remove file.
33226 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33228 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
33229 count for x32. Use R*_LP and omit operand-size suffix.
33231 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33233 * shlib-versions: Move x86_64-.*-linux.* entries to ...
33234 * sysdeps/x86_64/64/shlib-versions: Here. New file.
33235 * sysdeps/x86_64/x32/shlib-versions: New file.
33237 2012-05-14 Roland McGrath <roland@hack.frob.com>
33239 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
33240 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
33241 Use _dl_fatal_printf instead.
33243 2012-05-14 Joseph Myers <joseph@codesourcery.com>
33245 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
33246 set if not set by the user. Do not allow for being unset.
33247 * sysdeps/unix/sysv/linux/configure: Regenerated.
33249 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33251 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
33252 the `q' suffix from lea and replace .quad with ASM_ADDR.
33254 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33256 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
33257 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
33259 (PTR_DEMANGLE): Likewise.
33261 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33263 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
33265 (ASM_ADDR): Likewise.
33266 (RAX_LP): Likewise.
33267 (RBP_LP): Likewise.
33268 (RBX_LP): Likewise.
33269 (RCX_LP): Likewise.
33270 (RDI_LP): Likewise.
33271 (RSI_LP): Likewise.
33272 (RSP_LP): Likewise.
33275 (R10_LP): Likewise.
33276 (R10_LP): Likewise.
33277 (R11_LP): Likewise.
33278 (R12_LP): Likewise.
33279 (R13_LP): Likewise.
33280 (R14_LP): Likewise.
33281 (R15_LP): Likewise.
33283 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33285 * sysdeps/x86_64/x32/dl-machine.h: New file.
33287 2012-05-14 Andreas Jaeger <aj@suse.de>
33289 * manual/Makefile (subdir): Remove export of subdir.
33290 (all): Remove target.
33291 (.PHONY): Remove all from list.
33292 (mkinstalldirs): Remove.
33293 (.PHONY): Remove installdirs from list.
33294 ($(inst_infodir)/libc.info): Use make-target-directory.
33295 (installdirs): Remove.
33296 (subdir_%): Remove.
33297 (glibc-targets): Remove.
33300 ($(objpfx)stubs ../po/manual.pot): Remove.
33301 ($(objpfx)stamp%): Remove.
33302 (make-target-directory): Remove.
33303 (subdir_install): Remove.
33304 (routines): Remove.
33311 * manual/.gitignore: Remove, it's not needed anymore.
33312 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
33314 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
33316 (texis): Renamed to $(objpfx)texis.
33317 (texis-path): New, contains path to generated files.
33318 (chapters.%): Use texis-path for complete path, add extra argument
33320 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
33321 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
33322 (summary,texi, stamp-summary): Use complete path of
33323 files. Generate files in build dir.
33324 (dir-add.texi): Build in build dir.
33325 (libm-err.texi,stamp-libm-err): Likewise.
33326 (version.texi, stamp-version): Likewise.
33327 (.%c.texi): Likewise.
33328 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
33329 (mostlyclean): Remove target.
33330 (realclean): Remove target.
33331 (generated): Add new variable with contents from mostlyclean and
33332 realclean, remove entries duplicated in common-mostlyclean, add
33333 stamp-libm-err and stamp-version.
33334 (generated-dirs): Add libc directory.
33335 ($(inst_infodir)/libc.info): Install files from build dir.
33337 * manual/install.texi (Configuring and compiling): Adjust since
33338 the info files are not part of the tar ball anymore.
33340 2012-05-14 Andreas Jaeger <aj@suse.de>
33342 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
33345 2012-05-14 Joseph Myers <joseph@codesourcery.com>
33348 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33349 to 2.2.0 where earlier.
33350 * sysdeps/unix/sysv/linux/configure: Regenerated.
33351 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
33352 Remove conditional code.
33353 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
33354 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
33355 Remove conditional code.
33356 [!__NR_lchown]: Likewise.
33357 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33358 [__NR_lchown]: Likewise.
33359 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
33360 comment referencing __ASSUME_LCHOWN_SYSCALL.
33361 * sysdeps/unix/sysv/linux/i386/sigaction.c
33362 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33363 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33364 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
33365 Remove conditional code.
33366 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
33367 (__protocol_available): Remove #if 0 code.
33368 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
33370 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
33371 * sysdeps/unix/sysv/linux/kernel-features.h
33372 (__ASSUME_GETCWD_SYSCALL): Don't define.
33373 (__ASSUME_REALTIME_SIGNALS): Likewise.
33374 (__ASSUME_PREAD_SYSCALL): Likewise.
33375 (__ASSUME_PWRITE_SYSCALL): Likewise.
33376 (__ASSUME_POLL_SYSCALL): Likewise.
33377 (__ASSUME_LCHOWN_SYSCALL): Likewise.
33378 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
33380 (__ASSUME_SIOCGIFNAME): Don't define.
33381 (__ASSUME_MSG_NOSIGNAL): Likewise.
33382 (__ASSUME_SENDFILE): Define unconditionally.
33383 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
33384 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
33386 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
33387 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
33388 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33389 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33390 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
33391 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33392 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
33394 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33395 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33397 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33398 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
33400 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33401 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33403 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33404 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
33406 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33407 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33409 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33410 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
33412 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33413 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33415 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33416 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33417 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
33418 Remove conditional code.
33419 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33420 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33421 Remove conditional code.
33422 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33423 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
33424 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
33425 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33426 Remove conditional code.
33427 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33428 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
33429 Remove conditional code.
33430 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33431 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
33432 Remove conditional code.
33433 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33434 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33435 Remove conditional code.
33436 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33437 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33438 Remove conditional code.
33439 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33440 * sysdeps/unix/sysv/linux/sh/pwrite64.c
33441 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33442 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33443 * sysdeps/unix/sysv/linux/sigaction.c
33444 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33445 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33446 * sysdeps/unix/sysv/linux/sigpending.c
33447 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33448 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33449 * sysdeps/unix/sysv/linux/sigprocmask.c
33450 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33451 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33452 * sysdeps/unix/sysv/linux/sigsuspend.c
33453 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33454 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33455 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33456 (__libc_missing_rt_sigs): Remove.
33457 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
33458 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
33459 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
33460 Remove conditional code.
33461 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
33462 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
33464 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
33465 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
33466 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
33467 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
33469 2012-05-14 Andreas Jaeger <aj@suse.de>
33471 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
33472 it's not used in glibc.
33473 (__coshm1): Likewise.
33474 (__acosh1p): Likewise.
33477 * manual/string.texi (Copying and Concatenation): Add missing
33478 variable in concat example.
33479 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
33481 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33484 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
33485 __builtin_clzl with __builtin_clzll.
33487 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33490 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
33493 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33495 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
33496 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
33497 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
33498 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
33500 2012-05-14 Mike Frysinger <vapier@gentoo.org>
33502 * NEWS: Update ia64 info.
33504 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
33506 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
33509 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
33511 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
33512 * sysdeps/unix/syscalls.list (dup3): Likewise.
33513 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
33514 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
33516 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33518 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
33519 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
33521 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33523 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
33525 (TLS_IE): Use mov/add instead of movq/addq to load thread
33527 (TLS_GD_PREFIX): New.
33530 2012-05-11 David S. Miller <davem@davemloft.net>
33532 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
33533 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
33534 (_FPU_SETCW): Likewise.
33536 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33538 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
33539 is 32-byte aligned.
33541 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
33544 * iconvdata/gb18030.c: Update tables.
33545 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
33546 characters specially.
33547 (BODY for TO_LOOP): Add encoding of missing ranges.
33549 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
33552 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
33553 * sysdeps/mach/hurd/dup3.c: Likewise.
33554 * sysdeps/mach/hurd/readlinkat.c: Likewise.
33555 * sysdeps/powerpc/memmove.c:: Likewise.
33557 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33559 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
33560 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
33562 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33564 * elf/elf.h (R_X86_64_RELATIVE64): New.
33565 (R_X86_64_NUM): Updated.
33566 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33567 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
33568 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
33569 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
33570 tst-quad1pie tst-quad2pie
33571 (modules-names): Add tst-quadmod1 tst-quadmod2.
33572 ($(objpfx)tst-quad1): New dependency.
33573 ($(objpfx)tst-quad2): Likewise.
33574 ($(objpfx)tst-quad1pie): Likewise.
33575 ($(objpfx)tst-quad2pie): Likewise.
33576 * sysdeps/x86_64/tst-quad1.c: New file.
33577 * sysdeps/x86_64/tst-quad1pie.c: New file.
33578 * sysdeps/x86_64/tst-quad2.c: Likewise.
33579 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
33580 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
33581 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
33582 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
33583 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
33585 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33587 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
33588 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
33589 * streams/stropts.h (t_scalar_t): Define type.
33591 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
33592 (_PATH_PRESERVE): Set to "/var/lib".
33593 (_PATH_RWHODIR): Set to "/var/spool/rwho".
33595 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
33598 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
33599 if __dir_mkfile succeeded.
33601 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
33602 checking for _hurd_dtablesize. Unlock it right after having
33603 finished _hurd_dtable allocation.
33605 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33607 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
33608 * sysdeps/mach/hurd/configure: Regenerated.
33609 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
33610 special-casing to...
33611 * sysdeps/gnu/configure.in: ... this new file.
33612 * sysdeps/unix/sysv/linux/configure: Regenerated.
33613 * sysdeps/gnu/configure: New generated file.
33615 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
33616 for Linux: use nsec instead of usec, as well as:
33617 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
33618 members of type struct timespec.
33619 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
33621 (struct stat64): Likewise.
33622 (_STATBUF_ST_NSEC): New macro.
33623 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
33625 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33626 __strtoul_internal rather than strtoul.
33628 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33630 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
33633 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33635 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
33636 which preserves existing values.
33637 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
33639 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33641 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
33642 TIMEOUT values. Return EINVAL for NFDS values either negative or
33643 greater than FD_SETSIZE.
33645 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33647 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
33648 allocated, call __vm_protect to finish enabling the existing space, and
33649 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
33650 allocate the remainder.
33652 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33654 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
33655 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
33657 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33659 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
33660 sysdeps/mach/hurd/readlink.c.
33662 * posix/tst-sysconf.c (posix_options): Only use
33663 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
33664 _POSIX_SYNCHRONIZED_IO when they are defined
33665 * sysdeps/mach/hurd/bits/posix_opt.h:
33666 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
33667 (_XOPEN_REALTIME): Undefine macro.
33668 (_XOPEN_REALTIME_THREADS): Undefine macro.
33669 (_XOPEN_SHM): Undefine macro.
33670 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
33672 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
33674 (_POSIX_ASYNC_IO): Undefine macro.
33675 (_POSIX_PRIORITIZED_IO): Undefine macro.
33676 (_POSIX_SPIN_LOCKS): Define macro to -1.
33678 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
33679 SA_NODEFER, SA_RESETHAND.
33680 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
33681 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
33684 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33686 * elf/Makefile (pldd-modules): Define unconditionally.
33688 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33690 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
33692 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33694 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
33695 Return ENOENT when name is empty.
33696 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
33698 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33700 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
33702 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
33704 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33706 Fix mlock in all cases except non-readable pages.
33707 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
33708 instead of VM_PROT_ALL as parameter to __vm_wire function.
33710 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
33711 (__mkdir): When path is `/', just fail with EEXIST.
33712 * sysdeps/mach/hurd/mkdirat.c: Likewise.
33714 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33716 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
33717 <sys/uio.h> (for writev).
33718 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
33719 and <sys/param.h> (for MIN).
33721 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33723 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
33724 REQUESTED_TIME. Properly set the remaining time and return EINTR
33727 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33729 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
33730 Depend on against $(link-rpcuserlibs).
33732 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33734 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
33735 (__libc_stack_end): Do not use attribute_relro.
33736 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
33737 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
33738 to libthread-provided value.
33739 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
33742 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33745 * bits/libc-lock.h (__libc_once_get): New macro.
33746 * sysdeps/mach/bits/libc-lock.h: Likewise.
33747 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
33748 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
33749 instead of using implementation details.
33751 * libio/fileops.c: Unconditionally include <kernel-features.h>.
33752 * libio/freopen.c: Likewise.
33753 * libio/freopen64.c: Likewise.
33754 * misc/syslog.c: Likewise.
33755 * nscd/connections.c: Likewise.
33756 * nscd/netgroupcache.c: Likewise.
33757 * sysdeps/posix/getcwd.c: Likewise.
33759 2012-05-10 Roland McGrath <roland@hack.frob.com>
33761 * math/w_ilogbf.c: Add #include <limits.h>.
33763 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33765 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
33766 path instead of returning without unlocking.
33768 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
33769 immediate-write ioctls.
33770 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
33772 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33774 * sysdeps/mach/hurd/i386/init-first.c (init): Use
33775 __builtin_frame_address instead of making assumptions about the
33776 location of the return address relative to DATA. Force early load of
33777 the return address.
33778 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
33779 __builtin_frame_address.
33782 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
33783 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
33784 implement dup3 and do some further code clean-ups.
33785 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
33786 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
33788 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33790 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
33792 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
33793 HURD_CRITICAL_END around holding _hurd_dtable_lock.
33794 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
33795 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
33796 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
33799 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
33800 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
33801 when handler == SIG_ERR, not when handler != SIG_ERR.
33803 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33805 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
33806 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
33809 accept4 for GNU Hurd.
33810 * include/sys/socket.h (__libc_accept4): New prototype.
33811 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
33812 to implement __libc_accept4.
33813 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
33815 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
33817 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
33818 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
33819 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
33820 signal-defines.sym.
33822 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33824 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
33826 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33828 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33829 assertion on O_CLOEXEC flag.
33830 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
33831 * hurd/intern-fd.c: Likewise.
33832 * hurd/port2fd.c: Likewise.
33834 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33837 * bits/in.h (IPV6_PKTINFO): Define new macro.
33838 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33840 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33845 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
33846 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33847 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
33848 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33849 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33850 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33851 * math/libm-test.inc (logb_test) : Additional logb tests.
33853 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
33854 Andreas Jaeger <aj@suse.de>
33856 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
33857 * configure: Regenerated.
33858 * config.h.in (LINK_OBSOLETE_RPC): New macro.
33859 * config.make.in (link-obsolete-rpc): New substituted variable.
33860 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
33861 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
33862 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33863 (shared-only-routines): Don't set it under [link-obsolete-rpc],
33864 so that libc.a contains the symbols.
33865 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33866 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
33867 * sunrpc/auth_none.c: Likewise.
33868 * sunrpc/auth_unix.c: Likewise.
33869 * sunrpc/authdes_prot.c: Likewise.
33870 * sunrpc/authuxprot.c: Likewise.
33871 * sunrpc/clnt_gen.c: Likewise.
33872 * sunrpc/clnt_perr.c: Likewise.
33873 * sunrpc/clnt_raw.c: Likewise.
33874 * sunrpc/clnt_simp.c: Likewise.
33875 * sunrpc/clnt_tcp.c: Likewise.
33876 * sunrpc/clnt_udp.c: Likewise.
33877 * sunrpc/clnt_unix.c: Likewise.
33878 * sunrpc/des_crypt.c: Likewise.
33879 * sunrpc/des_soft.c: Likewise.
33880 * sunrpc/get_myaddr.c: Likewise.
33881 * sunrpc/key_call.c: Likewise.
33882 * sunrpc/key_prot.c: Likewise.
33883 * sunrpc/netname.c: Likewise.
33884 * sunrpc/pm_getmaps.c: Likewise.
33885 * sunrpc/pm_getport.c: Likewise.
33886 * sunrpc/pmap_clnt.c: Likewise.
33887 * sunrpc/pmap_prot.c: Likewise.
33888 * sunrpc/pmap_prot2.c: Likewise.
33889 * sunrpc/pmap_rmt.c: Likewise.
33890 * sunrpc/publickey.c: Likewise.
33891 * sunrpc/rpc_cmsg.c: Likewise.
33892 * sunrpc/rpc_common.c: Likewise.
33893 * sunrpc/rpc_dtable.c: Likewise.
33894 * sunrpc/rpc_prot.c: Likewise.
33895 * sunrpc/rpc_thread.c: Likewise.
33896 * sunrpc/rtime.c: Likewise.
33897 * sunrpc/svc.c: Likewise.
33898 * sunrpc/svc_auth.c: Likewise.
33899 * sunrpc/svc_raw.c: Likewise.
33900 * sunrpc/svc_run.c: Likewise.
33901 * sunrpc/svc_tcp.c: Likewise.
33902 * sunrpc/svc_udp.c: Likewise.
33903 * sunrpc/svc_unix.c: Likewise.
33904 * sunrpc/svcauth_des.c: Likewise.
33905 * sunrpc/xcrypt.c: Likewise.
33906 * sunrpc/xdr.c: Likewise.
33907 * sunrpc/xdr_array.c: Likewise.
33908 * sunrpc/xdr_float.c: Likewise.
33909 * sunrpc/xdr_intXX_t.c: Likewise.
33910 * sunrpc/xdr_mem.c: Likewise.
33911 * sunrpc/xdr_rec.c: Likewise.
33912 * sunrpc/xdr_ref.c: Likewise.
33913 * sunrpc/xdr_sizeof.c: Likewise.
33914 * sunrpc/xdr_stdio.c: Likewise.
33916 2012-05-10 Roland McGrath <roland@hack.frob.com>
33918 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
33919 change. Update copyright years.
33921 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33923 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
33925 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
33926 Joseph Myers <joseph@codesourcery.com>
33927 Paul Pluzhnikov <ppluzhnikov@google.com>
33930 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
33932 [cross-compiling] (extra-libs): Likewise.
33933 [cross-compiling] (extra-libs-others): Likewise.
33934 [cross-compiling] (librpcsvc-routines): Likewise.
33935 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
33936 [cross-compiling] (omit-deps): Likewise.
33937 (sunrpc-CPPFLAGS): New variable.
33938 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
33939 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
33940 (cross-rpcgen-objs): New variable.
33941 (extra-objs): Append $(cross-rpcgen-objs).
33942 ($(cross-rpcgen-objs)): New rule.
33943 ($(objpfx)cross-rpcgen): Likewise.
33944 (rpcgen-cmd): Define to use $(built-program-file). Expand
33946 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
33947 ($(objpfx)x%.stmp): Likewise.
33948 * sunrpc/proto.h [IS_IN_build] (_): Define.
33949 [IS_IN_build] (_libc_intl_domainname): Likewise.
33951 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33953 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
33954 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
33955 and R_X86_64_TPOFF64.
33957 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33959 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
33960 sysdeps/unix/sysv/syscalls.list.
33963 * sysdeps/unix/sysv/syscalls.list: Remove file.
33965 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
33968 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
33969 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
33970 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
33971 (__LC_IDENTIFICATION): Make these macros useful in #if
33972 expressions, as required by C99.
33974 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
33976 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
33977 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
33980 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
33982 * stdlib/longlong.h: Updated from GCC.
33984 2012-05-09 Andreas Jaeger <aj@suse.de>
33986 * nscd/nscd.c (run_modes): Make named enum, reorder so that
33987 default is first entry.
33988 (run_mode): Set type.
33989 (main): Remove informal message about syslog.
33990 (options): Fix typo.
33993 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
33996 (llrintf): Likewise.
33997 (llrint): Likewise.
34000 (nearbyint): Likewise.
34001 (nearbyintf): Likewise.
34003 2012-05-09 Andreas Jaeger <aj@suse.de>
34004 Pedro Alves <palves@redhat.com>
34006 * nscd/nscd.c (run_mode): Use enum.
34007 (main): Cleanup coding style issue.
34009 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
34010 Andreas Jaeger <aj@suse.de>
34012 * nscd/nscd.c (go_background): Replaced with...
34013 (run_mode): ... this.
34014 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
34015 (options): Add -F --foreground.
34016 (main): Implement it.
34017 (parse_opt): Parse it.
34019 2012-05-09 Andreas Jaeger <aj@suse.de>
34022 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
34023 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
34024 -Wconversion warning.
34025 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
34028 2012-05-09 Joseph Myers <joseph@codesourcery.com>
34030 * conform/data/locale.h-data (NULL): Use macro-constant. Require
34032 (LC_ALL): Use macro-int-constant.
34033 (LC_COLLATE): Likewise.
34034 (LC_CTYPE): Likewise.
34035 (LC_MESSAGES): Likewise.
34036 (LC_MONETARY): Likewise.
34037 (LC_NUMERIC): Likewise.
34038 (LC_TIME): Likewise.
34039 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
34040 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34041 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34042 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
34044 [C99-based standards] (float_t): Expect type.
34045 [C99-based standards] (double_t): Expect type.
34046 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
34048 [C99-based standards] (HUGE_VALL): Likewise.
34049 [C99-based standards] (INFINITY): Likewise.
34050 [C99-based standards] (NAN): Likewise.
34051 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34052 [C99-based standards] (FP_NAN): Likewise.
34053 [C99-based standards] (FP_NORMAL): Likewise.
34054 [C99-based standards] (FP_SUBNORMAL): Likewise.
34055 [C99-based standards] (FP_ZERO): Likewise.
34056 [C99-based standards] (FP_FAST_FMA): Use
34057 optional-macro-int-constant. Specify type. Require == 1.
34058 [C99-based standards] (FP_FAST_FMAF): Likewise.
34059 [C99-based standards] (FP_FAST_FMAL): Likewise.
34060 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34061 [C99-based standards] (FP_ILOGBNAN): Likewise.
34062 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
34064 [C99-based standards] (MATH_ERREXCEPT): Likewise.
34065 [C99-based standards] (math_errhandling): Specify type.
34066 [ISO99 || ISO11] (signgam): Do not allow.
34067 [non-C99-based standards] (copysignf): Do not allow.
34068 [non-C99-based standards] (exp2f): Likewise.
34069 [non-C99-based standards] (log2f): Likewise.
34070 [non-C99-based standards] (modff): Allow.
34071 [non-C99-based standards] (erff): Do not allow.
34072 [non-C99-based standards] (erfcf): Likewise.
34073 [non-C99-based standards] (gammaf): Likewise.
34074 [non-C99-based standards] (hypotf): Likewise.
34075 [non-C99-based standards] (j0f): Likewise.
34076 [non-C99-based standards] (j1f): Likewise.
34077 [non-C99-based standards] (jnf): Likewise.
34078 [non-C99-based standards] (lgammaf): Likewise.
34079 [non-C99-based standards] (tgammaf): Likewise.
34080 [non-C99-based standards] (y0f): Likewise.
34081 [non-C99-based standards] (y1f): Likewise.
34082 [non-C99-based standards] (ynf): Likewise.
34083 [non-C99-based standards] (isnanf): Likewise.
34084 [non-C99-based standards] (acoshf): Likewise.
34085 [non-C99-based standards] (asinhf): Likewise.
34086 [non-C99-based standards] (atanhf): Likewise.
34087 [non-C99-based standards] (cbrtf): Likewise.
34088 [non-C99-based standards] (expm1f): Likewise.
34089 [non-C99-based standards] (ilogbf): Likewise.
34090 [non-C99-based standards] (log1pf): Likewise.
34091 [non-C99-based standards] (logbf): Likewise.
34092 [non-C99-based standards] (nextafterf): Likewise.
34093 [non-C99-based standards] (remainderf): Likewise.
34094 [non-C99-based standards] (rintf): Likewise.
34095 [non-C99-based standards] (scalbf): Likewise.
34096 [non-C99-based standards] (copysignl): Likewise.
34097 [non-C99-based standards] (exp2l): Likewise.
34098 [non-C99-based standards] (log2l): Likewise.
34099 [non-C99-based standards] (modfl): Allow.
34100 [non-C99-based standards] (erfl): Do not allow.
34101 [non-C99-based standards] (erfcl): Likewise.
34102 [non-C99-based standards] (gammal): Likewise.
34103 [non-C99-based standards] (hypotl): Likewise.
34104 [non-C99-based standards] (j0l): Likewise.
34105 [non-C99-based standards] (j1l): Likewise.
34106 [non-C99-based standards] (jnl): Likewise.
34107 [non-C99-based standards] (lgammal): Likewise.
34108 [non-C99-based standards] (tgammal): Likewise.
34109 [non-C99-based standards] (y0l): Likewise.
34110 [non-C99-based standards] (y1l): Likewise.
34111 [non-C99-based standards] (ynl): Likewise.
34112 [non-C99-based standards] (isnanl): Likewise.
34113 [non-C99-based standards] (acoshl): Likewise.
34114 [non-C99-based standards] (asinhl): Likewise.
34115 [non-C99-based standards] (atanhl): Likewise.
34116 [non-C99-based standards] (cbrtl): Likewise.
34117 [non-C99-based standards] (expm1l): Likewise.
34118 [non-C99-based standards] (ilogbl): Likewise.
34119 [non-C99-based standards] (log1pl): Likewise.
34120 [non-C99-based standards] (logbl): Likewise.
34121 [non-C99-based standards] (nextafterl): Likewise.
34122 [non-C99-based standards] (remainderl): Likewise.
34123 [non-C99-based standards] (rintl): Likewise.
34124 [non-C99-based standards] (scalbl): Likewise.
34125 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34126 [non-C99-based standards] (FP_*): Do not allow.
34127 [C99-based standards] (FP_*): Change to
34128 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34129 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34131 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
34132 (SIG_ERR): Likewise.
34133 [X/Open-based standards] (SIG_HOLD): Likewise.
34134 (SIG_IGN): Likewise.
34135 (SIGABRT): Use macro-int-constant. Specify type. Require
34137 (SIGFPE): Likewise.
34138 (SIGILL): Likewise.
34139 (SIGINT): Likewise.
34140 (SIGSEGV): Likewise.
34141 (SIGTER): Likewise.
34142 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
34143 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
34144 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
34145 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
34146 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
34147 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
34148 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
34149 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
34150 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
34151 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
34152 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
34153 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
34154 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
34155 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
34156 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
34157 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
34158 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
34159 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
34160 [X/Open-based standards] (SIGTRAP): Likewise.
34161 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
34162 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
34163 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
34164 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
34165 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34168 2012-05-08 Ian Wienand <ianw@vmware.com>
34171 * time/tzset.c (__tzset_parse_tz): Update default rules for
34172 daylight time changes in the Energy Policy Act of 2005.
34174 2012-05-09 Andreas Jaeger <aj@suse.de>
34177 * elf/ldconfig.c (parse_conf): Change string to make clear that
34178 ldconfig only issued a warning if ld.so.conf does not exist.
34180 2012-05-08 David S. Miller <davem@davemloft.net>
34182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
34183 movxtod instead of popping the value on the stack.
34185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34187 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
34189 * config.h.in: Add HAVE_ARM_PCS_VFP.
34191 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
34194 * include/features.h: Warn if user requests __FORTIFY_SOURCE
34195 checking but the checks are disabled for any reason.
34197 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
34199 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
34200 and ELF64_R_TYPE with ELFW(R_TYPE).
34202 2012-05-08 Joseph Myers <joseph@codesourcery.com>
34204 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
34205 (ulimit): Likewise.
34207 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
34208 (settimeofday): Likewise.
34210 2012-05-08 Mike Frysinger <vapier@gentoo.org>
34212 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
34213 a struct th_u2 inside the union, and move tu_block/tu_code into
34214 a new th_u3 union of tu_block/tu_code inside of that. Move
34215 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
34216 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
34217 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
34218 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
34219 (th_stuff): Change to th_u1.tu_stuff.
34221 (th_msg): Change to th_u1.th_u2.tu_data.
34223 2012-05-07 David S. Miller <davem@davemloft.net>
34225 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34228 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
34229 (SETUP_PIC_REG): Use it.
34230 (SETUP_PIC_REG_LEAF): Use it.
34232 2012-05-07 Joseph Myers <joseph@codesourcery.com>
34236 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34238 (EXPL_FINITE): Likewise.
34239 (FLDLOG): Likewise.
34240 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34241 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34243 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34245 (EXPL_FINITE): Likewise.
34246 (FLDLOG): Likewise.
34247 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34248 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34250 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
34251 test of -max_value argument for long double.
34252 * sysdeps/i386/fpu/libm-test-ulps: Update.
34253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34255 2012-05-06 David S. Miller <davem@davemloft.net>
34257 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
34258 quad soft-float symbols whose references which are compiler
34260 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34262 2012-05-06 Joseph Myers <joseph@codesourcery.com>
34266 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34268 (EXPL_FINITE): Likewise.
34269 (FLDLOG): Likewise.
34272 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34273 Adjust comments for base varying.
34274 (__expl_finite): Change alias to EXPL_FINITE.
34275 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
34277 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
34278 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34279 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34280 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
34281 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34283 (EXPL_FINITE): Likewise.
34284 (FLDLOG): Likewise.
34287 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34288 Adjust comments for base varying.
34289 (__expl_finite): Change alias to EXPL_FINITE.
34290 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
34292 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34295 * math/libm-test.inc (check_float_internal): Correct ulp
34296 calculation for subnormal expected results.
34298 2012-05-06 Andreas Jaeger <aj@suse.de>
34300 * Makeconfig (+math-flags): New, set to -frounding-math.
34301 (+cflags): Add +math-flags so that all of glibc gets compiled with
34304 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
34306 2012-05-05 Joseph Myers <joseph@codesourcery.com>
34308 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
34314 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
34315 (__ieee754_expl): Allow for and saturate large arguments.
34316 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
34317 (u_threshold): Likewise.
34318 (__exp): Call __ieee754_exp before checking for overflow and
34320 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
34321 (u_threshold): Likewise.
34322 (__expf): Call __ieee754_expf before checking for overflow and
34324 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
34325 (u_threshold): Likewise.
34326 (__expl): Call __ieee754_expl before checking for overflow and
34328 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
34329 (__ieee754_expl): Allow for and saturate large arguments.
34330 * math/libm-test.inc (exp_test): Add another test. Do not allow
34331 missing overflow exception on overflow.
34332 (expm1_test): Do not allow missing overflow exception on overflow.
34334 * sysdeps/i386/fpu/e_expl.c: Move to ...
34335 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
34336 rather than using inline asm.
34337 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
34338 * sysdeps/x86_64/fpu/e_expl.S: Copy from
34339 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
34341 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
34344 (signal): Likewise.
34348 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34350 * sysdeps/unix/syscalls.list (adjtime): Add entry from
34351 sysdeps/unix/common/syscalls.list.
34352 (fchmod): Likewise.
34353 (fchown): Likewise.
34354 (ftruncate): Likewise.
34355 (getrusage): Likewise.
34356 (gettimeofday): Likewise.
34357 (setpgid): Likewise.
34358 (setregid): Likewise.
34359 (setreuid): Likewise.
34360 (sigaction): Likewise.
34361 (truncate): Likewise.
34362 (vhangup): Likewise.
34363 * sysdeps/unix/common/syscalls.list: Remove file.
34364 * sysdeps/unix/bsd/Implies: Don't include unix/common.
34365 * sysdeps/unix/sysv/linux/Implies: Likewise.
34367 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
34369 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
34370 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
34371 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
34373 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34375 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
34377 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
34378 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
34380 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
34381 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
34383 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
34384 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
34386 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
34387 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
34389 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
34390 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
34392 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
34393 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
34395 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34397 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
34399 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
34401 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
34403 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
34404 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
34406 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
34408 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
34410 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
34412 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34414 * sysdeps/unix/common/bits/dirent.h: Remove file.
34415 * sysdeps/unix/common/bits/fcntl.h: Likewise.
34417 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
34418 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
34419 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
34420 * sysdeps/unix/bsd/isatty.c: Likewise.
34421 * sysdeps/unix/bsd/tcdrain.c: Likewise.
34422 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
34423 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
34425 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34428 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
34429 long double comparison inaccuracies.
34430 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
34431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34433 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
34435 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
34436 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
34438 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34441 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
34442 nonzero digits before rounding a hex value.
34443 * stdlib/tst-strtod.c (tests): Add another test.
34445 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34447 * sysdeps/s390/fpu/libm-test-ulps: Update.
34449 2012-05-03 Andreas Jaeger <aj@suse.de>
34451 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
34452 does not get optimized out.
34453 (malloc_opt_barrier): New.
34455 2012-05-03 Andreas Jaeger <aj@suse.de>
34456 Roland McGrath <roland@hack.frob.com>
34458 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
34459 intermediate file deletion.
34460 (generated): Add .symlist files.
34462 2012-05-03 Joseph Myers <joseph@codesourcery.com>
34465 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
34466 Redirect under this condition.
34467 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34468 [__USE_GNU] (__dprintf_chk): Not under this condition.
34469 [__USE_GNU] (__vdprintf_chk): Likewise.
34470 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
34471 under this condition.
34472 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34473 [__USE_XOPEN2K8] (dprintf): Define under this condition.
34474 [__USE_XOPEN2K8] (vdprintf): Likewise.
34475 [__USE_GNU] (__dprintf_chk): Not under this condition.
34476 [__USE_GNU] (__vdprintf_chk): Likewise.
34477 [__USE_GNU] (dprintf): Likewise.
34478 [__USE_GNU] (vdprintf): Likewise.
34480 2012-05-03 Roland McGrath <roland@hack.frob.com>
34482 * elf/Makefile (common-generated): Set this instead of generated for
34483 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
34484 $(all-built-dso)-derived lists.
34486 2012-05-03 Andreas Jaeger <aj@suse.de>
34488 * sysdeps/i386/fpu/libm-test-ulps: Update.
34491 * FAQ.in: Likewise.
34492 * scripts/gen-FAQ.pl: Likewise.
34493 * manual/install.texi (Installation): Point to online location of
34495 * Makefile (files-for-dist): Remove FAQ.
34498 2012-05-02 Allan McRae <allan@archlinux.org>
34500 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
34501 (LDFLAGS-reldepmod5.so): Likewise.
34502 (LDFLAGS-reldep6mod1.so): Likewise.
34503 (LDFLAGS-reldep6mod4.so): Likewise.
34504 (LDFLAGS-reldep8mod3.so): Likewise.
34505 (LDFLAGS-unload4mod1.so): Likewise.
34506 (LDFLAGS-unload4mod2.so): Likewise.
34507 (LDFLAGS-tst-initorder): Likewise.
34508 (LDFLAGS-tst-initordera2.so): Likewise.
34509 (LDFLAGS-tst-initordera3.so): Likewise.
34510 (LDFLAGS-tst-initordera4.so): Likewise.
34511 (LDFLAGS-tst-initorderb2.so): Likewise.
34512 (LDFLAGS-noload): Likewise.
34513 (LDFLAGS-next): Likewise.
34514 (LDFLAGS-order2mod1.so): Likewise.
34515 (LDFLAGS-order2mod2.so): Likewise.
34516 (LDFLAGS-tst-initorder2): Likewise.
34517 (LDFLAGS-tst-initorder2a.so): Likewise.
34518 (LDFLAGS-tst-initorder2b.so): Likewise.
34519 (LDFLAGS-tst-initorder2c.so): Likewise.
34520 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
34522 2012-05-02 David S. Miller <davem@davemloft.net>
34524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34526 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
34529 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
34531 2012-05-02 Andreas Jaeger <aj@suse.de>
34533 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
34534 since we manipulate rounding mode.
34535 (CPPFLAGS-test-idouble.c): Likewise.
34536 (CPPFLAGS-test-ifloat.c): Likewise.
34537 (CFLAGS-test-ldouble.c): Likewise.
34538 (CFLAGS-test-double.c): Likewise.
34539 (CFLAGS-test-float.c): Likewise.
34540 (CFLAGS-test-misc.c): Likewise.
34541 (CFLAGS-test-test-fenv.c): Likewise.
34543 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34547 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
34548 comparisons to determine direction to adjust input.
34550 2012-05-01 Roland McGrath <roland@hack.frob.com>
34552 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
34553 output to the target.
34555 * scripts/localplt.awk: New file.
34556 * elf/Makefile ($(objpfx)check-localplt): Target removed.
34557 (check-localplt-CFLAGS): Variable removed.
34558 ($(all-built-dso:=.jmprel)): New static pattern rule.
34559 (generated): Add those targets.
34560 (localplt-built-dso): New variable.
34561 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
34563 * elf/check-localplt.c: File removed.
34565 * scripts/check-execstack.awk: New file.
34566 * elf/Makefile ($(objpfx)check-execstack): Target removed.
34567 (check-execstack-CFLAGS): Variable removed.
34568 ($(objpfx)check-execstack.h): Target removed.
34569 ($(objpfx)execstack-default): New target.
34570 (generated): Add that instead of check-execstack.h.
34571 ($(all-built-dso:=.phdr)): New static pattern rule.
34572 (generated): Add those targets.
34573 * elf/check-execstack.c: File removed.
34575 * scripts/check-textrel.awk: New file.
34576 * elf/Makefile ($(objpfx)check-textrel): Target removed.
34577 (check-textrel-CFLAGS): Variable removed.
34578 (all-built-dso): Use := to define.o
34579 ($(all-built-dso:=.dyn)): New static pattern rule.
34580 (generated): Add those targets.
34581 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
34582 * config.make.in (READELF): New substituted variable.
34583 * elf/check-textrel.c: File removed.
34585 2012-05-01 Joseph Myers <joseph@codesourcery.com>
34587 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34589 * conform/data/ctype.h-data [C99-based standards] (isblank):
34591 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
34592 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
34593 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34594 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
34595 Specify type. Require positive value.
34596 (EILSEQ): Likewise.
34597 (ERANGE): Likewise.
34598 [ISO || POSIX] (EILSEQ): Do not expect.
34599 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
34600 Specify type. Require positive value.
34601 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
34602 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
34603 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
34604 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
34605 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
34606 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
34607 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
34608 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
34609 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
34610 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
34611 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
34612 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
34613 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
34614 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
34615 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
34616 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
34617 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
34618 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
34619 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
34620 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
34621 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
34622 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
34623 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
34624 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
34625 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
34626 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
34627 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
34628 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
34629 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
34630 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
34631 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
34632 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
34633 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
34634 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
34635 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
34636 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
34637 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
34638 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
34639 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
34640 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
34641 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
34642 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
34643 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
34644 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
34645 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
34646 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
34647 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
34648 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
34649 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
34650 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
34651 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
34652 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
34653 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
34654 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
34655 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
34656 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
34657 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
34658 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
34659 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
34660 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
34661 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
34662 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
34663 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
34664 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
34665 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
34666 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
34667 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
34668 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
34669 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
34670 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
34671 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
34672 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
34673 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
34674 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
34675 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
34676 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
34677 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
34679 (FLT_ROUNDS): Expect as macro, not constant.
34680 (FLT_MANT_DIG): Use macro-int-constant.
34681 (DBL_MANT_DIG): Likewise.
34682 (LDBL_MANT_DIG): Likewise.
34683 (FLT_DIG): Likewise.
34684 (DBL_DIG): Likewise.
34685 (LDBL_DIG): Likewise.
34686 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
34687 (DBL_MIN_EXP): Likewise.
34688 (LDBL_MIN_EXP): Likewise.
34689 (FLT_MAX_EXP): Use macro-int-constant.
34690 (DBL_MAX_EXP): Likewise.
34691 (LDBL_MAX_EXP): Likewise.
34692 (FLT_MAX_10_EXP): Likewise.
34693 (DBL_MAX_10_EXP): Likewise.
34694 (LDBL_MAX_10_EXP): Likewise.
34695 (FLT_MAX): Use macro-constant.
34696 (DBL_MAX): Likewise.
34697 (LDBL_MAX): Likewise.
34698 (FLT_EPSILON): Use macro-constant. Give upper bound.
34699 (DBL_EPSILON): Likewise.
34700 (LDBL_EPSILON): Likewise.
34701 (FLT_MIN): Likewise.
34702 (DBL_MIN): Likewise.
34703 (LDBL_MIN): Likewise.
34704 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
34705 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
34706 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
34707 [ISO11] (FLT_HAS_SUBNORM): Likewise.
34708 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
34709 [ISO11] (DBL_DECIMAL_DIG): Likewise.
34710 [ISO11] (FLT_DECIMAL_DIG): Likewise.
34711 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
34712 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
34713 [ISO11] (FLT_TRUE_MIN): Likewise.
34714 [ISO11] (LDBL_TRUE_MIN): Likewise.
34715 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34716 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
34717 (SCHAR_MIN): Use macro-int-constant. Specify type.
34718 (SCHAR_MAX): Likewise.
34719 (UCHAR_MAX): Likewise.
34720 (CHAR_MIN): Likewise.
34721 (CHAR_MAX): Likewise.
34722 (MB_LEN_MAX): Use macro-int-constant.
34723 (SHRT_MIN): Use macro-int-constant. Specify type.
34724 (SHRT_MAX): Likewise.
34725 (USHRT_MAX): Likewise.
34726 (INT_MAX): Likewise.
34727 (INT_MIN): Use macro-int-constant. Specify type. Make upper
34729 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
34731 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34733 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
34734 bound negative. Suffix upper bound with "L".
34735 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34737 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
34739 [C99-based standards] (LLONG_MAX): Likewise.
34740 [C99-based standards] (ULLONG_MAX): Likewise.
34741 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
34743 [ISO11] (max_align_t): Require type.
34744 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34746 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
34747 from $CFLAGS, without defining away __attribute__ calls.
34748 (checknamespace): Use $CFLAGS_namespace.
34750 * conform/conformtest.pl (@keywords): Only include C99 keywords
34751 for standards based on C99 or C11.
34753 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
34755 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
34758 * conform/conformtest.pl: Handle "macro-int-constant" and test for
34759 usability of symbols in #if.
34761 * conform/conformtest.pl: If macro or constant types start
34762 "promoted:", expect the symbol to be of the following type
34763 promoted by the integer promotions.
34765 * conform/conformtest.pl: Parse all "constant" and "macro" lines
34766 in one place. Also handle "macro-constant".
34768 * conform/conformtest.pl: Only accept expected macro values with
34769 "==". Parse all "macro" lines in one place.
34770 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
34772 * conform/conformtest.pl: Handle braced types on "constant" lines
34773 instead of handling "typed-constant".
34774 * conform/data/signal.h-data: Use "constant" instead of
34777 * conform/conformtest.pl: Handle "optional-" at start of lines in
34778 one place rather than duplicating several cases. Handle each
34779 format of "macro" line with initial "optional-".
34781 * conform/conformtest.pl: Only accept expected constant or
34782 optional-constant values with "==". Parse all "constant" lines in
34783 one place. Parse all "optional-constant" lines in one place.
34784 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
34785 * conform/data/fmtmsg.h-data: Likewise.
34786 * conform/data/netinet/in.h-data: Likewise.
34787 * conform/data/tar.h-data: Likewise.
34788 * conform/data/limits.h-data: Use "==" form on "constant" and
34789 "optional-constant" lines.
34791 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
34792 Use -std=c99 for XOPEN2K.
34793 (@knownproblems): Remove.
34794 (newtoken): Don't check %isknown.
34796 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
34797 Do not expect macro.
34798 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
34799 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
34800 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
34801 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
34802 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
34803 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
34804 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
34805 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
34806 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
34807 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34808 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
34809 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
34810 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
34811 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34812 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
34813 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
34814 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
34815 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
34816 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
34817 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
34818 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
34819 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
34820 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
34821 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
34822 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
34823 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
34824 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
34825 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
34826 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
34827 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
34828 [XPG3] (acosh): Likewise.
34829 [XPG3] (asinh): Likewise.
34830 [XPG3] (atanh): Likewise.
34831 [XPG3] (cbrt): Likewise.
34832 [XPG3] (expm1): Likewise.
34833 [XPG3] (ilogb): Likewise.
34834 [XPG3] (log1p): Likewise.
34835 [XPG3] (logb): Likewise.
34836 [XPG3] (nextafter): Likewise.
34837 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
34838 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
34839 [XPG3] (remainder): Likewise.
34840 [XPG3] (rint): Likewise.
34841 [XPG3 || XPG4 || UNIX98] (round): Likewise.
34842 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
34843 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
34844 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
34845 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
34846 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
34847 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
34848 [UNIX98 || XOPEN2K] (scalb): Expect.
34849 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
34850 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
34851 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
34852 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
34853 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
34854 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
34855 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
34856 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
34857 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
34858 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
34859 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
34860 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
34861 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
34862 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
34863 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
34864 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
34865 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
34866 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
34867 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
34868 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
34869 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
34870 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
34871 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
34872 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
34873 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
34874 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
34875 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
34876 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
34877 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
34878 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
34879 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
34880 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
34881 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
34882 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
34883 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
34884 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
34885 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
34886 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
34887 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
34888 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
34889 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
34890 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
34891 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
34892 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
34893 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
34894 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
34895 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
34896 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
34897 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
34898 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
34899 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
34900 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
34901 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
34902 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
34903 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
34904 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
34905 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
34906 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
34907 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
34908 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
34909 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
34910 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
34911 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
34912 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
34913 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
34914 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
34915 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
34916 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
34917 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
34918 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
34919 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
34920 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
34921 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
34922 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
34923 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
34924 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
34925 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
34926 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
34927 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
34928 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
34929 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
34930 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
34931 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
34932 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
34933 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
34934 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
34935 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
34936 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
34937 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
34938 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
34939 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
34940 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
34941 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
34942 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
34943 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
34944 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
34945 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
34946 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
34947 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
34948 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
34949 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
34950 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
34951 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
34952 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
34953 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
34954 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
34955 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
34956 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
34957 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
34958 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
34959 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
34960 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
34961 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
34962 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
34963 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
34964 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
34965 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
34966 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
34967 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
34968 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
34969 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
34970 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
34971 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
34972 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
34973 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
34974 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
34975 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
34976 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
34977 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
34978 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
34979 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
34980 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
34981 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
34982 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
34983 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
34984 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
34985 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
34987 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
34988 _XOPEN_SOURCE_EXTENDED for XPG4.
34990 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
34992 * Makeconfig (localtime): Remove variable.
34993 (inst_localtime-file): Likewise.
34995 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
35009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
35013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35016 2012-05-01 Joseph Myers <joseph@codesourcery.com>
35020 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
35021 comparisons to determine direction to adjust input.
35022 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35023 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
35024 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35026 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35028 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35030 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35031 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35033 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35035 * math/libm-test.inc (nexttoward_test): Add more tests.
35037 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35040 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
35041 in version GLIBC_2.1, not GLIBC_2.0.
35042 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
35045 2012-04-30 Joseph Myers <joseph@codesourcery.com>
35048 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
35050 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35051 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
35052 * math/libm-test.inc (acos_test): Add more tests.
35053 (asin_test): Likewise.
35054 * sysdeps/i386/fpu/libm-test-ulps: Update.
35055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35058 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
35060 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
35061 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35062 * math/libm-test.inc (acos_test_tonearest): New function.
35063 (acos_test_towardzero): Likewise.
35064 (acos_test_downward): Likewise.
35065 (acos_test_upward): Likewise.
35066 (asin_test_tonearest): Likewise.
35067 (asin_test_towardzero): Likewise.
35068 (asin_test_downward): Likewise.
35069 (asin_test_upward): Likewise.
35070 (main): Call the new functions.
35071 * sysdeps/i386/fpu/libm-test-ulps: Update.
35072 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35076 * math/e_exp10.c: Include <float.h>.
35077 (__ieee754_exp10): Handle underflow here rather than multiplying
35078 large negative argument by M_LN10.
35079 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
35081 * math/e_exp10l.c: Include <float.h>.
35082 (__ieee754_exp10l): Handle underflow here rather than multiplying
35083 large negative argument by M_LN10l.
35084 * math/libm-test.inc (exp10_test): Add another test. Do not allow
35085 spurious overflow exception on underflow.
35087 2012-04-29 Marek Polacek <polacek@redhat.com>
35089 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
35090 (__fortify_function): New macro.
35091 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
35092 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
35093 __extern_always_inline.
35094 * libio/bits/stdio2.h: Likewise.
35095 * libio/bits/stdio.h: Likewise.
35096 * string/string.h: Likewise.
35097 * string/bits/string3.h: Likewise.
35098 * include/stdio.h: Likewise.
35099 * stdlib/bits/stdlib.h: Likewise.
35100 * stdlib/stdlib.h: Likewise.
35101 * rt/bits/mqueue2.h: Likewise.
35102 * rt/mqueue.h: Likewise.
35103 * posix/bits/unistd.h: Likewise.
35104 * posix/unistd.h: Likewise.
35105 * io/bits/poll2.h: Likewise.
35106 * io/bits/fcntl2.h: Likewise.
35107 * io/fcntl.h: Likewise.
35108 * io/sys/poll.h: Likewise.
35109 * misc/bits/syslog.h: Likewise.
35110 * misc/bits/syslog-ldbl.h: Likewise.
35111 * misc/sys/syslog.h: Likewise.
35112 * socket/bits/socket2.h: Likewise.
35113 * socket/sys/socket.h: Likewise.
35114 * debug/tst-chk1.c: Likewise.
35115 * wcsmbs/bits/wchar2.h: Likewise.
35116 * wcsmbs/bits/wchar-ldbl.h: Likewise.
35117 * wcsmbs/wchar.h: Likewise.
35119 2012-04-29 Andreas Jaeger <aj@suse.de>
35121 * Makerules (tests): Remove enable-check-abi protection.
35122 (check-abi-warn): Remove.
35123 (check-abi-%): Remove check-abi-warn usage.
35125 * configure.in: Remove check-abi configure option.
35126 * configure: Regenerated.
35127 * config.make.in (enable-check-abi): Remove.
35129 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
35132 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
35133 double functions to double *_finite functions.
35136 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
35137 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
35139 * stdio-common/Makefile (tests): Add tst-sprintf3.
35140 * stdio-common/tst-sprintf3.c: New file.
35142 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
35143 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
35145 2012-04-28 Joseph Myers <joseph@codesourcery.com>
35147 * conform/conformtest.pl: Remove duplicate typed-constant
35150 2012-04-28 David S. Miller <davem@davemloft.net>
35152 * Makerules (%.abilist): Add vpath on sysdep_dirs.
35153 (check-abi-%): Remove AWK script prerequisite and explicit
35155 (check-abi): Rewrite to just diff the symlist with the abilist.
35156 (config-tls, config-abi-config): Delete, no longer used.
35157 (update-abi-%): Remove AWK script and explicit abilist directory.
35158 (update-abi): Rewrite to simply compare and conditionally copy the
35159 symlist and the sysdep abilist file. Remove update-abi-config
35161 * abilist/ld.abilist: Remove.
35162 * abilist/libBrokenLocale.abilist: Remove.
35163 * abilist/libanl.abilist: Remove.
35164 * abilist/libcrypt.abilist: Remove.
35165 * abilist/libdl.abilist: Remove.
35166 * abilist/librt.abilist: Remove.
35167 * abilist/libthread_db.abilist: Remove.
35168 * abilist/libutil.abilist: Remove.
35169 * scripts/extract-abilist.awk: Remove.
35170 * scripts/merge-abilist.awk: Remove.
35171 * sysdeps/generic/libcidn.abilist: New file.
35172 * sysdeps/generic/libnss_compat.abilist: New file.
35173 * sysdeps/generic/libnss_db.abilist: New file.
35174 * sysdeps/generic/libnss_dns.abilist: New file.
35175 * sysdeps/generic/libnss_files.abilist: New file.
35176 * sysdeps/generic/libnss_hesiod.abilist: New file.
35177 * sysdeps/generic/libnss_nis.abilist: New file.
35178 * sysdeps/generic/libnss_nisplus.abilist: New file.
35179 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
35180 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
35181 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
35183 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
35184 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
35185 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
35186 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
35187 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
35188 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
35189 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
35190 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
35191 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
35193 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
35194 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
35195 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
35196 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
35198 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
35199 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
35200 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
35201 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
35202 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
35203 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
35205 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
35206 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
35207 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
35209 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
35210 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
35212 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
35214 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
35216 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
35218 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
35220 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
35222 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
35224 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
35226 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
35228 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
35230 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
35232 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
35234 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
35236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
35238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
35244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
35250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35262 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
35263 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
35265 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
35269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
35271 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
35273 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
35275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
35277 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35279 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
35281 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
35283 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
35287 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
35288 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
35290 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35292 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
35294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
35296 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
35298 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
35300 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
35302 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35304 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
35306 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
35308 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35310 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
35312 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35313 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
35314 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
35316 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
35317 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
35318 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
35319 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
35320 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
35321 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
35322 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
35323 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
35324 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
35325 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
35326 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
35327 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
35329 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35331 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
35333 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
35335 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
35337 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
35339 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
35341 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35343 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35345 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
35347 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35349 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
35351 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
35352 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
35354 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35356 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
35358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
35360 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
35362 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
35364 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
35366 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35368 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35370 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
35372 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35374 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
35377 2012-04-28 Joseph Myers <joseph@codesourcery.com>
35379 * conform/conformtest.pl: Fix typo in handling typed-constant from
35382 2012-04-27 Joseph Myers <joseph@codesourcery.com>
35384 * README: Cut down references to pre-2.6 Linux kernels and
35385 Linuxthreads. Update lists of configurations in libc and ports
35386 and sort alphabetically. Say "or newer" with Linux kernel version
35389 * config.h.in [IS_IN_build]: Allow compiling without optimization.
35391 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35394 * math/libm-test.inc (logb_test_downward): New test to expose
35395 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
35398 2012-04-27 Joseph Myers <joseph@codesourcery.com>
35401 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
35403 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
35404 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
35406 2012-04-26 Joseph Myers <joseph@codesourcery.com>
35408 * sysdeps/unix/i386/brk.S: Remove file.
35409 * sysdeps/unix/i386/dl-brk.S: Likewise.
35410 * sysdeps/unix/i386/pipe.S: Likewise.
35411 * sysdeps/unix/i386/sigreturn.S: Likewise.
35412 * sysdeps/unix/i386/syscall.S: Likewise.
35413 * sysdeps/unix/i386/vfork.S: Likewise.
35414 * sysdeps/unix/i386/wait.S: Likewise.
35416 * sysdeps/unix/common/tcsendbrk.c: Move to ...
35417 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
35419 * configure.in (arm*-none*): Do not allow without
35420 --enable-hacker-mode.
35421 (netbsd*): Remove case setting base_os.
35422 (386bsd*): Likewise.
35423 (freebsd*): Likewise.
35426 (sunos*): Likewise.
35427 (ultrix*): Likewise.
35428 (newsos*): Likewise.
35429 (dynix*): Likewise.
35435 (minix*): Likewise.
35436 (irix4*): Likewise.
35437 (irix6*): Likewise.
35438 (solaris[2-9]*): Likewise.
35440 * configure: Regenerated.
35442 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35445 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
35446 overflow or cancellation in calculating denominator.
35447 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
35448 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
35449 down expression to avoid unexpected rounding in newer GCCs.
35450 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
35452 2012-04-26 David S. Miller <davem@davemloft.net>
35454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
35455 long-double compat symbols.
35456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
35460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35461 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
35462 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
35463 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
35464 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
35465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
35466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
35467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
35468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35470 2012-04-25 David S. Miller <davem@davemloft.net>
35472 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
35473 HWCAP_* values only after the memory barriers have been defined.
35474 (atomic_full_barrier): Define.
35475 (atomic_read_barrier): Define.
35476 (atomic_write_barrier): Define.
35478 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35480 * shlib-versions: Add libgcc_s version information.
35481 * sysdeps/generic/libgcc_s.h: Remove.
35482 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
35484 * sysdeps/gnu/unwind-resume.c: Likewise.
35485 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
35487 2012-04-25 David S. Miller <davem@davemloft.net>
35489 * sysdeps/unix/sparc/brk.S: Delete.
35490 * sysdeps/unix/sparc/dl-brk.S: Delete.
35491 * sysdeps/unix/sparc/pipe.S: Delete.
35492 * sysdeps/unix/sparc/sysdep.S: Delete.
35493 * sysdeps/unix/sparc/sysdep.h: Delete.
35494 * sysdeps/unix/sparc/vfork.S: Delete.
35495 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
35496 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
35497 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
35498 (ret_ERRVAL, r0, r1, MOVE): Define.
35499 (JUMPTARGET): Remove.
35500 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
35501 sysdeps/unix/sparc/sysdep.h
35502 (ENTRY, END): Remove.
35503 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35505 2012-04-25 Joseph Myers <joseph@codesourcery.com>
35507 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
35508 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
35511 * timezone/README: Update upstream location and email address for
35513 * timezone/zdump.c: Update from tzcode 2012b.
35514 * timezone/zic.c: Likewise.
35516 * configure.in (libc_cv_as_needed): Remove test.
35517 * configure: Regenerated.
35518 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
35519 conditional definition.
35520 [$(have-as-needed) != yes] (no-as-needed): Likewise.
35521 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
35522 * config.make.in (have-as-needed): Remove variable.
35524 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35525 Paul Pluzhnikov <ppluzhnikov@google.com>
35527 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
35530 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
35532 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
35533 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
35534 * sysdeps/sh/strlen.S: Likewise.
35536 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35538 * sysdeps/unix/fork.S: Remove file.
35539 * sysdeps/unix/i386/fork.S: Likewise.
35540 * sysdeps/unix/sparc/fork.S: Likewise.
35542 * sysdeps/unix/system.c: Remove file.
35543 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
35545 * sysdeps/unix/getegid.S: Remove file.
35546 * sysdeps/unix/geteuid.S: Likewise.
35548 2012-04-24 Roland McGrath <roland@hack.frob.com>
35550 * scripts/check-localplt.awk: New file.
35551 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
35553 * scripts/data/localplt-generic.data: Add a comment.
35555 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
35556 NODE when __dir_mkfile failed.
35557 * sysdeps/mach/hurd/symlinkat.c: Likewise.
35558 Reported by Ludovic Courtès <ludo@gnu.org>.
35560 2012-04-24 Andreas Jaeger <aj@suse.de>
35562 * Makerules (common-clean): Also remove gen-as-const-headers
35565 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35567 * Makerules (native-compile): Do not change working directory for
35568 build. Use $(OUTPUT_OPTION) in command.
35569 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
35571 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35574 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
35575 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
35576 * math/libm-test.inc (floor_test): Add more tests.
35577 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
35579 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35581 * sysdeps/unix/getdents.c: Remove file.
35582 * sysdeps/unix/sysv/getdents.c: Likewise.
35583 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
35585 * sysdeps/unix/syscalls.list (madvise): Add syscall from
35586 sysdeps/unix/mman/syscalls.list.
35588 (mprotect): Likewise.
35590 (munmap): Likewise.
35591 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
35592 * sysdeps/unix/mman/syscalls.list: Remove.
35593 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
35595 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
35596 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
35597 * configure: Regenerated.
35598 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
35599 $(libgcc_s_suffix).
35600 * config.make.in (libgcc_s_suffix): Remove variable.
35602 2012-04-23 Joseph Myers <joseph@codesourcery.com>
35604 * sysdeps/unix/sysv/gethostname.c: Move to ...
35605 * sysdeps/posix/gethostname.c: ... here.
35607 * sysdeps/unix/execve.S: Remove file.
35609 * sysdeps/unix/_exit.S: Remove file.
35611 2012-04-23 Andreas Jaeger <aj@suse.de>
35614 * manual/Makefile: Remove make dist support, there's no
35615 need for a stand-alone documentation tar ball.
35616 (TEXI2DVI): Define always, it's not in Makeconfig.
35619 (edition): Removed.
35620 (glibc-doc-$(edition).tar): Removed
35624 (ETAGS): Remove, it's in Makeconfig.
35625 (move-if-change): Remove, it's in Makeconfig.
35627 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
35630 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
35631 (strtod, strtof, strtold, strtol, strtoul, strtoq)
35632 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
35633 (strtod_l, strtof_l, strtold_l): Remove __wur.
35634 It is not necessarily an error to ignore strtol's return value.
35635 One can reliably look at the stored endptr to decide whether
35636 the number had valid syntax.
35638 2012-04-21 Andreas Jaeger <aj@suse.de>
35641 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
35643 2012-04-21 Joseph Myers <joseph@codesourcery.com>
35645 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
35646 * sysdeps/unix/sysv/Versions: Remove file.
35648 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
35651 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35653 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
35656 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
35657 version from __vm86.
35659 2012-04-20 Joseph Myers <joseph@codesourcery.com>
35661 * sysdeps/unix/common/lxstat.c: Remove file.
35662 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
35664 * sysdeps/unix/sysv/Makefile: Remove file.
35666 * sysdeps/unix/sysv/direct.h: Remove file.
35668 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
35669 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
35670 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
35671 * sysdeps/unix/sysv/bits/signum.h: Likewise.
35672 * sysdeps/unix/sysv/bits/stat.h: Likewise.
35673 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
35674 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
35676 * sysdeps/unix/sysv/setrlimit.c: Remove file.
35678 * sysdeps/unix/xmknod.c: Remove file.
35679 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
35681 * sysdeps/unix/sysv/settimeofday.c: Remove file.
35683 * sysdeps/unix/sysv/i386/time.S: Remove file.
35685 * sysdeps/unix/fxstat.c: Remove file.
35686 * sysdeps/unix/xstat.c: Likewise.
35687 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
35689 * sysdeps/unix/sysv/sigaction.c: Remove file.
35691 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
35692 (sysdep_headers): Remove variable.
35693 [termio.h not in sysdep_headers] (generated): Likewise.
35694 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
35695 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
35696 * sysdeps/unix/sysv/tcdrain.c: Likewise.
35697 * sysdeps/unix/sysv/tcflow.c: Likewise.
35698 * sysdeps/unix/sysv/tcflush.c: Likewise.
35699 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
35700 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
35701 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
35702 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
35703 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
35705 * sysdeps/unix/siglist.c: Remove file.
35707 * sysdeps/unix/getppid.S: Remove file.
35709 * sysdeps/unix/mkdir.c: Remove file.
35710 * sysdeps/unix/rmdir.c: Likewise.
35712 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
35714 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
35716 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
35717 errlist-compat value.
35719 2012-04-18 David S. Miller <davem@davemloft.net>
35721 * sysdeps/generic/memcopy.h (reg_char): Delete.
35722 * debug/strcat_chk.c: Use char, not reg_char.
35723 * debug/strcpy_chk.c: Likewise.
35724 * debug/strncat_chk.c: Likewise.
35725 * debug/strncpy_chk.c: Likewise.
35726 * string/memchr.c: Likewise.
35727 * string/memrchr.c: Likewise.
35728 * string/rawmemchr.c: Likewise.
35729 * string/strcat.c: Likewise.
35730 * string/strchr.c: Likewise.
35731 * string/strchrnul.c: Likewise.
35732 * string/strcmp.c: Likewise.
35733 * string/strcpy.c: Likewise.
35734 * string/strncat.c: Likewise.
35735 * string/strncmp.c: Likewise.
35736 * string/strncpy.c: Likewise.
35738 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35740 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
35741 __builtin_memcopy is called when src and dest ranges are known to not
35744 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35746 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
35747 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
35748 fwd_align_merge macro call.
35749 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
35750 bwd_align_merge macro call.
35751 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35753 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35755 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
35756 bwd_align_merge macros.
35757 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
35758 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
35759 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35761 2012-04-18 David S. Miller <davem@davemloft.net>
35763 * sysdeps/sparc/sparc64/memcopy.h: Delete.
35765 2012-04-18 Andreas Jaeger <aj@suse.de>
35768 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
35769 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
35770 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35772 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
35773 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
35774 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35776 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
35777 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
35778 Adjust for changed ldbl-128 files.
35780 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
35781 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
35782 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35784 2012-04-17 David S. Miller <davem@davemloft.net>
35786 * sysdeps/sparc/sparc32/memcopy.h: Delete.
35788 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
35790 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
35791 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
35792 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
35793 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
35794 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35795 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
35797 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35800 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
35801 * math/libm-test.inc: Add ilogb errno and exception tests.
35802 * math/w_ilogb.c: New file: ilogb wrapper.
35803 * math/w_ilogbf.c: New file: ilogbf wrapper.
35804 * math/w_ilogbl.c: New file: ilogbl wrapper.
35805 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
35806 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
35807 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
35808 exception being thrown with 0.0 as argument.
35809 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
35810 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
35811 exception being thrown with 0.0 as argument.
35812 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
35813 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35814 exception being thrown with 0.0 as argument.
35815 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
35816 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35817 exception being thrown with 0.0 as argument.
35818 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
35819 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
35820 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
35821 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
35822 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
35823 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
35824 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
35825 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
35826 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
35828 2012-04-17 Petr Baudis <pasky@ucw.cz>
35830 * include/sys/uio.h: Change __vector to __iovec to avoid clash
35833 2012-04-16 Marek Polacek <polacek@redhat.com>
35835 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
35837 2012-04-16 Marek Polacek <polacek@redhat.com>
35839 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
35840 operands of fdivp instruction.
35842 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35844 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
35845 * elf/tst-auditmod3b.c: Likewise.
35846 * elf/tst-auditmod4b.c: Likewise.
35847 * elf/tst-auditmod5b.c: Likewise.
35848 * elf/tst-auditmod6b.c: Likewise.
35849 * elf/tst-auditmod6c.c: Likewise.
35850 * elf/tst-auditmod7b.c: Likewise.
35851 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
35852 * sysdeps/x86_64/preconfigure.in: Likewise.
35853 * sysdeps/x86_64/preconfigure: Regenerated.
35855 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35857 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
35860 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
35862 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35863 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
35865 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
35868 * locale/iso-639.def: Fix gl language name. Spotted by
35871 2012-04-12 Roland McGrath <roland@hack.frob.com>
35874 * libio/libio.h (__io_write_fn): Update comment.
35876 2012-04-12 Petr Baudis <pasky@ucw.cz>
35879 * stdio.texi (Hook Functions): The user provided writer function
35880 is not allowed to return -1.
35882 2012-04-11 David S. Miller <davem@davemloft.net>
35884 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35886 2012-04-11 Mike Frysinger <vapier@gentoo.org>
35888 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
35889 Add a leading slash to rtkaio.
35891 2012-04-11 Jim Meyering <meyering@redhat.com>
35894 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
35895 It is not necessarily an error to ignore fwrite's return
35896 value. One can reliably use ferror to test for errors after
35899 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35901 * bits/types.h (__snseconds_t): New type.
35902 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
35904 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
35905 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35906 (__SNSECONDS_T_TYPE): Likewise.
35907 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35908 (__SNSECONDS_T_TYPE): Likewise.
35909 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35910 (__SNSECONDS_T_TYPE): Likewise.
35912 2012-04-10 Andreas Jaeger <aj@suse.de>
35915 * manual/time.texi (Processor Time): Return type of times is
35916 elapsed real time since an arbitrary point in the past.
35917 (CPU Time): Move CLK_TCK from here...
35918 (Processor Time): ...to here. Correct description.
35919 * manual/conf.texi (Constants for Sysconf): Correct description of
35922 2012-04-10 David S. Miller <davem@davemloft.net>
35925 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
35926 where the is a gap between DT_REL(A) and DT_JMPREL.
35928 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35930 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
35931 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35932 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35934 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35936 * elf/dl-support.c (_dl_inhibit_cache): New variable.
35937 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
35938 (dl_main): Handle --inhibit-cache.
35939 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
35941 * elf/dl-load.c (_dl_map_object): Use it.
35942 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
35944 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35947 * sysdeps/i386/fpu/e_powl.S (p78): New object.
35948 (__ieee754_powl): Saturate large exponents rather than testing for
35949 overflow of y*log2(x).
35950 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35951 * math/libm-test.inc (pow_test): Do not permit spurious overflow
35955 * math/s_ctan.c: Include <float.h>.
35956 (__ctan): Avoid internal overflow or cancellation in calculating
35958 * math/s_ctanf.c: Likewise.
35959 * math/s_ctanl.c: Likewise.
35960 * math/s_ctanh.c: Likewise.
35961 * math/s_ctanhf.c: Likewise.
35962 * math/s_ctanhl.c: Likewise.
35963 * math/libm-test.inc (ctan_test): Add more tests.
35964 (ctanh_test): Likewise.
35965 * sysdeps/i386/fpu/libm-test-ulps: Update.
35966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35968 2012-04-09 Andreas Jaeger <aj@suse.de>
35971 * manual/filesys.texi (Directory Entries): Mention that d_namlen
35972 is an optional BSD extension.
35975 * manual/stdio.texi (Opening Streams): Document additional fopen
35978 2012-04-09 Roland McGrath <roland@hack.frob.com>
35980 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
35981 %eax without telling the compiler.
35983 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
35986 * manual/install.texi: Use sourceware.org.
35988 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35991 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
35992 (__ieee754_pow): Generate overflow and underflow using huge*huge
35993 and tiny*tiny rather than just returning constant infinity or zero
35994 for large exponents.
35995 * math/libm-test.inc (pow_test): Require overflow exceptions for
35996 applicable cases of large exponents.
35999 * sysdeps/i386/fpu/e_pow.S (p10): New object.
36000 (__ieee754_pow): Use iterative multiplication algorithm only for
36001 integer exponents with absolute value below 1024. Check for odd
36002 integer exponents when using algorithm for real exponents.
36003 * math/libm-test.inc (pow_test): Add more tests.
36004 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36006 2012-04-08 Joseph Myers <joseph@codesourcery.com>
36009 * math/libm-test.inc (exp_test): Do not allow overflow exception
36012 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
36015 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
36016 instead of __kernel_standard_f.
36018 2012-04-08 Mike Frysinger <vapier@gentoo.org>
36020 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
36021 * sysdeps/x86_64/memset_chk.S: Likewise.
36023 2012-04-08 Andreas Jaeger <aj@suse.de>
36026 * manual/startup.texi (Environment Access): Describe return value
36027 for putenv and setenv.
36030 * manual/filesys.texi (Directory Entries): Add description for
36034 * manual/filesys.texi (Directory Entries): Clarify that it's file
36035 system not operating system in the description of DT_UNKNOWN.
36038 * manual/syslog.texi (closelog): Fix reference, it's openlog.
36040 2012-04-08 Stephen Compall <s11@member.fsf.org>
36043 * manual/llio.texi (Opening and Closing Files): Add cross
36044 reference to explain mode argument.
36046 2012-04-07 Mike Frysinger <vapier@gentoo.org>
36048 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
36049 * sysdeps/x86_64/memset_chk.S: Likewise.
36051 2012-04-07 David S. Miller <davem@davemloft.net>
36053 * elf/elf.h (R_SPARC_WDISP10): Define.
36054 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
36056 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
36057 R_SPARC_SIZE64 and R_SPARC_H34.
36059 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
36061 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
36062 conditions and remove no longer applicable assertion.
36064 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36066 * bits/byteswap.h: Include <features.h>.
36067 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36068 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36070 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36072 * bits/byteswap.h (__bswap_16): Removed.
36073 Include <bits/byteswap-16.h> to get __bswap_16.
36074 * sysdeps/i386/bits/byteswap.h: Likewise.
36075 * sysdeps/s390/bits/byteswap.h: Likewise.
36076 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36077 * bits/byteswap-16.h: New file.
36078 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36079 * sysdeps/s390/bits/byteswap-16.h: Likewise.
36080 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
36081 * string/Makefile (headers): Add bits/byteswap-16.h.
36083 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36086 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
36088 * nss/Makefile (tests-static, tests): Add tst-nss-static.
36089 * nss/tst-nss-static.c: New.
36091 2012-04-06 Robert Millan <rmh@gnu.org>
36094 * manual/llio.texi (File Position Primitive): lseek
36095 refers to WHENCE when it really means OFFSET.
36097 2012-04-06 Andreas Jaeger <aj@suse.de>
36099 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
36100 strncmp declarations.
36102 * abilist/libc.abilist: Add __poll and __ppoll.
36104 2012-04-05 David S. Miller <davem@davemloft.net>
36106 * scripts/check-local-headers.sh: Accept a host triplet in the
36107 path matched by the exclude regexp.
36109 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
36111 * sysdeps/powerpc/powerpc32/dl-machine.h
36112 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
36113 * sysdeps/s390/s390-32/dl-machine.h
36114 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36115 * sysdeps/sparc/sparc32/dl-machine.h
36116 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36117 * sysdeps/sparc/sparc64/dl-machine.h
36118 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36120 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
36122 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
36123 undefined symbol errors.
36125 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
36128 2012-04-05 Michael Matz <matz@suse.de>
36131 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
36133 2012-04-05 Andreas Jaeger <aj@suse.de>
36136 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
36139 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36141 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
36142 which ROUND is no valid rounding mode.
36144 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36146 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
36148 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
36150 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36152 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
36153 an exception using FPU order intentionally.
36155 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36157 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
36158 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
36159 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
36160 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
36162 2012-04-05 Simon Josefsson <simon@josefsson.org>
36165 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
36166 EINVAL when BUFLEN is too smal.
36168 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
36171 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
36172 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
36174 2012-04-03 Andreas Jaeger <aj@suse.de>
36177 * manual/setjmp.texi (System V contexts): Fix sentence.
36180 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
36181 New macro for this case.
36182 [!__GNUC__] (__bswap_64): New inline function for this case.
36183 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36184 * bits/byteswap.h: Likewise.
36185 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
36186 ull, guard with __GLIBC_HAVE_LONG_LONG.
36188 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
36189 __GLIBC_HAVE_LONG_LONG.
36191 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
36192 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
36194 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36197 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
36198 inptr and inend, rather than using last_ch.
36200 2012-04-02 David S. Miller <davem@davemloft.net>
36202 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
36203 * stdio-common/printf-parse.h (read_int): Change return type to
36204 'int', return -1 on INT_MAX overflow.
36205 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
36206 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
36207 overflows INT_MAX. Check for overflow of in-format-string precision
36208 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
36209 SIZE_MAX not INT_MAX for integer overflow test.
36210 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
36211 skip the construct in the format string but do not record anything.
36212 * stdio-common/bug22.c: Adjust to test both width/prevision
36213 INT_MAX overflow as well as total length INT_MAX overflow. Check
36214 explicitly for proper errno values.
36216 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
36218 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
36220 * string/test-strcmp.c [! WIDE]: Likewise.
36221 * time/tst-mktime2.c: Likewise for INT_MAX.
36222 * string/test-string.h: #include <sys/param.h> for MIN.
36224 * csu/init-first.c (__libc_init_first): Call __ctype_init.
36225 * sysdeps/i386/init-first.c (init): Likewise.
36226 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
36227 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
36228 * sysdeps/sh/init-first.c (init): Likewise.
36230 2012-04-01 Ulrich Drepper <drepper@gmail.com>
36232 * po/ru.po: Update from translation team.
36233 * po/vi.po: Likewise.
36235 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
36237 * resolv/nss_dns/dns-host.c: Merge copyright years.
36239 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36241 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36242 Optimize memcpy with prefetch if
36243 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
36244 src, dst pointers have unequal 16 byte alignments.
36246 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36249 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
36250 from a CNAME entry and return the minimum ttl for the query.
36251 (gaih_getanswer_slice): Likewise.
36253 2012-03-30 Jeff Law <law@redhat.com>
36255 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
36257 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
36258 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
36260 * resolv/nss_dns/dns-host.c: Update copyright year.
36262 2012-03-30 Ulrich Drepper <drepper@gmail.com>
36264 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
36265 requests to save a system call. Fix check that all bytes are sent.
36267 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
36268 comments for sendmmsg.
36270 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36273 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
36274 with only 1 character between 0x0041 and 0x01b0.
36275 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
36276 * wcsmbs/tst-mbsnrtowcs.c: New file.
36278 2012-03-29 David S. Miller <davem@davemloft.net>
36280 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
36281 small copies by hand.
36283 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36286 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
36287 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
36290 2012-03-28 David S. Miller <davem@davemloft.net>
36292 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
36293 that branches into memcpy.
36294 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36295 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36296 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36297 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36298 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
36300 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
36301 implementation too.
36302 * sysdeps/sparc/mempcpy.S: New file.
36304 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
36305 the IFUNC routine in the libc case.
36306 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36308 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
36309 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
36310 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
36311 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
36312 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36313 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
36314 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
36315 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
36317 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36318 loop to 256 bytes instead of 64 bytes and fix test signedness.
36320 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
36321 * sysdeps/sparc/sparc32/Makefile: rather than here...
36322 * sysdeps/sparc/sparc64/Makefile: and here.
36324 2012-03-28 Ulrich Drepper <drepper@gmail.com>
36326 * malloc/mallocbug.c: Avoid warnings about unused variables.
36328 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
36331 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
36332 in the right place. Discard and retry query if response is
36333 larger than input buffer size.
36335 2012-03-28 Joseph Myers <joseph@codesourcery.com>
36340 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
36341 x for large integer exponent.
36342 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36343 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
36344 sign of result as needed afterwards.
36345 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36346 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
36347 result for underflowing pow the same as for overflow.
36348 (__kernel_standard_l): Handle powl overflow and underflow here
36349 rather than calling __kernel_standard.
36350 * math/libm-test.inc (pow_test): Add more tests.
36365 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
36366 * sysdeps/ieee754/k_standard.c: Include <float.h>.
36367 (__kernel_standard_l): New function.
36368 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
36370 * math/w_acosl.c (__acosl): Likewise.
36371 * math/w_asinl.c (__asinl): Likewise.
36372 * math/w_atan2l.c (__atan2l): Likewise.
36373 * math/w_atanhl.c (__atanhl): Likewise.
36374 * math/w_coshl.c (__coshl): Likewise.
36375 * math/w_exp10l.c (__exp10l): Likewise.
36376 * math/w_exp2l.c (__exp2l): Likewise.
36377 * math/w_fmodl.c (__fmodl): Likewise.
36378 * math/w_hypotl.c (__hypotl): Likewise.
36379 * math/w_j0l.c (__j0l, __y0l): Likewise.
36380 * math/w_j1l.c (__j1l, __y1l): Likewise.
36381 * math/w_jnl.c (__jnl, __ynl): Likewise.
36382 * math/w_lgammal.c (__lgammal): Likewise.
36383 * math/w_log10l.c (__log10l): Likewise.
36384 * math/w_log2l.c (__log2l): Likewise.
36385 * math/w_logl.c (__logl): Likewise.
36386 * math/w_powl.c (__powl): Likewise.
36387 * math/w_remainderl.c (__remainderl): Likewise.
36388 * math/w_scalbl.c (sysv_scalbl): Likewise.
36389 * math/w_sinhl.c (__sinhl): Likewise.
36390 * math/w_sqrtl.c (__sqrtl): Likewise.
36391 * math/w_tgammal.c (__tgammal): Likewise.
36392 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
36393 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
36394 * math/libm-test.inc (acos_test): Add more tests.
36395 (acosh_test): Likewise.
36396 (asin_test): Likewise.
36397 (atanh_test): Likewise.
36398 (exp_test): Likewise.
36399 (exp10_test): Likewise.
36400 (exp2_test): Likewise.
36401 (expm1_test): Likewise.
36402 (lgamma_test): Likewise.
36403 (log_test): Likewise.
36404 (log10_test): Likewise.
36405 (log1p_test): Likewise.
36406 (log2_test): Likewise.
36407 (pow_test): Do not allow some spurious overflow exceptions.
36408 (sqrt_test): Add more tests.
36409 (tgamma_test): Likewise.
36410 (y0_test): Likewise.
36411 (y1_test): Likewise.
36412 (yn_test): Likewise.
36414 2012-03-27 Anton Blanchard <anton@samba.org>
36416 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
36418 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36419 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36420 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36422 2012-03-27 David S. Miller <davem@davemloft.net>
36424 * conform/Makefile: Run run-conformtest.sh using $(BASH).
36426 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
36427 have-as-vis3 check.
36429 2012-03-27 Andreas Jaeger <aj@suse.de>
36431 * sysdeps/x86_64/elf/configure.in: Moved to ...
36432 * sysdeps/x86_64/configure.in: ... here.
36433 * sysdeps/x86_64/elf/start.S: Moved to ...
36434 * sysdeps/x86_64/start.S: ... here.
36435 * sysdeps/x86_64/elf/configure: Delete.
36437 * sysdeps/x86_64/configure.in: Merge contents from
36438 sysdeps/i386/configure.in (without i686 check).
36440 * sysdeps/i386/elf/Versions: Merge into ...
36441 * sysdeps/i386/Versions: ... this.
36442 * sysdeps/i386/elf/Versions: Delete file.
36443 * sysdeps/i386/elf/start.S: Moved to ...
36444 * sysdeps/i386/start.S: ...here.
36445 * sysdeps/i386/elf/configure.in: Merge into...
36446 * sysdeps/i386/configure.in: ...here.
36447 * sysdeps/i386/elf/configure.in: Delete file.
36448 * sysdeps/i386/elf/configure: Delete file.
36450 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
36451 * debug/backtracesyms.c: ... here.
36452 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
36453 * debug/backtracesymsfd.c: ... here.
36454 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
36455 * sysdeps/generic/ifunc-sel.h: ... here.
36457 * sysdeps/unix/i386/start.c: Delete file.
36458 * sysdeps/unix/sparc/start.c: Delete file.
36459 * sysdeps/unix/start.c: Delete file.
36461 * sysdeps/sh/elf/configure.in: Moved to ...
36462 * sysdeps/sh/configure.in: ... here.
36463 * sysdeps/sh/elf/start.S: Moved to ...
36464 * sysdeps/sh/start.S: ... here.
36465 * sysdeps/sh/elf/configure: Delete file.
36467 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
36468 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
36469 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
36470 * sysdeps/powerpc/powerpc64/entry.h: ... here.
36471 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
36472 * sysdeps/powerpc/powerpc64/start.S: here.
36473 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
36474 * sysdeps/powerpc/powerpc64/Makefile: ... this.
36475 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
36476 * sysdeps/powerpc/powerpc64/configure.in: ... this.
36477 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
36479 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
36480 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
36481 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
36482 * sysdeps/powerpc/powerpc32/start.S: ... here.
36483 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
36484 * sysdeps/powerpc/powerpc32/configure.in: ... this.
36485 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
36487 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
36488 * sysdeps/powerpc/ifunc-sel.h: ... here.
36489 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
36490 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
36492 * sysdeps/sparc/elf/configure.in: Moved to ...
36493 * sysdeps/sparc/configure.in: ... here.
36494 * sysdeps/sparc/elf/configure: Delete file.
36495 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
36496 * sysdeps/sparc/sparc32/start.S: ... here.
36497 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
36498 * sysdeps/sparc/sparc64/start.S: ... here.
36499 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
36500 * sysdeps/sparc/sparc32/Makefile: ... this.
36501 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
36502 * sysdeps/sparc/sparc64/Makefile: ... this.
36504 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
36505 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
36506 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
36507 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
36508 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
36509 * sysdeps/s390/s390-32/setjmp.S: ... here.
36510 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
36511 * sysdeps/s390/s390-32/configure.in: ... here.
36512 * sysdeps/s390/s390-32/elf/configure: Delete file.
36513 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
36514 * sysdeps/s390/s390-32/start.S: ... here.
36516 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
36517 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
36518 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
36519 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
36520 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
36521 * sysdeps/s390/s390-64/setjmp.S: ... here.
36522 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
36523 * sysdeps/s390/s390-64/configure.in: ... here
36524 * sysdeps/s390/s390-64/elf/configure: Delete file.
36525 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
36526 * sysdeps/s390/s390-64/start.S: ... here.
36527 * sysdeps/s390/s390-64/elf/configure: Delete.
36529 * configure.in: Remove support for elf directories in sysdeps.
36531 * configure: Regenerated.
36532 * sysdeps/i386/configure: Regenerated.
36533 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36534 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36535 * sysdeps/s390/s390-32/configure: Regenerated.
36536 * sysdeps/s390/s390-64/configure: Regenerated.
36537 * sysdeps/sh/configure: Regenerated.
36538 * sysdeps/sparc/configure: Regenerated.
36539 * sysdeps/x86_64/configure: Regenerated.
36541 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
36543 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36545 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
36546 denormal result into account.
36548 2012-03-25 Roland McGrath <roland@hack.frob.com>
36550 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
36551 Reported by Allan McRae <allan@archlinux.org>.
36553 2012-03-23 Jeff Law <law@redhat.com>
36555 * nss/getnssent.c (__nss_getent): Fix typo.
36557 2012-03-23 David S. Miller <davem@davemloft.net>
36559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36561 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
36563 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
36564 to pad to uint64_t for each field.
36565 (dl_tls_index): Replace unsigned long with uint64_t.
36567 2012-03-23 Daniel Jacobowitz <dmj@google.com>
36568 Paul Pluzhnikov <ppluzhnikov@google.com>
36571 * grp/Makefile (otherlibs): Don't set it.
36572 * inet/Makefile (otherlibs): Likewise.
36573 * login/Makefile (otherlibs): Likewise.
36574 * nscd/Makefile (otherlibs): Likewise.
36575 * posix/Makefile (otherlibs): Likewise.
36576 * pwd/Makefile (otherlibs): Likewise.
36577 * rt/Makefile (otherlibs): Likewise.
36578 * sunrpc/Makefile (otherlibs): Likewise.
36579 * nss/Makefile (otherlibs): Likewise.
36580 Add libnss_files to routines and static-only-routines.
36581 ($(objpfx)getent): Remove rule.
36582 * resolv/Makefile: Add libnss_dns and libresolv to routines and
36583 static-only-routines.
36585 2012-03-22 Joseph Myers <joseph@codesourcery.com>
36588 * math/s_cexp.c: Include <float.h>.
36589 (__cexp): Handle exp result overflowing not necessarily
36590 overflowing both real and imaginary parts of result.
36591 * math/s_cexpf.c: Likewise.
36592 * math/s_cexpl.c: Likewise.
36593 * math/libm-test.inc (cexp_test): Add more tests.
36594 * sysdeps/i386/fpu/libm-test-ulps: Update.
36595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36597 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36599 * include/link.h (ELFW): New macro.
36600 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
36601 Replace ELF64_R_TYPE with ELFW(R_TYPE).
36603 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36605 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
36608 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36610 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
36612 (struct La_x32_retval): Likewise.
36614 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36616 * sysdeps/x86_64/preconfigure.in: New file.
36617 * sysdeps/x86_64/preconfigure: New generated file.
36619 2012-03-22 Joseph Myers <joseph@codesourcery.com>
36622 * math/e_exp2l.c: Include <float.h>.
36623 (__ieee754_exp2l): Handle overflow and underflow cases
36624 separately. Only pass fractional part of argument to
36626 * math/libm-test.inc (exp2_test): Add more tests.
36628 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
36629 negating x to take absolute value.
36630 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36632 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36633 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
36635 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
36636 computing low part if x was negated.
36637 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36639 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36641 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
36642 la_x32_gnu_pltexit.
36643 (pltexit): Cast int_retval to ptrdiff_t.
36644 * elf/tst-auditmod3b.c: Likewise.
36645 * elf/tst-auditmod4b.c: Likewise.
36646 * elf/tst-auditmod5b.c: Likewise.
36647 * elf/tst-auditmod6b.c: Likewise.
36648 * elf/tst-auditmod6c.c: Likewise.
36649 * elf/tst-auditmod7b.c: Likewise.
36651 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
36652 and x32_gnu_pltexit.
36654 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
36655 __ELF_NATIVE_CLASS.
36656 (La_x32_regs): New macro.
36657 (La_x32_retval): Likewise.
36658 (la_x32_gnu_pltenter): New function prototype.
36659 (la_x32_gnu_pltexit): Likewise.
36661 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
36663 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
36666 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36668 * configure.in (libc_cv_cc_nofma): Check for option to disable
36669 generation of FMA instructions.
36670 * configure: Regenerate.
36671 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
36672 * sysdeps/ieee754/dbl-64/Makefile: New file.
36673 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36674 Remove brandred-fma4.
36675 (CFLAGS-brandred-fma4.c): Remove.
36676 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
36677 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
36679 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
36682 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36684 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36685 LLONG_MAX != LONG_MAX.
36686 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36687 (_fitoa_word): Likewise.
36688 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
36689 LLONG_MAX != LONG_MAX.
36690 * stdio-common/_itowa.h: Include <_itoa.h>.
36691 (_itowa_word): Use _ITOA_WORD_TYPE on value.
36692 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
36693 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
36694 only if not defined.
36695 (_ITOA_WORD_TYPE): Likewise.
36696 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36697 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
36699 2012-03-21 David S. Miller <davem@davemloft.net>
36701 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36703 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36705 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
36706 of x86_64 when setting libc_cv_slibdir, libdir and
36708 * sysdeps/unix/sysv/linux/configure: Regenerated.
36710 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36712 * manual/lang.texi (Old Varargs): Remove section.
36713 (How Variadic): Update menu.
36714 (va_start): Do not mention varargs.h.
36716 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36717 Joseph Myers <joseph@codesourcery.com>
36719 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
36721 * configure: Regenerated.
36723 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36725 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
36726 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
36729 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36732 * Makefile (files-for-dist): Remove NOTES.
36733 (NOTES): Remove rule.
36734 * README: Don't refer to NOTES.
36735 * manual/creature.texi: Don't include macros.texi.
36736 * manual/intro.texi (creature.texi): Remove comment referring to
36739 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
36740 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
36741 * configure: Regenerated.
36742 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
36743 LIBC_TRY_CC_OPTION.
36744 (libc_cv_as_i686): Likewise.
36745 (libc_cv_cc_avx): Likewise.
36746 (libc_cv_cc_sse2avx): Likewise.
36747 (libc_cv_cc_fma4): Likewise.
36748 (libc_cv_cc_novzeroupper): Likewise.
36749 * sysdeps/i386/configure: Regenerated.
36752 * sysdeps/i386/fpu/s_cexp.S: Remove.
36753 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36754 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36755 * math/libm-test.inc (cexp_test): Add more tests.
36756 * sysdeps/i386/fpu/libm-test-ulps: Update.
36757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36759 2012-03-21 Allan McRae <allan@archlinux.org>
36761 * timezone/Makefile: Do not install iso3166.tab and zone.tab
36763 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36766 * math/w_exp2.c: Do not include <float.h>.
36767 (o_threshold, u_threshold): Remove.
36768 (__exp2): Calculate result before checking finiteness and calling
36770 * math/w_exp2f.c: Likewise.
36771 * math/w_exp2l.c: Likewise.
36772 * math/libm-test.inc (exp2_test): Require overflow exception for
36776 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
36777 range of signed 64-bit integers before using fistpll. Remove
36778 checks for whether integers fit in mantissa bits.
36779 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
36780 the range of signed 32-bit integers before using fistpl. Remove
36781 checks for whether integers fit in mantissa bits.
36782 * sysdeps/i386/fpu/e_powl.S (p64): New object.
36783 (__ieee754_powl): Test for y outside the range of signed 64-bit
36784 integers before using fistpll. Reduce 64-bit values to 63-bit
36786 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
36787 divide-by-zero is raised for zero to large negative powers.
36788 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
36789 (__ieee754_powl): Test for y outside the range of signed 64-bit
36790 integers before using fistpll. Reduce 64-bit values to 63-bit
36792 * math/libm-test.inc (pow_test): Add more tests.
36794 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36796 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
36797 <stdio-common/_itoa.h>.
36798 * debug/segfault.c: Likewise.
36799 * elf/dl-cache.c: Likewise.
36800 * elf/dl-minimal.c: Likewise.
36801 * elf/dl-misc.c: Likewise.
36802 * elf/dl-sysdep.c: Likewise.
36803 * elf/dl-version.c: Likewise.
36804 * elf/rtld.c: Likewise.
36805 * hurd/hurdsock.c: Likewise.
36806 * hurd/lookup-retry.c: Likewise.
36807 * malloc/malloc.c: Likewise.
36808 * malloc/mtrace.c: Likewise.
36809 * nscd/nscd_getgr_r.c: Likewise.
36810 * nscd/nscd_getpw_r.c: Likewise.
36811 * nscd/nscd_getserv_r.c: Likewise.
36812 * posix/getopt_init.c: Likewise.
36813 * posix/wordexp.c: Likewise.
36814 * stdio-common/_itoa.c: Likewise.
36815 * stdio-common/printf_fphex.c: Likewise.
36816 * stdio-common/vfprintf.c: Likewise.
36817 * string/_strerror.c: Likewise.
36818 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
36819 * sysdeps/i386/i686/hp-timing.h: Likewise.
36820 * sysdeps/mach/_strerror.c: Likewise.
36821 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
36822 * sysdeps/mach/hurd/sethostid.c: Likewise.
36823 * sysdeps/mach/hurd/xmknodat.c: Likewise.
36824 * sysdeps/mach/xpg-strerror.c: Likewise.
36825 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36826 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36827 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
36828 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
36829 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36830 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
36831 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36832 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36833 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
36834 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
36835 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
36836 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36837 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
36838 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36839 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36840 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
36841 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
36842 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
36843 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36844 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36845 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
36847 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
36849 * stdio-common/_itoa.h: Moved to ...
36850 * sysdeps/generic/_itoa.h: Here.
36852 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
36854 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
36855 instead of "_itoa.h" and "_itowa.h".
36856 * stdio-common/vfprintf.: Likewise.
36858 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36860 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
36862 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
36863 (__signbit): Likwise.
36864 (llrintf): Likwise.
36867 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36869 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
36872 2012-03-20 Joseph Myers <joseph@codesourcery.com>
36874 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
36875 OVERFLOW_EXCEPTION_OK.
36876 * math/libm-test.inc ("Philosophy"): Update comment about
36878 (OVERFLOW_EXCEPTION): Define.
36879 (OVERFLOW_EXCEPTION_OK): Likewise.
36880 (INVALID_EXCEPTION_OK): Renumber.
36881 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36882 (IGNORE_ZERO_INF_SIGN): Likewise.
36883 (test_exceptions): Handle FE_OVERFLOW.
36884 (exp10_test): Expect overflow exceptions.
36885 (exp2_test): Likewise.
36886 (expm1_test): Likewise.
36887 (nextafter_test): Likewise.
36888 (pow_test): Likewise.
36889 (scalbn_test): Likewise.
36890 (scalbln_test): Likewise.
36892 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36894 * sysdeps/x86_64/bits/atomic.h
36895 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
36897 (atomic_exchange_acq): Likewise.
36898 (__arch_exchange_and_add_body): Likewise.
36899 (__arch_add_body): Likewise.
36900 (atomic_add_negative): Likewise.
36901 (atomic_add_zero): Likewise.
36903 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36905 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
36906 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
36908 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36910 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
36911 Check __x86_64__ instead of __WORDSIZE.
36913 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36915 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
36917 2012-03-19 David S. Miller <davem@davemloft.net>
36919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36921 * sysdeps/sparc/fpu/fenv_private.h: New file.
36922 * sysdeps/sparc/fpu/math_private.h: Use it.
36923 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
36925 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
36926 (libc_feholdexcept_setroundl): Remove.
36927 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
36929 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
36930 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
36932 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36934 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
36935 int64_t instead of long int.
36936 (INSERT_WORDS64): Likwise.
36938 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36940 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
36941 _Unwind_GetCFA return to _Unwind_Ptr first.
36943 2012-03-19 Joseph Myers <joseph@codesourcery.com>
36946 * math/s_clog.c: Include <float.h>.
36947 (__clog): Scale large or subnormal inputs.
36948 * math/s_clogf.c: Likewise.
36949 * math/s_clogl.c: Likewise.
36950 * math/s_clog10.c: Include <float.h>.
36951 (M_LOG10_2): Define.
36952 (__clog10): Scale large or subnormal inputs.
36953 * math/s_clog10f.c: Likewise.
36954 * math/s_clog10l.c: Likewise.
36955 * math/libm-test.inc (clog_test): Add more tests.
36956 (clog10_test): Likewise.
36957 * sysdeps/i386/fpu/libm-test-ulps: Update.
36958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36961 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
36963 * math/libm-test.inc (atan2_test): Add another test.
36965 * Makerules (common-objdir-compile): Remove.
36966 * sysdeps/unix/Makefile (config-generated): Do not add
36967 $(unix-generated) to variable.
36968 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
36969 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
36971 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
36973 [generic bits/local_lim.h] (before-compile): Do not append to
36975 [generic bits/local_lim.h] (common-generated): Likewise.
36976 [generic sys/param.h] (before-compile): Do not append to variable.
36977 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
36978 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
36979 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
36980 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
36982 [generic sys/param.h] (sys/param.h-includes): Remove variable.
36983 [generic sys/param.h] (sys/param.h-includes): Remove rule.
36984 [generic sys/param.h] ($(addprefix
36985 $(common-objpfx),$(sys/param.h-includes))): Likewise.
36986 [generic sys/param.h] (common-generated): Do not append to
36988 [generic sys/param.h] (sysdep_headers): Likewise.
36989 [generic bits/errno.h] (before-compile): Do not append to
36991 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
36993 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
36994 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
36995 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
36996 [generic bits/errno.h] (common-generated): Do not append to
36998 [generic bits/ioctls.h] (before-compile): Do not append to
37000 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
37002 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
37003 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
37004 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
37006 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
37007 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
37008 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
37009 [generic bits/ioctls.h] (common-generated): Do not append to
37011 [generic sys/syscall.h] (syscall.h): Remove variable.
37012 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
37014 [generic sys/syscall.h] (before-compile): Do not append to
37016 [generic sys/syscall.h] (common-generated): Likewise.
37017 * sysdeps/unix/errnos-tmpl.c: Remove file.
37018 * sysdeps/unix/errnos.awk: Likewise.
37019 * sysdeps/unix/ioctls-tmpl.c: Likewise.
37020 * sysdeps/unix/ioctls.awk: Likewise.
37021 * sysdeps/unix/mk-local_lim.c: Likewise.
37022 * sysdeps/unix/snarf-ioctls: Likewise.
37024 2012-03-19 Richard Henderson <rth@twiddle.net>
37026 * sysdeps/i386/fpu/fenv_private.h: New file.
37027 * sysdeps/i386/fpu/math_private.h: Use it.
37028 (math_opt_barrier, math_force_eval): Remove.
37029 (libc_feholdexcept_setround_53bit): Remove.
37030 (libc_feupdateenv_53bit): Remove.
37031 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37032 (math_opt_barrier, math_force_eval): Remove.
37033 (libc_feholdexcept): Remove.
37034 (libc_feholdexcept_setround): Remove.
37035 (libc_fetestexcept, libc_fesetenv): Remove.
37036 (libc_feupdateenv_test): Remove.
37037 (libc_feupdateenv, libc_feholdsetround): Remove.
37038 (libc_feresetround): Remove.
37040 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
37041 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37043 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
37044 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
37045 (libc_feupdateenv_testl): New.
37046 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
37047 (libc_feupdateenv_testf): New.
37048 (libc_feupdateenv): Use libc_feupdateenv_test.
37049 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
37050 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
37052 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
37053 (libc_feholdsetroundf, libc_feholdsetroundl): New.
37054 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
37055 (libc_feresetround_noex): New.
37056 (libc_feresetround_noexf): New.
37057 (libc_feresetround_noexl): New.
37058 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
37059 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
37060 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
37061 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
37063 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37064 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
37066 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
37067 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
37068 SET_RESTORE_ROUND_NOEX.
37069 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
37070 SET_RESTORE_ROUND_NOEXF.
37071 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
37072 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
37073 (libc_feholdsetroundf): New.
37074 (libc_feresetround, libc_feresetroundf): New.
37076 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
37077 (libc_feholdexcept_setround_53bit): Convert from macro to function.
37078 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
37080 * sysdeps/generic/math_private.h: Include <fenv.h>.
37081 (default_libc_feholdexcept): New.
37082 (default_libc_feholdexcept_setround): New.
37083 (default_libc_fesetenv, default_libc_feupdateenv): New.
37084 (libc_feholdexcept): Only define if undefined.
37085 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
37086 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
37087 (libc_feholdexcept_setroundl): Likewise.
37088 (libc_feholdexcept_setround_53bit): Likewise.
37089 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
37090 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
37091 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
37092 (libc_feupdateenv_53bit): Likewise.
37093 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
37094 (libc_feholdexcept): Convert from macro to inline function.
37095 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
37096 (libc_fesetenv, libc_feupdateenv): Likewise.
37098 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
37099 not previously defined.
37100 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
37101 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
37102 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
37103 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
37104 * sysdeps/ieee754/flt-32/math_private.h: New file.
37105 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
37106 math_private.h below SET_FLOAT_WORD.
37107 (__isnan, __isinf_ns, __finite): Remove.
37108 (__isnanf, __isinf_nsf, __finitef): Remove.
37110 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
37112 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37114 2012-03-17 David S. Miller <davem@davemloft.net>
37117 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
37120 2012-03-16 David S. Miller <davem@davemloft.net>
37122 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
37126 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
37128 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
37129 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
37130 sysdep_routines when subdir is sysvipc.
37131 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
37132 __getshmlba helper.
37134 * sysdeps/sparc/fpu/libm-test/ulps: Update.
37136 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37138 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
37141 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37143 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
37144 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
37145 (__lround): Renamed to ...
37146 (__llround): This. Replace long int with long long int.
37147 Define lround functions as aliases of llround functions.
37148 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
37150 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37152 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
37153 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
37154 adresses to uintptr_t. Replace "long int" and "unsigned long
37155 int" with "greg_t" on va_arg.
37157 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37159 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
37160 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
37162 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
37163 Move e_machine check before EI_CLASS check. Handle x32
37164 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
37165 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
37166 SKIP_EM_IA_64 and include
37167 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
37169 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
37170 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
37171 (add_system_dir): New macro.
37173 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
37174 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
37176 2012-03-16 Joseph Myers <joseph@codesourcery.com>
37187 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
37189 * math/w_j0f.c (j0f): Likewise.
37191 * math/w_j0l.c (__j0l): Likewise.
37193 * math/w_j1.c (j1): Likewise.
37195 * math/w_j1f.c (j1f): Likewise.
37197 * math/w_j1l.c (__j1l): Likewise.
37199 * math/w_jn.c (jn): Likewise.
37201 * math/w_jnf.c (jnf): Likewise.
37203 * math/w_jnl.c (__jnl): Likewise.
37205 * math/libm-test.inc (j0_test): Add more tests.
37206 (j1_test): Likewise.
37207 (jn_test): Likewise. Add trailing semicolon to existing test.
37208 (y0_test): Likewise.
37209 (y1_test): Likewise.
37210 * sysdeps/i386/fpu/libm-test-ulps: Update.
37211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37215 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
37216 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
37217 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
37218 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
37219 (__tanl): Set errno for infinite argument.
37220 * sysdeps/i386/fpu/mptan.c: Remove.
37221 * sysdeps/i386/fpu/s_tan.S: Likewise.
37222 * sysdeps/i386/fpu/s_tanl.S: Likewise.
37223 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
37224 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
37225 * math/libm-test.inc (tan_test): Add more tests and enable more
37226 tests for double and long double.
37227 * sysdeps/i386/fpu/libm-test-ulps: Update.
37228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37230 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
37232 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
37233 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
37235 2012-03-16 Roland McGrath <roland@hack.frob.com>
37237 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
37238 * configure.in: Use it for both main tree and add-ons.
37239 * configure: Regenerated.
37241 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37243 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
37245 2012-03-16 Joseph Myers <joseph@codesourcery.com>
37247 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
37251 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
37252 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
37253 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
37254 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
37255 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
37257 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
37258 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
37259 != 0 for prec == 2.
37260 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
37261 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
37262 * sysdeps/i386/fpu/s_cosl.S: Likewise.
37263 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
37264 * sysdeps/i386/fpu/s_sinl.S: Likewise.
37265 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
37266 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
37267 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
37268 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
37269 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
37270 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
37271 * math/libm-test.inc (cos_test): Add more tests and enable more
37272 tests for long double.
37273 (sin_test): Likewise.
37274 (sincos_test): Likewise.
37275 * sysdeps/i386/fpu/libm-test-ulps: Update.
37276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37278 2012-03-16 David S. Miller <davem@davemloft.net>
37280 * sysdeps/sparc/fpu/math_private.h: New file.
37282 2012-03-15 David S. Miller <davem@davemloft.net>
37284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
37286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
37287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
37289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
37290 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
37291 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
37292 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
37293 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
37294 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
37296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37298 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
37299 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
37301 * sysdeps/sparc/sparc-ifunc.h: New file.
37302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
37304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
37307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
37309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
37310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
37311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
37316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
37318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
37320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
37322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
37324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
37325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
37326 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37327 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37328 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
37329 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
37330 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37331 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37332 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
37333 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
37334 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
37335 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
37336 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
37337 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
37338 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
37339 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
37340 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
37341 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
37342 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
37343 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
37344 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
37345 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
37347 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37349 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
37351 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37353 2012-03-15 Andreas Jaeger <aj@suse.de>
37356 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
37357 ieee754/flt-32 implementation for sin, cos and sincos.
37358 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
37359 * sysdeps/i386/fpu/s_cosf.S: Likewise.
37360 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
37361 * sysdeps/i386/fpu/s_sinf.S: Likewise.
37362 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
37363 ieee754/flt-32 implementation for tan.
37365 * math/libm-test.inc (cos_test): Enable some large input tests for
37367 (sin_test): Likewise.
37368 (sincos_test): Likewise.
37369 (tan_test): Add tests for large input.
37371 * sysdeps/i386/fpu/libm-test-ulps: Update.
37373 2012-03-15 Andreas Jaeger <aj@suse.de>
37376 * math/libm-test.inc (cos_test): Add more test cases.
37377 (sin_test): Likewise.
37378 (sincos_test): Likewise.
37380 2012-03-15 Andreas Jaeger <aj@suse.de>
37383 * math/libm-test.inc (cos_test): Add a test case for large input
37385 (sin_test): Likewise.
37386 (sincos_test): Likewise.
37388 2012-03-15 Andreas Jaeger <aj@suse.de>
37389 Joseph Myers <joseph@codesourcery.com>
37392 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
37393 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
37394 * sysdeps/i386/fpu/branred.c: Likewise.
37395 * sysdeps/i386/fpu/dosincos.c: Likewise.
37396 * sysdeps/i386/fpu/mpa.c: Likewise.
37397 * sysdeps/i386/fpu/s_cos.S: Likewise.
37398 * sysdeps/i386/fpu/s_sin.S: Likewise.
37399 * sysdeps/i386/fpu/s_sincos.S: Likewise.
37400 * sysdeps/i386/fpu/sincos32.c: Likewise.
37402 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
37404 (libc_feupdateenv_53bit): Define.
37405 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
37407 (libc_feupdateenv_53bit): Define.
37409 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
37410 53 bit (without extend i386 double precision).
37412 * math/libm-test.inc (sincos_test): Add tests for large input.
37416 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37418 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37420 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37422 2012-03-15 David S. Miller <davem@davemloft.net>
37424 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
37425 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
37426 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
37427 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
37428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
37429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
37430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
37431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
37432 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
37433 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
37434 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
37435 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
37436 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
37437 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
37438 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
37439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
37441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
37442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
37444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
37445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
37447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
37448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
37450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
37451 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
37452 fmin/fmax sysdep routines.
37453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37455 2012-03-14 David S. Miller <davem@davemloft.net>
37457 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
37458 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
37459 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
37460 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
37461 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
37462 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
37463 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
37464 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
37465 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
37466 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
37467 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
37468 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
37469 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
37470 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
37471 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
37472 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
37473 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
37474 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
37475 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
37476 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
37477 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
37478 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
37479 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
37480 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
37481 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
37482 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
37483 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
37484 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
37485 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
37487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
37489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
37490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
37492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
37493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
37495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
37496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
37498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
37499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
37501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
37502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
37504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
37506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
37508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
37510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
37512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
37514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
37516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
37517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
37519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
37520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
37522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
37523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
37525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
37526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
37529 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37534 * sysdeps/sparc/configure.in: New file.
37535 * sysdeps/sparc/configure: Generate.
37536 * configure.in (libc_cv_sparc_as_vis3): Substitute.
37537 * configure: Regenerate.
37538 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
37539 * config.make.in (have-as-vis3): New.
37540 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
37541 available use -Av9d instead of -Av9a.
37542 * sysdeps/sparc/sparc64/Makefile: Likewise.
37543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
37544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
37546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
37548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
37550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
37552 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
37553 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
37554 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
37555 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
37556 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
37558 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
37559 fzeros/fnegs to load 0x80000000 into a float register instead of
37561 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
37563 2012-03-14 Joseph Myers <joseph@codesourcery.com>
37565 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37567 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
37568 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
37569 ($(inst_includedir)/bits/syscall.h): Remove rule.
37570 ($(objpfx)bits/syscall.d): Include instead of
37571 $(objpfx)syscall-list.d.
37572 (generated): Change syscall-list.h and syscall-list.d to
37573 bits/syscall.h and bits/syscall.d.
37575 2012-03-14 Roland McGrath <roland@hack.frob.com>
37578 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
37580 2012-03-14 Joseph Myers <joseph@codesourcery.com>
37583 * math/s_csqrt.c: Include <float.h>.
37584 (__csqrt): Scale large or subnormal inputs.
37585 * math/s_csqrtf.c: Likewise.
37586 * math/s_csqrtl.c: Likewise.
37587 * math/libm-test.inc (csqrt_test): Add more tests.
37588 * sysdeps/i386/fpu/libm-test-ulps: Update.
37589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37592 * math/libm-test.inc (hypot_test): Add more tests.
37594 2012-03-13 David S. Miller <davem@davemloft.net>
37597 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
37598 double-precision for the calculation instead of scaling.
37600 2012-03-13 Joseph Myers <joseph@codesourcery.com>
37602 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
37603 manipulate bits before adding and subtracting TWO52[sx].
37604 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
37605 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
37607 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
37609 2012-03-13 David S. Miller <davem@davemloft.net>
37611 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
37612 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
37613 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
37614 rtld-global-offsets.h
37615 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37617 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
37620 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
37622 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
37623 'err' in the ifdef scope in which it is actually used.
37625 * nss/nss_db/db-init.c: Include string.h
37627 2012-03-12 David S. Miller <davem@davemloft.net>
37629 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37630 masking out of the most significant byte of random value used.
37631 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37632 Fix coding style in previous change.
37634 * sysdeps/unix/sysv/linux/kernel-features.h
37635 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
37636 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
37638 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
37641 2012-03-11 David S. Miller <davem@davemloft.net>
37643 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37644 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
37645 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
37646 for 'resultvar' otherwise things get truncated on 64-bit.
37648 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37649 Fix masking out of the most significant byte of random value used.
37651 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37653 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
37655 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37657 2012-03-09 David S. Miller <davem@davemloft.net>
37659 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
37660 variables with appropriate CPP guards.
37661 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
37662 from the frame pointer, not the stack pointer. Correct layout
37663 comments. Fix test on resulting framesize and the management of
37664 the outregs buffer for pltexit. Preserve floating point return
37665 values across _dl_call_pltexit call.
37666 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
37667 framesize and the management of the outregs buffer for pltexit.
37668 Preserve floating point return values across _dl_call_pltexit
37670 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
37671 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
37672 (la_sparc64_gnu_pltexit): New functions.
37673 (print_exit): Fix format string for return register value.
37675 2012-03-10 Joseph Myers <joseph@codesourcery.com>
37677 * sunrpc/Makefile (others): Add rpcgen.
37678 ($(objpfx)rpcgen): Remove special build rule and dependency on
37680 * sunrpc/rpcgen.c: New file.
37682 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
37685 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
37686 * stdio-common/bug-vfprintf-nargs.c: Likewise.
37687 * sysdeps/i386/crti.S: Likewise.
37688 * sysdeps/i386/crtn.S: Likewise.
37689 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
37690 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
37691 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
37692 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
37693 * sysdeps/sh/crti.S: Likewise.
37694 * sysdeps/sh/crtn.S: Likewise.
37695 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37698 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
37700 * locale/programs/locfile-kw.gperf: Likewise.
37701 * locale/programs/charmap-kw.h: Regenerated.
37702 * locale/programs/locfile-kw.h: Likewise.
37705 * intl/plural.y: Replace FSF snail mail address with URL.
37706 * intl/plural.c: Regenerated.
37708 2012-03-09 Richard Henderson <rth@twiddle.net>
37710 * include/math_private.h: Remove file.
37711 * math/math_private.h: Move file ...
37712 * sysdeps/generic/math_private.h: ... here.
37714 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
37715 * sysdeps/powerpc/fpu/math_private.h: Likewise.
37716 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37718 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
37719 and <math_private.h>.
37720 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37721 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37722 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37723 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37724 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37725 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
37726 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37727 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37728 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37729 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37730 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37731 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37732 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37733 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37734 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37735 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37736 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37737 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37738 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37739 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37740 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37741 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37742 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37743 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37744 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37745 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37746 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37747 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37748 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37749 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37750 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37751 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37752 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37753 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37754 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37755 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37756 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37757 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37758 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37759 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37760 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
37761 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37762 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37763 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37764 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37765 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37766 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
37767 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37768 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37769 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37770 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37771 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
37772 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37773 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37774 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37775 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37776 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37777 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37778 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37779 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
37780 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37781 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37782 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37783 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37784 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
37785 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37786 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37787 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37788 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
37789 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
37790 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37791 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37792 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37793 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37794 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
37795 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
37796 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
37797 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37798 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
37799 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
37800 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37801 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
37802 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37803 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37804 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37805 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37806 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
37807 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
37808 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37809 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37810 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37811 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37812 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37813 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37814 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37815 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37816 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37817 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37818 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37819 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37820 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37821 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37822 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37823 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37824 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37825 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37826 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37827 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37828 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37829 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37830 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37831 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37832 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37833 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37834 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
37835 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37836 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37837 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37838 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37839 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37840 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37841 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37842 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37843 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
37844 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37845 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37846 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37847 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
37848 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37849 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
37850 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
37851 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37852 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37853 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
37854 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
37855 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37856 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37857 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37858 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
37859 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37860 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37861 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37862 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37863 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
37864 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
37865 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37866 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37867 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37868 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
37869 * sysdeps/ieee754/k_standard.c: Likewise.
37870 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37871 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37872 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37873 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37874 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37875 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37876 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37877 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37878 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37879 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37880 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37881 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37882 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37883 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37884 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37885 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37886 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37887 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37888 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37889 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
37890 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
37891 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
37892 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37893 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37894 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37895 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
37896 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37897 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37898 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37899 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37900 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37901 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37902 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37903 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37904 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37905 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37906 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37907 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
37908 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
37909 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37910 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37911 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37912 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37913 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37914 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37915 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37916 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37917 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37918 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37919 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37920 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37921 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37922 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37923 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
37924 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37925 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37926 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
37927 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
37928 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37929 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37930 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37931 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37932 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37933 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37934 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37935 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37936 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37937 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37938 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37939 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37940 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37941 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37942 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37943 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37944 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37945 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37946 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
37947 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37948 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37949 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37950 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37951 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37952 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37953 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37954 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
37955 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37956 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37957 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
37958 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37959 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37960 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
37961 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37962 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37963 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37964 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37965 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37966 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
37967 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37968 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37969 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
37970 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37971 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37972 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37973 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37974 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
37975 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37976 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37977 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37978 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
37979 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37980 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37981 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37982 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37983 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37984 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37985 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37986 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37987 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37988 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37989 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37990 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37991 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37992 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37993 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37994 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37995 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
37996 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37997 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37998 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37999 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38000 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38001 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38002 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38003 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38004 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38005 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38006 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
38007 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38008 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38009 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
38010 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
38011 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38012 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
38013 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
38014 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38015 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38016 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38017 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38018 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38019 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
38020 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38021 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38022 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38023 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38024 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
38025 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
38026 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38027 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38028 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38029 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38030 * sysdeps/ieee754/s_lib_version.c: Likewise.
38031 * sysdeps/ieee754/s_matherr.c: Likewise.
38032 * sysdeps/ieee754/s_signgam.c: Likewise.
38033 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38034 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38035 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
38036 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
38037 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
38038 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38039 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
38040 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
38041 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
38042 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
38043 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38044 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
38045 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38046 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38047 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
38048 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38049 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38050 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38051 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38052 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38053 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38055 2012-03-09 Joseph Myers <joseph@codesourcery.com>
38057 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
38058 * sunrpc/rpc_main.c: Likewise.
38059 * sunrpc/rpc_svcout.c: Likewise.
38061 2012-03-09 David S. Miller <davem@davemloft.net>
38063 * include/math_private.h: New file.
38065 2012-03-09 Joseph Myers <joseph@codesourcery.com>
38067 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
38068 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
38069 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
38070 from <bits/socket_type.h>.
38071 (enum __socket_type): Don't define here.
38072 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
38073 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38074 bits/socket_type.h.
38077 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
38078 checking __USE_GNU.
38080 * Makerules ($(inst_includedir)/%.h): New rule.
38081 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
38082 (install-others): Remove variable setting.
38083 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
38085 2012-03-08 Richard Henderson <rth@twiddle.net>
38087 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
38088 from macro to inline function; merge with the
38089 !__LIBC_INTERNAL_MATH_INLINES version.
38090 (__ieee754_sqrtf): Likewise.
38092 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
38093 to inline function.
38094 (__rintf, __floor, __floorf): Likewise.
38096 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
38097 macro to inline function.
38098 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
38100 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
38101 not <math/math_private.h>.
38103 2012-03-08 David S. Miller <davem@davemloft.net>
38105 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
38107 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
38109 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
38111 * resolv/gai_misc.c (handle_requests): Fix struct timespec
38113 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
38114 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38116 2012-03-08 Ulrich Drepper <drepper@gmail.com>
38118 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
38119 be defined individually, they must be defined as a block. Define
38120 S for printing a string instead of hidint the different by using a
38121 macro for adding the 'l'.
38122 * stdio-common/tst-fphex-wide.c: Adjust.
38124 2012-03-07 Marek Polacek <polacek@redhat.com>
38126 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
38128 2012-03-08 Marek Polacek <polacek@redhat.com>
38131 * stdio-common/Makefile (tests): Add tst-fphex-wide.
38132 * stdio-common/tst-fphex.c: Define a few macros to make the
38133 test reusable. Use them.
38134 * stdio-common/tst-fphex-wide.c: New file.
38136 2012-03-08 Joseph Myers <joseph@codesourcery.com>
38139 * manual/macros.texi (gnusystems): New macro.
38140 (nongnusystems): Likewise.
38141 (gnulinuxhurdsystems): Likewise.
38142 (gnuhurdsystems): Likewise..
38143 (gnulinuxsystems): Likewise.
38144 * manual/charset.texi: Use new macros or @theglibc{} to refer to
38145 variants of the GNU system, not "GNU system".
38146 * manual/conf.texi: Likewise.
38147 * manual/errno.texi: Likewise. Update example of errno macro
38149 * manual/filesys.texi: Likewise.
38150 (getumask): Document as specific to GNU/Hurd.
38151 * manual/install.texi: Likewise. Reword some references to
38153 * manual/intro.texi: Likewise.
38154 * manual/io.texi: Likewise.
38155 (File Name Portability): Detail which constraints are inapplicable
38156 to all GNU systems and which are only inapplicable to GNU/Hurd.
38157 * manual/job.texi: Likewise.
38158 * manual/llio.texi: Likewise.
38159 (O_NOCTTY): Document as present on GNU/Linux.
38160 * manual/maint.texi: Likewise.
38161 * manual/memory.texi: Likewise.
38162 * manual/pattern.texi: Likewise.
38163 * manual/pipe.texi: Likewise.
38164 * manual/process.texi: Likewise.
38165 * manual/resource.texi: Likewise.
38166 (RUSAGE_CHILDREN): Remove statement about specifying a particular
38168 * manual/setjmp.texi: Likewise.
38169 * manual/signal.texi: Likewise.
38170 * manual/startup.texi: Likewise.
38171 * manual/stdio.texi: Likewise.
38172 * manual/terminal.texi: Likewise.
38173 (ONLCR): Document as POSIX.
38174 (OXTABS): Document availability on GNU/Linux as XTABS.
38175 (ONOEOT): Document availability separately from other bits.
38176 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
38177 * manual/time.texi: Likewise.
38178 * manual/users.texi: Likewise.
38179 * INSTALL: Regenerated.
38180 * sysdeps/gnu/errlist.c: Regenerated.
38182 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
38183 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
38184 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
38186 * configure: Regenerated.
38188 2012-03-07 Joseph Myers <joseph@codesourcery.com>
38190 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
38191 default includes instead of AC_HEADER_CHECK.
38192 * sysdeps/i386/configure: Regenerated.
38195 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
38196 * math/s_cacoshf.c (__cacoshf): Likewise.
38197 * math/s_cacoshl.c (__cacoshl): Likewise.
38198 * math/s_casinh.c (__casinh): Set signs of result from argument.
38199 * math/s_casinhf.c (__casinhf): Likewise.
38200 * math/s_casinhl.c (__casinhl): Likewise.
38201 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
38202 (casinh_test): Add more tests.
38203 * sysdeps/i386/fpu/libm-test-ulps: Update.
38204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38206 2012-03-07 Ulrich Drepper <drepper@gmail.com>
38208 * po/zh_TW.po: Update from translation team.
38210 * login/Makefile (distribute): Remove variable.
38211 * catgets/Makefile: Likewise.
38212 * mach/Makefile: Likewise.
38213 * malloc/Makefile: Likewise.
38214 * misc/Makefile: Likewise.
38215 * iconv/Makefile: Likewise.
38216 * nscd/Makefile: Likewise.
38217 * hurd/Makefile: Likewise.
38218 * manual/Makefile: Likewise.
38219 * locale/Makefile: Likewise.
38220 * intl/Makefile: Likewise.
38221 * conform/Makefile: Likewise.
38222 * nss/Makefile: Likewise.
38223 * time/Makefile: Likewise.
38224 * soft-fp/Makefile: Likewise.
38225 * dirent/Makefile: Likewise.
38226 * gmon/Makefile: Likewise.
38227 * po/Makefile: Likewise.
38228 * rt/Makefile: Likewise.
38229 * socket/Makefile: Likewise.
38230 * math/Makefile: Likewise.
38231 * signal/Makefile: Likewise.
38232 * debug/Makefile: Likewise.
38233 * elf/Makefile: Likewise.
38234 * timezone/Makefile: Likewise.
38235 * stdlib/Makefile: Likewise.
38236 * iconvdata/Makefile: Likewise.
38237 * sunrpc/Makefile: Likewise.
38238 * io/Makefile: Likewise.
38239 * argp/Makefile: Likewise.
38240 * inet/Makefile: Likewise.
38241 * hesiod/Makefile: Likewise.
38242 * grp/Makefile: Likewise.
38243 * csu/Makefile: Likewise.
38244 * wctype/Makefile: Likewise.
38245 * crypt/Makefile: Likewise.
38246 * libio/Makefile: Likewise.
38247 * string/Makefile: Likewise.
38248 * nis/Makefile: Likewise.
38249 * resolv/Makefile: Likewise.
38250 * stdio-common/Makefile: Likewise.
38251 * wcsmbs/Makefile: Likewise.
38252 * dlfcn/Makefile: Likewise.
38253 * posix/Makefile: Likewise.
38256 * timezone/Makefile: Don't install timezone files, just the programs
38259 2012-03-06 Ulrich Drepper <drepper@gmail.com>
38261 * nss/databases.def: Add missing gshadow entry.
38263 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
38265 2012-03-06 Marek Polacek <polacek@redhat.com>
38268 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
38269 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38270 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
38271 * stdio-common/tst-long-dbl-fphex.c: New file.
38273 2012-03-06 David S. Miller <davem@davemloft.net>
38275 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38276 (set_obp_int): New function.
38277 (get_obp_int): New function.
38278 (__get_clockfreq_via_dev_openprom): Likewise.
38279 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
38280 Avoid unused variable warnings on 'val' and use builtin_expect.
38281 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
38283 (INLINE_CLONE_SYSCALL): Likewise.
38285 2012-03-05 David S. Miller <davem@davemloft.net>
38287 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38289 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
38291 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38293 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
38294 only for |x| >= 40.
38295 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38297 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
38299 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
38300 Replace gettimeofday with __vdso_gettimeofday.
38302 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38303 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
38304 __vdso_clock_gettime and __vdso_getcpu.
38306 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
38307 time with __vdso_time.
38309 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38311 * manual/lang.texi (size_t): Note types to which size_t may be
38312 equivalent with the GNU C Library, but do not describe when
38313 differences between them are significant.
38315 2012-03-05 Andreas Jaeger <aj@suse.de>
38317 * sysdeps/i386/fpu/libm-test-ulps: Update.
38319 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38322 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
38323 (__ieee754_pow): Save and restore rounding mode and use
38324 round-to-nearest for main computations.
38325 * math/libm-test.inc (pow_test_tonearest): New function.
38326 (pow_test_towardzero): Likewise.
38327 (pow_test_downward): Likewise.
38328 (pow_test_upward): Likewise.
38329 (main): Call the new functions.
38330 * sysdeps/i386/fpu/libm-test-ulps: Update.
38331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38334 * math/libm-test.inc (cosh_test_tonearest): New function.
38335 (cosh_test_towardzero): Likewise.
38336 (cosh_test_downward): Likewise.
38337 (cosh_test_upward): Likewise.
38338 (sinh_test_tonearest): Likewise.
38339 (sinh_test_towardzero): Likewise.
38340 (sinh_test_downward): Likewise.
38341 (sinh_test_upward): Likewise.
38342 (main): Call the new functions.
38343 * sysdeps/i386/fpu/libm-test-ulps: Update.
38344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38346 2012-03-05 Tom de Vries <tom@codesourcery.com>
38348 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
38349 default stack guard is set in last bytes.
38350 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
38352 2012-03-05 Kees Cook <keescook@chromium.org>
38354 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
38357 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
38358 possibly allocate from heap instead of stack.
38359 * stdio-common/bug-vfprintf-nargs.c: New file.
38360 * stdio-common/Makefile (tests): Add nargs overflow test.
38362 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
38364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38366 2012-03-03 Marek Polacek <polacek@redhat.com>
38368 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
38369 * math/math_private.h: Likewise.
38370 * stdlib/tst-strtod.c: Likewise.
38371 * sysdeps/i386/i486/bits/atomic.h: Likewise.
38372 * sysdeps/x86_64/bits/atomic.h: Likewise.
38374 2012-03-02 David S. Miller <davem@davemloft.net>
38376 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
38377 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
38378 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
38379 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
38380 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
38381 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
38382 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
38383 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
38385 2012-03-02 Roland McGrath <roland@hack.frob.com>
38388 * manual/examples/README: New file, says the example source files
38389 can be used under GPL>=2.
38390 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
38391 line containing just "*/".
38392 * manual/examples/add.c: Add copyright header (GPL>=2).
38393 * manual/examples/argp-ex1.c: Likewise.
38394 * manual/examples/argp-ex2.c: Likewise.
38395 * manual/examples/argp-ex3.c: Likewise.
38396 * manual/examples/argp-ex4.c: Likewise.
38397 * manual/examples/atexit.c: Likewise.
38398 * manual/examples/db.c: Likewise.
38399 * manual/examples/dir.c: Likewise.
38400 * manual/examples/dir2.c: Likewise.
38401 * manual/examples/execinfo.c: Likewise.
38402 * manual/examples/filecli.c: Likewise.
38403 * manual/examples/filesrv.c: Likewise.
38404 * manual/examples/fmtmsgexpl.c: Likewise.
38405 * manual/examples/genpass.c: Likewise.
38406 * manual/examples/inetcli.c: Likewise.
38407 * manual/examples/inetsrv.c: Likewise.
38408 * manual/examples/isockad.c: Likewise.
38409 * manual/examples/longopt.c: Likewise.
38410 * manual/examples/memopen.c: Likewise.
38411 * manual/examples/memstrm.c: Likewise.
38412 * manual/examples/mkfsock.c: Likewise.
38413 * manual/examples/mkisock.c: Likewise.
38414 * manual/examples/mygetpass.c: Likewise.
38415 * manual/examples/pipe.c: Likewise.
38416 * manual/examples/popen.c: Likewise.
38417 * manual/examples/rprintf.c: Likewise.
38418 * manual/examples/search.c: Likewise.
38419 * manual/examples/select.c: Likewise.
38420 * manual/examples/setjmp.c: Likewise.
38421 * manual/examples/sigh1.c: Likewise.
38422 * manual/examples/sigusr.c: Likewise.
38423 * manual/examples/stpcpy.c: Likewise.
38424 * manual/examples/strdupa.c: Likewise.
38425 * manual/examples/strftim.c: Likewise.
38426 * manual/examples/strncat.c: Likewise.
38427 * manual/examples/subopt.c: Likewise.
38428 * manual/examples/swapcontext.c: Likewise.
38429 * manual/examples/termios.c: Likewise.
38430 * manual/examples/testopt.c: Likewise.
38431 * manual/examples/testpass.c: Likewise.
38432 * manual/examples/timeval_subtract.c: Likewise.
38435 * manual/time.texi (Elapsed Time): Move timeval_subtract example
38437 * manual/timeval_subtract.c.texi: ... here, new file.
38439 2012-03-02 David S. Miller <davem@davemloft.net>
38441 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
38443 2012-03-02 Joseph Myers <joseph@codesourcery.com>
38446 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
38447 (__sin): Save and restore rounding mode and use round-to-nearest
38448 for all computations.
38449 (__cos): Save and restore rounding mode and use round-to-nearest
38450 for all computations.
38451 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
38453 (tan): Save and restore rounding mode and use round-to-nearest for
38455 * math/libm-test.inc (cos_test_tonearest): New function.
38456 (cos_test_towardzero): Likewise.
38457 (cos_test_downward): Likewise.
38458 (cos_test_upward): Likewise.
38459 (sin_test_tonearest): Likewise.
38460 (sin_test_towardzero): Likewise.
38461 (sin_test_downward): Likewise.
38462 (sin_test_upward): Likewise.
38463 (tan_test_tonearest): Likewise.
38464 (tan_test_towardzero): Likewise.
38465 (tan_test_downward): Likewise.
38466 (tan_test_upward): Likewise.
38467 (main): Call the new functions.
38468 * sysdeps/i386/fpu/libm-test-ulps: Update.
38469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38472 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
38473 small n, then large n, before computing and testing k+n.
38474 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38475 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
38477 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
38479 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
38480 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
38481 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
38482 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
38483 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38484 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38485 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
38486 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
38487 * math/libm-test.inc (scalbn_test): Add more tests.
38488 (scalbln_test): Likewise.
38490 * manual/filesys.texi (mode_t): Describe constraints on size and
38491 signedness, not exact equivalence to a particular type.
38493 (ino64_t): Likewise.
38495 (nlink_t): Likewise.
38496 (blkcnt_t): Likewise.
38497 (blkcnt64_t): Likewise.
38498 * manual/llio.texi (off_t): Likewise.
38501 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
38502 (__ieee754_exp): Save and restore rounding mode and use
38503 round-to-nearest for all computations.
38504 * math/libm-test.inc (exp_test_tonearest): New function.
38505 (exp_test_towardzero): Likewise.
38506 (exp_test_downward): Likewise.
38507 (exp_test_upward): Likewise.
38508 (main): Call the new functions.
38509 * sysdeps/i386/fpu/libm-test-ulps: Update.
38510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38512 2012-03-01 Chris Demetriou <cgd@google.com>
38514 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
38515 have predictable order.
38517 2012-03-01 David S. Miller <davem@davemloft.net>
38519 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
38521 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
38522 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
38523 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
38524 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
38526 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
38527 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
38528 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
38529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
38530 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
38531 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
38532 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
38533 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
38534 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
38536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38538 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
38539 * sysdeps/sparc/fpu/libm-test-ulps: to here.
38540 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
38542 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
38543 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38544 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38545 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
38546 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
38547 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
38548 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
38549 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38550 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38551 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
38552 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
38553 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38554 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38555 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38556 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38557 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38558 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
38559 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
38560 * sysdeps/sparc/elf/configure: Regenerated.
38562 2012-03-01 Joseph Myers <joseph@codesourcery.com>
38564 * configure.in (AS, LD): Require binutils 2.20 or later.
38565 * configure: Regenerated.
38566 * manual/install.texi (Tools for Compilation): Give binutils 2.20
38567 as required minimum version.
38568 * INSTALL: Regenerated.
38572 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
38573 before squaring exponent.
38574 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
38575 bottom long double and 27 bits of top long double before squaring
38577 * math/libm-test.inc (erfc_test): Add more tests.
38578 * sysdeps/i386/fpu/libm-test-ulps: Update.
38579 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38582 2012-03-01 Kai Tietz <ktietz@redhat.com>
38584 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
38585 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
38586 containing bit-fields.
38587 * soft-fp/extended.h (_FP_UNION_E): Likewise.
38588 * soft-fp/single.h (_FP_UNION_S): Likewise.
38589 * soft-fp/double.h (_FP_UNION_D): Likewise.
38591 2012-02-29 Joseph Myers <joseph@codesourcery.com>
38594 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
38595 not include ../strcmp.S.
38596 [USE_AS_STRNCASECMP_L]: Likewise.
38597 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
38598 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
38599 * sysdeps/i386/i686/multiarch/strncase_l-c.c
38600 (__strncasecmp_l_ia32): Define as alias to
38601 __strncasecmp_l_nonascii.
38604 * math/libm-test.inc (expm1_test): Add test for bug 5794.
38605 * sysdeps/i386/fpu/libm-test-ulps: Update.
38606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38608 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
38609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38611 2012-02-29 Jeff Law <law@redhat.com>
38613 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
38614 out of bounds read.
38616 2012-02-29 Marek Polacek <polacek@redhat.com>
38619 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
38620 * elf/Makefile: Add rules to run tst-unused-dep.out.
38622 2012-02-28 David S. Miller <davem@davemloft.net>
38624 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
38625 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
38626 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
38627 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
38628 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
38629 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
38631 2012-02-29 Joseph Myers <joseph@codesourcery.com>
38633 * math/libm-test.inc (llround_test): Move one test from
38634 lround_test. Use TEST_f_L in moved test.
38635 (lround_test): Move misplaced test to llround_test. Add testcase
38638 2012-02-28 Ulrich Drepper <drepper@gmail.com>
38640 * sysdeps/x86_64/fpu/e_expf.S: New file.
38641 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
38643 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
38646 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
38647 of remain_len that may cause incomplete multi-byte character and
38649 * posix/bug-regex33.c: New file.
38650 * posix/Makefile (tests): Add bug-regex33.
38652 2012-02-28 Joseph Myers <joseph@codesourcery.com>
38654 * manual/macros.texi: New file.
38655 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
38656 * manual/libc.texinfo: Include macros.texi.
38657 * manual/creatute.texi: Likewise.
38658 * manual/install.texi: Likewise.
38659 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
38660 @glibcadj{} in references to the GNU C Library.
38661 * manual/charset.texi: Likewise.
38662 * manual/conf.texi: Likewise.
38663 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
38664 when not using those macros.
38665 * manual/creature.texi: Likewise.
38666 * manual/crypt.texi: Likewise.
38667 * manual/errno.texi: Likewise.
38668 * manual/filesys.texi: Likewise.
38669 * manual/header.texi: Likewise.
38670 * manual/install.texi: Likewise.
38671 * manual/intro.texi: Likewise.
38672 * manual/io.texi: Likewise.
38673 * manual/job.texi: Likewise.
38674 * manual/lang.texi: Likewise.
38675 * manual/libc.texiinfo: Likewise.
38676 * manual/llio.texi: Likewise.
38677 * manual/locale.texi: Likewise.
38678 * manual/maint.texi: Likewise.
38679 * manual/math.texi: Likewise.
38680 * manual/memory.texi: Likewise.
38681 * manual/message.texi: Likewise.
38682 * manual/nss.texi: Likewise.
38683 * manual/pattern.texi: Likewise.
38684 * manual/process.texi: Likewise.
38685 * manual/resource.texi: Likewise.
38686 * manual/search.texi: Likewise.
38687 * manual/setjmp.texi: Likewise.
38688 * manual/signal.texi: Likewise.
38689 * manual/socket.texi: Likewise.
38690 * manual/startup.texi: Likewise.
38691 * manual/stdio.texi: Likewise.
38692 * manual/string.texi: Likewise.
38693 * manual/sysinfo.texi: Likewise.
38694 * manual/syslog.texi: Likewise.
38695 * manual/terminal.texi: Likewise.
38696 * manual/time.texi: Likewise.
38697 * manual/users.texi: Likewise.
38698 * INSTALL: Regenerated.
38699 * NOTES: Regenerated.
38700 * sysdeps/gnu/errlist.c: Regenerated.
38702 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
38704 * include/dirent.h: Include <dirstream.h> before
38707 2012-02-28 David S. Miller <davem@davemloft.net>
38709 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
38710 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
38711 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
38712 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
38714 2012-02-27 David S. Miller <davem@davemloft.net>
38716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
38717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
38718 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
38719 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
38721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
38722 frame pointer instead of stack pointer relative arg slot.
38723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38724 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38725 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38727 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
38730 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
38732 2012-02-27 David S. Miller <davem@davemloft.net>
38734 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
38735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38736 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
38738 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38739 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38740 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
38741 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
38743 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38745 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
38746 later. Allow versions 5-9.
38747 * configure: Regenerated.
38748 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
38749 required minimum version and 4.6 as recommended version. Do not
38750 mention bugs in GCC 2.7 and 2.8.
38751 * INSTALL: Regenerated.
38753 2012-02-27 David S. Miller <davem@davemloft.net>
38755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
38756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
38757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
38758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
38759 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
38760 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
38761 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
38762 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
38764 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
38765 manipulate bits before adding and subtracting TWO112[sx].
38766 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38768 2012-02-27 Roland McGrath <roland@hack.frob.com>
38771 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
38772 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
38773 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
38774 being in POSIX, because they are in 1003.1-2008.
38776 * rt/tst-aio.c: Include <fcntl.h>.
38777 * rt/tst-aio7.c: Likewise.
38778 * rt/tst-aio64.c: Likewise.
38780 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
38782 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38784 * manual/install.texi (--with-headers): Describe headers as
38785 interface headers, not private headers.
38786 (Specific advice for GNU/Linux systems): Describe use of headers
38787 from "make headers_install", not private headers from older
38789 * INSTALL: Regenerated.
38790 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
38792 * sysdeps/unix/sysv/linux/configure: Regenerated.
38794 * manual/llio.texi (fclean): Remove documentation.
38796 * manual/Makefile (libc-texi-generated): New variable. Include
38798 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
38799 $(libc-texi-generated), not duplicated list of files.
38800 (version.texi, stamp-version): New rules.
38801 (realclean): Remove $(libc-texi-generated), not individual files
38802 from that list. Do not remove dir-add.texinfo.
38803 * manual/libc.texinfo: Comment out uses of edition numbers and
38804 references to printed manual. Remove last-updated dates.
38805 (EDITION): Comment out.
38807 (VERSION, UPDATED): Remove.
38808 (version.texi): Include.
38810 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
38812 * sysdeps/posix/spawni.c: Include <signal.h>.
38813 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
38814 * sysdeps/pthread/aio_fsync.c: Likewise.
38816 2012-02-26 Ulrich Drepper <drepper@gmail.com>
38818 * conform/Makefile (tests): Run only when not cross-compiling and
38819 when fast-check is not defined.
38821 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
38822 * conform/data/limits.h-data: Fixes for POSIX2008.
38823 * conform/run-conformtest.sh: Run all tests.
38824 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
38826 * include/bits/dlfcn.h: Likewise.
38827 * include/langinfo.h: Likewise.
38828 * include/monetary.h: Likewise.
38829 * include/sys/poll.h: Likewise.
38831 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
38833 * posix/spawn.h: Define __need_sigset_t.
38834 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
38835 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
38836 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
38837 to get sigevent_t only.
38838 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
38839 only for __USE_GNU.
38840 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38841 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38842 process_vm_writev only for __USE_GNU.
38843 * termios/termios.h: Declare tcgetsid also for POSIX2008.
38845 * conform/Makefile: For now ignore errors from run-conformtest.
38846 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
38847 POSIX to avoid namespace pollution. Don't prepend headers.
38848 * conform/data/aio.h-data: Fixes for POSIX testing.
38849 * conform/data/fcntl.h-data: Likewise.
38850 * conform/data/glob.h-data: Likewise.
38851 * conform/data/grp.h-data: Likewise.
38852 * conform/data/pthread.h-data: Likewise.
38853 * conform/data/pwd.h-data: Likewise.
38854 * conform/data/signal.h-data: Likewise.
38855 * conform/data/spawn.h-data: Likewise.
38856 * conform/data/stdio.h-data: Likewise.
38857 * conform/data/stdlib.h-data: Likewise.
38858 * conform/data/stropts.h-data: Likewise.
38859 * conform/data/sys/mman.h-data: Likewise.
38860 * conform/data/sys/stat.h-data: Likewise.
38861 * conform/data/sys/types.h-data: Likewise.
38862 * conform/data/sys/wait.h-data: Likewise.
38863 * conform/data/time.h-data: Likewise.
38864 * conform/data/unistd.h-data: Likewise.
38865 * conform/data/utime.h-data: Likewise.
38867 * io/sys/stat.h: fchmod was always in POSIX.
38868 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
38869 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
38870 * rt/aio.h: Define __need_timespec before including <time.h>.
38871 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
38872 struct. Add forward declaration of pthread_attr_t and use it in
38874 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38875 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38876 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
38877 always remove CLK_TCK definition.
38879 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
38881 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
38883 2012-02-25 Ulrich Drepper <drepper@gmail.com>
38885 * conform/run-conformtest.sh: New file.
38886 * conform/Makefile: Run run-conformtest for tests.
38887 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
38890 * conform/data/uchar.h-data: New file.
38891 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
38892 * conform/data/arpa/inet.h-data: Likewise.
38893 * conform/data/assert.h-data: Likewise.
38894 * conform/data/complex.h-data: Likewise.
38895 * conform/data/cpio.h-data: Likewise.
38896 * conform/data/ctype.h-data: Likewise.
38897 * conform/data/dirent.h-data: Likewise.
38898 * conform/data/dlfcn.h-data: Likewise.
38899 * conform/data/errno.h-data: Likewise.
38900 * conform/data/fcntl.h-data: Likewise.
38901 * conform/data/float.h-data: Likewise.
38902 * conform/data/fmtmsg.h-data: Likewise.
38903 * conform/data/fnmatch.h-data: Likewise.
38904 * conform/data/ftw.h-data: Likewise.
38905 * conform/data/glob.h-data: Likewise.
38906 * conform/data/grp.h-data: Likewise.
38907 * conform/data/iconv.h-data: Likewise.
38908 * conform/data/inttypes.h-data: Likewise.
38909 * conform/data/langinfo.h-data: Likewise.
38910 * conform/data/libgen.h-data: Likewise.
38911 * conform/data/limits.h-data: Likewise.
38912 * conform/data/locale.h-data: Likewise.
38913 * conform/data/math.h-data: Likewise.
38914 * conform/data/monetary.h-data: Likewise.
38915 * conform/data/mqueue.h-data: Likewise.
38916 * conform/data/ndbm.h-data: Likewise.
38917 * conform/data/net/if.h-data: Likewise.
38918 * conform/data/netdb.h-data: Likewise.
38919 * conform/data/netinet/in.h-data: Likewise.
38920 * conform/data/nl_types.h-data: Likewise.
38921 * conform/data/poll.h-data: Likewise.
38922 * conform/data/pthread.h-data: Likewise.
38923 * conform/data/pwd.h-data: Likewise.
38924 * conform/data/regex.h-data: Likewise.
38925 * conform/data/sched.h-data: Likewise.
38926 * conform/data/search.h-data: Likewise.
38927 * conform/data/semaphore.h-data: Likewise.
38928 * conform/data/setjmp.h-data: Likewise.
38929 * conform/data/signal.h-data: Likewise.
38930 * conform/data/spawn.h-data: Likewise.
38931 * conform/data/stdarg.h-data: Likewise.
38932 * conform/data/stdio.h-data: Likewise.
38933 * conform/data/stdlib.h-data: Likewise.
38934 * conform/data/string.h-data: Likewise.
38935 * conform/data/strings.h-data: Likewise.
38936 * conform/data/stropts.h-data: Likewise.
38937 * conform/data/sys/ipc.h-data: Likewise.
38938 * conform/data/sys/mman.h-data: Likewise.
38939 * conform/data/sys/msg.h-data: Likewise.
38940 * conform/data/sys/resource.h-data: Likewise.
38941 * conform/data/sys/select.h-data: Likewise.
38942 * conform/data/sys/sem.h-data: Likewise.
38943 * conform/data/sys/shm.h-data: Likewise.
38944 * conform/data/sys/socket.h-data: Likewise.
38945 * conform/data/sys/stat.h-data: Likewise.
38946 * conform/data/sys/statvfs.h-data: Likewise.
38947 * conform/data/sys/time.h-data: Likewise.
38948 * conform/data/sys/timeb.h-data: Likewise.
38949 * conform/data/sys/times.h-data: Likewise.
38950 * conform/data/sys/types.h-data: Likewise.
38951 * conform/data/sys/uio.h-data: Likewise.
38952 * conform/data/sys/un.h-data: Likewise.
38953 * conform/data/sys/utsname.h-data: Likewise.
38954 * conform/data/sys/wait.h-data: Likewise.
38955 * conform/data/syslog.h-data: Likewise.
38956 * conform/data/tar.h-data: Likewise.
38957 * conform/data/termios.h-data: Likewise.
38958 * conform/data/utime.h-data: Likewise.
38959 * conform/data/utmpx.h-data: Likewise.
38960 * conform/data/varargs.h-data: Likewise.
38961 * conform/data/wchar.h-data: Likewise.
38962 * conform/data/wctype.h-data: Likewise.
38963 * conform/data/wordexp.h-data: Likewise.
38965 * include/stropts.h: New file.
38966 * include/uchar.h: New file.
38967 * include/aio.h: Changes to allow conformtest.pl to use the headers.
38968 * include/assert.h: Likewise.
38969 * include/ctype.h: Likewise.
38970 * include/dirent.h: Likewise.
38971 * include/dlfcn.h: Likewise.
38972 * include/fcntl.h: Likewise.
38973 * include/fnmatch.h: Likewise.
38974 * include/glob.h: Likewise.
38975 * include/grp.h: Likewise.
38976 * include/libio.h: Likewise.
38977 * include/locale.h: Likewise.
38978 * include/math.h: Likewise.
38979 * include/net/if.h: Likewise.
38980 * include/netdb.h: Likewise.
38981 * include/netinet/in.h: Likewise.
38982 * include/pthread.h: Likewise.
38983 * include/pwd.h: Likewise.
38984 * include/regex.h: Likewise.
38985 * include/sched.h: Likewise.
38986 * include/search.h: Likewise.
38987 * include/setjmp.h: Likewise.
38988 * include/signal.h: Likewise.
38989 * include/stdio.h: Likewise.
38990 * include/stdlib.h: Likewise.
38991 * include/string.h: Likewise.
38992 * include/sys/cdefs.h: Likewise.
38993 * include/sys/mman.h: Likewise.
38994 * include/sys/msg.h: Likewise.
38995 * include/sys/resource.h: Likewise.
38996 * include/sys/select.h: Likewise.
38997 * include/sys/socket.h: Likewise.
38998 * include/sys/stat.h: Likewise.
38999 * include/sys/statvfs.h: Likewise.
39000 * include/sys/time.h: Likewise.
39001 * include/sys/times.h: Likewise.
39002 * include/sys/uio.h: Likewise.
39003 * include/sys/utsname.h: Likewise.
39004 * include/sys/wait.h: Likewise.
39005 * include/termios.h: Likewise.
39006 * include/time.h: Likewise.
39007 * include/ulimit.h: Likewise.
39008 * include/unistd.h: Likewise.
39009 * include/utime.h: Likewise.
39010 * include/wchar.h: Likewise.
39011 * include/wctype.h: Likewise.
39012 * include/wordexp.h: Likewise.
39014 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
39016 * time/time.h: TIME_UTC must be a macro.
39017 Make timespec_get available for ISO C11 only as well.
39019 2012-02-24 Ulrich Drepper <drepper@gmail.com>
39021 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
39022 Reported by Peng Haitao <penght@cn.fujitsu.com>.
39024 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39026 * configure.in: Use -o not -a in test for unsupported multi-arch.
39028 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39030 * manual/texinfo.tex: Update to version 2012-01-19.16.
39032 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39034 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
39036 2012-02-24 Roland McGrath <roland@hack.frob.com>
39039 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
39040 * manual/fdl-1.3.texi: New file.
39041 * manual/fdl-1.1.texi: File removed.
39044 * manual/libc.texinfo (FDL_VERSION): New @set.
39045 Use it for mention of FDL in cover text.
39046 (Documentation License): Use it in @include file name.
39048 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39049 Roland McGrath <roland@hack.frob.com>
39052 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
39053 (not LONG_LONG_MAX and LONG_LONG_MIN.
39054 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
39055 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
39057 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
39059 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39063 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
39064 manipulate bits before adding and subtracting TWO23[sx].
39065 * math/libm-test.inc (nearbyint_test): Add more tests.
39067 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39070 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
39071 bits before adding and subtracting TWO23[sx].
39072 * math/libm-test.inc (rint_test): Add more tests.
39073 (rint_test_tonearest): Likewise.
39074 (rint_test_towardzero): Likewise.
39075 (rint_test_downward): Likewise.
39076 (rint_test_upward: Likewise.
39078 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39081 * include/stdc-predef.h: New file. Extracted from features.h.
39082 * include/features.h: Include stdc-predef.h.
39083 * Makefile (headers): Add stdc-predef.h.
39084 * CONFORMANCE (Compiler limitations): Update.
39086 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39088 * manual/libc.texinfo (VERSION, UPDATED): Revert.
39090 2012-02-21 David S. Miller <davem@davemloft.net>
39092 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
39093 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39095 2012-02-20 David S. Miller <davem@davemloft.net>
39097 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
39098 using a normal save/restore sequence, rather than allocating a
39099 dummy stack frame just to store a frame pointer and restore.
39100 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39102 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39104 * manual/install.texi: Fix stray word in line-wrapped comment.
39106 2012-02-20 David S. Miller <davem@davemloft.net>
39108 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
39109 both binutils and gcc support GOTDATA.
39111 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
39112 "rd %pc" in the PIC register setup sequences.
39114 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
39115 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39116 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39117 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39118 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39119 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39120 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39121 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39122 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
39123 (SYSCALL_ERROR_HANDLER): Likewise.
39124 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39125 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39126 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
39127 (SYSCALL_ERROR_HANDLER): Likewise.
39129 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
39130 (HAVE_GCC_GOTDATA): New.
39131 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
39132 relocation support in both binutils and gcc.
39133 * sysdeps/sparc/elf/configure: Regenerate.
39135 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
39136 * sysdeps/sparc/sparc32/elf/configure: Delete.
39137 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
39138 * sysdeps/sparc/sparc64/elf/configure: Delete.
39139 * sysdeps/sparc/elf/configure.in: New file.
39140 * sysdeps/sparc/elf/configure: Generate.
39142 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
39143 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
39144 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39145 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
39146 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
39148 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39150 * manual/install.texi: Do not mention specific glibc version
39152 * manual/libc.texinfo (VERSION, UPDATED): Update.
39153 (@copying): Use @copyright{} and range of years.
39155 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39158 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
39159 [crti.S not in sysdirs] (generated): Do not append.
39160 [crti.S not in sysdirs] (omit-deps): Likewise.
39161 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
39162 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
39163 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
39164 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
39165 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
39167 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
39168 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
39169 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
39170 * csu/defs.awk: Remove file.
39171 * sysdeps/generic/initfini.c: Likewise.
39172 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
39174 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
39177 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39179 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
39180 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
39181 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
39182 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
39183 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39184 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
39186 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
39187 (__EPOLL_PACKED): Define to empty if not defined by
39189 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
39190 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39193 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39195 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
39196 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
39197 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
39198 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
39200 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
39201 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39204 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39206 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
39208 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39209 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39210 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
39211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39213 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
39215 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39216 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39218 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
39220 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
39221 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
39223 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
39225 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
39228 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
39230 * math/w_acos.c: Use non-signaling floating-point comparisons.
39231 * math/w_acosf.c: Likewise.
39232 * math/w_acosh.c: Likewise.
39233 * math/w_acoshf.c: Likewise.
39234 * math/w_acoshl.c: Likewise.
39235 * math/w_acosl.c: Likewise.
39236 * math/w_asin.c: Likewise.
39237 * math/w_asinf.c: Likewise.
39238 * math/w_asinl.c: Likewise.
39239 * math/w_atanh.c: Likewise.
39240 * math/w_atanhf.c: Likewise.
39241 * math/w_atanhl.c: Likewise.
39242 * math/w_exp2.c: Likewise.
39243 * math/w_exp2f.c: Likewise.
39244 * math/w_exp2l.c: Likewise.
39245 * math/w_j0.c: Likewise.
39246 * math/w_j0f.c: Likewise.
39247 * math/w_j0l.c: Likewise.
39248 * math/w_j1.c: Likewise.
39249 * math/w_j1f.c: Likewise.
39250 * math/w_j1l.c: Likewise.
39251 * math/w_jn.c: Likewise.
39252 * math/w_jnf.c: Likewise.
39253 * math/w_log.c: Likewise.
39254 * math/w_log10.c: Likewise.
39255 * math/w_log10f.c: Likewise.
39256 * math/w_log10l.c: Likewise.
39257 * math/w_log2.c: Likewise.
39258 * math/w_log2f.c: Likewise.
39259 * math/w_log2l.c: Likewise.
39260 * math/w_logf.c: Likewise.
39261 * math/w_logl.c: Likewise.
39262 * math/w_sqrt.c: Likewise.
39263 * math/w_sqrtf.c: Likewise.
39264 * math/w_sqrtl.c: Likewise.
39265 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39266 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
39267 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39268 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39269 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39271 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39274 * manual/string.texi (strnlen): Use correct parameter name in
39275 equivalent expression.
39277 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39280 * manual/users.texi (seteuid): Consistently use neweuid for
39283 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39286 * manual/nss.texi (Services in the NSS configuration): Correct
39287 list of services in example configuration file.
39289 2012-02-19 Nick Bowler <nbowler@draconx.ca>
39292 * manual/arith.texi: Remove statements about negative zero
39293 behaving identically to zero.
39295 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39298 * manual/install.texi: Do not document upgrading from libc5.
39300 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39303 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
39305 2012-02-18 David S. Miller <davem@davemloft.net>
39307 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
39308 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
39309 %o7 across the call.
39310 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
39312 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
39313 SETUP_PIC_REG_LEAF.
39314 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39315 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
39316 * sysdeps/sparc/crtn.S: Likewise.
39318 2012-02-17 Ulrich Drepper <drepper@gmail.com>
39320 * aout/Makefile: Remove.
39322 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
39325 * manual/examples/argp-ex1.c (main): Format definition in GNU
39327 * manual/examples/argp-ex2.c (main): Likewise.
39328 * manual/examples/argp-ex3.c (main): Likewise.
39329 * manual/examples/argp-ex4.c (main): Likewise.
39330 * manual/examples/longopt.c (main): Use new-style prototype
39332 * manual/examples/strncat.c (main): Specify return type and use
39333 (void) for arguments.
39334 * manual/examples/subopt.c (main): Use char **argv argument.
39336 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39339 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
39342 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
39345 * manual/string.texi (strchr): Change when strchrnul is
39348 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
39351 * manual/locale.texi (setlocale): Document LOCPATH.
39353 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39356 * manual/process.texi (execle): Move @dots{} before last argument.
39358 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
39361 * manual/charset.texi (Generic Charset Conversion): Fix typo
39362 (LC_TYPE -> LC_CTYPE).
39364 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
39367 * manual/arith.texi (scalbn): Use @var{} on parameter names.
39368 (scalbnf): Likewise.
39369 (scalbnl): Likewise.
39370 (scalbln): Likewise.
39371 (scalblnf): Likewise.
39372 (scalblnl): Likewise.
39373 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
39374 (vwarnx): Likewise.
39377 * manual/filesys.texi (telldir): Use braces around return type.
39378 * manual/llio.texi (mmap): Add space after comma.
39379 (mmap64): Likewise.
39380 * manual/math.texi (jn): Use @var{} on parameter names.
39386 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
39388 * manual/resource.texi (ulimit): Use @dots{} instead of literal
39390 (sched_get_priority_min): Remove semicolon on @deftypefun line.
39391 (sched_get_priority_max): Likewise.
39392 * manual/signal.texi (sigvec): Add space after comma.
39393 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
39395 (if_indextoname): Likewise.
39396 (if_freenameindex): Likewise.
39397 (sendto): Use ',' instead of '.' in prototype.
39398 * manual/startup.texi (syscall): Use @dots{} instead of literal
39400 * manual/stdio.texi (__fpending): Separate initial words of
39401 paragraph from @deftypefun line.
39402 * manual/syslog.texi (syslog): Use @dots{} instead of literal
39404 (vsyslog): Use @var{} on parameter names.
39405 * manual/terminal.texi (stty): Use @var{} on parameter names.
39406 * manual/users.texi (getutmp): Use @var{} on parameter names.
39407 (getutmpx): Likewise.
39409 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39412 * manual/stdio.texi (fopen): Fix typos in description of
39415 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
39418 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
39419 get clock_id definition.
39421 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
39424 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
39425 (madvise): Cast every argument to void on its own.
39427 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39430 * manual/startup.texi (Exit Status): Fix typo.
39432 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39435 * manual/examples/argp-ex1.c: Include <stdlib.h>.
39436 * manual/examples/argp-ex2.c: Likewise.
39437 * manual/examples/argp-ex3.c: Likewise.
39439 2012-02-16 Richard Henderson <rth@redhat.com>
39441 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
39442 * sysdeps/s390/s390-32/initfini.c: Remove.
39443 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
39444 * sysdeps/s390/s390-64/initfini.c: Remove.
39446 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39448 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
39449 compiler output for sysdeps/generic/initfini.c.
39450 * sysdeps/sh/elf/initfini.c: Remove file.
39452 2012-02-16 David S. Miller <davem@davemloft.net>
39455 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
39457 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
39458 * sysdeps/sparc/crti.S: New file.
39459 * sysdeps/sparc/crtn.S: New file.
39460 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
39461 * sysdeps/sparc/sparc64/Makefile: Likewise.
39463 2012-02-15 Mike Frysinger <vapier@gentoo.org>
39466 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
39468 2012-02-15 Roland McGrath <roland@hack.frob.com>
39471 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
39473 * mach/devstream.c (cookie_io_functions_t): Macro removed.
39474 (write, read, close): Likewise.
39475 Patch by Aurelien Jarno <aurelien@aurel32.net>.
39477 2012-02-15 Joseph Myers <joseph@codesourcery.com>
39479 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
39480 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
39481 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
39482 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
39484 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
39485 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39488 2012-02-14 Marek Polacek <polacek@redhat.com>
39490 * sysdeps/x86_64/crti.S: New file.
39491 * sysdeps/x86_64/crtn.S: New file.
39492 * sysdeps/x86_64/elf/initfini.c: Remove file.
39494 2012-02-13 Joseph Myers <joseph@codesourcery.com>
39496 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
39497 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
39498 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
39499 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
39501 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
39502 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39505 2012-02-13 Joseph Myers <joseph@codesourcery.com>
39507 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
39508 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
39509 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
39510 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
39512 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
39513 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39516 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
39518 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
39519 __feraiseexcept instead of feraiseexcept.
39521 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
39522 nanosleep invocations.
39523 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
39524 strings, and add error checking for a nanosleep invocations.
39526 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
39528 Replace FSF snail mail address with URLs, as per GNU coding standards.
39529 Most of the snail mail addresses were wrong anyway, and omitting
39530 them makes the source code easier to maintain. Almost all of the
39531 changes are to license notices and to locale LC_IDENTIFICATION
39532 addresses, except for this one:
39533 * manual/libc.texinfo: In "Published by", give the FSF's URL,
39534 not its snail mail address.
39536 2012-02-09 Richard Henderson <rth@twiddle.net>
39538 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
39539 of kernel-features.h.
39541 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
39543 2012-02-08 Marek Polacek <polacek@redhat.com>
39545 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
39546 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
39547 * sysdeps/gnu/_G_config.h: Likewise.
39548 * sysdeps/generic/_G_config.h: Likewise.
39550 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
39552 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
39554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39556 * sysdeps/powerpc/powerpc32/crti.S: New file.
39557 * sysdeps/powerpc/powerpc32/crtn.S: New file.
39558 * sysdeps/powerpc/powerpc64/crti.S: New file.
39559 * sysdeps/powerpc/powerpc64/crtn.S: New file.
39561 * Makeconfig (have-initfini): Don't set.
39562 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
39563 * configure.in (nopic_initfini): Don't substitute.
39564 * config.h.in (HAVE_INITFINI): Don't #undef.
39565 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
39566 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
39568 2012-02-08 Joseph Myers <joseph@codesourcery.com>
39570 Support crti.S and crtn.S provided directly by architectures.
39571 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
39572 [crti.S in sysdirs] (omit-deps): Likewise.
39573 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
39574 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
39575 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
39576 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
39577 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
39578 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
39579 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
39580 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
39581 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
39582 compiler output for sysdeps/generic/initfini.c.
39583 * sysdeps/i386/elf/Makefile: Remove file.
39584 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
39586 2012-02-07 Marek Polacek <polacek@redhat.com>
39588 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
39589 * sysdeps/gnu/_G_config.h: Likewise.
39590 * sysdeps/mach/hurd/_G_config.h: Likewise.
39592 2012-02-07 Marek Polacek <polacek@redhat.com>
39594 * math/Makefile (tests): Add tst-CMPLX2.
39595 * math/tst-CMPLX2.c: New file.
39597 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
39599 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39601 * math/libm-test.inc (jn_test): Add missing L suffix.
39603 2012-02-06 Marek Polacek <polacek@redhat.com>
39605 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
39606 * sysdeps/i386/fpu/e_powf.S: Likewise.
39607 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39608 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39609 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39610 * sysdeps/i386/fpu/e_pow.S: Likewise.
39611 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39612 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39613 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39614 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39615 * sysdeps/i386/fpu/e_log2.S: Likewise.
39616 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39617 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39618 * sysdeps/i386/fpu/e_powl.S: Likewise.
39619 * sysdeps/i386/fpu/s_log1p.S: Likewise.
39620 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39621 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39622 * sysdeps/i386/fpu/e_logl.S: Likewise.
39623 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39624 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
39625 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39626 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39627 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39628 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39629 * sysdeps/i386/fpu/e_log.S: Likewise.
39630 * sysdeps/i386/fpu/s_cexp.S: Likewise.
39631 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39632 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
39633 * sysdeps/i386/fpu/e_logf.S: Likewise.
39634 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39635 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39636 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
39637 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39638 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39639 * sysdeps/i386/fpu/e_log10.S: Likewise.
39640 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39641 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39642 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39643 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39644 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39645 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39646 * sysdeps/i386/asm-syntax.h: Likewise.
39647 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39648 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39649 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39650 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
39651 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
39652 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39653 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39654 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39655 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39656 * sysdeps/powerpc/sysdep.h: Likewise.
39657 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
39658 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39660 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39663 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
39665 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39667 * sysdeps/i386/sysdep.h: Include <features.h>.
39668 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
39671 2012-02-05 Joseph Myers <joseph@codesourcery.com>
39673 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
39675 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
39678 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39680 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
39681 (SETUP_PIC_REG): Use GET_PC_THUNK.
39682 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
39685 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39687 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
39688 for non-PIC compilation.
39689 (SETUP_PIC_REG): Add .p2align directive.
39690 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
39691 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39692 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39693 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39694 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39695 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39696 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39697 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39698 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39699 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39700 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39701 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39702 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39703 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39704 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39705 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39706 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39707 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39708 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39709 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39710 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39711 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39712 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39713 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39714 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39715 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39716 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39717 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39718 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39719 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39720 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39721 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39722 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39723 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39724 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39725 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39726 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39727 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39728 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39729 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39730 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39732 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39734 * math/tst-CMPLX.c: Include <stdio.h>.
39736 2012-01-31 Joseph Myers <joseph@codesourcery.com>
39738 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
39740 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39741 * sysdeps/sparc/bits/mathdef.h: Likewise.
39743 2012-01-31 Marek Polacek <polacek@redhat.com>
39745 * libio/libio.h: Don't define _PARAMS.
39746 * locale/programs/config.h: Don't define PARAMS.
39747 * stdlib/strtol_l.c: Likewise.
39748 (__strtol_l): Remove PARAMS from the prototype.
39750 2012-01-31 Ulrich Drepper <drepper@gmail.com>
39752 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
39753 names. Just use the correct names. Remove unnecessary wrapper
39755 * malloc/arena.c: Likewise.
39756 * malloc/hooks.c: Likewise.
39758 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
39759 ARENA_TEST says not to. Simplify test for creation of a new arena.
39760 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
39762 2012-01-30 Ulrich Drepper <drepper@gmail.com>
39764 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
39766 (update_get_addr): New function.
39767 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
39768 GET_ADDR_MODULE parameter.
39770 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39772 * crypt/cert.c: Remove __STDC__ conditionals.
39773 * crypt/crypt-entry.c: Likewise.
39774 * crypt/crypt_util.c: Likewise.
39775 * libio/filedoalloc.c: Likewise.
39776 * libio/fileops.c: Likewise.
39777 * libio/genops.c: Likewise.
39778 * libio/iofclose.c: Likewise.
39779 * libio/iofdopen.c: Likewise.
39780 * libio/iofopen.c: Likewise.
39781 * libio/iofopen64.c: Likewise.
39782 * libio/iogetdelim.c: Likewise.
39783 * libio/iopopen.c: Likewise.
39784 * libio/obprintf.c: Likewise.
39785 * libio/oldfileops.c: Likewise.
39786 * libio/oldiofclose.c: Likewise.
39787 * libio/oldiofdopen.c: Likewise.
39788 * libio/oldiofopen.c: Likewise.
39789 * libio/oldiopopen.c: Likewise.
39790 * libio/wfiledoalloc.c: Likewise.
39791 * libio/wgenops.c: Likewise.
39792 * locale/programs/xmalloc.c: Likewise.
39793 * misc/syslog.c: Likewise.
39794 * stdio-common/xbug.c: Likewise.
39795 * string/memchr.c: Likewise.
39796 * string/memcmp.c: Likewise.
39797 * string/memrchr.c: Likewise.
39798 * string/rawmemchr.c: Likewise.
39799 * sysdeps/posix/getcwd.c: Likewise.
39800 * time/strftime_l.c: Likewise.
39802 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39804 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
39805 * config.make.in (config-cflags-sse2avx): Define.
39806 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
39809 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
39811 * scripts/config.guess: Update from upstream config git repository.
39812 * scripts/config.sub: Likewise.
39814 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
39816 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
39818 (R_TILEPRO_*, R_TILEGX_*): New macros.
39820 * scripts/firstversions.awk: Fix bug in version range handling.
39822 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
39824 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
39826 * include/sys/epoll.h: New file.
39827 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
39830 2012-01-28 Ulrich Drepper <drepper@gmail.com>
39832 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
39833 Avoid unnecessary __WORDSIZE == 64 test.
39834 (fmaxf): Use VEX format if possible.
39839 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
39840 * math/math_private.h: Remove libc_fegetround* and
39842 * sysdeps/i386/configure.in: Check for -msse2avx.
39843 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
39844 also if SSE2AVX is defined.
39845 Remove libc_fegetround* and libc_fesetround*.
39846 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
39847 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
39848 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
39850 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39851 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39852 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39853 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39854 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39856 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
39858 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39860 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
39862 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39864 2012-01-27 Ulrich Drepper <drepper@gmail.com>
39867 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
39869 * Makeconfig (libm): Define.
39870 * elf/Makefile: Add rules to build and run tst-relsort1.
39871 * elf/tst-relsort1.c: New file.
39872 * elf/tst-relsort1mod1.c: New file.
39873 * elf/tst-relsort1mod2.c: New file.
39875 2012-01-27 Joseph Myers <joseph@codesourcery.com>
39877 * math/s_ldexp.c: Remove __STDC__ conditionals.
39878 * math/s_ldexpf.c: Likewise.
39879 * math/s_ldexpl.c: Likewise.
39880 * math/s_nextafter.c: Likewise.
39881 * math/s_nexttowardf.c: Likewise.
39882 * math/s_significand.c: Likewise.
39883 * math/s_significandf.c: Likewise.
39884 * math/s_significandl.c: Likewise.
39885 * math/w_jnl.c: Likewise.
39886 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39887 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39888 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39889 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39890 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39891 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39892 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
39893 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39894 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39895 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39896 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39897 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39898 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39899 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39900 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39901 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39902 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39903 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39904 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39905 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39906 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39907 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39908 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39909 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39910 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39911 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39912 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39913 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39914 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39915 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39916 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39917 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39918 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39919 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39920 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39921 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39922 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39923 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39924 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39925 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39926 * sysdeps/ieee754/k_standard.c: Likewise.
39927 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39928 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39929 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39930 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39931 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39932 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39933 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39934 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39935 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39936 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39937 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39938 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39939 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39940 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39941 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39942 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39943 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39944 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39945 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39946 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39947 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39948 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39949 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39950 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39951 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39952 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39953 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39954 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39955 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39956 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39957 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39958 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
39959 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39960 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39961 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39962 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39963 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
39964 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39965 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39966 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
39967 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
39968 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39969 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39970 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
39971 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39972 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39973 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39974 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39975 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39976 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39977 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
39978 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39979 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39980 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39981 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39982 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39983 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
39984 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39985 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39986 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39987 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39988 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39989 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39990 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39991 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39992 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39993 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39994 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39995 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39996 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39997 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39998 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39999 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40000 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40001 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40002 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40003 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40004 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40005 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40006 * sysdeps/ieee754/s_matherr.c: Likewise.
40007 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40008 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40009 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40010 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40012 2012-01-26 Joseph Myers <joseph@codesourcery.com>
40014 * crypt/md5.h: Remove __STDC__ conditionals.
40015 * libio/libioP.h: Likewise.
40016 * locale/programs/config.h: Likewise.
40017 * sysdeps/generic/sysdep.h: Likewise.
40018 * sysdeps/i386/asm-syntax.h: Likewise.
40019 * sysdeps/s390/asm-syntax.h: Likewise.
40020 * sysdeps/unix/sysdep.h: Likewise.
40021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40024 2012-01-26 Joseph Myers <joseph@codesourcery.com>
40026 * libio/libio.h: Remove __STDC__ conditionals.
40027 * malloc/obstack.h: Likewise.
40028 * math/complex.h: Likewise.
40029 * math/math.h: Likewise.
40030 * sysdeps/generic/_G_config.h: Likewise.
40031 * sysdeps/gnu/_G_config.h: Likewise.
40032 * sysdeps/mach/hurd/_G_config.h: Likewise.
40033 * sysdeps/powerpc/bits/mathdef.h: Likewise.
40034 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40035 * sysdeps/sparc/bits/mathdef.h: Likewise.
40037 2012-01-26 Ulrich Drepper <drepper@gmail.com>
40040 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
40041 Clean up HAS_* macros.
40042 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
40043 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
40045 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
40047 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40048 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40049 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40050 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40051 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40053 2012-01-25 Joseph Myers <joseph@codesourcery.com>
40055 * elf/tst-unique3.cc (gets): Remove declaration.
40056 * elf/tst-unique3lib.cc (gets): Likewise.
40057 * elf/tst-unique3lib2.cc (gets): Likewise.
40058 * elf/tst-unique4.cc (gets): Likewise.
40060 2012-01-24 Ulrich Drepper <drepper@gmail.com>
40062 * include/stdio.h: Add C++ protection. Add gets declarations and
40064 * debug/tst-chk1.c: Don't declare gets here.
40065 * stdio-common/tst-gets.c: Likewise.
40067 2012-01-24 Joseph Myers <joseph@codesourcery.com>
40069 * posix/glob: Remove directory.
40071 2012-01-24 Joseph Myers <joseph@codesourcery.com>
40073 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
40075 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
40077 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
40078 of the non-standard EPFNOSUPPORT.
40080 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
40082 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
40083 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
40084 ANYWHERE set to 1 only on KERN_NO_SPACE error.
40086 2012-01-21 Ulrich Drepper <drepper@gmail.com>
40088 * wcsmbs/uchar.h: Test __STDC_VERSION__.
40090 2012-01-20 Ulrich Drepper <drepper@gmail.com>
40092 * nscd/aicache.c (addhstaiX): Do not cache negative results of
40094 * nscd/grpcache.c (cache_addgr): Likewise.
40095 * nscd/hstcache.c (cache_addhst): Likewise.
40096 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40097 * nscd/pwdcache.c (cache_addpw): Likewise.
40098 * nscd/servicescache.c (cache_addserv): Likewise.
40100 2012-01-16 Ulrich Drepper <drepper@gmail.com>
40102 * malloc/malloc.c: Various cleanups.
40103 * malloc/hooks.c: Likewise.
40105 * stdlib/Makefile (tests): Add bug-fmtmsg1.
40106 * stdlib/bug-fmtmsg1.c: New file.
40108 * stdlib/fmtmsg.c (init): Add missing unlock.
40109 Patch by Peng Haitao <penght@cn.fujitsu.com>.
40111 2012-01-12 Marek Polacek <polacek@redhat.com>
40113 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
40116 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40118 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
40119 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
40120 macro to ensure uniqueness of label name.
40121 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40122 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40124 2012-01-11 Ulrich Drepper <drepper@gmail.com>
40126 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
40128 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
40129 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40130 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40131 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
40133 2012-01-10 Ulrich Drepper <drepper@gmail.com>
40135 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
40137 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
40138 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40139 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40141 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
40143 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
40144 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40145 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40146 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
40148 * math/bits/math-finite.h: Add ldexp support.
40150 2012-01-10 Marek Polacek <polacek@redhat.com>
40152 * locale/programs/localedef.h (show_archive_content): Add noreturn
40155 2012-01-09 Ulrich Drepper <drepper@gmail.com>
40157 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
40159 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40161 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
40163 * io/Makefile (headers): Add bits/poll2.h.
40165 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
40167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
40168 typo #include statement.
40170 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40172 * include/sys/cdefs.h: Define __attribute_alloc_size.
40173 * catgets/gencat.c: Add alloc_size attribute and apply consistently
40174 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
40175 * elf/pldd.c: Likewise.
40176 * iconv/iconv_charmap.c: Likewise.
40177 * iconv/iconvconfig.c: Likewise.
40178 * iconv/strtab.c: Likewise.
40179 * locale/programs/locale.c: Likewise.
40180 * locale/programs/localedef.h: Likewise.
40181 * locale/programs/simple-hash.c: Likewise.
40182 * nscd/nscd.h: Likewise.
40183 * nss/makedb.c: Likewise.
40184 * sysdeps/generic/ldconfig.h: Likewise.
40185 * locale/programs/localedef.c: Remove xmalloc prototype.
40186 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
40188 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40190 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
40193 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40195 * math/Makefile (tests): Add tst-CMPLX.
40196 * math/tst-CMPLX.c: New file.
40198 * math/complex.h (CMPLXL): Fix typo.
40200 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
40201 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
40203 * debug/tst-chk1.c: Add poll and ppoll tests.
40204 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
40205 * include/sys/poll.h: Add hidden proto for ppoll.
40206 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
40207 * sysdeps/mach/hurd/ppoll.c: Likewise.
40208 * io/ppoll.c: Likewise.
40209 * debug/poll_chk.c: New file.
40210 * debug/ppoll_chk.c: New file.
40211 * include/bits/poll2.h: New file.
40212 * io/bits/poll2.h: New file.
40215 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
40217 * configure.in: static is always set to yes. Remove.
40218 * config.make.in: Don't set build-static.
40219 * Makeconfig: Remove use of build-static.
40220 * dlfcn/Makefile: Likewise.
40221 * elf/Makefile: Likewise.
40222 * math/Makefile: Likewise.
40223 * misc/Makefile: Likewise.
40224 * nptl/Makefile: Likewise.
40225 * sysdeps/mach/hurd/Makefile: Likewise.
40227 * configure.in: PWD_P is not used anymore.
40228 * config.make.in: Remove PWD_P entry.
40230 * configure.in: Remove last remnants of RANLIB.
40231 No need to check for signed size_t anymore.
40232 Don't set libc_commonpagesize and libc_relro_required here for Alpha
40234 Remove __builtin_expect test because we require at least gcc 3.4.
40235 * aclocal.m4: Likewise.
40237 * wcsmbs/mbrtoc16.c: Implement using towc function.
40238 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
40239 * wcsmbs/wcsmbsload.c: Likewise.
40240 * iconv/gconv_simple.c: Likewise.
40241 * iconv/gconv_int.h: Likewise.
40242 * iconv/gconv_builtin.h: Likewise.
40243 * iconv/iconv_prog.c: Remove CHAR16 handling.
40245 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
40247 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
40249 * configure.in: Remove --with-elf and --enable-bounded options.
40250 Dont set base_machine for ia64. More non-ELF conditions removed.
40251 Remove testing and setting of leading underscore information.
40252 * config.make.in (build-bounded): Set to no.
40253 * config.h.in: Remove NO_UNDERSCORES entry.
40254 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
40256 * csu/start.c: Remove !NO_UNDERSCORE code.
40257 * locale/localeinfo.h: Likewise.
40258 * sysdeps/generic/machine-gmon.h: Likewise.
40259 * sysdeps/generic/sysdep.h: Likewise.
40260 * sysdeps/i386/sysdep.h: Likewise.
40261 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40262 * sysdeps/mach/sysdep.h: Likewise.
40263 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40264 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40265 * sysdeps/sh/sysdep.h: Likewise.
40266 * sysdeps/sparc/sparc32/alloca.S: Likewise.
40267 * sysdeps/unix/i386/sysdep.S: Likewise.
40268 * sysdeps/unix/sparc/start.c: Likewise.
40269 * sysdeps/unix/sparc/sysdep.S: Likewise.
40270 * sysdeps/unix/sparc/sysdep.h: Likewise.
40271 * sysdeps/unix/start.c: Likewise.
40272 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40273 * sysdeps/x86_64/sysdep.h: Likewise.
40275 2012-01-07 Ulrich Drepper <drepper@gmail.com>
40278 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
40280 * argp/argp-fmtstream.h: Use const instead __const.
40281 * argp/argp.h: Likewise.
40282 * assert/assert.h: Likewise.
40283 * bits/fenv.h: Likewise.
40284 * bits/sched.h: Likewise.
40285 * bits/sigset.h: Likewise.
40286 * bits/sigthread.h: Likewise.
40287 * catgets/nl_types.h: Likewise.
40288 * conform/data/pthread.h-data: Likewise.
40289 * crypt/crypt-private.h: Likewise.
40290 * crypt/crypt.h: Likewise.
40291 * crypt/crypt_util.c: Likewise.
40292 * ctype/ctype.h: Likewise.
40293 * debug/execinfo.h: Likewise.
40294 * debug/mbsnrtowcs_chk.c: Likewise.
40295 * debug/mbsrtowcs_chk.c: Likewise.
40296 * debug/wcsnrtombs_chk.c: Likewise.
40297 * debug/wcsrtombs_chk.c: Likewise.
40298 * debug/wcstombs_chk.c: Likewise.
40299 * dirent/dirent.h: Likewise.
40300 * dlfcn/dlfcn.h: Likewise.
40301 * elf/neededtest4.c: Likewise.
40302 * grp/grp.h: Likewise.
40303 * gshadow/gshadow.h: Likewise.
40304 * iconv/gconv.h: Likewise.
40305 * iconv/gconv_int.h: Likewise.
40306 * iconv/gconv_simple.c: Likewise.
40307 * iconv/iconv.h: Likewise.
40308 * iconv/loop.c: Likewise.
40309 * iconv/skeleton.c: Likewise.
40310 * include/aio.h: Likewise.
40311 * include/aliases.h: Likewise.
40312 * include/argz.h: Likewise.
40313 * include/arpa/inet.h: Likewise.
40314 * include/assert.h: Likewise.
40315 * include/dirent.h: Likewise.
40316 * include/dlfcn.h: Likewise.
40317 * include/execinfo.h: Likewise.
40318 * include/fcntl.h: Likewise.
40319 * include/fenv.h: Likewise.
40320 * include/glob.h: Likewise.
40321 * include/grp.h: Likewise.
40322 * include/libintl.h: Likewise.
40323 * include/mntent.h: Likewise.
40324 * include/netdb.h: Likewise.
40325 * include/pwd.h: Likewise.
40326 * include/rpc/netdb.h: Likewise.
40327 * include/sched.h: Likewise.
40328 * include/search.h: Likewise.
40329 * include/shadow.h: Likewise.
40330 * include/signal.h: Likewise.
40331 * include/stdio.h: Likewise.
40332 * include/stdlib.h: Likewise.
40333 * include/string.h: Likewise.
40334 * include/sys/socket.h: Likewise.
40335 * include/sys/stat.h: Likewise.
40336 * include/sys/statfs.h: Likewise.
40337 * include/sys/statvfs.h: Likewise.
40338 * include/sys/syslog.h: Likewise.
40339 * include/sys/time.h: Likewise.
40340 * include/sys/uio.h: Likewise.
40341 * include/time.h: Likewise.
40342 * include/unistd.h: Likewise.
40343 * include/utmp.h: Likewise.
40344 * include/wchar.h: Likewise.
40345 * include/wctype.h: Likewise.
40346 * inet/aliases.h: Likewise.
40347 * inet/arpa/inet.h: Likewise.
40348 * inet/netinet/ether.h: Likewise.
40349 * inet/netinet/in.h: Likewise.
40350 * intl/libintl.h: Likewise.
40351 * io/bits/fcntl2.h: Likewise.
40352 * io/fcntl.h: Likewise.
40353 * io/ftw.h: Likewise.
40354 * io/sys/poll.h: Likewise.
40355 * io/sys/stat.h: Likewise.
40356 * io/sys/statfs.h: Likewise.
40357 * io/sys/statvfs.h: Likewise.
40358 * io/utime.h: Likewise.
40359 * libio/bits/stdio.h: Likewise.
40360 * libio/bits/stdio2.h: Likewise.
40361 * libio/libio.h: Likewise.
40362 * libio/libioP.h: Likewise.
40363 * libio/stdio.h: Likewise.
40364 * locale/lc-ctype.c: Likewise.
40365 * locale/locale.h: Likewise.
40366 * login/utmp.h: Likewise.
40367 * malloc/arena.c: Likewise.
40368 * malloc/malloc.c: Likewise.
40369 * malloc/malloc.h: Likewise.
40370 * malloc/mcheck.c: Likewise.
40371 * malloc/mtrace.c: Likewise.
40372 * math/bits/mathcalls.h: Likewise.
40373 * math/fenv.h: Likewise.
40374 * math/math_private.h: Likewise.
40375 * misc/bits/error.h: Likewise.
40376 * misc/bits/syslog.h: Likewise.
40377 * misc/err.h: Likewise.
40378 * misc/error.h: Likewise.
40379 * misc/fstab.h: Likewise.
40380 * misc/mntent.h: Likewise.
40381 * misc/regexp.h: Likewise.
40382 * misc/search.h: Likewise.
40383 * misc/sgtty.h: Likewise.
40384 * misc/sys/mman.h: Likewise.
40385 * misc/sys/syslog.h: Likewise.
40386 * misc/sys/uio.h: Likewise.
40387 * misc/sys/xattr.h: Likewise.
40388 * misc/ttyent.h: Likewise.
40389 * nis/rpcsvc/ypclnt.h: Likewise.
40390 * nss/nss.h: Likewise.
40391 * posix/bits/unistd.h: Likewise.
40392 * posix/fnmatch.h: Likewise.
40393 * posix/glob.h: Likewise.
40394 * posix/sched.h: Likewise.
40395 * posix/spawn.h: Likewise.
40396 * posix/sys/wait.h: Likewise.
40397 * posix/unistd.h: Likewise.
40398 * posix/wordexp.h: Likewise.
40399 * pwd/pwd.h: Likewise.
40400 * resolv/netdb.h: Likewise.
40401 * resource/sys/resource.h: Likewise.
40402 * rt/aio.h: Likewise.
40403 * rt/bits/mqueue2.h: Likewise.
40404 * rt/mqueue.h: Likewise.
40405 * shadow/shadow.h: Likewise.
40406 * signal/signal.h: Likewise.
40407 * socket/send.c: Likewise.
40408 * socket/sendto.c: Likewise.
40409 * socket/sys/socket.h: Likewise.
40410 * stdio-common/printf.h: Likewise.
40411 * stdlib/bits/stdlib.h: Likewise.
40412 * stdlib/fmtmsg.h: Likewise.
40413 * stdlib/monetary.h: Likewise.
40414 * stdlib/stdlib.h: Likewise.
40415 * stdlib/ucontext.h: Likewise.
40416 * streams/stropts.h: Likewise.
40417 * string/argz.h: Likewise.
40418 * string/bits/string2.h: Likewise.
40419 * string/string.h: Likewise.
40420 * string/strings.h: Likewise.
40421 * sunrpc/rpc/auth.h: Likewise.
40422 * sunrpc/rpc/auth_des.h: Likewise.
40423 * sunrpc/rpc/clnt.h: Likewise.
40424 * sunrpc/rpc/netdb.h: Likewise.
40425 * sunrpc/rpc/pmap_clnt.h: Likewise.
40426 * sunrpc/rpc/xdr.h: Likewise.
40427 * sysdeps/generic/inttypes.h: Likewise.
40428 * sysdeps/generic/net/if.h: Likewise.
40429 * sysdeps/generic/sys/swap.h: Likewise.
40430 * sysdeps/gnu/net/if.h: Likewise.
40431 * sysdeps/gnu/utmpx.h: Likewise.
40432 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
40433 * sysdeps/i386/i486/bits/string.h: Likewise.
40434 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
40435 * sysdeps/s390/bits/string.h: Likewise.
40436 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
40437 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
40438 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
40439 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
40440 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
40441 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
40442 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
40443 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
40444 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
40445 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
40446 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
40447 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
40448 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
40449 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
40450 * sysdeps/unix/sysv/linux/readv.c: Likewise.
40451 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
40452 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40453 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40454 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
40455 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
40456 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40457 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
40458 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
40459 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
40460 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
40461 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
40462 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
40463 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40464 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
40465 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
40466 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
40467 * sysvipc/sys/ipc.h: Likewise.
40468 * sysvipc/sys/msg.h: Likewise.
40469 * sysvipc/sys/sem.h: Likewise.
40470 * sysvipc/sys/shm.h: Likewise.
40471 * termios/termios.h: Likewise.
40472 * time/sys/time.h: Likewise.
40473 * time/time.h: Likewise.
40474 * wcsmbs/bits/wchar2.h: Likewise.
40475 * wcsmbs/uchar.h: Likewise.
40476 * wcsmbs/wchar.h: Likewise.
40477 * wctype/wctype.h: Likewise.
40480 * Makeconfig: Remove all but ELF support including AIX support.
40481 * Makerules: Likewise.
40482 * config.h.in: Likewise.
40483 * config.make.in: Likewise.
40484 * configure: Likewise.
40485 * configure.in: Likewise.
40486 * csu/Makefile: Likewise.
40487 * csu/version.c: Likewise.
40488 * debug/Makefile: Likewise.
40489 * dlfcn/Makefile: Likewise.
40490 * elf/Makefile: Likewise.
40491 * extra-lib.mk: Likewise.
40492 * iconv/Makefile: Likewise.
40493 * include/libc-symbols.h: Likewise.
40494 * include/shlib-compat.h: Likewise.
40495 * resolv/Makefile: Likewise.
40496 * resolv/res_libc.c: Likewise.
40497 * rt/Makefile: Likewise.
40498 * sysdeps/i386/asm-syntax.h: Likewise.
40499 * sysdeps/i386/sysdep.h: Likewise.
40500 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40501 * sysdeps/mach/sysdep.h: Likewise.
40502 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
40503 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
40504 * sysdeps/s390/asm-syntax.h: Likewise.
40505 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40506 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40507 * sysdeps/sh/sysdep.h: Likewise.
40508 * sysdeps/unix/sparc/sysdep.h: Likewise.
40509 * sysdeps/wordsize-32/divdi3.c: Likewise.
40510 * sysdeps/x86_64/sysdep.h: Likewise.
40512 * argp/Versions: Remove _argp_unlock_xxx.
40515 * abilist/ld.abilist: Update. Adjust for removal of tls option.
40516 * abilist/libBrokenLocale.abilist: Likewise.
40517 * abilist/libanl.abilist: Likewise.
40518 * abilist/libc.abilist: Likewise.
40519 * abilist/libcrypt.abilist: Likewise.
40520 * abilist/libdl.abilist: Likewise.
40521 * abilist/libm.abilist: Likewise.
40522 * abilist/libnsl.abilist: Likewise.
40523 * abilist/libpthread.abilist: Likewise.
40524 * abilist/libresolv.abilist: Likewise.
40525 * abilist/librt.abilist: Likewise.
40526 * abilist/libthread_db.abilist: Likewise.
40527 * abilist/libutil.abilist: Likewise.
40528 * abilist/libnss_db.abilist: New file.
40530 * scripts/abilist.awk: Add support for indirect functions.
40532 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
40534 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
40536 * shlib-versions: Remove entries for ports architectures.
40538 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
40540 * elf/stackguard-macros.h: Remove support for IA-64.
40541 * elf/tst-auditmod1.c: Likewise.
40542 * sysdeps/generic/ldsodefs.h: Likewise.
40544 * sysdeps/unix/sysv/linux/configure.in: Ports should define
40545 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
40549 * configure.in: Remove --enable-omitfp support.
40551 * config.make.in: Likewise.
40552 * Makeconfig: Likewise.
40553 * manual/install.texi: Likewise.
40555 In case anyone cares, the IA-64 architecture could move to ports.
40556 * sysdeps/ia64/*: Removed.
40557 * sysdeps/unix/sysv/linux/ia64/*: Removed.
40558 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
40561 * configure.in: Remove entries for unsupported architectures.
40564 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
40565 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
40567 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
40568 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
40569 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
40570 fall back to using wcrtomb.
40571 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
40572 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
40574 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
40575 * wcsmbs/tst-c16c32-1.c: New file.
40577 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
40580 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
40582 * elf/tst-unique3.cc: Add explicit declaration of gets.
40583 * elf/tst-unique3lib.cc: Likewise.
40584 * elf/tst-unique3lib2.cc: Likewise.
40585 * elf/tst-unique4.cc: Likewise.
40587 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
40589 2012-01-06 Joseph Myers <joseph@codesourcery.com>
40592 * assert/assert.h (static_assert): Don't define for C++.
40593 * libio/stdio.h (gets): Do declare for C++ <= C++11.
40594 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
40596 2012-01-03 Ulrich Drepper <drepper@gmail.com>
40598 * iconv/loop.c (single loop): Fix assertion in storing of
40601 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
40603 2012-01-01 Ulrich Drepper <drepper@gmail.com>
40605 * posix/getconf.c: Update copyright year.
40606 * nss/getent.c: Likewise.
40607 * nss/makedb.c: Likewise.
40608 * iconv/iconvconfig.c: Likewise.
40609 * iconv/iconv_prog.c: Likewise.
40610 * elf/ldconfig.c: Likewise.
40611 * elf/pldd.c: Likewise.
40612 * elf/sotruss.ksh: Likewise.
40613 * catgets/gencat.c: Likewise.
40614 * csu/version.c: Likewise.
40615 * elf/ldd.bash.in: Likewise.
40616 * elf/sprof.c (print_version): Likewise.
40617 * locale/programs/locale.c: Likewise.
40618 * locale/programs/localedef.c: Likewise.
40619 * login/programs/pt_chown.c: Likewise.
40620 * nscd/nscd.c (print_version): Likewise.
40621 * debug/xtrace.sh: Likewise.
40622 * malloc/memusage.sh: Likewise.
40623 * malloc/mtrace.pl: Likewise.
40624 * debug/catchsegv.sh: Likewise.
40626 2011-12-30 Jakub Jelinek <jakub@redhat.com>
40628 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
40631 2011-12-24 Ulrich Drepper <drepper@gmail.com>
40634 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
40635 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
40637 * iconv/gconv_int.h: Likewise.
40638 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
40639 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
40640 from libc for GLIBC_2.16.
40641 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
40642 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
40643 * wcsmbs/uchar.h: Really define mbstate_t.
40644 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
40645 * wcsmbs/c16rtomb.c: New file.
40646 * wcsmbs/mbrtoc16.c: New file.
40647 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
40648 for C/POSIX locale.
40649 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
40650 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
40652 * wcsmbs/wchar.h: Add missing __restrict.
40654 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40657 * time/Makefile (routines): Add timespec_get.
40658 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
40659 * time/time.h: Define TIME_UTC and declare timespec_get. Define
40660 timespec for ISO C11.
40661 * time/timespec_get.c: New file.
40662 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
40663 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
40666 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
40667 * stdlib/stdlib.h: Declare aligned_alloc.
40668 * Versions.def: Add GLIBC_2.16 for libc.
40669 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
40672 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
40675 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
40679 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
40682 * assert/assert.h (static_assert): Define.
40684 * version.h: Update for 2.16 development version.
40687 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
40690 * version.h (RELEASE): Bump for 2.15 release.
40691 * include/features.h (__GLIBC_MINOR__): Bump to 15.
40693 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
40694 Patch by Marek Polacek <mpolacek@redhat.com>.
40696 * bits/byteswap.h: Protect long long constants with __extension__.
40697 * sysdeps/i386/bits/byteswap.h: Likewise.
40698 * sysdeps/ia64/bits/byteswap.h: Likewise.
40699 * sysdeps/s390/bits/byteswap.h: Likewise.
40700 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40702 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40705 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
40706 destination buffer.
40707 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40709 2011-12-23 Marek Polacek <polacek@redhat.com>
40711 * elf/dl-addr.c (determine_info): Add inline keyword.
40712 * elf/tst-auditmod4b.c (check_avx): Likewise.
40713 * elf/tst-auditmod6b.c (check_avx): Likewise.
40714 * elf/tst-auditmod6c.c (check_avx): Likewise.
40715 * elf/tst-auditmod7b.c (check_avx): Likewise.
40717 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40719 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
40722 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40725 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
40726 processing for last bytes.
40728 2011-08-06 Bruno Haible <bruno@clisp.org>
40731 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
40732 U+0385, not to U+1FEE.
40735 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
40736 entry for U+00A5 U+0301.
40738 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40741 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
40742 buffer for the output is too small.
40744 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
40748 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
40749 SSE flags if possible.
40751 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40754 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
40755 processing for last bytes.
40757 2011-12-22 Joseph Myers <joseph@codesourcery.com>
40759 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
40760 (syscall-list-default-options, syscall-list-default-condition)
40761 (syscall-list-includes): Define.
40762 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
40763 list of ABIs and options and #if conditions for each ABI. Do not
40764 handle common syscalls between ABIs specially.
40765 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
40767 (syscall-list-variants, syscall-list-32bit-options)
40768 (syscall-list-32bit-condition, syscall-list-64bit-options)
40769 (syscall-list-64bit-condition): Define.
40770 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
40771 (syscall-list-variants, syscall-list-32bit-options)
40772 (syscall-list-32bit-condition, syscall-list-64bit-options)
40773 (syscall-list-64bit-condition): Define.
40774 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
40776 (syscall-list-variants, syscall-list-32bit-options)
40777 (syscall-list-32bit-condition, syscall-list-64bit-options)
40778 (syscall-list-64bit-condition): Define.
40779 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
40781 (syscall-list-variants, syscall-list-32bit-options)
40782 (syscall-list-32bit-condition, syscall-list-64bit-options)
40783 (syscall-list-64bit-condition): Define.
40785 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40787 * locale/iso-639.def: Add brx entry.
40790 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
40791 Proposed by Mariusz_Cukr <marcukr@op.pl>.
40793 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
40794 __feraiseexcept_renamed.
40796 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40799 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
40800 EPOLLET with unsigned values.
40801 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40802 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40804 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
40805 to large cancellation.
40806 * math/s_cacoshf.c: Likewise.
40807 * math/s_cacoshl.c: Likewise.
40809 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
40813 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
40814 * math/s_cacoshf.c: Likewise.
40815 * math/s_cacoshl.c: Likewise.
40817 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40820 * iconv/gconv.h: Define __GCONV_SWAP.
40821 * iconvdata/unicode.c: The swap bit must be stored in __flags.
40822 * iconvdata/utf-16.c: Likewise.
40823 * iconvdata/utf-32.c: Likewise.
40825 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
40828 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
40829 numerator after shifting it by one limb.
40831 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
40833 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
40834 under [__USE_EXTERN_INLINES].
40836 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40839 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
40841 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40843 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
40844 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
40846 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
40847 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
40848 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
40849 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
40850 for strncasecmp/strncasecmp_l compilation.
40851 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
40852 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
40854 2011-12-08 Marek Polacek <mpolacek@redhat.com>
40857 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
40860 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40863 * time/tzfile.c (__tzfile_read): Check values from file header.
40865 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
40867 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
40868 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
40869 * powerpc/powerpc32/dl-start.S: Likewise.
40870 * powerpc/powerpc32/elf/start.S: Likewise.
40871 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40872 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
40873 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
40874 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
40875 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40876 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
40877 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
40878 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
40879 * powerpc/powerpc32/fpu/s_round.S: Likewise.
40880 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40881 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40882 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40883 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40884 * powerpc/powerpc32/memset.S: Likewise.
40885 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40886 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40887 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40888 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40889 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40890 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40891 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40892 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40893 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
40894 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
40895 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
40896 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40897 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40899 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40901 * math/libm-test.inc: Added more nearbyint tests.
40902 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
40903 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
40904 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
40905 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
40907 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
40909 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
40912 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40914 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
40915 Add wcscpy-ssse3 wcscpy-c.
40916 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
40917 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
40918 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
40919 * sysdeps/x86_64/wcschr.S: New file.
40920 * sysdeps/x86_64/wcsrchr.S: New file.
40921 * string/test-strcmp.c: Remove checking of wcscmp function for
40923 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
40924 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
40925 wcsrchr-sse2 wcsrchr-c.
40926 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
40927 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
40928 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
40929 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
40930 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
40931 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
40932 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
40933 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
40934 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
40935 * wcsmbc/wcschr.c (WCSCHR): New macro.
40937 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40939 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
40940 * wcsmbs/test-wcsrchr.c: New file.
40941 * string/test-strrchr.c: Add wcsrchr support.
40943 * wcsmbs/test-wcscpy.c: New file.
40944 * string/test-strcpy.c: Add wcscpy support.
40947 2011-12-10 Ulrich Drepper <drepper@gmail.com>
40949 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
40952 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
40955 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
40957 2011-12-04 Ulrich Drepper <drepper@gmail.com>
40959 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
40960 Minor optimizations.
40962 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
40963 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
40964 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
40966 2011-12-03 Ulrich Drepper <drepper@gmail.com>
40968 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
40969 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
40970 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
40971 for gcc to avoid warnings.
40972 * inet/Makefile (tests): Add tst-checks.
40973 * inet/tst-checks.c: New file.
40975 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
40978 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
40981 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
40982 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
40984 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
40986 2011-12-02 Ulrich Drepper <drepper@gmail.com>
40988 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
40991 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
40993 2011-11-29 Joseph Myers <joseph@codesourcery.com>
40995 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
40996 conditional on GCC version.
40997 (__arch_compare_and_exchange_val_8_acq)
40998 (__arch_compare_and_exchange_val_16_acq)
40999 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
41000 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
41001 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
41003 2011-12-02 Joseph Myers <joseph@codesourcery.com>
41005 * sysdeps/sh/backtrace.c: New file.
41007 2011-12-02 Andreas Schwab <schwab@redhat.com>
41009 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
41012 2011-12-01 Andreas Schwab <schwab@redhat.com>
41014 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
41015 falling back to utime.
41017 2011-11-30 Andreas Schwab <schwab@redhat.com>
41019 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
41020 expectations for float.
41022 2011-11-29 Andreas Schwab <schwab@redhat.com>
41024 * locale/weight.h (findidx): Add parameter len.
41025 * locale/weightwc.h (findidx): Likewise.
41026 * posix/fnmatch_loop.c (FCT): Adjust caller.
41027 * posix/regcomp.c (build_equiv_class): Likewise.
41028 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
41029 * posix/regexec.c (check_node_accept_bytes): Likewise.
41030 * string/strcoll_l.c (STRCOLL): Likewise.
41031 * string/strxfrm_l.c (STRXFRM): Likewise.
41033 2011-11-17 Ulrich Drepper <drepper@gmail.com>
41035 * Makefile.in: Remove CVSOPT handling.
41036 * configure.in: Remove use of AC_REVISION.
41037 * iconvdata/Makefile (distribute): No need to filter out CVS.
41038 * scripts/list-sources.sh: Remove CVS, subversion and monotone
41041 2011-11-16 Andreas Schwab <schwab@redhat.com>
41043 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
41044 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
41045 [USE_AS_STRNCASECMP_L]: Likewise.
41046 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
41047 NO_TLS_DIRECT_SEG_REFS.
41048 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
41049 Fix argument offsets for non-PIC.
41050 [USE_AS_STRNCASECMP_L]: Likewise.
41051 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
41052 NO_TLS_DIRECT_SEG_REFS.
41054 2011-11-15 Ulrich Drepper <drepper@gmail.com>
41056 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
41058 * locale/loadlocale.c (_nl_load_locale): Likewise.
41060 2011-11-15 Andreas Schwab <schwab@redhat.com>
41062 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
41063 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
41064 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
41065 (SYSCALL_GETTIME): Set errno on error.
41067 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
41068 count references to noai6ai_cached.
41070 2011-11-15 Ulrich Drepper <drepper@gmail.com>
41072 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
41074 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
41075 FD_CLOEXEC for /proc/self/maps.
41077 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
41078 FD_CLOEXEC for /proc/meminfo.
41080 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
41083 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
41084 FD_CLOEXEC for given file.
41086 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
41088 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
41089 FD_CLOEXEC for /etc/hosts.
41090 (_gethtent): Likewise.
41092 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
41094 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
41095 cancellation and set FD_CLOEXEC for /etc/netgroup.
41097 * nss/nss_files/files-key.c (search): Don't allow cancellation when
41098 reading /etc/publickey.
41100 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
41101 allow cancellation when reading /etc/group.
41103 * nss/nss_files/files-alias.c (internal_setent): Don't allow
41105 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
41107 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
41108 when using data file.
41110 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
41112 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
41113 (write_nis_obj): Use "c" and "e" in fopen.
41115 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
41117 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
41119 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
41121 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
41123 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
41126 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
41128 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
41130 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
41132 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
41133 file parsing and set FD_CLOEXEC.
41135 2011-11-14 Ulrich Drepper <drepper@gmail.com>
41137 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
41139 2011-11-14 Andreas Schwab <schwab@redhat.com>
41141 * malloc/arena.c (arena_get2): Don't call reused_arena when
41142 _int_new_arena failed.
41144 2011-11-14 Ulrich Drepper <drepper@gmail.com>
41146 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
41147 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
41148 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
41149 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41150 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41151 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
41152 to compile strcasecmp and strncasecmp.
41153 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
41154 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
41156 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
41158 2011-11-13 Ulrich Drepper <drepper@gmail.com>
41160 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
41161 locale-defines.sym to gen-as-const-headers.
41162 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
41163 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
41164 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
41165 to compile strcasecmp and strncasecmp.
41166 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
41167 strcasecmp_l and strncasecmp_l.
41168 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
41169 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
41170 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
41171 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
41172 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
41173 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
41174 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
41175 * sysdeps/i386/i686/multiarch/strncase.S: New file.
41176 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
41177 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
41178 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
41180 2011-11-12 Ulrich Drepper <drepper@gmail.com>
41182 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
41183 result of SYSDEP_GETTIME_CPU to retval.
41184 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
41185 parameter list to macro. Remove trailing semicolon. Adjust users.
41187 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
41190 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
41192 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
41194 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
41195 from unused variable.
41197 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
41199 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
41202 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
41205 * sunrpc/rpc_prot.c (rejected): Fix case value.
41207 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
41208 unsigned long long int to avoid warnings in shift.
41210 * posix/regex_internal.c (re_string_reconstruct): Actually use result
41212 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
41215 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
41216 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41217 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41219 * nis/nis_table.c (nis_list): Use variable of correct type for
41220 result of __follow_path call.
41222 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41224 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
41225 of math functions ceil, trunc, floor, round, and sqrt, when
41226 avaliable on the platform.
41227 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
41229 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41230 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41231 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41233 2011-10-30 Marek Polacek <mpolacek@redhat.com>
41235 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
41236 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41238 2011-11-11 Roland McGrath <roland@hack.frob.com>
41240 * include/unistd.h: Fix __readlink return type.
41241 Reported by Chris Metcalf <cmetcalf@tilera.com>.
41243 2011-11-11 Ulrich Drepper <drepper@gmail.com>
41245 * stdlib/ucontext.h: Undo last change for makecontext.
41247 2011-11-11 Andreas Schwab <schwab@redhat.com>
41249 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
41251 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
41252 * setjmp/setjmp.h: Mark functions as non-leaf.
41253 * setjmp/bits/setjmp2.h: Likewise.
41254 * stdlib/ucontext.h: Likewise.
41256 2011-11-10 Andreas Schwab <schwab@redhat.com>
41258 * malloc/arena.c (_int_new_arena): Don't increment narenas.
41259 (reused_arena): Don't check arena limit.
41260 (arena_get2): Atomically check arena limit.
41262 2011-11-08 Ulrich Drepper <drepper@gmail.com>
41264 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
41265 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
41267 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
41270 2011-11-07 Andreas Schwab <schwab@redhat.com>
41272 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
41273 handler when locking.
41275 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41276 Fix size of allocated buffer.
41278 2011-11-04 Andreas Schwab <schwab@redhat.com>
41281 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
41282 declarations for long double functions.
41283 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
41285 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
41287 2011-11-03 Andreas Schwab <schwab@redhat.com>
41289 * nscd/nscd.c (main): Don't start AVC thread until credentials are
41292 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
41295 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
41297 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
41299 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
41301 * include/alloca.h (stackinfo_alloca_round): Define.
41302 (extend_alloca): Use it.
41303 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
41304 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
41307 * scripts/check-local-headers.sh: Ignore libaudit.h.
41309 * nscd/Makefile (extra-objs): Make recursively expanded.
41311 2011-11-01 Ulrich Drepper <drepper@gmail.com>
41313 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
41314 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41316 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
41317 * posix/tst-rfc3484-2.c: Likewise.
41318 * posix/tst-rfc3484-3.c: Likewise.
41320 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41322 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
41324 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
41325 process_vm_writev from libc using GLIBC_2.15 version.
41327 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
41329 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
41331 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
41334 2011-10-31 Ulrich Drepper <drepper@gmail.com>
41337 * nss/getent.c (initgroups_keys): Show error message in case no group
41340 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
41341 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
41342 __bump_nl_timestamp.
41343 * nscd/connections (nscd_init): When host database is served open
41344 netlink socket and request notification about configuration changes.
41345 (main_loop_poll): Track netlink file descriptor and bump timestamp
41346 in case data becomes available.
41347 (main_loop_epoll): Likewise.
41348 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
41349 (database_pers_head): Add extra_data fileds.
41350 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
41351 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
41352 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
41354 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
41355 in6ai data, call __free_in6ai.
41356 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
41357 Add -DHAVE_NETLINK.
41358 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
41359 interface information. Reuse previous data if netlink timestamp
41361 (__bump_nl_timestamp): New function.
41362 (__free_in6ai): New function.
41364 2011-10-30 Ulrich Drepper <drepper@gmail.com>
41366 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
41367 close_not_cancel_no_status here.
41368 (__check_pf): Reorganize code a bit to not call close twice if OOM.
41370 2011-10-29 Ulrich Drepper <drepper@gmail.com>
41373 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
41376 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
41377 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
41378 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
41380 2011-07-03 Andreas Jaeger <aj@suse.de>
41383 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
41384 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
41385 * math/libm-test.inc (sin_test): Add test case.
41387 2011-10-29 Ulrich Drepper <drepper@gmail.com>
41390 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
41391 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41393 * elf/chroot_canon.c (chroot_canon): Cleanups.
41395 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
41398 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
41399 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41401 * string/test-strchr.c: Make usable for strchrnul testing.
41402 * string/test-strchrnul.c: New file.
41403 * string/Makefile (strop-tests): Add strchrnul.
41405 * po/it.po: Update from translation team.
41406 * po/es.po: Likewise.
41408 2011-10-28 Ulrich Drepper <drepper@gmail.com>
41410 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
41411 the three constants needed as parameters. Drop the others.
41412 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
41413 __m128i_strloadu_tolower.
41414 Create and initialize variable zero and use it in all the places
41415 where _mm_setzero_si128 was used.
41417 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
41418 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
41419 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
41420 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
41422 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
41423 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
41424 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
41425 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
41426 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
41427 __mpranred, __mptan.
41428 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
41429 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
41430 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
41431 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
41432 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
41433 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
41434 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
41435 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
41436 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
41438 2011-10-28 Andreas Schwab <schwab@redhat.com>
41440 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
41441 redefine if SHARED.
41442 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
41444 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
41445 wide char related routines to wcsmbs subdir.
41447 2011-10-27 Andreas Schwab <schwab@redhat.com>
41450 * misc/sys/cdefs.h (__THROWNL): Define.
41451 * posix/unistd.h: Use __THREADNL instead of __THREAD
41452 for memory synchronization functions.
41454 2011-10-26 Roland McGrath <roland@hack.frob.com>
41457 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
41459 * manual/stdio.texi (Obstack Streams): Node removed.
41461 2011-10-26 Andreas Schwab <schwab@redhat.com>
41463 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
41464 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41465 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41467 * math/math_private.h (math_force_eval): Allow non-addressable
41469 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
41471 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41473 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
41474 file is not needed.
41476 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
41477 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
41478 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41479 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41480 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41481 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41482 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41483 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
41485 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
41486 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
41487 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
41488 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
41489 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
41490 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
41491 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
41492 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
41493 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
41494 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
41495 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
41496 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
41497 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
41498 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
41499 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
41500 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
41501 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
41502 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
41503 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
41505 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
41506 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
41508 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
41509 place. Use VEX encoding when compiling for AVX.
41511 2011-10-25 Andreas Schwab <schwab@redhat.com>
41513 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
41514 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41516 * string/test-strchr.c (do_test): Don't generate NUL bytes.
41518 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41520 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
41521 useless if() expression.
41522 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41523 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41524 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41525 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41526 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41527 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41528 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41529 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41530 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41531 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41532 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41533 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41534 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41535 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41536 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41537 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41538 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41539 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41540 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41542 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
41544 2011-10-25 Andreas Schwab <schwab@redhat.com>
41546 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
41548 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41550 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41552 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
41553 .text section. Avoid duplicate constants.
41554 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41555 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41556 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41557 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41558 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41559 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41560 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41561 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41562 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41563 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
41564 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41565 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41566 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41567 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41568 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41569 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41570 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41571 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41572 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41573 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41574 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41575 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41576 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41577 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
41578 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
41579 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
41580 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
41581 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
41582 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
41583 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
41584 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
41585 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
41586 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41587 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
41588 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
41589 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
41590 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
41591 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
41592 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
41593 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
41594 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
41595 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
41596 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
41597 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
41598 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
41600 2011-10-24 Ulrich Drepper <drepper@gmail.com>
41602 * sysdeps/x86_64/dla.h: Move to ...
41603 * sysdeps/x86_64/fpu/dla.h: ...here.
41604 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
41605 situations. Use __builtin_fma only for gcc 4.6 and up.
41607 * config.make.in: Add have-mfma4 entry.
41608 * configure.in: Substitute libc_cv_cc_fma4.
41609 * math/Makefile (dbl-only-routines): Add sincostab.
41610 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
41611 Use __sincostab not sincos.
41612 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
41614 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41615 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41616 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41617 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
41619 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
41620 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
41621 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
41622 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
41624 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
41625 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
41627 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
41628 define aliases when function name is a macro.
41629 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
41630 sysdeps/ieee754/dbl-64/sincos.tbl.
41631 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
41632 fma4-enabled routines.
41633 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
41634 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
41635 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
41636 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
41637 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
41638 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
41639 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
41640 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
41641 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
41642 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
41643 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
41644 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
41645 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
41646 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
41647 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
41648 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
41649 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
41650 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
41651 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
41652 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
41653 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
41654 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
41655 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
41656 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
41657 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
41658 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
41659 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
41660 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
41661 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
41662 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
41664 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
41666 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41667 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41668 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41669 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41670 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41671 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41672 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41673 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41675 2011-10-24 Andreas Schwab <schwab@redhat.com>
41677 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
41679 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41681 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
41683 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
41685 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
41687 * string/strnlen.c: Don't define STRNLEN, reverse logic.
41688 Remove unused variable magic_bits.
41689 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
41691 * string/strnlen.c: Define and use STRNLEN macro.
41692 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
41693 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
41694 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
41695 * wcsmbs/wcslen.c: Define and use WCSLEN.
41696 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
41697 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
41698 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
41699 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
41700 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
41701 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
41702 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41704 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41706 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41707 strnlen-sse2-no-bsf.
41708 Rename strlen-no-bsf to strlen-sse2-no-bsf.
41709 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
41710 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
41711 Add strnlen support.
41712 (USE_AS_STRNLEN): New macro.
41713 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
41714 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
41715 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
41716 * sysdeps/x86_64/wcslen.S: New file.
41718 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
41720 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41721 XMM-moves are used for copying on small sizes.
41723 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41725 * wcsmbs/Makefile (strop-tests): Add wcschr.
41726 * wcsmbs/test-wcschr.c: New file.
41727 * string/test-strchr.c: Update.
41728 Add wcschr support.
41731 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41733 * wcsmbs/Makefile (strop-tests): Add wcslen.
41734 * wcsmbs/test-wcslen.c: New file.
41735 * string/test-strlen.c: Update.
41736 Add wcslen support.
41739 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41741 * po/it.po: Update from translation team.
41743 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41745 * sysdeps/x86_64/wcscmp.S: Update.
41746 Fix wrong comparison semantics.
41747 wcscmp shall use signed comparison not unsigned.
41748 Don't use substraction to avoid overflow bug.
41749 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41750 * wcsmbc/wcscmp.c: Likewise.
41751 * string/test-strcmp.c: Likewise.
41752 Add new tests to check cases with negative values.
41754 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41756 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
41757 * sysdeps/x86_64/dla.h: ...here. New file.
41758 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
41759 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41760 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41761 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41762 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41763 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41764 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41765 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41766 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41768 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
41770 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
41771 __ynl_finite aliases.
41773 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41775 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41777 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
41779 [DLA_FMA] (EMULV): Use DLA_FMA.
41780 [DLA_FMA] (MUL12): Use EMULV.
41781 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
41782 that are not needed.
41783 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41784 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41785 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41786 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41787 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41788 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41789 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41791 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
41793 * math/s_nan.c: Undef __nan.
41794 * math/s_nanf.c: Undef __nanf.
41795 * math/s_nanl.c: Undef __nanl.
41796 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
41799 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41801 * math/s_catan.c: Add branch predictions.
41802 * math/s_catanf.c: Likewise.
41803 * math/s_catanh.c: Likewise.
41804 * math/s_catanhf.c: Likewise.
41805 * math/s_catanhl.c: Likewise.
41806 * math/s_catanl.c: Likewise.
41807 * math/s_cexp.c: Likewise.
41808 * math/s_cexpf.c: Likewise.
41809 * math/s_cexpl.c: Likewise.
41810 * math/s_clog.c: Likewise.
41811 * math/s_clog10.c: Likewise.
41812 * math/s_clog10f.c: Likewise.
41813 * math/s_clog10l.c: Likewise.
41814 * math/s_clogf.c: Likewise.
41815 * math/s_clogl.c: Likewise.
41816 * math/s_csqrt.c: Likewise.
41817 * math/s_csqrtf.c: Likewise.
41818 * math/s_csqrtl.c: Likewise.
41819 * math/s_ctanf.c: Likewise.
41820 * math/s_ctanh.c: Likewise.
41821 * math/s_ctanhf.c: Likewise.
41822 * math/s_ctanhl.c: Likewise.
41823 * math/s_ctanl.c: Likewise.
41825 * math/math_private.h: Define __nan, __nanf, __nanl.
41826 * math/s_cacosh.c: Include <math_private.h>.
41827 * math/s_cacoshl.c: Likewise.
41828 * math/s_casinh.c: Likewise.
41829 * math/s_casinhf.c: Likewise.
41830 * math/s_casinhl.c: Likewise.
41831 * math/s_ccos.c: Rely entire on ccosh.
41832 * math/s_ccosf.c: Rely entire on ccoshf.
41833 * math/s_ccosl.c: Rely entirely on ccoshl.
41834 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
41835 Remove tests for FE_INVALID.
41836 * math/s_ccoshf.c: Likewise.
41837 * math/s_ccoshl.c: Likewise.
41838 * math/s_csin.c: Likewise.
41839 * math/s_csinf.c: Likewise.
41840 * math/s_csinh.c Likewise.
41841 * math/s_csinhf.c: Likewise.
41842 * math/s_csinhl.c: Likewise.
41843 * math/s_csinl.c: Likewise.
41844 * math/s_ctan.c: Likewise.
41845 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
41846 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
41847 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
41849 2011-10-21 Ulrich Drepper <drepper@gmail.com>
41851 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
41852 compilation problems.
41854 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
41857 2011-10-20 Ulrich Drepper <drepper@gmail.com>
41859 * sysdeps/i386/configure.in: Test for -mfma4 option.
41860 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
41861 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
41862 COMMON_CPUID_INDEX_80000001.
41863 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
41864 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
41865 use it if FMA3 is not supported.
41866 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
41868 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
41869 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41871 2011-10-20 Andreas Schwab <schwab@redhat.com>
41874 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
41875 it would create a cycle with a link time dependency.
41877 2011-10-19 Ulrich Drepper <drepper@gmail.com>
41879 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
41881 * string/Makefile (strop-tests): Add rawmemchr.
41882 * string/test-rawmemchr.c: New file.
41884 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
41885 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
41886 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
41887 when compiling str{,n}casecmp and when AVX is available. Hook up
41888 new optimized code in initializers.
41890 2011-10-19 Andreas Schwab <schwab@redhat.com>
41892 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
41893 __feraiseexcept instead of feraiseexcept.
41895 2011-10-18 Ulrich Drepper <drepper@gmail.com>
41897 * math/math_private.h: Define defaults for libc_fetestexcept and
41899 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
41900 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
41901 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41902 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41903 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41904 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41905 libc_fetestexcept and libc_feupdateenv.
41907 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
41908 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
41909 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
41910 * sysdeps/x86_64/fpu/math_private.h: Define special version of
41911 libc_feholdexcept_setround.
41913 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
41914 Add s_nearbyint-c and s_nearbyintf-c.
41915 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
41916 nearbyintf inlines.
41917 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
41918 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
41919 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
41920 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
41922 * math/math_private.h: Define defaults for libc_fegetround,
41923 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
41924 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
41925 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
41926 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
41927 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
41928 standard functions.
41929 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41930 Remove comments and hacks for old compiler versions.
41931 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41932 libc_fegetround, libc_fesetround, libc_feholdexcept, and
41933 libc_feholdexceptl.
41935 2011-10-18 Andreas Schwab <schwab@redhat.com>
41937 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
41938 (__feraiseexcept_renamed): Add __NTH.
41939 (feraiseexcept): Add __NTH. Rename local variables to fix
41940 namespace violations.
41942 2011-10-17 Ulrich Drepper <drepper@gmail.com>
41944 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
41946 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
41948 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
41949 recently added interfaces.
41950 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
41952 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
41953 about macro parameter expansion.
41955 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
41956 __NO_MATH_INLINES is defined. Cleanups.
41958 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
41959 and __floorf is target has SSE4.1.
41960 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
41961 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
41962 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
41963 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
41965 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
41967 (floorf): Likewise.
41969 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
41971 2011-10-17 Andreas Schwab <schwab@redhat.com>
41973 * misc/sys/cdefs.h: Fix last change.
41975 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
41978 2011-10-16 Ulrich Drepper <drepper@gmail.com>
41980 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
41982 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
41983 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41984 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41985 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41986 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41987 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41988 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41989 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41990 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41991 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
41992 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
41993 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
41994 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
41995 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
41996 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
41997 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
41998 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
41999 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
42000 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
42001 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
42002 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
42003 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
42005 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
42006 ceil, ceilf, floor, floorf.
42008 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
42009 Perform IRELATIVE relocations last.
42011 * elf/do-rel.h: Add another parameter nrelative, replacing the
42012 local variable with the same name. Change name of the function
42013 to end in Rel or Rela (uppercase).
42014 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
42015 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
42016 elf_dynamic_do_##reloc function.
42018 2011-10-15 Ulrich Drepper <drepper@gmail.com>
42020 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
42021 is sufficient, at least on modern CPUs.
42023 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
42025 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
42026 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
42028 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
42030 * math/bits/math-finite.h: Add entries for exp.
42031 * math/e_expl.c: Add __*_finite alias.
42032 * sysdeps/i386/fpu/e_exp.S: Likewise.
42033 * sysdeps/i386/fpu/e_expf.S: Likewise.
42034 * sysdeps/i386/fpu/e_expl.c: Likewise.
42035 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42036 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42037 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42038 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42039 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
42040 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42041 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42043 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
42044 is sufficient, at least on modern CPUs.
42046 * ctype/ctype-info.c (__ctype_init): Define.
42047 * include/ctype.h (__ctype_init): Declare.
42048 (__ctype_b_loc): The variable is always initialized.
42049 (__ctype_toupper_loc): Likewise.
42050 (__ctype_tolower_loc): Likewise.
42051 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
42052 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
42054 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
42056 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
42058 * configure.in: Also look in $cxxmachine/include for C++ system
42061 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42063 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
42064 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
42065 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
42066 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
42067 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
42068 (USE_AS_WMEMCMP): New macro.
42070 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
42071 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
42072 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
42073 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
42074 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42075 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
42076 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
42077 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
42078 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
42079 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
42080 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
42081 (USE_AS_WMEMCMP): New macro.
42082 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
42083 * sysdeps/string/test-memcmp.c: Update.
42084 Fix simple_wmemcmp.
42086 * wcsmbs/wmemcmp.c: Update.
42087 (WMEMCMP): New macro.
42090 2011-10-12 Andreas Jaeger <aj@suse.de>
42093 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
42095 2011-10-15 Ulrich Drepper <drepper@gmail.com>
42097 * libio/iofwide.c (do_length): Avoid warning.
42099 * ctype/ctype.h (__isctype_f): Add missing __THROW.
42101 2011-10-14 Ulrich Drepper <drepper@gmail.com>
42103 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
42105 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
42106 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
42107 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
42108 * sysdeps/i386/i686/fpu/e_log.S: New file.
42109 * sysdeps/i386/i686/fpu/e_logf.S: New file.
42110 * sysdeps/i386/i686/fpu/e_logl.S: New file.
42112 * ctype/ctype.h: Add support for inlined isXXX functions when
42113 compiling C++ code.
42115 2011-10-14 Andreas Schwab <schwab@redhat.com>
42117 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42119 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
42121 2011-10-13 Roland McGrath <roland@hack.frob.com>
42124 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
42126 2011-10-13 Andreas Schwab <schwab@redhat.com>
42128 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
42129 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
42132 * sysdeps/x86_64/memrchr.S: Check for zero size.
42134 * string/stratcliff.c: Add memrchr tests.
42136 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42138 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42139 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
42140 rawmemchr-sse2 rawmemchr-sse2-bsf.
42141 * sysdeps/i386/i686/multiarch/memchr.S: New file.
42142 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
42143 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
42144 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
42145 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
42146 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
42147 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
42148 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
42149 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
42150 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
42151 * string/memrchr.c (MEMRCHR): New macro.
42153 2011-10-12 Ulrich Drepper <drepper@gmail.com>
42155 Add integration with gcc's -ffinite-math-only and optimize wrapper
42157 * Versions.def: Define GLIBC_2.15 version for libm.
42158 * math/Makefile (headers): Add bits/math-finite.h.
42159 * math/bits/math-finite.h: New file.
42160 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
42161 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
42162 * math/e_acoshl.c: Add __*_finite alias.
42163 * math/e_acosl.c: Likewise.
42164 * math/e_asinl.c: Likewise.
42165 * math/e_atan2l.c: Likewise.
42166 * math/e_atanhl.c: Likewise.
42167 * math/e_coshl.c: Likewise.
42168 * math/e_exp10.c: Likewise.
42169 * math/e_exp10f.c: Likewise.
42170 * math/e_exp10l.c: Likewise.
42171 * math/e_exp2l.c: Likewise.
42172 * math/e_fmodl.c: Likewise.
42173 * math/e_gammal_r.c: Likewise.
42174 * math/e_hypotl.c: Likewise.
42175 * math/e_j0l.c: Likewise.
42176 * math/e_j1l.c: Likewise.
42177 * math/e_jnl.c: Likewise.
42178 * math/e_lgammal_r.c: Likewise.
42179 * math/e_log10l.c: Likewise.
42180 * math/e_log2l.c: Likewise.
42181 * math/e_logl.c: Likewise.
42182 * math/e_powl.c: Likewise.
42183 * math/e_sinhl.c: Likewise.
42184 * math/e_sqrtl.c: Likewise.
42185 * math/e_scalb.c: Completely rewritten and optimized.
42186 * math/e_scalbf.c: Likewise.
42187 * math/e_scalbl.c: Likewise.
42188 * math/w_acos.c: Likewise.
42189 * math/w_acosf.c: Likewise.
42190 * math/w_acosl.c: Likewise.
42191 * math/w_acosh.c: Likewise.
42192 * math/w_acoshf.c: Likewise.
42193 * math/w_acoshl.c: Likewise.
42194 * math/w_asin.c: Likewise.
42195 * math/w_asinf.c: Likewise.
42196 * math/w_asinl.c: Likewise.
42197 * math/w_atan2.c: Likewise.
42198 * math/w_atan2f.c: Likewise.
42199 * math/w_atan2l.c: Likewise.
42200 * math/w_atanh.c: Likewise.
42201 * math/w_atanhf.c: Likewise.
42202 * math/w_atanhl.c: Likewise.
42203 * math/w_exp10.c: Likewise.
42204 * math/w_exp10f.c: Likewise.
42205 * math/w_exp10l.c: Likewise.
42206 * math/w_fmod.c: Likewise.
42207 * math/w_fmodf.c: Likewise.
42208 * math/w_fmodl.c: Likewise.
42209 * math/w_j0.c: Likewise.
42210 * math/w_j0f.c: Likewise.
42211 * math/w_j0l.c: Likewise.
42212 * math/w_j1.c: Likewise.
42213 * math/w_j1f.c: Likewise.
42214 * math/w_j1l.c: Likewise.
42215 * math/w_jn.c: Likewise.
42216 * math/w_jnf.c: Likewise.
42217 * math/w_log.c: Likewise.
42218 * math/w_logf.c: Likewise.
42219 * math/w_logl.c: Likewise.
42220 * math/w_log10.c: Likewise.
42221 * math/w_log10f.c: Likewise.
42222 * math/w_log10l.c: Likewise.
42223 * math/w_log2.c: Likewise.
42224 * math/w_log2f.c: Likewise.
42225 * math/w_log2l.c: Likewise.
42226 * math/w_pow.c: Likewise.
42227 * math/w_powf.c: Likewise.
42228 * math/w_powl.c: Likewise.
42229 * math/w_remainder.c: Likewise.
42230 * math/w_remainderf.c: Likewise.
42231 * math/w_remainderl.c: Likewise.
42232 * math/w_scalb.c: Likewise.
42233 * math/w_scalbf.c: Likewise.
42234 * math/w_scalbl.c: Likewise.
42235 * math/w_sqrt.c: Likewise.
42236 * math/w_sqrtf.c: Likewise.
42237 * math/w_sqrtl.c: Likewise.
42238 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
42239 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
42241 * math/math_private.h: Declare __kernel_standard_f.
42242 * math/w_cosh.c: Remove cruft and optimize a bit.
42243 * math/w_coshf.c: Likewise.
42244 * math/w_coshl.c: Likewise.
42245 * math/w_exp2.c: Likewise.
42246 * math/w_exp2f.c: Likewise.
42247 * math/w_exp2l.c: Likewise.
42248 * math/w_hypot.c: Likewise.
42249 * math/w_hypotf.c: Likewise.
42250 * math/w_hypotl.c: Likewise.
42251 * math/w_lgamma.c: Likewise.
42252 * math/w_lgamma_r.c: Likewise.
42253 * math/w_lgammaf.c: Likewise.
42254 * math/w_lgammaf_r.c: Likewise.
42255 * math/w_lgammal.c: Likewise.
42256 * math/w_lgammal_r.c: Likewise.
42257 * math/w_sinh.c: Likewise.
42258 * math/w_sinhf.c: Likewise.
42259 * math/w_sinhl.c: Likewise.
42260 * math/w_tgamma.c: Likewise.
42261 * math/w_tgammaf.c: Likewise.
42262 * math/w_tgammal.c: Likewise.
42263 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42264 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42265 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
42266 Minor optimizations. Pretty printing. Remove cruft.
42267 * sysdeps/i386/fpu/e_acosf.S: Likewise.
42268 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42269 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42270 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42271 * sysdeps/i386/fpu/e_acosl.c: Likewise.
42272 * sysdeps/i386/fpu/e_asin.S: Likewise.
42273 * sysdeps/i386/fpu/e_asinf.S: Likewise.
42274 * sysdeps/i386/fpu/e_atan2.S: Likewise.
42275 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
42276 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
42277 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42278 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42279 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42280 * sysdeps/i386/fpu/e_exp10.S: Likewise.
42281 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
42282 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
42283 * sysdeps/i386/fpu/e_exp2.S: Likewise.
42284 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
42285 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
42286 * sysdeps/i386/fpu/e_fmod.S: Likewise.
42287 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
42288 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
42289 * sysdeps/i386/fpu/e_hypot.S: Likewise.
42290 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
42291 * sysdeps/i386/fpu/e_log.S: Likewise.
42292 * sysdeps/i386/fpu/e_log10.S: Likewise.
42293 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42294 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42295 * sysdeps/i386/fpu/e_log2.S: Likewise.
42296 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42297 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42298 * sysdeps/i386/fpu/e_logf.S: Likewise.
42299 * sysdeps/i386/fpu/e_logl.S: Likewise.
42300 * sysdeps/i386/fpu/e_pow.S: Likewise.
42301 * sysdeps/i386/fpu/e_powf.S: Likewise.
42302 * sysdeps/i386/fpu/e_powl.S: Likewise.
42303 * sysdeps/i386/fpu/e_remainder.S: Likewise.
42304 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
42305 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
42306 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42307 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42308 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42309 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
42310 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
42311 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
42312 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42313 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42314 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42315 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42316 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42317 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42318 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42319 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42320 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42321 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42322 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42323 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42324 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42325 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42326 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42327 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42328 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42329 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42330 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42331 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42332 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42333 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42334 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42335 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42336 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42337 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42338 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42339 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42340 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
42341 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42342 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42343 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42344 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42345 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42346 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42347 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42348 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42349 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42350 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42351 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42352 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42353 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42354 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42355 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42356 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42357 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42358 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42359 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42360 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42361 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
42362 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42363 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42364 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42365 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42366 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42367 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42368 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42369 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42370 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42371 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42372 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42373 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42374 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42375 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42376 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42377 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42378 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42379 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42380 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
42381 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42382 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42383 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42384 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42385 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42386 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42387 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42388 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42389 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42390 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42391 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42392 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42393 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42394 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
42395 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42396 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42397 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42398 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42399 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42400 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42401 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42402 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42403 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42404 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42405 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42406 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42407 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42408 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42409 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
42410 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
42411 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
42412 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
42413 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
42414 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
42415 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
42416 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42417 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42418 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42419 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42420 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
42421 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42422 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
42423 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
42424 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
42425 (__isnanf): Likewise.
42426 (__isinf_ns): Likewise.
42427 (__isinf_nsf): Likewise.
42428 (__finite): Likewise.
42429 (__finitef): Likewise.
42430 (__ieee754_sqrt): Define as macro.
42431 (__ieee754_sqrtf): Define as macro.
42432 (__ieee754_sqrtl): Define as macro.
42433 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
42435 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
42436 __FINITE_MATH_ONLY__ consistent.
42437 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
42439 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
42441 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
42444 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
42446 2011-10-09 Ulrich Drepper <drepper@gmail.com>
42448 * po/ja.po: Update from translation team.
42450 2011-10-08 Roland McGrath <roland@hack.frob.com>
42452 * locale/programs/locarchive.c (prepare_address_space): New function.
42453 (create_archive, enlarge_archive, open_archive): Use it.
42455 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
42456 inside [SHARED], where it is used.
42458 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
42460 * nss/getent.c (netgroup_keys): Remove unused variable.
42461 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42463 2011-10-08 Ulrich Drepper <drepper@gmail.com>
42465 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
42466 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
42467 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
42468 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
42469 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
42470 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
42471 * math/Makefile (libm-calls): Add s_isinf_ns.
42472 * math/divtc3.c: Use __isinf_nsl instead of isinf.
42473 * math/multc3.c: Likewise.
42474 * math/s_casin.c: Likewise.
42475 * math/s_casinf.c: Likewise.
42476 * math/s_casinl.c: Likewise.
42477 * math/s_ccos.c: Likewise.
42478 * math/s_ccosf.c: Likewise.
42479 * math/s_ccosl.c: Likewise.
42480 * math/s_ctan.c: Likewise.
42481 * math/s_ctanf.c: Likewise.
42482 * math/s_ctanh.c: Likewise.
42483 * math/s_ctanhf.c: Likewise.
42484 * math/s_ctanhl.c: Likewise.
42485 * math/s_ctanl.c: Likewise.
42486 * math/w_fmod.c: Likewise.
42487 * math/w_fmodf.c: Likewise.
42488 * math/w_fmodl.c: Likewise.
42489 * math/w_remainder.c: Likewise.
42490 * math/w_remainderf.c: Likewise.
42491 * math/w_remainderl.c: Likewise.
42492 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
42493 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
42494 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
42495 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
42496 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
42497 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
42498 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
42499 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
42501 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
42503 * stdio-common/printf_fphex.c: Likewise.
42504 * stdio-common/printf_size.c: Likewise.
42506 * math/e_exp10.c: Include math_private.h using <...> not "...".
42507 * math/e_exp10f.c: Likewise.
42508 * math/e_exp10l.c: Likewise.
42509 * math/e_exp2l.c: Likewise.
42510 * math/e_j0l.c: Likewise.
42511 * math/e_j1l.c: Likewise.
42512 * math/e_jnl.c: Likewise.
42513 * math/e_lgammal_r.c: Likewise.
42514 * math/e_rem_pio2l.c: Likewise.
42515 * math/e_scalb.c: Likewise.
42516 * math/e_scalbf.c: Likewise.
42517 * math/e_scalbl.c: Likewise.
42518 * math/k_cosl.c: Likewise.
42519 * math/k_sinl.c: Likewise.
42520 * math/k_tanl.c: Likewise.
42521 * math/s_cacoshf.c: Likewise.
42522 * math/s_catan.c: Likewise.
42523 * math/s_catanf.c: Likewise.
42524 * math/s_catanh.c: Likewise.
42525 * math/s_catanhf.c: Likewise.
42526 * math/s_catanhl.c: Likewise.
42527 * math/s_catanl.c: Likewise.
42528 * math/s_ccosh.c: Likewise.
42529 * math/s_ccoshf.c: Likewise.
42530 * math/s_ccoshl.c: Likewise.
42531 * math/s_cexp.c: Likewise.
42532 * math/s_cexpf.c: Likewise.
42533 * math/s_cexpl.c: Likewise.
42534 * math/s_clog.c: Likewise.
42535 * math/s_clog10.c: Likewise.
42536 * math/s_clog10f.c: Likewise.
42537 * math/s_clog10l.c: Likewise.
42538 * math/s_clogf.c: Likewise.
42539 * math/s_clogl.c: Likewise.
42540 * math/s_csin.c: Likewise.
42541 * math/s_csinf.c: Likewise.
42542 * math/s_csinh.c: Likewise.
42543 * math/s_csinhf.c: Likewise.
42544 * math/s_csinhl.c: Likewise.
42545 * math/s_csinl.c: Likewise.
42546 * math/s_csqrt.c: Likewise.
42547 * math/s_csqrtf.c: Likewise.
42548 * math/s_csqrtl.c: Likewise.
42549 * math/s_ctan.c: Likewise.
42550 * math/s_ctanf.c: Likewise.
42551 * math/s_ctanh.c: Likewise.
42552 * math/s_ctanhf.c: Likewise.
42553 * math/s_ctanhl.c: Likewise.
42554 * math/s_ctanl.c: Likewise.
42555 * math/s_ldexp.c: Likewise.
42556 * math/s_ldexpf.c: Likewise.
42557 * math/s_ldexpl.c: Likewise.
42558 * math/s_significand.c: Likewise.
42559 * math/s_significandf.c: Likewise.
42560 * math/s_significandl.c: Likewise.
42561 * math/w_acos.c: Likewise.
42562 * math/w_acosf.c: Likewise.
42563 * math/w_acosh.c: Likewise.
42564 * math/w_acoshf.c: Likewise.
42565 * math/w_acoshl.c: Likewise.
42566 * math/w_acosl.c: Likewise.
42567 * math/w_asin.c: Likewise.
42568 * math/w_asinf.c: Likewise.
42569 * math/w_asinl.c: Likewise.
42570 * math/w_atan2.c: Likewise.
42571 * math/w_atan2f.c: Likewise.
42572 * math/w_atan2l.c: Likewise.
42573 * math/w_atanh.c: Likewise.
42574 * math/w_atanhf.c: Likewise.
42575 * math/w_atanhl.c: Likewise.
42576 * math/w_cosh.c: Likewise.
42577 * math/w_coshf.c: Likewise.
42578 * math/w_coshl.c: Likewise.
42579 * math/w_dremf.c: Likewise.
42580 * math/w_exp10.c: Likewise.
42581 * math/w_exp10f.c: Likewise.
42582 * math/w_exp10l.c: Likewise.
42583 * math/w_exp2.c: Likewise.
42584 * math/w_exp2f.c: Likewise.
42585 * math/w_fmod.c: Likewise.
42586 * math/w_fmodf.c: Likewise.
42587 * math/w_fmodl.c: Likewise.
42588 * math/w_hypot.c: Likewise.
42589 * math/w_hypotf.c: Likewise.
42590 * math/w_hypotl.c: Likewise.
42591 * math/w_j0.c: Likewise.
42592 * math/w_j0f.c: Likewise.
42593 * math/w_j0l.c: Likewise.
42594 * math/w_j1.c: Likewise.
42595 * math/w_j1f.c: Likewise.
42596 * math/w_j1l.c: Likewise.
42597 * math/w_jn.c: Likewise.
42598 * math/w_jnf.c: Likewise.
42599 * math/w_jnl.c: Likewise.
42600 * math/w_lgamma.c: Likewise.
42601 * math/w_lgamma_r.c: Likewise.
42602 * math/w_lgammaf.c: Likewise.
42603 * math/w_lgammaf_r.c: Likewise.
42604 * math/w_lgammal.c: Likewise.
42605 * math/w_lgammal_r.c: Likewise.
42606 * math/w_log.c: Likewise.
42607 * math/w_log10.c: Likewise.
42608 * math/w_log10f.c: Likewise.
42609 * math/w_log10l.c: Likewise.
42610 * math/w_log2.c: Likewise.
42611 * math/w_log2f.c: Likewise.
42612 * math/w_log2l.c: Likewise.
42613 * math/w_logf.c: Likewise.
42614 * math/w_logl.c: Likewise.
42615 * math/w_pow.c: Likewise.
42616 * math/w_powf.c: Likewise.
42617 * math/w_powl.c: Likewise.
42618 * math/w_remainder.c: Likewise.
42619 * math/w_remainderf.c: Likewise.
42620 * math/w_remainderl.c: Likewise.
42621 * math/w_scalb.c: Likewise.
42622 * math/w_scalbf.c: Likewise.
42623 * math/w_scalbl.c: Likewise.
42624 * math/w_sinh.c: Likewise.
42625 * math/w_sinhf.c: Likewise.
42626 * math/w_sinhl.c: Likewise.
42627 * math/w_sqrt.c: Likewise.
42628 * math/w_sqrtf.c: Likewise.
42629 * math/w_sqrtl.c: Likewise.
42630 * math/w_tgamma.c: Likewise.
42631 * math/w_tgammaf.c: Likewise.
42632 * math/w_tgammal.c: Likewise.
42634 * po/ja.po: Update from translation team.
42636 2011-09-29 Andreas Jaeger <aj@suse.de>
42639 * sunrpc/netname.c (netname2host): Fix logic.
42643 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
42645 * math/w_remainder.c (__remainder): Likewise.
42646 * math/w_remainderf.c (__remainderf): Likewise.
42647 * math/libm-test.inc (remainder_test): Add test cases.
42649 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42651 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
42654 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42656 * string/test-memcmp.c: Avoid unncessary #defines.
42657 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42659 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42661 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
42662 Use new sse2 version for core i3 - i7 as it's faster
42663 than sse42 version.
42664 (bit_Prefer_PMINUB_for_stringop): New.
42665 * sysdeps/x86_64/rawmemchr.S: Update.
42666 Replace with faster SSE2 version.
42667 * sysdeps/x86_64/memrchr.S: New file.
42668 * sysdeps/x86_64/memchr.S: Update.
42669 Replace with faster SSE2 version.
42671 2011-09-12 Marek Polacek <mpolacek@redhat.com>
42673 * elf/dl-load.c (lose): Add cast to avoid warning.
42675 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42677 * po/ca.po: Update from translation team.
42679 * inet/getnetgrent_r.c: Hook up nscd.
42680 * nscd/Makefile (routines): Add nscd_netgroup.
42681 (nscd-modules): Add netgroupcache.
42682 (CFLAGS-netgroupcache.c): Define.
42683 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
42684 (cache_search): Add const to second parameter.
42685 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
42687 (dbs): Add netgrdb entry.
42688 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
42689 (verify_persistent_db): Handle netgrdb.
42690 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
42691 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
42693 (netgroup_response_header): Define.
42694 (innetgroup_response_header): Define.
42695 (datahead): Add netgroup_response_header and innetgroup_response_header
42697 * nscd/nscd.conf: Add entries for netgroup cache.
42698 * nscd/nscd.h (dbtype): Add netgrdb.
42699 (_PATH_NSCD_NETGROUP_DB): Define.
42700 (netgroup_iov_disabled): Declare.
42701 (xmalloc, xcalloc, xrealloc): Move declarations here.
42702 (cache_search): Adjust prototype.
42703 Add netgroup-related prototypes.
42704 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
42705 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
42706 (__nscd_innetgr): Declare.
42707 * nscd/selinux.c (perms): Use access_vector_t as element type and
42708 add netgroup-related initializers.
42709 * nscd/netgroupcache.c: New file.
42710 * nscd/nscd_netgroup.c: New file.
42711 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
42712 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
42713 For four parameters use innetgr.
42714 * nss/nss_files/files-init.c: Add definition and callback for netgr.
42715 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
42716 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
42717 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
42719 * nscd/connections.c (register_traced_file): Don't register file
42720 for disabled databases.
42722 2011-10-06 Ulrich Drepper <drepper@gmail.com>
42724 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
42726 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
42727 from tree and freeing node.
42729 2011-09-25 Jiri Olsa <jolsa@redhat.com>
42731 * nss/nsswitch.c (__nss_database_lookup): Handle
42732 nss_parse_service_list out of memory case.
42734 2011-09-15 Jiri Olsa <jolsa@redhat.com>
42736 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
42737 out of memory case.
42739 2011-10-04 Andreas Schwab <schwab@redhat.com>
42741 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
42742 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
42744 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
42745 elf_machine_rela, elf_machine_lazy_rel.
42746 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
42747 (ELF_DYNAMIC_DO_REL): Likewise.
42748 (ELF_DYNAMIC_DO_RELA): Likewise.
42749 (ELF_DYNAMIC_RELOCATE): Likewise.
42750 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
42751 to ELF_DYNAMIC_DO_REL.
42752 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
42753 (dl_main): In trace mode always set __RTLD_NOIFUNC.
42754 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
42756 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
42757 skip_ifunc, don't call ifunc function if non-zero.
42758 (elf_machine_rela): Likewise.
42759 (elf_machine_lazy_rel): Likewise.
42760 (elf_machine_lazy_rela): Likewise.
42761 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
42762 (elf_machine_lazy_rel): Likewise.
42763 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
42765 (elf_machine_lazy_rel): Likewise.
42766 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42768 (elf_machine_lazy_rel): Likewise.
42769 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
42770 (elf_machine_lazy_rel): Likewise.
42771 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
42772 (elf_machine_lazy_rel): Likewise.
42773 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42774 (elf_machine_lazy_rel): Likewise.
42775 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
42776 (elf_machine_lazy_rel): Likewise.
42777 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
42778 (elf_machine_lazy_rel): Likewise.
42779 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42780 (elf_machine_lazy_rel): Likewise.
42782 2011-09-28 Ulrich Drepper <drepper@gmail.com>
42784 * nss/nss_files/files-init.c (_nss_files_init): Use static
42785 initialization for all the *_traced_file variables.
42787 2011-09-28 Andreas Schwab <schwab@redhat.com>
42789 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42791 2011-09-27 Roland McGrath <roland@hack.frob.com>
42794 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
42796 2011-09-27 Andreas Schwab <schwab@redhat.com>
42798 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42799 Reread the line before reparsing it.
42801 2011-09-26 Andreas Schwab <schwab@redhat.com>
42803 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
42805 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
42806 Maxim Kuvyrkov <maxim@codesourcery.com>
42807 Joseph Myers <joseph@codesourcery.com>
42809 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
42810 if needed for __stack_chk_guard.
42812 2011-09-19 Roland McGrath <roland@hack.frob.com>
42814 * sysdeps/posix/spawni.c (script_execute): Always define it.
42815 It will be optimized away if unused.
42816 (maybe_script_execute): New function.
42817 (__spawni): Call it.
42819 * Makerules: Don't include tls.make.
42820 (config-tls): Always set to thread.
42821 * tls.make.c: File removed.
42823 2011-09-19 Mike Frysinger <vapier@gentoo.org>
42825 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
42826 * config.make.in (CPPFLAGS-config): New substituted variable.
42828 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42830 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
42833 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
42834 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
42836 2011-09-15 Roland McGrath <roland@hack.frob.com>
42838 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
42839 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
42840 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42841 (CALL_FAIL): Likewise.
42842 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
42843 (CALL_FAIL): Macro removed.
42844 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
42846 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42848 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
42849 for __FINITE_MATH_ONLY__ == 1.
42851 2011-09-15 Andreas Schwab <schwab@redhat.com>
42853 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
42854 __ieee754_sqrt instead of sqrt.
42855 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
42856 __ieee754_sqrtf instead of sqrtf.
42857 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
42858 __floorf instead of floorf.
42859 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
42860 __floorf, __truncf instead of floorf, truncf.
42862 2011-09-14 Ulrich Drepper <drepper@gmail.com>
42864 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
42866 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
42867 __extern_always_inline.
42868 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
42871 2011-09-14 Andreas Schwab <schwab@redhat.com>
42873 * elf/rtld.c (dl_main): Also relocate in dependency order when
42874 doing symbol dependency testing.
42876 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
42878 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42879 Always define `refsym'.
42881 2011-09-13 Andreas Schwab <schwab@redhat.com>
42883 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
42884 (__FD_ELT): Renamed from __FDELT.
42885 * misc/bits/select2.h (__FD_ELT): Likewise.
42886 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
42887 __FD_MASK instead of __FDELT, __FDMASK.
42888 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42890 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42893 * elf/Makefile (gen-ldd): Fix pattern.
42895 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
42896 (init_tls): Likewise.
42898 2011-09-12 Ulrich Drepper <drepper@gmail.com>
42900 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
42902 2011-09-12 Andreas Schwab <schwab@redhat.com>
42904 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
42905 `struct cmsghdr *' instead of `void *'.
42906 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
42909 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
42911 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
42913 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
42914 ldd_rewrite_script.
42916 2011-09-11 Ulrich Drepper <drepper@gmail.com>
42918 * configure.in: Remove --with-tls option.
42919 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
42920 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
42921 out in case it is missing.
42922 * sysdeps/ia64/elf/configure.in: Likewise.
42923 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
42924 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
42925 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
42926 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
42927 * sysdeps/sh/elf/configure.in: Likewise.
42928 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
42929 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42930 * sysdeps/x86_64/elf/configure.in: Likewise.
42931 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
42932 * sysdeps/mach/hurd/tls.h: Likewise.
42935 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
42938 * configure.in: Fix use of AC_INIT.
42940 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
42942 2011-09-10 Ulrich Drepper <drepper@gmail.com>
42944 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
42946 * malloc/hooks.c: Likewise.
42949 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
42950 variables statically.
42951 (narenas): Initialize.
42952 (list_lock): Initialize.
42953 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
42954 initializtion of main_arena and list_lock. Small cleanups.
42955 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
42956 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
42957 Add initializers to main_arena and mp_.
42958 (malloc_state): Remove pagesize member. Change all users to use
42961 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
42962 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
42963 is always initialized.
42965 * malloc/malloc.c: Removed unused configurations and dead code.
42966 * malloc/arena.c: Likewise.
42967 * malloc/hooks.c: Likewise.
42968 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
42970 * include/tls.h: Removed. USE___THREAD must always be defined.
42971 * bits/libc-tsd.h: Don't handle !USE___THREAD.
42972 * elf/dl-libc.c: Likewise.
42973 * elf/dl-tsd.c: Likewise.
42974 * include/errno.h: Likewise.
42975 * include/netdb.h: Likewise.
42976 * include/resolv.h: Likewise.
42977 * inet/herrno-loc.c: Likewise.
42978 * inet/herrno.c: Likewise.
42979 * malloc/arena.c: Likewise.
42980 * malloc/hooks.c: Likewise.
42981 * malloc/malloc.c: Likewise.
42982 * resolv/res-state.c: Likewise.
42983 * resolv/res_libc.c: Likewise.
42984 * sysdeps/i386/dl-machine.h: Likewise.
42985 * sysdeps/ia64/dl-machine.h: Likewise.
42986 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42987 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42988 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42989 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42990 * sysdeps/sh/dl-machine.h: Likewise.
42991 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42992 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42993 * sysdeps/unix/i386/sysdep.S: Likewise.
42994 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42995 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42996 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42997 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42998 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42999 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43000 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43001 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43002 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43003 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43004 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43005 * sysdeps/x86_64/dl-machine.h: Likewise.
43006 * tls.make.c: Likewise.
43008 * configure.in: Remove --with-__thread option. Make tests for
43009 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
43010 tls_model attribute fail if no support is available. Remove
43012 * Makeconfig: Adjust for dropped configure option. All features are
43014 * Makerules: Likewise.
43015 * Versions.def: Likewise.
43016 * argp/argp-fmtstream.c: Likewise.
43017 * argp/argp-fmtstream.h: Likewise.
43018 * argp/argp-help.c: Likewise.
43019 * assert/assert.c: Likewise.
43020 * config.h.in: Likewise.
43021 * config.make.in: Likewise.
43022 * configure: Likewise.
43023 * configure.in: Likewise.
43024 * csu/Versions: Likewise.
43025 * csu/init.c: Likewise.
43026 * elf/tst-audit2.c: Likewise.
43027 * elf/tst-tls10.c: Likewise.
43028 * elf/tst-tls10.h: Likewise.
43029 * elf/tst-tls11.c: Likewise.
43030 * elf/tst-tls12.c: Likewise.
43031 * elf/tst-tls14.c: Likewise.
43032 * elf/tst-tlsmod11.c: Likewise.
43033 * elf/tst-tlsmod12.c: Likewise.
43034 * elf/tst-tlsmod13.c: Likewise.
43035 * elf/tst-tlsmod13a.c: Likewise.
43036 * elf/tst-tlsmod14a.c: Likewise.
43037 * elf/tst-tlsmod15b.c: Likewise.
43038 * elf/tst-tlsmod16a.c: Likewise.
43039 * elf/tst-tlsmod16b.c: Likewise.
43040 * elf/tst-tlsmod7.c: Likewise.
43041 * elf/tst-tlsmod8.c: Likewise.
43042 * elf/tst-tlsmod9.c: Likewise.
43043 * gmon/gmon.c: Likewise.
43044 * grp/fgetgrent_r.c: Likewise.
43045 * grp/putgrent.c: Likewise.
43046 * hurd/fopenport.c: Likewise.
43047 * include/libc-symbols.h: Likewise.
43048 * include/tls.h: Likewise.
43049 * intl/gettextP.h: Likewise.
43050 * intl/loadinfo.h: Likewise.
43051 * locale/global-locale.c: Likewise.
43052 * locale/localeinfo.h: Likewise.
43053 * mach/devstream.c: Likewise.
43054 * malloc/arena.c: Likewise.
43055 * malloc/set-freeres.c: Likewise.
43056 * misc/err.c: Likewise.
43057 * misc/getttyent.c: Likewise.
43058 * misc/mntent_r.c: Likewise.
43059 * posix/getopt.c: Likewise.
43060 * posix/wordexp.c: Likewise.
43061 * pwd/fgetpwent_r.c: Likewise.
43062 * resolv/Versions: Likewise.
43063 * resolv/res_hconf.c: Likewise.
43064 * shadow/fgetspent_r.c: Likewise.
43065 * shadow/putspent.c: Likewise.
43066 * stdio-common/printf_fphex.c: Likewise.
43067 * stdio-common/tmpfile.c: Likewise.
43068 * stdlib/abort.c: Likewise.
43069 * stdlib/fmtmsg.c: Likewise.
43070 * sunrpc/auth_unix.c: Likewise.
43071 * sunrpc/clnt_perr.c: Likewise.
43072 * sunrpc/clnt_tcp.c: Likewise.
43073 * sunrpc/clnt_udp.c: Likewise.
43074 * sunrpc/clnt_unix.c: Likewise.
43075 * sunrpc/openchild.c: Likewise.
43076 * sunrpc/svc_simple.c: Likewise.
43077 * sunrpc/svc_tcp.c: Likewise.
43078 * sunrpc/svc_udp.c: Likewise.
43079 * sunrpc/svc_unix.c: Likewise.
43080 * sunrpc/xdr.c: Likewise.
43081 * sunrpc/xdr_array.c: Likewise.
43082 * sunrpc/xdr_rec.c: Likewise.
43083 * sunrpc/xdr_ref.c: Likewise.
43084 * sunrpc/xdr_stdio.c: Likewise.
43086 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43088 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43090 2011-07-03 Andreas Jaeger <aj@suse.de>
43092 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
43093 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
43094 regenerate with gen-libm-tests.pl.
43096 2010-05-12 Petr Baudis <pasky@suse.cz>
43099 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
43100 around j0() zero points by switching to j1().
43101 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43102 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43103 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43104 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43106 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43108 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
43110 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
43112 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43113 Patch in part by Pavel Roskin <proski@gnu.org>.
43116 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
43118 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
43119 Free memory block if necessary.
43122 * libio/genops.c (INTDEF): For string streams the _lock pointer can
43123 be NULL. Don't lock in this case.
43125 2011-09-09 Roland McGrath <roland@hack.frob.com>
43127 * elf/elf.h (ELFOSABI_GNU): New macro.
43128 (ELFOSABI_LINUX): Define to that.
43130 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
43132 * string/strncat.c (strncat): Undef the symbol in case it has been
43133 defined in bits/string.h.
43135 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43137 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
43139 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
43142 2011-08-17 Andreas Jaeger <aj@suse.de>
43144 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
43146 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
43147 Ian Lance Taylor <iant@google.com>
43149 * math/libm-test.inc (lround_test): New testcase.
43150 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
43152 2011-09-08 Ulrich Drepper <drepper@gmail.com>
43154 * Makefile: Remove support for automatic cvs check-ins.
43155 * Makerules: Likewise.
43156 * config.make.in: Likewise.
43157 * configure.in: Likewise.
43158 * intl/Makefile: Likewise.
43159 * locale/Makefile: Likewise.
43160 * po/Makefile: Likewise.
43161 * posix/Makefile: Likewise.
43162 * sysdeps/gnu/Makefile: Likewise.
43163 * sysdeps/mach/hurd/Makefile: Likewise.
43164 * sysdeps/sparc/sparc32/Makefile: Likewise.
43167 * posix/Makefile (bug-regex32-ENV): Define.
43168 Patch by John Stanley <jpsinthemix@verizon.net>.
43170 * misc/Makefile (headers): Add bits/select2.h.
43171 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
43172 * misc/bits/select2.h: New file.
43173 * include/bits/select2.h: New file.
43174 * debug/Makefile (routines): Add fdelt_chk.
43175 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
43176 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
43178 * debug/fdelt_chk.c: New file.
43180 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
43181 * wcsmbs/test-wmemcmp.c: Likewise.
43182 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
43183 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
43185 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43187 * string/Makefile (strop-tests): Add memcmp.
43188 * string/test-wmemcmp.c: New file.
43189 * string/test-memcmp.c: Add wmemcmp support.
43191 2011-09-08 Roland McGrath <roland@hack.frob.com>
43194 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
43197 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
43198 garbage value in a __mach_port_mod_refs call in the cases of the
43199 task-self and thread-self ports.
43201 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43203 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
43205 2011-09-08 Andreas Schwab <schwab@redhat.com>
43207 * elf/dl-load.c (lose): Check for non-null L.
43209 2011-09-07 Ulrich Drepper <drepper@gmail.com>
43211 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
43213 * elf/dl-libc.c (dlerror_run): Pass back error code from
43217 * elf/dl-load.c (lose): Free l_origin if it is valid.
43219 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
43221 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43222 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43223 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43224 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43225 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43226 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
43228 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43230 * sysdeps/powerpc/fpu/e_hypot.c: New file.
43231 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
43232 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
43233 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
43234 * sysdeps/powerpc/fpu/k_cosf.c: New file.
43235 * sysdeps/powerpc/fpu/k_sinf.c: New file.
43236 * sysdeps/powerpc/fpu/s_cosf.c: New file.
43237 * sysdeps/powerpc/fpu/s_sinf.c: New file.
43238 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
43239 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
43241 2011-08-15 Alan Modra <amodra@gmail.com>
43244 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
43245 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
43246 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
43247 ppc_mcount to static-only-routines.
43248 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
43250 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
43251 __mcount_internal with usual JUMPTARGET. Remove useless nop.
43253 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
43255 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
43256 for finite and infinity parameters.
43258 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43260 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
43261 and add nop instructions for throughput optimization.
43262 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43264 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
43266 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
43267 aligned copy for power7 with vector-scalar instructions.
43268 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43270 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
43272 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
43275 2011-09-07 Andreas Schwab <schwab@redhat.com>
43278 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
43281 2011-09-07 Ulrich Drepper <drepper@gmail.com>
43283 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43284 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
43285 syscall wrapper around clock_gettime in __vdso_clock_gettime.
43286 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
43289 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43291 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
43292 Forgot to demangle the pointer.
43294 * sysdeps/i386/sysdep.h: Define atom_text_section.
43295 * sysdeps/x86_64/sysdep.h: Likewise.
43296 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
43297 section with atom_text_section.
43298 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43299 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43300 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43301 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43302 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
43304 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
43305 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
43306 already be defined. Change to take two parameters and don't assign
43307 result to variable. Adjust all users.
43308 Define INTERNAL_GETTIME if not already defined.
43309 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
43311 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
43312 HAVE_CLOCK_GETTIME_VSYSCALL.
43313 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
43315 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
43316 gettimeofday vsyscall, just use time.
43318 2011-09-06 Andreas Schwab <schwab@redhat.com>
43320 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
43323 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43325 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
43327 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
43329 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
43330 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
43331 syscall if possible.
43333 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43335 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
43336 e_ident. Don't pass to find_mapsXX.
43337 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
43339 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43341 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43342 strchr-sse2-no-bsf strrchr-sse2-no-bsf
43343 * sysdeps/x86_64/multiarch/strchr.S: Update.
43344 Check bit_slow_BSF bit.
43345 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43346 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
43347 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
43349 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43352 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
43354 (tryshell): Define.
43355 (__spawni): Change last parameter to be flag. Test
43356 SPAWN_XFLAGS_USE_PATH flag to use path or not.
43357 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
43358 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
43359 * posix/spawni.c: Likewise.
43360 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
43361 * posix/spawnp.c: Likewise. Change normal version to use
43362 SPAWN_XFLAGS_USE_PATH.
43363 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
43364 SPAWN_XFLAGS_TRY_SHELL.
43367 * posix/glob.h: Remove gcc 1.x support.
43370 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
43372 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43374 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43375 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
43377 * sysdeps/i386/i686/multiarch/strchr.S: New file.
43378 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
43379 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
43380 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
43381 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
43382 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
43384 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43386 * sysdeps/x86_64/wcscmp.S: New file.
43388 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
43389 wcscmp-c wcscmp-sse2
43390 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
43391 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
43392 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
43393 * wcsmbs/wcscmp.c: Allow renaming.
43395 2011-09-05 David S. Miller <davem@davemloft.net>
43397 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
43398 stack slot, rather than the struct return pointer slot.
43399 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
43400 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
43401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
43402 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
43404 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43406 * po/ja.po: Update from translation team.
43409 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
43410 kernel in 64-bit binaries.
43412 2011-09-01 David S. Miller <davem@davemloft.net>
43414 * elf/elf.h (HWCAP_SPARC_*): Move to..
43415 * sysdeps/sparc/sysdep.h: this new file and add new values.
43416 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
43417 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
43418 _DL_HWCAP_COUNT to 24.
43419 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43421 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
43422 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
43423 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
43424 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
43425 instead of magic constants.
43426 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43428 2011-08-31 David S. Miller <davem@davemloft.net>
43430 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
43431 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
43432 Reimplement to do errno handling inline.
43433 (SYSCALL_ERROR_HANDLER): New macro.
43434 (__SYSCALL_STRING): Do not do errno handling in asm.
43435 (__CLONE_SYSCALL_STRING): Delete.
43436 (__INTERNAL_SYSCALL_STRING): Delete.
43437 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
43438 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
43439 (PSEUDO): Reimplement to do errno handling inline.
43440 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
43441 (SYSCALL_ERROR_HANDLER): New macro.
43442 (__SYSCALL_STRING): Do not do errno handling in asm.
43443 (__CLONE_SYSCALL_STRING): Delete.
43444 (__INTERNAL_SYSCALL_STRING): Delete.
43445 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
43446 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
43448 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
43449 (inline_syscall*): Add 'err' argument.
43450 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
43451 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
43452 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
43453 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
43455 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
43456 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43458 2011-08-30 Andreas Schwab <schwab@redhat.com>
43460 * elf/rtld.c (dl_main): Relocate objects in dependency order.
43462 2011-08-29 Jiri Olsa <jolsa@redhat.com>
43464 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
43467 2011-08-24 David S. Miller <davem@davemloft.net>
43469 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
43471 2011-08-24 Andreas Schwab <schwab@redhat.com>
43473 * elf/Makefile: Add rules to build and run unload8 test.
43474 * elf/unload8.c: New file.
43475 * elf/unload8mod1.c: New file.
43476 * elf/unload8mod1x.c: New file.
43477 * elf/unload8mod2.c: New file.
43478 * elf/unload8mod3.c: New file.
43480 * elf/dl-close.c (_dl_close_worker): Reset private search list if
43483 2011-08-23 David S. Miller <davem@davemloft.net>
43485 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
43486 subtract stack bias.
43487 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
43488 %sp not %fp in calculations.
43489 (_JMPBUF_UNWINDS_ADJ): Likewise.
43491 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
43492 (aio_suspend): Call it to force an exception region around the
43493 AIO_MISC_WAIT() invocation.
43495 2011-08-23 Andreas Schwab <schwab@redhat.com>
43497 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
43500 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
43502 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
43504 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
43505 and <dl-machine.h>.
43506 (Elf64_FuncDesc): Remove.
43508 2011-08-22 David S. Miller <davem@davemloft.net>
43510 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
43511 sigaltstack check, add missing cfi directives.
43512 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
43513 missing cfi directives, and sigaltstack handling.
43515 2011-08-16 Andreas Schwab <schwab@redhat.com>
43518 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
43519 object is seen twice.
43520 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43522 * elf/Makefile (distribute): Add tst-initorder2.c.
43523 (tests): Add tst-initorder2.
43524 (modules-names): Add tst-initorder2a tst-initorder2b
43525 tst-initorder2c tst-initorder2d. Add rules to build them.
43526 ($(objpfx)tst-initorder2.out): New rule.
43527 * elf/tst-initorder2.c: New file.
43528 * elf/tst-initorder2.exp: New file.
43530 2011-08-22 Andreas Schwab <schwab@redhat.com>
43532 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
43534 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
43535 dependencies back to end of function.
43537 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43538 $(elfobjdir)/ld.so.
43540 2011-08-21 Ulrich Drepper <drepper@gmail.com>
43542 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
43543 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
43544 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
43545 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
43546 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
43547 of __vdso_gettimeofday.
43548 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
43549 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
43551 (_libc_vdso_platform_setup): Remove initialization of
43552 __vdso_gettimeofday and __vdso_time.
43554 2011-08-20 Ulrich Drepper <drepper@gmail.com>
43556 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
43557 and fgetc_unlocked.
43558 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
43561 * elf/dl-open.c (add_to_global): Report additions to the global scope
43562 for LD_DEBUG=scopes.
43563 (dl_open_worker): Also print scope of newly loaded dependencies.
43564 (_dl_show_scope): Indicate if there is no scope.
43567 * stdio-common/Makefile (tests): Add bug24.
43568 * stdio-common/bug24.c: New file.
43570 2011-08-19 Andreas Jaeger <aj@suse.de>
43573 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
43574 non-existant file when using close-on-exec mode.
43576 2011-08-20 Ulrich Drepper <drepper@gmail.com>
43578 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
43579 the very first instruction.
43581 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
43582 the CFI state in the end.
43583 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
43584 inclusion of dl-trampoline.h.
43585 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
43587 2011-08-19 Andreas Schwab <schwab@redhat.com>
43589 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
43590 expectations for long double.
43592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
43593 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
43595 2011-08-14 David S. Miller <davem@davemloft.net>
43597 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
43598 artificual limit depends upon the system page size.
43600 2011-08-17 Ulrich Drepper <drepper@gmail.com>
43602 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
43603 * resolv/Makefile: Define CFLAGS-libresolv.
43605 2011-08-17 Andreas Schwab <schwab@redhat.com>
43607 * nss/makedb.c (compute_tables): Make variables used in nested
43610 2011-08-17 Ulrich Drepper <drepper@gmail.com>
43612 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
43613 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
43614 if buffer was too small.
43616 * elf/pldd.c (main): Attach to all threads in the process.
43617 Rewrite /proc handling to use *at functions.
43619 2011-08-16 Ulrich Drepper <drepper@gmail.com>
43621 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
43622 specifies first scope to show.
43623 (dl_open_worker): Update callers. Move printing scope of new
43624 object to before the relocation.
43625 * elf/rtld.c (dl_main): Update _dl_show_scope call.
43626 * sysdeps/generic/ldsodefs.h: Update declaration.
43628 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
43629 string for the scope number.
43631 2011-08-14 Ulrich Drepper <drepper@gmail.com>
43633 * nscd/servicescache.c (cache_addserv): Make sure written is always
43636 2011-08-14 Roland McGrath <roland@hack.frob.com>
43638 * sysdeps/i386/i486/bits/atomic.h
43639 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
43640 statement expression, so as to suppress "set but not used" warning.
43641 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
43643 * string/strncat.c (STRNCAT): Use prototype definition.
43645 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
43646 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
43648 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
43649 (localedef-modules): Add localedef.
43650 (locale-modules): Add locale.
43652 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
43653 * elf/rtld.c (dl_main): Invert order of assignment in last change,
43654 to avoid a warning.
43656 2011-08-14 David S. Miller <davem@davemloft.net>
43658 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
43659 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
43661 2011-08-13 Ulrich Drepper <drepper@gmail.com>
43663 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
43664 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
43665 * elf/rtld.c (dl_main): Set l_name of vDSO.
43666 Call _dl_show_scope when DL_DEBUG_SCOPES.
43667 (process_dl_debug): Recognize scopes flag and also set it for all.
43668 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
43669 Declare _dl_show_scope.
43671 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
43672 (do_dlopen): Pass caller_dlopen to dl_open.
43673 (__libc_dlopen_mode): Initialize caller_dlopen.
43675 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
43676 of libc. Make tolower call locale-independent. Optimize a bit by
43677 using isdigit instead of isalnum.
43678 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
43680 2011-08-12 Ulrich Drepper <drepper@gmail.com>
43682 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
43683 was a dependency or dynamically loaded.
43685 2011-08-11 Ulrich Drepper <drepper@gmail.com>
43687 * intl/l10nflist.c: Allow architecture-specific pop function.
43688 * sysdeps/x86_64/l10nflist.c: New file.
43690 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
43693 2011-08-10 Andreas Schwab <schwab@redhat.com>
43695 * include/dirent.h: Add libc_hidden_proto for scandirat and
43696 scandirat64. Don't declare __scandirat64.
43697 * dirent/scandirat.c: Add libc_hidden_def.
43698 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
43699 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
43701 2011-08-10 David S. Miller <davem@davemloft.net>
43703 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
43705 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43706 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43707 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43709 2011-08-09 Ulrich Drepper <drepper@gmail.com>
43711 * Versions.def [libc]: Add GLIBC_2.15.
43712 * dirent/Makefile (routines): Add scandirat and scandirat64.
43713 * dirent/Versions [libc]: Export scandirat and scandirat64 for
43715 * dirent/dirent.h: Declare scandirat and scandirat64.
43716 * dirent/scandirat.c: New file.
43717 * dirent/scandirat64.c: New file.
43718 * sysdeps/wordsize-64/scandirat.c: New file.
43719 * sysdeps/wordsize-64/scandirat64.c: New file.
43720 * dirent/opendir.c: Define opendirat.
43721 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
43723 * dirent/scandir64.c: Adjust for scandir.c change.
43724 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
43725 __scandirat64, and __scandir_cancel_handler.
43726 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
43727 additional parameter and use openat instead of open (outside of ld.so).
43728 Add new __opendir as wrapper around __opendirat.
43729 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
43730 here without requiring old scandirat implementation.
43732 2011-08-08 Ulrich Drepper <drepper@gmail.com>
43734 * dirent/scandir.c (cancel_handler): Renamed to
43735 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
43736 defined. Adjust users.
43737 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
43738 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
43740 2011-08-04 Ulrich Drepper <drepper@gmail.com>
43742 * string/test-string.h (IMPL): Use __STRING to expand name and then
43745 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
43748 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43750 * string/Makefile: Update.
43751 (strop-tests): Append strncat.
43752 * string/test-wcscmp.c: New file.
43753 New comprehensive test for wcscmp.
43754 * string/test-strcmp.c: Update.
43755 (WIDE): New define.
43757 2011-07-22 Andreas Schwab <schwab@redhat.com>
43759 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
43762 2011-07-26 Andreas Schwab <schwab@redhat.com>
43764 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43765 encoding to ACE if AI_IDN.
43767 2011-08-01 Jakub Jelinek <jakub@redhat.com>
43769 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
43770 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
43772 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43774 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
43775 Fix overflow bug in strncat.
43776 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43778 * string/test-strncat.c: Update.
43779 Add new tests for checking overflow bugs.
43781 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43783 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43784 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
43785 * sysdeps/i386/i686/multiarch/strcat.S: New file.
43786 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
43787 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
43788 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
43789 * sysdeps/i386/i686/multiarch/strncat.S: New file.
43790 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
43791 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
43793 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
43794 (USE_AS_STRCAT): Define.
43795 Add strcat and strncat support.
43796 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43798 2011-07-25 Andreas Schwab <schwab@redhat.com>
43800 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
43801 __n bigger than INT_MAX+1.
43802 (__strncmp_g): Likewise.
43804 2011-07-23 Ulrich Drepper <drepper@gmail.com>
43806 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
43807 * libio/stido.h: Likewise.
43809 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
43811 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
43814 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
43815 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43816 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43817 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
43818 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43821 * scripts/test-installation.pl: Don't expect libnss_test1 to be
43824 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
43826 (_dl_x86_64_save_sse): Likewise.
43828 2011-07-22 Ulrich Drepper <drepper@gmail.com>
43830 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
43832 (_dl_x86_64_save_sse): Likewise.
43834 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
43836 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
43838 2011-07-21 Andreas Schwab <schwab@redhat.com>
43840 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
43842 (_dl_x86_64_save_sse): Use correct AVX check.
43844 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43846 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
43847 bug in strncpy/strncat.
43848 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43850 2011-07-21 Ulrich Drepper <drepper@gmail.com>
43852 * string/tester.c (test_strcat): Add tests for different alignments
43853 of source and destination.
43854 (test_strncat): Likewise.
43856 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43859 * posix/glob.c (glob): Check passed in values before using them in
43860 expressions to avoid some overflows.
43861 (glob_in_dir): Likewise.
43864 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
43865 check for AVX enablement so that we don't crash with old kernels and
43867 * elf/tst-audit4.c: Add same checks here.
43868 * elf/tst-audit6.c: Likewise.
43870 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
43872 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
43874 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
43876 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43878 * po/cs.po: Update from translation team.
43879 * po/bg.po: Likewise.
43881 2011-07-12 Marek Polacek <mpolacek@redhat.com>
43883 * misc/sys/cdefs.h: Add support for const attribute.
43884 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
43885 to gnu_dev_{major,minor,makedev} functions.
43887 2011-07-20 Marek Polacek <mpolacek@redhat.com>
43889 * intl/dcigettext.c (get_output_charset): Add missing bracket.
43891 2011-07-20 Andreas Schwab <schwab@redhat.com>
43893 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
43896 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43898 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
43899 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
43900 register in order to avoid conflicts with the soft frame pointer
43901 being held in r11 when necessary.
43902 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
43903 (INTERNAL_VSYSCALL_NCS): Likewise.
43905 2011-07-14 Marek Polacek <mpolacek@redhat.com>
43907 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
43908 * elf/dl-fini.c (_dl_fini): Adjust caller.
43909 * elf/dl-close.c (_dl_close_worker): Likewise.
43910 * sysdeps/generic/ldsodefs.h: Adjust declaration.
43912 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43914 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
43915 "aux_cache->nlibs < 0".
43917 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
43918 in the reload-count case.
43920 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43922 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43923 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
43924 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
43925 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
43926 * sysdeps/x86_64/multiarch/strcat.S: New file.
43927 * sysdeps/x86_64/multiarch/strncat.S: New file.
43928 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
43929 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
43930 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
43931 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
43932 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
43933 (USE_AS_STRCAT): Define.
43934 Add strcat and strncat support.
43935 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43936 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43937 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
43938 * string/strncat.c: Update.
43939 (USE_AS_STRNCAT): Define.
43940 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43941 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
43943 * sysdeps/x86_64/multiarch/init-arch.h
43944 (bit_Prefer_PMINUB_for_stringop): New.
43945 (index_Prefer_PMINUB_for_stringop): Likewise.
43946 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
43947 bit_Prefer_PMINUB_for_stringop.
43949 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43951 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
43953 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
43954 of casting of buffer.
43955 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
43956 buffer32 and buffer64.
43957 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
43958 writes instead of casting of buffer.
43959 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
43961 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
43964 2011-07-19 Andreas Schwab <schwab@redhat.com>
43966 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
43968 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43970 * nscd/nscd.c (termination_handler): Don't do anything for a database
43971 if it has not yet been initialized.
43973 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43975 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43977 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43979 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43981 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43983 * po/nl.po: Update from translation team.
43984 * po/sv.po: Likewise.
43986 2011-07-16 Roland McGrath <roland@hack.frob.com>
43988 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
43989 now disallowed by GCC.
43991 * configure.in (use-default-link): Default to yes if a test -shared
43992 link meets our qualifications.
43993 * configure: Regenerated.
43995 * config.make.in (output-format): New variable.
43996 * configure.in: Check for ld --print-output-format support.
43997 * configure: Regenerated.
43998 * Makerules ($(common-objpfx)format.lds)
43999 [$(output-format) != unknown]: Just use $(output-format),
44000 instead of the linker-script munging.
44002 2011-07-14 Roland McGrath <roland@hack.frob.com>
44004 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
44005 of $(common-objpfx)shlib.lds.
44006 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
44008 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
44009 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
44011 * configure.in (-z relro check): Adjust test code to add a large
44012 writable data section after it.
44013 * configure: Regenerated.
44015 2011-07-11 Roland McGrath <roland@hack.frob.com>
44017 * configure.in (-z relro check): Fix test code to make the variable
44019 * configure: Regenerated.
44021 2011-07-11 Ulrich Drepper <drepper@gmail.com>
44023 * nscd/nscd.h (struct traced_file): Define.
44024 (struct database_dyn): Remove inotify_descr, reset_res, and filename
44025 elements. Add traced_files.
44026 (inotify_fd): Declare.
44027 (register_traced_file): Declare.
44028 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
44029 (inotify_fd): Export.
44030 (resolv_conf_descr): Remove.
44031 (nscd_init): Move inotify descriptor creation to main.
44032 Don't register files for notification here.
44033 (register_traced_file): New function.
44034 (invalidate_cache): Don't use reset_res to determine whether to call
44035 res_init, go through the list of registered files.
44036 (main_loop_poll): The inotify descriptors are now stored in the
44037 structures for the traced files.
44038 (main_loop_epoll): Likewise
44039 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
44040 to __nss_disable_nscd.
44041 * nscd/cache.c (prune_cache): There is no single inotify descriptor
44042 for a database anymore. Check the records for all the registered
44044 * nss/Makefile (libnss_files-routines): Add files-init.
44045 (libnss_db-routines): Add db-init.
44046 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
44047 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
44048 * nss/nss_db/db-init.c: New file.
44049 * nss/nss_files/files-init.c: New file.
44050 * nss/nsswitch.c (nss_load_library): New function. Broken out of
44051 __nss_lookup_function.
44052 (__nss_lookup_function): Call nss_load_library.
44053 (nss_load_all_libraries): New function.
44054 (__nss_disable_nscd): Take parameter with callback function for files
44055 to register. Set is_nscd. Load all the DSOs for the NSS modules
44056 used for the cached services.
44057 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
44058 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
44059 options for features to all the files in nscd.
44061 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
44063 2011-07-10 Roland McGrath <roland@hack.frob.com>
44065 * csu/elf-init.c (__libc_csu_init): Comment typo.
44067 2011-07-09 Ulrich Drepper <drepper@gmail.com>
44069 * po/pl.po: Update from translation team.
44070 * po/ja.po: Likewise.
44071 * po/ru.po: Likewise.
44072 * po/ko.po: Likewise.
44073 * po/fr.po: Likewise.
44075 2011-07-09 Roland McGrath <roland@hack.frob.com>
44077 * configure.in (.ctors/.dtors header and trailer check):
44078 Use an empirical test on a built program.
44079 * configure: Regenerated.
44081 * configure.in (-z relro check): Use an empirical test on a built DSO.
44082 Detect, but do not require, on ia64.
44083 * configure: Regenerated.
44085 * configure.in (READELF): Find it with AC_CHECK_TOOL.
44086 Update tests that use readelf to use $READELF instead.
44087 * configure: Regenerated.
44089 2011-07-08 Ulrich Drepper <drepper@gmail.com>
44091 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
44092 if the result is not used.
44094 2011-07-05 Andreas Jaeger <aj@suse.de>
44097 * stdlib/tst-strtod.c: Add testcase.
44099 2011-07-07 Ulrich Drepper <drepper@gmail.com>
44101 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
44102 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
44103 The latter has a higher limit. Take additional parameter to pass to
44105 (__pathconf): Pass file to __statfs_link_max.
44106 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
44108 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
44112 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
44113 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44115 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
44116 (__statfs_filesize_max): Likewise.
44117 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
44119 2011-07-05 Andreas Jaeger <aj@suse.de>
44121 * resolv/res_comp.c (dn_skipname): Remove unused variable.
44123 2011-07-06 Marek Polacek <mpolacek@redhat.com>
44125 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
44127 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
44130 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
44132 * Makefile (strop-tests): Add strncat.
44133 * string/test-strncat.c: New file.
44135 2011-06-30 Marek Polacek <mpolacek@redhat.com>
44137 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
44139 2011-06-21 Andreas Jaeger <aj@suse.de>
44141 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
44142 Copy rule from iconvdata/Makefile.
44144 2011-07-06 Ulrich Drepper <drepper@gmail.com>
44147 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
44148 but no long options are defined, just return 'W'.
44150 2011-06-22 Marek Polacek <mpolacek@redhat.com>
44153 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
44155 2011-07-06 Ulrich Drepper <drepper@gmail.com>
44157 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
44159 (innetgr): Likewise.
44161 2011-07-05 Roland McGrath <roland@hack.frob.com>
44163 * config.make.in (install_root): Default to $(DESTDIR).
44165 2011-07-05 Ulrich Drepper <drepper@gmail.com>
44167 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
44169 2011-07-02 Roland McGrath <roland@hack.frob.com>
44171 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
44173 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
44174 containing directory rather than embedding absolute directory names.
44176 * scripts/check-local-headers.sh: Rewritten using awk.
44177 Match by word, not by line. Print error messages for matches.
44178 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
44180 * Makerules [shlib-lds-flags empty]:
44181 ($(common-objpfx)libc_pic.opts): New target.
44182 ($(common-objpfx)libc_pic.os.clean): New target.
44183 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
44185 * config.make.in (OBJCOPY): New variable.
44186 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
44187 * configure: Regenerated.
44189 * config.make.in (use-default-link): New variable.
44190 * configure.in (use_default_link): Grok --with-default-link to set it.
44191 * configure: Regenerated.
44192 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
44193 (shlib-lds, shlib-lds-flags): Define to empty.
44195 * Makerules (shlib-lds): New variable.
44196 (shlib-lds-flags): New variable.
44197 (build-shlib, build-moduile, build-module-asneeded): Use it.
44198 ($(common-objpfx)libc.so): Use $(shlib-lds).
44199 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
44200 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
44202 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
44203 DT_FLAGS/DT_FLAGS_1 with zero flags.
44205 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
44206 linker script munging.
44208 2011-07-02 Ulrich Drepper <drepper@gmail.com>
44210 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
44212 * crypt/sha512.c (sha512_process_block): Perform total addition using
44213 128-bit if possible.
44214 (__sha512_finish_ctx): Likewise.
44215 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
44217 * crypt/sha256.c (SWAP64): Define.
44218 (sha256_process_block): Perform total addition using 64-bit if
44220 (__sha256_finish_ctx): Likewise.
44222 2011-07-01 Ulrich Drepper <drepper@gmail.com>
44224 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
44225 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44226 * nscd/hstcache.c (cache_addhst): Likewise.
44227 * nscd/grpcache.c (cache_addgr): Likewise.
44228 * nscd/aicache.c (addhstaiX): Likewise
44229 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
44231 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
44233 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
44234 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44235 * nscd/hstcache.c (cache_addhst): Likewise.
44236 * nscd/grpcache.c (cache_addgr): Likewise.
44237 * nscd/aicache.c (addhstaiX): Likewise
44239 2011-07-01 Andreas Schwab <schwab@redhat.com>
44241 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
44242 domain only when needed.
44244 2011-06-30 Andreas Schwab <schwab@redhat.com>
44246 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
44247 is always restored.
44249 2011-06-29 Ulrich Drepper <drepper@gmail.com>
44251 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
44252 are re-adding the entry.
44253 * nscd/servicescache.c (cache_addserv): Likewise.
44255 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
44257 * sysdeps/generic/dl-irel.h: fix protection against multiple
44259 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
44261 2011-06-28 Ulrich Drepper <drepper@gmail.com>
44264 * malloc/memusage.sh: Fix quoting in message.
44265 * debug/xtrace.sh: Likewise.
44267 * configure.in: Remove support for --experimental-malloc option, make
44269 * config.make.in: Likewise.
44270 * malloc/Makefile: Likewise.
44272 2011-06-27 Andreas Schwab <schwab@redhat.com>
44274 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
44275 two-byte characters.
44277 2011-06-27 Roland McGrath <roland@hack.frob.com>
44279 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
44280 AC_CACHE_CHECK invocation.
44281 * configure: Regenerated.
44283 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
44285 2011-06-27 Ulrich Drepper <drepper@gmail.com>
44288 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
44289 bit from old_res_options.
44291 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
44293 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
44294 value type for setfct.
44296 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
44298 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44299 __gettimeofday instead of gettimeofday.
44301 2011-06-26 Ulrich Drepper <drepper@gmail.com>
44303 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44305 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
44307 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
44309 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
44312 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44314 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44315 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44316 strcpy-sse2-unaligned strncpy-sse2-unaligned
44317 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
44318 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
44319 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
44320 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
44321 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
44322 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
44323 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
44324 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
44325 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
44326 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
44327 (STRCPY): Support SSE2 and SSSE3 versions.
44329 2011-06-24 Ulrich Drepper <drepper@gmail.com>
44332 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
44333 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
44334 kernels which artificially limit size of requests.
44336 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44338 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44339 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44340 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
44341 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
44342 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
44343 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
44344 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
44345 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
44346 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
44347 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
44348 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
44349 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
44350 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
44351 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
44352 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
44353 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44354 Enable unaligned load optimization for Intel Core i3, i5 and i7
44356 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
44358 (index_Fast_Unaligned_Load): Define.
44359 (HAS_FAST_UNALIGNED_LOAD): Define.
44361 2011-06-23 Marek Polacek <mpolacek@redhat.com>
44363 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
44365 2011-06-22 Ulrich Drepper <drepper@gmail.com>
44368 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
44369 until it is clear that the information is realy needed.
44370 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
44372 2011-06-22 Andreas Schwab <schwab@redhat.com>
44374 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
44376 2011-06-22 Ulrich Drepper <drepper@gmail.com>
44378 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44379 /sys/devices/system/cpu/online if it is usable.
44381 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
44382 reading the information from the /proc filesystem to once a second.
44384 2011-06-21 Andreas Jaeger <aj@suse.de>
44386 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
44387 NULL after inclusion of kernel headers.
44389 2011-06-21 Ulrich Drepper <drepper@gmail.com>
44391 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
44392 calls to internal_setent.
44395 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
44396 addresses using gethostbyname4_r ignore IPv4 addresses.
44398 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
44399 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
44401 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
44403 2011-06-20 David S. Miller <davem@davemloft.net>
44405 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
44407 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
44409 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
44410 (elf_irel): Use it.
44411 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
44412 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
44413 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
44414 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
44415 * sysdeps/x86_64/dl-irel.h: Likewise.
44417 * elf/dl-runtime.c: Use elf_ifunc_invoke.
44418 * elf/dl-sym.c: Likewise.
44420 2011-06-15 Ulrich Drepper <drepper@gmail.com>
44422 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
44423 need to dereference resplen2.
44425 2011-06-14 Andreas Schwab <schwab@redhat.com>
44427 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
44429 2011-06-15 Ulrich Drepper <drepper@gmail.com>
44431 * Makeconfig: Define vardbdir and inst_vardbdir.
44432 * nss/Makefile: Add rules to install db-Makefile.
44434 * nss/nss_db/db-XXX.c: Cleanup.
44436 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
44437 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
44439 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
44440 * nss/makedb.c: Implement -g option to specify that value strings
44441 are generated and should not be added to table iterated over for
44443 * nss/nss_db/db-initgroups.c: New file.
44445 * nss/getent.c: Add support for initgroups lookups through getgrouplist
44448 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
44449 (internal_getgrouplist): Adjust to name change.
44450 Update use_initgroups_entry if this is not the first call.
44451 * nss/databases.def: Add initgroups entry.
44453 * nss/makedb.c (compute_tables): Check result of multiple hash table
44454 sizes to minimize maximum chain length.
44456 2011-06-14 Ulrich Drepper <drepper@gmail.com>
44458 * Versions.def: Add entry for libnss_db.
44459 * shlib-versions: Likewise.
44460 * nss/Makefile: Add rules to build libnss_db.
44461 * nss/Versions: Add libnss_db information. Organize libnss_files
44463 * nss/db-Makefile: Add gshadow support. Change rules for the new
44464 makedb progra. Some minor improvements to generate smaller files.
44465 * nss/nss_db/nss_db.h: Move NSS database header data structures to
44467 * nss/makedb.c: ...here.
44468 Improve database format to be smaller and require less memory at
44470 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
44472 * nss/nss_db/db-netgrp.c: Likewise.
44473 * nss/nss_db/db-open.c: Likewise.
44474 * nss/nss_files/flies-XXX.x: Adjust comments.
44475 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
44476 * nss/nss_files/files-grp.c: Likewise.
44477 * nss/nss_files/files-hosts.c: Likewise.
44478 * nss/nss_files/files-network.c: Likewise.
44479 * nss/nss_files/files-proto.c: Likewise.
44480 * nss/nss_files/files-pwd.c: Likewise.
44481 * nss/nss_files/files-rpc.c: Likewise.
44482 * nss/nss_files/files-service.c: Likewise.
44483 * nss/nss_files/files-sgrp.c: Likewise.
44484 * nss/nss_files/files-spwd.c: Likewise.
44485 * nss/nss_db/db-alias.c: Removed.
44486 * nss/nss_db/dummy-db.h: Removed.
44488 2011-06-02 Ulrich Drepper <drepper@gmail.com>
44490 * nss/makedb.c: Rewritten to not use database library.
44491 * nss/Makefile: Update to build new makedb program.
44493 2011-06-14 Andreas Jaeger <aj@suse.de>
44495 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
44496 memset declaration.
44498 2011-06-10 Andreas Schwab <schwab@redhat.com>
44500 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
44503 2011-06-10 Roland McGrath <roland@hack.frob.com>
44505 * Makerules (shlib.lds): Fail if the linker script comes out empty.
44506 * elf/Makefile ($(objpfx)ld.so): Likewise.
44508 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
44509 Don't list ld.so twice in dependencies.
44511 * posix/bug-regex31.c: Include <stdlib.h>.
44513 * nscd/hstcache.c (cache_addhst): Remove unused variable.
44515 * nis/nss_compat/compat-spwd.c
44516 (getspent_next_nss_netgr): Remove unused variable.
44517 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
44519 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
44520 nonmembers" output to use the right array.
44522 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
44524 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
44526 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
44527 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
44528 * catgets/gencat.c (read_input_file): Likewise.
44529 * locale/programs/locarchive.c (enlarge_archive): Likewise.
44531 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
44532 variable definition inside #if's controlling its use.
44534 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
44536 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
44538 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
44540 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
44543 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
44545 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
44546 * configure: Regenerated.
44548 * Makerules: Revert last change.
44549 * elf/Makefile: Likewise.
44551 2011-06-09 Roland McGrath <roland@hack.frob.com>
44553 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
44554 * elf/Makefile ($(objpfx)librtld.os): Likewise.
44555 (reloc-link): Likewise.
44557 2011-06-09 Ulrich Drepper <drepper@gmail.com>
44559 * elf/Makefile: Add rules to build pldd.
44560 * elf/pldd.c: New file.
44561 * elf/pldd-xx.c: New file.
44563 2011-06-07 Ulrich Drepper <drepper@gmail.com>
44565 * version.h: Update for 2.15 development version.
44567 2011-06-07 David S. Miller <davem@davemloft.net>
44569 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
44571 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
44572 elf_machine_lazy_rel): Likewise.
44573 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44574 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
44575 elf_machine_lazy_rel): Likewise.
44576 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
44577 dl_hwcap via passed in argument.
44578 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
44581 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44583 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
44585 2011-06-06 Roland McGrath <roland@hack.frob.com>
44588 * manual/fdl-1.1.texi: New file, verbatim from:
44589 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
44590 * manual/lgpl-2.1.texi: New file, verbatim from:
44591 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
44592 * manual/Makefile (licenses): New variable, list those new file names.
44594 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
44596 * manual/fdl.texi: File removed.
44597 * manual/lesser.texi: File removed.
44598 * manual/libc.texinfo (Copying, Documentation License):
44599 Use new @include file names, put @appendix directive before @include.
44601 2011-06-04 Jakub Jelinek <jakub@redhat.com>
44604 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
44605 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
44606 (mq_open): Add __NTH.
44608 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
44610 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44611 Assume Intel Core i3/i5/i7 processor if AVX is available.
44613 2011-05-31 Ulrich Drepper <drepper@gmail.com>
44615 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44618 2011-05-31 Andreas Schwab <schwab@redhat.com>
44620 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
44621 memory. Use alloca_account. Fix memory leak when retrying.
44623 2011-05-31 Ulrich Drepper <drepper@gmail.com>
44625 * version.h (RELEASE): Bump for 2.14 release.
44626 * include/features.h (__GLIBC_MINOR__): Bump to 14.
44628 * config.make.in (RANLIB): Remove entry.
44630 2011-05-30 Ulrich Drepper <drepper@gmail.com>
44632 * po/Makefile (po-sed-cmd): Add ksh to extensions.
44633 (libc.pot): Work around missing support for .ksh extension in xgettext.
44636 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
44637 if both request failed.
44638 (send_dg): In case of server errors clear resplen or *resplen2.
44641 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
44642 when there are multiple maps.
44643 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
44644 (_dl_fini): Remove test here.
44646 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
44648 2011-05-29 Ulrich Drepper <drepper@gmail.com>
44651 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
44652 bit from old_res_options.
44653 (gaih_inet): Likewise.
44656 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
44659 * resolv/res_init.c (res_setoptions): Make the code more compact.
44662 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
44666 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
44668 * malloc/malloc.h: Mark malloc hook variables as deprecated.
44671 * malloc/malloc.h: Declare malloc hook variables as volatile.
44673 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
44677 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
44678 raise in the comment.
44679 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44680 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44681 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
44683 2011-05-28 Ulrich Drepper <drepper@gmail.com>
44686 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
44687 grow the buffers more if it already has to be sufficient.
44688 (build_wcs_upper_buffer): Likewise.
44689 * posix/regexec.c (check_matching): Likewise.
44690 (clean_state_log_if_needed): Likewise.
44691 (extend_buffers): Don't enlarge buffers beyond size of the input
44693 Patches mostly by Emil Wojak <emil@wojak.eu>.
44694 * posix/bug-regex32.c: New file.
44695 * posix/Makefile (tests): Add bug-regex32.
44697 * locale/findlocale.c (_nl_find_locale): Return right away if
44698 _nl_explode_name failed.
44699 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
44701 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
44703 * debug/xtrace.sh: Unify messages.
44704 * malloc/memusage.sh: Likewise.
44707 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
44708 time symbol from vDSO. Substitute with vsyscall if not available.
44709 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
44712 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
44713 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
44714 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
44715 Add sendmmsg and internal_sendmmsg.
44716 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
44717 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
44718 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
44720 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
44721 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
44722 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
44724 2011-05-27 Ulrich Drepper <drepper@gmail.com>
44727 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
44728 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
44730 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
44734 * iconvdata/Makefile (tests): Add bug-iconv9.
44735 * iconvdata/bug-iconv9.c: New file.
44737 2011-05-27 Andreas Schwab <schwab@redhat.com>
44740 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
44742 2011-05-25 Jakub Jelinek <jakub@redhat.com>
44744 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44745 (struct user_regs_struct): Change intcs field back to cs.
44747 2011-05-25 Ulrich Drepper <drepper@gmail.com>
44749 * po/ja.po: Update from translation team.
44751 2011-05-23 Ulrich Drepper <drepper@gmail.com>
44754 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
44755 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
44757 2011-05-20 Andreas Schwab <schwab@redhat.com>
44759 * stdlib/longlong.h: Update from GCC.
44761 2011-05-23 Andreas Schwab <schwab@redhat.com>
44763 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
44765 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
44766 Add parameter name.
44767 (__sysconf): Pass it down.
44769 2011-05-22 Ulrich Drepper <drepper@gmail.com>
44772 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
44774 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44775 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
44776 add in in __libc_use_alloca calls. Adjust callers.
44777 (glob): Use malloc in some situations.
44779 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
44780 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
44783 2011-05-21 Ulrich Drepper <drepper@gmail.com>
44785 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
44786 and CLOCK_BOOTTIME_ALARM.
44789 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
44792 * string/_strerror.c (__strerror_r): Print negative errors as signed
44796 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
44797 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
44798 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
44800 * configure.in: Fix typo in redirection and correct removal of test
44801 files in two cases.
44804 * locale/setlocale.c (new_composite_name): Fix test to check for
44805 identical name of all categories.
44808 * libio/filedoalloc.c (local_isatty): New function.
44809 (_IO_file_doallocate): Use local_isatty.
44810 * stdio-common/perror.c (perror): In case a new stream is used
44811 forward the stream error.
44812 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
44815 2011-05-20 Ulrich Drepper <drepper@gmail.com>
44818 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
44820 * include/alloca.h (extend_alloca_account): Define.
44823 * posix/regex.h: Fix comments with documentation of user-accessible
44824 fields after compilation and describe correct free'ing of pattern
44825 after re_compile_pattern.
44826 Patch by Reuben Thomas <rrt@sc3d.org>.
44828 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
44830 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
44831 and -mno-altivec to prevent the compiler from using Altivec and/or
44832 VSX instructions when the corresponding registers are not available.
44834 2011-05-19 Andreas Schwab <schwab@redhat.com>
44836 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
44838 2011-05-19 Ulrich Drepper <drepper@gmail.com>
44840 * libio/freopen.c (freopen): Use __dup2, not dup2.
44841 * libio/freopen64.c (freopen64): Likewise.
44843 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
44846 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
44847 * math/Makefile (tests): Add test-powl.
44848 (CFLAGS-test-powl.c): Define.
44849 * math/test-powl.c: New file.
44851 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
44853 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
44855 2011-05-17 Ulrich Drepper <drepper@gmail.com>
44858 * iconvdata/gb18030.c: Update to GB18020-2005.
44860 2011-05-16 Ulrich Drepper <drepper@gmail.com>
44862 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
44863 RE_SYNTAX_POSIX_AWK): Update to match recent development.
44864 Patch by Aharon Robbins <arnold@skeeve.com>.
44867 * stdlib/putenv.c (putenv): Don't always create copy of the variable
44871 * misc/pselect.c (__pselect): Handle timeout value errors hidden
44872 through underflows.
44875 * misc/error.c (error_at_line): Ensure file_name and old_file_name
44876 point to strings before performing equality test for error_one_per_line
44880 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
44883 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44884 (struct user_fpregs_struct): Avoid __uint*_t types.
44887 * malloc/mtrace.c (tr_where): Add additional parameter to point to
44888 symbol info. Use it instead of calling _dl_addr locally.
44889 (lock_and_info): New function.
44890 (tr_freehook): Call lock_and_info and pass symbol info as additional
44891 parameter to tr_where.
44892 (tr_mallochook): Likewise.
44893 (tr_reallochook): Likewise.
44894 (tr_memalignhook): Likewise.
44896 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
44897 used and couldn't be at all thread-safe.
44899 2011-05-15 Ulrich Drepper <drepper@gmail.com>
44901 * libio/freopen.c (freopen): Don't close old file descriptor
44902 before the new one is opened. Instead dup the new file descriptor
44903 to the old one after the new stream is created.
44904 * libio/freopen64.c (freopen64): Likewise.
44905 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
44906 * libio/fileops.c (_IO_new_file_close_it): Handle new
44907 _IO_FLAGS2_NOCLOSE flag.
44908 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
44909 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
44910 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
44911 _IO_FLAGS2_NOCLOSE flag.
44912 * include/unistd.h: Add hidden_proto for dup3.
44913 Define __have_dup3.
44914 * io/dup3.c: Define hidden symbol.
44915 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
44918 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
44919 when an incomplete long option is used.
44920 * posix/tst-getopt_long1.c: New file.
44921 * posix/Makefile (tests): Add tst-getopt_long1.
44924 * scripts/config.guess: Update from autoconf-2.68.
44925 * scripts/config.sub: Likewise.
44928 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
44930 (has_cpuclock): ...this. New function.
44931 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
44932 macro here based on has_cpuclock code.
44935 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44936 First byte (not low byte) is now always NUL.
44937 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
44939 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44940 Use non-cancelable interfaces.
44943 * locale/iso-639.def: Add entry for Sorani.
44946 * include/stdlib.h: Move include protection to the right place.
44947 Define abort_msg_s. Declare __abort_msg with it.
44948 * stdlib/abort.c (__abort_msg): Adjust type.
44949 * assert/assert.c (__assert_fail_base): New function. Majority
44950 of code from __assert_fail. Allocate memory for __abort_msg with
44952 (__assert_fail): Now call __assert_fail_base.
44953 * assert/assert-perr.c: Remove bulk of implementation. Use
44954 __assert_fail_base.
44955 * include/assert.hL Declare __assert_fail_base.
44956 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
44958 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
44960 2011-05-14 Ulrich Drepper <drepper@gmail.com>
44964 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
44965 until all modules are registered in the DTV.
44966 * elf/Makefile: Add rules to build and run tst-tls19.
44967 * elf/tst-tls19.c: New file.
44968 * elf/tst-tls19mod1.c: New file.
44969 * elf/tst-tls19mod2.c: New file.
44970 * elf/tst-tls19mod3.c: New file.
44971 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
44974 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
44978 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
44979 two-byte sequence errors.
44980 * iconvdata/Makefile (tests): Add bug-iconv8.
44981 * iconvdata/bug-iconv8.c: New file.
44984 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
44987 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
44990 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
44991 (dummy_getcfa): New function.
44992 (init): Get _Unwind_GetCFA address, use dummy if not found.
44993 (backtrace_helper): In recursion check, also check whether CFA changes.
44994 (__backtrace): Completely initialize arg.
44996 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
44997 storing incomplete byte sequence in state object. Avoid testing for
44998 guaranteed too small input if we know there is enough data available.
45000 2011-05-11 Andreas Schwab <schwab@redhat.com>
45002 * Makeconfig (+link-pie): Indent.
45003 * Rules (binaries-pie): Define if $(have-fpie) and
45005 (binaries-shared): Also filter out $(binaries-pie).
45006 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
45007 * nscd/Makefile (others-pie): Add nscd.
45008 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
45009 ($(objpfx)nscd): Remove command override.
45010 * login/Makefile (others-pie): Add pt_chown.
45011 ($(objpfx)pt_chown): Remove command override.
45012 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
45013 remove command overrides.
45015 2011-05-13 Ulrich Drepper <drepper@gmail.com>
45017 * libio/tst_putwc.c: Fix error messages.
45020 * libio/fileops.c (_IO_new_file_close_it): Always flush when
45021 currently writing and seek to current position when not.
45022 * libio/Makefile (tests): Add bug-fclose1.
45023 * libio/bug-fclose1.c: New file.
45025 2011-05-12 Ulrich Drepper <drepper@gmail.com>
45028 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
45029 don't set DF_1_NODELETE here.
45030 (do_lookup_x): When entering new entry test for copy relocation
45031 and if necessary set DF_1_NODELETE flag.
45032 * elf/tst-unique4.cc: New file.
45033 * elf/tst-unique4.h: New file.
45034 * elf/tst-unique4lib.cc: New file.
45035 * elf/Makefile: Add rules to build and run tst-unique4.
45036 Patch by Piotr Bury <pbury@goahead.com>.
45038 2011-05-11 Ulrich Drepper <drepper@gmail.com>
45041 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
45044 * misc/mntent_r.c (addmntent): Flush the stream after the output
45047 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
45048 (is_trusted_path_normalize): Skip initial colon. Append slash
45049 to empty buffer. Duplicate is_trusted_path code but allow
45050 constructed patch to be prefix.
45051 (is_dst): Allow $ORIGIN followed by /.
45052 (_dl_dst_substitute): Correct clearing of check_for_trusted.
45053 Correct testing of result of is_trusted_path_normalize
45054 (decompose_rpath): Fix warning.
45056 2011-05-10 Ulrich Drepper <drepper@gmail.com>
45059 * grp/initgroups.c (internal_getgrouplist): When we found the service
45060 list through the initgroups entry in nsswitch.conf do not always
45061 continue on a successful lookup. Don't always use the
45062 __nss_group_database value if it is set.
45063 * nss/nsswitch.conf (initgroups): Change action for successful db
45064 lookup to continue for compatibility.
45066 2011-05-09 Ulrich Drepper <drepper@gmail.com>
45069 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
45071 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
45073 * iconvdata/tst-tables.sh: Likewise.
45074 * iconvdata/cp770.c: New file.
45075 * iconvdata/cp771.c: New file.
45076 * iconvdata/cp772.c: New file.
45077 * iconvdata/cp773.c: New file.
45078 * iconvdata/cp774.c: New file.
45079 * iconvdata/testdata/CP770: New file.
45080 * iconvdata/testdata/CP770..UTF8: New file.
45081 * iconvdata/testdata/CP771: New file.
45082 * iconvdata/testdata/CP771..UTF8: New file.
45083 * iconvdata/testdata/CP772: New file.
45084 * iconvdata/testdata/CP772..UTF8: New file.
45085 * iconvdata/testdata/CP773: New file.
45086 * iconvdata/testdata/CP773..UTF8: New file.
45087 * iconvdata/testdata/CP774: New file.
45088 * iconvdata/testdata/CP774..UTF8: New file.
45090 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
45092 * iconvdata/gen-8bit-gap.sh: Likewise.
45093 * iconvdata/gen-8bit.sh: Likewise.
45095 * locale/iso-639.def: Add ary entry.
45098 * locale/C-translit.h.in: Add U20A1 transliteration.
45101 * locale/iso-639.def: Add wae entry.
45102 Patch by Kevin Bortis <bortis@translate-wae.ch>.
45105 * locale/programs/localedef.c (construct_output_path): Use ssize_t
45109 * locale/C-translit.h.in: Add entry for U20B9.
45110 Patch by pravin.d.s@gmail.com.
45112 2011-05-08 Ulrich Drepper <drepper@gmail.com>
45115 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
45116 ENAMETOOLONG use generic getcwd.
45117 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
45118 in rtld. Use *stat64.
45119 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
45120 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
45121 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
45122 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
45123 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
45124 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
45125 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
45126 __fstatat64 macros.
45127 * include/dirent.h: Add libc_hidden_proto for rewinddir.
45128 * dirent/rewinddir.c: Add libc_hidden_def.
45129 * sysdeps/mach/hurd/rewinddir.c: Likewise.
45130 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
45132 * include/dirent.h (__alloc_dir): Add flags parameter.
45133 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
45134 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
45136 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
45137 from fdopendir if O_CLOEXEC is already set.
45139 2011-03-15 Alan Modra <amodra@gmail.com>
45141 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
45142 l_tls_firstbyte_offset non-zero. Save padding offset in
45143 l_tls_firstbyte_offset for later use.
45144 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
45145 freeing static tls block.
45147 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
45149 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
45150 where #ifdef was intended. The intent is to prevent ARG_MAX from
45151 being defined by the kernel headers.
45153 2011-05-07 Ulrich Drepper <drepper@gmail.com>
45156 * resolv/resolv.h: Define RES_NOTLDQUERY.
45157 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
45158 no-tld-query and set RES_NOTLDQUERY.
45159 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
45160 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
45161 modern BIND to search name as TLD unless forbidden.
45163 2011-05-07 Petr Baudis <pasky@suse.cz>
45164 Ulrich Drepper <drepper@gmail.com>
45167 * elf/dl-load.c (fillin_rpath): Move trusted path check...
45168 (is_trusted_path): ...to here.
45169 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
45170 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
45171 using is_trusted_path_normalize() in setuid scripts.
45173 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45175 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
45176 __BEGIN/__END_DECLS.
45178 2011-05-06 Ulrich Drepper <drepper@gmail.com>
45180 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
45181 NSS_STATUS_NOTFOUND if no record was found.
45183 2011-05-05 Andreas Schwab <schwab@redhat.com>
45185 * sunrpc/Makefile (headers): Add rpc/netdb.h.
45186 (headers-not-in-tirpc): Remove rpc/netdb.h
45187 * resolv/netdb.h: Revert last change.
45189 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45191 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
45192 circular dependency between libgcc.a and libc.a.
45194 2011-05-05 Andreas Schwab <schwab@redhat.com>
45196 * resolv/netdb.h: Don't include <rpc/netdb.h>.
45197 * nis/Makefile: Don't install rpcsvc/*.
45198 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
45199 instead of <rpc/types.h>.
45200 (MAXHOSTNAMELEN): Define.
45202 2011-05-03 Andreas Schwab <schwab@redhat.com>
45204 * elf/ldconfig.c (add_dir): Don't crash on empty path.
45206 2011-04-28 Maciej Babinski <mbabinski@google.com>
45209 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
45210 gethostbyname4_r when IPv6 results are possible.
45212 2011-05-02 Ulrich Drepper <drepper@gmail.com>
45215 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
45216 _PC_PIPE_BUF handling.
45218 2011-04-30 Bruno Haible <bruno@clisp.org>
45221 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
45222 * resolv/netdb.h (getnameinfo): Change type of flags parameter
45224 * inet/getnameinfo.c (getnameinfo): Likewise.
45226 2011-04-29 Ulrich Drepper <drepper@gmail.com>
45228 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
45229 to groups setting in database lookup.
45230 * nss/nsswitch.conf: Add initgroups entry.
45232 2011-04-22 Ulrich Drepper <drepper@gmail.com>
45235 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
45237 Patch by Eric Blake <eblake@redhat.com>.
45239 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
45241 * sunrpc/Makefile (need-export-routines): Add svc_run.
45242 (routines): Remove svc_run.
45243 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
45244 * sunrpc/clnt_perr.c (clnt_perrno): Export.
45245 * sunrpc/svc_run.c (svc_run): Likewise.
45246 * sunrpc/svc_udp.c (svcudp_create): Likewise.
45248 2011-04-21 Ulrich Drepper <drepper@gmail.com>
45250 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
45251 problem in reallocation in last patch.
45253 2011-04-20 Ulrich Drepper <drepper@gmail.com>
45255 * sunrpc/Makefile: Move inclusion of Rules.
45257 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45259 * nss/nss_files/files-initgroups.c: New file.
45260 * nss/Makefile (libnss_files-routines): Add files-initgroups.
45261 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
45262 _nss_files_initgroups_dyn.
45264 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
45266 * elf/elf.h (R_ARM_IRELATIVE): Define.
45268 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45270 * po/ru.po: Update from translation team.
45272 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45274 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
45277 2011-02-06 Mike Frysinger <vapier@gentoo.org>
45280 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
45281 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
45282 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45283 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45284 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45286 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
45288 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
45290 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45291 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45292 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45294 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45297 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
45299 * stdlib/bug-getcontext.c: New file.
45300 * stdlib/Makefile: Add rules to build and run bug-getcontext.
45302 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45304 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
45305 instructions into .machine "z9-109".
45306 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
45307 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
45309 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45311 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45312 between environment variables and auxiliary vector.
45314 2011-04-16 Ulrich Drepper <drepper@gmail.com>
45316 * Makefile: Add rules to build linkobj/libc.so.
45317 * include/libc-symbols.h: Define libc_hidden_nolink.
45318 * include/rpc/auth.h: Mark functions which are to be hidden.
45319 * include/rpc/auth_des.h: Likewise.
45320 * include/rpc/auth_unix.h: Likewise.
45321 * include/rpc/clnt.h: Likewise.
45322 * include/rpc/des_crypt.h: Likewise.
45323 * include/rpc/key_prot.h: Likewise.
45324 * include/rpc/pmap_clnt.h: Likewise.
45325 * include/rpc/pmap_prot.h: Likewise.
45326 * include/rpc/pmap_rmt.h: Likewise.
45327 * include/rpc/rpc_msg.h: Likewise.
45328 * include/rpc/svc.h: Likewise.
45329 * include/rpc/svc_auth.h: Likewise.
45330 * include/rpc/xdr.h: Likewise.
45331 * nis/Makefile: Link all DSOs against linkobj/libc.so.
45332 * nss/Makefile: Likewise.
45333 * sunrpc/Makefile: Don't install headers. Build library with normal
45334 entry points. Don't build rpcinfo. Link RPC tests appropriately.
45335 * sunrpc/auth_des.c: Hide exported symbols by default, export some
45336 for the compat linking library. Remove use of INTDEF/INTUSE.
45337 * sunrpc/auth_none.c: Likewise.
45338 * sunrpc/auth_unix.c: Likewise.
45339 * sunrpc/authdes_prot.c: Likewise.
45340 * sunrpc/authuxprot.c: Likewise.
45341 * sunrpc/clnt_gen.c: Likewise.
45342 * sunrpc/clnt_perr.c: Likewise.
45343 * sunrpc/clnt_raw.c: Likewise.
45344 * sunrpc/clnt_simp.c: Likewise.
45345 * sunrpc/clnt_tcp.c: Likewise.
45346 * sunrpc/clnt_udp.c: Likewise.
45347 * sunrpc/clnt_unix.c: Likewise.
45348 * sunrpc/des_crypt.c: Likewise.
45349 * sunrpc/des_soft.c: Likewise.
45350 * sunrpc/get_myaddr.c: Likewise.
45351 * sunrpc/key_call.c: Likewise.
45352 * sunrpc/key_prot.c: Likewise.
45353 * sunrpc/netname.c: Likewise.
45354 * sunrpc/pm_getmaps.c: Likewise.
45355 * sunrpc/pm_getport.c: Likewise.
45356 * sunrpc/pmap_clnt.c: Likewise.
45357 * sunrpc/pmap_prot.c: Likewise.
45358 * sunrpc/pmap_prot2.c: Likewise.
45359 * sunrpc/pmap_rmt.c: Likewise.
45360 * sunrpc/publickey.c: Likewise.
45361 * sunrpc/rpc_cmsg.c: Likewise.
45362 * sunrpc/rpc_common.c: Likewise.
45363 * sunrpc/rpc_dtable.c: Likewise.
45364 * sunrpc/rpc_prot.c: Likewise.
45365 * sunrpc/rpc_thread.c: Likewise.
45366 * sunrpc/rtime.c: Likewise.
45367 * sunrpc/svc.c: Likewise.
45368 * sunrpc/svc_auth.c: Likewise.
45369 * sunrpc/svc_authux.c: Likewise.
45370 * sunrpc/svc_raw.c: Likewise.
45371 * sunrpc/svc_run.c: Likewise.
45372 * sunrpc/svc_simple.c: Likewise.
45373 * sunrpc/svc_tcp.c: Likewise.
45374 * sunrpc/svc_udp.c: Likewise.
45375 * sunrpc/svc_unix.c: Likewise.
45376 * sunrpc/svcauth_des.c: Likewise.
45377 * sunrpc/xcrypt.c: Likewise.
45378 * sunrpc/xdr.c: Likewise.
45379 * sunrpc/xdr_array.c: Likewise.
45380 * sunrpc/xdr_float.c: Likewise.
45381 * sunrpc/xdr_intXX_t.c: Likewise.
45382 * sunrpc/xdr_mem.c: Likewise.
45383 * sunrpc/xdr_rec.c: Likewise.
45384 * sunrpc/xdr_ref.c: Likewise.
45385 * sunrpc/xdr_sizeof.c: Likewise.
45386 * sunrpc/xdr_stdio.c: Likewise.
45388 2011-04-10 Ulrich Drepper <drepper@gmail.com>
45391 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
45392 * sysdeps/ia64/dl-tls.h: Likewise.
45393 * sysdeps/powerpc/dl-tls.h: Likewise.
45394 * sysdeps/s390/dl-tls.h: Likewise.
45395 * sysdeps/sh/dl-tls.h: Likewise.
45396 * sysdeps/sparc/dl-tls.h: Likewise.
45397 * sysdeps/x86_64/dl-tls.h: Likewise.
45398 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
45400 2011-03-14 Andreas Schwab <schwab@redhat.com>
45402 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
45403 rpath element also skip the following colon.
45404 (expand_dynamic_string_token): Add is_path parameter and pass
45405 down to DL_DST_REQUIRED and _dl_dst_substitute.
45406 (decompose_rpath): Call expand_dynamic_string_token with
45407 non-zero is_path. Ignore empty rpaths.
45408 (_dl_map_object_from_fd): Call expand_dynamic_string_token
45411 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
45413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45416 2011-04-09 Ulrich Drepper <drepper@gmail.com>
45419 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
45420 Patch by Filipe David Manana <fdmanana@apache.org>.
45422 2011-04-07 Andreas Schwab <schwab@redhat.com>
45424 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
45425 Maintain aligned stack.
45426 (CHECK_RSP): Remove unused macro.
45428 2011-04-03 Ulrich Drepper <drepper@gmail.com>
45430 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
45431 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
45433 2011-04-02 Ulrich Drepper <drepper@gmail.com>
45435 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
45437 * include/features.h: Mention __USE_XOPEN2K8 in comment.
45439 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
45442 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
45443 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
45444 * sysdeps/x86_64/memmove.c: New file.
45445 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
45446 (memcpy): Renamed to ...
45447 (__new_memcpy): This.
45448 (memcpy): Provide GLIBC_2_14 memcpy.
45449 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
45450 (memcpy): Provide GLIBC_2_2_5 memcpy.
45452 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45455 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
45457 2011-03-30 Andreas Schwab <schwab@redhat.com>
45459 * misc/syncfs.c: New file.
45460 * misc/Makefile (routines): Add syncfs.
45461 * posix/unistd.h: Declare syncfs.
45462 * sysdeps/unix/syscalls.list: Add syncfs.
45464 2011-04-01 Andreas Schwab <schwab@redhat.com>
45466 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
45468 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45469 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45470 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45471 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45472 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45473 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
45474 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45476 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45478 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
45479 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45480 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
45481 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45482 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45483 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45484 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45486 * io/Makefile: Compile fallocate.c, fallocate64.c, and
45487 sync_file_range.c with -fexceptions.
45488 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
45489 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
45490 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
45491 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
45492 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
45493 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45494 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
45495 sync_file_range as cancellation point
45496 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
45497 now a wrapper around __call_sync_file_range with cancellation handling.
45498 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
45499 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
45500 function name to __call_sync_file_range.
45501 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
45502 Add call_sync_file_range.
45504 2011-04-01 Andreas Schwab <schwab@redhat.com>
45506 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45509 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45511 * iconv/iconv.h: Fix typo in comment.
45512 * io/fcntl.h: Likewise.
45513 * libio/stdio.h: Likewise.
45514 * posix/spawn.h: Likewise.
45515 * posix/unistd.h: Likewise.
45516 * stdlib/stdlib.h: Likewise.
45517 * time/time.h: Likewise.
45518 * wcsmbs/wchar.h: Likewise.
45520 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
45521 open_by_handle): Add.
45522 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
45523 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
45524 Augment a few comments.
45525 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45526 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45527 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45528 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45529 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45530 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
45533 * io/fcntl.h (AT_EMPTY_PATH): Define.
45535 2011-03-30 Ulrich Drepper <drepper@gmail.com>
45537 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
45538 * sysdeps/unix/sysv/linux/bits/time.h: New file.
45539 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
45541 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
45542 * Versions.def: Add GLIBC_2.14.
45543 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
45546 2011-03-22 Ulrich Drepper <drepper@gmail.com>
45548 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
45550 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45552 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
45555 * string/test-strncmp.c (do_page_test): New function.
45556 (check2): Likewise.
45557 (test_main): Call check2.
45558 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
45560 2011-03-20 Ulrich Drepper <drepper@gmail.com>
45563 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
45564 Handle cache information in CPU leaf 4.
45565 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45567 2011-03-18 Ulrich Drepper <drepper@gmail.com>
45570 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
45571 character representation.
45572 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
45574 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
45576 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
45577 END(__isnan) to END(__isnanf) to match function entry point/label
45578 EALIGN(__isnanf,...).
45580 2011-03-10 Jakub Jelinek <jakub@redhat.com>
45582 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
45584 2011-03-10 Ulrich Drepper <drepper@gmail.com>
45587 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
45588 copy from the symbol referenced in the relocation to initialize the
45590 Patch by Piotr Bury <pbury@goahead.com>.
45591 * elf/Makefile: Add rules to build and tst-unique3.
45592 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
45593 * elf/tst-unique3.cc: New file.
45594 * elf/tst-unique3.h: New file.
45595 * elf/tst-unique3lib.cc: New file.
45596 * elf/tst-unique3lib2.cc: New file.
45598 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
45600 2011-03-10 Mike Frysinger <vapier@gentoo.org>
45602 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
45603 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
45606 2011-03-06 Ulrich Drepper <drepper@gmail.com>
45608 * elf/dl-load.c (_dl_map_object): If we are looking for the first
45609 to-be-loaded object along a path to loader is ld.so.
45611 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45612 Ulrich Drepper <drepper@gmail.com>
45614 * sysdeps/x86_64/memset.S: After aligning destination, code
45615 branches to different locations depending on the value of
45616 misalignment, when multiarch is enabled. Fix this.
45618 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45620 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
45621 Set _x86_64_preferred_memory_instruction for AMD processsors.
45622 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45623 Set bit_Prefer_SSE_for_memop for AMD processors.
45625 2011-03-04 Ulrich Drepper <drepper@gmail.com>
45627 * libio/fmemopen.c (fmemopen): Optimize a bit.
45629 2011-03-03 Andreas Schwab <schwab@redhat.com>
45631 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
45633 2011-03-03 Roland McGrath <roland@redhat.com>
45635 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
45637 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
45639 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
45640 __bzero_ultra1 instead of __memset_ultra1.
45642 2011-02-23 Andreas Schwab <schwab@redhat.com>
45643 Ulrich Drepper <drepper@gmail.com>
45646 * include/link.h (struct link_map): Add l_orig_initfini.
45647 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
45648 returning unsuccessfully.
45649 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
45650 close of a file loaded at startup, restore the original l_initfini
45652 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
45653 list, store the pointer.
45654 * elf/Makefile ($(objpfx)noload-mem): New rule.
45655 (noload-ENV): Define.
45656 (tests): Add $(objpfx)noload-mem.
45657 * elf/noload.c: Include <memcheck.h>.
45658 (main): Call mtrace. Close all opened handles.
45660 2011-02-17 Andreas Schwab <schwab@redhat.com>
45663 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
45664 dependencies are missing.
45666 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
45668 Fix __if_freereq crash: Unlike the generic version which uses free,
45670 * sysdeps/mach/hurd/ifreq.h: New file.
45672 2011-01-27 Petr Baudis <pasky@suse.cz>
45673 Ulrich Drepper <drepper@gmail.com>
45676 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
45677 to extend_alloca().
45678 * stdio-common/bug23.c: New file.
45679 * stdio-common/Makefile (tests): Add bug23.
45681 2010-09-28 Andreas Schwab <schwab@redhat.com>
45682 Ulrich Drepper <drepper@gmail.com>
45685 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
45686 before performing relro protection. At old place add assertion
45687 to make sure nothing changed.
45689 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
45690 Glauber de Oliveira Costa <glommer@gmail.com>
45692 * elf/elf.h: Add new ARM TLS relocs.
45694 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
45696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45697 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
45699 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
45701 * sysdeps/wordsize-64/tst-writev.c: New file.
45703 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
45705 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
45706 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
45707 insns in _dl_start to prevent a TOC reference before relocs are
45710 2011-02-15 Ulrich Drepper <drepper@gmail.com>
45713 * Makeconfig: Remove RANLIB definition.
45714 * Makerules: Don't use RANLIB.
45715 * aclocal.m4: Remove ranlib test.
45716 * configure.in: No need to check for ranlib.
45717 * elf/rtld-Rules: Don't use RANLIB.
45719 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
45721 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
45723 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
45724 inclusion protection macro.
45726 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
45727 SIGRTMIN and SIGRTMAX and print information in that case only when
45728 SIGRTMIN is defined.
45730 2011-02-11 Jakub Jelinek <jakub@redhat.com>
45732 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
45733 arginfo fn returning -1.
45735 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
45736 and thousands string is zero terminated.
45738 2011-02-03 Andreas Schwab <schwab@redhat.com>
45740 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
45741 sysdeps/unix/sysv/linux/bits/socket.h.
45743 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
45745 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
45746 (__CPU_COUNT): Remove old macros.
45747 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
45748 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
45749 (__CPU_ALLOC, __CPU_FREE): Add macros.
45750 (__sched_cpualloc, __sched_cpufree): Add declarations.
45752 2011-02-05 Ulrich Drepper <drepper@gmail.com>
45754 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
45755 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
45756 * nscd/aicache.c (addhstaiX): Return timeout of added value.
45757 (readdhstai): Return value of addhstaiX call.
45758 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
45759 (addgrbyX): Return value returned by cache_addgr.
45760 (readdgrbyname): Return value returned by addgrbyX.
45761 (readdgrbygid): Likewise.
45762 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
45763 (addpwbyX): Return value returned by cache_addpw.
45764 (readdpwbyname): Return value returned by addhstbyX.
45765 (readdpwbyuid): Likewise.
45766 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
45767 (addservbyX): Return value returned by cache_addserv.
45768 (readdservbyname): Return value returned by addservbyX:
45769 (readdservbyport): Likewise.
45770 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
45771 (addhstbyX): Return value returned by cache_addhst.
45772 (readdhstbyname): Return value returned by addhstbyX.
45773 (readdhstbyaddr): Likewise.
45774 (readdhstbynamev6): Likewise.
45775 (readdhstbyaddrv6): Likewise.
45776 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
45777 (readdinitgroups): Return value returned by addinitgroupsX.
45778 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
45779 (prune_cache): Keep track of timeout value of re-added entries.
45780 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
45781 * nscd/nscd.h: Adjust prototypes of readd* functions.
45783 2011-02-04 Roland McGrath <roland@redhat.com>
45785 * nis/nis_server.c (nis_servstate): Use the right name for 0.
45786 (nis_stats): Likewise.
45787 * nis/nis_modify.c (nis_modify): Likewise.
45788 * nis/nis_remove.c (nis_remove): Likewise.
45789 * nis/nis_add.c (nis_add): Likewise.
45791 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
45793 * posix/fnmatch_loop.c: Add some consts.
45795 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
45797 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
45800 * config.make.in (config-cflags-novzeroupper): Define.
45801 * configure.in: Substitute libc_cv_cc_novzeroupper.
45802 * elf/Makefile (AVX-CFLAGS): Define.
45803 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
45804 (CFLAGS-tst-auditmod4a.c): Likewise.
45805 (CFLAGS-tst-auditmod4b.c): Likewise.
45806 (CFLAGS-tst-auditmod6b.c): Likewise.
45807 (CFLAGS-tst-auditmod6c.c): Likewise.
45808 (CFLAGS-tst-auditmod7b.c): Likewise.
45809 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
45811 2011-02-02 Ulrich Drepper <drepper@gmail.com>
45813 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
45814 function to the callback.
45815 Patch partly by Jiri Olsa <jolsa@redhat.com>.
45817 2011-02-02 Andreas Schwab <schwab@redhat.com>
45819 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
45822 2011-01-19 Ulrich Drepper <drepper@gmail.com>
45825 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
45827 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
45829 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
45832 * elf/Makefile: Add rules to build and run new test.
45833 * elf/tst-initorder.c: New file.
45834 * elf/tst-initorder.exp: New file.
45835 * elf/tst-initordera1.c: New file.
45836 * elf/tst-initordera2.c: New file.
45837 * elf/tst-initordera3.c: New file.
45838 * elf/tst-initordera4.c: New file.
45839 * elf/tst-initorderb1.c: New file.
45840 * elf/tst-initorderb2.c: New file.
45841 * elf/tst-order-a1.c: New file.
45842 * elf/tst-order-a2.c: New file.
45843 * elf/tst-order-a3.c: New file.
45844 * elf/tst-order-a4.c: New file.
45845 * elf/tst-order-b1.c: New file.
45846 * elf/tst-order-b2.c: New file.
45847 * elf/tst-order-main.c: New file.
45848 New test case by George Gensure <werkt0@gmail.com>.
45850 2010-10-01 Andreas Schwab <schwab@redhat.com>
45852 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45853 decoding ACE if AI_CANONIDN.
45855 2011-01-18 Ulrich Drepper <drepper@gmail.com>
45857 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
45859 2011-01-17 Ulrich Drepper <drepper@gmail.com>
45861 * version.h (RELEASE): Bump for 2.13 release.
45862 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
45864 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
45866 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
45868 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
45869 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45870 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45871 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45872 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45873 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45875 * posix/getconf.c: Update copyright year.
45876 * catgets/gencat.c: Likewise.
45877 * csu/version.c: Likewise.
45878 * debug/catchsegv.sh: Likewise.
45879 * debug/xtrace.sh: Likewise.
45880 * elf/ldconfig.c: Likewise.
45881 * elf/ldd.bash.in: Likewise.
45882 * elf/sprof.c (print_version): Likewise.
45883 * iconv/iconv_prog.c: Likewise.
45884 * iconv/iconvconfig.c: Likewise.
45885 * locale/programs/locale.c: Likewise.
45886 * locale/programs/localedef.c: Likewise.
45887 * malloc/memusage.sh: Likewise.
45888 * malloc/mtrace.pl: Likewise.
45889 * nscd/nscd.c (print_version): Likewise.
45890 * nss/getent.c: Likewise.
45892 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
45893 PF_CAIF, and PF_ALG.
45894 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45896 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
45898 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
45899 (modules-names): Use them.
45900 (ifunc-test-modules, ifunc-pie-tests): Define.
45901 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
45902 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
45903 (test-extras): Likewise.
45904 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
45905 $(compile-command.c).
45906 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
45907 (all-built-dso): Define.
45908 (check-textrel.out, check-execstack.out): Depend on it.
45910 * configure.in: Don't override --enable-multi-arch.
45912 2011-01-15 Ulrich Drepper <drepper@gmail.com>
45915 * nscd/hstcache.c (tryagain): Define.
45916 (cache_addhst): Return tryagain not notfound for temporary errors.
45917 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
45920 2011-01-14 Ulrich Drepper <drepper@gmail.com>
45923 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
45924 to make the syscall.
45925 * sysdeps/unix/sysv/linux/setgroups.c: New file.
45928 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
45929 and fall back to matching as normal character if the string ends before
45930 the matching ']' is found. This is what POSIX requires.
45931 * posix/testfnm.c: Adjust test result.
45932 * posix/globtest.sh: Adjust test result. Add new test.
45933 * posix/tst-fnmatch.input: Likewise.
45934 * posix/tst-fnmatch2.c: Add new test.
45936 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
45938 * elf/Makefile (check-execstack): Revert last change. Depend on
45940 (check-execstack.h): New target.
45941 (generated): Add check-execstack.h.
45942 * elf/check-execstack.c: Include "check-execstack.h".
45943 (main): Revert last change.
45944 (handle_file): Return zero if GNU_STACK is absent and
45945 DEFAULT_STACK_PERMS doesn't include PF_X.
45947 2011-01-13 Ulrich Drepper <drepper@gmail.com>
45949 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
45950 in child fails because the descriptor is already closed.
45951 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
45952 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
45953 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
45956 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
45960 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
45961 temporary buffer used to handle multi lookups locally.
45962 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
45964 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45966 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
45969 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
45971 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
45972 alignment for SSE2.
45974 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45977 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
45978 characters. When rounding increased number of integer digits recompute
45980 * stdio-common/tst-grouping.c: New file.
45981 * stdio-common/Makefile: Add rules to build and run tst-grouping.
45983 2011-01-09 Ulrich Drepper <drepper@gmail.com>
45985 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
45986 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
45988 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
45990 * bits/select.h: Likewise.
45992 2011-01-08 Ulrich Drepper <drepper@gmail.com>
45994 * po/ja.po: Update from translation team.
45996 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
45999 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
46000 implementation just like for lxstat, fxstatat, et al.
46002 2010-12-27 Jim Meyering <meyering@redhat.com>
46005 * posix/regexec.c (build_trtable): Return failure indication upon
46006 calloc failure. Otherwise, re_search_internal could infloop on OOM.
46008 2010-12-25 Ulrich Drepper <drepper@gmail.com>
46011 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
46012 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
46013 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
46014 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
46017 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
46020 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
46021 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
46023 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
46025 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
46026 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
46027 script has SORT_BY_INIT_PRIORITY.
46028 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
46029 NO_CTORS_DTORS_SECTIONS is defined.
46030 * elf/soinit.c: Likewise.
46031 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
46032 NO_CTORS_DTORS_SECTIONS is defined.
46033 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
46034 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
46035 * sysdeps/sh/init-first.c: Likewise.
46036 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
46038 2010-12-24 Ulrich Drepper <drepper@gmail.com>
46040 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
46041 always use the slow path.
46043 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
46045 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
46046 similar rule which adds the sysdep directories to the header search in
46047 order to pick up the correct platform stackinfo.h.
46048 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
46049 perform test if it is, otherwise return successfully without testing.
46050 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
46051 DEFAULT_STACK_PERMS define in stackinfo.h.
46052 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
46053 defined in stackinfo.h.
46054 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
46055 DEFAULT_STACK_PERMS defined in stackinfo.h.
46056 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
46057 * sysdeps/ia64/stackinfo.h: Likewise.
46058 * sysdeps/s390/stackinfo.h: Likewise.
46059 * sysdeps/sh/stackinfo.h: Likewise.
46060 * sysdeps/sparc/stackinfo.h: Likewise.
46061 * sysdeps/x86_64/stackinfo.h: Likewise.
46062 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
46063 PF_X for powerpc64. Retain PF_X for powerpc32.
46065 2010-12-19 Ulrich Drepper <drepper@gmail.com>
46067 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
46069 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
46070 GETDENTS_64BIT_ALIGNED.
46072 2010-12-14 Ulrich Drepper <dreper@gmail.com>
46074 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
46076 2010-12-10 Andreas Schwab <schwab@redhat.com>
46078 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
46081 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
46082 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
46084 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
46085 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
46087 2010-12-09 Ulrich Drepper <drepper@gmail.com>
46090 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
46093 2010-12-09 Jakub Jelinek <jakub@redhat.com>
46095 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
46097 2010-12-03 Ulrich Drepper <drepper@gmail.com>
46099 * po/it.po: Update from translation team.
46101 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
46103 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
46106 2010-11-30 Ulrich Drepper <drepper@gmail.com>
46108 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
46110 2010-11-24 Andreas Schwab <schwab@redhat.com>
46112 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
46114 (gaih_getanswer_slice): Likewise.
46116 2010-10-20 Jakub Jelinek <jakub@redhat.com>
46118 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
46120 2010-05-31 Petr Baudis <pasky@suse.cz>
46123 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
46124 silently even in the chroot mode.
46126 2010-11-22 Ulrich Drepper <drepper@gmail.com>
46128 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
46129 last patch a bit. Pretty printing
46131 2010-05-31 Petr Baudis <pasky@suse.cz>
46134 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
46135 initialization of skip_initgroups_dyn.
46137 2010-11-19 Ulrich Drepper <drepper@gmail.com>
46139 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
46140 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46142 2010-11-16 Ulrich Drepper <drepper@gmail.com>
46144 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
46146 2010-11-11 Andreas Schwab <schwab@redhat.com>
46148 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
46149 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
46150 (tst-fnmatch-ENV): Set MALLOC_TRACE.
46151 ($(objpfx)tst-fnmatch-mem): New rule.
46152 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
46153 * posix/tst-fnmatch.c (main): Call mtrace.
46155 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
46157 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46158 Support Intel processor model 6 and model 0x2c.
46160 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
46162 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
46165 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
46168 * string/test-strncasecmp.c (check_result): New function.
46169 (do_one_test): Use it.
46170 (check1): New function.
46171 (test_main): Use it.
46172 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
46173 Support strcasecmp and strncasecmp.
46175 2010-11-08 Ulrich Drepper <drepper@gmail.com>
46178 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
46179 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46181 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
46183 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
46185 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46187 * sysdeps/x86_64/multiarch/bzero.S: New file.
46188 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
46189 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
46190 * sysdeps/x86_64/multiarch/memset.S: New file.
46191 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
46192 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46193 Set bit_Prefer_SSE_for_memop for Intel processors.
46194 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
46196 (index_Prefer_SSE_for_memop): Define.
46197 (HAS_PREFER_SSE_FOR_MEMOP): Define.
46199 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
46201 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
46202 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
46204 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
46207 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46208 (__x86_64_raw_data_cache_size_half): Likewise.
46209 (__x86_64_raw_shared_cache_size): Likewise.
46210 (__x86_64_raw_shared_cache_size_half): Likewise.
46212 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46213 (__x86_64_raw_data_cache_size_half): Likewise.
46214 (__x86_64_raw_shared_cache_size): Likewise.
46215 (__x86_64_raw_shared_cache_size_half): Likewise.
46216 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
46217 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
46218 and __x86_64_raw_shared_cache_size_half. Round
46219 __x86_64_data_cache_size_half, __x86_64_data_cache_size
46220 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
46221 to multiple of 256 bytes.
46223 2010-11-03 Ulrich Drepper <drepper@gmail.com>
46226 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
46227 of inacessible symlinks. Verify result of symlink before returning it.
46228 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46229 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
46231 2010-10-28 Erich Ritz <erichritz@gmail.com>
46233 * math/math.h (isinf): Fix typo in comment.
46235 2010-11-01 Ulrich Drepper <drepper@gmail.com>
46237 * po/da.po: Update from translation team.
46239 2010-10-26 Ulrich Drepper <drepper@gmail.com>
46241 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
46242 is added to the list.
46244 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46245 Ulrich Drepper <drepper@gmail.com>
46247 * elf/dl-object.c (_dl_new_object): Don't append the new object to
46248 the global list here. Move code to...
46249 (_dl_add_to_namespace_list): ...here. New function.
46250 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
46251 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
46252 * elf/dl-load.c (lose): Don't remove the element from the list.
46253 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
46254 (_dl_map_object): Likewise.
46256 2010-10-25 Ulrich Drepper <drepper@gmail.com>
46259 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
46260 into all bytes of SSE register.
46261 Patch by Richard Li <richardpku@gmail.com>.
46263 2010-10-24 Ulrich Drepper <drepper@gmail.com>
46266 * malloc/malloc.c (_int_free): Fill correct number of bytes when
46269 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
46271 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
46272 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
46273 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
46274 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
46277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
46279 2010-10-22 Andreas Schwab <schwab@redhat.com>
46281 * include/dlfcn.h (__RTLD_SECURE): Define.
46282 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
46283 mode & __RTLD_SECURE instead.
46284 (open_path): Rename preloaded parameter to secure.
46285 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
46286 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
46287 * elf/dl-deps.c (openaux): Likewise.
46288 * elf/rtld.c (struct map_args): Remove is_preloaded.
46289 (map_doit): Don't use it.
46290 (dl_main): Likewise.
46291 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
46292 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
46294 2010-09-09 Andreas Schwab <schwab@redhat.com>
46296 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
46297 (sysd-rules-targets): Remove duplicates.
46298 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
46299 rtld-%.$o dependency.
46301 2010-10-18 Andreas Schwab <schwab@redhat.com>
46303 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
46304 _dl_map_object do it.
46306 2010-10-19 Ulrich Drepper <drepper@gmail.com>
46308 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
46309 fast fma builtins, define the macros in the C99 standard.
46310 (FP_FAST_FMAF): Likewise.
46311 (FP_FAST_FMAL): Likewise.
46312 * sysdeps/x86_64/bits/mathdef.h: Likewise.
46314 * bits/mathdef.h: Update copyright year.
46315 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46317 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
46319 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
46320 builtins, define the macros in the C99 standard.
46321 (FP_FAST_FMAF): Likewise.
46322 (FP_FAST_FMAL): Likewise.
46323 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46325 (FP_FAST_FMAF): Likewise.
46327 2010-10-15 Jakub Jelinek <jakub@redhat.com>
46330 * math/libm-test.inc (fma_test): Some new testcases.
46331 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
46332 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
46333 y and infinite z. Do multiplication by C already in long double.
46334 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
46335 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
46336 y and infinite z. Do bitwise or of inexact bit into u.d.
46337 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
46338 * sysdeps/i386/fpu/s_fmaf.S: Removed.
46339 * sysdeps/i386/fpu/s_fma.S: Removed.
46340 * sysdeps/i386/fpu/s_fmal.S: Removed.
46342 2010-10-16 Jakub Jelinek <jakub@redhat.com>
46345 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
46346 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
46347 computation is not scheduled after fetestexcept. Fix value
46348 of minimum denormal long double.
46350 2010-10-14 Jakub Jelinek <jakub@redhat.com>
46353 * math/libm-test.inc (fma_test): Add some more tests.
46354 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
46357 2010-10-15 Andreas Schwab <schwab@redhat.com>
46359 * scripts/data/localplt-s390-linux-gnu.data: New file.
46360 * scripts/data/localplt-s390x-linux-gnu.data: New file.
46362 2010-10-13 Jakub Jelinek <jakub@redhat.com>
46365 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
46366 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
46368 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
46370 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
46371 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
46372 if one of x and y is very large and the other is subnormal.
46373 * sysdeps/s390/fpu/s_fmaf.c: New file.
46374 * sysdeps/s390/fpu/s_fma.c: New file.
46375 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
46376 * sysdeps/powerpc/fpu/s_fma.S: New file.
46377 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
46378 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
46379 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
46381 2010-10-12 Jakub Jelinek <jakub@redhat.com>
46384 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
46386 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
46387 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
46388 * sysdeps/i386/i686/multiarch/s_fma.c: Include
46389 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
46390 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
46391 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
46392 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
46394 2010-10-12 Ulrich Drepper <drepper@redhat.com>
46397 * posix/regcomp.c (parse_branch): One more memory leak plugged.
46398 * posix/bug-regex31.input: Add test case.
46400 2010-10-11 Ulrich Drepper <drepper@gmail.com>
46402 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
46403 * posix/bug-regex31.input: New file.
46406 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
46407 (parse_sub_exp): Fix last change, use postorder.
46409 * posix/bug-regex31.c: New file.
46410 * posix/Makefile: Add rules to build and run bug-regex31.
46412 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
46415 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
46418 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
46419 to have entries in sys_siglist.
46422 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
46425 2010-10-07 Jakub Jelinek <jakub@redhat.com>
46428 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
46429 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
46430 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
46431 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
46432 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46433 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
46434 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
46435 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
46436 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
46437 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
46438 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
46439 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
46440 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
46441 * math/ftestexcept.c (fetestexcept): Likewise.
46442 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
46443 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
46444 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
46445 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
46446 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
46447 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
46448 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46450 2010-10-11 Ulrich Drepper <drepper@gmail.com>
46453 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
46456 2010-10-06 Ulrich Drepper <drepper@gmail.com>
46458 * string/bug-strstr1.c: New file.
46459 * string/Makefile: Add rules to build and run bug-strstr1.
46461 2010-10-05 Eric Blake <eblake@redhat.com>
46464 * string/str-two-way.h (two_way_long_needle): Always clear memory
46465 when skipping input due to the shift table.
46467 2010-10-03 Ulrich Drepper <drepper@gmail.com>
46470 * malloc/mcheck.c: Handle large requests.
46473 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
46474 for strncmp and strncasecmp.
46475 * string/stratcliff.c: Add tests for strcmp and strncmp.
46476 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
46478 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46480 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
46483 2010-09-30 Andreas Jaeger <aj@suse.de>
46485 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
46486 (CGROUP_SUPER_MAGIC): Define.
46487 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46488 Handle btrfs and cgroup file systems.
46489 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
46492 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
46494 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
46495 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
46497 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46500 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
46501 trying to locate the ELF header.
46503 2010-09-27 Andreas Schwab <schwab@redhat.com>
46506 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
46507 Mask out sign-bit copies when constructing f_fsid.
46509 2010-09-24 Petr Baudis <pasky@suse.cz>
46511 * debug/stack_chk_fail_local.c: Add missing licence exception.
46512 * debug/warning-nop.c: Likewise.
46514 2010-09-15 Joseph Myers <joseph@codesourcery.com>
46516 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
46517 implementing getdents64 using getdents syscall, set d_type if
46518 __ASSUME_GETDENTS32_D_TYPE.
46520 2010-09-16 Andreas Schwab <schwab@redhat.com>
46522 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
46523 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
46525 2010-09-21 Ulrich Drepper <drepper@redhat.com>
46528 * posix/unistd.h: Undo change of feature selection for ftruncate from
46531 2010-09-20 Ulrich Drepper <drepper@redhat.com>
46533 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
46536 2010-09-20 Andreas Schwab <schwab@redhat.com>
46538 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
46540 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46542 2010-09-14 Andreas Schwab <schwab@redhat.com>
46544 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
46545 variables after CHECK_SP call.
46546 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
46548 2010-09-13 Andreas Schwab <schwab@redhat.com>
46549 Ulrich Drepper <drepper@redhat.com>
46551 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
46552 re-relocationg ld.so.
46553 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
46554 _dl_init_paths call.
46555 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
46558 2010-09-14 Ulrich Drepper <drepper@redhat.com>
46560 * resolv/res_init.c (__res_vinit): Count the default server we added.
46562 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
46563 Ulrich Drepper <drepper@redhat.com>
46566 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46567 (____longjmp_chk): Use %ebx for saving value across system call.
46570 2010-09-06 Andreas Schwab <schwab@redhat.com>
46572 * manual/Makefile: Don't mix pattern rules with normal rules.
46574 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
46576 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
46578 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
46579 * libio/iofopncook.c (_IO_cookie_init): Likewise.
46580 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
46581 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
46582 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46585 2010-09-04 Ulrich Drepper <drepper@redhat.com>
46588 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
46589 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
46591 2010-09-02 Ulrich Drepper <drepper@redhat.com>
46593 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
46594 * sysdeps/x86_64/addmul_1.S: Likewise.
46595 * sysdeps/x86_64/lshift.S: Likewise.
46596 * sysdeps/x86_64/mul_1.S: Likewise.
46597 * sysdeps/x86_64/rshift.S: Likewise.
46598 * sysdeps/x86_64/sub_n.S: Likewise.
46599 * sysdeps/x86_64/submul_1.S: Likewise.
46601 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
46603 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
46604 Define __sched_param instead of SCHED_* and sched_param when
46605 <bits/sched.h> is included with __need_schedparam defined.
46606 * bits/sched.h [__need_schedparam]
46607 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
46608 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
46609 (__defined_schedparam): Define to 1.
46610 (__sched_param): New structure, identical to sched_param.
46611 (__need_schedparam): Undefine.
46613 2010-08-31 Mike Frysinger <vapier@gentoo.org>
46615 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
46616 (epoll_create1): Declare.
46618 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
46620 2010-08-31 Andreas Schwab <schwab@redhat.com>
46623 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
46624 shifting retval into place.
46626 2010-09-01 Ulrich Drepper <drepper@redhat.com>
46628 * nis/rpcsvc/nis.h: Update copyright notice.
46629 * nis/rpcsvc/nis.x: Likewise.
46630 * nis/rpcsvc/nis_callback.h: Likewise.
46631 * nis/rpcsvc/nis_callback.x: Likewise.
46632 * nis/rpcsvc/nis_object.x: Likewise.
46633 * nis/rpcsvc/nis_tags.h: Likewise.
46634 * nis/rpcsvc/yp.h: Likewise.
46635 * nis/rpcsvc/yp.x: Likewise.
46636 * nis/rpcsvc/ypupd.h: Likewise.
46637 * nis/yp_xdr.c: Likewise.
46638 * nis/ypupdate_xdr.c: Likewise.
46640 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
46641 mainly the body of pmap_getport. Add parameters to specify timeouts.
46642 (pmap_getport): Use __libc_rpc_getport.
46643 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
46644 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
46645 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
46647 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
46649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
46652 2010-08-27 Roland McGrath <roland@redhat.com>
46654 * sysdeps/i386/i686/multiarch/Makefile
46655 (CFLAGS-varshift.c): New variable.
46657 2010-08-27 Ulrich Drepper <drepper@redhat.com>
46659 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
46660 * sysdeps/i386/i686/multiarch/varshift.c: New file.
46662 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
46664 * sysdeps/x86_64/strlen.S: Minimal code improvement.
46666 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
46668 * sysdeps/x86_64/strlen.S: Unroll the loop.
46669 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46670 strlen-sse2 strlen-sse2-bsf.
46671 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
46672 __strlen_no_bsf if bit_Slow_BSF is set.
46673 (__strlen_sse42): Removed.
46674 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
46675 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
46677 2010-08-25 Roland McGrath <roland@redhat.com>
46679 * sysdeps/x86_64/multiarch/varshift.S: File removed.
46680 * sysdeps/x86_64/multiarch/varshift.c: New file.
46681 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
46682 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
46683 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
46684 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46686 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
46688 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46689 strlen-sse2 strlen-sse2-bsf.
46690 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
46691 __strlen_sse2_bsf if bit_Slow_BSF is unset.
46692 (__strlen_sse2): Removed.
46693 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
46694 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
46695 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46696 bit_Slow_BSF for Atom.
46697 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
46698 (index_Slow_BSF): Define.
46699 (HAS_SLOW_BSF): Define.
46701 2010-08-25 Ulrich Drepper <drepper@redhat.com>
46704 * resolv/res_init.c (__res_vinit): When no server address at all
46705 is given default to loopback.
46707 2010-08-24 Roland McGrath <roland@redhat.com>
46709 * configure.in: Remove config-name.h generation.
46710 * configure: Regenerated.
46711 * config-name.in: File removed.
46712 * scripts/config-uname.sh: New file.
46713 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
46714 ($(objdir)config-name.h): New target.
46716 * sunrpc/rpc_parse.h: Avoid nested comment.
46718 2010-08-24 Richard Henderson <rth@redhat.com>
46719 Ulrich Drepper <drepper@redhat.com>
46720 H.J. Lu <hongjiu.lu@intel.com>
46722 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
46723 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
46724 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
46725 Replace _mm_srli_si128 with __m128i_shift_right. Replace
46726 _mm_alignr_epi8 with _mm_loadu_si128.
46727 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
46728 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
46729 (__m128i_shift_right): Removed.
46730 * sysdeps/i386/i686/multiarch/varshift.h: New file.
46731 * sysdeps/i386/i686/multiarch/varshift.S: New file.
46732 * sysdeps/x86_64/multiarch/varshift.h: New file.
46733 * sysdeps/x86_64/multiarch/varshift.S: New file.
46735 2010-08-21 Mike Frysinger <vapier@gentoo.org>
46737 * configure.in: Move assembler checks to before sysdep dir checking.
46739 2010-08-20 Petr Baudis <pasky@suse.cz>
46741 * LICENSES: Sync the sunrpc license.
46743 2010-08-19 Ulrich Drepper <drepper@redhat.com>
46745 * sunrpc/auth_des.c: Update copyright notice once again.
46746 * sunrpc/auth_none.c: Likewise.
46747 * sunrpc/auth_unix.c: Likewise.
46748 * sunrpc/authdes_prot.c: Likewise.
46749 * sunrpc/authuxprot.c: Likewise.
46750 * sunrpc/bindrsvprt.c: Likewise.
46751 * sunrpc/clnt_gen.c: Likewise.
46752 * sunrpc/clnt_perr.c: Likewise.
46753 * sunrpc/clnt_raw.c: Likewise.
46754 * sunrpc/clnt_simp.c: Likewise.
46755 * sunrpc/clnt_tcp.c: Likewise.
46756 * sunrpc/clnt_udp.c: Likewise.
46757 * sunrpc/clnt_unix.c: Likewise.
46758 * sunrpc/des_crypt.c: Likewise.
46759 * sunrpc/des_soft.c: Likewise.
46760 * sunrpc/get_myaddr.c: Likewise.
46761 * sunrpc/getrpcport.c: Likewise.
46762 * sunrpc/key_call.c: Likewise.
46763 * sunrpc/key_prot.c: Likewise.
46764 * sunrpc/openchild.c: Likewise.
46765 * sunrpc/pm_getmaps.c: Likewise.
46766 * sunrpc/pm_getport.c: Likewise.
46767 * sunrpc/pmap_clnt.c: Likewise.
46768 * sunrpc/pmap_prot.c: Likewise.
46769 * sunrpc/pmap_prot2.c: Likewise.
46770 * sunrpc/pmap_rmt.c: Likewise.
46771 * sunrpc/rpc/auth.h: Likewise.
46772 * sunrpc/rpc/auth_unix.h: Likewise.
46773 * sunrpc/rpc/clnt.h: Likewise.
46774 * sunrpc/rpc/des_crypt.h: Likewise.
46775 * sunrpc/rpc/key_prot.h: Likewise.
46776 * sunrpc/rpc/netdb.h: Likewise.
46777 * sunrpc/rpc/pmap_clnt.h: Likewise.
46778 * sunrpc/rpc/pmap_prot.h: Likewise.
46779 * sunrpc/rpc/pmap_rmt.h: Likewise.
46780 * sunrpc/rpc/rpc.h: Likewise.
46781 * sunrpc/rpc/rpc_des.h: Likewise.
46782 * sunrpc/rpc/rpc_msg.h: Likewise.
46783 * sunrpc/rpc/svc.h: Likewise.
46784 * sunrpc/rpc/svc_auth.h: Likewise.
46785 * sunrpc/rpc/types.h: Likewise.
46786 * sunrpc/rpc/xdr.h: Likewise.
46787 * sunrpc/rpc_clntout.c: Likewise.
46788 * sunrpc/rpc_cmsg.c: Likewise.
46789 * sunrpc/rpc_common.c: Likewise.
46790 * sunrpc/rpc_cout.c: Likewise.
46791 * sunrpc/rpc_dtable.c: Likewise.
46792 * sunrpc/rpc_hout.c: Likewise.
46793 * sunrpc/rpc_main.c: Likewise.
46794 * sunrpc/rpc_parse.c: Likewise.
46795 * sunrpc/rpc_parse.h: Likewise.
46796 * sunrpc/rpc_prot.c: Likewise.
46797 * sunrpc/rpc_sample.c: Likewise.
46798 * sunrpc/rpc_scan.c: Likewise.
46799 * sunrpc/rpc_scan.h: Likewise.
46800 * sunrpc/rpc_svcout.c: Likewise.
46801 * sunrpc/rpc_tblout.c: Likewise.
46802 * sunrpc/rpc_util.c: Likewise.
46803 * sunrpc/rpc_util.h: Likewise.
46804 * sunrpc/rpcinfo.c: Likewise.
46805 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
46806 * sunrpc/rpcsvc/key_prot.x: Likewise.
46807 * sunrpc/rpcsvc/klm_prot.x: Likewise.
46808 * sunrpc/rpcsvc/mount.x: Likewise.
46809 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
46810 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
46811 * sunrpc/rpcsvc/rex.x: Likewise.
46812 * sunrpc/rpcsvc/rstat.x: Likewise.
46813 * sunrpc/rpcsvc/rusers.x: Likewise.
46814 * sunrpc/rpcsvc/sm_inter.x: Likewise.
46815 * sunrpc/rpcsvc/spray.x: Likewise.
46816 * sunrpc/rpcsvc/yppasswd.x: Likewise.
46817 * sunrpc/rtime.c: Likewise.
46818 * sunrpc/svc.c: Likewise.
46819 * sunrpc/svc_auth.c: Likewise.
46820 * sunrpc/svc_authux.c: Likewise.
46821 * sunrpc/svc_raw.c: Likewise.
46822 * sunrpc/svc_run.c: Likewise.
46823 * sunrpc/svc_simple.c: Likewise.
46824 * sunrpc/svc_tcp.c: Likewise.
46825 * sunrpc/svc_udp.c: Likewise.
46826 * sunrpc/svc_unix.c: Likewise.
46827 * sunrpc/svcauth_des.c: Likewise.
46828 * sunrpc/xcrypt.c: Likewise.
46829 * sunrpc/xdr.c: Likewise.
46830 * sunrpc/xdr_array.c: Likewise.
46831 * sunrpc/xdr_float.c: Likewise.
46832 * sunrpc/xdr_mem.c: Likewise.
46833 * sunrpc/xdr_rec.c: Likewise.
46834 * sunrpc/xdr_ref.c: Likewise.
46835 * sunrpc/xdr_sizeof.c: Likewise.
46836 * sunrpc/xdr_stdio.c: Likewise.
46838 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
46841 2010-08-19 Andreas Schwab <schwab@redhat.com>
46843 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
46845 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
46847 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
46848 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
46849 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
46850 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
46851 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
46852 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
46853 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
46854 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
46855 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
46856 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
46857 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
46858 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
46859 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
46860 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
46862 2010-07-26 Anton Blanchard <anton@samba.org>
46864 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
46865 * malloc/arena.c (heap_trim): Likewise.
46867 2010-08-16 Ulrich Drepper <drepper@redhat.com>
46869 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
46871 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
46872 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
46874 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
46876 * sysdeps/i386/elf/Makefile: New file.
46878 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46880 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
46881 from fanotify_init.
46882 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
46883 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46885 2010-08-15 Ulrich Drepper <drepper@redhat.com>
46887 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
46889 * sysdeps/multiarch/strcmp.S: Likewise.
46891 2010-08-14 Ulrich Drepper <drepper@redhat.com>
46893 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46894 strncase_l-nonascii.
46895 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46896 Add strncase_l-ssse3.
46897 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
46898 * sysdeps/x86_64/strcmp.S: Likewise.
46899 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
46900 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
46901 * sysdeps/x86_64/strncase.S: New file.
46902 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
46903 * sysdeps/x86_64/strncase_l.S: New file.
46904 * string/Makefile (strop-tests): Add strncasecmp.
46905 * string/test-strncasecmp.c: New file.
46907 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
46910 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
46911 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
46913 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46915 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
46917 2010-08-12 Ulrich Drepper <drepper@redhat.com>
46919 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
46920 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
46921 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
46923 2010-05-01 Alan Modra <amodra@gmail.com>
46925 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
46926 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
46927 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
46928 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
46929 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
46930 tidying. Don't tail-call __sigjmp_save for static lib.
46931 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
46933 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
46934 (CALL_MCOUNT): Add eh info, and nop after bl.
46935 (TAIL_CALL_SYSCALL_ERROR): New macro.
46936 (PSEUDO_RET): Use it.
46937 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46938 Correct save location of integer regs and cr.
46939 (_dl_profile_resolve): Correct cr save location. Delete nops
46940 after bl when SHARED. Reduce cfi size a little by better
46941 placement of cfi directives.
46942 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
46943 make a stack frame. Instead use parm save area as a temp.
46944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
46945 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
46946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46947 Don't make a stack frame for parent, use parm save area.
46948 Increase child stack frame to 112 bytes. Don't save unused reg,
46949 and adjust reg usage. Set up cfi on error recovery and
46950 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
46951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46952 (__makecontext): Add dummy nop after jump to exit.
46953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
46954 Use correct parm save area and cr save, reduce stack frame.
46955 Correct cfi for possible PSEUDO_RET frame setup.
46956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
46957 Branch to local label emitted by PSEUDO_RET rather than
46960 2010-08-12 Andreas Schwab <schwab@redhat.com>
46963 * locale/programs/locale.c (print_assignment): New function.
46964 (show_locale_vars): Use it.
46966 2010-08-11 Ulrich Drepper <drepper@redhat.com>
46968 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
46970 (struct statfs64): Likewise.
46971 (_STATFS_F_FLAGS): Define.
46972 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
46973 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46974 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
46975 (ST_VALID): Define locally.
46976 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
46977 __statvfs_getflags, use the provided value.
46978 * sysdeps/unix/sysv/linux/kernel-features.h: Define
46979 __ASSUME_STATFS_F_FLAGS.
46981 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
46983 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
46984 Add sys/fanotify.h.
46985 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
46986 fanotify_mask for GLIBC_2.13.
46987 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
46988 fanotify_init and fanotify_mark.
46989 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46990 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
46992 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
46994 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
46995 prlimit64 for GLIBC_2.13.
46996 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
46998 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
47000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
47001 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47002 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
47003 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
47004 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
47006 * sysdeps/unix/sysv/linux/prlimit.c: New file.
47009 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
47010 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
47012 * nss/Makefile: Add rules to build and run tst-nss-test1.
47013 * shlib-versions: Add entry for libnss_test1.
47014 * nss/nss_test1.c: New file.
47015 * nss/tst-nss-test1.c: New file.
47017 * nss/nsswitch.c (__nss_database_custom): Define new variable.
47018 (__nss_configure_lookup): Set appropriate entry in
47019 __nss_configure_lookup to true.
47020 * nss/nsswitch.h: Define enum with indeces of databases in
47021 databases and __nss_database_custom arrays. Declare
47022 __nss_database_custom.
47023 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
47024 to avoid using nscd when custom rules are installed.
47025 * nss/getXXbyYY_r.c: Likewise.
47026 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47028 * nss/nss_files/files-parse.c: Whitespace fixes.
47030 2010-08-09 Ulrich Drepper <drepper@redhat.com>
47033 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
47034 * posix/fnmatch_loop.c: Likewise.
47036 2010-07-17 Andi Kleen <ak@linux.intel.com>
47038 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
47039 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
47040 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
47041 * Versions.def [GLIBC_2.13]: Add.
47043 2010-08-06 Ulrich Drepper <drepper@redhat.com>
47045 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47046 Also fail if tpwd after pwuid call is NULL.
47048 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
47050 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
47051 when converting to ms.
47053 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47055 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
47056 EOPNOTSUPP errors with ENOTTY.
47057 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
47058 EOPNOTSUPP errors with ENOTTY.
47060 2010-07-31 Ulrich Drepper <drepper@redhat.com>
47062 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47063 Add strcasecmp_l-ssse3.
47064 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
47066 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
47067 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
47068 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
47070 2010-07-30 Ulrich Drepper <drepper@redhat.com>
47072 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
47074 * string/Makefile (strop-tests): Add strcasecmp.
47075 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47076 strcasecmp_l-nonascii.
47077 (gen-as-const-headers): Add locale-defines.sym.
47078 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
47079 * sysdeps/x86_64/strcasecmp.S: New file.
47080 * sysdeps/x86_64/strcasecmp_l.S: New file.
47081 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
47082 * sysdeps/x86_64/locale-defines.sym: New file.
47083 * string/test-strcasecmp.c: New file.
47085 * string/test-strcasestr.c: Test both ends of the range of characters.
47086 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
47088 2010-07-29 Roland McGrath <roland@redhat.com>
47091 * manual/locale.texi (Yes-or-No Questions): Fix example code.
47093 2010-07-27 Ulrich Drepper <drepper@redhat.com>
47095 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
47098 2010-07-27 Andreas Schwab <schwab@redhat.com>
47100 * manual/memory.texi (Malloc Tunable Parameters): Document
47103 2010-07-26 Roland McGrath <roland@redhat.com>
47106 * configure.in (-fgnu89-inline check): Set and substitute
47107 gnu89_inline, not libc_cv_gnu89_inline.
47108 * configure: Regenerated.
47109 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
47111 2010-07-26 Ulrich Drepper <drepper@redhat.com>
47113 * string/test-strnlen.c: New file.
47114 * string/Makefile (strop-tests): Add strnlen.
47115 * string/tester.c (test_strnlen): Add a few more test cases.
47116 * string/tst-strlen.c: Better error reporting.
47118 * sysdeps/x86_64/strnlen.S: New file.
47120 2010-07-24 Ulrich Drepper <drepper@redhat.com>
47122 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
47123 lower-latency instructions.
47125 2010-07-23 Ulrich Drepper <drepper@redhat.com>
47127 * string/test-strcasestr.c: New file.
47128 * string/test-strstr.c: New file.
47129 * string/Makefile (strop-tests): Add strstr and strcasestr.
47130 * string/str-two-way.h: Don't undefine MAX.
47131 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
47133 2010-07-21 Andreas Schwab <schwab@redhat.com>
47135 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47136 strcasestr-nonascii.
47137 (CFLAGS-strcasestr-nonascii.c): Define.
47138 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
47139 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
47140 Remove unused attribute.
47142 2010-07-20 Roland McGrath <roland@redhat.com>
47144 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
47145 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
47146 ld.so.cache was broken. With it, there is no way to disable dsocaps
47147 like LD_HWCAP_MASK can disable hwcaps.
47149 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47151 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
47153 2010-07-16 Ulrich Drepper <drepper@redhat.com>
47155 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
47156 call in strcasestr.
47157 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
47158 __strcasestr_sse42_nonascii.
47159 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
47160 strcasestr-nonascii.c.
47161 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
47163 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
47165 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
47166 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
47167 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
47168 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
47170 2010-07-09 Ulrich Drepper <drepper@redhat.com>
47172 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
47175 2010-07-06 Andreas Schwab <schwab@redhat.com>
47178 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
47181 2010-07-06 Ulrich Drepper <drepper@redhat.com>
47183 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
47184 _PC_PIPE_BUF using F_GETPIPE_SZ.
47186 2010-07-05 Roland McGrath <roland@redhat.com>
47188 * manual/arith.texi (Rounding Functions): Fix rint description
47189 implicit in round description.
47191 2010-07-02 Ulrich Drepper <drepper@redhat.com>
47193 * elf/Makefile: Fix linking for a few tests to make recent linker
47196 2010-06-30 Andreas Schwab <schwab@redhat.com>
47198 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47199 $(common-objpfx)libc_nonshared.a.
47201 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
47203 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
47204 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
47205 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47206 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47207 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
47208 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
47209 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47210 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
47212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
47213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
47214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
47216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
47218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
47219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
47220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
47221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
47223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
47225 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
47226 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
47227 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
47228 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
47229 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
47230 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
47231 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
47232 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
47233 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
47234 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
47235 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
47236 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
47237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
47238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
47239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
47240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
47241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
47242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
47243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
47244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
47245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
47246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
47247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
47248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
47249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
47250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
47252 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
47254 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
47255 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
47256 * string/memmove.c (memmove): Renamed to ...
47257 (MEMMOVE): ...this. Default to memmove.
47258 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
47259 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
47261 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47262 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
47263 mempcpy-ssse3-back memmove-ssse3-back.
47264 * sysdeps/x86_64/multiarch/bcopy.S: New file .
47265 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
47266 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
47267 * sysdeps/x86_64/multiarch/memcpy.S: New file.
47268 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
47269 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
47270 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
47271 * sysdeps/x86_64/multiarch/memmove.c: New file.
47272 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
47273 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
47274 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
47275 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
47276 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
47277 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
47279 (index_Fast_Copy_Backward): Define.
47280 (HAS_ARCH_FEATURE): Define.
47281 (HAS_FAST_REP_STRING): Define.
47282 (HAS_FAST_COPY_BACKWARD): Define.
47284 2010-06-21 Andreas Schwab <schwab@redhat.com>
47286 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47287 Restore proper fallback handling.
47289 2010-06-19 Ulrich Drepper <drepper@redhat.com>
47292 * posix/group_member.c (__group_member): Correct checking loop.
47294 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
47295 OOM in getpwuid_r correctly. Return error number when the caller
47296 should return, otherwise -1.
47297 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
47298 call returning > 0 value.
47299 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
47301 2010-06-07 Andreas Schwab <schwab@redhat.com>
47303 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
47304 libc_nonshared.a from targets in modules-names.
47306 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
47308 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
47311 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
47313 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
47314 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
47315 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
47316 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
47318 2010-06-02 Andreas Schwab <schwab@redhat.com>
47320 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
47322 2010-06-14 Ulrich Drepper <drepper@redhat.com>
47324 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
47326 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47327 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47328 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47329 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47330 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47331 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
47333 2010-06-14 Roland McGrath <roland@redhat.com>
47335 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
47337 2010-06-07 Jakub Jelinek <jakub@redhat.com>
47339 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
47340 __REDIRECT followed by __THROW.
47341 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
47342 * posix/getopt.h (getopt): Likewise.
47344 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47346 * hurd/lookup-at.c (__file_name_lookup_at): Accept
47347 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
47348 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
47350 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
47351 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
47353 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
47355 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
47357 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
47360 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47361 Properly check family and model.
47363 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
47365 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
47367 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
47369 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
47371 2010-05-21 Ulrich Drepper <drepper@redhat.com>
47373 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
47376 2010-05-19 Andreas Schwab <schwab@redhat.com>
47378 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
47381 2010-05-21 Andreas Schwab <schwab@redhat.com>
47383 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
47384 and internal_recvmmsg.
47385 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
47386 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
47387 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
47388 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
47390 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
47391 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47392 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47394 2010-05-20 Andreas Schwab <schwab@redhat.com>
47396 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
47398 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
47400 POWER7 optimizations.
47401 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
47402 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
47404 2010-05-19 Ulrich Drepper <drepper@redhat.com>
47406 * version.h: Update for 2.13 development version.
47408 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
47410 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
47411 exceptions. Return 0.
47413 2010-05-07 Roland McGrath <roland@redhat.com>
47415 * elf/ldconfig.c (main): Add a const.
47417 2010-05-06 Ulrich Drepper <drepper@redhat.com>
47419 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
47420 (args_options): Add no-idn option.
47421 (ahosts_keys_int): Add idn_flags to ai_flags.
47422 (parse_option): Handle 'i' option to clear idn_flags.
47424 * malloc/malloc.c (_int_free): Possible race in the most recently
47425 added check. Only act on the data if no current modification
47428 See ChangeLog.17 for earlier changes.